/*! For license information please see 2.6a346967.chunk.js.LICENSE.txt */ (this["webpackJsonpfuse-react-app"]=this["webpackJsonpfuse-react-app"]||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(610)},function(t,e,n){"use strict";t.exports=n(598)},function(t,e,n){"use strict";function r(t){var e,n,i="";if("string"===typeof t||"number"===typeof t)i+=t;else if("object"===typeof t)if(Array.isArray(t))for(e=0;e{let t=0;return()=>t++})();function a(t){return null===t||"undefined"===typeof t}function s(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function l(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function c(t){return("number"===typeof t||t instanceof Number)&&isFinite(+t)}function u(t,e){return c(t)?t:e}function h(t,e){return"undefined"===typeof t?e:t}const f=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,d=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function p(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function g(t,e,n,r){let i,o,a;if(s(t))if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;it,x:t=>t.x,y:t=>t.y};function O(t,e){const n=_[e]||(_[e]=function(t){const e=function(t){const e=t.split("."),n=[];let r="";for(const i of e)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function M(t){return t.charAt(0).toUpperCase()+t.slice(1)}const k=t=>"undefined"!==typeof t,E=t=>"function"===typeof t,C=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function T(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const A=Math.PI,P=2*A,I=P+A,j=Number.POSITIVE_INFINITY,R=A/180,D=A/2,N=A/4,L=2*A/3,F=Math.log10,B=Math.sign;function H(t,e,n){return Math.abs(t-e)t-e)).pop(),e}function W(t){return!isNaN(parseFloat(t))&&isFinite(t)}function U(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function Y(t,e,n){let r,i,o;for(r=0,i=t.length;rl&&c3&&void 0!==arguments[3]?arguments[3]:1e-6;return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function rt(t,e,n){n=n||(n=>t[n]1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const it=(t,e,n,r)=>rt(t,n,r?r=>{const i=t[r][e];return it[r][e]rt(t,n,(r=>t[r][e]>=n));function at(t,e,n){let r=0,i=t.length;for(;rr&&t[i-1]>n;)i--;return r>0||i{const n="_onData"+M(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(){for(var e=arguments.length,i=new Array(e),o=0;o{"function"===typeof t[n]&&t[n](...i)})),a}})})))}function ct(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(st.forEach((e=>{delete t[e]})),delete t._chartjs)}function ut(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const ht="undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame;function ft(t,e){let n=[],r=!1;return function(){for(var i=arguments.length,o=new Array(i),a=0;a{r=!1,t.apply(e,n)})))}}function dt(t,e){let n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o"start"===t?"left":"end"===t?"right":"center",gt=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,mt=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function vt(t,e,n){const r=e.length;let i=0,o=r;if(t._sorted){const{iScale:a,_parsed:s}=t,l=a.axis,{min:c,max:u,minDefined:h,maxDefined:f}=a.getUserBounds();h&&(i=tt(Math.min(it(s,l,c).lo,n?r:it(e,l,a.getPixelForValue(c)).lo),0,r-1)),o=f?tt(Math.max(it(s,a.axis,u,!0).hi+1,n?0:it(e,l,a.getPixelForValue(u),!0).hi+1),i,r)-i:r-i}return{start:i,count:o}}function bt(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;const o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const yt=t=>0===t||1===t,wt=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*P/n),xt=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*P/n)+1,St={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*D),easeOutSine:t=>Math.sin(t*D),easeInOutSine:t=>-.5*(Math.cos(A*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>yt(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>yt(t)?t:wt(t,.075,.3),easeOutElastic:t=>yt(t)?t:xt(t,.075,.3),easeInOutElastic(t){const e=.1125;return yt(t)?t:t<.5?.5*wt(2*t,e,.45):.5+.5*xt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-St.easeOutBounce(1-t),easeOutBounce(t){const 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},easeInOutBounce:t=>t<.5?.5*St.easeInBounce(2*t):.5*St.easeOutBounce(2*t-1)+.5};function _t(t){if(t&&"object"===typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Ot(t){return _t(t)?t:new r.a(t)}function Mt(t){return _t(t)?t:new r.a(t).saturate(.5).darken(.1).hexString()}const kt=["x","y","borderWidth","radius","tension"],Et=["color","borderColor","backgroundColor"];const Ct=new Map;function Tt(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=Ct.get(n);return r||(r=new Intl.NumberFormat(t,e),Ct.set(n,r)),r}(e,n).format(t)}const At={values:t=>s(t)?t:""+t,numeric(t,e,n){if(0===t)return"0";const r=this.chart.options.locale;let i,o=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(i="scientific"),o=function(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}const a=F(Math.abs(o)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),Tt(t,r,l)},logarithmic(t,e,n){if(0===t)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(F(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?At.numeric.call(this,t,e,n):""}};var Pt={formatters:At};const It=Object.create(null),jt=Object.create(null);function Rt(t,e){if(!e)return t;const n=e.split(".");for(let r=0,i=n.length;rt.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Mt(e.backgroundColor),this.hoverBorderColor=(t,e)=>Mt(e.borderColor),this.hoverColor=(t,e)=>Mt(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return Dt(this,t,e)}get(t){return Rt(this,t)}describe(t,e){return Dt(jt,t,e)}override(t,e){return Dt(It,t,e)}route(t,e,n,r){const i=Rt(this,t),o=Rt(this,n),a="_"+e;Object.defineProperties(i,{[a]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[r];return l(t)?Object.assign({},e,t):h(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach((t=>t(this)))}}var Lt=new Nt({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:Et},numbers:{type:"number",properties:kt}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Pt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function Ft(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function Bt(t,e,n,r){let i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const l=n.length;let c,u,h,f,d;for(c=0;cn.length){for(c=0;c0&&t.stroke()}}function Ut(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y5&&void 0!==arguments[5]?arguments[5]:{};const l=s(e)?e:[e],c=o.strokeWidth>0&&""!==o.strokeColor;let u,h;for(t.save(),t.font=i.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),a(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),u=0;u+t||0;function re(t,e){const n={},r=l(e),i=r?Object.keys(e):e,o=l(t)?r?n=>h(t[n],t[e[n]]):e=>t[e]:()=>t;for(const a of i)n[a]=ne(o(a));return n}function ie(t){return re(t,{top:"y",right:"x",bottom:"y",left:"x"})}function oe(t){return re(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ae(t){const e=ie(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function se(t,e){t=t||{},e=e||Lt.font;let n=h(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let r=h(t.style,e.style);r&&!(""+r).match(te)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:h(t.family,e.family),lineHeight:ee(h(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:h(t.weight,e.weight),string:""};return i.string=function(t){return!t||a(t.size)||a(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(i),i}function le(t,e,n,r){let i,o,a,l=!0;for(i=0,o=t.length;in&&0===t?0:t+e;return{min:a(r,-Math.abs(o)),max:a(i,o)}}function ue(t,e){return Object.assign(Object.create(t),e)}function he(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:()=>t[0];const i=(arguments.length>2?arguments[2]:void 0)||t;"undefined"===typeof n&&(n=Se("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:n,_getTarget:r,override:r=>he([r,...t],e,i,n)};return new Proxy(o,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>me(n,r,(()=>function(t,e,n,r){let i;for(const o of e)if(i=Se(pe(o,t),n),"undefined"!==typeof i)return ge(t,i)?we(n,r,t,i):i}(r,e,t,n))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>_e(t).includes(e),ownKeys:t=>_e(t),set(t,e,n){const i=t._storage||(t._storage=r());return t[e]=i[e]=n,delete t._keys,!0}})}function fe(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:de(t,r),setContext:e=>fe(t,e,n,r),override:i=>fe(t.override(i),e,n,r)};return new Proxy(i,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>me(t,e,(()=>function(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:a}=t;let c=r[e];E(c)&&a.isScriptable(e)&&(c=function(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t);let l=e(o,a||r);s.delete(t),ge(t,l)&&(l=we(i._scopes,i,t,l));return l}(e,c,t,n));s(c)&&c.length&&(c=function(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:s}=n;if("undefined"!==typeof o.index&&r(t))return e[o.index%e.length];if(l(e[0])){const n=e,r=i._scopes.filter((t=>t!==n));e=[];for(const l of n){const n=we(r,i,t,l);e.push(fe(n,o,a&&a[t],s))}}return e}(e,c,t,a.isIndexable));ge(e,c)&&(c=fe(c,i,o&&o[e],a));return c}(t,e,n))),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,r)=>(t[n]=r,delete e[n],!0)})}function de(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0};const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:E(n)?n:()=>n,isIndexable:E(r)?r:()=>r}}const pe=(t,e)=>t?t+M(e):e,ge=(t,e)=>l(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function me(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||"constructor"===e)return t[e];const r=n();return t[e]=r,r}function ve(t,e,n){return E(t)?t(e,n):t}const be=(t,e)=>!0===t?e:"string"===typeof t?O(e,t):void 0;function ye(t,e,n,r,i){for(const o of e){const e=be(n,o);if(e){t.add(e);const o=ve(e._fallback,n,i);if("undefined"!==typeof o&&o!==n&&o!==r)return o}else if(!1===e&&"undefined"!==typeof r&&n!==r)return null}return!1}function we(t,e,n,r){const i=e._rootScopes,o=ve(e._fallback,n,r),a=[...t,...i],c=new Set;c.add(r);let u=xe(c,a,n,o||n,r);return null!==u&&(("undefined"===typeof o||o===n||(u=xe(c,a,o,u,r),null!==u))&&he(Array.from(c),[""],i,o,(()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];if(s(i)&&l(n))return n;return i||{}}(e,n,r))))}function xe(t,e,n,r,i){for(;n;)n=ye(t,e,n,r,i);return n}function Se(t,e){for(const n of e){if(!n)continue;const e=n[t];if("undefined"!==typeof e)return e}}function _e(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function Oe(t,e,n,r){const{iScale:i}=t,{key:o="r"}=this._parsing,a=new Array(r);let s,l,c,u;for(s=0,l=r;se"x"===t?"y":"x";function Ce(t,e,n,r){const i=t.skip?e:t,o=e,a=n.skip?e:n,s=K(o,i),l=K(a,o);let c=s/(s+l),u=l/(s+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const h=r*c,f=r*u;return{previous:{x:o.x-h*(a.x-i.x),y:o.y-h*(a.y-i.y)},next:{x:o.x+f*(a.x-i.x),y:o.y+f*(a.y-i.y)}}}function Te(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x";const n=Ee(e),r=t.length,i=Array(r).fill(0),o=Array(r);let a,s,l,c=ke(t,0);for(a=0;a2&&void 0!==arguments[2]?arguments[2]:"x";const r=Ee(n),i=t.length;let o,a,s,l=ke(t,0);for(let c=0;c!t.skip))),"monotone"===e.cubicInterpolationMode)Te(t,i);else{let n=r?t[t.length-1]:t[0];for(o=0,a=t.length;ot.ownerDocument.defaultView.getComputedStyle(t,null);const Ne=["top","right","bottom","left"];function Le(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=Ne[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const Fe=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Be(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=De(n),o="border-box"===i.boxSizing,a=Le(i,"padding"),s=Le(i,"border","width"),{x:l,y:c,box:u}=function(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let a,s,l=!1;if(Fe(i,o,t.target))a=i,s=o;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,s=r.clientY-t.top,l=!0}return{x:a,y:s,box:l}}(t,n),h=a.left+(u&&s.left),f=a.top+(u&&s.top);let{width:d,height:p}=e;return o&&(d-=a.width+s.width,p-=a.height+s.height),{x:Math.round((l-h)/d*n.width/r),y:Math.round((c-f)/p*n.height/r)}}const He=t=>Math.round(10*t)/10;function ze(t,e,n,r){const i=De(t),o=Le(i,"margin"),a=Re(i.maxWidth,t,"clientWidth")||j,s=Re(i.maxHeight,t,"clientHeight")||j,l=function(t,e,n){let r,i;if(void 0===e||void 0===n){const o=t&&je(t);if(o){const t=o.getBoundingClientRect(),a=De(o),s=Le(a,"border","width"),l=Le(a,"padding");e=t.width-l.width-s.width,n=t.height-l.height-s.height,r=Re(a.maxWidth,o,"clientWidth"),i=Re(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||j,maxHeight:i||j}}(t,e,n);let{width:c,height:u}=l;if("content-box"===i.boxSizing){const t=Le(i,"border","width"),e=Le(i,"padding");c-=e.width+t.width,u-=e.height+t.height}c=Math.max(0,c-o.width),u=Math.max(0,r?c/r:u-o.height),c=He(Math.min(c,a,l.maxWidth)),u=He(Math.min(u,s,l.maxHeight)),c&&!u&&(u=He(c/2));return(void 0!==e||void 0!==n)&&r&&l.height&&u>l.height&&(u=l.height,c=He(Math.floor(u*r))),{width:c,height:u}}function Ve(t,e,n){const r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height="".concat(t.height,"px"),a.style.width="".concat(t.width,"px")),(t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}const We=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Ie()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(e){}return t}();function Ue(t,e){const n=function(t,e){return De(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Ye(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function Ge(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function Xe(t,e,n,r){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=Ye(t,i,n),s=Ye(i,o,n),l=Ye(o,e,n),c=Ye(a,s,n),u=Ye(s,l,n);return Ye(c,u,n)}const qe=function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}},$e=function(){return{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}};function Ke(t,e,n){return t?qe(e,n):$e()}function Ze(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Qe(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Je(t){return"angle"===t?{between:J,compare:Z,normalize:Q}:{between:nt,compare:(t,e)=>t-e,normalize:t=>t}}function tn(t){let{start:e,end:n,count:r,loop:i,style:o}=t;return{start:e%r,end:n%r,loop:i&&(n-e+1)%r===0,style:o}}function en(t,e,n){if(!n)return[t];const{property:r,start:i,end:o}=n,a=e.length,{compare:s,between:l,normalize:c}=Je(r),{start:u,end:h,loop:f,style:d}=function(t,e,n){const{property:r,start:i,end:o}=n,{between:a,normalize:s}=Je(r),l=e.length;let c,u,{start:h,end:f,loop:d}=t;if(d){for(h+=l,f+=l,c=0,u=l;cb||l(i,v,g)&&0!==s(i,v),x=()=>!b||0===s(o,g)||l(o,v,g);for(let S=u,_=u;S<=h;++S)m=e[S%a],m.skip||(g=c(m[r]),g!==v&&(b=l(g,i,o),null===y&&w()&&(y=0===s(g,i)?S:_),null!==y&&x()&&(p.push(tn({start:y,end:S,loop:f,count:a,style:d})),y=null),_=S,v=g));return null!==y&&p.push(tn({start:y,end:h,loop:f,count:a,style:d})),p}function nn(t,e){const n=[],r=t.segments;for(let i=0;ii&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}(n,i,o,r);if(!0===r)return on(t,[{start:a,end:s,loop:o}],n,e);return on(t,function(t,e,n,r){const i=t.length,o=[];let a,s=e,l=t[e];for(a=e+1;a<=n;++a){const n=t[a%i];n.skip||n.stop?l.skip||(r=!1,o.push({start:e%i,end:(a-1)%i,loop:r}),e=s=n.stop?a:null):(s=a,l.skip&&(e=a)),l=n}return null!==s&&o.push({start:e%i,end:s%i,loop:r}),o}(n,a,s=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 D(t,e){return t===e}function N(t){var e=void 0===t?{}:t,n=e.connectHOC,o=void 0===n?w:n,a=e.mapStateToPropsFactories,s=void 0===a?C:a,l=e.mapDispatchToPropsFactories,c=void 0===l?E:l,u=e.mergePropsFactories,h=void 0===u?A:u,f=e.selectorFactory,d=void 0===f?j:f;return function(t,e,n,a){void 0===a&&(a={});var l=a,u=l.pure,f=void 0===u||u,p=l.areStatesEqual,g=void 0===p?D:p,m=l.areOwnPropsEqual,v=void 0===m?S:m,b=l.areStatePropsEqual,y=void 0===b?S:b,w=l.areMergedPropsEqual,x=void 0===w?S:w,_=Object(i.a)(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),O=R(t,s,"mapStateToProps"),M=R(e,c,"mapDispatchToProps"),k=R(n,h,"mergeProps");return o(d,Object(r.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:O,initMapDispatchToProps:M,initMergeProps:k,pure:f,areStatesEqual:g,areOwnPropsEqual:v,areStatePropsEqual:y,areMergedPropsEqual:x},_))}}var L=N();function F(){return Object(s.useContext)(f.a)}function B(t){void 0===t&&(t=f.a);var e=t===f.a?F:function(){return Object(s.useContext)(t)};return function(){return e().store}}var H=B();function z(t){void 0===t&&(t=f.a);var e=t===f.a?H:B(t);return function(){return e().dispatch}}var V=z(),W=function(t,e){return t===e};function U(t){void 0===t&&(t=f.a);var e=t===f.a?F:function(){return Object(s.useContext)(t)};return function(t,n){void 0===n&&(n=W);var r=e(),i=function(t,e,n,r){var i,o=Object(s.useReducer)((function(t){return t+1}),0)[1],a=Object(s.useMemo)((function(){return new u.a(n,r)}),[n,r]),l=Object(s.useRef)(),c=Object(s.useRef)(),f=Object(s.useRef)(),d=Object(s.useRef)(),p=n.getState();try{i=t!==c.current||p!==f.current||l.current?t(p):d.current}catch(g){throw l.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),g}return h((function(){c.current=t,f.current=p,d.current=i,l.current=void 0})),h((function(){function t(){try{var t=c.current(n.getState());if(e(t,d.current))return;d.current=t}catch(g){l.current=g}o()}return a.onStateChange=t,a.trySubscribe(),t(),function(){return a.tryUnsubscribe()}}),[n,a]),i}(t,n,r.store,r.subscription);return Object(s.useDebugValue)(i),i}}var Y=U(),G=n(276),X=n(38);Object(G.b)(X.unstable_batchedUpdates)},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(29);function i(t,e){if(null==t)return{};var n,i,o=Object(r.a)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i=0||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}},,function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return x})),n.d(e,"c",(function(){return j})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return C})),n.d(e,"i",(function(){return R})),n.d(e,"j",(function(){return h})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return F})),n.d(e,"m",(function(){return E})),n.d(e,"n",(function(){return v})),n.d(e,"o",(function(){return A})),n.d(e,"p",(function(){return g})),n.d(e,"q",(function(){return m})),n.d(e,"r",(function(){return y})),n.d(e,"s",(function(){return b})),n.d(e,"t",(function(){return k})),n.d(e,"u",(function(){return _})),n.d(e,"v",(function(){return P})),n.d(e,"w",(function(){return I})),n.d(e,"x",(function(){return T})),n.d(e,"y",(function(){return V})),n.d(e,"z",(function(){return z})),n.d(e,"A",(function(){return O})),n.d(e,"B",(function(){return L})),n.d(e,"C",(function(){return B})),n.d(e,"D",(function(){return H}));var r=n(511),i={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},o=function(t,e){if(!t)throw a(e)},a=function(t){return new Error("Firebase Database ("+i.SDK_VERSION+") INTERNAL ASSERT FAILED: "+t)},s=function(t){for(var e=[],n=0,r=0;r>6|192,e[n++]=63&i|128):55296===(64512&i)&&r+1>18|240,e[n++]=i>>12&63|128,e[n++]=i>>6&63|128,e[n++]=63&i|128):(e[n++]=i>>12|224,e[n++]=i>>6&63|128,e[n++]=63&i|128)}return e},l={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"===typeof atob,encodeByteArray:function(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[],i=0;i>2,h=(3&o)<<4|s>>4,f=(15&s)<<2|c>>6,d=63&c;l||(d=64,a||(f=64)),r.push(n[u],n[h],n[f],n[d])}return r.join("")},encodeString:function(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(s(t),e)},decodeString:function(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):function(t){for(var e=[],n=0,r=0;n191&&i<224){var o=t[n++];e[r++]=String.fromCharCode((31&i)<<6|63&o)}else if(i>239&&i<365){var a=((7&i)<<18|(63&(o=t[n++]))<<12|(63&(s=t[n++]))<<6|63&t[n++])-65536;e[r++]=String.fromCharCode(55296+(a>>10)),e[r++]=String.fromCharCode(56320+(1023&a))}else{o=t[n++];var s=t[n++];e[r++]=String.fromCharCode((15&i)<<12|(63&o)<<6|63&s)}}return e.join("")}(this.decodeStringToByteArray(t,e))},decodeStringToByteArray:function(t,e){this.init_();for(var n=e?this.charToByteMapWebSafe_:this.charToByteMap_,r=[],i=0;i>4;if(r.push(c),64!==s){var u=a<<4&240|s>>2;if(r.push(u),64!==l){var h=s<<6&192|l;r.push(h)}}}return r},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var t=0;t=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}},c=function(t){var e=s(t);return l.encodeByteArray(e,!0)},u=function(t){try{return l.decodeString(t,!0)}catch(e){console.error("base64Decode failed: ",e)}return null};function h(t){return f(void 0,t)}function f(t,e){if(!(e instanceof Object))return e;switch(e.constructor){case Date:return new Date(e.getTime());case Object:void 0===t&&(t={});break;case Array:t=[];break;default:return e}for(var n in e)e.hasOwnProperty(n)&&"__proto__"!==n&&(t[n]=f(t[n],e[n]));return t}var d=function(){function t(){var t=this;this.reject=function(){},this.resolve=function(){},this.promise=new Promise((function(e,n){t.resolve=e,t.reject=n}))}return t.prototype.wrapCallback=function(t){var e=this;return function(n,r){n?e.reject(n):e.resolve(r),"function"===typeof t&&(e.promise.catch((function(){})),1===t.length?t(n):t(n,r))}},t}();function p(){return"undefined"!==typeof navigator&&"string"===typeof navigator.userAgent?navigator.userAgent:""}function g(){return"undefined"!==typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(p())}function m(){try{return"[object process]"===Object.prototype.toString.call(t.process)}catch(e){return!1}}function v(){return"object"===typeof self&&self.self===self}function b(){return"object"===typeof navigator&&"ReactNative"===navigator.product}function y(){return!0===i.NODE_CLIENT||!0===i.NODE_ADMIN}var w=function(t){function e(n,r,i){var o=t.call(this,r)||this;return o.code=n,o.customData=i,o.name="FirebaseError",Object.setPrototypeOf(o,e.prototype),Error.captureStackTrace&&Error.captureStackTrace(o,x.prototype.create),o}return Object(r.a)(e,t),e}(Error),x=function(){function t(t,e,n){this.service=t,this.serviceName=e,this.errors=n}return t.prototype.create=function(t){for(var e=[],n=1;n"}))}(o,r):"Error",s=this.serviceName+": "+a+" ("+i+").";return new w(i,s,r)},t}();var S=/\{\$([^}]+)}/g;function _(t){return JSON.parse(t)}function O(t){return JSON.stringify(t)}var M=function(t){var e={},n={},r={},i="";try{var o=t.split(".");e=_(u(o[0])||""),n=_(u(o[1])||""),i=o[2],r=n.d||{},delete n.d}catch(a){}return{header:e,claims:n,data:r,signature:i}},k=function(t){var e=M(t).claims;return!!e&&"object"===typeof e&&e.hasOwnProperty("iat")},E=function(t){var e=M(t).claims;return"object"===typeof e&&!0===e.admin};function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function T(t,e){return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0}function A(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function P(t,e,n){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=e.call(n,t[i],i,t));return r}function I(t){for(var e=[],n=function(t,n){Array.isArray(n)?n.forEach((function(n){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n))})):e.push(encodeURIComponent(t)+"="+encodeURIComponent(n))},r=0,i=Object.entries(t);r>>31)}var o,a,s=this.chain_[0],l=this.chain_[1],c=this.chain_[2],u=this.chain_[3],h=this.chain_[4];for(r=0;r<80;r++){r<40?r<20?(o=u^l&(c^u),a=1518500249):(o=l^c^u,a=1859775393):r<60?(o=l&c|u&(l|c),a=2400959708):(o=l^c^u,a=3395469782);i=(s<<5|s>>>27)+o+h+a+n[r]&4294967295;h=u,u=c,c=4294967295&(l<<30|l>>>2),l=s,s=i}this.chain_[0]=this.chain_[0]+s&4294967295,this.chain_[1]=this.chain_[1]+l&4294967295,this.chain_[2]=this.chain_[2]+c&4294967295,this.chain_[3]=this.chain_[3]+u&4294967295,this.chain_[4]=this.chain_[4]+h&4294967295},t.prototype.update=function(t,e){if(null!=t){void 0===e&&(e=t.length);for(var n=e-this.blockSize,r=0,i=this.buf_,o=this.inbuf_;r=56;n--)this.buf_[n]=255&e,e/=256;this.compress_(this.buf_);var r=0;for(n=0;n<5;n++)for(var i=24;i>=0;i-=8)t[r]=this.chain_[n]>>i&255,++r;return t},t}();function R(t,e){var n=new D(t,e);return n.subscribe.bind(n)}var D=function(){function t(t,e){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=e,this.task.then((function(){t(n)})).catch((function(t){n.error(t)}))}return t.prototype.next=function(t){this.forEachObserver((function(e){e.next(t)}))},t.prototype.error=function(t){this.forEachObserver((function(e){e.error(t)})),this.close(t)},t.prototype.complete=function(){this.forEachObserver((function(t){t.complete()})),this.close()},t.prototype.subscribe=function(t,e,n){var r,i=this;if(void 0===t&&void 0===e&&void 0===n)throw new Error("Missing Observer.");void 0===(r=function(t,e){if("object"!==typeof t||null===t)return!1;for(var n=0,r=e;nn&&(i=0===n?"none":"no more than "+n),i)throw new Error(t+" failed: Was called with "+r+(1===r?" argument.":" arguments.")+" Expects "+i+".")};function F(t,e,n){var r="";switch(e){case 1:r=n?"first":"First";break;case 2:r=n?"second":"Second";break;case 3:r=n?"third":"Third";break;case 4:r=n?"fourth":"Fourth";break;default:throw new Error("errorPrefix called with argumentNumber > 4. Need to update it?")}var i=t+" failed: ";return i+=r+" argument "}function B(t,e,n,r){if((!r||n)&&"function"!==typeof n)throw new Error(F(t,e,r)+"must be a valid function.")}function H(t,e,n,r){if((!r||n)&&("object"!==typeof n||null===n))throw new Error(F(t,e,r)+"must be a valid context object.")}var z=function(t){for(var e=[],n=0,r=0;r=55296&&i<=56319){var a=i-55296;r++,o(r>6|192,e[n++]=63&i|128):i<65536?(e[n++]=i>>12|224,e[n++]=i>>6&63|128,e[n++]=63&i|128):(e[n++]=i>>18|240,e[n++]=i>>12&63|128,e[n++]=i>>6&63|128,e[n++]=63&i|128)}return e},V=function(t){for(var e=0,n=0;n=55296&&r<=56319?(e+=4,n++):e+=3}return e}}).call(this,n(62))},,,function(t,e,n){t.exports=n(605)()},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(296);function i(t,e,n){return(e=Object(r.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},,function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=n.n(o),s=(n(14),n(96)),l=n.n(s),c=n(922),u=n(560),h=n(298),f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=e.defaultTheme,s=e.withTheme,f=void 0!==s&&s,d=e.name,p=Object(i.a)(e,["defaultTheme","withTheme","name"]);var g=d,m=Object(c.a)(t,Object(r.a)({defaultTheme:o,Component:n,name:d||n.displayName,classNamePrefix:g},p)),v=a.a.forwardRef((function(t,e){t.classes;var s,l=t.innerRef,c=Object(i.a)(t,["classes","innerRef"]),p=m(Object(r.a)({},n.defaultProps,t)),g=c;return("string"===typeof d||f)&&(s=Object(h.a)()||o,d&&(g=Object(u.a)({theme:s,name:d,props:c})),f&&!g.theme&&(g.theme=s)),a.a.createElement(n,Object(r.a)({ref:l||e,classes:p},g))}));return l()(v,n),v}},d=n(153);e.a=function(t,e){return f(t,Object(r.a)({defaultTheme:d.a},e))}},,,,function(t,e,n){"use strict";function r(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r3?e.i-4:e.i:Array.isArray(t)?1:f(t)?2:d(t)?3:0}function l(t,e){return 2===s(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){return 2===s(t)?t.get(e):t[e]}function u(t,e,n){var r=s(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function h(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function f(t){return V&&t instanceof Map}function d(t){return W&&t instanceof Set}function p(t){return t.o||t.t}function g(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=K(t);delete e[X];for(var n=$(e),r=0;r1&&(t.set=t.add=t.clear=t.delete=v),Object.freeze(t),e&&a(t,(function(t,e){return m(e,!0)}),!0)),t}function v(){r(2)}function b(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function y(t){var e=Z[t];return e||r(18,t),e}function w(t,e){Z[t]||(Z[t]=e)}function x(){return H}function S(t,e){e&&(y("Patches"),t.u=[],t.s=[],t.v=e)}function _(t){O(t),t.p.forEach(k),t.p=null}function O(t){t===H&&(H=t.l)}function M(t){return H={p:[],l:H,h:t,m:!0,_:0}}function k(t){var e=t[X];0===e.i||1===e.i?e.j():e.g=!0}function E(t,e){e._=e.p.length;var n=e.p[0],i=void 0!==t&&t!==n;return e.h.O||y("ES5").S(e,t,i),i?(n[X].P&&(_(e),r(4)),o(t)&&(t=C(e,t),e.l||A(e,t)),e.u&&y("Patches").M(n[X],t,e.u,e.s)):t=C(e,n,[]),_(e),e.u&&e.v(e.u,e.s),t!==Y?t:void 0}function C(t,e,n){if(b(e))return e;var r=e[X];if(!r)return a(e,(function(i,o){return T(t,r,e,i,o,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return A(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=g(r.k):r.o;a(3===r.i?new Set(i):i,(function(e,o){return T(t,r,i,e,o,n)})),A(t,i,!1),n&&t.u&&y("Patches").R(r,n,t.u,t.s)}return r.o}function T(t,e,n,r,a,s){if(i(a)){var c=C(t,a,s&&e&&3!==e.i&&!l(e.D,r)?s.concat(r):void 0);if(u(n,r,c),!i(c))return;t.m=!1}if(o(a)&&!b(a)){if(!t.h.F&&t._<1)return;C(t,a),e&&e.A.l||A(t,a)}}function A(t,e,n){void 0===n&&(n=!1),t.h.F&&t.m&&m(e,n)}function P(t,e){var n=t[X];return(n?p(n):t)[e]}function I(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function j(t){t.P||(t.P=!0,t.l&&j(t.l))}function R(t){t.o||(t.o=g(t.t))}function D(t,e,n){var r=f(e)?y("MapSet").N(e,n):d(e)?y("MapSet").T(e,n):t.O?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:x(),P:!1,I:!1,D:{},l:e,t:t,k:null,o:null,j:null,C:!1},i=r,o=Q;n&&(i=[r],o=J);var a=Proxy.revocable(i,o),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,n):y("ES5").J(e,n);return(n?n.A:x()).p.push(r),r}function N(t){return i(t)||r(22,t),function t(e){if(!o(e))return e;var n,r=e[X],i=s(e);if(r){if(!r.P&&(r.i<4||!y("ES5").K(r)))return r.t;r.I=!0,n=L(e,i),r.I=!1}else n=L(e,i);return a(n,(function(e,i){r&&c(r.t,e)===i||u(n,e,t(i))})),3===i?new Set(n):n}(t)}function L(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return g(t)}function F(){function t(t,e){var n=o[t];return n?n.enumerable=e:o[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[X];return Q.get(e,t)},set:function(e){var n=this[X];Q.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][X];if(!i.P)switch(i.i){case 5:r(i)&&j(i);break;case 4:n(i)&&j(i)}}}function n(t){for(var e=t.t,n=t.k,r=$(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==X){var a=e[o];if(void 0===a&&!l(e,o))return!0;var s=n[o],c=s&&s[X];if(c?c.t!==a:!h(s,a))return!0}}var u=!!e[X];return r.length!==$(e).length+(u?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);return!(!n||n.get)}var o={};w("ES5",{J:function(e,n){var r=Array.isArray(e),i=function(e,n){if(e){for(var r=Array(n.length),i=0;i1?r-1:0),o=1;o1?r-1:0),o=1;o=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}var o=y("Patches").$;return i(t)?o(t,e):this.produce(t,(function(t){return o(t,e.slice(n+1))}))},t}(),et=new tt,nt=et.produce,rt=(et.produceWithPatches.bind(et),et.setAutoFreeze.bind(et),et.setUseProxies.bind(et),et.applyPatches.bind(et),et.createDraft.bind(et),et.finishDraft.bind(et),nt),it=n(118),ot=n(274);function at(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 st=at();st.withExtraArgument=at;var lt=st,ct=function(){var t=ot.a.apply(void 0,arguments);return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o-1}function _t(t){var e,n={},r=[],i={addCase:function(t,e){var r="string"===typeof t?t:t.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[n,r,e]}function Ot(t){var e=t.name,n=t.initialState;if(!e)throw new Error("`name` is a required option for createSlice");var r=t.reducers||{},a="undefined"===typeof t.extraReducers?[]:"function"===typeof t.extraReducers?_t(t.extraReducers):[t.extraReducers],s=a[0],l=void 0===s?{}:s,c=a[1],u=void 0===c?[]:c,h=a[2],f=void 0===h?void 0:h,d=Object.keys(r),p={},g={},m={};d.forEach((function(t){var n,i,o=r[t],a=e+"/"+t;"reducer"in o?(n=o.reducer,i=o.prepare):n=o,p[t]=n,g[a]=n,m[t]=i?xt(a,i):xt(a)}));var v=function(t,e,n,r){void 0===n&&(n=[]);var a="function"===typeof e?_t(e):[e,n,r],s=a[0],l=a[1],c=a[2];return function(e,n){void 0===e&&(e=t);var r=[s[n.type]].concat(l.filter((function(t){return(0,t.matcher)(n)})).map((function(t){return t.reducer})));return 0===r.filter((function(t){return!!t})).length&&(r=[c]),r.reduce((function(t,e){if(e){if(i(t)){var r=e(t,n);return"undefined"===typeof r?t:r}if(o(t))return rt(t,(function(t){return e(t,n)}));var a=e(t,n);if("undefined"===typeof a){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return a}return t}),e)}}(n,ut({},l,{},g),u,f);return{name:e,reducer:v,actions:m,caseReducers:p}}function Mt(t){var e=kt((function(e,n){return t(n)}));return function(t){return e(t,void 0)}}function kt(t){return function(e,n){function r(t){return mt(e=t)&&"string"===typeof e.type&&Object.keys(e).every(St);var e}var o=function(e){r(n)?t(n.payload,e):t(n,e)};return i(e)?(o(e),e):rt(e,o)}}function Et(t,e){return e(t)}function Ct(t){function e(e,n){var r=Et(e,t);r in n.entities||(n.ids.push(r),n.entities[r]=e)}function n(t,n){Array.isArray(t)||(t=Object.values(t));var r=t,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}e(a,n)}}function r(t,e){var n=!1;t.forEach((function(t){t in e.entities&&(delete e.entities[t],n=!0)})),n&&(e.ids=e.ids.filter((function(t){return t in e.entities})))}function i(e,n){var r={},i={};if(e.forEach((function(t){t.id in n.entities&&(i[t.id]={id:t.id,changes:ut({},i[t.id]?i[t.id].changes:null,{},t.changes)})})),(e=Object.values(i)).length>0){var o=e.filter((function(e){return function(e,n,r){var i=r.entities[n.id],o=Object.assign({},i,n.changes),a=Et(o,t),s=a!==n.id;return s&&(e[n.id]=a,delete r.entities[n.id]),r.entities[a]=o,s}(r,e,n)})).length>0;o&&(n.ids=n.ids.map((function(t){return r[t]||t})))}}function o(e,r){Array.isArray(e)||(e=Object.values(e));var o=[],a=[],s=e,l=Array.isArray(s),c=0;for(s=l?s:s[Symbol.iterator]();;){var u;if(l){if(c>=s.length)break;u=s[c++]}else{if((c=s.next()).done)break;u=c.value}var h=u,f=Et(h,t);f in r.entities?a.push({id:f,changes:h}):o.push(h)}i(a,r),n(o,r)}return{removeAll:Mt((function(t){Object.assign(t,{ids:[],entities:{}})})),addOne:kt(e),addMany:kt(n),setAll:kt((function(t,e){Array.isArray(t)||(t=Object.values(t)),e.ids=[],e.entities={},n(t,e)})),updateOne:kt((function(t,e){return i([t],e)})),updateMany:kt(i),upsertOne:kt((function(t,e){return o([t],e)})),upsertMany:kt(o),removeOne:kt((function(t,e){return r([t],e)})),removeMany:kt(r)}}function Tt(t,e){var n=Ct(t);function r(e,n){Array.isArray(e)||(e=Object.values(e));var r=e.filter((function(e){return!(Et(e,t)in n.entities)}));0!==r.length&&a(r,n)}function i(e,n){var r=[];e.forEach((function(e){return function(e,n,r){if(!(n.id in r.entities))return!1;var i=r.entities[n.id],o=Object.assign({},i,n.changes),a=Et(o,t);return delete r.entities[n.id],e.push(o),a!==n.id}(r,e,n)})),0!==r.length&&a(r,n)}function o(e,n){Array.isArray(e)||(e=Object.values(e));var o=[],a=[],s=e,l=Array.isArray(s),c=0;for(s=l?s:s[Symbol.iterator]();;){var u;if(l){if(c>=s.length)break;u=s[c++]}else{if((c=s.next()).done)break;u=c.value}var h=u,f=Et(h,t);f in n.entities?a.push({id:f,changes:h}):o.push(h)}i(a,n),r(o,n)}function a(n,r){n.sort(e),n.forEach((function(e){r.entities[t(e)]=e}));var i=Object.values(r.entities);i.sort(e);var o=i.map(t);(function(t,e){if(t.length!==e.length)return!1;for(var n=0;n=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var a=o;"string"===typeof t[a]&&(e[a]=t[a])}return e}return{message:String(t)}};function Dt(t,e,n){var r=xt(t+"/fulfilled",(function(t,e,n){return{payload:t,meta:{arg:n,requestId:e,requestStatus:"fulfilled"}}})),i=xt(t+"/pending",(function(t,e){return{payload:void 0,meta:{arg:e,requestId:t,requestStatus:"pending"}}})),o=xt(t+"/rejected",(function(t,e,r){var i=t instanceof jt,o=!!t&&"AbortError"===t.name,a=!!t&&"ConditionError"===t.name;return{payload:t instanceof jt?t.payload:void 0,error:(n&&n.serializeError||Rt)(t||"Rejected"),meta:{arg:r,requestId:e,rejectedWithValue:i,requestStatus:"rejected",aborted:o,condition:a}}})),a="undefined"!==typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){}}}return t.prototype.abort=function(){0},t}();return Object.assign((function(t){return function(s,l,c){var u,h=Pt(),f=new a,d=new Promise((function(t,e){return f.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),p=!1;var g=function(){try{var a,u=function(t){return g?t:(n&&!n.dispatchConditionRejection&&o.match(a)&&a.meta.condition||s(a),a)},g=!1,m=function(t,e){try{var n=t()}catch(r){return e(r)}return n&&n.then?n.then(void 0,e):n}((function(){if(n&&n.condition&&!1===n.condition(t,{getState:l,extra:c}))throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return p=!0,s(i(h,t)),Promise.resolve(Promise.race([d,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:f.signal,rejectWithValue:function(t){return new jt(t)}})).then((function(e){return e instanceof jt?o(e,h,t):r(e,h,t)}))])).then((function(t){a=t}))}),(function(e){a=o(e,h,t)}));return Promise.resolve(m&&m.then?m.then(u):u(m))}catch(v){return Promise.reject(v)}}();return Object.assign(g,{abort:function(t){p&&(u=t,f.abort())},requestId:h,arg:t})}}),{pending:i,rejected:o,fulfilled:r,typePrefix:t})}F()},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(281);function i(t){if("string"!==typeof t)throw new Error(Object(r.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},,,,,,function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}n.d(e,"a",(function(){return r}))},,function(t,e,n){"use strict";n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return h})),n.d(e,"e",(function(){return f}));var r=n(281);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),n)}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map((function(t){return t+t}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:n,values:i=i.map((function(t){return parseFloat(t)}))}}function a(t){var e=t.type,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e,"(").concat(n.join(", "),")")}function s(t,e){var n=l(t),r=l(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function l(t){var e="hsl"===(t=o(t)).type?o(function(t){var e=(t=o(t)).values,n=e[0],r=e[1]/100,i=e[2]/100,s=r*Math.min(i,1-i),l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return i-s*Math.max(Math.min(e-3,9-e,1),-1)},c="rgb",u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===t.type&&(c+="a",u.push(e[3])),a({type:c,values:u})}(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(t)>.5?h(t,e):f(t,e)}function u(t,e){return t=o(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,a(t)}function h(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]*=1-e;return a(t)}function f(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;return a(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(296);function i(t,e){for(var n=0;n=4;++r,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},m={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var v=/[A-Z]|^ms/g,b=/_EMO_([^_]+?)_([^]*?)_EMO_/g,y=function(t){return 45===t.charCodeAt(1)},w=function(t){return null!=t&&"boolean"!==typeof t},x=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){return y(t)?t:t.replace(v,"-$&").toLowerCase()})),S=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(b,(function(t,e,n){return O={name:e,styles:n,next:O},e}))}return 1===m[t]||y(t)||"number"!==typeof e||0===e?e:e+"px"};function _(t,e,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return O={name:n.name,styles:n.styles,next:O},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)O={name:i.name,styles:i.styles,next:O},i=i.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;ir({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(n-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=o.Tb.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),e=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(t),s=!0):(i[a]=i[i.length-1],i.pop());s&&(r.draw(),this._notify(r,n,t,"progress")),i.length||(n.running=!1,this._notify(r,n,t,"complete"),n.initial=!1),e+=i.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var s=new a;const l="transparent",c={boolean:(t,e,n)=>n>.5?e:t,color(t,e,n){const r=Object(o.Eb)(t||l),i=r.valid&&Object(o.Eb)(e||l);return i&&i.valid?i.mix(r,n).hexString():e},number:(t,e,n)=>t+(e-t)*n};class u{constructor(t,e,n,r){const i=e[n];r=Object(o.C)([t.to,r,i,t.from]);const a=Object(o.C)([t.from,i,r]);this._active=!0,this._fn=t.fn||c[t.type||typeof a],this._easing=o.Gb[t.easing]||o.Gb.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=Object(o.C)([t.to,e,r,t.from]),this._from=Object(o.C)([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||e1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,a,s))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,n)=>{t.push({res:e,rej:n})}))}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let r=0;r{const i=t[r];if(!Object(o.Kb)(i))return;const a={};for(const t of e)a[t]=i[t];(Object(o.Db)(i.properties)&&i.properties||[r]).forEach((t=>{t!==r&&n.has(t)||n.set(t,a)}))}))}_animateOptions(t,e){const n=e.options,r=function(t,e){if(!e)return;let n=t.options;if(!n)return void(t.options=e);n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(t,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&function(t,e){const n=[],r=Object.keys(e);for(let i=0;i{t.options=n}),(()=>{})),i}_createAnimations(t,e){const n=this._properties,r=[],i=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const l=o[s];if("$"===l.charAt(0))continue;if("options"===l){r.push(...this._animateOptions(t,e));continue}const c=e[l];let h=i[l];const f=n.get(l);if(h){if(f&&h.active()){h.update(f,c,a);continue}h.cancel()}f&&f.duration?(i[l]=h=new u(f,t,l,c),r.push(h)):t[l]=c}return r}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(s.add(this._chart,n),!0):void 0}}function f(t,e){const n=t&&t.options||{},r=n.reverse,i=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:r?o:i,end:r?i:o}}function d(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i3&&void 0!==arguments[3]?arguments[3]:{};const i=t.keys,a="single"===r.mode;let s,l,c,u;if(null!==e){for(s=0,l=i.length;s0||!n&&e<0)return i.index}return null}function b(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,l=o.axis,c=a.axis,u=function(t,e,n){return"".concat(t.id,".").concat(e.id,".").concat(n.stack||n.type)}(o,a,r),h=e.length;let f;for(let d=0;dn[t].axis===e)).shift()}function w(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[r]||void 0===e[r][n])return;delete e[r][n],void 0!==e[r]._visualValues&&void 0!==e[r]._visualValues[n]&&delete e[r]._visualValues[n]}}}const x=t=>"reset"===t||"none"===t,S=(t,e)=>e?t:Object.assign({},t);class _{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=g(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&w(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),r=(t,e,n,r)=>"x"===t?e:"r"===t?r:n,i=e.xAxisID=Object(o.Xb)(n.xAxisID,y(t,"x")),a=e.yAxisID=Object(o.Xb)(n.yAxisID,y(t,"y")),s=e.rAxisID=Object(o.Xb)(n.rAxisID,y(t,"r")),l=e.indexAxis,c=e.iAxisID=r(l,i,a,s),u=e.vAxisID=r(l,a,i,s);e.xScale=this.getScaleForId(i),e.yScale=this.getScaleForId(a),e.rScale=this.getScaleForId(s),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Object(o.Wb)(this._data,this),t._stacked&&w(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if(Object(o.Kb)(e)){const t=this._cachedMeta;this._data=function(t,e){const{iScale:n,vScale:r}=e,i="x"===n.axis?"x":"y",o="x"===r.axis?"x":"y",a=Object.keys(t),s=new Array(a.length);let l,c,u;for(l=0,c=a.length;l0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,u=r;else{u=Object(o.Db)(r[t])?this.parseArrayData(n,r,t,e):Object(o.Kb)(r[t])?this.parseObjectData(n,r,t,e):this.parsePrimitiveData(n,r,t,e);const i=()=>null===c[s]||f&&c[s]t&&!e.hidden&&e._stacked&&{keys:d(n,!0),values:null})(e,n,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=function(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(s);let f,p;function g(){p=r[f];const e=p[s.axis];return!Object(o.Ib)(p[t.axis])||u>e||h=0;--f)if(!g()){this.updateRangeFromParsed(c,t,p,l);break}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let r,i,a;for(r=0,i=e.length;r=0&&t1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2?arguments[2]:void 0;const r="active"===e,i=this._cachedDataOpts,a=t+"-"+e,s=i[a],l=this.enableOptionSharing&&Object(o.Jb)(n);if(s)return S(s,l);const c=this.chart.config,u=c.datasetElementScopeKeys(this._type,t),h=r?["".concat(t,"Hover"),"hover",t,""]:[t,""],f=c.getOptionScopes(this.getDataset(),u),d=Object.keys(o.Fb.elements[t]),p=c.resolveNamedOptions(f,d,(()=>this.getContext(n,r,e)),h);return p.$shared&&(p.$shared=l,i[a]=Object.freeze(S(p,l))),p}_resolveAnimations(t,e,n){const r=this.chart,i=this._cachedDataOpts,o="animation-".concat(e),a=i[o];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,e),o=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(o,this.getContext(t,n,e))}const l=new h(r,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||x(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const n=this.resolveDataElementOptions(t,e),r=this._sharedOptions,i=this.getSharedOptions(n),o=this.includeOptions(e,i)||i!==r;return this.updateSharedOptions(i,e,n),{sharedOptions:i,includeOptions:o}}updateElement(t,e,n,r){x(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}updateSharedOptions(t,e,n){t&&!x(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,r){t.active=r;const i=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[a,s,l]of this._syncList)this[a](s,l);this._syncList=[];const r=n.length,i=e.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,t):i2&&void 0!==arguments[2])||arguments[2];const r=this._cachedMeta,i=r.data,o=t+e;let a;const s=t=>{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(s(i),a=t;at-e)))}return t._cache.$bar}(e,t.type);let r,i,a,s,l=e._length;const c=()=>{32767!==a&&-32768!==a&&(Object(o.Jb)(s)&&(l=Math.min(l,Math.abs(a-s)||l)),s=a)};for(r=0,i=n.length;rMath.abs(s)&&(l=s,c=a),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:i,end:o,min:a,max:s}}(t,e,n,r):e[n.axis]=n.parse(t,r),e}function k(t,e,n,r){const i=t.iScale,o=t.vScale,a=i.getLabels(),s=i===o,l=[];let c,u,h,f;for(c=n,u=n+r;ct.x,n="left",r="right"):(e=t.baset.controller.options.grouped)),i=n.options.stacked,a=[],s=t=>{const n=t.controller.getParsed(e),r=n&&n[t.vScale.axis];if(Object(o.Mb)(r)||isNaN(r))return!0};for(const o of r)if((void 0===e||!s(o))&&((!1===i||-1===a.indexOf(o.stack)||void 0===i&&void 0===o.stack)&&a.push(o.stack),o.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,n){const r=this._getStacks(t,n),i=void 0!==e?r.indexOf(e):-1;return-1===i?r.length-1:i}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,r=[];let i,o;for(i=0,o=e.data.length;i=n?1:-1)}(f,e,s)*a,d===s&&(v-=f/2);const t=e.getPixelForDecimal(0),i=e.getPixelForDecimal(1),c=Math.min(t,i),p=Math.max(t,i);v=Math.max(Math.min(v,p),c),h=v+f,n&&!u&&(l._stacks[e.axis]._visualValues[r]=e.getValueForPixel(h)-e.getValueForPixel(v))}if(v===e.getPixelForValue(s)){const t=Object(o.Ub)(f)*e.getLineWidthForValue(s)/2;v+=t,f-=t}return{size:f,base:v,head:h,center:h+f/2}}_calculateBarIndexPixels(t,e){const n=e.scale,r=this.options,i=r.skipNull,a=Object(o.Xb)(r.maxBarThickness,1/0);let s,l;if(e.grouped){const n=i?this._getStackCount(t):e.stackCount,c="flex"===r.barThickness?function(t,e,n,r){const i=e.pixels,o=i[t];let a=t>0?i[t-1]:null,s=t=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=e,o=this.getParsed(t),a=r.getLabelForValue(o.x),s=i.getLabelForValue(o.y),l=o._custom;return{label:n[t]||"",value:"("+a+", "+s+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,n,r){const i="reset"===r,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:s,includeOptions:l}=this._getSharedOptions(e,r),c=o.axis,u=a.axis;for(let h=e;h+n[t];if(Object(o.Kb)(n[t])){const{key:t="value"}=this._parsing;s=e=>+Object(o.Hb)(n[e],t)}for(i=t,a=t+e;iObject(o.Rb)(t,l,c,!0)?1:Math.max(e,e*n,r,r*n),g=(t,e,r)=>Object(o.Rb)(t,l,c,!0)?-1:Math.min(e,e*n,r,r*n),m=p(0,u,f),v=p(o.i,h,d),b=g(o.q,u,f),y=g(o.q+o.i,h,d);r=(m-b)/2,i=(v-y)/2,a=-(m+b)/2,s=-(v+y)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:s}}(h,u,l),m=(n.width-a)/f,v=(n.height-a)/d,b=Math.max(Math.min(m,v)/2,0),y=Object(o.Pb)(this.options.radius,b),w=(y-Math.max(y*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*y,this.offsetY=g*y,r.total=this.calculateTotal(),this.outerRadius=y-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*c,0),this.updateElements(i,0,i.length,t)}_circumference(t,e){const n=this.options,r=this._cachedMeta,i=this._getCircumference();return e&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||null===r._parsed[t]||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*i/o.u)}updateElements(t,e,n,r){const i="reset"===r,o=this.chart,a=o.chartArea,s=o.options.animation,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,u=i&&s.animateScale,h=u?0:this.innerRadius,f=u?0:this.outerRadius,{sharedOptions:d,includeOptions:p}=this._getSharedOptions(e,r);let g,m=this._getRotation();for(g=0;g0&&!isNaN(t)?o.u*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=Object(o.Qb)(e._parsed[t],n.options.locale);return{label:r[t]||"",value:i}}getMaxBorderWidth(t){let e=0;const n=this.chart;let r,i,o,a,s;if(!t)for(r=0,i=n.data.datasets.length;r"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),Object(i.a)(R,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n,color:r}}=t.legend.options;return e.labels.map(((e,i)=>{const o=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:r,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}}}});class D extends _{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=e,a=this.chart._animationsDisabled;let{start:s,count:l}=Object(o.Sb)(e,r,a);this._drawStart=s,this._drawCount=l,Object(o.Yb)(e)&&(s=0,l=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:c},t),this.updateElements(r,s,l,t)}updateElements(t,e,n,r){const i="reset"===r,{iScale:a,vScale:s,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(e,r),f=a.axis,d=s.axis,{spanGaps:p,segment:g}=this.options,m=Object(o.Zb)(p)?p:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||i||"none"===r,b=e+n,y=t.length;let w=e>0&&this.getParsed(e-1);for(let x=0;x=b){p.skip=!0;continue}const y=this.getParsed(x),S=Object(o.Mb)(y[d]),_=p[f]=a.getPixelForValue(y[f],x),O=p[d]=i||S?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,y,l):y[d],x);p.skip=isNaN(_)||isNaN(O)||S,p.stop=x>0&&Math.abs(y[f]-w[f])>m,g&&(p.parsed=y,p.raw=c.data[x]),h&&(p.options=u||this.resolveDataElementOptions(x,n.active?"active":r)),v||this.updateElement(n,x,p,r),w=y}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Object(i.a)(D,"id","line"),Object(i.a)(D,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),Object(i.a)(D,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class N extends _{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=Object(o.Qb)(e._parsed[t].r,n.options.locale);return{label:r[t]||"",value:i}}parseObjectData(t,e,n,r){return o.ac.bind(this)(t,e,n,r)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,n)=>{const r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(re.max&&(e.max=r))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,n=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),i=Math.max(r/2,0),o=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=i-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,n,r){const i="reset"===r,a=this.chart,s=a.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,u=l.yCenter,h=l.getIndexAngle(0)-.5*o.q;let f,d=h;const p=360/this.countVisibleElements();for(f=0;f{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&e++})),e}_computeAngle(t,e,n){return this.chart.getDataVisibility(t)?Object(o.Vb)(this.resolveDataElementOptions(t,e).angle||n):0}}Object(i.a)(N,"id","polarArea"),Object(i.a)(N,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),Object(i.a)(N,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n,color:r}}=t.legend.options;return e.labels.map(((e,i)=>{const o=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:r,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class L extends R{}Object(i.a)(L,"id","pie"),Object(i.a)(L,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class F extends _{getLabelAndValue(t){const e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}parseObjectData(t,e,n,r){return o.ac.bind(this)(t,e,n,r)}update(t){const e=this._cachedMeta,n=e.dataset,r=e.data||[],i=e.iScale.getLabels();if(n.points=r,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:i.length===r.length,options:e};this.updateElement(n,void 0,o,t)}this.updateElements(r,0,r.length,t)}updateElements(t,e,n,r){const i=this._cachedMeta.rScale,o="reset"===r;for(let a=e;a0&&this.getParsed(e-1);for(let w=e;w0&&Math.abs(n[d]-y[d])>v,m&&(u.parsed=n,u.raw=c.data[w]),f&&(u.options=h||this.resolveDataElementOptions(w,e.active?"active":r)),b||this.updateElement(e,w,u,r),y=n}this.updateSharedOptions(h,r,u)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}const n=t.dataset,r=n.options&&n.options.borderWidth||0;if(!e.length)return r;const i=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(r,i,o)/2}}Object(i.a)(B,"id","scatter"),Object(i.a)(B,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),Object(i.a)(B,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});function H(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class z{static override(t){Object.assign(z.prototype,t)}constructor(t){Object(i.a)(this,"options",void 0),this.options=t||{}}init(){}formats(){return H()}parse(){return H()}format(){return H()}add(){return H()}diff(){return H()}startOf(){return H()}endOf(){return H()}}var V=z;function W(t,e,n,r){const{controller:i,data:a,_sorted:s}=t,l=i._cachedMeta.iScale;if(l&&e===l.axis&&"r"!==e&&s&&a.length){const t=l._reversePixels?o.b:o.c;if(!r)return t(a,e,n);if(i._sharedOptions){const r=a[0],i="function"===typeof r.getRange&&r.getRange(e);if(i){const r=t(a,e,n-i),o=t(a,e,n+i);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:a.length-1}}function U(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),a=n[e];for(let s=0,l=o.length;s{t[a](e[n],i)&&(o.push({element:t,datasetIndex:r,index:l}),s=s||t.inRange(e.x,e.y,i))})),r&&!s?[]:o}var $={evaluateInteractionItems:U,modes:{index(t,e,n,r){const i=Object(o.bc)(e,t),a=n.axis||"x",s=n.includeInvisible||!1,l=n.intersect?Y(t,i,a,r,s):X(t,i,a,!1,r,s),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=l[0].index,n=t.data[e];n&&!n.skip&&c.push({element:n,datasetIndex:t.index,index:e})})),c):[]},dataset(t,e,n,r){const i=Object(o.bc)(e,t),a=n.axis||"xy",s=n.includeInvisible||!1;let l=n.intersect?Y(t,i,a,r,s):X(t,i,a,!1,r,s);if(l.length>0){const e=l[0].datasetIndex,n=t.getDatasetMeta(e).data;l=[];for(let t=0;tY(t,Object(o.bc)(e,t),n.axis||"xy",r,n.includeInvisible||!1),nearest(t,e,n,r){const i=Object(o.bc)(e,t),a=n.axis||"xy",s=n.includeInvisible||!1;return X(t,i,a,n.intersect,r,s)},x:(t,e,n,r)=>q(t,Object(o.bc)(e,t),"x",n.intersect,r),y:(t,e,n,r)=>q(t,Object(o.bc)(e,t),"y",n.intersect,r)}};const K=["left","top","right","bottom"];function Z(t,e){return t.filter((t=>t.pos===e))}function Q(t,e){return t.filter((t=>-1===K.indexOf(t.pos)&&t.box.axis===e))}function J(t,e){return t.sort(((t,n)=>{const r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function tt(t,e){const n=function(t){const e={};for(const n of t){const{stack:t,pos:r,stackWeight:i}=n;if(!t||!K.includes(r))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return e}(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,a,s;for(o=0,a=t.length;o{r[t]=Math.max(e[t],n[t])})),r}return r(t?["left","right"]:["top","bottom"])}function ot(t,e,n,r){const i=[];let o,a,s,l,c,u;for(o=0,a=t.length,c=0;ot.box.fullSize)),!0),r=J(Z(e,"left"),!0),i=J(Z(e,"right")),o=J(Z(e,"top"),!0),a=J(Z(e,"bottom")),s=Q(e,"x"),l=Q(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(a).concat(s),chartArea:Z(e,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(a).concat(s)}}(t.boxes),c=l.vertical,u=l.horizontal;Object(o.g)(t.boxes,(t=>{"function"===typeof t.beforeLayout&&t.beforeLayout()}));const h=c.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,f=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/h,hBoxMaxHeight:s/2}),d=Object.assign({},i);nt(d,Object(o.f)(r));const p=Object.assign({maxPadding:d,w:a,h:s,x:i.left,y:i.top},i),g=tt(c.concat(u),f);ot(l.fullSize,p,f,g),ot(c,p,f,g),ot(u,p,f,g)&&ot(c,p,f,g),function(t){const e=t.maxPadding;function n(n){const r=Math.max(e[n]-t[n],0);return t[n]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(p),st(l.leftAndTop,p,f,g),p.x+=p.w,p.y+=p.h,st(l.rightAndBottom,p,f,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},Object(o.g)(l.chartArea,(e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class ct{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,r){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):n)}}isAttached(t){return!0}updateConfig(t){}}class ut extends ct{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ht="$chartjs",ft={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},dt=t=>null===t||""===t;const pt=!!o.l&&{passive:!0};function gt(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,pt)}function mt(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function vt(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||mt(n.addedNodes,r),e=e&&!mt(n.removedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function bt(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||mt(n.removedNodes,r),e=e&&!mt(n.addedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const yt=new Map;let wt=0;function xt(){const t=window.devicePixelRatio;t!==wt&&(wt=t,yt.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function St(t,e,n){const r=t.canvas,i=r&&Object(o.j)(r);if(!i)return;const a=Object(o.m)(((t,e)=>{const r=i.clientWidth;n(t,e),r{const e=t[0],n=e.contentRect.width,r=e.contentRect.height;0===n&&0===r||a(n,r)}));return s.observe(i),function(t,e){yt.size||window.addEventListener("resize",xt),yt.set(t,e)}(t,a),s}function _t(t,e,n){n&&n.disconnect(),"resize"===e&&function(t){yt.delete(t),yt.size||window.removeEventListener("resize",xt)}(t)}function Ot(t,e,n){const r=t.canvas,i=Object(o.m)((e=>{null!==t.ctx&&n(function(t,e){const n=ft[t.type]||t.type,{x:r,y:i}=Object(o.bc)(t,e);return{type:n,chart:e,native:t,x:void 0!==r?r:null,y:void 0!==i?i:null}}(e,t))}),t);return function(t,e,n){t&&t.addEventListener(e,n,pt)}(r,e,i),i}class Mt extends ct{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){const n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[ht]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",dt(i)){const e=Object(o.k)(t,"width");void 0!==e&&(t.width=e)}if(dt(r))if(""===t.style.height)t.height=t.width/(e||2);else{const e=Object(o.k)(t,"height");void 0!==e&&(t.height=e)}}(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[ht])return!1;const n=e[ht].initial;["height","width"].forEach((t=>{const r=n[t];Object(o.Mb)(r)?e.removeAttribute(t):e.setAttribute(t,r)}));const r=n.style||{};return Object.keys(r).forEach((t=>{e.style[t]=r[t]})),e.width=e.width,delete e[ht],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),i={attach:vt,detach:bt,resize:St}[e]||Ot;r[e]=i(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),r=n[e];if(!r)return;({attach:_t,detach:_t,resize:_t}[e]||gt)(t,e,r),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,r){return Object(o.h)(t,e,n,r)}isAttached(t){const e=t&&Object(o.j)(t);return!(!e||!e.isConnected)}}class kt{constructor(){Object(i.a)(this,"x",void 0),Object(i.a)(this,"y",void 0),Object(i.a)(this,"active",!1),Object(i.a)(this,"options",void 0),Object(i.a)(this,"$animations",void 0)}tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return Object(o.Zb)(this.x)&&Object(o.Zb)(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const r={};return t.forEach((t=>{r[t]=n[t]&&n[t].active()?n[t]._to:this[t]})),r}}function Et(t,e){const n=t.options.ticks,r=function(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}(t),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?function(t){const e=[];let n,r;for(n=0,r=t.length;ni)return function(t,e,n,r){let i,o=0,a=n[0];for(r=Math.ceil(r),i=0;ii)return t}return Math.max(i,1)}(a,e,i);if(s>0){let t,n;const r=s>1?Math.round((c-l)/(s-1)):null;for(Ct(e,u,h,Object(o.Mb)(r)?0:l-r,l),t=0,n=s-1;t"top"===e||"left"===e?t[e]+n:t[e]-n,At=(t,e)=>Math.min(e||t,t);function Pt(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;oa+s)))return c}function jt(t){return t.drawTicks?t.tickLength:0}function Rt(t,e){if(!t.display)return 0;const n=Object(o.D)(t.font,e),r=Object(o.f)(t.padding);return(Object(o.Db)(t.text)?t.text.length:1)*n.lineHeight+r.height}function Dt(t,e,n){let r=Object(o.E)(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=(t=>"left"===t?"right":"right"===t?"left":t)(r)),r}class Nt extends kt{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:r}=this;return t=Object(o.p)(t,Number.POSITIVE_INFINITY),e=Object(o.p)(e,Number.NEGATIVE_INFINITY),n=Object(o.p)(n,Number.POSITIVE_INFINITY),r=Object(o.p)(r,Number.NEGATIVE_INFINITY),{min:Object(o.p)(t,n),max:Object(o.p)(e,r),minDefined:Object(o.Ib)(t),maxDefined:Object(o.Ib)(e)}}getMinMax(t){let e,{min:n,max:r,minDefined:i,maxDefined:a}=this.getUserBounds();if(i&&a)return{min:n,max:r};const s=this.getMatchingVisibleMetas();for(let o=0,l=s.length;or?r:n,r=i&&n>r?n:r,{min:Object(o.p)(n,Object(o.p)(r,n)),max:Object(o.p)(r,Object(o.p)(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.chart.chartArea;return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Object(o.r)(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:r,grace:i,ticks:a}=this.options,s=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Object(o.s)(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=s=i||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const u=this._getLabelSizes(),h=u.widest.width,f=u.highest.height,d=Object(o.t)(this.chart.width-h,0,this.maxWidth);a=t.offset?this.maxWidth/n:d/(n-1),h+6>a&&(a=d/(n-(t.offset?.5:1)),s=this.maxHeight-jt(t.grid)-e.padding-Rt(t.title,this.chart.options.font),l=Math.sqrt(h*h+f*f),c=Object(o.v)(Math.min(Math.asin(Object(o.t)((u.highest.height+6)/a,-1,1)),Math.asin(Object(o.t)(s/l,-1,1))-Math.asin(Object(o.t)(f/l,-1,1)))),c=Math.max(r,Math.min(i,c))),this.labelRotation=c}afterCalculateLabelRotation(){Object(o.r)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Object(o.r)(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),s=this.isHorizontal();if(a){const a=Rt(r,e.options.font);if(s?(t.width=this.maxWidth,t.height=jt(i)+a):(t.height=this.maxHeight,t.width=jt(i)+a),n.display&&this.ticks.length){const{first:e,last:r,widest:i,highest:a}=this._getLabelSizes(),l=2*n.padding,c=Object(o.Vb)(this.labelRotation),u=Math.cos(c),h=Math.sin(c);if(s){const e=n.mirror?0:h*i.width+u*a.height;t.height=Math.min(this.maxHeight,t.height+e+l)}else{const e=n.mirror?0:u*i.width+h*a.height;t.width=Math.min(this.maxWidth,t.width+e+l)}this._calculatePadding(e,r,h,u)}}this._handleMargins(),s?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,r){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;s?l?(u=r*t.width,h=n*e.height):(u=n*t.height,h=r*e.width):"start"===i?h=e.width:"end"===i?u=t.width:"inner"!==i&&(u=t.width/2,h=e.width/2),this.paddingLeft=Math.max((u-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((h-c+o)*this.width/(this.width-c),0)}else{let n=e.height/2,r=t.height/2;"start"===i?(n=0,r=t.height):"end"===i&&(n=e.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Object(o.r)(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e{const n=t.gc,r=n.length/2;let i;if(r>e){for(i=0;i({width:a[t]||0,height:s[t]||0});return{first:O(0),last:O(e-1),widest:O(S),highest:O(_),widths:a,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Object(o.x)(this._alignToPixels?Object(o.y)(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ts*r?s/n:l/r:l*r0}_computeGridLineItems(t){const e=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:s}=r,l=i.offset,c=this.isHorizontal(),u=this.ticks.length+(l?1:0),h=jt(i),f=[],d=s.setContext(this.getContext()),p=d.display?d.width:0,g=p/2,m=function(t){return Object(o.y)(n,t,p)};let v,b,y,w,x,S,_,O,M,k,E,C;if("top"===a)v=m(this.bottom),S=this.bottom-h,O=v-g,k=m(t.top)+g,C=t.bottom;else if("bottom"===a)v=m(this.top),k=t.top,C=m(t.bottom)-g,S=v+g,O=this.top+h;else if("left"===a)v=m(this.right),x=this.right-h,_=v-g,M=m(t.left)+g,E=t.right;else if("right"===a)v=m(this.left),M=t.left,E=m(t.right)-g,x=v+g,_=this.left+h;else if("x"===e){if("center"===a)v=m((t.top+t.bottom)/2+.5);else if(Object(o.Kb)(a)){const t=Object.keys(a)[0],e=a[t];v=m(this.chart.scales[t].getPixelForValue(e))}k=t.top,C=t.bottom,S=v+g,O=S+h}else if("y"===e){if("center"===a)v=m((t.left+t.right)/2);else if(Object(o.Kb)(a)){const t=Object.keys(a)[0],e=a[t];v=m(this.chart.scales[t].getPixelForValue(e))}x=v-g,_=x-h,M=t.left,E=t.right}const T=Object(o.Xb)(r.ticks.maxTicksLimit,u),A=Math.max(1,Math.ceil(u/T));for(b=0;b0&&(a-=r/2)}f={left:a,top:i,width:r+e.width,height:n+e.height,color:t.backdropColor}}m.push({label:w,font:M,textOffset:C,options:{rotation:g,color:n,strokeColor:l,strokeWidth:u,textAlign:d,textBaseline:T,translation:[x,S],backdrop:f}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Object(o.Vb)(this.labelRotation))return"top"===t?"left":"right";let n="center";return"start"===e.align?n="left":"end"===e.align?n="right":"inner"===e.align&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=t+i,a=this._getLabelSizes().widest.width;let s,l;return"left"===e?r?(l=this.right+i,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l+=a)):(l=this.right-o,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l=this.left)):"right"===e?r?(l=this.left+i,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l-=a)):(l=this.left+o,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:r,width:i,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,r,i,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex((e=>e.value===t));if(n>=0){return e.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const a=(t,e,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(i=0,o=r.length;i{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=e.length;i{const r=n.split("."),i=r.pop(),a=[t].concat(r).join("."),s=e[n].split("."),l=s.pop(),c=s.join(".");o.Fb.route(a,i,c,l)}))}(e,t.defaultRoutes);t.descriptors&&o.Fb.describe(e,t.descriptors)}(t,a,n),this.override&&o.Fb.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,r=this.scope;n in e&&delete e[n],r&&n in o.Fb[r]&&(delete o.Fb[r][n],this.override&&delete o.G[n])}}class Ft{constructor(){this.controllers=new Lt(_,"datasets",!0),this.elements=new Lt(kt,"elements"),this.plugins=new Lt(Object,"plugins"),this.scales=new Lt(Nt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(){for(var t=arguments.length,e=new Array(t),n=0;n{const r=n||this._getRegistryForType(e);n||r.isForType(e)||r===this.plugins&&e.id?this._exec(t,r,e):Object(o.g)(e,(e=>{const r=n||this._getRegistryForType(e);this._exec(t,r,e)}))}))}_exec(t,e,n){const r=Object(o.I)(t);Object(o.r)(n["before"+r],[],n),e[t](n),Object(o.r)(n["after"+r],[],n)}_getRegistryForType(t){for(let e=0;et.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(r(e,n),t,"stop"),this._notify(r(n,e),t,"start")}}function zt(t,e){return e||!1!==t?!0===t?{}:t:null}function Vt(t,e,n,r){let{plugin:i,local:o}=e;const a=t.pluginScopeKeys(i),s=t.getOptionScopes(n,a);return o&&i.defaults&&s.push(i.defaults),t.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Wt(t,e){const n=o.Fb.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function Ut(t){if("x"===t||"y"===t||"r"===t)return t}function Yt(t){if(Ut(t))return t;for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r1&&Ut(t[0].toLowerCase());if(e)return e}var i;throw new Error("Cannot determine type of '".concat(t,"' axis. Please provide 'axis' or 'position' option."))}function Gt(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function Xt(t,e){const n=o.G[t.type]||{scales:{}},r=e.scales||{},i=Wt(t.type,e),a=Object.create(null);return Object.keys(r).forEach((e=>{const s=r[e];if(!Object(o.Kb)(s))return console.error("Invalid scale configuration for scale: ".concat(e));if(s._proxy)return console.warn("Ignoring resolver passed as options for scale: ".concat(e));const l=Yt(e,s,function(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(n.length)return Gt(t,"x",n[0])||Gt(t,"y",n[0])}return{}}(e,t),o.Fb.scales[s.type]),c=function(t,e){return t===e?"_index_":"_value_"}(l,i),u=n.scales||{};a[e]=Object(o.eb)(Object.create(null),[{axis:l},s,u[l],u[c]])})),t.data.datasets.forEach((n=>{const i=n.type||t.type,s=n.indexAxis||Wt(i,e),l=(o.G[i]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}(t,s),i=n[e+"AxisID"]||e;a[i]=a[i]||Object.create(null),Object(o.eb)(a[i],[{axis:e},r[i],l[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];Object(o.eb)(e,[o.Fb.scales[e.type],o.Fb.scale])})),a}function qt(t){const e=t.options||(t.options={});e.plugins=Object(o.Xb)(e.plugins,{}),e.scales=Xt(t,e)}function $t(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Kt=new Map,Zt=new Set;function Qt(t,e){let n=Kt.get(t);return n||(n=e(),Kt.set(t,n),Zt.add(n)),n}const Jt=(t,e,n)=>{const r=Object(o.Hb)(e,n);void 0!==r&&t.add(r)};class te{constructor(t){this._config=function(t){return(t=t||{}).data=$t(t.data),qt(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=$t(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),qt(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Qt(t,(()=>[["datasets.".concat(t),""]]))}datasetAnimationScopeKeys(t,e){return Qt("".concat(t,".transition.").concat(e),(()=>[["datasets.".concat(t,".transitions.").concat(e),"transitions.".concat(e)],["datasets.".concat(t),""]]))}datasetElementScopeKeys(t,e){return Qt("".concat(t,"-").concat(e),(()=>[["datasets.".concat(t,".elements.").concat(e),"datasets.".concat(t),"elements.".concat(e),""]]))}pluginScopeKeys(t){const e=t.id,n=this.type;return Qt("".concat(n,"-plugin-").concat(e),(()=>[["plugins.".concat(e),...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const n=this._scopeCache;let r=n.get(t);return r&&!e||(r=new Map,n.set(t,r)),r}getOptionScopes(t,e,n){const{options:r,type:i}=this,a=this._cachedScopes(t,n),s=a.get(e);if(s)return s;const l=new Set;e.forEach((e=>{t&&(l.add(t),e.forEach((e=>Jt(l,t,e)))),e.forEach((t=>Jt(l,r,t))),e.forEach((t=>Jt(l,o.G[i]||{},t))),e.forEach((t=>Jt(l,o.Fb,t))),e.forEach((t=>Jt(l,o.J,t)))}));const c=Array.from(l);return 0===c.length&&c.push(Object.create(null)),Zt.has(e)&&a.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,o.G[e]||{},o.Fb.datasets[e]||{},{type:e},o.Fb,o.J]}resolveNamedOptions(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[""];const i={$shared:!0},{resolver:a,subPrefixes:s}=ee(this._resolverCache,t,r);let l=a;if(function(t,e){const{isScriptable:n,isIndexable:r}=Object(o.db)(t);for(const i of e){const e=n(i),a=r(i),s=(a||e)&&t[i];if(e&&(Object(o.K)(s)||ne(s))||a&&Object(o.Db)(s))return!0}return!1}(a,e)){i.$shared=!1,n=Object(o.K)(n)?n():n;const e=this.createResolver(t,n,s);l=Object(o.L)(a,n,e)}for(const o of e)i[o]=l[o];return i}createResolver(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0;const{resolver:i}=ee(this._resolverCache,t,n);return Object(o.Kb)(e)?Object(o.L)(i,e,void 0,r):i}}function ee(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const i=n.join();let a=r.get(i);if(!a){a={resolver:Object(o.M)(e,n),subPrefixes:n.filter((t=>!t.toLowerCase().includes("hover")))},r.set(i,a)}return a}const ne=t=>Object(o.Kb)(t)&&Object.getOwnPropertyNames(t).some((e=>Object(o.K)(t[e])));const re=["top","bottom","left","right","chartArea"];function ie(t,e){return"top"===t||"bottom"===t||-1===re.indexOf(t)&&"x"===e}function oe(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function ae(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Object(o.r)(n&&n.onComplete,[t],e)}function se(t){const e=t.chart,n=e.options.animation;Object(o.r)(n&&n.onProgress,[t],e)}function le(t){return Object(o.n)()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ce={},ue=t=>{const e=le(t);return Object.values(ce).filter((t=>t.canvas===e)).pop()};function he(t,e,n){const r=Object.keys(t);for(const i of r){const r=+i;if(r>=e){const o=t[i];delete t[i],(n>0||r>e)&&(t[r+n]=o)}}}function fe(t,e,n){return t.options.clip?t[n]:e[n]}class de{static register(){Bt.add(...arguments),pe()}static unregister(){Bt.remove(...arguments),pe()}constructor(t,e){const n=this.config=new te(e),r=le(t),i=ue(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(t){return!Object(o.n)()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?ut:Mt}(r)),this.platform.updateConfig(n);const l=this.platform.acquireContext(r,a.aspectRatio),c=l&&l.canvas,u=c&&c.height,h=c&&c.width;this.id=Object(o.fb)(),this.ctx=l,this.canvas=c,this.width=h,this.height=u,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ht,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Object(o.gb)((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],ce[this.id]=this,l&&c?(s.listen(this,"complete",ae),s.listen(this,"progress",se),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:r,_aspectRatio:i}=this;return Object(o.Mb)(t)?e&&i?i:r?n/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Bt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Object(o.hb)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Object(o.ib)(this.canvas,this.ctx),this}stop(){return s.stop(this),this}resize(t,e){s.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,t,e,i),s=n.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Object(o.hb)(this,s,!0)&&(this.notifyPlugins("resize",{size:a}),Object(o.r)(n.onResize,[this,a],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const t=this.options.scales||{};Object(o.g)(t,((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,r=Object.keys(n).reduce(((t,e)=>(t[e]=!1,t)),{});let i=[];e&&(i=i.concat(Object.keys(e).map((t=>{const n=e[t],r=Yt(t,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),Object(o.g)(i,(e=>{const i=e.options,a=i.id,s=Yt(a,i),l=Object(o.Xb)(i.type,e.dtype);void 0!==i.position&&ie(i.position,s)===ie(e.dposition)||(i.position=e.dposition),r[a]=!0;let c=null;if(a in n&&n[a].type===l)c=n[a];else{c=new(Bt.getScale(l))({id:a,type:l,ctx:this.ctx,chart:this}),n[c.id]=c}c.init(i,t)})),Object(o.g)(r,((t,e)=>{t||delete n[e]})),Object(o.g)(n,(t=>{lt.configure(this,t,t.options),lt.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort(((t,e)=>t.index-e.index)),n>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,n)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=e.length;n{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let o=0,c=this.data.datasets.length;o{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(oe("z","_idx"));const{_active:s,_lastEvent:l}=this;l?this._eventHandler(l,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){Object(o.g)(this.scales,(t=>{lt.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);Object(o.jb)(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of e){he(t,r,"_removeElements"===n?-i:i)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),r=n(0);for(let i=1;it.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;lt.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],Object(o.g)(this.boxes,(t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n=t._clip,r=!n.disabled,i=function(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:fe(n,e,"left"),right:fe(n,e,"right"),top:fe(r,e,"top"),bottom:fe(r,e,"bottom")}:e}(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(r&&Object(o.z)(e,{left:!1===n.left?0:i.left-n.left,right:!1===n.right?this.width:i.right+n.right,top:!1===n.top?0:i.top-n.top,bottom:!1===n.bottom?this.height:i.bottom+n.bottom}),t.controller.draw(),r&&Object(o.a)(e),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return Object(o.d)(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,r){const i=$.modes[e];return"function"===typeof i?i(this,t,n,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let r=n.filter((t=>t&&t._dataset===e)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=Object(o.Lb)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const r=n?"show":"hide",i=this.getDatasetMeta(t),a=i.controller._resolveAnimations(void 0,r);Object(o.Jb)(e)?(i.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),a.update(i,{visible:n}),this.update((e=>e.datasetIndex===t?r:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),s.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,n,r),t[n]=r},r=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};Object(o.g)(this.options.events,(t=>n(t,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(n,r)=>{t[n]&&(e.removeEventListener(this,n,r),delete t[n])},i=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){Object(o.g)(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},Object(o.g)(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const r=n?"set":"remove";let i,o,a,s;for("dataset"===e&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=t.length;a{let{datasetIndex:e,index:n}=t;const r=this.getDatasetMeta(e);if(!r)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:r.data[n],index:n}}));!Object(o.kb)(n,e)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,n){const r=this.options.hover,i=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=i(e,t),a=n?t:i(t,e);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:r=[],options:i}=this,a=e,s=this._getActiveElements(t,r,n,a),l=Object(o.lb)(t),c=function(t,e,n,r){return n&&"mouseout"!==t.type?r?e:t:null}(t,this._lastEvent,n,l);n&&(this._lastEvent=null,Object(o.r)(i.onHover,[t,s,this],this),l&&Object(o.r)(i.onClick,[t,s,this],this));const u=!Object(o.kb)(s,r);return(u||e)&&(this._active=s,this._updateHoverStyles(s,r,e)),this._lastEvent=c,u}_getActiveElements(t,e,n,r){if("mouseout"===t.type)return[];if(!n)return e;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}function pe(){return Object(o.g)(de.instances,(t=>t._plugins.invalidate()))}function ge(t,e,n,r){const i=(a=t.options.borderRadius,Object(o.nb)(a,["outerStart","outerEnd","innerStart","innerEnd"]));var a;const s=(n-e)/2,l=Math.min(s,r*e/2),c=t=>{const e=(n-Math.min(s,t))*r/2;return Object(o.t)(t,0,Math.min(s,e))};return{outerStart:c(i.outerStart),outerEnd:c(i.outerEnd),innerStart:Object(o.t)(i.innerStart,0,l),innerEnd:Object(o.t)(i.innerEnd,0,l)}}function me(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function ve(t,e,n,r,i,a){const{x:s,y:l,startAngle:c,pixelMargin:u,innerRadius:h}=e,f=Math.max(e.outerRadius+r+n-u,0),d=h>0?h+r+n+u:0;let p=0;const g=i-c;if(r){const t=((h>0?h-r:0)+(f>0?f-r:0))/2;p=(g-(0!==t?g*t/(t+r):g))/2}const m=(g-Math.max(.001,g*f-n/o.q)/f)/2,v=c+m+p,b=i-m-p,{outerStart:y,outerEnd:w,innerStart:x,innerEnd:S}=ge(e,d,f,b-v),_=f-y,O=f-w,M=v+y/_,k=b-w/O,E=d+x,C=d+S,T=v+x/E,A=b-S/C;if(t.beginPath(),a){const e=(M+k)/2;if(t.arc(s,l,f,M,e),t.arc(s,l,f,e,k),w>0){const e=me(O,k,s,l);t.arc(e.x,e.y,w,k,b+o.i)}const n=me(C,b,s,l);if(t.lineTo(n.x,n.y),S>0){const e=me(C,A,s,l);t.arc(e.x,e.y,S,b+o.i,A+Math.PI)}const r=(b-S/d+(v+x/d))/2;if(t.arc(s,l,d,b-S/d,r,!0),t.arc(s,l,d,r,v+x/d,!0),x>0){const e=me(E,T,s,l);t.arc(e.x,e.y,x,T+Math.PI,v-o.i)}const i=me(_,v,s,l);if(t.lineTo(i.x,i.y),y>0){const e=me(_,M,s,l);t.arc(e.x,e.y,y,v-o.i,M)}}else{t.moveTo(s,l);const e=Math.cos(M)*f+s,n=Math.sin(M)*f+l;t.lineTo(e,n);const r=Math.cos(k)*f+s,i=Math.sin(k)*f+l;t.lineTo(r,i)}t.closePath()}function be(t,e,n,r,i){const{fullCircles:a,startAngle:s,circumference:l,options:c}=e,{borderWidth:u,borderJoinStyle:h,borderDash:f,borderDashOffset:d}=c,p="inner"===c.borderAlign;if(!u)return;t.setLineDash(f||[]),t.lineDashOffset=d,p?(t.lineWidth=2*u,t.lineJoin=h||"round"):(t.lineWidth=u,t.lineJoin=h||"bevel");let g=e.endAngle;if(a){ve(t,e,n,r,g,i);for(let e=0;ei?(u=i/c,t.arc(a,s,c,n+u,r-u,!0)):t.arc(a,s,i,n+o.i,r-o.i),t.closePath(),t.clip()}(t,e,g),a||(ve(t,e,n,r,g,i),t.stroke())}Object(i.a)(de,"defaults",o.Fb),Object(i.a)(de,"instances",ce),Object(i.a)(de,"overrides",o.G),Object(i.a)(de,"registry",Bt),Object(i.a)(de,"version","4.4.3"),Object(i.a)(de,"getChart",ue);class ye extends kt{constructor(t){super(),Object(i.a)(this,"circumference",void 0),Object(i.a)(this,"endAngle",void 0),Object(i.a)(this,"fullCircles",void 0),Object(i.a)(this,"innerRadius",void 0),Object(i.a)(this,"outerRadius",void 0),Object(i.a)(this,"pixelMargin",void 0),Object(i.a)(this,"startAngle",void 0),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.getProps(["x","y"],n),{angle:i,distance:a}=Object(o.e)(r,{x:t,y:e}),{startAngle:s,endAngle:l,innerRadius:c,outerRadius:u,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),f=(this.options.spacing+this.options.borderWidth)/2,d=Object(o.Xb)(h,l-s)>=o.u||Object(o.Rb)(i,s,l),p=Object(o.mb)(a,c+f,u+f);return d&&p}getCenterPoint(t){const{x:e,y:n,startAngle:r,endAngle:i,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:s,spacing:l}=this.options,c=(r+i)/2,u=(o+a+l+s)/2;return{x:e+Math.cos(c)*u,y:n+Math.sin(c)*u}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,r=(e.offset||0)/4,i=(e.spacing||0)/2,a=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>o.u?Math.floor(n/o.u):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();const s=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(s)*r,Math.sin(s)*r);const l=r*(1-Math.sin(Math.min(o.q,n||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,n,r,i){const{fullCircles:a,startAngle:s,circumference:l}=e;let c=e.endAngle;if(a){ve(t,e,n,r,c,i);for(let e=0;e2&&void 0!==arguments[2]?arguments[2]:e;t.lineCap=Object(o.Xb)(n.borderCapStyle,e.borderCapStyle),t.setLineDash(Object(o.Xb)(n.borderDash,e.borderDash)),t.lineDashOffset=Object(o.Xb)(n.borderDashOffset,e.borderDashOffset),t.lineJoin=Object(o.Xb)(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Object(o.Xb)(n.borderWidth,e.borderWidth),t.strokeStyle=Object(o.Xb)(n.borderColor,e.borderColor)}function xe(t,e,n){t.lineTo(n.x,n.y)}function Se(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.length,{start:i=0,end:o=r-1}=n,{start:a,end:s}=e,l=Math.max(i,a),c=Math.min(o,s),u=is&&o>s;return{count:r,start:l,loop:e.loop,ilen:c(a+(c?s-t:t))%o,y=()=>{d!==p&&(t.lineTo(m,p),t.lineTo(m,d),t.lineTo(m,g))};for(l&&(h=i[b(0)],t.moveTo(h.x,h.y)),u=0;u<=s;++u){if(h=i[b(u)],h.skip)continue;const e=h.x,n=h.y,r=0|e;r===f?(np&&(p=n),m=(v*m+e)/++v):(y(),t.lineTo(e,n),f=r,v=0,d=p=n),g=n}y()}function Me(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n?Oe:_e}Object(i.a)(ye,"id","arc"),Object(i.a)(ye,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),Object(i.a)(ye,"defaultRoutes",{backgroundColor:"backgroundColor"}),Object(i.a)(ye,"descriptors",{_scriptable:!0,_indexable:t=>"borderDash"!==t});const ke="function"===typeof Path2D;function Ee(t,e,n,r){ke&&!e.options.segment?function(t,e,n,r){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),we(t,e.options),t.stroke(i)}(t,e,n,r):function(t,e,n,r){const{segments:i,options:o}=e,a=Me(e);for(const s of i)we(t,o,s.style),t.beginPath(),a(t,e,s,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}(t,e,n,r)}class Ce extends kt{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const r=n.spanGaps?this._loop:this._fullLoop;Object(o.ob)(this._points,n,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Object(o.pb)(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,r=t[e],i=this.points,a=Object(o.qb)(this,{property:e,start:r,end:r});if(!a.length)return;const s=[],l=function(t){return t.stepped?o.rb:t.tension||"monotone"===t.cubicInterpolationMode?o.sb:o.tb}(n);let c,u;for(c=0,u=a.length;c"borderDash"!==t&&"fill"!==t});class Ae extends kt{constructor(t){super(),Object(i.a)(this,"parsed",void 0),Object(i.a)(this,"skip",void 0),Object(i.a)(this,"stop",void 0),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(t-i,2)+Math.pow(e-o,2)2&&void 0!==arguments[2]?arguments[2]:{};const r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+o,h:t.h+a,radius:t.radius}}Object(i.a)(Ae,"id","point"),Object(i.a)(Ae,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),Object(i.a)(Ae,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});class Le extends kt{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:n,backgroundColor:r}}=this,{inner:i,outer:a}=je(this),s=(l=a.radius).topLeft||l.topRight||l.bottomLeft||l.bottomRight?o.xb:De;var l;t.save(),a.w===i.w&&a.h===i.h||(t.beginPath(),s(t,Ne(a,e,i)),t.clip(),s(t,Ne(i,-e,a)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),s(t,Ne(i,e)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,e,n){return Re(this,t,e,n)}inXRange(t,e){return Re(this,t,null,e)}inYRange(t,e){return Re(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(e+r)/2:e,y:i?n:(n+r)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}Object(i.a)(Le,"id","bar"),Object(i.a)(Le,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),Object(i.a)(Le,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Fe(t,e,n,r){if(r)return;let i=e[t],a=n[t];return"angle"===t&&(i=Object(o.Bb)(i),a=Object(o.Bb)(a)),{property:t,start:i,end:a}}function Be(t,e,n){for(;e>t;e--){const t=n[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function He(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function ze(t,e){let n=[],r=!1;return Object(o.Db)(t)?(r=!0,n=t):n=function(t,e){const{x:n=null,y:r=null}=t||{},i=e.points,o=[];return e.segments.forEach((t=>{let{start:e,end:a}=t;a=Be(e,a,i);const s=i[e],l=i[a];null!==r?(o.push({x:s.x,y:r}),o.push({x:l.x,y:r})):null!==n&&(o.push({x:n,y:s.y}),o.push({x:n,y:l.y}))})),o}(t,e),n.length?new Ce({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Ve(t){return t&&!1!==t.fill}function We(t,e,n){let r=t[e].fill;const i=[e];let a;if(!n)return r;for(;!1!==r&&-1===i.indexOf(r);){if(!Object(o.Ib)(r))return r;if(a=t[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function Ue(t,e,n){const r=function(t){const e=t.options,n=e.fill;let r=Object(o.Xb)(n&&n.target,n);void 0===r&&(r=!!e.backgroundColor);if(!1===r||null===r)return!1;if(!0===r)return"origin";return r}(t);if(Object(o.Kb)(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return Object(o.Ib)(i)&&Math.floor(i)===i?function(t,e,n,r){"-"!==t&&"+"!==t||(n=e+n);if(n===e||n<0||n>=r)return!1;return n}(r[0],e,i,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function Ye(t,e,n){const r=[];for(let i=0;i=0;--a){const e=i[a].$filler;e&&(e.line.updateControlPoints(o,e.axis),r&&e.fill&&$e(t.ctx,e,o))}},beforeDatasetsDraw(t,e,n){if("beforeDatasetsDraw"!==n.drawTime)return;const r=t.getSortedVisibleDatasetMetas();for(let i=r.length-1;i>=0;--i){const e=r[i].$filler;Ve(e)&&$e(t.ctx,e,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;Ve(r)&&"beforeDatasetDraw"===n.drawTime&&$e(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const en=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}};class nn extends kt{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=Object(o.r)(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,n)=>t.sort(e,n,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,r=Object(o.D)(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:s,itemHeight:l}=en(n,i);let c,u;e.font=r.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(a,i,s,l)+10):(u=this.maxHeight,c=this._fitCols(a,r,s,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=r+a;let u=t;i.textAlign="left",i.textBaseline="middle";let h=-1,f=-c;return this.legendItems.forEach(((t,d)=>{const p=n+e/2+i.measureText(t.text).width;(0===d||l[l.length-1]+p+2*a>o)&&(u+=c,l[l.length-(d>0?0:1)]=0,f+=c,h++),s[d]={left:0,top:f,row:h,width:p,height:r},l[l.length-1]+=p+a})),u}_fitCols(t,e,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=o-t;let u=a,h=0,f=0,d=0,p=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:g,itemHeight:m}=function(t,e,n,r,i){const o=function(t,e,n,r){let i=t.text;i&&"string"!==typeof i&&(i=i.reduce(((t,e)=>t.length>e.length?t:e)));return e+n.size/2+r.measureText(i).width}(r,t,e,n),a=function(t,e,n){let r=t;"string"!==typeof e.text&&(r=rn(e,n));return r}(i,r,e.lineHeight);return{itemWidth:o,itemHeight:a}}(n,e,i,t,r);o>0&&f+m+2*a>c&&(u+=h+a,l.push({width:h,height:f}),d+=h+a,p++,h=f=0),s[o]={left:d,top:f,col:p,width:g,height:m},h=Math.max(h,g),f+=m+a})),u+=h,l.push({width:h,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:r},rtl:i}}=this,a=Object(o.Cb)(i,this.left,this.width);if(this.isHorizontal()){let i=0,s=Object(o.F)(n,this.left+r,this.right-this.lineWidths[i]);for(const l of e)i!==l.row&&(i=l.row,s=Object(o.F)(n,this.left+r,this.right-this.lineWidths[i])),l.top+=this.top+t+r,l.left=a.leftForLtr(a.x(s),l.width),s+=l.width+r}else{let i=0,s=Object(o.F)(n,this.top+t+r,this.bottom-this.columnSizes[i].height);for(const l of e)l.col!==i&&(i=l.col,s=Object(o.F)(n,this.top+t+r,this.bottom-this.columnSizes[i].height)),l.top=s,l.left+=this.left+r,l.left=a.leftForLtr(a.x(l.left),l.width),s+=l.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Object(o.z)(t,this),this._draw(),Object(o.a)(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:r}=this,{align:i,labels:a}=t,s=o.Fb.color,l=Object(o.Cb)(t.rtl,this.left,this.width),c=Object(o.D)(a.font),{padding:u}=a,h=c.size,f=h/2;let d;this.drawTitle(),r.textAlign=l.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=en(a,h),v=this.isHorizontal(),b=this._computeTitleHeight();d=v?{x:Object(o.F)(i,this.left+u,this.right-n[0]),y:this.top+u+b,line:0}:{x:this.left+u,y:Object(o.F)(i,this.top+b+u,this.bottom-e[0].height),line:0},Object(o.N)(this.ctx,t.textDirection);const y=m+u;this.legendItems.forEach(((w,x)=>{r.strokeStyle=w.fontColor,r.fillStyle=w.fontColor;const S=r.measureText(w.text).width,_=l.textAlign(w.textAlign||(w.textAlign=a.textAlign)),O=p+f+S;let M=d.x,k=d.y;l.setWidth(this.width),v?x>0&&M+O+u>this.right&&(k=d.y+=y,d.line++,M=d.x=Object(o.F)(i,this.left+u,this.right-n[d.line])):x>0&&k+y>this.bottom&&(M=d.x=M+e[d.line].width+u,d.line++,k=d.y=Object(o.F)(i,this.top+b+u,this.bottom-e[d.line].height));if(function(t,e,n){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;r.save();const i=Object(o.Xb)(n.lineWidth,1);if(r.fillStyle=Object(o.Xb)(n.fillStyle,s),r.lineCap=Object(o.Xb)(n.lineCap,"butt"),r.lineDashOffset=Object(o.Xb)(n.lineDashOffset,0),r.lineJoin=Object(o.Xb)(n.lineJoin,"miter"),r.lineWidth=i,r.strokeStyle=Object(o.Xb)(n.strokeStyle,s),r.setLineDash(Object(o.Xb)(n.lineDash,[])),a.usePointStyle){const s={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=l.xPlus(t,p/2),u=e+f;Object(o.Q)(r,s,c,u,a.pointStyleWidth&&p)}else{const a=e+Math.max((h-g)/2,0),s=l.leftForLtr(t,p),c=Object(o.zb)(n.borderRadius);r.beginPath(),Object.values(c).some((t=>0!==t))?Object(o.xb)(r,{x:s,y:a,w:p,h:g,radius:c}):r.rect(s,a,p,g),r.fill(),0!==i&&r.stroke()}r.restore()}(l.x(M),k,w),M=Object(o.O)(_,M+p+f,v?M+O:this.right,t.rtl),function(t,e,n){Object(o.A)(r,n.text,t,e+m/2,c,{strikethrough:n.hidden,textAlign:l.textAlign(n.textAlign)})}(l.x(M),k,w),v)d.x+=O+u;else if("string"!==typeof w.text){const t=c.lineHeight;d.y+=rn(w,t)+u}else d.y+=y})),Object(o.P)(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=Object(o.D)(e.font),r=Object(o.f)(e.padding);if(!e.display)return;const i=Object(o.Cb)(t.rtl,this.left,this.width),a=this.ctx,s=e.position,l=n.size/2,c=r.top+l;let u,h=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,h=Object(o.F)(t.align,h,this.right-f);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);u=c+Object(o.F)(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const d=Object(o.F)(s,h,h+f);a.textAlign=i.textAlign(Object(o.E)(s)),a.textBaseline="middle",a.strokeStyle=e.color,a.fillStyle=e.color,a.font=n.string,Object(o.A)(a,e.text,d,u,n)}_computeTitleHeight(){const t=this.options.title,e=Object(o.D)(t.font),n=Object(o.f)(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,r,i;if(Object(o.mb)(t,this.left,this.right)&&Object(o.mb)(e,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;nt.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:s,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const c=t.controller.getStyle(n?0:void 0),u=Object(o.f)(c.borderWidth);return{text:e[t.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!t.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:s&&(l||c.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class an extends kt{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const r=Object(o.Db)(n.text)?n.text.length:1;this._padding=Object(o.f)(n.padding);const i=r*Object(o.D)(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:r,right:i,options:a}=this,s=a.align;let l,c,u,h=0;return this.isHorizontal()?(c=Object(o.F)(s,n,i),u=e+t,l=i-n):("left"===a.position?(c=n+t,u=Object(o.F)(s,r,e),h=-.5*o.q):(c=i-t,u=Object(o.F)(s,e,r),h=.5*o.q),l=r-e),{titleX:c,titleY:u,maxWidth:l,rotation:h}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=Object(o.D)(e.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:s,rotation:l}=this._drawArgs(r);Object(o.A)(t,e.text,0,0,n,{color:e.color,maxWidth:s,rotation:l,textAlign:Object(o.E)(e.align),textBaseline:"middle",translation:[i,a]})}}var sn={id:"title",_element:an,start(t,e,n){!function(t,e){const n=new an({ctx:t.ctx,options:e,chart:t});lt.configure(t,n,e),lt.addBox(t,n),t.titleBlock=n}(t,n)},stop(t){const e=t.titleBlock;lt.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;lt.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const ln={average(t){if(!t.length)return!1;let e,n,r=new Set,i=0,o=0;for(e=0,n=t.length;et+e))/r.size,y:i/o}},nearest(t,e){if(!t.length)return!1;let n,r,i,a=e.x,s=e.y,l=Number.POSITIVE_INFINITY;for(n=0,r=t.length;n-1?t.split("\n"):t}function hn(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:t,label:a,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function fn(t,e){const n=t.chart.ctx,{body:r,footer:i,title:a}=t,{boxWidth:s,boxHeight:l}=e,c=Object(o.D)(e.bodyFont),u=Object(o.D)(e.titleFont),h=Object(o.D)(e.footerFont),f=a.length,d=i.length,p=r.length,g=Object(o.f)(e.padding);let m=g.height,v=0,b=r.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(b+=t.beforeBody.length+t.afterBody.length,f&&(m+=f*u.lineHeight+(f-1)*e.titleSpacing+e.titleMarginBottom),b){m+=p*(e.displayColors?Math.max(l,c.lineHeight):c.lineHeight)+(b-p)*c.lineHeight+(b-1)*e.bodySpacing}d&&(m+=e.footerMarginTop+d*h.lineHeight+(d-1)*e.footerSpacing);let y=0;const w=function(t){v=Math.max(v,n.measureText(t).width+y)};return n.save(),n.font=u.string,Object(o.g)(t.title,w),n.font=c.string,Object(o.g)(t.beforeBody.concat(t.afterBody),w),y=e.displayColors?s+2+e.boxPadding:0,Object(o.g)(r,(t=>{Object(o.g)(t.before,w),Object(o.g)(t.lines,w),Object(o.g)(t.after,w)})),y=0,n.font=h.string,Object(o.g)(t.footer,w),n.restore(),v+=g.width,{width:v,height:m}}function dn(t,e,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:s,right:l}}=t;let c="center";return"center"===r?c=i<=(s+l)/2?"left":"right":i<=o/2?c="left":i>=a-o/2&&(c="right"),function(t,e,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;return"left"===t&&i+o+a>e.width||"right"===t&&i-o-a<0||void 0}(c,t,e,n)&&(c="center"),c}function pn(t,e,n){const r=n.yAlign||e.yAlign||function(t,e){const{y:n,height:r}=e;return nt.height-r/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||dn(t,e,n,r),yAlign:r}}function gn(t,e,n,r){const{caretSize:i,caretPadding:a,cornerRadius:s}=t,{xAlign:l,yAlign:c}=n,u=i+a,{topLeft:h,topRight:f,bottomLeft:d,bottomRight:p}=Object(o.zb)(s);let g=function(t,e){let{x:n,width:r}=t;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}(e,l);const m=function(t,e,n){let{y:r,height:i}=t;return"top"===e?r+=n:r-="bottom"===e?i+n:i/2,r}(e,c,u);return"center"===c?"left"===l?g+=u:"right"===l&&(g-=u):"left"===l?g-=Math.max(h,d)+i:"right"===l&&(g+=Math.max(f,p)+i),{x:Object(o.t)(g,0,r.width-e.width),y:Object(o.t)(m,0,r.height-e.height)}}function mn(t,e,n){const r=Object(o.f)(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function vn(t){return cn([],un(t))}function bn(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const yn={beforeTitle:o.S,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex{const e={before:[],lines:[],after:[]},i=bn(n,t);cn(e.before,un(wn(i,"beforeLabel",this,t))),cn(e.lines,wn(i,"label",this,t)),cn(e.after,un(wn(i,"afterLabel",this,t))),r.push(e)})),r}getAfterBody(t,e){return vn(wn(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:n}=e,r=wn(n,"beforeFooter",this,t),i=wn(n,"footer",this,t),o=wn(n,"afterFooter",this,t);let a=[];return a=cn(a,un(r)),a=cn(a,un(i)),a=cn(a,un(o)),a}_createItems(t){const e=this._active,n=this.chart.data,r=[],i=[],a=[];let s,l,c=[];for(s=0,l=e.length;st.filter(e,r,i,n)))),t.itemSort&&(c=c.sort(((e,r)=>t.itemSort(e,r,n)))),Object(o.g)(c,(e=>{const n=bn(t.callbacks,e);r.push(wn(n,"labelColor",this,e)),i.push(wn(n,"labelPointStyle",this,e)),a.push(wn(n,"labelTextColor",this,e))})),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=c,c}update(t,e){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const t=ln[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const e=this._size=fn(this,n),a=Object.assign({},t,e),s=pn(this.chart,n,a),l=gn(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,r){const i=this.getCaretPosition(t,n,r);e.lineTo(i.x1,i.y1),e.lineTo(i.x2,i.y2),e.lineTo(i.x3,i.y3)}getCaretPosition(t,e,n){const{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:s}=n,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:h}=Object(o.zb)(s),{x:f,y:d}=t,{width:p,height:g}=e;let m,v,b,y,w,x;return"center"===i?(w=d+g/2,"left"===r?(m=f,v=m-a,y=w+a,x=w-a):(m=f+p,v=m+a,y=w-a,x=w+a),b=m):(v="left"===r?f+Math.max(l,u)+a:"right"===r?f+p-Math.max(c,h)-a:this.caretX,"top"===i?(y=d,w=y-a,m=v-a,b=v+a):(y=d+g,w=y+a,m=v+a,b=v-a),x=y),{x1:m,x2:v,x3:b,y1:y,y2:w,y3:x}}drawTitle(t,e,n){const r=this.title,i=r.length;let a,s,l;if(i){const c=Object(o.Cb)(n.rtl,this.x,this.width);for(t.x=mn(this,n.titleAlign,n),e.textAlign=c.textAlign(n.titleAlign),e.textBaseline="middle",a=Object(o.D)(n.titleFont),s=n.titleSpacing,e.fillStyle=n.titleColor,e.font=a.string,l=0;l0!==t))?(t.beginPath(),t.fillStyle=i.multiKeyBackground,Object(o.xb)(t,{x:e,y:p,w:c,h:l,radius:s}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),Object(o.xb)(t,{x:n,y:p+1,w:c-2,h:l-2,radius:s}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(e,p,c,l),t.strokeRect(e,p,c,l),t.fillStyle=a.backgroundColor,t.fillRect(n,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:s,boxHeight:l,boxWidth:c,boxPadding:u}=n,h=Object(o.D)(n.bodyFont);let f=h.lineHeight,d=0;const p=Object(o.Cb)(n.rtl,this.x,this.width),g=function(n){e.fillText(n,p.x(t.x+d),t.y+f/2),t.y+=f+i},m=p.textAlign(a);let v,b,y,w,x,S,_;for(e.textAlign=a,e.textBaseline="middle",e.font=h.string,t.x=mn(this,m,n),e.fillStyle=n.bodyColor,Object(o.g)(this.beforeBody,g),d=s&&"right"!==m?"center"===a?c/2+u:c+2+u:0,w=0,S=r.length;w0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=ln[t.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=fn(this,t),a=Object.assign({},n,this._size),s=pn(e,t,a),l=gn(t,a,s,e);r._to===l.x&&i._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const a=Object(o.f)(e.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&s&&(t.save(),t.globalAlpha=n,this.drawBackground(i,t,r,e),Object(o.N)(t,e.textDirection),i.y+=a.top,this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),Object(o.P)(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,r=t.map((t=>{let{datasetIndex:e,index:n}=t;const r=this.chart.getDatasetMeta(e);if(!r)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:r.data[n],index:n}})),i=!Object(o.kb)(n,r),a=this._positionChanged(r,e);(i||a)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],a=this._getActiveElements(t,i,e,n),s=this._positionChanged(a,t),l=e||!Object(o.kb)(a,i)||s;return l&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,n,r){const i=this.options;if("mouseout"===t.type)return[];if(!r)return e.filter((t=>this.chart.data.datasets[t.datasetIndex]&&void 0!==this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index)));const o=this.chart.getElementsAtEventForMode(t,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:n,caretY:r,options:i}=this,o=ln[i.position].call(this,t,e);return!1!==o&&(n!==o.x||r!==o.y)}}Object(i.a)(xn,"positioners",ln);var Sn={id:"tooltip",_element:xn,positioners:ln,afterInit(t,e,n){n&&(t.tooltip=new xn({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",Object(r.a)(Object(r.a)({},n),{},{cancelable:!0})))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:yn},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function _n(t,e,n,r){const i=t.indexOf(e);if(-1===i)return((t,e,n,r)=>("string"===typeof e?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n))(t,e,n,r);return i!==t.lastIndexOf(e)?n:i}function On(t){const e=this.getLabels();return t>=0&&tnull===t?null:Object(o.t)(Math.round(t),0,e))(e=isFinite(e)&&n[e]===t?e:_n(n,t,Object(o.Xb)(e,t),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===t&&e===i.length-1?i:i.slice(t,e+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let o=t;o<=e;o++)r.push({value:o});return r}getLabelForValue(t){return On.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!==typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function kn(t,e,n){let{horizontal:r,minRotation:i}=n;const a=Object(o.Vb)(i),s=(r?Math.sin(a):Math.cos(a))||.001,l=.75*e*(""+t).length;return Math.min(e/s,l)}Object(i.a)(Mn,"id","category"),Object(i.a)(Mn,"defaults",{ticks:{callback:On}});class En extends Nt{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return Object(o.Mb)(t)||("number"===typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this;const a=t=>r=e?r:t,s=t=>i=n?i:t;if(t){const t=Object(o.Ub)(r),e=Object(o.Ub)(i);t<0&&e<0?s(0):t>0&&e>0&&a(0)}if(r===i){let e=0===i?1:Math.abs(.05*i);s(i+e),t||a(r-e)}this.min=r,this.max=i}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:r}=t;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,e>1e3&&(console.warn("scales.".concat(this.id,".ticks.stepSize: ").concat(r," would result generating up to ").concat(e," ticks. Limiting to 1000.")),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=function(t,e){const n=[],{bounds:r,step:i,min:a,max:s,precision:l,count:c,maxTicks:u,maxDigits:h,includeBounds:f}=t,d=i||1,p=u-1,{min:g,max:m}=e,v=!Object(o.Mb)(a),b=!Object(o.Mb)(s),y=!Object(o.Mb)(c),w=(m-g)/(h+1);let x,S,_,O,M=Object(o.U)((m-g)/p/d)*d;if(M<1e-14&&!v&&!b)return[{value:g},{value:m}];O=Math.ceil(m/M)-Math.floor(g/M),O>p&&(M=Object(o.U)(O*M/p/d)*d),Object(o.Mb)(l)||(x=Math.pow(10,l),M=Math.ceil(M*x)/x),"ticks"===r?(S=Math.floor(g/M)*M,_=Math.ceil(m/M)*M):(S=g,_=m),v&&b&&i&&Object(o.V)((s-a)/i,M/1e3)?(O=Math.round(Math.min((s-a)/M,u)),M=(s-a)/O,S=a,_=s):y?(S=v?a:S,_=b?s:_,O=c-1,M=(_-S)/O):(O=(_-S)/M,O=Object(o.W)(O,Math.round(O),M/1e3)?Math.round(O):Math.ceil(O));const k=Math.max(Object(o.X)(M),Object(o.X)(S));x=Math.pow(10,Object(o.Mb)(l)?k:l),S=Math.round(S*x)/x,_=Math.round(_*x)/x;let E=0;for(v&&(f&&S!==a?(n.push({value:a}),Ss)break;n.push({value:t})}return b&&f&&_!==s?n.length&&Object(o.W)(n[n.length-1].value,s,kn(s,w,t))?n[n.length-1].value=s:n.push({value:s}):b&&_!==s||n.push({value:_}),n}({maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&Object(o.T)(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const r=(n-e)/Math.max(t.length-1,1)/2;e-=r,n+=r}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return Object(o.Qb)(t,this.chart.options.locale,this.options.ticks.format)}}class Cn extends En{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=Object(o.Ib)(t)?t:0,this.max=Object(o.Ib)(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=Object(o.Vb)(this.options.ticks.minRotation),r=(t?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,i.lineHeight/r))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}Object(i.a)(Cn,"id","linear"),Object(i.a)(Cn,"defaults",{ticks:{callback:o.Y.formatters.numeric}});const Tn=t=>Math.floor(Object(o.Z)(t)),An=(t,e)=>Math.pow(10,Tn(t)+e);function Pn(t){return 1===t/Math.pow(10,Tn(t))}function In(t,e,n){const r=Math.pow(10,n),i=Math.floor(t/r);return Math.ceil(e/r)-i}function jn(t,e){let{min:n,max:r}=e;n=Object(o.p)(t.min,n);const i=[],a=Tn(n);let s=function(t,e){let n=Tn(e-t);for(;In(t,e,n)>10;)n++;for(;In(t,e,n)<10;)n--;return Math.min(n,Tn(t))}(n,r),l=s<0?Math.pow(10,Math.abs(s)):1;const c=Math.pow(10,s),u=a>s?Math.pow(10,a):0,h=Math.round((n-u)*l)/l,f=Math.floor((n-u)/c/10)*c*10;let d=Math.floor((h-f)/Math.pow(10,s)),p=Object(o.p)(t.min,Math.round((u+f+d*Math.pow(10,s))*l)/l);for(;p=10?d=d<15?15:20:d++,d>=20&&(s++,d=2,l=s>=0?1:l),p=Math.round((u+f+d*Math.pow(10,s))*l)/l;const g=Object(o.p)(t.max,p);return i.push({value:g,major:Pn(g),significand:d}),i}class Rn extends Nt{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=En.prototype.parse.apply(this,[t,e]);if(0!==n)return Object(o.Ib)(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=Object(o.Ib)(t)?Math.max(0,t):null,this.max=Object(o.Ib)(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Object(o.Ib)(this._userMin)&&(this.min=t===An(this.min,0)?An(this.min,-1):An(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let n=this.min,r=this.max;const i=e=>n=t?n:e,o=t=>r=e?r:t;n===r&&(n<=0?(i(1),o(10)):(i(An(n,-1)),o(An(r,1)))),n<=0&&i(An(r,-1)),r<=0&&o(An(n,1)),this.min=n,this.max=r}buildTicks(){const t=this.options,e=jn({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&Object(o.T)(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":Object(o.Qb)(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Object(o.Z)(t),this._valueRange=Object(o.Z)(this.max)-Object(o.Z)(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Object(o.Z)(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Dn(t){const e=t.ticks;if(e.display&&t.display){const t=Object(o.f)(e.backdropPadding);return Object(o.Xb)(e.font&&e.font.size,o.Fb.font.size)+t.height}return 0}function Nn(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:ti?{start:e-n,end:e}:{start:e,end:e+n}}function Ln(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],i=[],a=t._pointLabels.length,s=t.options.pointLabels,l=s.centerPointLabels?o.q/a:0;for(let f=0;fe.r&&(s=(r.end-e.r)/o,t.r=Math.max(t.r,e.r+s)),i.starte.b&&(l=(i.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function Bn(t,e,n){const r=t.drawingArea,{extra:i,additionalAngle:a,padding:s,size:l}=n,c=t.getPointPosition(e,r+i+s,a),u=Math.round(Object(o.v)(Object(o.Bb)(c.angle+o.i))),h=function(t,e,n){90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e);return t}(c.y,l.h,u),f=function(t){if(0===t||180===t)return"center";if(t<180)return"left";return"right"}(u),d=function(t,e,n){"right"===n?t-=e:"center"===n&&(t-=e/2);return t}(c.x,l.w,f);return{visible:!0,x:c.x,y:h,textAlign:f,left:d,top:h,right:d+l.w,bottom:h+l.h}}function Hn(t,e){if(!e)return!0;const{left:n,top:r,right:i,bottom:a}=t;return!(Object(o.d)({x:n,y:r},e)||Object(o.d)({x:n,y:a},e)||Object(o.d)({x:i,y:r},e)||Object(o.d)({x:i,y:a},e))}function zn(t,e,n){const{left:r,top:i,right:a,bottom:s}=n,{backdropColor:l}=e;if(!Object(o.Mb)(l)){const n=Object(o.zb)(e.borderRadius),c=Object(o.f)(e.backdropPadding);t.fillStyle=l;const u=r-c.left,h=i-c.top,f=a-r+c.width,d=s-i+c.height;Object.values(n).some((t=>0!==t))?(t.beginPath(),Object(o.xb)(t,{x:u,y:h,w:f,h:d,radius:n}),t.fill()):t.fillRect(u,h,f,d)}}function Vn(t,e,n,r){const{ctx:i}=t;if(n)i.arc(t.xCenter,t.yCenter,e,0,o.u);else{let n=t.getPointPosition(0,e);i.moveTo(n.x,n.y);for(let o=1;o{const n=Object(o.r)(this.options.pointLabels.callback,[t,e],this);return n||0===n?n:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?Ln(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,r))}getIndexAngle(t){const e=o.u/(this._pointLabels.length||1),n=this.options.startAngle||0;return Object(o.Bb)(t*e+Object(o.Vb)(n))}getDistanceFromCenterForValue(t){if(Object(o.Mb)(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(Object(o.Mb)(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t2&&void 0!==arguments[2]?arguments[2]:0;const r=this.getIndexAngle(t)-o.i+n;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:n,right:r,bottom:i}=this._pointLabelItems[t];return{left:e,top:n,right:r,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),Vn(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:n,grid:r,border:i}=e,a=this._pointLabels.length;let s,l,c;if(e.pointLabels.display&&function(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let i=e-1;i>=0;i--){const e=t._pointLabelItems[i];if(!e.visible)continue;const a=r.setContext(t.getPointLabelContext(i));zn(n,a,e);const s=Object(o.D)(a.font),{x:l,y:c,textAlign:u}=e;Object(o.A)(n,t._pointLabels[i],l,c+s.lineHeight/2,s,{color:a.color,textAlign:u,textBaseline:"middle"})}}(this,a),r.display&&this.ticks.forEach(((t,e)=>{if(0!==e||0===e&&this.min<0){l=this.getDistanceFromCenterForValue(t.value);const n=this.getContext(e),o=r.setContext(n),s=i.setContext(n);!function(t,e,n,r,i){const o=t.ctx,a=e.circular,{color:s,lineWidth:l}=e;!a&&!r||!s||!l||n<0||(o.save(),o.strokeStyle=s,o.lineWidth=l,o.setLineDash(i.dash),o.lineDashOffset=i.dashOffset,o.beginPath(),Vn(t,n,a,r),o.closePath(),o.stroke(),o.restore())}(this,o,l,a,s)}})),n.display){for(t.save(),s=a-1;s>=0;s--){const r=n.setContext(this.getPointLabelContext(s)),{color:i,lineWidth:o}=r;o&&i&&(t.lineWidth=o,t.strokeStyle=i,t.setLineDash(r.borderDash),t.lineDashOffset=r.borderDashOffset,l=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),c=this.getPointPosition(s,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,n=e.ticks;if(!n.display)return;const r=this.getIndexAngle(0);let i,a;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((r,s)=>{if(0===s&&this.min>=0&&!e.reverse)return;const l=n.setContext(this.getContext(s)),c=Object(o.D)(l.font);if(i=this.getDistanceFromCenterForValue(this.ticks[s].value),l.showLabelBackdrop){t.font=c.string,a=t.measureText(r.label).width,t.fillStyle=l.backdropColor;const e=Object(o.f)(l.backdropPadding);t.fillRect(-a/2-e.left,-i-c.size/2-e.top,a+e.width,c.size+e.height)}Object(o.A)(t,r.label,0,-i,c,{color:l.color,strokeColor:l.textStrokeColor,strokeWidth:l.textStrokeWidth})})),t.restore()}drawTitle(){}}Object(i.a)(Wn,"id","radialLinear"),Object(i.a)(Wn,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:o.Y.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}}),Object(i.a)(Wn,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),Object(i.a)(Wn,"descriptors",{angleLines:{_fallback:"grid"}});const Un={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Yn=Object.keys(Un);function Gn(t,e){return t-e}function Xn(t,e){if(Object(o.Mb)(e))return null;const n=t._adapter,{parser:r,round:i,isoWeekday:a}=t._parseOpts;let s=e;return"function"===typeof r&&(s=r(s)),Object(o.Ib)(s)||(s="string"===typeof r?n.parse(s,r):n.parse(s)),null===s?null:(i&&(s="week"!==i||!Object(o.Zb)(a)&&!0!==a?n.startOf(s,i):n.startOf(s,"isoWeek",a)),+s)}function qn(t,e,n,r){const i=Yn.length;for(let o=Yn.indexOf(t);o=e?n[r]:n[i]]=!0}}else t[e]=!0}function Kn(t,e,n){const r=[],i={},o=e.length;let a,s;for(a=0;a=0&&(e[l].major=!0);return e}(t,r,i,n):r}class Zn extends Nt{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.time||(t.time={}),r=this._adapter=new V(t.adapters.date);r.init(e),Object(o.eb)(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Xn(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:r,max:i,minDefined:a,maxDefined:s}=this.getUserBounds();function l(t){a||isNaN(t.min)||(r=Math.min(r,t.min)),s||isNaN(t.max)||(i=Math.max(i,t.max))}a&&s||(l(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||l(this.getMinMax(!1))),r=Object(o.Ib)(r)&&!isNaN(r)?r:+e.startOf(Date.now(),n),i=Object(o.Ib)(i)&&!isNaN(i)?i:+e.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,a=this.max,s=Object(o.bb)(r,i,a);return this._unit=e.unit||(n.autoSkip?qn(e.minUnit,this.min,this.max,this._getLabelCapacity(i)):function(t,e,n,r,i){for(let o=Yn.length-1;o>=Yn.indexOf(n);o--){const n=Yn[o];if(Un[n].common&&t._adapter.diff(i,r,n)>=e-1)return n}return Yn[n?Yn.indexOf(n):0]}(this,s.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(let e=Yn.indexOf(t)+1,n=Yn.length;e+t.value)))}initOffsets(){let t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=0,i=0;this.options.offset&&n.length&&(t=this.getDecimalForValue(n[0]),r=1===n.length?1-t:(this.getDecimalForValue(n[1])-t)/2,e=this.getDecimalForValue(n[n.length-1]),i=1===n.length?e:(e-this.getDecimalForValue(n[n.length-2]))/2);const a=n.length<3?.5:.25;r=Object(o.t)(r,0,a),i=Object(o.t)(i,0,a),this._offsets={start:r,end:i,factor:1/(r+1+i)}}_generate(){const t=this._adapter,e=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||qn(i.minUnit,e,n,this._getLabelCapacity(e)),s=Object(o.Xb)(r.ticks.stepSize,1),l="week"===a&&i.isoWeekday,c=Object(o.Zb)(l)||!0===l,u={};let h,f,d=e;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":a),t.diff(n,e,a)>1e5*s)throw new Error(e+" and "+n+" are too far apart with stepSize of "+s+" "+a);const p="data"===r.ticks.source&&this.getDataTimestamps();for(h=d,f=0;h+t))}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,r=this._unit,i=e||n[r];return this._adapter.format(t,i)}_tickFormatFunction(t,e,n,r){const i=this.options,a=i.ticks.callback;if(a)return Object(o.r)(a,[t,e,n],this);const s=i.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&s[l],h=c&&s[c],f=n[e],d=c&&h&&f&&f.major;return this._adapter.format(t,r||(d?h:u))}generateTickLabels(t){let e,n,r;for(e=0,n=t.length;e0?a:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t=t[l].pos&&e<=t[c].pos&&({lo:l,hi:c}=Object(o.c)(t,"pos",e)),({pos:r,time:a}=t[l]),({pos:i,time:s}=t[c])):(e>=t[l].time&&e<=t[c].time&&({lo:l,hi:c}=Object(o.c)(t,"time",e)),({time:r,pos:a}=t[l]),({time:i,pos:s}=t[c]));const u=i-r;return u?a+(s-a)*(e-r)/u:a}Object(i.a)(Zn,"id","time"),Object(i.a)(Zn,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});class Jn extends Zn{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Qn(e,this.min),this._tableRange=Qn(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,r=[],i=[];let o,a,s,l,c;for(o=0,a=t.length;o=e&&l<=n&&r.push(l);if(r.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(o=0,a=r.length;ot-e))}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),n=this.getLabelTimestamps();return t=e.length&&n.length?this.normalize(e.concat(n)):e.length?e:n,t=this._cache.all=t,t}getDecimalForValue(t){return(Qn(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return Qn(this._table,n*this._tableRange+this._minPos,!0)}}Object(i.a)(Jn,"id","timeseries"),Object(i.a)(Jn,"defaults",Zn.defaults)},function(t,e,n){"use strict";n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return p})),n.d(e,"c",(function(){return g})),n.d(e,"d",(function(){return b})),n.d(e,"e",(function(){return y}));var r=n(78),i=n(53),o=n(130);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(t){const e={};return n=>(void 0===e[n]&&(e[n]=t(n)),e[n])}((t=>{if(t.length>2){if(!l[t])return[t];t=l[t]}const[e,n]=t.split(""),r=a[e],i=s[n]||"";return Array.isArray(i)?i.map((t=>r+t)):[r+i]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...u,...h];function d(t,e,n,r){var o;const a=null!=(o=Object(i.b)(t,e,!1))?o:n;return"number"===typeof a?t=>"string"===typeof t?t:a*t:Array.isArray(a)?t=>"string"===typeof t?t:a[t]:"function"===typeof a?a:()=>{}}function p(t){return d(t,"spacing",8)}function g(t,e){if("string"===typeof e||null==e)return e;const n=t(Math.abs(e));return e>=0?n:"number"===typeof n?-n:"-".concat(n)}function m(t,e,n,i){if(-1===e.indexOf(n))return null;const o=function(t,e){return n=>t.reduce(((t,r)=>(t[r]=g(e,n),t)),{})}(c(n),i),a=t[n];return Object(r.b)(t,a,o)}function v(t,e){const n=p(t.theme);return Object.keys(t).map((r=>m(t,e,r,n))).reduce(o.a,{})}function b(t){return v(t,u)}function y(t){return v(t,h)}function w(t){return v(t,f)}b.propTypes={},b.filterProps=u,y.propTypes={},y.filterProps=h,w.propTypes={},w.filterProps=f},function(t,e,n){"use strict";function r(t,e){return function(){return null}}n.r(e),n.d(e,"chainPropTypes",(function(){return r})),n.d(e,"deepmerge",(function(){return i.a})),n.d(e,"elementAcceptingRef",(function(){return l})),n.d(e,"elementTypeAcceptingRef",(function(){return c})),n.d(e,"exactProp",(function(){return u})),n.d(e,"formatMuiErrorMessage",(function(){return h.a})),n.d(e,"getDisplayName",(function(){return v})),n.d(e,"HTMLElementType",(function(){return b})),n.d(e,"ponyfillGlobal",(function(){return y})),n.d(e,"refType",(function(){return w}));var i=n(277),o=n(14),a=n.n(o);var s=(a.a.element,function(){return null});s.isRequired=(a.a.element.isRequired,function(){return null});var l=s;var c=(o.elementType,function(){return null});n(16),n(4);function u(t){return t}var h=n(281),f=n(59),d=n(364),p=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.displayName||t.name||function(t){var e="".concat(t).match(p);return e&&e[1]||""}(t)||e}function m(t,e,n){var r=g(e);return t.displayName||(""!==r?"".concat(n,"(").concat(r,")"):n)}function v(t){if(null!=t){if("string"===typeof t)return t;if("function"===typeof t)return g(t,"Component");if("object"===Object(f.a)(t))switch(t.$$typeof){case d.ForwardRef:return m(t,t.render,"ForwardRef");case d.Memo:return m(t,t.type,"memo");default:return}}}function b(t,e,n,r,i){return null}var y="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),w=a.a.oneOfType([a.a.func,a.a.object])},function(t,e,n){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),t.exports=n(599)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),i=n(97);function o(t,e){return r.useMemo((function(){return null==t&&null==e?null:function(n){Object(i.a)(t,n),Object(i.a)(e,n)}}),[t,e])}},function(t,e,n){"use strict";var r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}var o,a,s=n(11),l=n(131),c=n(170),u=((o={})["no-app"]="No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",o["bad-app-name"]="Illegal App name: '{$appName}",o["duplicate-app"]="Firebase App named '{$appName}' already exists",o["app-deleted"]="Firebase App named '{$appName}' already deleted",o["invalid-app-argument"]="firebase.{$appName}() takes either no argument or a Firebase App instance.",o["invalid-log-argument"]="First argument to `onLog` must be null or a function.",o),h=new s.b("app","Firebase",u),f="@firebase/app",d="[DEFAULT]",p=((a={})[f]="fire-core",a["@firebase/analytics"]="fire-analytics",a["@firebase/auth"]="fire-auth",a["@firebase/database"]="fire-rtdb",a["@firebase/functions"]="fire-fn",a["@firebase/installations"]="fire-iid",a["@firebase/messaging"]="fire-fcm",a["@firebase/performance"]="fire-perf",a["@firebase/remote-config"]="fire-rc",a["@firebase/storage"]="fire-gcs",a["@firebase/firestore"]="fire-fst",a["fire-js"]="fire-js",a["firebase-wrapper"]="fire-js-all",a),g=new c.b("@firebase/app"),m=function(){function t(t,e,n){var r,o,a=this;this.firebase_=n,this.isDeleted_=!1,this.name_=e.name,this.automaticDataCollectionEnabled_=e.automaticDataCollectionEnabled||!1,this.options_=Object(s.j)(t),this.container=new l.b(e.name),this._addComponent(new l.a("app",(function(){return a}),"PUBLIC"));try{for(var c=i(this.firebase_.INTERNAL.components.values()),u=c.next();!u.done;u=c.next()){var h=u.value;this._addComponent(h)}}catch(f){r={error:f}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}}return Object.defineProperty(t.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(t){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!1,configurable:!0}),t.prototype.delete=function(){var t=this;return new Promise((function(e){t.checkDestroyed_(),e()})).then((function(){return t.firebase_.INTERNAL.removeApp(t.name_),Promise.all(t.container.getProviders().map((function(t){return t.delete()})))})).then((function(){t.isDeleted_=!0}))},t.prototype._getService=function(t,e){return void 0===e&&(e=d),this.checkDestroyed_(),this.container.getProvider(t).getImmediate({identifier:e})},t.prototype._removeServiceInstance=function(t,e){void 0===e&&(e=d),this.container.getProvider(t).clearInstance(e)},t.prototype._addComponent=function(t){try{this.container.addComponent(t)}catch(e){g.debug("Component "+t.name+" failed to register with FirebaseApp "+this.name,e)}},t.prototype._addOrOverwriteComponent=function(t){this.container.addOrOverwriteComponent(t)},t.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw h.create("app-deleted",{appName:this.name_})},t}();m.prototype.name&&m.prototype.options||m.prototype.delete||console.log("dc");var v="8.0.1";var b=function t(){var e=function(t){var e={},n=new Map,r={__esModule:!0,initializeApp:function(n,i){void 0===i&&(i={}),"object"===typeof i&&null!==i||(i={name:i});var o=i;void 0===o.name&&(o.name=d);var a=o.name;if("string"!==typeof a||!a)throw h.create("bad-app-name",{appName:String(a)});if(Object(s.h)(e,a))throw h.create("duplicate-app",{appName:a});var l=new t(n,o,r);return e[a]=l,l},app:o,registerVersion:function(t,e,n){var r,i=null!==(r=p[t])&&void 0!==r?r:t;n&&(i+="-"+n);var o=i.match(/\s|\//),s=e.match(/\s|\//);if(o||s){var c=['Unable to register library "'+i+'" with version "'+e+'":'];return o&&c.push('library name "'+i+'" contains illegal characters (whitespace or "/")'),o&&s&&c.push("and"),s&&c.push('version name "'+e+'" contains illegal characters (whitespace or "/")'),void g.warn(c.join(" "))}a(new l.a(i+"-version",(function(){return{library:i,version:e}}),"VERSION"))},setLogLevel:c.c,onLog:function(t,e){if(null!==t&&"function"!==typeof t)throw h.create("invalid-log-argument",{appName:name});Object(c.d)(t,e)},apps:null,SDK_VERSION:v,INTERNAL:{registerComponent:a,removeApp:function(t){delete e[t]},components:n,useAsService:function(t,e){return"serverAuth"===e?null:e}}};function o(t){if(t=t||d,!Object(s.h)(e,t))throw h.create("no-app",{appName:t});return e[t]}function a(a){var l,c,u=a.name;if(n.has(u))return g.debug("There were multiple attempts to register component "+u+"."),"PUBLIC"===a.type?r[u]:null;if(n.set(u,a),"PUBLIC"===a.type){var f=function(t){if(void 0===t&&(t=o()),"function"!==typeof t[u])throw h.create("invalid-app-argument",{appName:u});return t[u]()};void 0!==a.serviceProps&&Object(s.k)(f,a.serviceProps),r[u]=f,t.prototype[u]=function(){for(var t=[],e=0;e=0&&g.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}var x=b.initializeApp;b.initializeApp=function(){for(var t=[],e=0;e-1}function O(t){return _(t)?window.pageYOffset:t.scrollTop}function M(t,e){_(t)?window.scrollTo(0,e):t.scrollTop=e}function k(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:y,i=O(t),o=e-i,a=0;!function e(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;M(t,l),an.bottom?M(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i=d)return{placement:"bottom",maxHeight:e};if(_>=d&&!a)return o&&k(l,E,T),{placement:"bottom",maxHeight:e};if(!a&&_>=r||a&&x>=r)return o&&k(l,E,T),{placement:"bottom",maxHeight:a?x-b:_-b};if("auto"===i||a){var A=e,P=a?w:S;return P>=r&&(A=Math.min(P-b-s.controlHeight,e)),{placement:"top",maxHeight:A}}if("bottom"===i)return M(l,E),{placement:"bottom",maxHeight:e};break;case"top":if(w>=d)return{placement:"top",maxHeight:e};if(S>=d&&!a)return o&&k(l,C,T),{placement:"top",maxHeight:e};if(!a&&S>=r||a&&w>=r){var I=e;return(!a&&S>=r||a&&w>=r)&&(I=a?w-y:S-y),o&&k(l,C,T),{placement:"top",maxHeight:I}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var R=function(t){return"auto"===t?"bottom":t},D=function(t){var e,n=t.placement,r=t.theme,i=r.borderRadius,a=r.spacing,s=r.colors;return e={label:"menu"},Object(o.a)(e,function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(n),"100%"),Object(o.a)(e,"backgroundColor",s.neutral0),Object(o.a)(e,"borderRadius",i),Object(o.a)(e,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Object(o.a)(e,"marginBottom",a.menuGutter),Object(o.a)(e,"marginTop",a.menuGutter),Object(o.a)(e,"position","absolute"),Object(o.a)(e,"width","100%"),Object(o.a)(e,"zIndex",1),e},N=Object(h.createContext)({getPortalPlacement:null}),L=function(t){Object(l.a)(n,t);var e=I(n);function n(){var t;Object(a.a)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o1?"s":"")+" required, but only "+e.length+" present")}function o(t){i(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function a(t,e){i(2,arguments);var n=o(t),a=r(e);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}function s(t,e){i(2,arguments);var n=o(t),a=r(e);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+a+1,0),s>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}function l(t,e){return i(2,arguments),s(t,12*r(e))}function c(t){i(1,arguments);var e=o(t);return e.setHours(23,59,59,999),e}function u(t,e){i(1,arguments);var n=e||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:r(s),c=null==n.weekStartsOn?l:r(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=o(t),h=u.getDay(),f=6+(h0?"in "+r:r+" ago":r},formatLong:g,formatRelative:function(t,e,n,r){return m[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:v({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:v({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:v({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:v({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:v({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(y={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t,e){var n=String(t),r=e||{},i=n.match(y.matchPattern);if(!i)return null;var o=i[0],a=n.match(y.parsePattern);if(!a)return null;var s=y.valueCallback?y.valueCallback(a[0]):a[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:n.slice(o.length)}}),era:b({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:b({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:b({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:b({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:b({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function x(t,e){return i(2,arguments),function(t,e){i(2,arguments);var n=o(t).getTime(),a=r(e);return new Date(n+a)}(t,-r(e))}function S(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length0?n:1-n;return S("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):S(n+1,2)},d:function(t,e){return S(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return n.toUpperCase();case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return S(t.getUTCHours()%12||12,e.length)},H:function(t,e){return S(t.getUTCHours(),e.length)},m:function(t,e){return S(t.getUTCMinutes(),e.length)},s:function(t,e){return S(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds();return S(Math.floor(r*Math.pow(10,n-3)),e.length)}};function O(t){i(1,arguments);var e=o(t),n=e.getUTCDay(),r=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-r),e.setUTCHours(0,0,0,0),e}function M(t){i(1,arguments);var e=o(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var a=O(r),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var l=O(s);return e.getTime()>=a.getTime()?n+1:e.getTime()>=l.getTime()?n:n-1}var k=6048e5;function E(t){i(1,arguments);var e=o(t),n=O(e).getTime()-function(t){i(1,arguments);var e=M(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),O(n)}(e).getTime();return Math.round(n/k)+1}function C(t,e){i(1,arguments);var n=e||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:r(s),c=null==n.weekStartsOn?l:r(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=o(t),h=u.getUTCDay(),f=(h=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(a+1,0,h),f.setUTCHours(0,0,0,0);var d=C(f,e),p=new Date(0);p.setUTCFullYear(a,0,h),p.setUTCHours(0,0,0,0);var g=C(p,e);return n.getTime()>=d.getTime()?a+1:n.getTime()>=g.getTime()?a:a-1}var A=6048e5;function P(t,e){i(1,arguments);var n=o(t),a=C(n,e).getTime()-function(t,e){i(1,arguments);var n=e||{},o=n.locale,a=o&&o.options&&o.options.firstWeekContainsDate,s=null==a?1:r(a),l=null==n.firstWeekContainsDate?s:r(n.firstWeekContainsDate),c=T(t,e),u=new Date(0);return u.setUTCFullYear(c,0,l),u.setUTCHours(0,0,0,0),C(u,e)}(n,e).getTime();return Math.round(a/A)+1}var I="midnight",j="noon",R="morning",D="afternoon",N="evening",L="night",F={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return _.y(t,e)},Y:function(t,e,n,r){var i=T(t,r),o=i>0?i:1-i;return"YY"===e?S(o%100,2):"Yo"===e?n.ordinalNumber(o,{unit:"year"}):S(o,e.length)},R:function(t,e){return S(M(t),e.length)},u:function(t,e){return S(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return S(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return S(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return _.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return S(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var i=P(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):S(i,e.length)},I:function(t,e,n){var r=E(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):S(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):_.d(t,e)},D:function(t,e,n){var r=function(t){i(1,arguments);var e=o(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=n-e.getTime();return Math.floor(r/864e5)+1}(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):S(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return S(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return S(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return S(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?j:0===i?I:i/12>=1?"pm":"am",e){case"b":case"bb":case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?N:i>=12?D:i>=4?R:L,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return _.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):_.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):S(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):S(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):_.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):_.s(t,e)},S:function(t,e){return _.S(t,e)},X:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return H(i);case"XXXX":case"XX":return z(i);default:return z(i,":")}},x:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return H(i);case"xxxx":case"xx":return z(i);default:return z(i,":")}},O:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+B(i,":");default:return"GMT"+z(i,":")}},z:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+B(i,":");default:return"GMT"+z(i,":")}},t:function(t,e,n,r){var i=r._originalDate||t;return S(Math.floor(i.getTime()/1e3),e.length)},T:function(t,e,n,r){return S((r._originalDate||t).getTime(),e.length)}};function B(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=e||"";return n+String(i)+a+S(o,2)}function H(t,e){return t%60===0?(t>0?"-":"+")+S(Math.abs(t)/60,2):z(t,e)}function z(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t);return r+S(Math.floor(i/60),2)+n+S(i%60,2)}var V=F;function W(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}}function U(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}}var Y={p:U,P:function(t,e){var n,r=t.match(/(P+)(p+)?/),i=r[1],o=r[2];if(!o)return W(t,e);switch(i){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",W(i,e)).replace("{{time}}",U(o,e))}},G=Y,X=6e4;function q(t){return t.getTime()%X}function $(t){var e=new Date(t.getTime()),n=Math.ceil(e.getTimezoneOffset());e.setSeconds(0,0);var r=n>0?(X+q(e))%X:q(e);return n*X+r}var K=["D","DD"],Z=["YY","YYYY"];function Q(t){return-1!==K.indexOf(t)}function J(t){return-1!==Z.indexOf(t)}function tt(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var et=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,nt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rt=/^'([^]*?)'?$/,it=/''/g,ot=/[a-zA-Z]/;function at(t,e,n){i(2,arguments);var a=String(e),s=n||{},l=s.locale||w,c=l.options&&l.options.firstWeekContainsDate,u=null==c?1:r(c),h=null==s.firstWeekContainsDate?u:r(s.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=l.options&&l.options.weekStartsOn,p=null==d?0:r(d),g=null==s.weekStartsOn?p:r(s.weekStartsOn);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");var m=o(t);if(!f(m))throw new RangeError("Invalid time value");var v=x(m,$(m)),b={firstWeekContainsDate:h,weekStartsOn:g,locale:l,_originalDate:m};return a.match(nt).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,G[e])(t,l.formatLong,b):t})).join("").match(et).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return n.match(rt)[1].replace(it,"'");var i=V[r];if(i)return!s.useAdditionalWeekYearTokens&&J(n)&&tt(n,e,t),!s.useAdditionalDayOfYearTokens&&Q(n)&&tt(n,e,t),i(v,n,l.localize,b);if(r.match(ot))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("")}function st(t,e){i(2,arguments);var n=o(t),r=o(e);return n.getTime()>r.getTime()}function lt(t,e){i(2,arguments);var n=o(t),r=o(e);return n.getTime()=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=o(t),f=r(e),d=((f%7+7)%70,i=r?e:1-e;if(i<=50)n=t||100;else{var o=i+50;n=t+100*Math.floor(o/100)-(t>=o%100?100:0)}return r?n:1-n}var Ut=[31,28,31,30,31,30,31,31,30,31,30,31],Yt=[31,29,31,30,31,30,31,31,30,31,30,31];function Gt(t){return t%400===0||t%4===0&&t%100!==0}var Xt={G:{priority:140,parse:function(t,e,n,r){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}},set:function(t,e,n,r){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(t,e,n,r){var i=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return Ht(4,t,i);case"yo":return n.ordinalNumber(t,{unit:"year",valueCallback:i});default:return Ht(e.length,t,i)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n,r){var i=t.getUTCFullYear();if(n.isTwoDigitYear){var o=Wt(n.year,i);return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}var a="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(a,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(t,e,n,r){var i=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return Ht(4,t,i);case"Yo":return n.ordinalNumber(t,{unit:"year",valueCallback:i});default:return Ht(e.length,t,i)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n,r){var i=T(t,r);if(n.isTwoDigitYear){var o=Wt(n.year,i);return t.setUTCFullYear(o,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),C(t,r)}var a="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(a,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),C(t,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(t,e,n,r){return zt("R"===e?4:e.length,t)},set:function(t,e,n,r){var i=new Date(0);return i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0),O(i)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(t,e,n,r){return zt("u"===e?4:e.length,t)},set:function(t,e,n,r){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(t,e,n,r){switch(e){case"Q":case"QQ":return Ht(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n,r){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(t,e,n,r){switch(e){case"q":case"qq":return Ht(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n,r){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(t,e,n,r){var i=function(t){return t-1};switch(e){case"M":return Lt(dt,t,i);case"MM":return Ht(2,t,i);case"Mo":return n.ordinalNumber(t,{unit:"month",valueCallback:i});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(t,e,n,r){var i=function(t){return t-1};switch(e){case"L":return Lt(dt,t,i);case"LL":return Ht(2,t,i);case"Lo":return n.ordinalNumber(t,{unit:"month",valueCallback:i});case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(t,e,n,r){switch(e){case"w":return Lt(mt,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return Ht(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n,a){return C(function(t,e,n){i(2,arguments);var a=o(t),s=r(e),l=P(a,n)-s;return a.setUTCDate(a.getUTCDate()-7*l),a}(t,n,a),a)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(t,e,n,r){switch(e){case"I":return Lt(mt,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return Ht(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n,a){return O(function(t,e){i(2,arguments);var n=o(t),a=r(e),s=E(n)-a;return n.setUTCDate(n.getUTCDate()-7*s),n}(t,n,a),a)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(t,e,n,r){switch(e){case"d":return Lt(pt,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return Ht(e.length,t)}},validate:function(t,e,n){var r=Gt(t.getUTCFullYear()),i=t.getUTCMonth();return r?e>=1&&e<=Yt[i]:e>=1&&e<=Ut[i]},set:function(t,e,n,r){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(t,e,n,r){switch(e){case"D":case"DD":return Lt(gt,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return Ht(e.length,t)}},validate:function(t,e,n){return Gt(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365},set:function(t,e,n,r){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(t,e,n,r){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=ft(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(t,e,n,r){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return Ht(e.length,t,i);case"eo":return n.ordinalNumber(t,{unit:"day",valueCallback:i});case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=ft(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(t,e,n,r){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return Ht(e.length,t,i);case"co":return n.ordinalNumber(t,{unit:"day",valueCallback:i});case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=ft(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(t,e,n,r){var i=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return Ht(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return n.day(t,{width:"abbreviated",context:"formatting",valueCallback:i})||n.day(t,{width:"short",context:"formatting",valueCallback:i})||n.day(t,{width:"narrow",context:"formatting",valueCallback:i});case"iiiii":return n.day(t,{width:"narrow",context:"formatting",valueCallback:i});case"iiiiii":return n.day(t,{width:"short",context:"formatting",valueCallback:i})||n.day(t,{width:"narrow",context:"formatting",valueCallback:i});default:return n.day(t,{width:"wide",context:"formatting",valueCallback:i})||n.day(t,{width:"abbreviated",context:"formatting",valueCallback:i})||n.day(t,{width:"short",context:"formatting",valueCallback:i})||n.day(t,{width:"narrow",context:"formatting",valueCallback:i})}},validate:function(t,e,n){return e>=1&&e<=7},set:function(t,e,n,a){return t=function(t,e){i(2,arguments);var n=r(e);n%7===0&&(n-=7);var a=o(t),s=((n%7+7)%7<1?7:0)+n-a.getUTCDay();return a.setUTCDate(a.getUTCDate()+s),a}(t,n,a),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(t,e,n,r){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(Vt(n),0,0,0),t},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(t,e,n,r){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(Vt(n),0,0,0),t},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(t,e,n,r){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(Vt(n),0,0,0),t},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(t,e,n,r){switch(e){case"h":return Lt(wt,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return Ht(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=12},set:function(t,e,n,r){var i=t.getUTCHours()>=12;return i&&n<12?t.setUTCHours(n+12,0,0,0):i||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(t,e,n,r){switch(e){case"H":return Lt(vt,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return Ht(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=23},set:function(t,e,n,r){return t.setUTCHours(n,0,0,0),t},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(t,e,n,r){switch(e){case"K":return Lt(yt,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return Ht(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(t,e,n,r){switch(e){case"k":return Lt(bt,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return Ht(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=24},set:function(t,e,n,r){var i=n<=24?n%24:n;return t.setUTCHours(i,0,0,0),t},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(t,e,n,r){switch(e){case"m":return Lt(xt,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return Ht(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n,r){return t.setUTCMinutes(n,0,0),t},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(t,e,n,r){switch(e){case"s":return Lt(St,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return Ht(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n,r){return t.setUTCSeconds(n,0),t},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(t,e,n,r){return Ht(e.length,t,(function(t){return Math.floor(t*Math.pow(10,3-e.length))}))},set:function(t,e,n,r){return t.setUTCMilliseconds(n),t},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(t,e,n,r){switch(e){case"X":return Ft(It,t);case"XX":return Ft(jt,t);case"XXXX":return Ft(Rt,t);case"XXXXX":return Ft(Nt,t);default:return Ft(Dt,t)}},set:function(t,e,n,r){return e.timestampIsSet?t:new Date(t.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(t,e,n,r){switch(e){case"x":return Ft(It,t);case"xx":return Ft(jt,t);case"xxxx":return Ft(Rt,t);case"xxxxx":return Ft(Nt,t);default:return Ft(Dt,t)}},set:function(t,e,n,r){return e.timestampIsSet?t:new Date(t.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(t,e,n,r){return Bt(t)},set:function(t,e,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(t,e,n,r){return Bt(t)},set:function(t,e,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},qt=Xt,$t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Kt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Zt=/^'([^]*?)'?$/,Qt=/''/g,Jt=/\S/,te=/[a-zA-Z]/;function ee(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}function ne(t,e){i(2,arguments);var n=o(t),a=r(e),s=n.getFullYear(),l=n.getDate(),c=new Date(0);c.setFullYear(s,a,15),c.setHours(0,0,0,0);var u=function(t){i(1,arguments);var e=o(t),n=e.getFullYear(),r=e.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(c);return n.setMonth(a,Math.min(l,u)),n}function re(t){i(1,arguments);var e=o(t);return e.setDate(1),e.setHours(0,0,0,0),e}function ie(t){i(1,arguments);var e=o(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function oe(t,e){i(1,arguments);var n=e||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:r(s),c=null==n.weekStartsOn?l:r(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=o(t),h=u.getDay(),f=(h=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=u.options&&u.options.weekStartsOn,g=null==p?0:r(p),m=null==c.weekStartsOn?g:r(c.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===l)return""===s?o(n):new Date(NaN);var v,b={firstWeekContainsDate:d,weekStartsOn:m,locale:u},y=[{priority:10,subPriority:-1,set:ee,index:0}],S=l.match(Kt).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,G[e])(t,u.formatLong,b):t})).join("").match($t),_=[];for(v=0;v0&&Jt.test(s))return new Date(NaN);var I=y.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,n){return n.indexOf(t)===e})).map((function(t){return y.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]})),j=o(n);if(isNaN(j))return new Date(NaN);var R=x(j,$(j)),D={};for(v=0;v0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function u(){for(var t=[],e=0;e2?arguments[2]:void 0;return t||(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?e["12h"]:e["24h"])}function B(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 H(t){for(var e=1;e1&&void 0!==arguments[1])||arguments[1];S(t),e&&n?O(t):"inline"!==h&&"static"!==h||(l(t),s&&s(t))}}}),[O,n,s,l,x,h]),E=L(u,f,t);Object(i.useEffect)((function(){c&&c(E,u)}),[c,E,u]);var C=R(v,b,f,null===u,t),T={pickerProps:k,inputProps:Object(i.useMemo)((function(){return{inputValue:C,validationError:E,openPicker:function(){return!o&&!r&&g(!0)}}}),[r,C,o,g,E]),wrapperProps:M};return Object(i.useDebugValue)(T),T}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 Y(t){for(var e=1;e2&&void 0!==arguments[2])||arguments[2];if(!e||"string"!==typeof e)return null;if(t&&t.vars&&n){const n="vars.".concat(e).split(".").reduce(((t,e)=>t&&t[e]?t[e]:null),t);if(null!=n)return n}return e.split(".").reduce(((t,e)=>t&&null!=t[e]?t[e]:null),t)}function a(t,e,n){let r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof t?t(n):Array.isArray(t)?t[n]||i:o(t,n)||i,e&&(r=e(r,i,t)),r}e.a=function(t){const{prop:e,cssProperty:n=t.prop,themeKey:s,transform:l}=t,c=t=>{if(null==t[e])return null;const c=t[e],u=o(t.theme,s)||{};return Object(i.b)(t,c,(t=>{let i=a(u,l,t);return t===i&&"string"===typeof t&&(i=a(u,l,"".concat(e).concat("default"===t?"":Object(r.a)(t)),t)),!1===n?i:{[n]:i}}))};return c.propTypes={},c.filterProps=[e],c}},function(t,e,n){(function(t,r){var i;(function(){var o,a="Expected a function",s="__lodash_hash_undefined__",l="__lodash_placeholder__",c=16,u=32,h=64,f=128,d=256,p=1/0,g=9007199254740991,m=NaN,v=4294967295,b=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",u],["partialRight",h],["rearg",d]],y="[object Arguments]",w="[object Array]",x="[object Boolean]",S="[object Date]",_="[object Error]",O="[object Function]",M="[object GeneratorFunction]",k="[object Map]",E="[object Number]",C="[object Object]",T="[object Promise]",A="[object RegExp]",P="[object Set]",I="[object String]",j="[object Symbol]",R="[object WeakMap]",D="[object ArrayBuffer]",N="[object DataView]",L="[object Float32Array]",F="[object Float64Array]",B="[object Int8Array]",H="[object Int16Array]",z="[object Int32Array]",V="[object Uint8Array]",W="[object Uint8ClampedArray]",U="[object Uint16Array]",Y="[object Uint32Array]",G=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,Z=RegExp($.source),Q=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,tt=/<%([\s\S]+?)%>/g,et=/<%=([\s\S]+?)%>/g,nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rt=/^\w*$/,it=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ot=/[\\^$.*+?()[\]{}|]/g,at=RegExp(ot.source),st=/^\s+/,lt=/\s/,ct=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ut=/\{\n\/\* \[wrapped with (.+)\] \*/,ht=/,? & /,ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/[()=,{}\[\]\/\s]/,pt=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,mt=/\w*$/,vt=/^[-+]0x[0-9a-f]+$/i,bt=/^0b[01]+$/i,yt=/^\[object .+?Constructor\]$/,wt=/^0o[0-7]+$/i,xt=/^(?:0|[1-9]\d*)$/,St=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_t=/($^)/,Ot=/['\n\r\u2028\u2029\\]/g,Mt="\\ud800-\\udfff",kt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Et="\\u2700-\\u27bf",Ct="a-z\\xdf-\\xf6\\xf8-\\xff",Tt="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",Pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",It="['\u2019]",jt="["+Mt+"]",Rt="["+Pt+"]",Dt="["+kt+"]",Nt="\\d+",Lt="["+Et+"]",Ft="["+Ct+"]",Bt="[^"+Mt+Pt+Nt+Et+Ct+Tt+"]",Ht="\\ud83c[\\udffb-\\udfff]",zt="[^"+Mt+"]",Vt="(?:\\ud83c[\\udde6-\\uddff]){2}",Wt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ut="["+Tt+"]",Yt="\\u200d",Gt="(?:"+Ft+"|"+Bt+")",Xt="(?:"+Ut+"|"+Bt+")",qt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",$t="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Kt="(?:"+Dt+"|"+Ht+")"+"?",Zt="["+At+"]?",Qt=Zt+Kt+("(?:"+Yt+"(?:"+[zt,Vt,Wt].join("|")+")"+Zt+Kt+")*"),Jt="(?:"+[Lt,Vt,Wt].join("|")+")"+Qt,te="(?:"+[zt+Dt+"?",Dt,Vt,Wt,jt].join("|")+")",ee=RegExp(It,"g"),ne=RegExp(Dt,"g"),re=RegExp(Ht+"(?="+Ht+")|"+te+Qt,"g"),ie=RegExp([Ut+"?"+Ft+"+"+qt+"(?="+[Rt,Ut,"$"].join("|")+")",Xt+"+"+$t+"(?="+[Rt,Ut+Gt,"$"].join("|")+")",Ut+"?"+Gt+"+"+qt,Ut+"+"+$t,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nt,Jt].join("|"),"g"),oe=RegExp("["+Yt+Mt+kt+At+"]"),ae=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,se=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],le=-1,ce={};ce[L]=ce[F]=ce[B]=ce[H]=ce[z]=ce[V]=ce[W]=ce[U]=ce[Y]=!0,ce[y]=ce[w]=ce[D]=ce[x]=ce[N]=ce[S]=ce[_]=ce[O]=ce[k]=ce[E]=ce[C]=ce[A]=ce[P]=ce[I]=ce[R]=!1;var ue={};ue[y]=ue[w]=ue[D]=ue[N]=ue[x]=ue[S]=ue[L]=ue[F]=ue[B]=ue[H]=ue[z]=ue[k]=ue[E]=ue[C]=ue[A]=ue[P]=ue[I]=ue[j]=ue[V]=ue[W]=ue[U]=ue[Y]=!0,ue[_]=ue[O]=ue[R]=!1;var he={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},fe=parseFloat,de=parseInt,pe="object"==typeof t&&t&&t.Object===Object&&t,ge="object"==typeof self&&self&&self.Object===Object&&self,me=pe||ge||Function("return this")(),ve=e&&!e.nodeType&&e,be=ve&&"object"==typeof r&&r&&!r.nodeType&&r,ye=be&&be.exports===ve,we=ye&&pe.process,xe=function(){try{var t=be&&be.require&&be.require("util").types;return t||we&&we.binding&&we.binding("util")}catch(e){}}(),Se=xe&&xe.isArrayBuffer,_e=xe&&xe.isDate,Oe=xe&&xe.isMap,Me=xe&&xe.isRegExp,ke=xe&&xe.isSet,Ee=xe&&xe.isTypedArray;function Ce(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Te(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i-1}function De(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function on(t,e){for(var n=t.length;n--&&Ue(e,t[n],0)>-1;);return n}var an=$e({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),sn=$e({"&":"&","<":"<",">":">",'"':""","'":"'"});function ln(t){return"\\"+he[t]}function cn(t){return oe.test(t)}function un(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function hn(t,e){return function(n){return t(e(n))}}function fn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"});var yn=function t(e){var n=(e=null==e?me:yn.defaults(me.Object(),e,yn.pick(me,se))).Array,r=e.Date,i=e.Error,lt=e.Function,Mt=e.Math,kt=e.Object,Et=e.RegExp,Ct=e.String,Tt=e.TypeError,At=n.prototype,Pt=lt.prototype,It=kt.prototype,jt=e["__core-js_shared__"],Rt=Pt.toString,Dt=It.hasOwnProperty,Nt=0,Lt=function(){var t=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ft=It.toString,Bt=Rt.call(kt),Ht=me._,zt=Et("^"+Rt.call(Dt).replace(ot,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=ye?e.Buffer:o,Wt=e.Symbol,Ut=e.Uint8Array,Yt=Vt?Vt.allocUnsafe:o,Gt=hn(kt.getPrototypeOf,kt),Xt=kt.create,qt=It.propertyIsEnumerable,$t=At.splice,Kt=Wt?Wt.isConcatSpreadable:o,Zt=Wt?Wt.iterator:o,Qt=Wt?Wt.toStringTag:o,Jt=function(){try{var t=ho(kt,"defineProperty");return t({},"",{}),t}catch(e){}}(),te=e.clearTimeout!==me.clearTimeout&&e.clearTimeout,re=r&&r.now!==me.Date.now&&r.now,oe=e.setTimeout!==me.setTimeout&&e.setTimeout,he=Mt.ceil,pe=Mt.floor,ge=kt.getOwnPropertySymbols,ve=Vt?Vt.isBuffer:o,be=e.isFinite,we=At.join,xe=hn(kt.keys,kt),ze=Mt.max,$e=Mt.min,wn=r.now,xn=e.parseInt,Sn=Mt.random,_n=At.reverse,On=ho(e,"DataView"),Mn=ho(e,"Map"),kn=ho(e,"Promise"),En=ho(e,"Set"),Cn=ho(e,"WeakMap"),Tn=ho(kt,"create"),An=Cn&&new Cn,Pn={},In=Fo(On),jn=Fo(Mn),Rn=Fo(kn),Dn=Fo(En),Nn=Fo(Cn),Ln=Wt?Wt.prototype:o,Fn=Ln?Ln.valueOf:o,Bn=Ln?Ln.toString:o;function Hn(t){if(es(t)&&!Ua(t)&&!(t instanceof Un)){if(t instanceof Wn)return t;if(Dt.call(t,"__wrapped__"))return Bo(t)}return new Wn(t)}var zn=function(){function t(){}return function(e){if(!ts(e))return{};if(Xt)return Xt(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function Vn(){}function Wn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Un(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Yn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function lr(t,e,n,r,i,a){var s,l=1&e,c=2&e,u=4&e;if(n&&(s=i?n(t,r,i,a):n(t)),s!==o)return s;if(!ts(t))return t;var h=Ua(t);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Dt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!l)return Ti(t,s)}else{var f=go(t),d=f==O||f==M;if(qa(t))return _i(t,l);if(f==C||f==y||d&&!i){if(s=c||d?{}:vo(t),!l)return c?function(t,e){return Ai(t,po(t),e)}(t,function(t,e){return t&&Ai(e,Is(e),t)}(s,t)):function(t,e){return Ai(t,fo(t),e)}(t,ir(s,t))}else{if(!ue[f])return i?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case D:return Oi(t);case x:case S:return new r(+t);case N:return function(t,e){var n=e?Oi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case L:case F:case B:case H:case z:case V:case W:case U:case Y:return Mi(t,n);case k:return new r;case E:case I:return new r(t);case A:return function(t){var e=new t.constructor(t.source,mt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case P:return new r;case j:return i=t,Fn?kt(Fn.call(i)):{}}var i}(t,f,l)}}a||(a=new $n);var p=a.get(t);if(p)return p;a.set(t,s),as(t)?t.forEach((function(r){s.add(lr(r,e,n,r,t,a))})):ns(t)&&t.forEach((function(r,i){s.set(i,lr(r,e,n,i,t,a))}));var g=h?o:(u?c?io:ro:c?Is:Ps)(t);return Ae(g||t,(function(r,i){g&&(r=t[i=r]),er(s,i,lr(r,e,n,i,t,a))})),s}function cr(t,e,n){var r=n.length;if(null==t)return!r;for(t=kt(t);r--;){var i=n[r],a=e[i],s=t[i];if(s===o&&!(i in t)||!a(s))return!1}return!0}function ur(t,e,n){if("function"!=typeof t)throw new Tt(a);return Po((function(){t.apply(o,n)}),e)}function hr(t,e,n,r){var i=-1,o=Re,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=Ne(e,tn(n))),r?(o=De,a=!1):e.length>=200&&(o=nn,a=!1,e=new qn(e));t:for(;++i-1},Gn.prototype.set=function(t,e){var n=this.__data__,r=nr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Xn.prototype.clear=function(){this.size=0,this.__data__={hash:new Yn,map:new(Mn||Gn),string:new Yn}},Xn.prototype.delete=function(t){var e=co(this,t).delete(t);return this.size-=e?1:0,e},Xn.prototype.get=function(t){return co(this,t).get(t)},Xn.prototype.has=function(t){return co(this,t).has(t)},Xn.prototype.set=function(t,e){var n=co(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},qn.prototype.add=qn.prototype.push=function(t){return this.__data__.set(t,s),this},qn.prototype.has=function(t){return this.__data__.has(t)},$n.prototype.clear=function(){this.__data__=new Gn,this.size=0},$n.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},$n.prototype.get=function(t){return this.__data__.get(t)},$n.prototype.has=function(t){return this.__data__.has(t)},$n.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!Mn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Xn(r)}return n.set(t,e),this.size=n.size,this};var fr=ji(wr),dr=ji(xr,!0);function pr(t,e){var n=!0;return fr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function gr(t,e,n){for(var r=-1,i=t.length;++r0&&n(s)?e>1?vr(s,e-1,n,r,i):Le(i,s):r||(i[i.length]=s)}return i}var br=Ri(),yr=Ri(!0);function wr(t,e){return t&&br(t,e,Ps)}function xr(t,e){return t&&yr(t,e,Ps)}function Sr(t,e){return je(e,(function(e){return Za(t[e])}))}function _r(t,e){for(var n=0,r=(e=yi(e,t)).length;null!=t&&ne}function Er(t,e){return null!=t&&Dt.call(t,e)}function Cr(t,e){return null!=t&&e in kt(t)}function Tr(t,e,r){for(var i=r?De:Re,a=t[0].length,s=t.length,l=s,c=n(s),u=1/0,h=[];l--;){var f=t[l];l&&e&&(f=Ne(f,tn(e))),u=$e(f.length,u),c[l]=!r&&(e||a>=120&&f.length>=120)?new qn(l&&f):o}f=t[0];var d=-1,p=c[0];t:for(;++d=s?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function Yr(t,e,n){for(var r=-1,i=e.length,o={};++r-1;)s!==t&&$t.call(s,l,1),$t.call(t,l,1);return t}function Xr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;yo(i)?$t.call(t,i,1):hi(t,i)}}return t}function qr(t,e){return t+pe(Sn()*(e-t+1))}function $r(t,e){var n="";if(!t||e<1||e>g)return n;do{e%2&&(n+=t),(e=pe(e/2))&&(t+=t)}while(e);return n}function Kr(t,e){return Io(Eo(t,e,rl),t+"")}function Zr(t){return Zn(Hs(t))}function Qr(t,e){var n=Hs(t);return Do(n,sr(e,0,n.length))}function Jr(t,e,n,r){if(!ts(t))return t;for(var i=-1,a=(e=yi(e,t)).length,s=a-1,l=t;null!=l&&++io?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=n(o);++i>>1,a=t[o];null!==a&&!ls(a)&&(n?a<=e:a=200){var c=e?null:$i(t);if(c)return dn(c);a=!1,i=nn,l=new qn}else l=e?[]:s;t:for(;++r=r?t:ri(t,e,n)}var Si=te||function(t){return me.clearTimeout(t)};function _i(t,e){if(e)return t.slice();var n=t.length,r=Yt?Yt(n):new t.constructor(n);return t.copy(r),r}function Oi(t){var e=new t.constructor(t.byteLength);return new Ut(e).set(new Ut(t)),e}function Mi(t,e){var n=e?Oi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ki(t,e){if(t!==e){var n=t!==o,r=null===t,i=t===t,a=ls(t),s=e!==o,l=null===e,c=e===e,u=ls(e);if(!l&&!u&&!a&&t>e||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&t1?n[i-1]:o,s=i>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,s&&wo(n[0],n[1],s)&&(a=i<3?o:a,i=1),e=kt(e);++r-1?i[a?e[s]:s]:o}}function Bi(t){return no((function(e){var n=e.length,r=n,i=Wn.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new Tt(a);if(i&&!l&&"wrapper"==ao(s))var l=new Wn([],!0)}for(r=l?r:n;++r1&&w.reverse(),d&&ul))return!1;var u=a.get(t),h=a.get(e);if(u&&h)return u==e&&h==t;var f=-1,d=!0,p=2&n?new qn:o;for(a.set(t,e),a.set(e,t);++f-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ct,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Ae(b,(function(n){var r="_."+n[0];e&n[1]&&!Re(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(ut);return e?e[1].split(ht):[]}(r),n)))}function Ro(t){var e=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Do(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,oa(t,n)}));function fa(t){var e=Hn(t);return e.__chain__=!0,e}function da(t,e){return e(t)}var pa=no((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return ar(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Un&&yo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:da,args:[i],thisArg:o}),new Wn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(i)}));var ga=Pi((function(t,e,n){Dt.call(t,n)?++t[n]:or(t,n,1)}));var ma=Fi(Wo),va=Fi(Uo);function ba(t,e){return(Ua(t)?Ae:fr)(t,lo(e,3))}function ya(t,e){return(Ua(t)?Pe:dr)(t,lo(e,3))}var wa=Pi((function(t,e,n){Dt.call(t,n)?t[n].push(e):or(t,n,[e])}));var xa=Kr((function(t,e,r){var i=-1,o="function"==typeof e,a=Ga(t)?n(t.length):[];return fr(t,(function(t){a[++i]=o?Ce(e,t,r):Ar(t,e,r)})),a})),Sa=Pi((function(t,e,n){or(t,n,e)}));function _a(t,e){return(Ua(t)?Ne:Br)(t,lo(e,3))}var Oa=Pi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var Ma=Kr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&wo(t,e[0],e[1])?e=[]:n>2&&wo(e[0],e[1],e[2])&&(e=[e[0]]),Ur(t,vr(e,1),[])})),ka=re||function(){return me.Date.now()};function Ea(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Zi(t,f,o,o,o,o,e)}function Ca(t,e){var n;if("function"!=typeof e)throw new Tt(a);return t=ps(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Ta=Kr((function(t,e,n){var r=1;if(n.length){var i=fn(n,so(Ta));r|=u}return Zi(t,r,e,n,i)})),Aa=Kr((function(t,e,n){var r=3;if(n.length){var i=fn(n,so(Aa));r|=u}return Zi(e,r,t,n,i)}));function Pa(t,e,n){var r,i,s,l,c,u,h=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new Tt(a);function g(e){var n=r,a=i;return r=i=o,h=e,l=t.apply(a,n)}function m(t){var n=t-u;return u===o||n>=e||n<0||d&&t-h>=s}function v(){var t=ka();if(m(t))return b(t);c=Po(v,function(t){var n=e-(t-u);return d?$e(n,s-(t-h)):n}(t))}function b(t){return c=o,p&&r?g(t):(r=i=o,l)}function y(){var t=ka(),n=m(t);if(r=arguments,i=this,u=t,n){if(c===o)return function(t){return h=t,c=Po(v,e),f?g(t):l}(u);if(d)return Si(c),c=Po(v,e),g(u)}return c===o&&(c=Po(v,e)),l}return e=ms(e)||0,ts(n)&&(f=!!n.leading,s=(d="maxWait"in n)?ze(ms(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),y.cancel=function(){c!==o&&Si(c),h=0,r=u=i=c=o},y.flush=function(){return c===o?l:b(ka())},y}var Ia=Kr((function(t,e){return ur(t,1,e)})),ja=Kr((function(t,e,n){return ur(t,ms(e)||0,n)}));function Ra(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Tt(a);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ra.Cache||Xn),n}function Da(t){if("function"!=typeof t)throw new Tt(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ra.Cache=Xn;var Na=wi((function(t,e){var n=(e=1==e.length&&Ua(e[0])?Ne(e[0],tn(lo())):Ne(vr(e,1),tn(lo()))).length;return Kr((function(r){for(var i=-1,o=$e(r.length,n);++i=e})),Wa=Pr(function(){return arguments}())?Pr:function(t){return es(t)&&Dt.call(t,"callee")&&!qt.call(t,"callee")},Ua=n.isArray,Ya=Se?tn(Se):function(t){return es(t)&&Mr(t)==D};function Ga(t){return null!=t&&Ja(t.length)&&!Za(t)}function Xa(t){return es(t)&&Ga(t)}var qa=ve||ml,$a=_e?tn(_e):function(t){return es(t)&&Mr(t)==S};function Ka(t){if(!es(t))return!1;var e=Mr(t);return e==_||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!is(t)}function Za(t){if(!ts(t))return!1;var e=Mr(t);return e==O||e==M||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Qa(t){return"number"==typeof t&&t==ps(t)}function Ja(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=g}function ts(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function es(t){return null!=t&&"object"==typeof t}var ns=Oe?tn(Oe):function(t){return es(t)&&go(t)==k};function rs(t){return"number"==typeof t||es(t)&&Mr(t)==E}function is(t){if(!es(t)||Mr(t)!=C)return!1;var e=Gt(t);if(null===e)return!0;var n=Dt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Rt.call(n)==Bt}var os=Me?tn(Me):function(t){return es(t)&&Mr(t)==A};var as=ke?tn(ke):function(t){return es(t)&&go(t)==P};function ss(t){return"string"==typeof t||!Ua(t)&&es(t)&&Mr(t)==I}function ls(t){return"symbol"==typeof t||es(t)&&Mr(t)==j}var cs=Ee?tn(Ee):function(t){return es(t)&&Ja(t.length)&&!!ce[Mr(t)]};var us=Gi(Fr),hs=Gi((function(t,e){return t<=e}));function fs(t){if(!t)return[];if(Ga(t))return ss(t)?mn(t):Ti(t);if(Zt&&t[Zt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Zt]());var e=go(t);return(e==k?un:e==P?dn:Hs)(t)}function ds(t){return t?(t=ms(t))===p||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}function ps(t){var e=ds(t),n=e%1;return e===e?n?e-n:e:0}function gs(t){return t?sr(ps(t),0,v):0}function ms(t){if("number"==typeof t)return t;if(ls(t))return m;if(ts(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ts(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Je(t);var n=bt.test(t);return n||wt.test(t)?de(t.slice(2),n?2:8):vt.test(t)?m:+t}function vs(t){return Ai(t,Is(t))}function bs(t){return null==t?"":ci(t)}var ys=Ii((function(t,e){if(Oo(e)||Ga(e))Ai(e,Ps(e),t);else for(var n in e)Dt.call(e,n)&&er(t,n,e[n])})),ws=Ii((function(t,e){Ai(e,Is(e),t)})),xs=Ii((function(t,e,n,r){Ai(e,Is(e),t,r)})),Ss=Ii((function(t,e,n,r){Ai(e,Ps(e),t,r)})),_s=no(ar);var Os=Kr((function(t,e){t=kt(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&wo(e[0],e[1],i)&&(r=1);++n1),e})),Ai(t,io(t),n),r&&(n=lr(n,7,to));for(var i=e.length;i--;)hi(n,e[i]);return n}));var Ns=no((function(t,e){return null==t?{}:function(t,e){return Yr(t,e,(function(e,n){return Es(t,n)}))}(t,e)}));function Ls(t,e){if(null==t)return{};var n=Ne(io(t),(function(t){return[t]}));return e=lo(e),Yr(t,n,(function(t,n){return e(t,n[0])}))}var Fs=Ki(Ps),Bs=Ki(Is);function Hs(t){return null==t?[]:en(t,Ps(t))}var zs=Ni((function(t,e,n){return e=e.toLowerCase(),t+(n?Vs(e):e)}));function Vs(t){return Ks(bs(t).toLowerCase())}function Ws(t){return(t=bs(t))&&t.replace(St,an).replace(ne,"")}var Us=Ni((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ys=Ni((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Gs=Di("toLowerCase");var Xs=Ni((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var qs=Ni((function(t,e,n){return t+(n?" ":"")+Ks(e)}));var $s=Ni((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ks=Di("toUpperCase");function Zs(t,e,n){return t=bs(t),(e=n?o:e)===o?function(t){return ae.test(t)}(t)?function(t){return t.match(ie)||[]}(t):function(t){return t.match(ft)||[]}(t):t.match(e)||[]}var Qs=Kr((function(t,e){try{return Ce(t,o,e)}catch(n){return Ka(n)?n:new i(n)}})),Js=no((function(t,e){return Ae(e,(function(e){e=Lo(e),or(t,e,Ta(t[e],t))})),t}));function tl(t){return function(){return t}}var el=Bi(),nl=Bi(!0);function rl(t){return t}function il(t){return Dr("function"==typeof t?t:lr(t,1))}var ol=Kr((function(t,e){return function(n){return Ar(n,t,e)}})),al=Kr((function(t,e){return function(n){return Ar(t,n,e)}}));function sl(t,e,n){var r=Ps(e),i=Sr(e,r);null!=n||ts(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Sr(e,Ps(e)));var o=!(ts(n)&&"chain"in n)||!!n.chain,a=Za(t);return Ae(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ti(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Le([this.value()],arguments))})})),t}function ll(){}var cl=Wi(Ne),ul=Wi(Ie),hl=Wi(He);function fl(t){return xo(t)?qe(Lo(t)):function(t){return function(e){return _r(e,t)}}(t)}var dl=Yi(),pl=Yi(!0);function gl(){return[]}function ml(){return!1}var vl=Vi((function(t,e){return t+e}),0),bl=qi("ceil"),yl=Vi((function(t,e){return t/e}),1),wl=qi("floor");var xl=Vi((function(t,e){return t*e}),1),Sl=qi("round"),_l=Vi((function(t,e){return t-e}),0);return Hn.after=function(t,e){if("function"!=typeof e)throw new Tt(a);return t=ps(t),function(){if(--t<1)return e.apply(this,arguments)}},Hn.ary=Ea,Hn.assign=ys,Hn.assignIn=ws,Hn.assignInWith=xs,Hn.assignWith=Ss,Hn.at=_s,Hn.before=Ca,Hn.bind=Ta,Hn.bindAll=Js,Hn.bindKey=Aa,Hn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ua(t)?t:[t]},Hn.chain=fa,Hn.chunk=function(t,e,r){e=(r?wo(t,e,r):e===o)?1:ze(ps(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,s=0,l=n(he(i/e));ai?0:i+n),(r=r===o||r>i?i:ps(r))<0&&(r+=i),r=n>r?0:gs(r);n>>0)?(t=bs(t))&&("string"==typeof e||null!=e&&!os(e))&&!(e=ci(e))&&cn(t)?xi(mn(t),0,n):t.split(e,n):[]},Hn.spread=function(t,e){if("function"!=typeof t)throw new Tt(a);return e=null==e?0:ze(ps(e),0),Kr((function(n){var r=n[e],i=xi(n,0,e);return r&&Le(i,r),Ce(t,this,i)}))},Hn.tail=function(t){var e=null==t?0:t.length;return e?ri(t,1,e):[]},Hn.take=function(t,e,n){return t&&t.length?ri(t,0,(e=n||e===o?1:ps(e))<0?0:e):[]},Hn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ri(t,(e=r-(e=n||e===o?1:ps(e)))<0?0:e,r):[]},Hn.takeRightWhile=function(t,e){return t&&t.length?di(t,lo(e,3),!1,!0):[]},Hn.takeWhile=function(t,e){return t&&t.length?di(t,lo(e,3)):[]},Hn.tap=function(t,e){return e(t),t},Hn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Tt(a);return ts(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Pa(t,e,{leading:r,maxWait:e,trailing:i})},Hn.thru=da,Hn.toArray=fs,Hn.toPairs=Fs,Hn.toPairsIn=Bs,Hn.toPath=function(t){return Ua(t)?Ne(t,Lo):ls(t)?[t]:Ti(No(bs(t)))},Hn.toPlainObject=vs,Hn.transform=function(t,e,n){var r=Ua(t),i=r||qa(t)||cs(t);if(e=lo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:ts(t)&&Za(o)?zn(Gt(t)):{}}return(i?Ae:wr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Hn.unary=function(t){return Ea(t,1)},Hn.union=ea,Hn.unionBy=na,Hn.unionWith=ra,Hn.uniq=function(t){return t&&t.length?ui(t):[]},Hn.uniqBy=function(t,e){return t&&t.length?ui(t,lo(e,2)):[]},Hn.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?ui(t,o,e):[]},Hn.unset=function(t,e){return null==t||hi(t,e)},Hn.unzip=ia,Hn.unzipWith=oa,Hn.update=function(t,e,n){return null==t?t:fi(t,e,bi(n))},Hn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:fi(t,e,bi(n),r)},Hn.values=Hs,Hn.valuesIn=function(t){return null==t?[]:en(t,Is(t))},Hn.without=aa,Hn.words=Zs,Hn.wrap=function(t,e){return La(bi(e),t)},Hn.xor=sa,Hn.xorBy=la,Hn.xorWith=ca,Hn.zip=ua,Hn.zipObject=function(t,e){return mi(t||[],e||[],er)},Hn.zipObjectDeep=function(t,e){return mi(t||[],e||[],Jr)},Hn.zipWith=ha,Hn.entries=Fs,Hn.entriesIn=Bs,Hn.extend=ws,Hn.extendWith=xs,sl(Hn,Hn),Hn.add=vl,Hn.attempt=Qs,Hn.camelCase=zs,Hn.capitalize=Vs,Hn.ceil=bl,Hn.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=ms(n))===n?n:0),e!==o&&(e=(e=ms(e))===e?e:0),sr(ms(t),e,n)},Hn.clone=function(t){return lr(t,4)},Hn.cloneDeep=function(t){return lr(t,5)},Hn.cloneDeepWith=function(t,e){return lr(t,5,e="function"==typeof e?e:o)},Hn.cloneWith=function(t,e){return lr(t,4,e="function"==typeof e?e:o)},Hn.conformsTo=function(t,e){return null==e||cr(t,e,Ps(e))},Hn.deburr=Ws,Hn.defaultTo=function(t,e){return null==t||t!==t?e:t},Hn.divide=yl,Hn.endsWith=function(t,e,n){t=bs(t),e=ci(e);var r=t.length,i=n=n===o?r:sr(ps(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Hn.eq=Ha,Hn.escape=function(t){return(t=bs(t))&&Q.test(t)?t.replace(K,sn):t},Hn.escapeRegExp=function(t){return(t=bs(t))&&at.test(t)?t.replace(ot,"\\$&"):t},Hn.every=function(t,e,n){var r=Ua(t)?Ie:pr;return n&&wo(t,e,n)&&(e=o),r(t,lo(e,3))},Hn.find=ma,Hn.findIndex=Wo,Hn.findKey=function(t,e){return Ve(t,lo(e,3),wr)},Hn.findLast=va,Hn.findLastIndex=Uo,Hn.findLastKey=function(t,e){return Ve(t,lo(e,3),xr)},Hn.floor=wl,Hn.forEach=ba,Hn.forEachRight=ya,Hn.forIn=function(t,e){return null==t?t:br(t,lo(e,3),Is)},Hn.forInRight=function(t,e){return null==t?t:yr(t,lo(e,3),Is)},Hn.forOwn=function(t,e){return t&&wr(t,lo(e,3))},Hn.forOwnRight=function(t,e){return t&&xr(t,lo(e,3))},Hn.get=ks,Hn.gt=za,Hn.gte=Va,Hn.has=function(t,e){return null!=t&&mo(t,e,Er)},Hn.hasIn=Es,Hn.head=Go,Hn.identity=rl,Hn.includes=function(t,e,n,r){t=Ga(t)?t:Hs(t),n=n&&!r?ps(n):0;var i=t.length;return n<0&&(n=ze(i+n,0)),ss(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Ue(t,e,n)>-1},Hn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ps(n);return i<0&&(i=ze(r+i,0)),Ue(t,e,i)},Hn.inRange=function(t,e,n){return e=ds(e),n===o?(n=e,e=0):n=ds(n),function(t,e,n){return t>=$e(e,n)&&t=-9007199254740991&&t<=g},Hn.isSet=as,Hn.isString=ss,Hn.isSymbol=ls,Hn.isTypedArray=cs,Hn.isUndefined=function(t){return t===o},Hn.isWeakMap=function(t){return es(t)&&go(t)==R},Hn.isWeakSet=function(t){return es(t)&&"[object WeakSet]"==Mr(t)},Hn.join=function(t,e){return null==t?"":we.call(t,e)},Hn.kebabCase=Us,Hn.last=Ko,Hn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ps(n))<0?ze(r+i,0):$e(i,r-1)),e===e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):We(t,Ge,i,!0)},Hn.lowerCase=Ys,Hn.lowerFirst=Gs,Hn.lt=us,Hn.lte=hs,Hn.max=function(t){return t&&t.length?gr(t,rl,kr):o},Hn.maxBy=function(t,e){return t&&t.length?gr(t,lo(e,2),kr):o},Hn.mean=function(t){return Xe(t,rl)},Hn.meanBy=function(t,e){return Xe(t,lo(e,2))},Hn.min=function(t){return t&&t.length?gr(t,rl,Fr):o},Hn.minBy=function(t,e){return t&&t.length?gr(t,lo(e,2),Fr):o},Hn.stubArray=gl,Hn.stubFalse=ml,Hn.stubObject=function(){return{}},Hn.stubString=function(){return""},Hn.stubTrue=function(){return!0},Hn.multiply=xl,Hn.nth=function(t,e){return t&&t.length?Wr(t,ps(e)):o},Hn.noConflict=function(){return me._===this&&(me._=Ht),this},Hn.noop=ll,Hn.now=ka,Hn.pad=function(t,e,n){t=bs(t);var r=(e=ps(e))?gn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Ui(pe(i),n)+t+Ui(he(i),n)},Hn.padEnd=function(t,e,n){t=bs(t);var r=(e=ps(e))?gn(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Sn();return $e(t+i*(e-t+fe("1e-"+((i+"").length-1))),e)}return qr(t,e)},Hn.reduce=function(t,e,n){var r=Ua(t)?Fe:Ke,i=arguments.length<3;return r(t,lo(e,4),n,i,fr)},Hn.reduceRight=function(t,e,n){var r=Ua(t)?Be:Ke,i=arguments.length<3;return r(t,lo(e,4),n,i,dr)},Hn.repeat=function(t,e,n){return e=(n?wo(t,e,n):e===o)?1:ps(e),$r(bs(t),e)},Hn.replace=function(){var t=arguments,e=bs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Hn.result=function(t,e,n){var r=-1,i=(e=yi(e,t)).length;for(i||(i=1,t=o);++rg)return[];var n=v,r=$e(t,v);e=lo(e),t-=v;for(var i=Qe(r,e);++n=a)return t;var l=n-gn(r);if(l<1)return r;var c=s?xi(s,0,l).join(""):t.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),os(i)){if(t.slice(l).search(i)){var u,h=c;for(i.global||(i=Et(i.source,bs(mt.exec(i))+"g")),i.lastIndex=0;u=i.exec(h);)var f=u.index;c=c.slice(0,f===o?l:f)}}else if(t.indexOf(ci(i),l)!=l){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r},Hn.unescape=function(t){return(t=bs(t))&&Z.test(t)?t.replace($,bn):t},Hn.uniqueId=function(t){var e=++Nt;return bs(t)+e},Hn.upperCase=$s,Hn.upperFirst=Ks,Hn.each=ba,Hn.eachRight=ya,Hn.first=Go,sl(Hn,function(){var t={};return wr(Hn,(function(e,n){Dt.call(Hn.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),Hn.VERSION="4.17.21",Ae(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Hn[t].placeholder=Hn})),Ae(["drop","take"],(function(t,e){Un.prototype[t]=function(n){n=n===o?1:ze(ps(n),0);var r=this.__filtered__&&!e?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=$e(n,r.__takeCount__):r.__views__.push({size:$e(n,v),type:t+(r.__dir__<0?"Right":"")}),r},Un.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ae(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Un.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:lo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Ae(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Un.prototype[t]=function(){return this[n](1).value()[0]}})),Ae(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Un.prototype[t]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(rl)},Un.prototype.find=function(t){return this.filter(t).head()},Un.prototype.findLast=function(t){return this.reverse().find(t)},Un.prototype.invokeMap=Kr((function(t,e){return"function"==typeof t?new Un(this):this.map((function(n){return Ar(n,t,e)}))})),Un.prototype.reject=function(t){return this.filter(Da(lo(t)))},Un.prototype.slice=function(t,e){t=ps(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Un(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=ps(e))<0?n.dropRight(-e):n.take(e-t)),n)},Un.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Un.prototype.toArray=function(){return this.take(v)},wr(Un.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Hn[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(Hn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,l=e instanceof Un,c=s[0],u=l||Ua(e),h=function(t){var e=i.apply(Hn,Le([t],s));return r&&f?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var f=this.__chain__,d=!!this.__actions__.length,p=a&&!f,g=l&&!d;if(!a&&u){e=g?e:new Un(this);var m=t.apply(e,s);return m.__actions__.push({func:da,args:[h],thisArg:o}),new Wn(m,f)}return p&&g?t.apply(this,s):(m=this.thru(h),p?r?m.value()[0]:m.value():m)})})),Ae(["pop","push","shift","sort","splice","unshift"],(function(t){var e=At[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Hn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ua(i)?i:[],t)}return this[n]((function(n){return e.apply(Ua(n)?n:[],t)}))}})),wr(Un.prototype,(function(t,e){var n=Hn[e];if(n){var r=n.name+"";Dt.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:e,func:n})}})),Pn[Hi(o,2).name]=[{name:"wrapper",func:o}],Un.prototype.clone=function(){var t=new Un(this.__wrapped__);return t.__actions__=Ti(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ti(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ti(this.__views__),t},Un.prototype.reverse=function(){if(this.__filtered__){var t=new Un(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Un.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ua(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},Hn.prototype.plant=function(t){for(var e,n=this;n instanceof Vn;){var r=Bo(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Hn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Un){var e=t;return this.__actions__.length&&(e=new Un(this)),(e=e.reverse()).__actions__.push({func:da,args:[ta],thisArg:o}),new Wn(e,this.__chain__)}return this.thru(ta)},Hn.prototype.toJSON=Hn.prototype.valueOf=Hn.prototype.value=function(){return pi(this.__wrapped__,this.__actions__)},Hn.prototype.first=Hn.prototype.head,Zt&&(Hn.prototype[Zt]=function(){return this}),Hn}();me._=yn,(i=function(){return yn}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(this,n(62),n(107)(t))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(298),i=(n(1),n(153));function o(){return Object(r.a)()||i.a}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(59),i=n(52);function o(t,e){if(e&&("object"==Object(r.a)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(i.a)(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(275);function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Object(r.a)(t,e)}},function(t,e,n){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(394);t.exports=function(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return M})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return y})),n.d(e,"d",(function(){return N})),n.d(e,"e",(function(){return b})),n.d(e,"f",(function(){return T})),n.d(e,"g",(function(){return B})),n.d(e,"h",(function(){return L}));var r=n(43),i=n(1),o=n.n(i),a=(n(14),n(99)),s=n(362),l=n(104),c=n(4),u=n(363),h=n.n(u),f=(n(612),n(29)),d=n(96),p=n.n(d),g=function(t){var e=Object(s.a)();return e.displayName=t,e},m=g("Router-History"),v=function(t){var e=Object(s.a)();return e.displayName=t,e},b=v("Router"),y=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen((function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t}))),n}Object(r.a)(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},e}(o.a.Component);o.a.Component;var w=function(t){function e(){return t.apply(this,arguments)||this}Object(r.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},e}(o.a.Component);var x={},S=1e4,_=0;function O(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:function(t){if(x[t])return x[t];var e=h.a.compile(t);return _255)return!1;return!0}function r(t,r){if(t.buffer&&"Uint8Array"===t.name)return r&&(t=t.slice?t.slice():Array.prototype.slice.call(t)),t;if(Array.isArray(t)){if(!n(t))throw new Error("Array contains invalid value: "+t);return new Uint8Array(t)}if(e(t.length)&&n(t))return new Uint8Array(t);throw new Error("unsupported array-like object")}function i(t){return new Uint8Array(t)}function o(t,e,n,r,i){null==r&&null==i||(t=t.slice?t.slice(r,i):Array.prototype.slice.call(t,r,i)),e.set(t,n)}var a={toBytes:function(t){var e=[],n=0;for(t=encodeURI(t);n191&&r<224?(e.push(String.fromCharCode((31&r)<<6|63&t[n+1])),n+=2):(e.push(String.fromCharCode((15&r)<<12|(63&t[n+1])<<6|63&t[n+2])),n+=3)}return e.join("")}},s=function(){var t="0123456789abcdef";return{toBytes:function(t){for(var e=[],n=0;n>4]+t[15&i])}return n.join("")}}}(),l={16:10,24:12,32:14},c=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],u=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],h=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],f=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],d=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],p=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],g=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],m=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],v=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],b=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],y=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],w=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],x=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],S=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],_=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function O(t){for(var e=[],n=0;n>2,this._Ke[n][e%4]=o[e],this._Kd[t-n][e%4]=o[e];for(var a,s=0,h=i;h>16&255]<<24^u[a>>8&255]<<16^u[255&a]<<8^u[a>>24&255]^c[s]<<24,s+=1,8!=i)for(e=1;e>8&255]<<8^u[a>>16&255]<<16^u[a>>24&255]<<24;for(e=i/2+1;e>2,d=h%4,this._Ke[f][d]=o[e],this._Kd[t-f][d]=o[e++],h++}for(var f=1;f>24&255]^x[a>>16&255]^S[a>>8&255]^_[255&a]},M.prototype.encrypt=function(t){if(16!=t.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var e=this._Ke.length-1,n=[0,0,0,0],r=O(t),o=0;o<4;o++)r[o]^=this._Ke[0][o];for(var a=1;a>24&255]^d[r[(o+1)%4]>>16&255]^p[r[(o+2)%4]>>8&255]^g[255&r[(o+3)%4]]^this._Ke[a][o];r=n.slice()}var s,l=i(16);for(o=0;o<4;o++)s=this._Ke[e][o],l[4*o]=255&(u[r[o]>>24&255]^s>>24),l[4*o+1]=255&(u[r[(o+1)%4]>>16&255]^s>>16),l[4*o+2]=255&(u[r[(o+2)%4]>>8&255]^s>>8),l[4*o+3]=255&(u[255&r[(o+3)%4]]^s);return l},M.prototype.decrypt=function(t){if(16!=t.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var e=this._Kd.length-1,n=[0,0,0,0],r=O(t),o=0;o<4;o++)r[o]^=this._Kd[0][o];for(var a=1;a>24&255]^v[r[(o+3)%4]>>16&255]^b[r[(o+2)%4]>>8&255]^y[255&r[(o+1)%4]]^this._Kd[a][o];r=n.slice()}var s,l=i(16);for(o=0;o<4;o++)s=this._Kd[e][o],l[4*o]=255&(h[r[o]>>24&255]^s>>24),l[4*o+1]=255&(h[r[(o+3)%4]>>16&255]^s>>16),l[4*o+2]=255&(h[r[(o+2)%4]>>8&255]^s>>8),l[4*o+3]=255&(h[255&r[(o+1)%4]]^s);return l};var k=function(t){if(!(this instanceof k))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new M(t)};k.prototype.encrypt=function(t){if((t=r(t)).length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var e=i(t.length),n=i(16),a=0;aNumber.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var e=15;e>=0;--e)this._counter[e]=t%256,t=parseInt(t/256)},A.prototype.setBytes=function(t){if(16!=(t=r(t,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=t},A.prototype.increment=function(){for(var t=15;t>=0;t--){if(255!==this._counter[t]){this._counter[t]++;break}this._counter[t]=0}};var P=function(t,e){if(!(this instanceof P))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",e instanceof A||(e=new A(e)),this._counter=e,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new M(t)};P.prototype.encrypt=function(t){for(var e=r(t,!0),n=0;n16)throw new Error("PKCS#7 padding byte out of range");for(var n=t.length-e,a=0;a *:first-child":{marginRight:"auto"}}}),_=Object(c.a)(S,{name:"MuiPickersModal"})(x),O="undefined"===typeof window?r.useEffect:r.useLayoutEffect;function M(t,e){var n=e[t.key];n&&(n(),t.preventDefault())}function k(t,e){var n=Object(r.useRef)(e);n.current=e,O((function(){if(t){var e=function(t){M(t,n.current)};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}}),[t])}var E=function(t){var e=t.open,n=t.children,i=t.okLabel,s=t.cancelLabel,l=t.clearLabel,c=t.todayLabel,u=t.showTodayButton,h=t.clearable,f=t.DialogProps,d=t.showTabs,p=t.wider,g=t.InputComponent,m=t.DateInputProps,v=t.onClear,b=t.onAccept,y=t.onDismiss,w=t.onSetToday,x=Object(a.a)(t,["open","children","okLabel","cancelLabel","clearLabel","todayLabel","showTodayButton","clearable","DialogProps","showTabs","wider","InputComponent","DateInputProps","onClear","onAccept","onDismiss","onSetToday"]);return k(e,{Enter:b}),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(g,Object(o.a)({},x,m)),Object(r.createElement)(_,Object(o.a)({wider:p,showTabs:d,open:e,onClear:v,onAccept:b,onDismiss:y,onSetToday:w,clearLabel:l,todayLabel:c,okLabel:i,cancelLabel:s,clearable:h,showTodayButton:u,children:n},f)))};E.defaultProps={okLabel:"OK",cancelLabel:"Cancel",clearLabel:"Clear",todayLabel:"Today",clearable:!1,showTodayButton:!1};var C=function(t){var e=t.open,n=(t.wider,t.children),i=t.PopoverProps,s=(t.onClear,t.onDismiss),l=(t.onSetToday,t.onAccept),c=(t.showTabs,t.DateInputProps),u=t.InputComponent,h=Object(a.a)(t,["open","wider","children","PopoverProps","onClear","onDismiss","onSetToday","onAccept","showTabs","DateInputProps","InputComponent"]),f=Object(r.useRef)();return k(e,{Enter:l}),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(u,Object(o.a)({},h,c,{inputRef:f})),Object(r.createElement)(p.a,Object(o.a)({open:e,onClose:s,anchorEl:f.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:n},i)))};var T=Object(r.createContext)(null),A=function(t){var e=t.variant,n=Object(a.a)(t,["variant"]),i=function(t){switch(t){case"inline":return C;case"static":return w;default:return E}}(e);return Object(r.createElement)(T.Provider,{value:e||"dialog"},Object(r.createElement)(i,n))}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o}));var r=n(9),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(t){return"".concat(Math.round(t),"ms")}e.a={easing:i,duration:o,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.duration,s=void 0===n?o.standard:n,l=e.easing,c=void 0===l?i.easeInOut:l,u=e.delay,h=void 0===u?0:u;Object(r.a)(e,["duration","easing","delay"]);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof s?s:a(s)," ").concat(c," ").concat("string"===typeof h?h:a(h))})).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s}));var r=n(1),i=(n(14),Object(r.createContext)(null)),o=function(t){var e=t.utils,n=t.children,o=t.locale,a=t.libInstance,s=Object(r.useMemo)((function(){return new e({locale:o,instance:a})}),[e,a,o]);return Object(r.createElement)(i.Provider,{value:s,children:n})},a=function(t){if(!t)throw new Error("Can not find utils in context. You either a) forgot to wrap your component tree in MuiPickersUtilsProvider; or b) mixed named and direct file imports. Recommendation: use named imports from the module index.")};function s(){var t=Object(r.useContext)(i);return a(t),t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return y}));var r=n(61),i=n(43),o=n(1),a=n.n(o),s=n(99),l=(n(14),n(4)),c=n(29),u=n(104);a.a.Component;a.a.Component;var h=function(t,e){return"function"===typeof t?t(e):t},f=function(t,e){return"string"===typeof t?Object(s.c)(t,null,null,e):t},d=function(t){return t},p=a.a.forwardRef;"undefined"===typeof p&&(p=d);var g=p((function(t,e){var n=t.innerRef,r=t.navigate,i=t.onClick,o=Object(c.a)(t,["innerRef","navigate","onClick"]),s=o.target,u=Object(l.a)({},o,{onClick:function(t){try{i&&i(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||s&&"_self"!==s||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return u.ref=d!==p&&e||n,a.a.createElement("a",u)}));var m=p((function(t,e){var n=t.component,i=void 0===n?g:n,o=t.replace,s=t.to,m=t.innerRef,v=Object(c.a)(t,["component","replace","to","innerRef"]);return a.a.createElement(r.e.Consumer,null,(function(t){t||Object(u.a)(!1);var n=t.history,r=f(h(s,t.location),t.location),c=r?n.createHref(r):"",g=Object(l.a)({},v,{href:c,navigate:function(){var e=h(s,t.location);(o?n.replace:n.push)(e)}});return d!==p?g.ref=e||m:g.innerRef=m,a.a.createElement(i,g)}))})),v=function(t){return t},b=a.a.forwardRef;"undefined"===typeof b&&(b=v);var y=b((function(t,e){var n=t["aria-current"],i=void 0===n?"page":n,o=t.activeClassName,s=void 0===o?"active":o,d=t.activeStyle,p=t.className,g=t.exact,y=t.isActive,w=t.location,x=t.sensitive,S=t.strict,_=t.style,O=t.to,M=t.innerRef,k=Object(c.a)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.e.Consumer,null,(function(t){t||Object(u.a)(!1);var n=w||t.location,o=f(h(O,n),n),c=o.pathname,E=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),C=E?Object(r.f)(n.pathname,{path:E,exact:g,sensitive:x,strict:S}):null,T=!!(y?y(C,n):C),A=T?function(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:.15;return c(t)>.5?u(t,e):h(t,e)},e.fade=function(t,e){t=s(t),e=i(e),("rgb"===t.type||"hsl"===t.type)&&(t.type+="a");return t.values[3]=e,l(t)},e.darken=u,e.lighten=h;var r=n(37);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),n)}function o(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map((function(t){return t+t}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}function a(t){var e=(t=s(t)).values,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return i-o*Math.max(Math.min(e-3,9-e,1),-1)},c="rgb",u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===t.type&&(c+="a",u.push(e[3])),l({type:c,values:u})}function s(t){if(t.type)return t;if("#"===t.charAt(0))return s(o(t));var e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.formatMuiErrorMessage)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:n,values:i=i.map((function(t){return parseFloat(t)}))}}function l(t){var e=t.type,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e,"(").concat(n.join(", "),")")}function c(t){var e="hsl"===(t=s(t)).type?s(a(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function u(t,e){if(t=s(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]*=1-e;return l(t)}function h(t,e){if(t=s(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;return l(t)}},function(t,e,n){t.exports=n(669)},function(t,e,n){var r,i;!function(o){if(void 0===(i="function"===typeof(r=o)?r.call(e,n,e,t):r)||(t.exports=i),t.exports=o(),!!0){var a=window.Cookies,s=window.Cookies=o();s.noConflict=function(){return window.Cookies=a,s}}}((function(){function t(){for(var t=0,e={};t"@media (min-width:".concat(r[t],"px)")};function o(t,e,n){const o=t.theme||{};if(Array.isArray(e)){const t=o.breakpoints||i;return e.reduce(((r,i,o)=>(r[t.up(t.keys[o])]=n(e[o]),r)),{})}if("object"===typeof e){const t=o.breakpoints||i;return Object.keys(e).reduce(((i,o)=>{if(-1!==Object.keys(t.values||r).indexOf(o)){i[t.up(o)]=n(e[o],o)}else{const t=o;i[t]=e[t]}return i}),{})}return n(e)}function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var e;return(null==(e=t.keys)?void 0:e.reduce(((e,n)=>(e[t.up(n)]={},e)),{}))||{}}function s(t,e){return t.reduce(((t,e)=>{const n=t[e];return(!n||0===Object.keys(n).length)&&delete t[e],t}),e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return x})),n.d(e,"d",(function(){return w}));var r,i=n(1),o=(n(14),n(2)),a=n(299),s=n(18),l=n(50),c=n(32),u=n(57),h=n(48),f=n(58);!function(t){t.HOURS="hours",t.MINUTES="minutes",t.SECONDS="seconds"}(r||(r={}));var d=r,p=function(t){function e(){var t,n;Object(l.a)(this,e);for(var r=arguments.length,i=new Array(r),o=0;o12&&(o-=360),{height:r?"26%":"40%",transform:"rotateZ(".concat(o,"deg)")}},n}return Object(f.a)(e,t),Object(c.a)(e,[{key:"render",value:function(){var t=this.props,e=t.classes,n=t.hasSelected;return Object(i.createElement)("div",{style:this.getAngleStyle(),className:Object(o.a)(e.pointer,this.state.toAnimateTransform&&e.animateTransform)},Object(i.createElement)("div",{className:Object(o.a)(e.thumb,n&&e.noPoint)}))}}]),e}(i.Component);p.getDerivedStateFromProps=function(t,e){return t.type!==e.previousType?{toAnimateTransform:!0,previousType:t.type}:{toAnimateTransform:!1,previousType:t.type}};var g=Object(s.a)((function(t){return Object(a.a)({pointer:{width:2,backgroundColor:t.palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},animateTransform:{transition:t.transitions.create(["transform","height"])},thumb:{width:4,height:4,backgroundColor:t.palette.primary.contrastText,borderRadius:"100%",position:"absolute",top:-21,left:-15,border:"14px solid ".concat(t.palette.primary.main),boxSizing:"content-box"},noPoint:{backgroundColor:t.palette.primary.main}})}),{name:"MuiPickersClockPointer"})(p),m={x:130,y:130},v=m.x-m.x,b=0-m.y,y=function(t,e,n){var r=e-m.x,i=n-m.y,o=Math.atan2(v,b)-Math.atan2(r,i),a=57.29577951308232*o;a=Math.round(a/t)*t,a%=360;var s=Math.floor(a/t)||0,l=Math.pow(r,2)+Math.pow(i,2);return{value:s,distance:Math.sqrt(l)}},w=function(t,e){return e.getHours(t)>=12?"pm":"am"},x=function(t,e,n,r){if(n&&(r.getHours(t)>=12?"pm":"am")!==e){var i="am"===e?r.getHours(t)-12:r.getHours(t)+12;return r.setHours(t,i)}return t},S=function(t){function e(){var t,n;Object(l.a)(this,e);for(var r=arguments.length,i=new Array(r),o=0;o1&&void 0!==arguments[1]&&arguments[1],n=t.offsetX,r=t.offsetY;if("undefined"===typeof n){var i=t.target.getBoundingClientRect();n=t.changedTouches[0].clientX-i.left,r=t.changedTouches[0].clientY-i.top}var o=this.props.type===d.SECONDS||this.props.type===d.MINUTES?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=y(6*n,t,e).value;return r*n%60}(n,r,this.props.minutesStep):function(t,e,n){var r=y(30,t,e),i=r.value,o=r.distance;return i=i||12,n?i%=12:o<90&&(i+=12,i%=24),i}(n,r,Boolean(this.props.ampm));this.props.onChange(o,e)}},{key:"render",value:function(){var t=this.props,e=t.classes,n=t.value,r=t.children,o=t.type,a=!t.ampm&&o===d.HOURS&&(n<1||n>12);return Object(i.createElement)("div",{className:e.container},Object(i.createElement)("div",{className:e.clock},Object(i.createElement)("div",{role:"menu",tabIndex:-1,className:e.squareMask,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,onMouseUp:this.handleMouseUp,onMouseMove:this.handleMove}),Object(i.createElement)("div",{className:e.pin}),Object(i.createElement)(g,{type:o,value:n,isInner:a,hasSelected:this.hasSelected()}),r))}}]),e}(i.Component);S.defaultProps={ampm:!1,minutesStep:1};var _=Object(s.a)((function(t){return Object(a.a)({container:{display:"flex",justifyContent:"center",alignItems:"flex-end",margin:"".concat(t.spacing(2),"px 0 ").concat(t.spacing(1),"px")},clock:{backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:260,width:260,position:"relative",pointerEvents:"none"},squareMask:{width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:"none",touchActions:"none",userSelect:"none","&:active":{cursor:"move"}},pin:{width:6,height:6,borderRadius:"50%",backgroundColor:t.palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})}),{name:"MuiPickersClock"})(S)},,function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return g})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return f}));var r=n(1),i=n(202),o=(n(4),n(225),n(359),n(98)),a=n(143),s=n(142),l=!0,c={}.hasOwnProperty,u=r.createContext("undefined"!==typeof HTMLElement?Object(i.a)({key:"css"}):null);var h=u.Provider,f=function(t){return Object(r.forwardRef)((function(e,n){var i=Object(r.useContext)(u);return t(e,i,n)}))};l||(f=function(t){return function(e){var n=Object(r.useContext)(u);return null===n?(n=Object(i.a)({key:"css"}),r.createElement(u.Provider,{value:n},t(e,n))):t(e,n)}});var d=r.createContext({});var p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",g=function(t,e){var n={};for(var r in e)c.call(e,r)&&(n[r]=e[r]);return n[p]=t,n},m=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return Object(o.c)(e,n,r),Object(s.a)((function(){return Object(o.b)(e,n,r)})),null};var v=f((function(t,e,n){var i=t.css;"string"===typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var s=t[p],l=[i],u="";"string"===typeof t.className?u=Object(o.a)(e.registered,l,t.className):null!=t.className&&(u=t.className+" ");var h=Object(a.a)(l,void 0,r.useContext(d));u+=e.key+"-"+h.name;var f={};for(var g in t)c.call(t,g)&&"css"!==g&&g!==p&&(f[g]=t[g]);return f.ref=n,f.className=u,r.createElement(r.Fragment,null,r.createElement(m,{cache:e,serialized:h,isStringTag:"string"===typeof s}),r.createElement(s,f))}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),i=n.n(r).a.createContext(null)},function(t,e,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return y})),n.d(e,"c",(function(){return v}));var r=n(9),i=n(3),o=n(1),a=n.n(o),s=n(35);const l=["height","width","redraw","datasetIdKey","type","data","options","plugins","fallbackContent","updateMode"],c="label";function u(t,e){"function"===typeof t?t(e):t&&(t.current=e)}function h(t,e){t.labels=e}function f(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;const r=[];t.datasets=e.map((e=>{const o=t.datasets.find((t=>t[n]===e[n]));return o&&e.data&&!r.includes(o)?(r.push(o),Object.assign(o,e),o):Object(i.a)({},e)}))}function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;const n={labels:[],datasets:[]};return h(n,t.labels),f(n,t.datasets,e),n}function p(t,e){const{height:n=150,width:c=300,redraw:p=!1,datasetIdKey:g,type:m,data:v,options:b,plugins:y=[],fallbackContent:w,updateMode:x}=t,S=Object(r.a)(t,l),_=Object(o.useRef)(null),O=Object(o.useRef)(),M=()=>{_.current&&(O.current=new s.f(_.current,{type:m,data:d(v,g),options:b&&Object(i.a)({},b),plugins:y}),u(e,O.current))},k=()=>{u(e,null),O.current&&(O.current.destroy(),O.current=null)};return Object(o.useEffect)((()=>{!p&&O.current&&b&&function(t,e){const n=t.options;n&&e&&Object.assign(n,e)}(O.current,b)}),[p,b]),Object(o.useEffect)((()=>{!p&&O.current&&h(O.current.config.data,v.labels)}),[p,v.labels]),Object(o.useEffect)((()=>{!p&&O.current&&v.datasets&&f(O.current.config.data,v.datasets,g)}),[p,v.datasets]),Object(o.useEffect)((()=>{O.current&&(p?(k(),setTimeout(M)):O.current.update(x))}),[p,b,v.labels,v.datasets,x]),Object(o.useEffect)((()=>{O.current&&(k(),setTimeout(M))}),[m]),Object(o.useEffect)((()=>(M(),()=>k())),[]),a.a.createElement("canvas",Object.assign({ref:_,role:"img",height:n,width:c},S),w)}const g=Object(o.forwardRef)(p);function m(t,e){return s.f.register(e),Object(o.forwardRef)(((e,n)=>a.a.createElement(g,Object.assign({},e,{ref:n,type:t}))))}const v=m("line",s.j),b=m("bar",s.b),y=(s.p,m("doughnut",s.g));s.o,s.d,s.m,s.q},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var r=function(t){return t.scrollTop};function i(t,e){var n=t.timeout,r=t.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"===typeof n?n:n[e.mode]||0,delay:i.transitionDelay}}},function(t,e,n){"use strict";(function(t){var r=n(691),i=n(692),o=n(693);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(l.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function g(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,e,n);case"utf8":case"utf-8":return k(this,e,n);case"ascii":return C(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return M(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,i);if("number"===typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var u=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var h=!0,f=0;fi&&(r=i):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function M(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function k(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:128===(192&(o=t[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(t){var e=t.length;if(e<=E)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),c=this.slice(r,i),u=t.slice(e,n),h=0;hi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return w(this,t,e,n);case"ascii":return x(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return _(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function C(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function j(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function R(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function D(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function N(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(t,e,n,r,o){return o||N(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||N(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||j(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):R(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):R(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):D(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);j(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):R(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):R(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):D(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return L(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return L(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function V(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function W(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(62))},function(t,e,n){"use strict";n.d(e,"b",(function(){return K}));var r=n(545),i=n.n(r),o=n(14),a=n.n(o),s=n(1),l=n.n(s),c=n(546),u=n.n(c),h=n(547),f=n.n(h),d=n(548),p=n.n(d);function g(){return g=Object.assign||function(t){for(var e=1;e()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i,F=/^(?:[-+]?(?:\d+))?(?:\.\d*)?(?:[eE][+-]?(?:\d+))?$/,B=/^(?:[-+]?(?:0|[1-9]\d*))$/,H=/^[-+]?(?:\d*[.])?\d+$/,z=/^[\sA-Z\xc0-\xd6\xd8-\xf6\xf8-\xff]+$/i,V=/^(?:\w+:)?\/\/([^\s.]+\.\S{2}|localhost[:?\d]*)\S*$/i,W=/^[A-Z\s]+$/i,U={equals:function(t,e,n){return!P(e)||I(e)||e===n},equalsField:function(t,e,n){return e===t[n]},isAlpha:function(t,e){return R(0,e,D)},isAlphanumeric:function(t,e){return R(0,e,N)},isDefaultRequiredValue:function(t,e){return j(e)},isEmail:function(t,e){return R(0,e,L)},isEmptyString:function(t,e){return I(e)},isExisty:function(t,e){return P(e)},isFalse:function(t,e){return!1===e},isFloat:function(t,e){return R(0,e,F)},isInt:function(t,e){return R(0,e,B)},isLength:function(t,e,n){return!P(e)||I(e)||e.length===n},isNumeric:function(t,e){return function(t){return"number"===typeof t}(e)||R(0,e,H)},isSpecialWords:function(t,e){return R(0,e,z)},isTrue:function(t,e){return!0===e},isUndefined:function(t,e){return k(e)},isUrl:function(t,e){return R(0,e,V)},isWords:function(t,e){return R(0,e,W)},matchRegexp:R,maxLength:function(t,e,n){return!P(e)||e.length<=n},minLength:function(t,e,n){return!P(e)||I(e)||e.length>=n}},Y=function(){throw new Error("Could not find Formsy Context Provider. Did you use withFormsy outside ?")},G={attachToForm:Y,detachFromForm:Y,isFormDisabled:!0,isValidValue:Y,validate:Y,runValidation:Y},X=l.a.createContext(G),q=function(t){return S(t)?t.split(/,(?![^{[]*[}\]])/g).reduce((function(t,e){var n=e.split(":"),r=n.shift();if((n=n.map((function(t){try{return JSON.parse(t)}catch(e){return t}}))).length>1)throw new Error("Formsy does not support multiple args on string validations. Use object format of validations instead.");var i=g({},t);return i[r]=!n.length||n[0],i}),{}):t||{}},$={innerRef:a.a.func,name:a.a.string.isRequired,required:a.a.oneOfType([a.a.bool,a.a.object,a.a.string]),validations:a.a.oneOfType([a.a.object,a.a.string]),value:a.a.any};function K(t){var e,n=function(e){function n(t){var n;(n=e.call(this,t)||this).getErrorMessage=function(){var t=n.getErrorMessages();return t.length?t[0]:null},n.getErrorMessages=function(){var t=n.state.validationError;return(!n.isValid()||n.showRequired())&&t||[]},n.getValue=function(){return n.state.value},n.setValidations=function(t,e){n.validations=q(t)||{},n.requiredValidations=!0===e?{isDefaultRequiredValue:e}:q(e)},n.setValue=function(t,e){void 0===e&&(e=!0);var r=n.props.validate;e?n.setState({value:t,isPristine:!1},(function(){r(v(n))})):n.setState({value:t})},n.hasValue=function(){return j(n.state.value)},n.isFormDisabled=function(){return n.props.isFormDisabled},n.isFormSubmitted=function(){return n.state.formSubmitted},n.isPristine=function(){return n.state.isPristine},n.isRequired=function(){return!!n.props.required},n.isValid=function(){return n.state.isValid},n.isValidValue=function(t){return n.props.isValidValue(v(n),t)},n.resetValue=function(){var t=n.state.pristineValue,e=n.props.validate;n.setState({value:t,isPristine:!0},(function(){e(v(n))}))},n.showError=function(){return!n.showRequired()&&!n.isValid()},n.showRequired=function(){return n.state.isRequired};var r=t.runValidation,i=t.validations,o=t.required,a=t.value;return n.state={value:a},n.setValidations(i,o),n.state=g({formSubmitted:!1,isPristine:!0,pristineValue:t.value,value:t.value},r(v(n),t.value)),n}m(n,e);var r=n.prototype;return r.componentDidMount=function(){var t=this.props,e=t.name,n=t.attachToForm;if(!e)throw new Error("Form Input requires a name property when used");n(this)},r.shouldComponentUpdate=function(t,e){var n=this.props,r=this.state,i=function(t,e){return Object.keys(t).some((function(n){return t[n]!==e[n]}))},o=i(n,t),a=i(r,e);return o||a},r.componentDidUpdate=function(t){var e=this.props,n=e.value,r=e.validations,i=e.required,o=e.validate;T(n,t.value)||this.setValue(n),T(r,t.validations)&&T(i,t.required)||(this.setValidations(r,i),o(this))},r.componentWillUnmount=function(){(0,this.props.detachFromForm)(this)},r.render=function(){var e=this.props.innerRef,n=g({},this.props,{errorMessage:this.getErrorMessage(),errorMessages:this.getErrorMessages(),hasValue:this.hasValue(),isFormDisabled:this.isFormDisabled(),isFormSubmitted:this.isFormSubmitted(),isPristine:this.isPristine(),isRequired:this.isRequired(),isValid:this.isValid(),isValidValue:this.isValidValue,resetValue:this.resetValue,setValidations:this.setValidations,setValue:this.setValue,showError:this.showError(),showRequired:this.showRequired(),value:this.getValue()});return e&&(n.ref=e),l.a.createElement(t,n)},n}(l.a.Component);return n.displayName="Formsy("+(((e=t).displayName||e.name||(S(e)?e:"Component"))+")"),n.propTypes=$,n.defaultProps={innerRef:null,required:!1,validationError:"",validationErrors:{},validations:null,value:t.defaultValue},function(t){return l.a.createElement(X.Consumer,null,(function(e){return l.a.createElement(n,g({},t,e))}))}}var Z=function(t){function e(e){var n;return(n=t.call(this,e)||this).prevInputNames=null,n.componentDidMount=function(){n.prevInputNames=n.inputs.map((function(t){return t.props.name})),n.validateForm()},n.componentDidUpdate=function(t){var e=n.props,r=e.validationErrors,i=e.disabled;r&&y(r)&&Object.keys(r).length>0&&n.setInputValidationErrors(r);var o=n.inputs.map((function(t){return t.props.name}));n.prevInputNames&&!T(n.prevInputNames,o)&&(n.prevInputNames=o,n.validateForm()),i!==t.disabled&&n.setState((function(t){return g({},t,{contextValue:g({},t.contextValue,{isFormDisabled:i})})}))},n.getCurrentValues=function(){return n.inputs.reduce((function(t,e){var n=e.props.name,r=e.state.value;return t[n]=C(r),t}),{})},n.getModel=function(){var t=n.getCurrentValues();return n.mapModel(t)},n.getPristineValues=function(){return n.inputs.reduce((function(t,e){var n=e.props,r=n.name,i=n.value;return t[r]=C(i),t}),{})},n.setFormPristine=function(t){n.setState({formSubmitted:!t}),n.inputs.forEach((function(e){e.setState({formSubmitted:!t,isPristine:t})}))},n.setInputValidationErrors=function(t){var e=n.props.preventExternalInvalidation,r=n.state.isValid;n.inputs.forEach((function(e){var n=e.props.name;e.setState({isValid:!(n in t),validationError:S(t[n])?[t[n]]:t[n]})})),!e&&r&&n.setFormValidState(!1)},n.setFormValidState=function(t){var e=n.props,r=e.onValid,i=e.onInvalid;n.setState({isValid:t}),t?r():i()},n.isValidValue=function(t,e){return n.runValidation(t,e).isValid},n.isFormDisabled=function(){return n.props.disabled},n.mapModel=function(t){var e=n.props.mapping;if(e)return e(t);var r={};return Object.keys(t).forEach((function(e){p()(r,e,t[e])})),r},n.reset=function(t){n.setFormPristine(!0),n.resetModel(t)},n.resetInternal=function(t){var e=n.props.onReset;t.preventDefault(),n.reset(),e&&e()},n.resetModel=function(t){n.inputs.forEach((function(e){var n=e.props.name;t&&f()(t,n)?e.setValue(u()(t,n)):e.resetValue()})),n.validateForm()},n.runValidation=function(t,e){void 0===e&&(e=t.state.value);var r=n.props.validationErrors,i=t.props,o=i.validationError,a=i.validationErrors,s=i.name,l=n.getCurrentValues(),c=A(e,l,t.validations,U),u=A(e,l,t.requiredValidations,U),h=!!Object.keys(t.requiredValidations).length&&!!u.success.length,f=!c.failed.length&&!(r&&r[t.props.name]);return{isRequired:h,isValid:!h&&f,validationError:function(){if(f&&!h)return n.emptyArray;if(c.errors.length)return c.errors;if(r&&r[s])return S(r[s])?[r[s]]:r[s];if(h){var t=a[u.success[0]]||o;return t?[t]:null}return c.failed.length?c.failed.map((function(t){return a[t]?a[t]:o})).filter((function(t,e,n){return n.indexOf(t)===e})):void 0}()}},n.attachToForm=function(t){-1===n.inputs.indexOf(t)&&n.inputs.push(t);var e=n.props.onChange;n.state.canChange&&e(n.getModel(),n.isChanged()),n.throttledValidateForm()},n.detachFromForm=function(t){var e=n.inputs.indexOf(t);-1!==e&&(n.inputs=n.inputs.slice(0,e).concat(n.inputs.slice(e+1))),n.validateForm()},n.isChanged=function(){return!T(n.getPristineValues(),n.getCurrentValues())},n.submit=function(t){var e=n.props,r=e.onSubmit,i=e.onValidSubmit,o=e.onInvalidSubmit,a=e.preventDefaultSubmit,s=n.state.isValid;a&&t&&t.preventDefault&&t.preventDefault(),n.setFormPristine(!1);var l=n.getModel();r(l,n.resetModel,n.updateInputsWithError,t),s?i(l,n.resetModel,n.updateInputsWithError,t):o(l,n.resetModel,n.updateInputsWithError,t)},n.updateInputsWithError=function(t,e){var r=n.props.preventExternalInvalidation,i=n.state.isValid;Object.entries(t).forEach((function(e){var i=e[0],o=e[1],a=n.inputs.find((function(t){return t.props.name===i}));if(!a)throw new Error("You are trying to update an input that does not exist. Verify errors object with input names. "+JSON.stringify(t));a.setState({isValid:r,validationError:S(o)?[o]:o})})),e&&i&&n.setFormValidState(!1)},n.updateInputsWithValue=function(t,e){Object.entries(t).forEach((function(t){var r=t[0],i=t[1],o=n.inputs.find((function(t){return t.props.name===r}));o&&o.setValue(i,e)}))},n.validate=function(t){var e=n.props.onChange;n.state.canChange&&e(n.getModel(),n.isChanged());var r=n.runValidation(t);t.setState(r,n.validateForm)},n.validateForm=function(){var t=function(){var t=n.inputs.every((function(t){return t.state.isValid}));n.setFormValidState(t),n.setState({canChange:!0})};n.inputs.forEach((function(e,r){var i=n.runValidation(e),o=r===n.inputs.length-1?t:null;e.setState(i,o)})),n.inputs.length||n.setState({canChange:!0},t)},n.state={canChange:!1,isSubmitting:!1,isValid:!0,contextValue:{attachToForm:n.attachToForm,detachFromForm:n.detachFromForm,isFormDisabled:e.disabled,isValidValue:n.isValidValue,validate:n.validate,runValidation:n.runValidation}},n.inputs=[],n.emptyArray=[],n.throttledValidateForm=function(t,e){var n=!0;return function(){if(n){n=!1;for(var r=arguments.length,i=new Array(r),o=0;o=0||(i[n]=t[n]);return i}(t,["children","mapping","onChange","onInvalid","onInvalidSubmit","onReset","onSubmit","onValid","onValidSubmit","preventDefaultSubmit","preventExternalInvalidation","validationErrors"]),r=this.state.contextValue;return l.a.createElement(X.Provider,{value:r},l.a.createElement("form",g({onReset:this.resetInternal,onSubmit:this.submit},n,{disabled:!1}),e))},e}(l.a.Component);Z.displayName="Formsy",Z.propTypes={disabled:a.a.bool,mapping:a.a.func,onChange:a.a.func,onInvalid:a.a.func,onInvalidSubmit:a.a.func,onReset:a.a.func,onSubmit:a.a.func,onValid:a.a.func,onValidSubmit:a.a.func,preventDefaultSubmit:a.a.bool,preventExternalInvalidation:a.a.bool,validationErrors:a.a.object},Z.defaultProps={disabled:!1,mapping:null,onChange:E,onInvalid:E,onInvalidSubmit:E,onReset:E,onSubmit:E,onValid:E,onValidSubmit:E,preventDefaultSubmit:!0,preventExternalInvalidation:!1,validationErrors:{}},e.a=Z},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(230);var i=n(507),o=n(279);function a(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||Object(i.a)(t)||Object(o.a)(t)||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.")}()}},function(t,e,n){"use strict";var r=n(233),i=n.n(r),o=n(200),a=n(199),s=n(272);const l=i()({themeId:a.a,defaultTheme:o.a,rootShouldForwardProp:s.a});e.a=l},,,,,function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var l,c=[],u=!1,h=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&d())}function d(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++h1)for(var n=1;n=0;f--){var d=a[f];"."===d?o(a,f):".."===d?(o(a,f),h++):h&&(o(a,f),h--)}if(!c)for(;h--;h)a.unshift("..");!c||""===a[0]||a[0]&&i(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function s(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}var l=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));if("object"===typeof e||"object"===typeof n){var r=s(e),i=s(n);return r!==e||i!==n?t(r,i):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1},c=n(104);function u(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function f(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}function d(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function p(t){var e=t.pathname,n=t.search,r=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function g(t,e,n,i){var o;"string"===typeof t?(o=function(t){var e=t||"/",n="",r="",i=e.indexOf("#");-1!==i&&(r=e.substr(i),e=e.substr(0,i));var o=e.indexOf("?");return-1!==o&&(n=e.substr(o),e=e.substr(0,o)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t),o.state=e):(void 0===(o=Object(r.a)({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function m(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&l(t.state,e.state)}function v(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,i){if(null!=t){var o="function"===typeof t?t(e,n):t;"string"===typeof o?"function"===typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;re?n.splice(e,n.length-e,i):n.push(i),h({action:r,location:i,index:e,entries:n})}}))},replace:function(t,e){var r="REPLACE",i=g(t,e,f(),w.location);u.confirmTransitionTo(i,r,n,(function(t){t&&(w.entries[w.index]=i,h({action:r,location:i}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(t){var e=w.index+t;return e>=0&&e1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};Object(a.a)(this,t),this.init(e,n)}return Object(s.a)(t,[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||f,this.options=e,this.debug=e.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n1?e-1:0),r=1;r-1?t.replace(/###/g,"."):t}function i(){return!t||"string"===typeof t}for(var o="string"!==typeof e?[].concat(e):e.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!t[a]&&n&&(t[a]=new n),t=t[a]}return i()?{}:{obj:t,k:r(o.shift())}}function y(t,e,n){var r=b(t,e,Object);r.obj[r.k]=n}function w(t,e){var n=b(t,e),r=n.obj,i=n.k;if(r)return r[i]}function x(t,e,n){var r=w(t,n);return void 0!==r?r:w(e,n)}function S(t,e,n){for(var r in e)"__proto__"!==r&&"constructor"!==r&&(r in t?"string"===typeof t[r]||t[r]instanceof String||"string"===typeof e[r]||e[r]instanceof String?n&&(t[r]=e[r]):S(t[r],e[r],n):t[r]=e[r]);return t}function _(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var O={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function M(t){return"string"===typeof t?t.replace(/[&<>"'\/]/g,(function(t){return O[t]})):t}var k="undefined"!==typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,E=function(t){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Object(a.a)(this,e),n=Object(l.a)(this,Object(c.a)(e).call(this)),k&&g.call(Object(u.a)(n)),n.data=t||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n}return Object(h.a)(e,t),Object(s.a)(e,[{key:"addNamespaces",value:function(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}},{key:"removeNamespaces",value:function(t){var e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}},{key:"getResource",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=[t,e];return n&&"string"!==typeof n&&(o=o.concat(n)),n&&"string"===typeof n&&(o=o.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(o=t.split(".")),w(this.data,o)}},{key:"addResource",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[t,e];n&&(a=a.concat(o?n.split(o):n)),t.indexOf(".")>-1&&(r=e,e=(a=t.split("."))[1]),this.addNamespaces(e),y(this.data,a,r),i.silent||this.emit("added",t,e,n,r)}},{key:"addResources",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!==typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(t,e,i,n[i],{silent:!0});r.silent||this.emit("added",t,e,n)}},{key:"addResourceBundle",value:function(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[t,e];t.indexOf(".")>-1&&(r=n,n=e,e=(s=t.split("."))[1]),this.addNamespaces(e);var l=w(this.data,s)||{};r?S(l,n,i):l=o({},l,n),y(this.data,s,l),a.silent||this.emit("added",t,e,n)}},{key:"removeResourceBundle",value:function(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}},{key:"hasResourceBundle",value:function(t,e){return void 0!==this.getResource(t,e)}},{key:"getResourceBundle",value:function(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?o({},{},this.getResource(t,e)):this.getResource(t,e)}},{key:"getDataByLanguage",value:function(t){return this.data[t]}},{key:"toJSON",value:function(){return this.data}}]),e}(g),C={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,e,n,r,i){var o=this;return t.forEach((function(t){o.processors[t]&&(e=o.processors[t].process(e,n,r,i))})),e}},T={},A=function(t){function e(t){var n,r,i,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(a.a)(this,e),n=Object(l.a)(this,Object(c.a)(e).call(this)),k&&g.call(Object(u.a)(n)),r=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i=t,o=Object(u.a)(n),r.forEach((function(t){i[t]&&(o[t]=i[t])})),n.options=s,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=p.create("translator"),n}return Object(h.a)(e,t),Object(s.a)(e,[{key:"changeLanguage",value:function(t){t&&(this.language=t)}},{key:"exists",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(t,e);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(t,e){var n=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,i=e.ns||this.options.defaultNS;if(n&&t.indexOf(n)>-1){var o=t.match(this.interpolator.nestingRegexp);if(o&&o.length>0)return{key:t,namespaces:i};var a=t.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),t=a.join(r)}return"string"===typeof i&&(i=[i]),{key:t,namespaces:i}}},{key:"translate",value:function(t,e,n){var i=this;if("object"!==Object(r.a)(e)&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),e||(e={}),void 0===t||null===t)return"";Array.isArray(t)||(t=[String(t)]);var a=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,s=this.extractFromKey(t[t.length-1],e),l=s.key,c=s.namespaces,u=c[c.length-1],h=e.lng||this.language,f=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h&&"cimode"===h.toLowerCase()){if(f){var d=e.nsSeparator||this.options.nsSeparator;return u+d+l}return l}var p=this.resolve(t,e),g=p&&p.res,m=p&&p.usedKey||l,v=p&&p.exactUsedKey||l,b=Object.prototype.toString.apply(g),y=void 0!==e.joinArrays?e.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&g&&("string"!==typeof g&&"boolean"!==typeof g&&"number"!==typeof g)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!==typeof y||"[object Array]"!==b)){if(!e.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,g,e):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(a){var x="[object Array]"===b,S=x?[]:{},_=x?v:m;for(var O in g)if(Object.prototype.hasOwnProperty.call(g,O)){var M="".concat(_).concat(a).concat(O);S[O]=this.translate(M,o({},e,{joinArrays:!1,ns:c})),S[O]===M&&(S[O]=g[O])}g=S}}else if(w&&"string"===typeof y&&"[object Array]"===b)(g=g.join(y))&&(g=this.extendTranslation(g,t,e,n));else{var k=!1,E=!1;if(!this.isValidLookup(g)&&void 0!==e.defaultValue){if(k=!0,void 0!==e.count){var C=this.pluralResolver.getSuffix(h,e.count);g=e["defaultValue".concat(C)]}g||(g=e.defaultValue)}this.isValidLookup(g)||(E=!0,g=l);var T=e.defaultValue&&e.defaultValue!==g&&this.options.updateMissing;if(E||k||T){if(this.logger.log(T?"updateKey":"missingKey",h,u,l,T?e.defaultValue:g),a){var A=this.resolve(l,o({},e,{keySeparator:!1}));A&&A.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var P=[],I=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if("fallback"===this.options.saveMissingTo&&I&&I[0])for(var j=0;j1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof t&&(t=[t]),t.forEach((function(t){if(!a.isValidLookup(e)){var l=a.extractFromKey(t,s),c=l.key;n=c;var u=l.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var h=void 0!==s.count&&"string"!==typeof s.count,f=void 0!==s.context&&"string"===typeof s.context&&""!==s.context,d=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach((function(t){a.isValidLookup(e)||(o=t,!T["".concat(d[0],"-").concat(t)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(T["".concat(d[0],"-").concat(t)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(d.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach((function(n){if(!a.isValidLookup(e)){i=n;var o,l,u=c,d=[u];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(d,c,n,t,s);else h&&(o=a.pluralResolver.getSuffix(n,s.count)),h&&f&&d.push(u+o),f&&d.push(u+="".concat(a.options.contextSeparator).concat(s.context)),h&&d.push(u+=o);for(;l=d.pop();)a.isValidLookup(e)||(r=l,e=a.getResource(n,t,l,s))}})))}))}})),{res:e,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(t){return void 0!==t&&!(!this.options.returnNull&&null===t)&&!(!this.options.returnEmptyString&&""===t)}},{key:"getResource",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,r):this.resourceStore.getResource(t,e,n,r)}}]),e}(g);function P(t){return t.charAt(0).toUpperCase()+t.slice(1)}var I=function(){function t(e){Object(a.a)(this,t),this.options=e,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=p.create("languageUtils")}return Object(s.a)(t,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var e=t.split("-");return this.formatLanguageCode(e[0])}},{key:"formatLanguageCode",value:function(t){if("string"===typeof t&&t.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map((function(t){return t.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=P(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=P(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=P(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isWhitelisted",value:function(t){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(t)}},{key:"isSupportedCode",value:function(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var e,n=this;return t?(t.forEach((function(t){if(!e){var r=n.formatLanguageCode(t);n.options.supportedLngs&&!n.isSupportedCode(r)||(e=r)}})),!e&&this.options.supportedLngs&&t.forEach((function(t){if(!e){var r=n.getLanguagePartFromCode(t);if(n.isSupportedCode(r))return e=r;e=n.options.supportedLngs.find((function(t){if(0===t.indexOf(r))return t}))}})),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e):null}},{key:"getFallbackCodes",value:function(t,e){if(!t)return[];if("function"===typeof t&&(t=t(e)),"string"===typeof t&&(t=[t]),"[object Array]"===Object.prototype.toString.apply(t))return t;if(!e)return t.default||[];var n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}},{key:"toResolveHierarchy",value:function(t,e){var n=this,r=this.getFallbackCodes(e||this.options.fallbackLng||[],t),i=[],o=function(t){t&&(n.isSupportedCode(t)?i.push(t):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(t)))};return"string"===typeof t&&t.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):"string"===typeof t&&o(this.formatLanguageCode(t)),r.forEach((function(t){i.indexOf(t)<0&&o(n.formatLanguageCode(t))})),i}}]),t}(),j=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],R={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0==t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)}};var D=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(a.a)(this,t),this.languageUtils=e,this.options=n,this.logger=p.create("pluralResolver"),this.rules=function(){var t={};return j.forEach((function(e){e.lngs.forEach((function(n){t[n]={numbers:e.nr,plurals:R[e.fc]}}))})),t}()}return Object(s.a)(t,[{key:"addRule",value:function(t,e){this.rules[t]=e}},{key:"getRule",value:function(t){return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var e=this.getRule(t);return e&&e.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,e){var n=this,r=[],i=this.getRule(t);return i?(i.numbers.forEach((function(i){var o=n.getSuffix(t,i);r.push("".concat(e).concat(o))})),r):r}},{key:"getSuffix",value:function(t,e){var n=this,r=this.getRule(t);if(r){var i=r.noAbs?r.plurals(e):r.plurals(Math.abs(e)),o=r.numbers[i];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"===typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(t)),""}}]),t}(),N=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(this,t),this.logger=p.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(t){return t},this.init(e)}return Object(s.a)(t,[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var e=t.interpolation;this.escape=void 0!==e.escape?e.escape:M,this.escapeValue=void 0===e.escapeValue||e.escapeValue,this.useRawValueToEscape=void 0!==e.useRawValueToEscape&&e.useRawValueToEscape,this.prefix=e.prefix?_(e.prefix):e.prefixEscaped||"{{",this.suffix=e.suffix?_(e.suffix):e.suffixEscaped||"}}",this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||",",this.unescapePrefix=e.unescapeSuffix?"":e.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":e.unescapeSuffix||"",this.nestingPrefix=e.nestingPrefix?_(e.nestingPrefix):e.nestingPrefixEscaped||_("$t("),this.nestingSuffix=e.nestingSuffix?_(e.nestingSuffix):e.nestingSuffixEscaped||_(")"),this.nestingOptionsSeparator=e.nestingOptionsSeparator?e.nestingOptionsSeparator:e.nestingOptionsSeparator||",",this.maxReplaces=e.maxReplaces?e.maxReplaces:1e3,this.alwaysFormat=void 0!==e.alwaysFormat&&e.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var e="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(e,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(t,e,n,r){var i,o,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(t){return t.replace(/\$/g,"$$$$")}var u=function(t){if(t.indexOf(s.formatSeparator)<0){var i=x(e,l,t);return s.alwaysFormat?s.format(i,void 0,n):i}var o=t.split(s.formatSeparator),a=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(x(e,l,a),c,n,r)};this.resetRegExp();var h=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(t){return c(t)}},{regex:this.regexp,safeValue:function(t){return s.escapeValue?c(s.escape(t)):c(t)}}].forEach((function(e){for(a=0;i=e.regex.exec(t);){if(void 0===(o=u(i[1].trim())))if("function"===typeof h){var n=h(t,i,r);o="string"===typeof n?n:""}else{if(f){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(t)),o=""}else"string"===typeof o||s.useRawValueToEscape||(o=v(o));if(t=t.replace(i[0],e.safeValue(o)),e.regex.lastIndex=0,++a>=s.maxReplaces)break}})),t}},{key:"nest",value:function(t,e){var n,r,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=o({},a);function l(t,e){var n=this.nestingOptionsSeparator;if(t.indexOf(n)<0)return t;var r=t.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);t=r[0],i=(i=this.interpolate(i,s)).replace(/'/g,'"');try{s=JSON.parse(i),e&&(s=o({},e,s))}catch(a){return this.logger.warn("failed parsing options string in nesting for key ".concat(t),a),"".concat(t).concat(n).concat(i)}return delete s.defaultValue,t}for(s.applyPostProcessor=!1,delete s.defaultValue;n=this.nestingRegexp.exec(t);){var c=[],u=!1;if(n[0].includes(this.formatSeparator)&&!/{.*}/.test(n[1])){var h=n[1].split(this.formatSeparator).map((function(t){return t.trim()}));n[1]=h.shift(),c=h,u=!0}if((r=e(l.call(this,n[1].trim(),s),s))&&n[0]===t&&"string"!==typeof r)return r;"string"!==typeof r&&(r=v(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(t)),r=""),u&&(r=c.reduce((function(t,e){return i.format(t,e,a.lng,a)}),r.trim())),t=t.replace(n[0],r),this.regexp.lastIndex=0}return t}}]),t}();var L=function(t){function e(t,n,r){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Object(a.a)(this,e),i=Object(l.a)(this,Object(c.a)(e).call(this)),k&&g.call(Object(u.a)(i)),i.backend=t,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=o,i.logger=p.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,o.backend,o),i}return Object(h.a)(e,t),Object(s.a)(e,[{key:"queueLoad",value:function(t,e,n,r){var i=this,o=[],a=[],s=[],l=[];return t.forEach((function(t){var r=!0;e.forEach((function(e){var s="".concat(t,"|").concat(e);!n.reload&&i.store.hasResourceBundle(t,e)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?a.indexOf(s)<0&&a.push(s):(i.state[s]=1,r=!1,a.indexOf(s)<0&&a.push(s),o.indexOf(s)<0&&o.push(s),l.indexOf(e)<0&&l.push(e)))})),r||s.push(t)})),(o.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:o,pending:a,toLoadLanguages:s,toLoadNamespaces:l}}},{key:"loaded",value:function(t,e,n){var r=t.split("|"),i=r[0],o=r[1];e&&this.emit("failedLoading",i,o,e),n&&this.store.addResourceBundle(i,o,n),this.state[t]=e?-1:2;var a={};this.queue.forEach((function(n){!function(t,e,n,r){var i=b(t,e,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}(n.loaded,[i],o),function(t,e){for(var n=t.indexOf(e);-1!==n;)t.splice(n,1),n=t.indexOf(e)}(n.pending,t),e&&n.errors.push(e),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(t){a[t]||(a[t]=[]),n.loaded[t].length&&n.loaded[t].forEach((function(e){a[t].indexOf(e)<0&&a[t].push(e)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(t){return!t.done}))}},{key:"read",value:function(t,e,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return t.length?this.backend[n](t,e,(function(s,l){s&&l&&i<5?setTimeout((function(){r.read.call(r,t,e,n,i+1,2*o,a)}),o):a(s,l)})):a(null,{})}},{key:"prepareLoading",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"===typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"===typeof e&&(e=[e]);var o=this.queueLoad(t,e,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(t){n.loadOne(t)}))}},{key:"load",value:function(t,e,n){this.prepareLoading(t,e,{},n)}},{key:"reload",value:function(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}},{key:"loadOne",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=t.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(function(r,a){r&&e.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&e.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),e.loaded(t,r,a)}))}},{key:"saveMissing",value:function(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(e,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):void 0!==n&&null!==n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(t,e,n,r,null,o({},a,{isUpdate:i})),t&&t[0]&&this.store.addResource(t[0],e,n,r))}}]),e}(g);function F(t){return"string"===typeof t.ns&&(t.ns=[t.ns]),"string"===typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"===typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.whitelist&&(t.whitelist&&t.whitelist.indexOf("cimode")<0&&(t.whitelist=t.whitelist.concat(["cimode"])),t.supportedLngs=t.whitelist),t.nonExplicitWhitelist&&(t.nonExplicitSupportedLngs=t.nonExplicitWhitelist),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function B(){}var H=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(Object(a.a)(this,e),t=Object(l.a)(this,Object(c.a)(e).call(this)),k&&g.call(Object(u.a)(t)),t.options=F(n),t.services={},t.logger=p,t.modules={external:[]},r&&!t.isInitialized&&!n.isClone){if(!t.options.initImmediate)return t.init(n,r),Object(l.a)(t,Object(u.a)(t));setTimeout((function(){t.init(n,r)}),0)}return t}return Object(h.a)(e,t),Object(s.a)(e,[{key:"init",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function i(t){return t?"function"===typeof t?new t:t:null}if("function"===typeof e&&(n=e,e={}),e.whitelist&&!e.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),e.nonExplicitWhitelist&&!e.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=o({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var e={};if("object"===Object(r.a)(t[1])&&(e=t[1]),"string"===typeof t[1]&&(e.defaultValue=t[1]),"string"===typeof t[2]&&(e.tDescription=t[2]),"object"===Object(r.a)(t[2])||"object"===Object(r.a)(t[3])){var n=t[3]||t[2];Object.keys(n).forEach((function(t){e[t]=n[t]}))}return e},interpolation:{escapeValue:!0,format:function(t,e,n,r){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}},this.options,F(e)),this.format=this.options.interpolation.format,n||(n=B),!this.options.isClone){this.modules.logger?p.init(i(this.modules.logger),this.options):p.init(null,this.options);var a=new I(this.options);this.store=new E(this.options.resources,this.options);var s=this.services;s.logger=p,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new D(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s.interpolator=new N(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new L(i(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:B,r="string"===typeof t?t:this.language;if("function"===typeof t&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var i=[],o=function(t){t&&e.services.languageUtils.toResolveHierarchy(t).forEach((function(t){i.indexOf(t)<0&&i.push(t)}))};if(r)o(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(t){return o(t)}));this.options.preload&&this.options.preload.forEach((function(t){return o(t)})),this.services.backendConnector.load(i,this.options.ns,n)}else n(null)}},{key:"reloadResources",value:function(t,e,n){var r=m();return t||(t=this.languages),e||(e=this.options.ns),n||(n=B),this.services.backendConnector.reload(t,e,(function(t){r.resolve(),n(t)})),r}},{key:"use",value:function(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&C.addPostProcessor(t),"3rdParty"===t.type&&this.modules.external.push(t),this}},{key:"changeLanguage",value:function(t,e){var n=this;this.isLanguageChangingTo=t;var r=m();this.emit("languageChanging",t);var i=function(t){var i="string"===typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(t){!function(t,i){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),e&&e(t,(function(){return n.t.apply(n,arguments)}))}(t,i)}))};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(t):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(t,e){var n=this,i=function t(e,i){var a;if("object"!==Object(r.a)(i)){for(var s=arguments.length,l=new Array(s>2?s-2:0),c=2;c1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(t,n){var r=e.services.backendConnector.state["".concat(t,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,t)||(!this.services.backendConnector.backend||!(!a(r,t)||i&&!a(o,t)))}},{key:"loadNamespaces",value:function(t,e){var n=this,r=m();return this.options.ns?("string"===typeof t&&(t=[t]),t.forEach((function(t){n.options.ns.indexOf(t)<0&&n.options.ns.push(t)})),this.loadResources((function(t){r.resolve(),e&&e(t)})),r):(e&&e(),Promise.resolve())}},{key:"loadLanguages",value:function(t,e){var n=m();"string"===typeof t&&(t=[t]);var r=this.options.preload||[],i=t.filter((function(t){return r.indexOf(t)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(t){n.resolve(),e&&e(t)})),n):(e&&e(),Promise.resolve())}},{key:"dir",value:function(t){if(t||(t=this.languages&&this.languages.length>0?this.languages[0]:this.language),!t)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(t))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){return new e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}},{key:"cloneInstance",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B,i=o({},this.options,n,{isClone:!0}),a=new e(i);return["store","services","language"].forEach((function(e){a[e]=t[e]})),a.services=o({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new A(a.services,a.options),a.translator.on("*",(function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(t,Object(r.a)({defaultTheme:o.a},e))}},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(18),l=n(23),c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},u=o.forwardRef((function(t,e){var n=t.align,s=void 0===n?"inherit":n,u=t.classes,h=t.className,f=t.color,d=void 0===f?"initial":f,p=t.component,g=t.display,m=void 0===g?"initial":g,v=t.gutterBottom,b=void 0!==v&&v,y=t.noWrap,w=void 0!==y&&y,x=t.paragraph,S=void 0!==x&&x,_=t.variant,O=void 0===_?"body1":_,M=t.variantMapping,k=void 0===M?c:M,E=Object(i.a)(t,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),C=p||(S?"p":k[O]||c[O])||"span";return o.createElement(C,Object(r.a)({className:Object(a.a)(u.root,h,"inherit"!==O&&u[O],"initial"!==d&&u["color".concat(Object(l.a)(d))],w&&u.noWrap,b&&u.gutterBottom,S&&u.paragraph,"inherit"!==s&&u["align".concat(Object(l.a)(s))],"initial"!==m&&u["display".concat(Object(l.a)(m))]),ref:e},E))}));e.a=Object(s.a)((function(t){return{root:{margin:0},body2:t.typography.body2,body1:t.typography.body1,caption:t.typography.caption,button:t.typography.button,h1:t.typography.h1,h2:t.typography.h2,h3:t.typography.h3,h4:t.typography.h4,h5:t.typography.h5,h6:t.typography.h6,subtitle1:t.typography.subtitle1,subtitle2:t.typography.subtitle2,overline:t.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorTextPrimary:{color:t.palette.text.primary},colorTextSecondary:{color:t.palette.text.secondary},colorError:{color:t.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(u)},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=n,n.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},function(t,e,n){"use strict";var r=e,i=n(139),o=n(109),a=n(452);r.assert=o,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(t,e,n){var r=new Array(Math.max(t.bitLength(),n)+1);r.fill(0);for(var i=1<(i>>1)-1?(i>>1)-l:l,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,l=t.andln(3)+i&3,c=e.andln(3)+o&3;3===l&&(l=-1),3===c&&(c=-1),a=0===(1&l)?0:3!==(r=t.andln(7)+i&7)&&5!==r||2!==c?l:-l,n[0].push(a),s=0===(1&c)?0:3!==(r=e.andln(7)+o&7)&&5!==r||2!==l?c:-c,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},r.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(t){return"string"===typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new i(t,"hex","le")}},function(t,e,n){"use strict";function r(t){var e=t.props,n=t.states,r=t.muiFormControl;return n.reduce((function(t,n){return t[n]=e[n],r&&"undefined"===typeof e[n]&&(t[n]=r[n]),t}),{})}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),i=n(295);const o=()=>{const t=r.useContext(i.a);if(null==t)throw new Error(["MUI X: Could not find the Tree View context.","It looks like you rendered your component outside of a SimpleTreeView or RichTreeView parent component.","This can also happen if you are bundling multiple versions of the Tree View."].join("\n"));return t}},function(t,e,n){"use strict";var r=n(234);e.a=r.a},function(t,e,n){"use strict";n.d(e,"c",(function(){return m})),n.d(e,"b",(function(){return v}));var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(377),l=n(562),c=n(18),u=n(563),h=n(207),f=n(23),d=n(71),p=n(55),g={left:"right",right:"left",top:"down",bottom:"up"};function m(t){return-1!==["left","right"].indexOf(t)}function v(t,e){return"rtl"===t.direction&&m(e)?g[e]:e}var b={enter:d.b.enteringScreen,exit:d.b.leavingScreen},y=o.forwardRef((function(t,e){var n=t.anchor,c=void 0===n?"left":n,d=t.BackdropProps,m=t.children,y=t.classes,w=t.className,x=t.elevation,S=void 0===x?16:x,_=t.ModalProps,O=(_=void 0===_?{}:_).BackdropProps,M=Object(i.a)(_,["BackdropProps"]),k=t.onClose,E=t.open,C=void 0!==E&&E,T=t.PaperProps,A=void 0===T?{}:T,P=t.SlideProps,I=t.TransitionComponent,j=void 0===I?u.a:I,R=t.transitionDuration,D=void 0===R?b:R,N=t.variant,L=void 0===N?"temporary":N,F=Object(i.a)(t,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),B=Object(p.a)(),H=o.useRef(!1);o.useEffect((function(){H.current=!0}),[]);var z=v(B,c),V=o.createElement(h.a,Object(r.a)({elevation:"temporary"===L?S:0,square:!0},A,{className:Object(a.a)(y.paper,y["paperAnchor".concat(Object(f.a)(z))],A.className,"temporary"!==L&&y["paperAnchorDocked".concat(Object(f.a)(z))])}),m);if("permanent"===L)return o.createElement("div",Object(r.a)({className:Object(a.a)(y.root,y.docked,w),ref:e},F),V);var W=o.createElement(j,Object(r.a)({in:C,direction:g[z],timeout:D,appear:H.current},P),V);return"persistent"===L?o.createElement("div",Object(r.a)({className:Object(a.a)(y.root,y.docked,w),ref:e},F),W):o.createElement(s.a,Object(r.a)({BackdropProps:Object(r.a)({},d,O,{transitionDuration:D}),BackdropComponent:l.a,className:Object(a.a)(y.root,y.modal,w),open:C,onClose:k,ref:e},F,M),W)}));e.a=Object(c.a)((function(t){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:t.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(t.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(t.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(t.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(t.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(y)},,function(t,e){function n(){return t.exports=n=Object.assign?Object.assign.bind():function(t){for(var e=1;e0?r:t)-c/100).concat(s,")")},between:f,only:function(t){return f(t,t)},width:function(t){return n[t]}},u)}},function(t,e,n){"use strict";var r=n(355),i=n(899);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(1)),a=(0,r(n(900)).default)(o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.default=a},,function(t,e,n){var r=n(399),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e,n){"use strict";var r=n(109),i=n(41);function o(t,e){return 55296===(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function l(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"===typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t),i=0;i>6|192,n[r++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i>>0}return a},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,i){return t+e+n+r+i>>>0},e.sum64=function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,a=(o>>0,t[e+1]=o},e.sum64_hi=function(t,e,n,r){return(e+r>>>0>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,i,o,a,s){var l=0,c=e;return l+=(c=c+r>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,n,r,i,o,a,s){return e+r+o+s>>>0},e.sum64_5_hi=function(t,e,n,r,i,o,a,s,l,c){var u=0,h=e;return u+=(h=h+r>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,n,r,i,o,a,s,l,c){return e+r+o+s+c>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},function(t,e,n){"use strict";var r=function(t){for(var e,n=0,r=0,i=t.length;i>=4;++r,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},i={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(t){return 45===t.charCodeAt(1)},l=function(t){return null!=t&&"boolean"!==typeof t},c=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){return s(t)?t:t.replace(o,"-$&").toLowerCase()})),u=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(a,(function(t,e,n){return f={name:e,styles:n,next:f},e}))}return 1===i[t]||s(t)||"number"!==typeof e||0===e?e:e+"px"};function h(t,e,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)f={name:i.name,styles:i.styles,next:f},i=i.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i{if(o.toString().match(/^(components|slots)$/))n[o]=Object(r.a)({},t[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const a=t[o]||{},s=e[o];n[o]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[o]=Object(r.a)({},s),Object.keys(a).forEach((t=>{n[o][t]=i(a[t],s[t])}))):n[o]=s:n[o]=a}else void 0===n[o]&&(n[o]=t[o])})),n}function o(t){const{theme:e,name:n,props:r}=t;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?i(e.components[n].defaultProps,r):r}var a=n(372);var s=n(200),l=n(199);function c(t){let{props:e,name:n}=t;return function(t){let{props:e,name:n,defaultTheme:r,themeId:i}=t,s=Object(a.a)(r);return i&&(s=s[i]||s),o({theme:s,name:n,props:e})}({props:e,name:n,defaultTheme:s.a,themeId:l.a})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return B}));var r=n(5),i=n(35),o=function(){if("undefined"!==typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var t=window.screen;if(t)return(t.deviceXDPI||1)/(t.logicalXDPI||1)}return 1}(),a=function(t){var e,n=[];for(t=[].concat(t);t.length;)"string"===typeof(e=t.pop())?n.unshift.apply(n,e.split("\n")):Array.isArray(e)?t.push.apply(t,e):Object(r.Mb)(t)||n.unshift(""+e);return n},s=function(t,e,n){var r,i=[].concat(e),o=i.length,a=t.font,s=0;for(t.font=n.string,r=0;rn.right&&(r|=d),en.bottom&&(r|=p),r}function v(t,e){var n,r,i=e.anchor,o=t;return e.clamp&&(o=function(t,e){for(var n,r,i,o=t.x0,a=t.y0,s=t.x1,l=t.y1,c=m(o,a,e),u=m(s,l,e);c|u&&!(c&u);)(n=c||u)&g?(r=o+(s-o)*(e.top-a)/(l-a),i=e.top):n&p?(r=o+(s-o)*(e.bottom-a)/(l-a),i=e.bottom):n&d?(i=a+(l-a)*(e.right-o)/(s-o),r=e.right):n&f&&(i=a+(l-a)*(e.left-o)/(s-o),r=e.left),n===c?c=m(o=r,a=i,e):u=m(s=r,l=i,e);return{x0:o,x1:s,y0:a,y1:l}}(o,e.area)),"start"===i?(n=o.x0,r=o.y0):"end"===i?(n=o.x1,r=o.y1):(n=(o.x0+o.x1)/2,r=(o.y0+o.y1)/2),function(t,e,n,r,i){switch(i){case"center":n=r=0;break;case"bottom":n=0,r=1;break;case"right":n=1,r=0;break;case"left":n=-1,r=0;break;case"top":n=0,r=-1;break;case"start":n=-n,r=-r;break;case"end":break;default:i*=Math.PI/180,n=Math.cos(i),r=Math.sin(i)}return{x:t,y:e,vx:n,vy:r}}(n,r,t.vx,t.vy,e.align)}var b=function(t,e){var n=(t.startAngle+t.endAngle)/2,r=Math.cos(n),i=Math.sin(n),o=t.innerRadius,a=t.outerRadius;return v({x0:t.x+r*o,y0:t.y+i*o,x1:t.x+r*a,y1:t.y+i*a,vx:r,vy:i},e)},y=function(t,e){var n=u(t,e.origin),r=n.x*t.options.radius,i=n.y*t.options.radius;return v({x0:t.x-r,y0:t.y-i,x1:t.x+r,y1:t.y+i,vx:n.x,vy:n.y},e)},w=function(t,e){var n=u(t,e.origin),r=t.x,i=t.y,o=0,a=0;return t.horizontal?(r=Math.min(t.x,t.base),o=Math.abs(t.base-t.x)):(i=Math.min(t.y,t.base),a=Math.abs(t.base-t.y)),v({x0:r,y0:i+a,x1:r+o,y1:i,vx:n.x,vy:n.y},e)},x=function(t,e){var n=u(t,e.origin);return v({x0:t.x,y0:t.y,x1:t.x+(t.width||0),y1:t.y+(t.height||0),vx:n.x,vy:n.y},e)},S=function(t){return Math.round(t*o)/o};function _(t,e){var n=e.chart.getDatasetMeta(e.datasetIndex).vScale;if(!n)return null;if(void 0!==n.xCenter&&void 0!==n.yCenter)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return t.horizontal?{x:r,y:null}:{x:null,y:r}}function O(t,e,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(t.beginPath(),function(t,e,n,r,i,o){var a=Math.PI/2;if(o){var s=Math.min(o,i/2,r/2),l=e+s,c=n+s,u=e+r-s,h=n+i-s;t.moveTo(e,c),ln.x+n.w+2||t.y>n.y+n.h+2)},intersects:function(t){var e,n,r,i=this._points(),o=t._points(),a=[P(i[0],i[1]),P(i[0],i[3])];for(this._rotation!==t._rotation&&a.push(P(o[0],o[1]),P(o[0],o[3])),e=0;et.getProps([e],!0)[e]}),o=r.geometry(),a=j(s,r.model(),o),i._box.update(a,o,r.rotation()));(function(t,e){var n,r,i,o;for(n=t.length-1;n>=0;--n)for(i=t[n].$layout,r=n-1;r>=0&&i._visible;--r)(o=t[r].$layout)._visible&&i._box.intersects(o._box)&&e(i,o)})(t,(function(t,e){var n=t._hidable,r=e._hidable;n&&r||r?e._visible=!1:n&&(t._visible=!1)}))}(t)},lookup:function(t,e){var n,r;for(n=t.length-1;n>=0;--n)if((r=t[n].$layout)&&r._visible&&r._box.contains(e))return t[n];return null},draw:function(t,e){var n,r,i,o,a,s;for(n=0,r=e.length;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(){for(var t=[],e=0;e *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(h)},,,,,,,function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(747).Buffer}catch(M){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"===typeof t)return this._initNumber(t,e,n);if("object"===typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=l(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2===0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?g+n:u[c-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0===(8191&e)&&(n+=13,e>>>=13),0===(127&e)&&(n+=7,e>>>=7),0===(15&e)&&(n+=4,e>>>=4),0===(3&e)&&(n+=2,e>>>=2),0===(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,d=0|a[1],p=8191&d,g=d>>>13,m=0|a[2],v=8191&m,b=m>>>13,y=0|a[3],w=8191&y,x=y>>>13,S=0|a[4],_=8191&S,O=S>>>13,M=0|a[5],k=8191&M,E=M>>>13,C=0|a[6],T=8191&C,A=C>>>13,P=0|a[7],I=8191&P,j=P>>>13,R=0|a[8],D=8191&R,N=R>>>13,L=0|a[9],F=8191&L,B=L>>>13,H=0|s[0],z=8191&H,V=H>>>13,W=0|s[1],U=8191&W,Y=W>>>13,G=0|s[2],X=8191&G,q=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,gt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(h,z))|0)+((8191&(i=(i=Math.imul(h,V))+Math.imul(f,z)|0))<<13)|0;c=((o=Math.imul(f,V))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,V))+Math.imul(g,z)|0,o=Math.imul(g,V);var vt=(c+(r=r+Math.imul(h,U)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(f,U)|0))<<13)|0;c=((o=o+Math.imul(f,Y)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(v,z),i=(i=Math.imul(v,V))+Math.imul(b,z)|0,o=Math.imul(b,V),r=r+Math.imul(p,U)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(g,U)|0,o=o+Math.imul(g,Y)|0;var bt=(c+(r=r+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,q)|0)+Math.imul(f,X)|0))<<13)|0;c=((o=o+Math.imul(f,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,V))+Math.imul(x,z)|0,o=Math.imul(x,V),r=r+Math.imul(v,U)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(b,U)|0,o=o+Math.imul(b,Y)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,q)|0;var yt=(c+(r=r+Math.imul(h,K)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(f,K)|0))<<13)|0;c=((o=o+Math.imul(f,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(_,z),i=(i=Math.imul(_,V))+Math.imul(O,z)|0,o=Math.imul(O,V),r=r+Math.imul(w,U)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,U)|0,o=o+Math.imul(x,Y)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,q)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0;var wt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,V))+Math.imul(E,z)|0,o=Math.imul(E,V),r=r+Math.imul(_,U)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,U)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,q)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(b,K)|0,o=o+Math.imul(b,Z)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var xt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(T,z),i=(i=Math.imul(T,V))+Math.imul(A,z)|0,o=Math.imul(A,V),r=r+Math.imul(k,U)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(E,U)|0,o=o+Math.imul(E,Y)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,q)|0,r=r+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(b,J)|0,o=o+Math.imul(b,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,z),i=(i=Math.imul(I,V))+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(T,U)|0,i=(i=i+Math.imul(T,Y)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,Y)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,q)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,Z)|0,r=r+Math.imul(w,J)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(b,nt)|0,o=o+Math.imul(b,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var _t=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(D,z),i=(i=Math.imul(D,V))+Math.imul(N,z)|0,o=Math.imul(N,V),r=r+Math.imul(I,U)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(j,U)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(T,X)|0,i=(i=i+Math.imul(T,q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,q)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(O,J)|0,o=o+Math.imul(O,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,ct)|0;var Ot=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(F,z),i=(i=Math.imul(F,V))+Math.imul(B,z)|0,o=Math.imul(B,V),r=r+Math.imul(D,U)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(N,U)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,r=r+Math.imul(k,J)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(O,nt)|0,o=o+Math.imul(O,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(b,lt)|0,o=o+Math.imul(b,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(g,ht)|0,o=o+Math.imul(g,ft)|0;var Mt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,gt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(F,U),i=(i=Math.imul(F,Y))+Math.imul(B,U)|0,o=Math.imul(B,Y),r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,q)|0,r=r+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(j,K)|0,o=o+Math.imul(j,Z)|0,r=r+Math.imul(T,J)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(A,J)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(k,nt)|0,i=(i=i+Math.imul(k,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(O,ot)|0,o=o+Math.imul(O,at)|0,r=r+Math.imul(w,lt)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(b,ht)|0,o=o+Math.imul(b,ft)|0;var kt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(F,X),i=(i=Math.imul(F,q))+Math.imul(B,X)|0,o=Math.imul(B,q),r=r+Math.imul(D,K)|0,i=(i=i+Math.imul(D,Z)|0)+Math.imul(N,K)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(T,nt)|0,i=(i=i+Math.imul(T,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(O,lt)|0,o=o+Math.imul(O,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,ft)|0)+Math.imul(x,ht)|0,o=o+Math.imul(x,ft)|0;var Et=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,gt)|0)+Math.imul(b,pt)|0))<<13)|0;c=((o=o+Math.imul(b,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),r=r+Math.imul(D,J)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(k,lt)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,ft)|0)+Math.imul(O,ht)|0,o=o+Math.imul(O,ft)|0;var Ct=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(F,J),i=(i=Math.imul(F,tt))+Math.imul(B,J)|0,o=Math.imul(B,tt),r=r+Math.imul(D,nt)|0,i=(i=i+Math.imul(D,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(T,lt)|0,i=(i=i+Math.imul(T,ct)|0)+Math.imul(A,lt)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var Tt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(O,pt)|0))<<13)|0;c=((o=o+Math.imul(O,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(F,nt),i=(i=Math.imul(F,rt))+Math.imul(B,nt)|0,o=Math.imul(B,rt),r=r+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(T,ht)|0,i=(i=i+Math.imul(T,ft)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,ft)|0;var At=(c+(r=r+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,gt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),r=r+Math.imul(D,lt)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,ft)|0)+Math.imul(j,ht)|0,o=o+Math.imul(j,ft)|0;var Pt=(c+(r=r+Math.imul(T,pt)|0)|0)+((8191&(i=(i=i+Math.imul(T,gt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(F,lt),i=(i=Math.imul(F,ct))+Math.imul(B,lt)|0,o=Math.imul(B,ct),r=r+Math.imul(D,ht)|0,i=(i=i+Math.imul(D,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(F,ht),i=(i=Math.imul(F,ft))+Math.imul(B,ht)|0,o=Math.imul(B,ft);var jt=(c+(r=r+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,gt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,gt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863;var Rt=(c+(r=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,gt))+Math.imul(B,pt)|0))<<13)|0;return c=((o=Math.imul(B,gt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,l[0]=mt,l[1]=vt,l[2]=bt,l[3]=yt,l[4]=wt,l[5]=xt,l[6]=St,l[7]=_t,l[8]=Ot,l[9]=Mt,l[10]=kt,l[11]=Et,l[12]=Ct,l[13]=Tt,l[14]=At,l[15]=Pt,l[16]=It,l[17]=jt,l[18]=Rt,0!==c&&(l[19]=c,n.length++),n};function g(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):g(this,t,e),n},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},m.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"===typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0===(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0===(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},i(y,b),y.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return v[t]=e,e},_.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){r(0===(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},_.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2===1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var g=d,m=0;0!==g.cmp(s);m++)g=g.redSqr();r(m=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new O(t)},i(O,_),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(107)(t))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1);function i(t){var e=r.useState(t),n=e[0],i=e[1],o=t||n;return r.useEffect((function(){null==n&&i("mui-".concat(Math.round(1e5*Math.random())))}),[n]),o}},function(t,e,n){"use strict";var r=n(277);e.a=function(t,e){return e?Object(r.a)(t,e,{clone:!1}):t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n(1),i=!!r.useInsertionEffect&&r.useInsertionEffect,o=i||function(t){return t()},a=i||r.useLayoutEffect},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(224),o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(t){return 45===t.charCodeAt(1)},l=function(t){return null!=t&&"boolean"!==typeof t},c=Object(i.a)((function(t){return s(t)?t:t.replace(o,"-$&").toLowerCase()})),u=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(a,(function(t,e,n){return f={name:e,styles:n,next:f},e}))}return 1===r[t]||s(t)||"number"!==typeof e||0===e?e:e+"px"};function h(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i=4;++r,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:f}}},function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=function(t){return Array.isArray(t)?t[0]:t},i=function(t){if("function"===typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0,p=u-h-c,g=!1;p>n&&t.isBottom&&(o&&o(e),t.isBottom=!1),d&&t.isTop&&(s&&s(e),t.isTop=!1),d&&n>p?(i&&!t.isBottom&&i(e),f.scrollTop=u,g=!0,t.isBottom=!0):!d&&-n>c&&(a&&!t.isTop&&a(e),f.scrollTop=0,g=!0,t.isTop=!0),g&&t.cancelScroll(e)},t.onWheel=function(e){t.handleEventDelta(e,e.deltaY)},t.onTouchStart=function(e){t.touchStart=e.changedTouches[0].clientY},t.onTouchMove=function(e){var n=t.touchStart-e.changedTouches[0].clientY;t.handleEventDelta(e,n)},t.getScrollTarget=function(e){t.scrollTarget=e},t}return Object(c.a)(n,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(t){t&&("function"===typeof t.addEventListener&&t.addEventListener("wheel",this.onWheel,!1),"function"===typeof t.addEventListener&&t.addEventListener("touchstart",this.onTouchStart,!1),"function"===typeof t.addEventListener&&t.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(t){"function"===typeof t.removeEventListener&&t.removeEventListener("wheel",this.onWheel,!1),"function"===typeof t.removeEventListener&&t.removeEventListener("touchstart",this.onTouchStart,!1),"function"===typeof t.removeEventListener&&t.removeEventListener("touchmove",this.onTouchMove,!1)}},{key:"render",value:function(){return g.a.createElement(D,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(p.Component);function Z(t){var e=t.isEnabled,n=void 0===e||e,i=Object(r.a)(t,["isEnabled"]);return n?g.a.createElement(K,i):i.children}var Q=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isSearchable,r=e.isMulti,i=e.label,o=e.isDisabled;switch(t){case"menu":return"Use Up and Down to choose options".concat(o?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(i||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},J=function(t,e){var n=e.value,r=e.isDisabled;if(n)switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},tt=function(t){return!!t.isDisabled};var et={clearIndicator:y.i,container:y.g,control:y.h,dropdownIndicator:y.j,group:y.m,groupHeading:y.k,indicatorsContainer:y.o,indicatorSeparator:y.l,input:y.n,loadingIndicator:y.r,loadingMessage:y.p,menu:y.s,menuList:y.q,menuPortal:y.t,multiValue:y.u,multiValueLabel:y.v,multiValueRemove:y.w,noOptionsMessage:y.x,option:y.y,placeholder:y.z,singleValue:y.A,valueContainer:y.B};var nt={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function rt(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 it(t){for(var e=1;e-1},formatGroupLabel:function(t){return t.label},getOptionLabel:function(t){return t.label},getOptionValue:function(t){return t.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:tt,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Object(y.D)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},lt=1,ct=function(t){Object(h.a)(n,t);var e=ot(n);function n(t){var r;Object(l.a)(this,n),(r=e.call(this,t)).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},r.blockOptionHover=!1,r.isComposing=!1,r.clearFocusValueOnUpdate=!1,r.commonProps=void 0,r.components=void 0,r.hasGroups=!1,r.initialTouchX=0,r.initialTouchY=0,r.inputIsHiddenAfterUpdate=void 0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(t){r.controlRef=t},r.focusedOptionRef=null,r.getFocusedOptionRef=function(t){r.focusedOptionRef=t},r.menuListRef=null,r.getMenuListRef=function(t){r.menuListRef=t},r.inputRef=null,r.getInputRef=function(t){r.inputRef=t},r.cacheComponents=function(t){r.components=Object(y.E)({components:t})},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(t,e){var n=r.props,i=n.onChange,o=n.name;i(t,it(it({},e),{},{name:o}))},r.setValue=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,i=r.props,o=i.closeMenuOnSelect,a=i.isMulti;r.onInputChange("",{action:"set-value"}),o&&(r.inputIsHiddenAfterUpdate=!a,r.onMenuClose()),r.clearFocusValueOnUpdate=!0,r.onChange(t,{action:e,option:n})},r.selectOption=function(t){var e=r.props,n=e.blurInputOnSelect,i=e.isMulti,o=r.state.selectValue;if(i)if(r.isOptionSelected(t,o)){var s=r.getOptionValue(t);r.setValue(o.filter((function(t){return r.getOptionValue(t)!==s})),"deselect-option",t),r.announceAriaLiveSelection({event:"deselect-option",context:{value:r.getOptionLabel(t)}})}else r.isOptionDisabled(t,o)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(t),isDisabled:!0}}):(r.setValue([].concat(Object(a.a)(o),[t]),"select-option",t),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(t)}}));else r.isOptionDisabled(t,o)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(t),isDisabled:!0}}):(r.setValue(t,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(t)}}));n&&r.blurInput()},r.removeValue=function(t){var e=r.state.selectValue,n=r.getOptionValue(t),i=e.filter((function(t){return r.getOptionValue(t)!==n}));r.onChange(i.length?i:null,{action:"remove-value",removedValue:t}),r.announceAriaLiveSelection({event:"remove-value",context:{value:t?r.getOptionLabel(t):""}}),r.focusInput()},r.clearValue=function(){var t=r.props.isMulti;r.onChange(t?[]:null,{action:"clear"})},r.popValue=function(){var t=r.state.selectValue,e=t[t.length-1],n=t.slice(0,t.length-1);r.announceAriaLiveSelection({event:"pop-value",context:{value:e?r.getOptionLabel(e):""}}),r.onChange(n.length?n:null,{action:"pop-value",removedValue:e})},r.getOptionLabel=function(t){return r.props.getOptionLabel(t)},r.getOptionValue=function(t){return r.props.getOptionValue(t)},r.getStyles=function(t,e){var n=et[t](e);n.boxSizing="border-box";var i=r.props.styles[t];return i?i(n,e):n},r.getElementId=function(t){return"".concat(r.instancePrefix,"-").concat(t)},r.getActiveDescendentId=function(){var t=r.props.menuIsOpen,e=r.state,n=e.menuOptions,i=e.focusedOption;if(i&&t){var o=n.focusable.indexOf(i),a=n.render[o];return a&&a.key}},r.announceAriaLiveSelection=function(t){var e=t.event,n=t.context;r.setState({ariaLiveSelection:J(e,n)})},r.announceAriaLiveContext=function(t){var e=t.event,n=t.context;r.setState({ariaLiveContext:Q(e,it(it({},n),{},{label:r.props["aria-label"]}))})},r.onMenuMouseDown=function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(t){r.blockOptionHover=!1},r.onControlMouseDown=function(t){var e=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&r.onMenuClose():e&&r.openMenu("first"):(e&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&t.preventDefault()},r.onDropdownIndicatorMouseDown=function(t){if((!t||"mousedown"!==t.type||0===t.button)&&!r.props.isDisabled){var e=r.props,n=e.isMulti,i=e.menuIsOpen;r.focusInput(),i?(r.inputIsHiddenAfterUpdate=!n,r.onMenuClose()):r.openMenu("first"),t.preventDefault(),t.stopPropagation()}},r.onClearIndicatorMouseDown=function(t){t&&"mousedown"===t.type&&0!==t.button||(r.clearValue(),t.stopPropagation(),r.openAfterFocus=!1,"touchend"===t.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(t){"boolean"===typeof r.props.closeMenuOnScroll?t.target instanceof HTMLElement&&Object(y.F)(t.target)&&r.props.onMenuClose():"function"===typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(t)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(t){var e=t.touches,n=e&&e.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(t){var e=t.touches,n=e&&e.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(t){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(t.target)&&r.menuListRef&&!r.menuListRef.contains(t.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(t){r.userIsDragging||r.onControlMouseDown(t)},r.onClearIndicatorTouchEnd=function(t){r.userIsDragging||r.onClearIndicatorMouseDown(t)},r.onDropdownIndicatorTouchEnd=function(t){r.userIsDragging||r.onDropdownIndicatorMouseDown(t)},r.handleInputChange=function(t){var e=t.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(e,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(t){var e=r.props,n=e.isSearchable,i=e.isMulti;r.props.onFocus&&r.props.onFocus(t),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:n,isMulti:i}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(t){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(t),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(t){r.blockOptionHover||r.state.focusedOption===t||r.setState({focusedOption:t})},r.shouldHideSelectedOptions=function(){var t=r.props,e=t.hideSelectedOptions,n=t.isMulti;return void 0===e?n:e},r.onKeyDown=function(t){var e=r.props,n=e.isMulti,i=e.backspaceRemovesValue,o=e.escapeClearsValue,a=e.inputValue,s=e.isClearable,l=e.isDisabled,c=e.menuIsOpen,u=e.onKeyDown,h=e.tabSelectsValue,f=e.openMenuOnFocus,d=r.state,p=d.focusedOption,g=d.focusedValue,m=d.selectValue;if(!l&&("function"!==typeof u||(u(t),!t.defaultPrevented))){switch(r.blockOptionHover=!0,t.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)r.removeValue(g);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(t.shiftKey||!c||!h||!p||f&&r.isOptionSelected(p,m))return;r.selectOption(p);break;case"Enter":if(229===t.keyCode)break;if(c){if(!p)return;if(r.isComposing)return;r.selectOption(p);break}return;case"Escape":c?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!p)return;r.selectOption(p);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}t.preventDefault()}},r.buildMenuOptions=function(t,e){var n=t.inputValue,i=void 0===n?"":n,o=t.options,a=function(t,n){var o=r.isOptionDisabled(t,e),a=r.isOptionSelected(t,e),s=r.getOptionLabel(t),l=r.getOptionValue(t);if(!(r.shouldHideSelectedOptions()&&a||!r.filterOption({label:s,value:l,data:t},i))){var c=o?void 0:function(){return r.onOptionHover(t)},u=o?void 0:function(){return r.selectOption(t)},h="".concat(r.getElementId("option"),"-").concat(n);return{innerProps:{id:h,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:t,isDisabled:o,isSelected:a,key:h,label:s,type:"option",value:l}}};return o.reduce((function(t,e,n){if(e.options){r.hasGroups||(r.hasGroups=!0);var i=e.options.map((function(e,r){var i=a(e,"".concat(n,"-").concat(r));return i&&t.focusable.push(e),i})).filter(Boolean);if(i.length){var o="".concat(r.getElementId("group"),"-").concat(n);t.render.push({type:"group",key:o,data:e,options:i})}}else{var s=a(e,"".concat(n));s&&(t.render.push(s),t.focusable.push(e))}return t}),{render:[],focusable:[]})};var i=t.value;r.cacheComponents=Object(m.a)(r.cacheComponents,y.a).bind(Object(u.a)(r)),r.cacheComponents(t.components),r.instancePrefix="react-select-"+(r.props.instanceId||++lt);var s=Object(y.b)(i);r.buildMenuOptions=Object(m.a)(r.buildMenuOptions,(function(t,e){var n=t,r=Object(o.a)(n,2),i=r[0],a=r[1],s=e,l=Object(o.a)(s,2),c=l[0],u=l[1];return Object(y.a)(a,u)&&Object(y.a)(i.inputValue,c.inputValue)&&Object(y.a)(i.options,c.options)})).bind(Object(u.a)(r));var c=t.menuIsOpen?r.buildMenuOptions(t,s):{render:[],focusable:[]};return r.state.menuOptions=c,r.state.selectValue=s,r}return Object(c.a)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=this.props,n=e.options,r=e.value,i=e.menuIsOpen,o=e.inputValue;if(this.cacheComponents(t.components),t.value!==r||t.options!==n||t.menuIsOpen!==i||t.inputValue!==o){var a=Object(y.b)(t.value),s=t.menuIsOpen?this.buildMenuOptions(t,a):{render:[],focusable:[]},l=this.getNextFocusedValue(a),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:a,focusedOption:c,focusedValue:l})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDisabled,r=e.menuIsOpen,i=this.state.isFocused;(i&&!n&&t.isDisabled||i&&r&&!t.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Object(y.c)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var t=this.props,e=t.isSearchable,n=t.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:e,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(t,e){this.props.onInputChange(t,e)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(t){var e=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildMenuOptions(this.props,r),a=this.props.isMulti,s="first"===t?0:o.focusable.length-1;if(!a){var l=o.focusable.indexOf(r[0]);l>-1&&(s=l)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:o,focusedValue:null,focusedOption:o.focusable[s]},(function(){e.onMenuOpen(),e.announceAriaLiveContext({event:"menu"})}))}},{key:"focusValue",value:function(t){var e=this.props,n=e.isMulti,r=e.isSearchable,i=this.state,o=i.selectValue,a=i.focusedValue;if(n){this.setState({focusedOption:null});var s=o.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"value"}));var l=o.length-1,c=-1;if(o.length){switch(t){case"previous":c=0===s?0:-1===s?l:s-1;break;case"next":s>-1&&s0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state,r=n.focusedOption,i=n.menuOptions.focusable;if(i.length){var o=0,a=i.indexOf(r);r||(a=-1,this.announceAriaLiveContext({event:"menu"})),"up"===t?o=a>0?a-1:i.length-1:"down"===t?o=(a+1)%i.length:"pageup"===t?(o=a-e)<0&&(o=0):"pagedown"===t?(o=a+e)>i.length-1&&(o=i.length-1):"last"===t&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:tt(i[o])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(nt):it(it({},nt),this.props.theme):nt}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.getStyles,n=this.setValue,r=this.selectOption,i=this.props,o=i.classNamePrefix,a=i.isMulti,s=i.isRtl,l=i.options,c=this.state.selectValue,u=this.hasValue();return{cx:y.d.bind(null,o),clearValue:t,getStyles:e,getValue:function(){return c},hasValue:u,isMulti:a,isRtl:s,options:l,selectOption:r,setValue:n,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(t){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var e=this.state,n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r-1?e:t[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return"function"===typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(t,e)}},{key:"isOptionSelected",value:function(t,e){var n=this;if(e.indexOf(t)>-1)return!0;if("function"===typeof this.props.isOptionSelected)return this.props.isOptionSelected(t,e);var r=this.getOptionValue(t);return e.some((function(t){return n.getOptionValue(t)===r}))}},{key:"filterOption",value:function(t,e){return!this.props.filterOption||this.props.filterOption(t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:r})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var t=this.state,e=t.ariaLiveContext,n=t.selectValue,r=t.focusedValue,i=t.focusedOption,o=this.props,a=o.options,s=o.menuIsOpen,l=o.inputValue,c=o.screenReaderStatus,u=r?function(t){var e=t.focusedValue,n=t.getOptionLabel,r=t.selectValue;return"value ".concat(n(e)," focused, ").concat(r.indexOf(e)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",h=i&&s?function(t){var e=t.focusedOption,n=t.getOptionLabel,r=t.options;return"option ".concat(n(e)," focused").concat(e.isDisabled?" disabled":"",", ").concat(r.indexOf(e)+1," of ").concat(r.length,".")}({focusedOption:i,getOptionLabel:this.getOptionLabel,options:a}):"",f=function(t){var e=t.inputValue,n=t.screenReaderMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}({inputValue:l,screenReaderMessage:c({count:this.countOptions()})});return"".concat(u," ").concat(h," ").concat(f," ").concat(e)}},{key:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,r=t.inputId,o=t.inputValue,a=t.tabIndex,s=t.form,l=this.components.Input,c=this.state.inputIsHidden,u=r||this.getElementId("input"),h={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return g.a.createElement(j,Object(i.a)({id:u,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:y.e,onFocus:this.onInputFocus,readOnly:!0,disabled:e,tabIndex:a,form:s,value:""},h));var f=this.commonProps,d=f.cx,p=f.theme,m=f.selectProps;return g.a.createElement(l,Object(i.a)({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:d,getStyles:this.getStyles,id:u,innerRef:this.getInputRef,isDisabled:e,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:a,form:s,theme:p,type:"text",value:o},h))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.components,n=e.MultiValue,r=e.MultiValueContainer,o=e.MultiValueLabel,a=e.MultiValueRemove,s=e.SingleValue,l=e.Placeholder,c=this.commonProps,u=this.props,h=u.controlShouldRenderValue,f=u.isDisabled,d=u.isMulti,p=u.inputValue,m=u.placeholder,v=this.state,b=v.selectValue,y=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!h)return p?null:g.a.createElement(l,Object(i.a)({},c,{key:"placeholder",isDisabled:f,isFocused:w}),m);if(d)return b.map((function(e,s){var l=e===y;return g.a.createElement(n,Object(i.a)({},c,{components:{Container:r,Label:o,Remove:a},isFocused:l,isDisabled:f,key:t.getOptionValue(e),index:s,removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault(),t.stopPropagation()}},data:e}),t.formatOptionLabel(e,"value"))}));if(p)return null;var x=b[0];return g.a.createElement(s,Object(i.a)({},c,{data:x,isDisabled:f}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.components.ClearIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return g.a.createElement(t,Object(i.a)({},e,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.components.LoadingIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!t||!o)return null;return g.a.createElement(t,Object(i.a)({},e,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var t=this.components,e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return g.a.createElement(n,Object(i.a)({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.components.DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return g.a.createElement(t,Object(i.a)({},e,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var t=this,e=this.components,n=e.Group,o=e.GroupHeading,a=e.Menu,s=e.MenuList,l=e.MenuPortal,c=e.LoadingMessage,u=e.NoOptionsMessage,h=e.Option,f=this.commonProps,d=this.state,p=d.focusedOption,m=d.menuOptions,v=this.props,b=v.captureMenuScroll,w=v.inputValue,x=v.isLoading,S=v.loadingMessage,_=v.minMenuHeight,O=v.maxMenuHeight,M=v.menuIsOpen,k=v.menuPlacement,E=v.menuPosition,C=v.menuPortalTarget,T=v.menuShouldBlockScroll,A=v.menuShouldScrollIntoView,P=v.noOptionsMessage,I=v.onMenuScrollToTop,j=v.onMenuScrollToBottom;if(!M)return null;var R,D=function(e){var n=p===e.data;return e.innerRef=n?t.getFocusedOptionRef:void 0,g.a.createElement(h,Object(i.a)({},f,e,{isFocused:n}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())R=m.render.map((function(e){if("group"===e.type){e.type;var a=Object(r.a)(e,["type"]),s="".concat(e.key,"-heading");return g.a.createElement(n,Object(i.a)({},f,a,{Heading:o,headingProps:{id:s},label:t.formatGroupLabel(e.data)}),e.options.map((function(t){return D(t)})))}if("option"===e.type)return D(e)}));else if(x){var N=S({inputValue:w});if(null===N)return null;R=g.a.createElement(c,f,N)}else{var L=P({inputValue:w});if(null===L)return null;R=g.a.createElement(u,f,L)}var F={minMenuHeight:_,maxMenuHeight:O,menuPlacement:k,menuPosition:E,menuShouldScrollIntoView:A},B=g.a.createElement(y.f,Object(i.a)({},f,F),(function(e){var n=e.ref,r=e.placerProps,o=r.placement,l=r.maxHeight;return g.a.createElement(a,Object(i.a)({},f,F,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:x,placement:o}),g.a.createElement(Z,{isEnabled:b,onTopArrive:I,onBottomArrive:j},g.a.createElement(q,{isEnabled:T},g.a.createElement(s,Object(i.a)({},f,{innerRef:t.getMenuListRef,isLoading:x,maxHeight:l}),R))))}));return C||"fixed"===E?g.a.createElement(l,Object(i.a)({},f,{appendTo:C,controlElement:this.controlRef,menuPlacement:k,menuPosition:E}),B):B}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,r=e.isDisabled,i=e.isMulti,o=e.name,a=this.state.selectValue;if(o&&!r){if(i){if(n){var s=a.map((function(e){return t.getOptionValue(e)})).join(n);return g.a.createElement("input",{name:o,type:"hidden",value:s})}var l=a.length>0?a.map((function(e,n){return g.a.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:t.getOptionValue(e)})})):g.a.createElement("input",{name:o,type:"hidden"});return g.a.createElement("div",null,l)}var c=a[0]?this.getOptionValue(a[0]):"";return g.a.createElement("input",{name:o,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?g.a.createElement(I,{"aria-live":"polite"},g.a.createElement("span",{id:"aria-selection-event"},"\xa0",this.state.ariaLiveSelection),g.a.createElement("span",{id:"aria-context"},"\xa0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var t=this.components,e=t.Control,n=t.IndicatorsContainer,r=t.SelectContainer,o=t.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,h=this.state.isFocused,f=this.commonProps=this.getCommonProps();return g.a.createElement(r,Object(i.a)({},f,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:h}),this.renderLiveRegion(),g.a.createElement(e,Object(i.a)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:h,menuIsOpen:u}),g.a.createElement(o,Object(i.a)({},f,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),g.a.createElement(n,Object(i.a)({},f,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(p.Component);ct.defaultProps=st},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(66);function i(t){return Object(r.a)(t).defaultView||window}},function(t,e,n){"use strict";var r=n(36),i=n(53),o=n(130);var a=function(){for(var t=arguments.length,e=new Array(t),n=0;n(e.filterProps.forEach((n=>{t[n]=e})),t)),{}),i=t=>Object.keys(t).reduce(((e,n)=>r[n]?Object(o.a)(e,r[n](t)):e),{});return i.propTypes={},i.filterProps=e.reduce(((t,e)=>t.concat(e.filterProps)),[]),i},s=n(78);function l(t){return"number"!==typeof t?t:"".concat(t,"px solid")}function c(t,e){return Object(i.a)({prop:t,themeKey:"borders",transform:e})}const u=c("border",l),h=c("borderTop",l),f=c("borderRight",l),d=c("borderBottom",l),p=c("borderLeft",l),g=c("borderColor"),m=c("borderTopColor"),v=c("borderRightColor"),b=c("borderBottomColor"),y=c("borderLeftColor"),w=c("outline",l),x=c("outlineColor"),S=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){const e=Object(r.b)(t.theme,"shape.borderRadius",4,"borderRadius"),n=t=>({borderRadius:Object(r.c)(e,t)});return Object(s.b)(t,t.borderRadius,n)}return null};S.propTypes={},S.filterProps=["borderRadius"];a(u,h,f,d,p,g,m,v,b,y,S,w,x);const _=t=>{if(void 0!==t.gap&&null!==t.gap){const e=Object(r.b)(t.theme,"spacing",8,"gap"),n=t=>({gap:Object(r.c)(e,t)});return Object(s.b)(t,t.gap,n)}return null};_.propTypes={},_.filterProps=["gap"];const O=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){const e=Object(r.b)(t.theme,"spacing",8,"columnGap"),n=t=>({columnGap:Object(r.c)(e,t)});return Object(s.b)(t,t.columnGap,n)}return null};O.propTypes={},O.filterProps=["columnGap"];const M=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){const e=Object(r.b)(t.theme,"spacing",8,"rowGap"),n=t=>({rowGap:Object(r.c)(e,t)});return Object(s.b)(t,t.rowGap,n)}return null};M.propTypes={},M.filterProps=["rowGap"];a(_,O,M,Object(i.a)({prop:"gridColumn"}),Object(i.a)({prop:"gridRow"}),Object(i.a)({prop:"gridAutoFlow"}),Object(i.a)({prop:"gridAutoColumns"}),Object(i.a)({prop:"gridAutoRows"}),Object(i.a)({prop:"gridTemplateColumns"}),Object(i.a)({prop:"gridTemplateRows"}),Object(i.a)({prop:"gridTemplateAreas"}),Object(i.a)({prop:"gridArea"}));function k(t,e){return"grey"===e?e:t}a(Object(i.a)({prop:"color",themeKey:"palette",transform:k}),Object(i.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k}),Object(i.a)({prop:"backgroundColor",themeKey:"palette",transform:k}));function E(t){return t<=1&&0!==t?"".concat(100*t,"%"):t}const C=Object(i.a)({prop:"width",transform:E}),T=t=>{if(void 0!==t.maxWidth&&null!==t.maxWidth){const e=e=>{var n,r;const i=(null==(n=t.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[e])||s.d[e];return i?"px"!==(null==(r=t.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:"".concat(i).concat(t.theme.breakpoints.unit)}:{maxWidth:i}:{maxWidth:E(e)}};return Object(s.b)(t,t.maxWidth,e)}return null};T.filterProps=["maxWidth"];const A=Object(i.a)({prop:"minWidth",transform:E}),P=Object(i.a)({prop:"height",transform:E}),I=Object(i.a)({prop:"maxHeight",transform:E}),j=Object(i.a)({prop:"minHeight",transform:E});Object(i.a)({prop:"size",cssProperty:"width",transform:E}),Object(i.a)({prop:"size",cssProperty:"height",transform:E});a(C,T,A,P,I,j,Object(i.a)({prop:"boxSizing"}));const R={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:k},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k},backgroundColor:{themeKey:"palette",transform:k},p:{style:r.e},pt:{style:r.e},pr:{style:r.e},pb:{style:r.e},pl:{style:r.e},px:{style:r.e},py:{style:r.e},padding:{style:r.e},paddingTop:{style:r.e},paddingRight:{style:r.e},paddingBottom:{style:r.e},paddingLeft:{style:r.e},paddingX:{style:r.e},paddingY:{style:r.e},paddingInline:{style:r.e},paddingInlineStart:{style:r.e},paddingInlineEnd:{style:r.e},paddingBlock:{style:r.e},paddingBlockStart:{style:r.e},paddingBlockEnd:{style:r.e},m:{style:r.d},mt:{style:r.d},mr:{style:r.d},mb:{style:r.d},ml:{style:r.d},mx:{style:r.d},my:{style:r.d},margin:{style:r.d},marginTop:{style:r.d},marginRight:{style:r.d},marginBottom:{style:r.d},marginLeft:{style:r.d},marginX:{style:r.d},marginY:{style:r.d},marginInline:{style:r.d},marginInlineStart:{style:r.d},marginInlineEnd:{style:r.d},marginBlock:{style:r.d},marginBlockStart:{style:r.d},marginBlockEnd:{style:r.d},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_},rowGap:{style:M},columnGap:{style:O},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:E},maxWidth:{style:T},minWidth:{transform:E},height:{transform:E},maxHeight:{transform:E},minHeight:{transform:E},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};e.a=R},function(t,e,n){"use strict";var r=n(555),i=Object(r.a)();e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1);function i(t,e){return r.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},function(t,e,n){"use strict";var r=n(1),i=r.createContext();e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return V})),n.d(e,"b",(function(){return j})),n.d(e,"c",(function(){return R})),n.d(e,"d",(function(){return I}));var r=n(1),i=n.n(r),o=(n(14),n(72)),a=n(2),s=n(4),l=n(9),c=n(106),u=n(105),h=n(55),f=n(18),d=n(70),p=n(374),g=n(375),m=n(50),v=n(32),b=n(57),y=n(48),w=n(58),x=n(269),S=n(1044),_=n(29),O=n(43);function M(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var k=n(206),E=n(284),C=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return r=e,void((n=t).classList?n.classList.remove(r):"string"===typeof n.className?n.className=M(n.className,r):n.setAttribute("class",M(n.className&&n.className.baseVal||"",r)));var n,r}))},T=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i *":{position:"absolute",top:0,right:0,left:0}},"slideEnter-left":{willChange:"transform",transform:"translate(100%)"},"slideEnter-right":{willChange:"transform",transform:"translate(-100%)"},slideEnterActive:{transform:"translate(0%)",transition:e},slideExit:{transform:"translate(0%)"},"slideExitActiveLeft-left":{willChange:"transform",transform:"translate(-200%)",transition:e},"slideExitActiveLeft-right":{willChange:"transform",transform:"translate(200%)",transition:e}}}),{name:"MuiPickersSlideTransition"}),L=function(t){var e=t.children,n=t.transKey,i=t.slideDirection,o=t.className,s=void 0===o?null:o,l=N(),c={exit:l.slideExit,enterActive:l.slideEnterActive,enter:l["slideEnter-"+i],exitActive:l["slideExitActiveLeft-"+i]};return Object(r.createElement)(S.a,{className:Object(a.a)(l.transitionContainer,s),childFactory:function(t){return Object(r.cloneElement)(t,{classNames:c})}},Object(r.createElement)(A,{mountOnEnter:!0,unmountOnExit:!0,key:n+i,timeout:350,classNames:c,children:e}))},F=Object(u.a)((function(t){return{switchHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:t.spacing(.5),marginBottom:t.spacing(1)},transitionContainer:{width:"100%",overflow:"hidden",height:23},iconButton:{zIndex:1,backgroundColor:t.palette.background.paper},daysHeader:{display:"flex",justifyContent:"center",alignItems:"center",maxHeight:16},dayLabel:{width:36,margin:"0 2px",textAlign:"center",color:t.palette.text.hint}}}),{name:"MuiPickersCalendarHeader"}),B=function(t){var e=t.currentMonth,n=t.onMonthChange,i=t.leftArrowIcon,a=t.rightArrowIcon,l=t.leftArrowButtonProps,u=t.rightArrowButtonProps,f=t.disablePrevMonth,d=t.disableNextMonth,g=t.slideDirection,m=Object(o.b)(),v=F(),b="rtl"===Object(h.a)().direction;return Object(r.createElement)("div",null,Object(r.createElement)("div",{className:v.switchHeader},Object(r.createElement)(p.a,Object(s.a)({},l,{disabled:f,onClick:function(){return n(m.getPreviousMonth(e),"right")},className:v.iconButton}),b?a:i),Object(r.createElement)(L,{slideDirection:g,transKey:e.toString(),className:v.transitionContainer},Object(r.createElement)(c.a,{align:"center",variant:"body1"},m.getCalendarHeaderText(e))),Object(r.createElement)(p.a,Object(s.a)({},u,{disabled:d,onClick:function(){return n(m.getNextMonth(e),"left")},className:v.iconButton}),b?i:a)),Object(r.createElement)("div",{className:v.daysHeader},m.getWeekdays().map((function(t,e){return Object(r.createElement)(c.a,{key:e,variant:"caption",className:v.dayLabel},t)}))))};B.displayName="CalendarHeader",B.defaultProps={leftArrowIcon:Object(r.createElement)((function(t){return i.a.createElement(g.a,t,i.a.createElement("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),i.a.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}))}),null),rightArrowIcon:Object(r.createElement)((function(t){return i.a.createElement(g.a,t,i.a.createElement("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),i.a.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}))}),null),disablePrevMonth:!1,disableNextMonth:!1};var H=function(t){var e=t.onKeyDown;return Object(r.useEffect)((function(){return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[e]),null},z=function(t){function e(){var t,n;Object(m.a)(this,e);for(var i=arguments.length,o=new Array(i),a=0;a1&&void 0!==arguments[1])||arguments[1],r=n.props,i=r.date,o=r.utils;n.props.onChange(o.mergeDateAndTime(t,i),e)},n.moveToDay=function(t){var e=n.props.utils;t&&!n.shouldDisableDate(t)&&(e.getMonth(t)!==e.getMonth(n.state.currentMonth)&&n.handleChangeMonth(e.startOfMonth(t),"left"),n.handleDaySelect(t,!1))},n.handleKeyDown=function(t){var e=n.props,r=e.theme,i=e.date,o=e.utils;Object(d.g)(t,{ArrowUp:function(){return n.moveToDay(o.addDays(i,-7))},ArrowDown:function(){return n.moveToDay(o.addDays(i,7))},ArrowLeft:function(){return n.moveToDay(o.addDays(i,"ltr"===r.direction?-1:1))},ArrowRight:function(){return n.moveToDay(o.addDays(i,"ltr"===r.direction?1:-1))}})},n.renderWeeks=function(){var t=n.props,e=t.utils,i=t.classes;return e.getWeekArray(n.state.currentMonth).map((function(t){return Object(r.createElement)("div",{key:"week-".concat(t[0].toString()),className:i.week},n.renderDays(t))}))},n.renderDays=function(t){var e=n.props,i=e.date,o=e.renderDay,a=e.utils,s=a.date(),l=a.startOfDay(i),c=a.getMonth(n.state.currentMonth);return t.map((function(t){var e=n.shouldDisableDate(t),i=a.getMonth(t)===c,u=Object(r.createElement)(x.a,{disabled:e,current:a.isSameDay(t,s),hidden:!i,selected:a.isSameDay(l,t)},a.getDayText(t));return o&&(u=o(t,l,i,u)),Object(r.createElement)(D,{value:t,key:t.toString(),disabled:e,dayInCurrentMonth:i,onSelect:n.handleDaySelect},u)}))},n}return Object(w.a)(e,t),Object(v.a)(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.date,n=t.minDate,r=t.maxDate,i=t.utils,o=t.disablePast,a=t.disableFuture;if(this.shouldDisableDate(e)){var s=function(t){var e=t.date,n=t.utils,r=t.minDate,i=t.maxDate,o=t.disableFuture,a=t.disablePast,s=t.shouldDisableDate,l=n.startOfDay(n.date());a&&n.isBefore(r,l)&&(r=l),o&&n.isAfter(i,l)&&(i=l);var c=e,u=e;for(n.isBefore(e,r)&&(c=n.date(r),u=null),n.isAfter(e,i)&&(u&&(u=n.date(i)),c=null);c||u;){if(c&&n.isAfter(c,i)&&(c=null),u&&n.isBefore(u,r)&&(u=null),c){if(!s(c))return c;c=n.addDays(c,1)}if(u){if(!s(u))return u;u=n.addDays(u,-1)}}return n.date()}({date:e,utils:i,minDate:i.date(n),maxDate:i.date(r),disablePast:Boolean(o),disableFuture:Boolean(a),shouldDisableDate:this.shouldDisableDate});this.handleDaySelect(s,!1)}}},{key:"render",value:function(){var t=this.state,e=t.currentMonth,n=t.slideDirection,i=this.props,o=i.classes,a=i.allowKeyboardControl,s=i.leftArrowButtonProps,l=i.leftArrowIcon,c=i.rightArrowButtonProps,u=i.rightArrowIcon,h=i.loadingIndicator,f=h||Object(r.createElement)(P.a,null);return Object(r.createElement)(r.Fragment,null,a&&"static"!==this.context&&Object(r.createElement)(H,{onKeyDown:this.handleKeyDown}),Object(r.createElement)(B,{currentMonth:e,slideDirection:n,onMonthChange:this.handleChangeMonth,leftArrowIcon:l,leftArrowButtonProps:s,rightArrowIcon:u,rightArrowButtonProps:c,disablePrevMonth:this.shouldDisablePrevMonth(),disableNextMonth:this.shouldDisableNextMonth()}),Object(r.createElement)(L,{slideDirection:n,transKey:e.toString(),className:o.transitionContainer},Object(r.createElement)(r.Fragment,null,this.state.loadingQueue>0&&Object(r.createElement)("div",{className:o.progressContainer},f)||Object(r.createElement)("div",null,this.renderWeeks()))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.utils,r=t.date;if(!n.isEqual(r,e.lastDate)){var i=n.getMonth(r),o=e.lastDate||r,a=n.getMonth(o);return{lastDate:r,currentMonth:t.utils.startOfMonth(r),slideDirection:i===a?e.slideDirection:n.isAfterDay(r,o)?"left":"right"}}return null}}]),e}(r.Component);z.contextType=d.b,z.defaultProps={minDate:new Date("1900-01-01"),maxDate:new Date("2100-01-01"),disablePast:!1,disableFuture:!1,allowKeyboardControl:!0};var V=Object(f.a)((function(t){return{transitionContainer:{minHeight:216,marginTop:t.spacing(1.5)},progressContainer:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},week:{display:"flex",justifyContent:"center"}}}),{name:"MuiPickersCalendar",withTheme:!0})(function(t){var e=function(e){var n=Object(o.b)();return Object(r.createElement)(t,Object(s.a)({utils:n},e))};return e.displayName="WithUtils(".concat(t.displayName||t.name,")"),e}(z))},,,,,function(t,e,n){var r=n(625),i=n(630);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(406),i=n(657),o=n(211);t.exports=function(t){return o(t)?r(t):i(t)}},function(t,e,n){"use strict";var r=n(253),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=h;var o=Object.create(n(216));o.inherits=n(41);var a=n(430),s=n(327);o.inherits(h,a);for(var l=i(s.prototype),c=0;c1&&void 0!==arguments[1]&&arguments[1];return t&&(r(t.value)&&""!==t.value||e&&r(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(1),i=(n(14),n(72)),o=n(2),a=n(4),s=n(106),l=n(105),c=(n(50),n(32),n(57),n(48),n(58),n(79)),u={0:[0,40],1:[55,19.6],2:[94.4,59.5],3:[109,114],4:[94.4,168.5],5:[54.5,208.4],6:[0,223],7:[-54.5,208.4],8:[-94.4,168.5],9:[-109,114],10:[-94.4,59.5],11:[-54.5,19.6],12:[0,5],13:[36.9,49.9],14:[64,77],15:[74,114],16:[64,151],17:[37,178],18:[0,188],19:[-37,178],20:[-64,151],21:[-74,114],22:[-64,77],23:[-37,50]},h=Object(l.a)((function(t){var e=t.spacing(4);return{clockNumber:{width:e,height:32,userSelect:"none",position:"absolute",left:"calc((100% - ".concat("number"===typeof e?"".concat(e,"px"):e,") / 2)"),display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:"light"===t.palette.type?t.palette.text.primary:t.palette.text.hint},clockNumberSelected:{color:t.palette.primary.contrastText}}}),{name:"MuiPickersClockNumber"}),f=function(t){var e=t.selected,n=t.label,i=t.index,a=t.isInner,l=h(),c=Object(o.a)(l.clockNumber,e&&l.clockNumberSelected),f=Object(r.useMemo)((function(){var t=u[i];return{transform:"translate(".concat(t[0],"px, ").concat(t[1],"px")}}),[i]);return Object(r.createElement)(s.a,{component:"span",className:c,variant:a?"body2":"body1",style:f,children:n})},d=function(t){for(var e=t.ampm,n=t.utils,i=t.date,o=n.getHours(i),s=[],l=e?12:23,c=function(t){return e?12===t?12===o||0===o:o===t||o-12===t:o===t},u=e?1:0;u<=l;u+=1){var h=u.toString();0===u&&(h="00");var d={index:u,label:n.formatNumber(h),selected:c(u),isInner:!e&&(0===u||u>12)};s.push(Object(r.createElement)(f,Object(a.a)({key:u},d)))}return s},p=function(t){var e=t.value,n=t.utils.formatNumber;return[Object(r.createElement)(f,{label:n("00"),selected:0===e,index:12,key:12}),Object(r.createElement)(f,{label:n("05"),selected:5===e,index:1,key:1}),Object(r.createElement)(f,{label:n("10"),selected:10===e,index:2,key:2}),Object(r.createElement)(f,{label:n("15"),selected:15===e,index:3,key:3}),Object(r.createElement)(f,{label:n("20"),selected:20===e,index:4,key:4}),Object(r.createElement)(f,{label:n("25"),selected:25===e,index:5,key:5}),Object(r.createElement)(f,{label:n("30"),selected:30===e,index:6,key:6}),Object(r.createElement)(f,{label:n("35"),selected:35===e,index:7,key:7}),Object(r.createElement)(f,{label:n("40"),selected:40===e,index:8,key:8}),Object(r.createElement)(f,{label:n("45"),selected:45===e,index:9,key:9}),Object(r.createElement)(f,{label:n("50"),selected:50===e,index:10,key:10}),Object(r.createElement)(f,{label:n("55"),selected:55===e,index:11,key:11})]},g=function(t){var e=t.type,n=t.onHourChange,o=t.onMinutesChange,s=t.onSecondsChange,l=t.ampm,u=t.date,h=t.minutesStep,f=Object(i.b)(),g=Object(r.useMemo)((function(){switch(e){case c.b.HOURS:return{value:f.getHours(u),children:d({date:u,utils:f,ampm:Boolean(l)}),onChange:function(t,e){var r=Object(c.d)(u,f),i=Object(c.c)(f.setHours(u,t),r,Boolean(l),f);n(i,e)}};case c.b.MINUTES:var t=f.getMinutes(u);return{value:t,children:p({value:t,utils:f}),onChange:function(t,e){var n=f.setMinutes(u,t);o(n,e)}};case c.b.SECONDS:var r=f.getSeconds(u);return{value:r,children:p({value:r,utils:f}),onChange:function(t,e){var n=f.setSeconds(u,t);s(n,e)}};default:throw new Error("You must provide the type for TimePickerView")}}),[l,u,n,o,s,e,f]);return Object(r.createElement)(c.a,Object(a.a)({type:e,ampm:l,minutesStep:h},g))};g.displayName="TimePickerView",g.defaultProps={ampm:!0,minutesStep:1};Object(r.memo)(g)},function(t,e,n){"use strict";function r(){for(var t=0,e=0,n=arguments.length;e=(null!==r&&void 0!==r?r:e.logLevel)&&t({level:o[n].toLowerCase(),message:s,args:i,type:e.name})}},r=0,i=a;ro)throw new RangeError("requested too many random bytes");var n=a.allocUnsafe(t);if(t>0)if(t>i)for(var l=0;l2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,i,a,s;if("string"===typeof e&&(i="not ",e.substr(!a||a<0?0:+a,i.length)===i)?(r="must not be",e=e.replace(/^not /,"")):r="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))s="The ".concat(t," ").concat(r," ").concat(o(e,"type"));else{var l=function(t,e,n){return"number"!==typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(l," ").concat(r," ").concat(o(e,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r},function(t,e,n){"use strict";(function(e){var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var i=n(421),o=n(425);n(41)(c,i);for(var a=r(o.prototype),s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},function(t,e,n){var r=n(480),i=n(481);t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,l=e.length;++s{let n=Object(o.c)(d,h,e);return e===n&&"string"===typeof e&&(n=Object(o.c)(d,h,"".concat(t).concat("default"===e?"":Object(r.a)(e)),e)),!1===c?n:{[c]:n}}))}return function e(n){var r;const{sx:o,theme:l={}}=n||{};if(!o)return null;const c=null!=(r=l.unstable_sxConfig)?r:s.a;function u(n){let r=n;if("function"===typeof n)r=n(l);else if("object"!==typeof n)return n;if(!r)return null;const o=Object(a.a)(l.breakpoints),s=Object.keys(o);let u=o;return Object.keys(r).forEach((n=>{const o=(s=r[n],h=l,"function"===typeof s?s(h):s);var s,h;if(null!==o&&void 0!==o)if("object"===typeof o)if(c[n])u=Object(i.a)(u,t(n,o,l,c));else{const t=Object(a.b)({theme:l},o,(t=>({[n]:t})));!function(){for(var t=arguments.length,e=new Array(t),n=0;nt.concat(Object.keys(e))),[]),i=new Set(r);return e.every((t=>i.size===Object.keys(t).length))}(t,o)?u=Object(i.a)(u,t):u[n]=e({sx:o,theme:l})}else u=Object(i.a)(u,t(n,o,l,c))})),Object(a.c)(s,u)}return Array.isArray(o)?o.map(u):u(o)}}const c=l();c.filterProps=["sx"],e.a=c},function(t,e,n){!function(t,e){t((function(){"use strict";var t,n={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b(?!\\))",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},r=Object.prototype.hasOwnProperty;function i(t,e){return null!=t&&null!=e&&t.toLowerCase()===e.toLowerCase()}function o(t,e){var n,r,i=t.length;if(!i||!e)return!1;for(n=e.toLowerCase(),r=0;r=0&&(o=o.substring(0,c)+"([\\w._\\+]+)"+o.substring(c+5)),i[s]=new RegExp(o,"i");u.props[e]=i}a(u.oss),a(u.phones),a(u.tablets),a(u.uas),a(u.utils),u.oss0={WindowsPhoneOS:u.oss.WindowsPhoneOS,WindowsMobileOS:u.oss.WindowsMobileOS}}(),n.findMatch=function(t,e){for(var n in t)if(r.call(t,n)&&t[n].test(e))return n;return null},n.findMatches=function(t,e){var n=[];for(var i in t)r.call(t,i)&&t[i].test(e)&&n.push(i);return n},n.getVersionStr=function(t,e){var i,o,a,s,l=n.mobileDetectRules.props;if(r.call(l,t))for(a=(i=l[t]).length,o=0;o1&&(t=e[0]+".",e.shift(),t+=e.join("")),Number(t)},n.isMobileFallback=function(t){return n.detectMobileBrowsers.fullPattern.test(t)||n.detectMobileBrowsers.shortPattern.test(t.substr(0,4))},n.isTabletFallback=function(t){return n.detectMobileBrowsers.tabletPattern.test(t)},n.prepareDetectionCache=function(t,r,i){if(t.mobile===e){var o,a,l;if(a=n.findMatch(n.mobileDetectRules.tablets,r))return t.mobile=t.tablet=a,void(t.phone=null);if(o=n.findMatch(n.mobileDetectRules.phones,r))return t.mobile=t.phone=o,void(t.tablet=null);n.isMobileFallback(r)?(l=s.isPhoneSized(i))===e?(t.mobile=n.FALLBACK_MOBILE,t.tablet=t.phone=null):l?(t.mobile=t.phone=n.FALLBACK_PHONE,t.tablet=null):(t.mobile=t.tablet=n.FALLBACK_TABLET,t.phone=null):n.isTabletFallback(r)?(t.mobile=t.tablet=n.FALLBACK_TABLET,t.phone=null):t.mobile=t.tablet=t.phone=null}},n.mobileGrade=function(t){var e=null!==t.mobile();return t.os("iOS")&&t.version("iPad")>=4.3||t.os("iOS")&&t.version("iPhone")>=3.1||t.os("iOS")&&t.version("iPod")>=3.1||t.version("Android")>2.1&&t.is("Webkit")||t.version("Windows Phone OS")>=7||t.is("BlackBerry")&&t.version("BlackBerry")>=6||t.match("Playbook.*Tablet")||t.version("webOS")>=1.4&&t.match("Palm|Pre|Pixi")||t.match("hp.*TouchPad")||t.is("Firefox")&&t.version("Firefox")>=12||t.is("Chrome")&&t.is("AndroidOS")&&t.version("Android")>=4||t.is("Skyfire")&&t.version("Skyfire")>=4.1&&t.is("AndroidOS")&&t.version("Android")>=2.3||t.is("Opera")&&t.version("Opera Mobi")>11&&t.is("AndroidOS")||t.is("MeeGoOS")||t.is("Tizen")||t.is("Dolfin")&&t.version("Bada")>=2||(t.is("UC Browser")||t.is("Dolfin"))&&t.version("Android")>=2.3||t.match("Kindle Fire")||t.is("Kindle")&&t.version("Kindle")>=3||t.is("AndroidOS")&&t.is("NookTablet")||t.version("Chrome")>=11&&!e||t.version("Safari")>=5&&!e||t.version("Firefox")>=4&&!e||t.version("MSIE")>=7&&!e||t.version("Opera")>=10&&!e?"A":t.os("iOS")&&t.version("iPad")<4.3||t.os("iOS")&&t.version("iPhone")<3.1||t.os("iOS")&&t.version("iPod")<3.1||t.is("Blackberry")&&t.version("BlackBerry")>=5&&t.version("BlackBerry")<6||t.version("Opera Mini")>=5&&t.version("Opera Mini")<=6.5&&(t.version("Android")>=2.3||t.is("iOS"))||t.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||t.version("Opera Mobi")>=11&&t.is("SymbianOS")?"B":(t.version("BlackBerry")<5||t.match("MSIEMobile|Windows CE.*Mobile")||t.version("Windows Mobile"),"C")},n.detectOS=function(t){return n.findMatch(n.mobileDetectRules.oss0,t)||n.findMatch(n.mobileDetectRules.oss,t)},n.getDeviceSmallerSide=function(){return window.screen.width{e[n]=o(t[n])})),e}function a(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const s=n.clone?Object(r.a)({},t):t;return i(t)&&i(e)&&Object.keys(e).forEach((r=>{"__proto__"!==r&&(i(e[r])&&r in t&&i(t[r])?s[r]=a(t[r],e[r],n):n.clone?s[r]=i(e[r])?o(e[r]):e[r]:s[r]=e[r])})),s}},function(t,e,n){"use strict";e.a={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},function(t,e,n){"use strict";e.a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"}},function(t,e,n){"use strict";e.a={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"}},function(t,e,n){"use strict";e.a={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},function(t,e,n){"use strict";e.a={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},function(t,e,n){"use strict";e.a={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},function(t,e,n){"use strict";e.a={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(276),i={notify:function(){}};var o=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=i,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var t=Object(r.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)}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},t}()},function(t,e,n){"use strict";var r=n(4),i=n(51),o=n(9),a=n(1),s=(n(14),n(2)),l=n(125),c=n(102),u=n(18),h=n(374),f=a.forwardRef((function(t,e){var n=t.autoFocus,u=t.checked,f=t.checkedIcon,d=t.classes,p=t.className,g=t.defaultChecked,m=t.disabled,v=t.icon,b=t.id,y=t.inputProps,w=t.inputRef,x=t.name,S=t.onBlur,_=t.onChange,O=t.onFocus,M=t.readOnly,k=t.required,E=t.tabIndex,C=t.type,T=t.value,A=Object(o.a)(t,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),P=Object(l.a)({controlled:u,default:Boolean(g),name:"SwitchBase",state:"checked"}),I=Object(i.a)(P,2),j=I[0],R=I[1],D=Object(c.a)(),N=m;D&&"undefined"===typeof N&&(N=D.disabled);var L="checkbox"===C||"radio"===C;return a.createElement(h.a,Object(r.a)({component:"span",className:Object(s.a)(d.root,p,j&&d.checked,N&&d.disabled),disabled:N,tabIndex:null,role:void 0,onFocus:function(t){O&&O(t),D&&D.onFocus&&D.onFocus(t)},onBlur:function(t){S&&S(t),D&&D.onBlur&&D.onBlur(t)},ref:e},A),a.createElement("input",Object(r.a)({autoFocus:n,checked:u,defaultChecked:g,className:d.input,disabled:N,id:L&&b,name:x,onChange:function(t){var e=t.target.checked;R(e),_&&_(t,e)},readOnly:M,ref:w,required:k,tabIndex:E,type:C,value:T},y)),j?f:v)}));e.a=Object(u.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(f)},function(t,e,n){"use strict";var r=Number.isNaN||function(t){return"number"===typeof t&&t!==t};function i(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(e),_=t.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:d[200],light:d[50],dark:d[400]}:{main:d[500],light:d[300],dark:d[700]}}(e),O=t.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[500],light:p[300],dark:p[700]}:{main:p[700],light:p[400],dark:p[800]}}(e),M=t.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(e),k=t.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[800],light:b[500],dark:b[900]}}(e),E=t.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(e);function C(t){return Object(u.getContrastRatio)(t,x.text.primary)>=n?x.text.primary:w.text.primary}const T=t=>{let{color:e,name:n,mainShade:i=500,lightShade:a=300,darkShade:l=700}=t;if(e=Object(r.a)({},e),!e.main&&e[i]&&(e.main=e[i]),!e.hasOwnProperty("main"))throw new Error(Object(o.a)(11,n?" (".concat(n,")"):"",i));if("string"!==typeof e.main)throw new Error(Object(o.a)(12,n?" (".concat(n,")"):"",JSON.stringify(e.main)));return S(e,"light",a,s),S(e,"dark",l,s),e.contrastText||(e.contrastText=C(e.main)),e},A={dark:x,light:w};return Object(a.a)(Object(r.a)({common:Object(r.a)({},h),mode:e,primary:T({color:c,name:"primary"}),secondary:T({color:_,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:T({color:O,name:"error"}),warning:T({color:E,name:"warning"}),info:T({color:M,name:"info"}),success:T({color:k,name:"success"}),grey:f,contrastThreshold:n,getContrastText:C,augmentColor:T,tonalOffset:s},A[e]),l)}const O=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const M={textTransform:"uppercase"},k='"Roboto", "Helvetica", "Arial", sans-serif';function E(t,e){const n="function"===typeof e?e(t):e,{fontFamily:o=k,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:h=700,htmlFontSize:f=16,allVariants:d,pxToRem:p}=n,g=Object(i.a)(n,O);const m=s/14,v=p||(t=>"".concat(t/f*m,"rem")),b=(t,e,n,i,a)=>{return Object(r.a)({fontFamily:o,fontWeight:t,fontSize:v(e),lineHeight:n},o===k?{letterSpacing:"".concat((s=i/e,Math.round(1e5*s)/1e5),"em")}:{},a,d);var s},y={h1:b(l,96,1.167,-1.5),h2:b(l,60,1.2,-.5),h3:b(c,48,1.167,0),h4:b(c,34,1.235,.25),h5:b(c,24,1.334,0),h6:b(u,20,1.6,.15),subtitle1:b(c,16,1.75,.15),subtitle2:b(u,14,1.57,.1),body1:b(c,16,1.5,.15),body2:b(c,14,1.43,.15),button:b(u,14,1.75,.4,M),caption:b(c,12,1.66,.4),overline:b(c,12,2.66,1,M),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Object(a.a)(Object(r.a)({htmlFontSize:f,pxToRem:v,fontFamily:o,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:h},y),g,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var T=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],A=n(294);var P={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const I=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function j(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:e={},palette:n={},transitions:u={},typography:h={}}=t,f=Object(i.a)(t,I);if(t.vars)throw new Error(Object(o.a)(18));const d=_(n),p=Object(c.a)(t);let g=Object(a.a)(p,{mixins:(m=p.breakpoints,v=e,Object(r.a)({toolbar:{minHeight:56,[m.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[m.up("sm")]:{minHeight:64}}},v)),palette:d,shadows:T.slice(),typography:E(d,h),transitions:Object(A.a)(u),zIndex:Object(r.a)({},P)});var m,v;g=Object(a.a)(g,f);for(var b=arguments.length,y=new Array(b>1?b-1:0),w=1;wObject(a.a)(t,e)),g),g.unstable_sxConfig=Object(r.a)({},s.a,null==f?void 0:f.unstable_sxConfig),g.unstable_sx=function(t){return Object(l.a)({sx:t,theme:this})},g}const R=j();e.a=R},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(4),i=n(1),o=n(29),a=n(74),s=n(1023),l=n(113),c=n(126),u=n(89),h=n(1024),f=n(925);function d(t){return Object(f.a)("MuiSvgIcon",t)}Object(h.a)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=n(0);const g=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=Object(u.a)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,"inherit"!==n.color&&e["color".concat(Object(l.a)(n.color))],e["fontSize".concat(Object(l.a)(n.fontSize))]]}})((t=>{let{theme:e,ownerState:n}=t;var r,i,o,a,s,l,c,u,h,f,d,p,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(i=r.create)?void 0:i.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(c=l.pxToRem)?void 0:c.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(h=u.pxToRem)?void 0:h.call(u,35))||"2.1875rem"}[n.fontSize],color:null!=(f=null==(d=(e.vars||e).palette)||null==(d=d[n.color])?void 0:d.main)?f:{action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(g=(e.vars||e).palette)||null==(g=g.action)?void 0:g.disabled,inherit:void 0}[n.color]}})),v=i.forwardRef((function(t,e){const n=Object(c.a)({props:t,name:"MuiSvgIcon"}),{children:u,className:h,color:f="inherit",component:v="svg",fontSize:b="medium",htmlColor:y,inheritViewBox:w=!1,titleAccess:x,viewBox:S="0 0 24 24"}=n,_=Object(o.a)(n,g),O=i.isValidElement(u)&&"svg"===u.type,M=Object(r.a)({},n,{color:f,component:v,fontSize:b,instanceFontSize:t.fontSize,inheritViewBox:w,viewBox:S,hasSvgAsChild:O}),k={};w||(k.viewBox=S);const E=(t=>{const{color:e,fontSize:n,classes:r}=t,i={root:["root","inherit"!==e&&"color".concat(Object(l.a)(e)),"fontSize".concat(Object(l.a)(n))]};return Object(s.a)(i,d,r)})(M);return Object(p.jsxs)(m,Object(r.a)({as:v,className:Object(a.a)(E.root,h),focusable:"false",color:y,"aria-hidden":!x||void 0,role:x?"img":void 0,ref:e},k,_,O&&u.props,{ownerState:M,children:[O?u.props.children:u,x?Object(p.jsx)("title",{children:x}):null]}))}));v.muiName="SvgIcon";var b=v;function y(t,e){function n(n,i){return Object(p.jsx)(b,Object(r.a)({"data-testid":"".concat(e,"Icon"),ref:i},n,{children:t}))}return n.muiName=b.muiName,i.memo(i.forwardRef(n))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return st}));var r=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e2||L(T)>3?"":" "}function V(t,e){for(;--e&&j()&&!(T<48||T>102||T>57&&T<65||T>70&&T<97););return N(t,D()+(e<6&&32==R()&&32==j()))}function W(t){for(;j();)switch(T){case t:return C;case 34:case 39:34!==t&&39!==t&&W(T);break;case 40:41===t&&W(t);break;case 92:j()}return C}function U(t,e){for(;j()&&t+T!==57&&(t+T!==84||47!==R()););return"/*"+N(e,C-1)+"*"+f(47===t?t:j())}function Y(t){for(;!L(R());)j();return N(t,C)}function G(t){return B(X("",null,null,null,[""],t=F(t),0,[0],t))}function X(t,e,n,r,i,o,a,s,l){for(var c=0,u=0,h=a,d=0,p=0,g=0,m=1,w=1,S=1,O=0,E="",P=i,I=o,N=r,L=E;w;)switch(g=O,O=j()){case 40:if(108!=g&&58==y(L,h-1)){-1!=b(L+=v(H(O),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:L+=H(O);break;case 9:case 10:case 13:case 32:L+=z(g);break;case 92:L+=V(D()-1,7);continue;case 47:switch(R()){case 42:case 47:_($(U(j(),D()),e,n),l);break;default:L+="/"}break;case 123*m:s[c++]=x(L)*S;case 125*m:case 59:case 0:switch(O){case 0:case 125:w=0;case 59+u:-1==S&&(L=v(L,/\f/g,"")),p>0&&x(L)-h&&_(p>32?K(L+";",r,n,h-1):K(v(L," ","")+";",r,n,h-2),l);break;case 59:L+=";";default:if(_(N=q(L,e,n,c,u,i,s,E,P=[],I=[],h),o),123===O)if(0===u)X(L,e,N,N,P,o,h,s,I);else switch(99===d&&110===y(L,3)?100:d){case 100:case 108:case 109:case 115:X(t,N,N,r&&_(q(t,N,N,0,0,i,s,E,i,P=[],h),I),i,I,h,s,r?P:I);break;default:X(L,N,N,N,[""],I,0,s,I)}}c=u=p=0,m=S=1,E=L="",h=a;break;case 58:h=1+x(L),p=g;default:if(m<1)if(123==O)--m;else if(125==O&&0==m++&&125==(T=C>0?y(A,--C):0,k--,10===T&&(k=1,M--),T))continue;switch(L+=f(O),O*m){case 38:S=u>0?1:(L+="\f",-1);break;case 44:s[c++]=(x(L)-1)*S,S=1;break;case 64:45===R()&&(L+=H(j())),d=R(),u=h=x(E=L+=Y(D())),O++;break;case 45:45===g&&2==x(L)&&(m=0)}}return o}function q(t,e,n,r,i,o,a,s,c,u,f){for(var d=i-1,p=0===i?o:[""],m=S(p),b=0,y=0,x=0;b0?p[_]+" "+O:v(O,/&\f/g,p[_])))&&(c[x++]=M);return P(t,e,n,0===i?l:s,c,u,f)}function $(t,e,n){return P(t,e,n,s,f(T),w(t,2,-2),0)}function K(t,e,n,r){return P(t,e,n,c,w(t,0,r),w(t,r+1,-1),r)}function Z(t,e){for(var n="",r=S(t),i=0;i6)switch(y(t,e+1)){case 109:if(45!==y(t,e+4))break;case 102:return v(t,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==y(t,e+3)?"$3":"$2-$3"))+t;case 115:return~b(t,"stretch")?ot(v(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==y(t,e+1))break;case 6444:switch(y(t,x(t)-3-(~b(t,"!important")&&10))){case 107:return v(t,":",":"+a)+t;case 101:return v(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===y(t,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+i+"$2box$3")+t}break;case 5936:switch(y(t,e+11)){case 114:return a+t+i+v(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a+t+i+v(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a+t+i+v(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return a+t+i+t+t}return t}var at=[function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case c:t.return=ot(t.value,t.length);break;case u:return Z([I(t,{value:v(t.value,"@","@"+a)})],r);case l:if(t.length)return O(t.props,(function(e){switch(m(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Z([I(t,{props:[v(e,/:(read-\w+)/,":"+o+"$1")]})],r);case"::placeholder":return Z([I(t,{props:[v(e,/:(plac\w+)/,":"+a+"input-$1")]}),I(t,{props:[v(e,/:(plac\w+)/,":"+o+"$1")]}),I(t,{props:[v(e,/:(plac\w+)/,i+"input-$1")]})],r)}return""}))}}],st=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var i=t.stylisPlugins||at;var o,a,s={},l=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n{"use strict";const t="object"===typeof window?window:this;t.HTMLElement||console.warn("streamsaver is meant to run on browsers main thread");let e=null,n=!1;const r=t.WebStreamsPolyfill||{},i=t.isSecureContext;let o=/constructor/i.test(t.HTMLElement)||!!t.safari||!!t.WebKitPoint;const a=i||"MozAppearance"in document.documentElement.style?"iframe":"navigate",s={createWriteStream:function(r,c,u){let h={size:null,pathname:null,writableStrategy:void 0,readableStrategy:void 0},f=0,d=null,p=null,g=null;if(Number.isFinite(c)?([u,c]=[c,u],console.warn("[StreamSaver] Deprecated pass an object as 2nd argument when creating a write stream"),h.size=u,h.writableStrategy=c):c&&c.highWaterMark?(console.warn("[StreamSaver] Deprecated pass an object as 2nd argument when creating a write stream"),h.size=u,h.writableStrategy=c):h=c||{},!o){e||(e=i?l(s.mitm):function(e){const n="width=200,height=100",r=document.createDocumentFragment(),i={frame:t.open(e,"popup",n),loaded:!1,isIframe:!1,isPopup:!0,remove(){i.frame.close()},addEventListener(){r.addEventListener(...arguments)},dispatchEvent(){r.dispatchEvent(...arguments)},removeEventListener(){r.removeEventListener(...arguments)},postMessage(){i.frame.postMessage(...arguments)}},o=e=>{e.source===i.frame&&(i.loaded=!0,t.removeEventListener("message",o),i.dispatchEvent(new Event("load")))};return t.addEventListener("message",o),i}(s.mitm)),p=new MessageChannel,r=encodeURIComponent(r.replace(/\//g,":")).replace(/['()]/g,escape).replace(/\*/g,"%2A");const o={transferringReadable:n,pathname:h.pathname||Math.random().toString().slice(-6)+"/"+r,headers:{"Content-Type":"application/octet-stream; charset=utf-8","Content-Disposition":"attachment; filename*=UTF-8''"+r}};h.size&&(o.headers["Content-Length"]=h.size);const c=[o,"*",[p.port2]];if(n){const t="iframe"===a?void 0:{transform(t,e){if(!(t instanceof Uint8Array))throw new TypeError("Can only write Uint8Arrays");f+=t.length,e.enqueue(t),d&&(location.href=d,d=null)},flush(){d&&(location.href=d)}};g=new s.TransformStream(t,h.writableStrategy,h.readableStrategy);const e=g.readable;p.port1.postMessage({readableStream:e},[e])}p.port1.onmessage=t=>{t.data.download?"navigate"===a?(e.remove(),e=null,f?location.href=t.data.download:d=t.data.download):(e.isPopup&&(e.remove(),e=null,"iframe"===a&&l(s.mitm)),l(t.data.download)):t.data.abort&&(m=[],p.port1.postMessage("abort"),p.port1.onmessage=null,p.port1.close(),p.port2.close(),p=null)},e.loaded?e.postMessage(...c):e.addEventListener("load",(()=>{e.postMessage(...c)}),{once:!0})}let m=[];return!o&&g&&g.writable||new s.WritableStream({write(t){if(!(t instanceof Uint8Array))throw new TypeError("Can only write Uint8Arrays");o?m.push(t):(p.port1.postMessage(t),f+=t.length,d&&(location.href=d,d=null))},close(){if(o){const t=new Blob(m,{type:"application/octet-stream; charset=utf-8"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.download=r,e.click()}else p.port1.postMessage("end")},abort(){m=[],p.port1.postMessage("abort"),p.port1.onmessage=null,p.port1.close(),p.port2.close(),p=null}},h.writableStrategy)},WritableStream:t.WritableStream||r.WritableStream,supported:!0,version:{full:"2.0.5",major:2,minor:0,dot:5},mitm:"https://jimmywarting.github.io/StreamSaver.js/mitm.html?version=2.0.0"};function l(t){if(!t)throw new Error("meh");const e=document.createElement("iframe");return e.hidden=!0,e.src=t,e.loaded=!1,e.name="iframe",e.isIframe=!0,e.postMessage=function(){return e.contentWindow.postMessage(...arguments)},e.addEventListener("load",(()=>{e.loaded=!0}),{once:!0}),document.body.appendChild(e),e}try{new Response(new ReadableStream),i&&!("serviceWorker"in navigator)&&(o=!0)}catch(c){o=!0}return(t=>{try{t()}catch(e){}})((()=>{const{readable:t}=new TransformStream,e=new MessageChannel;e.port1.postMessage(t,[t]),e.port1.close(),e.port2.close(),n=!0,Object.defineProperty(s,"TransformStream",{configurable:!1,writable:!1,value:TransformStream})})),s},t.exports=r()},function(t,e,n){"use strict";var r=n(355);Object.defineProperty(e,"__esModule",{value:!0}),e.alpha=d,e.blend=function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const i=(t,e)=>Math.round((t**(1/r)*(1-n)+e**(1/r)*n)**r),o=l(t),a=l(e);return u({type:"rgb",values:[i(o.values[0],a.values[0]),i(o.values[1],a.values[1]),i(o.values[2],a.values[2])]})},e.colorChannel=void 0,e.darken=p,e.decomposeColor=l,e.emphasize=m,e.getContrastRatio=function(t,e){const n=f(t),r=f(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},e.getLuminance=f,e.hexToRgb=s,e.hslToRgb=h,e.lighten=g,e.private_safeAlpha=function(t,e,n){try{return d(t,e)}catch(r){return t}},e.private_safeColorChannel=void 0,e.private_safeDarken=function(t,e,n){try{return p(t,e)}catch(r){return t}},e.private_safeEmphasize=function(t,e,n){try{return m(t,e)}catch(r){return t}},e.private_safeLighten=function(t,e,n){try{return g(t,e)}catch(r){return t}},e.recomposeColor=u,e.rgbToHex=function(t){if(0===t.indexOf("#"))return t;const{values:e}=l(t);return"#".concat(e.map(((t,e)=>function(t){const e=t.toString(16);return 1===e.length?"0".concat(e):e}(3===e?Math.round(255*t):t))).join(""))};var i=r(n(222)),o=r(n(496));function a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,o.default)(t,e,n)}function s(t){t=t.slice(1);const e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g");let n=t.match(e);return n&&1===n[0].length&&(n=n.map((t=>t+t))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map(((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3)).join(", "),")"):""}function l(t){if(t.type)return t;if("#"===t.charAt(0))return l(s(t));const e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,i.default)(9,t));let r,o=t.substring(e+1,t.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,i.default)(10,r))}else o=o.split(",");return o=o.map((t=>parseFloat(t))),{type:n,values:o,colorSpace:r}}const c=t=>{const e=l(t);return e.values.slice(0,3).map(((t,n)=>-1!==e.type.indexOf("hsl")&&0!==n?"".concat(t,"%"):t)).join(" ")};e.colorChannel=c;function u(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return-1!==e.indexOf("rgb")?r=r.map(((t,e)=>e<3?parseInt(t,10):t)):-1!==e.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==e.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(e,"(").concat(r,")")}function h(t){t=l(t);const{values:e}=t,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),a=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return i-o*Math.max(Math.min(e-3,9-e,1),-1)};let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===t.type&&(s+="a",c.push(e[3])),u({type:s,values:c})}function f(t){let e="hsl"===(t=l(t)).type||"hsla"===t.type?l(h(t)).values:t.values;return e=e.map((e=>("color"!==t.type&&(e/=255),e<=.03928?e/12.92:((e+.055)/1.055)**2.4))),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function d(t,e){return t=l(t),e=a(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]="/".concat(e):t.values[3]=e,u(t)}function p(t,e){if(t=l(t),e=a(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return u(t)}function g(t,e){if(t=l(t),e=a(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return u(t)}function m(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return f(t)>.5?p(t,e):g(t,e)}e.private_safeColorChannel=(t,e)=>{try{return c(t)}catch(n){return t}}},function(t,e,n){"use strict";var r=n(29),i=n(43),o=(n(14),n(1)),a=n.n(o),s=n(38),l=n.n(s),c=!1,u=n(203),h=n(284),f="unmounted",d="exited",p="entering",g="entered",m="exiting",v=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=d,r.appearStatus=p):i=g:i=e.unmountOnExit||e.mountOnEnter?f:d,r.state={status:i},r.nextCallback=null,r}Object(i.a)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===f?{status:d}: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!==p&&n!==g&&(e=p):n!==p&&n!==g||(e=m)}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===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l.a.findDOMNode(this);n&&Object(h.a)(n)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:f})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,i=this.props.nodeRef?[r]:[l.a.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!t&&!n||c?this.safeSetState({status:g},(function(){e.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:p},(function(){e.props.onEntering(o,a),e.onTransitionEnd(u,(function(){e.safeSetState({status:g},(function(){e.props.onEntered(o,a)}))}))})))},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l.a.findDOMNode(this);e&&!c?(this.props.onExit(r),this.safeSetState({status:m},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:d},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:d},(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:l.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],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if(t===f)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,Object(r.a)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(u.a.Provider,{value:null},"function"===typeof n?n(t,i):a.a.cloneElement(a.a.Children.only(n),i))},e}(a.a.Component);function b(){}v.contextType=u.a,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},v.UNMOUNTED=f,v.EXITED=d,v.ENTERING=p,v.ENTERED=g,v.EXITING=m;e.a=v},function(t,e,n){"use strict";var r=n(9),i=n(4),o=n(1),a=(n(14),n(2)),s=n(18),l=o.forwardRef((function(t,e){var n=t.classes,s=t.className,l=t.component,c=void 0===l?"div":l,u=t.square,h=void 0!==u&&u,f=t.elevation,d=void 0===f?1:f,p=t.variant,g=void 0===p?"elevation":p,m=Object(r.a)(t,["classes","className","component","square","elevation","variant"]);return o.createElement(c,Object(i.a)({className:Object(a.a)(n.root,s,"outlined"===g?n.outlined:n["elevation".concat(d)],!h&&n.rounded),ref:e},m))}));e.a=Object(s.a)((function(t){var e={};return t.shadows.forEach((function(t,n){e["elevation".concat(n)]={boxShadow:t}})),Object(i.a)({root:{backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},rounded:{borderRadius:t.shape.borderRadius},outlined:{border:"1px solid ".concat(t.palette.divider)}},e)}),{name:"MuiPaper"})(l)},,,function(t,e){function n(e){return t.exports=n="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},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(398),i=n(316);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},function(t,e,n){"use strict";t.exports=n(690)},function(t,e,n){"use strict";var r=n(41),i=n(321),o=n(323),a=n(324),s=n(147);function l(t){s.call(this,"digest"),this._hash=t}r(l,s),l.prototype._update=function(t){this._hash.update(t)},l.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new l(a(t))}},function(t,e,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!==t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(n,r){function i(n){t.removeListener(e,o),r(n)}function o(){"function"===typeof t.removeListener&&t.removeListener("error",i),n([].slice.call(arguments))}v(t,e,o,{once:!0}),"error"!==e&&function(t,e,n){"function"===typeof t.on&&v(t,"error",e,n)}(t,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function h(t,e,n,r){var i,o,a,s;if(c(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"===typeof a?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(t))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return t}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[t];if(void 0===l)return!1;if("function"===typeof l)o(l,this,e);else{var c=l.length,u=m(l,c);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1=0;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},s.prototype.listenerCount=g,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){"use strict";var r=n(697).Buffer,i=r.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!==typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=u,this.end=h,e=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function a(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function u(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(t.lastNeed=i-1),i;if(--r=0)return i>0&&(t.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,n){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"===typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"===typeof t},e.isString=function(t){return"string"===typeof t},e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"===typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"===typeof t},e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=n(86).Buffer.isBuffer},function(t,e,n){(function(e){t.exports=function(t,n){for(var r=Math.min(t.length,n.length),i=new e(r),o=0;o=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o2?arguments[2]:{},o=r(e);i&&(o=a.call(o,Object.getOwnPropertySymbols(e)));for(var s=0;sMath.max(Math.min(t,n),e);function o(t){return i(r(2.55*t),0,255)}function a(t){return i(r(255*t),0,255)}function s(t){return i(r(t/2.55)/100,0,1)}function l(t){return i(r(100*t),0,100)}const c={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},u=[..."0123456789ABCDEF"],h=t=>u[15&t],f=t=>u[(240&t)>>4]+u[15&t],d=t=>(240&t)>>4===(15&t);function p(t){var e=(t=>d(t.r)&&d(t.g)&&d(t.b)&&d(t.a))(t)?h:f;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const g=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function m(t,e,n){const r=e*Math.min(n,1-n),i=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return n-r*Math.max(Math.min(i-3,9-i,1),-1)};return[i(0),i(8),i(4)]}function v(t,e,n){const r=function(r){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+t/60)%6;return n-n*e*Math.max(Math.min(i,4-i,1),0)};return[r(5),r(3),r(1)]}function b(t,e,n){const r=m(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function y(t){const e=t.r/255,n=t.g/255,r=t.b/255,i=Math.max(e,n,r),o=Math.min(e,n,r),a=(i+o)/2;let s,l,c;return i!==o&&(c=i-o,l=a>.5?c/(2-i-o):c/(i+o),s=function(t,e,n,r,i){return t===i?(e-n)/r+(e>16&255,o>>8&255,255&o]}return t}(),k.transparent=[0,0,0,0]);const e=k[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const C=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const T=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,A=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function P(t,e,n){if(t){let r=y(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=x(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function I(t,e){return t?Object.assign(e||{},t):t}function j(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=a(t[3]))):(e=I(t,{r:0,g:0,b:0,a:1})).a=a(e.a),e}function R(t){return"r"===t.charAt(0)?function(t){const e=C.exec(t);let n,r,a,s=255;if(e){if(e[7]!==n){const t=+e[7];s=e[8]?o(t):i(255*t,0,255)}return n=+e[1],r=+e[3],a=+e[5],n=255&(e[2]?o(n):i(n,0,255)),r=255&(e[4]?o(r):i(r,0,255)),a=255&(e[6]?o(a):i(a,0,255)),{r:n,g:r,b:a,a:s}}}(t):_(t)}class D{constructor(t){if(t instanceof D)return t;const e=typeof t;let n;"object"===e?n=j(t):"string"===e&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*c[t[1]],g:255&17*c[t[2]],b:255&17*c[t[3]],a:5===n?17*c[t[4]]:255}:7!==n&&9!==n||(e={r:c[t[1]]<<4|c[t[2]],g:c[t[3]]<<4|c[t[4]],b:c[t[5]]<<4|c[t[6]],a:9===n?c[t[7]]<<4|c[t[8]]:255})),e}(t)||E(t)||R(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=I(this._rgb);return t&&(t.a=s(t.a)),t}set rgb(t){this._rgb=j(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?"rgba(".concat(t.r,", ").concat(t.g,", ").concat(t.b,", ").concat(s(t.a),")"):"rgb(".concat(t.r,", ").concat(t.g,", ").concat(t.b,")")):void 0;var t}hexString(){return this._valid?p(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=y(t),n=e[0],r=l(e[1]),i=l(e[2]);return t.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(s(t.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)")}(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let i;const o=e===i?.5:e,a=2*o-1,s=n.a-r.a,l=((a*s===-1?a:(a+s)/(1+a*s))+1)/2;i=1-l,n.r=255&l*n.r+i*r.r+.5,n.g=255&l*n.g+i*r.g+.5,n.b=255&l*n.b+i*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){const r=A(s(t.r)),i=A(s(t.g)),o=A(s(t.b));return{r:a(T(r+n*(A(s(e.r))-r))),g:a(T(i+n*(A(s(e.g))-i))),b:a(T(o+n*(A(s(e.b))-o))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new D(this.rgb)}alpha(t){return this._rgb.a=a(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=r(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return P(this._rgb,2,t),this}darken(t){return P(this._rgb,2,-t),this}saturate(t){return P(this._rgb,1,t),this}desaturate(t){return P(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=y(t);n[0]=S(n[0]+e),n=x(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return mt})),n.d(e,"b",(function(){return vt}));var r=n(4),i=n(83),o=(n(63),n(32)),a=n(43),s=n(52),l=n(29),c={}.constructor;function u(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(u);if(t.constructor!==c)return t;var e={};for(var n in t)e[n]=u(t[n]);return e}function h(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=u(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var f=function(t,e){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,b="undefined"!==typeof CSS&&CSS.escape,y=function(t){return b?b(t):t.replace(v,"\\$1")},w=function(){function t(t,e,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),x=function(t){function e(e,n,r){var i;i=t.call(this,e,n,r)||this;var o=r.selector,a=r.scoped,l=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(s.a)(Object(s.a)(i)),l),i.selectorText="."+y(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=d(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return m(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(w),S={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new x(t,e,n)}},_={indent:1,children:!0},O=/@([\w-]+)/,M=function(){function t(t,e,n){this.type="conditional",this.isProcessed=!1,this.key=t;var i=t.match(O);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new q(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.toString=function(t){void 0===t&&(t=_);var e=p(t).linebreak;if(null==t.indent&&(t.indent=_.indent),null==t.children&&(t.children=_.children),!1===t.children)return this.query+" {}";var n=this.rules.toString(t);return n?this.query+" {"+e+n+e+"}":""},t}(),k=/@container|@media|@supports\s+/,E={onCreateRule:function(t,e,n){return k.test(t)?new M(t,e,n):null}},C={indent:1,children:!0},T=/@keyframes\s+([\w-]+)/,A=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=t.match(T);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===o?this.name:y(s(this,a)),this.rules=new q(Object(r.a)({},n,{parent:this})),e)this.rules.add(l,e[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=C);var e=p(t).linebreak;if(null==t.indent&&(t.indent=C.indent),null==t.children&&(t.children=C.children),!1===t.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(t);return n&&(n=""+e+n+e),this.at+" "+this.id+" {"+n+"}"},t}(),P=/@keyframes\s+/,I=/\$([\w-]+)/g,j=function(t,e){return"string"===typeof t?t.replace(I,(function(t,n){return n in e?e[n]:t})):t},R=function(t,e,n){var r=t[e],i=j(r,n);i!==r&&(t[e]=i)},D={onCreateRule:function(t,e,n){return"string"===typeof t&&P.test(t)?new A(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&R(t,"animation-name",n.keyframes),"animation"in t&&R(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return j(t,r.keyframes);default:return t}}},N=function(t){function e(){return t.apply(this,arguments)||this}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return m(this.key,this.style,n)},e}(w),L={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new N(t,e,n):null}},F=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){var e=p(t).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)e.push(t);else for(var r=0;rn)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(l.a)(e,["attached"]),i=p(r).linebreak,o="",a=0;a-1?r.substr(0,i-1):r;t.style.setProperty(e,o,i>-1?"important":"")}}catch(a){return!1}return!0},at=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},st=function(t,e){return t.selectorText=e,t.selectorText===e},lt=rt((function(){return document.querySelector("head")}));function ct(t){var e=Q.registry;if(e.length>0){var n=function(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=lt(),n=0;nn?n:e},dt=function(){function t(t){this.getPropertyValue=it,this.setProperty=ot,this.removeProperty=at,this.setSelector=st,this.hasInsertedRules=!1,this.cssRules=[],t&&Q.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=ut();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=ct(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else lt().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:e,defaultTheme:n=g,rootShouldForwardProp:r=p,slotShouldForwardProp:l=p}=t,u=t=>(0,c.default)((0,i.default)({},t,{theme:v((0,i.default)({},t,{defaultTheme:n,themeId:e}))}));return u.__mui_systemSx=!0,function(t){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.internal_processStyles)(t,(t=>t.filter((t=>!(null!=t&&t.__mui_systemSx)))));const{name:h,slot:d,skipVariantsResolver:g,skipSx:w,overridesResolver:x=b(m(d))}=c,S=(0,o.default)(c,f),_=void 0!==g?g:d&&"Root"!==d&&"root"!==d||!1,O=w||!1;let M=p;"Root"===d||"root"===d?M=r:d?M=l:function(t){return"string"===typeof t&&t.charCodeAt(0)>96}(t)&&(M=void 0);const k=(0,a.default)(t,(0,i.default)({shouldForwardProp:M,label:undefined},S)),E=t=>"function"===typeof t&&t.__emotion_real!==t||(0,s.isPlainObject)(t)?r=>y(t,(0,i.default)({},r,{theme:v({theme:r.theme,defaultTheme:n,themeId:e})})):t,C=function(r){let o=E(r);for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l{const r=v((0,i.default)({},t,{defaultTheme:n,themeId:e}));if(!r.components||!r.components[h]||!r.components[h].styleOverrides)return null;const o=r.components[h].styleOverrides,a={};return Object.entries(o).forEach((e=>{let[n,o]=e;a[n]=y(o,(0,i.default)({},t,{theme:r}))})),x(t,a)})),h&&!_&&c.push((t=>{var r;const o=v((0,i.default)({},t,{defaultTheme:n,themeId:e}));return y({variants:null==o||null==(r=o.components)||null==(r=r[h])?void 0:r.variants},(0,i.default)({},t,{theme:o}))})),O||c.push(u);const f=c.length-s.length;if(Array.isArray(r)&&f>0){const t=new Array(f).fill("");o=[...r,...t],o.raw=[...r.raw,...t]}const d=k(o,...c);return t.muiName&&(d.muiName=t.muiName),d};return k.withConfig&&(C.withConfig=k.withConfig),C}},e.shouldForwardProp=p,e.systemDefaultTheme=void 0;var i=r(n(116)),o=r(n(266)),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(498)),s=n(148),l=(r(n(261)),r(n(903)),r(n(356))),c=r(n(500));const u=["ownerState"],h=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}function p(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}const g=e.systemDefaultTheme=(0,l.default)(),m=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function v(t){let{defaultTheme:e,theme:n,themeId:r}=t;return i=n,0===Object.keys(i).length?e:n[r]||n;var i}function b(t){return t?(e,n)=>n[t]:null}function y(t,e){let{ownerState:n}=e,r=(0,o.default)(e,u);const a="function"===typeof t?t((0,i.default)({ownerState:n},r)):t;if(Array.isArray(a))return a.flatMap((t=>y(t,(0,i.default)({ownerState:n},r))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:t=[]}=a;let e=(0,o.default)(a,h);return t.forEach((t=>{let o=!0;"function"===typeof t.props?o=t.props((0,i.default)({ownerState:n},r,n)):Object.keys(t.props).forEach((e=>{(null==n?void 0:n[e])!==t.props[e]&&r[e]!==t.props[e]&&(o=!1)})),o&&(Array.isArray(e)||(e=[e]),e.push("function"===typeof t.style?t.style((0,i.default)({ownerState:n},r,n)):t.style))})),e}return a}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(360);function i(t){if("string"!==typeof t)throw new Error(Object(r.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"c",(function(){return g})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return b}));var r=n(501),i=n.n(r),o=n(502),a=n.n(o),s=n(60),l=n.n(s),c=n(1);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 h(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};d=h(h({},d),t)}(t.options.react),function(t){f=t}(t)}}},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(908),l=n(909),c=n(924),u=n(918),h=n(912),f=n(919),d=n(923),p=n(18),g={standard:s.a,filled:l.a,outlined:c.a},m=o.forwardRef((function(t,e){var n=t.autoComplete,s=t.autoFocus,l=void 0!==s&&s,c=t.children,p=t.classes,m=t.className,v=t.color,b=void 0===v?"primary":v,y=t.defaultValue,w=t.disabled,x=void 0!==w&&w,S=t.error,_=void 0!==S&&S,O=t.FormHelperTextProps,M=t.fullWidth,k=void 0!==M&&M,E=t.helperText,C=t.hiddenLabel,T=t.id,A=t.InputLabelProps,P=t.inputProps,I=t.InputProps,j=t.inputRef,R=t.label,D=t.multiline,N=void 0!==D&&D,L=t.name,F=t.onBlur,B=t.onChange,H=t.onFocus,z=t.placeholder,V=t.required,W=void 0!==V&&V,U=t.rows,Y=t.rowsMax,G=t.select,X=void 0!==G&&G,q=t.SelectProps,$=t.type,K=t.value,Z=t.variant,Q=void 0===Z?"standard":Z,J=Object(i.a)(t,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]);var tt={};if("outlined"===Q&&(A&&"undefined"!==typeof A.shrink&&(tt.notched=A.shrink),R)){var et,nt=null!==(et=null===A||void 0===A?void 0:A.required)&&void 0!==et?et:W;tt.label=o.createElement(o.Fragment,null,R,nt&&"\xa0*")}X&&(q&&q.native||(tt.id=void 0),tt["aria-describedby"]=void 0);var rt=E&&T?"".concat(T,"-helper-text"):void 0,it=R&&T?"".concat(T,"-label"):void 0,ot=g[Q],at=o.createElement(ot,Object(r.a)({"aria-describedby":rt,autoComplete:n,autoFocus:l,defaultValue:y,fullWidth:k,multiline:N,name:L,rows:U,rowsMax:Y,type:$,value:K,id:T,inputRef:j,onBlur:F,onChange:B,onFocus:H,placeholder:z,inputProps:P},tt,I));return o.createElement(h.a,Object(r.a)({className:Object(a.a)(p.root,m),disabled:x,error:_,fullWidth:k,hiddenLabel:C,ref:e,required:W,color:b,variant:Q},J),R&&o.createElement(u.a,Object(r.a)({htmlFor:T,id:it},A),R),X?o.createElement(d.a,Object(r.a)({"aria-describedby":rt,id:T,labelId:it,value:K,input:at},q),c):at,E&&o.createElement(f.a,Object(r.a)({id:rt},O),E))}));e.a=Object(p.a)({root:{}},{name:"MuiTextField"})(m)},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(38)),s=n(2),l=n(39),c=n(65),u=n(18),h=n(186),f=n(88),d=n(1044),p="undefined"===typeof window?o.useEffect:o.useLayoutEffect;var g=function(t){var e=t.classes,n=t.pulsate,r=void 0!==n&&n,i=t.rippleX,a=t.rippleY,l=t.rippleSize,u=t.in,h=t.onExited,f=void 0===h?function(){}:h,d=t.timeout,g=o.useState(!1),m=g[0],v=g[1],b=Object(s.a)(e.ripple,e.rippleVisible,r&&e.ripplePulsate),y={width:l,height:l,top:-l/2+a,left:-l/2+i},w=Object(s.a)(e.child,m&&e.childLeaving,r&&e.childPulsate),x=Object(c.a)(f);return p((function(){if(!u){v(!0);var t=setTimeout(x,d);return function(){clearTimeout(t)}}}),[x,u,d]),o.createElement("span",{className:b,style:y},o.createElement("span",{className:w}))},m=o.forwardRef((function(t,e){var n=t.center,a=void 0!==n&&n,l=t.classes,c=t.className,u=Object(i.a)(t,["center","classes","className"]),h=o.useState([]),p=h[0],m=h[1],v=o.useRef(0),b=o.useRef(null);o.useEffect((function(){b.current&&(b.current(),b.current=null)}),[p]);var y=o.useRef(!1),w=o.useRef(null),x=o.useRef(null),S=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(w.current)}}),[]);var _=o.useCallback((function(t){var e=t.pulsate,n=t.rippleX,r=t.rippleY,i=t.rippleSize,a=t.cb;m((function(t){return[].concat(Object(f.a)(t),[o.createElement(g,{key:v.current,classes:l,timeout:550,pulsate:e,rippleX:n,rippleY:r,rippleSize:i})])})),v.current+=1,b.current=a}),[l]),O=o.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.pulsate,i=void 0!==r&&r,o=e.center,s=void 0===o?a||e.pulsate:o,l=e.fakeElement,c=void 0!==l&&l;if("mousedown"===t.type&&y.current)y.current=!1;else{"touchstart"===t.type&&(y.current=!0);var u,h,f,d=c?null:S.current,p=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)u=Math.round(p.width/2),h=Math.round(p.height/2);else{var g=t.touches?t.touches[0]:t,m=g.clientX,v=g.clientY;u=Math.round(m-p.left),h=Math.round(v-p.top)}if(s)(f=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(f+=1);else{var b=2*Math.max(Math.abs((d?d.clientWidth:0)-u),u)+2,O=2*Math.max(Math.abs((d?d.clientHeight:0)-h),h)+2;f=Math.sqrt(Math.pow(b,2)+Math.pow(O,2))}t.touches?null===x.current&&(x.current=function(){_({pulsate:i,rippleX:u,rippleY:h,rippleSize:f,cb:n})},w.current=setTimeout((function(){x.current&&(x.current(),x.current=null)}),80)):_({pulsate:i,rippleX:u,rippleY:h,rippleSize:f,cb:n})}}),[a,_]),M=o.useCallback((function(){O({},{pulsate:!0})}),[O]),k=o.useCallback((function(t,e){if(clearTimeout(w.current),"touchend"===t.type&&x.current)return t.persist(),x.current(),x.current=null,void(w.current=setTimeout((function(){k(t,e)})));x.current=null,m((function(t){return t.length>0?t.slice(1):t})),b.current=e}),[]);return o.useImperativeHandle(e,(function(){return{pulsate:M,start:O,stop:k}}),[M,O,k]),o.createElement("span",Object(r.a)({className:Object(s.a)(l.root,c),ref:S},u),o.createElement(d.a,{component:null,exit:!0},p))})),v=Object(u.a)((function(t){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(t.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(t.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(m)),b=o.forwardRef((function(t,e){var n=t.action,u=t.buttonRef,f=t.centerRipple,d=void 0!==f&&f,p=t.children,g=t.classes,m=t.className,b=t.component,y=void 0===b?"button":b,w=t.disabled,x=void 0!==w&&w,S=t.disableRipple,_=void 0!==S&&S,O=t.disableTouchRipple,M=void 0!==O&&O,k=t.focusRipple,E=void 0!==k&&k,C=t.focusVisibleClassName,T=t.onBlur,A=t.onClick,P=t.onFocus,I=t.onFocusVisible,j=t.onKeyDown,R=t.onKeyUp,D=t.onMouseDown,N=t.onMouseLeave,L=t.onMouseUp,F=t.onTouchEnd,B=t.onTouchMove,H=t.onTouchStart,z=t.onDragLeave,V=t.tabIndex,W=void 0===V?0:V,U=t.TouchRippleProps,Y=t.type,G=void 0===Y?"button":Y,X=Object(i.a)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),q=o.useRef(null);var $=o.useRef(null),K=o.useState(!1),Z=K[0],Q=K[1];x&&Z&&Q(!1);var J=Object(h.a)(),tt=J.isFocusVisible,et=J.onBlurVisible,nt=J.ref;function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M;return Object(c.a)((function(r){return e&&e(r),!n&&$.current&&$.current[t](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){Q(!0),q.current.focus()}}}),[]),o.useEffect((function(){Z&&E&&!_&&$.current.pulsate()}),[_,E,Z]);var it=rt("start",D),ot=rt("stop",z),at=rt("stop",L),st=rt("stop",(function(t){Z&&t.preventDefault(),N&&N(t)})),lt=rt("start",H),ct=rt("stop",F),ut=rt("stop",B),ht=rt("stop",(function(t){Z&&(et(t),Q(!1)),T&&T(t)}),!1),ft=Object(c.a)((function(t){q.current||(q.current=t.currentTarget),tt(t)&&(Q(!0),I&&I(t)),P&&P(t)})),dt=function(){var t=a.findDOMNode(q.current);return y&&"button"!==y&&!("A"===t.tagName&&t.href)},pt=o.useRef(!1),gt=Object(c.a)((function(t){E&&!pt.current&&Z&&$.current&&" "===t.key&&(pt.current=!0,t.persist(),$.current.stop(t,(function(){$.current.start(t)}))),t.target===t.currentTarget&&dt()&&" "===t.key&&t.preventDefault(),j&&j(t),t.target===t.currentTarget&&dt()&&"Enter"===t.key&&!x&&(t.preventDefault(),A&&A(t))})),mt=Object(c.a)((function(t){E&&" "===t.key&&$.current&&Z&&!t.defaultPrevented&&(pt.current=!1,t.persist(),$.current.stop(t,(function(){$.current.pulsate(t)}))),R&&R(t),A&&t.target===t.currentTarget&&dt()&&" "===t.key&&!t.defaultPrevented&&A(t)})),vt=y;"button"===vt&&X.href&&(vt="a");var bt={};"button"===vt?(bt.type=G,bt.disabled=x):("a"===vt&&X.href||(bt.role="button"),bt["aria-disabled"]=x);var yt=Object(l.a)(u,e),wt=Object(l.a)(nt,q),xt=Object(l.a)(yt,wt),St=o.useState(!1),_t=St[0],Ot=St[1];o.useEffect((function(){Ot(!0)}),[]);var Mt=_t&&!_&&!x;return o.createElement(vt,Object(r.a)({className:Object(s.a)(g.root,m,Z&&[g.focusVisible,C],x&&g.disabled),onBlur:ht,onClick:A,onFocus:ft,onKeyDown:gt,onKeyUp:mt,onMouseDown:it,onMouseLeave:st,onMouseUp:at,onDragLeave:ot,onTouchEnd:ct,onTouchMove:ut,onTouchStart:lt,ref:xt,tabIndex:x?-1:W},bt,X),p,Mt?o.createElement(v,Object(r.a)({ref:$,center:d},U)):null)}));e.a=Object(u.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(b)},,,,,,,,,,function(t,e,n){var r=n(615),i=n(616),o=n(617),a=n(618),s=n(619);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e>>24]^u[p>>>16&255]^h[g>>>8&255]^f[255&m]^e[v++],a=c[p>>>24]^u[g>>>16&255]^h[m>>>8&255]^f[255&d]^e[v++],s=c[g>>>24]^u[m>>>16&255]^h[d>>>8&255]^f[255&p]^e[v++],l=c[m>>>24]^u[d>>>16&255]^h[p>>>8&255]^f[255&g]^e[v++],d=o,p=a,g=s,m=l;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[g>>>8&255]<<8|r[255&m])^e[v++],a=(r[p>>>24]<<24|r[g>>>16&255]<<16|r[m>>>8&255]<<8|r[255&d])^e[v++],s=(r[g>>>24]<<24|r[m>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^e[v++],l=(r[m>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&g])^e[v++],[o>>>=0,a>>>=0,s>>>=0,l>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,n[a]=c,r[c]=a;var u=t[a],h=t[u],f=t[h],d=257*t[c]^16843008*c;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*f^65537*h^257*u^16843008*a,o[0][c]=d<<24|d>>>8,o[1][c]=d<<16|d>>>16,o[2][c]=d<<8|d>>>24,o[3][c]=d,0===a?a=s=1:(a=u^t[t[t[f^u]]],s^=t[t[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function c(t){this._key=i(t),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,r=4*(n+1),i=[],o=0;o>>24,a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e===4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),i[o]=i[o-e]^a}for(var c=[],u=0;u>>24]]^l.INV_SUB_MIX[1][l.SBOX[f>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[f>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=r.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},c.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var n=a(t,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},function(t,e,n){var r=n(46).Buffer,i=n(321);t.exports=function(t,e,n,o){if(r.isBuffer(t)||(t=r.from(t,"binary")),e&&(r.isBuffer(e)||(e=r.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),l=r.alloc(o||0),c=r.alloc(0);a>0||o>0;){var u=new i;u.update(c),u.update(t),e&&u.update(e),c=u.digest();var h=0;if(a>0){var f=s.length-a;h=Math.min(a,c.length),c.copy(s,f,0,h),a-=h}if(h0){var d=l.length-o,p=Math.min(o,c.length-h);c.copy(l,d,h,h+p),o-=p}}return c.fill(0),{key:s,iv:l}}},function(t,e,n){"use strict";var r=n(139),i=n(110),o=i.getNAF,a=i.getJSF,s=i.assert;function l(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(t,e){s(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<=a;u--)l=(l<<1)+r[u];c.push(l)}for(var h=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=i;d>0;d--){for(a=0;a=0;c--){for(var u=0;c>=0&&0===a[c];c--)u++;if(c>=0&&u++,l=l.dblp(u),c<0)break;var h=a[c];s(0!==h),l="affine"===t.type?h>0?l.mixedAdd(i[h-1>>1]):l.mixedAdd(i[-h-1>>1].neg()):h>0?l.add(i[h-1>>1]):l.add(i[-h-1>>1].neg())}return"affine"===t.type?l.toP():l},l.prototype._wnafMulAdd=function(t,e,n,r,i){var s,l,c,u=this._wnafT1,h=this._wnafT2,f=this._wnafT3,d=0;for(s=0;s=1;s-=2){var g=s-1,m=s;if(1===u[g]&&1===u[m]){var v=[e[g],null,null,e[m]];0===e[g].y.cmp(e[m].y)?(v[1]=e[g].add(e[m]),v[2]=e[g].toJ().mixedAdd(e[m].neg())):0===e[g].y.cmp(e[m].y.redNeg())?(v[1]=e[g].toJ().mixedAdd(e[m]),v[2]=e[g].add(e[m].neg())):(v[1]=e[g].toJ().mixedAdd(e[m]),v[2]=e[g].toJ().mixedAdd(e[m].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=a(n[g],n[m]);for(d=Math.max(y[0].length,d),f[g]=new Array(d),f[m]=new Array(d),l=0;l=0;s--){for(var O=0;s>=0;){var M=!0;for(l=0;l=0&&O++,S=S.dblp(O),s<0)break;for(l=0;l0?c=h[l][k-1>>1]:k<0&&(c=h[l][-k-1>>1].neg()),S="affine"===c.type?S.mixedAdd(c):S.add(c))}}for(s=0;s=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i=0)continue;n[r]=t[r]}return n},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(this.props,[]);return function(t){u.forEach((function(e){return delete t[e]}))}(i),i.className=this.props.inputClassName,i.id=this.state.inputId,i.style=n,a.default.createElement("div",{className:this.props.className,style:e},this.renderStyles(),a.default.createElement("input",r({},i,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},t),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),e}(o.Component);p.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},p.defaultProps={minWidth:1,injectStyles:!0},e.default=p},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(43),i=n(1),o=function(t){function e(e){var n;return(n=t.call(this,e)||this)._state=null,n._del=!1,n._handleChange=function(t){var e=n.state.value,r=t.target.value,i=t.target,o=r.length>e.length,a=n._del,s=e===n.props.format(r);n.setState({value:r,local:!0},(function(){var t=i.selectionStart,l=n.props.refuse||/[^\d]+/g,c=r.substr(0,t).replace(l,"");if(n._state={input:i,before:c,op:o,di:a&&s,del:a},n.props.replace&&n.props.replace(e)&&o&&!s){for(var u=-1,h=0;h!==c.length;++h)u=Math.max(u,r.toLowerCase().indexOf(c[h].toLowerCase(),u+1));var f=r.substr(u+1).replace(l,"")[0];u=r.indexOf(f,u+1),r=""+r.substr(0,u)+r.substr(u+1)}var d=n.props.format(r);e===d?n.setState({value:r}):n.props.onChange(d)}))},n._hKD=function(t){"Delete"===t.code&&(n._del=!0)},n._hKU=function(t){"Delete"===t.code&&(n._del=!1)},n.state={value:e.value,local:!0},n}Object(r.a)(e,t),e.getDerivedStateFromProps=function(t,e){return{value:e.local?e.value:t.value,local:!1}};var n=e.prototype;return n.render=function(){var t=this._handleChange,e=this.state.value;return(0,this.props.children)({value:e,onChange:t})},n.componentWillUnmount=function(){document.removeEventListener("keydown",this._hKD),document.removeEventListener("keyup",this._hKU)},n.componentDidMount=function(){document.addEventListener("keydown",this._hKD),document.addEventListener("keyup",this._hKU)},n.componentDidUpdate=function(){var t=this._state;if(t){for(var e=this.state.value,n=-1,r=0;r!==t.before.length;++r)n=Math.max(n,e.toLowerCase().indexOf(t.before[r].toLowerCase(),n+1));if(this.props.replace&&(t.op||t.del&&!t.di))for(;e[n+1]&&(this.props.refuse||/[^\d]+/).test(e[n+1]);)n+=1;t.input.selectionStart=t.input.selectionEnd=n+1+(t.di?1:0)}this._state=null},e}(i.Component)},function(t,e,n){"use strict";var r=n(1),i=(n(14),n(2)),o=n(4),a=n(9),s=n(106),l=n(105),c=n(374),u=Object(l.a)((function(t){return{day:{width:36,height:36,fontSize:t.typography.caption.fontSize,margin:"0 2px",color:t.palette.text.primary,fontWeight:t.typography.fontWeightMedium,padding:0},hidden:{opacity:0,pointerEvents:"none"},current:{color:t.palette.primary.main,fontWeight:600},daySelected:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,fontWeight:t.typography.fontWeightMedium,"&:hover":{backgroundColor:t.palette.primary.main}},dayDisabled:{pointerEvents:"none",color:t.palette.text.hint}}}),{name:"MuiPickersDay"}),h=function(t){var e=t.children,n=t.disabled,l=t.hidden,h=t.current,f=t.selected,d=Object(a.a)(t,["children","disabled","hidden","current","selected"]),p=u(),g=Object(i.a)(p.day,l&&p.hidden,h&&p.current,f&&p.daySelected,n&&p.dayDisabled);return Object(r.createElement)(c.a,Object(o.a)({className:g,tabIndex:l||n?-1:0},d),Object(r.createElement)(s.a,{variant:"body2",color:"inherit"},e))};h.displayName="Day",h.defaultProps={disabled:!1,hidden:!1,current:!1,selected:!1},e.a=h},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(29),i=n(4);const o=["values","unit","step"],a=t=>{const e=Object.keys(t).map((e=>({key:e,val:t[e]})))||[];return e.sort(((t,e)=>t.val-e.val)),e.reduce(((t,e)=>Object(i.a)({},t,{[e.key]:e.val})),{})};function s(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:s=5}=t,l=Object(r.a)(t,o),c=a(e),u=Object.keys(c);function h(t){const r="number"===typeof e[t]?e[t]:t;return"@media (min-width:".concat(r).concat(n,")")}function f(t){const r="number"===typeof e[t]?e[t]:t;return"@media (max-width:".concat(r-s/100).concat(n,")")}function d(t,r){const i=u.indexOf(r);return"@media (min-width:".concat("number"===typeof e[t]?e[t]:t).concat(n,") and ")+"(max-width:".concat((-1!==i&&"number"===typeof e[u[i]]?e[u[i]]:r)-s/100).concat(n,")")}return Object(i.a)({keys:u,values:c,up:h,down:f,between:d,only:function(t){return u.indexOf(t)+1Object(r.a)(t)&&"classes"!==t},function(t,e,n){"use strict";e.a=function(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r="NOT_FOUND";var i=function(t,e){return t===e};function o(t,e){var n="object"===typeof e?e:{equalityCheck:e},o=n.equalityCheck,a=void 0===o?i:o,s=n.maxSize,l=void 0===s?1:s,c=n.resultEqualityCheck,u=function(t){return function(e,n){if(null===e||null===n||e.length!==n.length)return!1;for(var r=e.length,i=0;i-1){var o=n[i];return i>0&&(n.splice(i,1),n.unshift(o)),o.value}return r}return{get:i,put:function(e,o){i(e)===r&&(n.unshift({key:e,value:o}),n.length>t&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(l,u);function f(){var e=h.get(arguments);if(e===r){if(e=t.apply(null,arguments),c){var n=h.getEntries().find((function(t){return c(t.value,e)}));n&&(e=n.value)}h.put(arguments,e)}return e}return f.clearCache=function(){return h.clear()},f}function a(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?Object(r.a)({},t):t;return o(t)&&o(e)&&Object.keys(e).forEach((function(r){"__proto__"!==r&&(o(e[r])&&r in t?i[r]=a(t[r],e[r],n):i[r]=e[r])})),i}},function(t,e,n){"use strict";var r=n(1),i=n.n(r).a.createContext(null);e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(230);function i(t,e){if(t){if("string"==typeof t)return Object(r.a)(t,e);var n={}.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)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for;e.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(t,e,n){"use strict";function r(t){for(var e="https://mui.com/production-error/?code="+t,n=1;n0&&n-1 in t))}}(window),function(o){"use strict";"object"===typeof t.exports?t.exports=o():void 0===(i="function"===typeof(r=o)?r.call(e,n,e,t):r)||(t.exports=i)}((function(){"use strict";return function(t,e,n,r){var i=function(){if(n.documentMode)return n.documentMode;for(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]>=0?e:Math.max(0,r+e),s=(n<0?r+n:Math.min(n,r))-a;if(s>0)if(o=new Array(s),this.charAt)for(i=0;i=0}:function(t,e){for(var n=0;nh&&Math.abs(s.v)>h;);return o?function(t){return c[t*(c.length-1)|0]}:u}}();p.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},u.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],(function(t,e){p.Easings[e[0]]=O.apply(null,e[1])}));var m=p.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){i&&!(i>9)||p.State.isGingerbread||(m.Lists.transformsBase=m.Lists.transformsBase.concat(m.Lists.transforms3D));for(var t=0;t8)&&3===a.split(" ").length&&(a+=" 1"),a;case"inject":return/^rgb/.test(o)?o:(i<=8?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(i<=8?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function n(t,e,n){if("border-box"===m.getPropertyValue(e,"boxSizing").toString().toLowerCase()===(n||!1)){var r,i,o=0,a="width"===t?["Left","Right"]:["Top","Bottom"],s=["padding"+a[0],"padding"+a[1],"border"+a[0]+"Width","border"+a[1]+"Width"];for(r=0;r=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,r,o,a){var s=n;if("scroll"===n)a.container?a.container["scroll"+a.direction]=r:"Left"===a.direction?e.scrollTo(r,a.alternateValue):e.scrollTo(a.alternateValue,r);else if(m.Normalizations.registered[n]&&"transform"===m.Normalizations.registered[n]("name",t))m.Normalizations.registered[n]("inject",t,r),s="transform",r=w(t).transformCache[n];else{if(m.Hooks.registered[n]){var l=n,c=m.Hooks.getRoot(n);o=o||m.getPropertyValue(t,c),r=m.Hooks.injectValue(l,r,o),n=c}if(m.Normalizations.registered[n]&&(r=m.Normalizations.registered[n]("inject",t,r),n=m.Normalizations.registered[n]("name",t)),s=m.Names.prefixCheck(n)[0],i<=8)try{t.style[s]=r}catch(h){p.debug&&console.log("Browser does not support ["+r+"] for ["+s+"]")}else{var u=w(t);u&&u.isSVG&&m.Names.SVGAttribute(n)?t.setAttribute(n,r):t.style[s]=r}p.debug>=2&&console.log("Set "+n+" ("+s+"): "+r)}return[s,r]},flushTransformCache:function(t){var e="",n=w(t);if((i||p.State.isAndroid&&!p.State.isChrome)&&n&&n.isSVG){var r=function(e){return parseFloat(m.getPropertyValue(t,e))},o={translate:[r("translateX"),r("translateY")],skewX:[r("skewX")],skewY:[r("skewY")],scale:1!==r("scale")?[r("scale"),r("scale")]:[r("scaleX"),r("scaleY")],rotate:[r("rotateZ"),0,0]};u.each(w(t).transformCache,(function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),o[t]&&(e+=t+"("+o[t].join(" ")+") ",delete o[t])}))}else{var a,s;u.each(w(t).transformCache,(function(n){if(a=w(t).transformCache[n],"transformPerspective"===n)return s=a,!0;9===i&&"rotateZ"===n&&(n="rotate"),e+=n+a+" "})),s&&(e="perspective"+s+" "+e)}m.setPropertyValue(t,"transform",e)}};m.Hooks.register(),m.Normalizations.register(),p.hook=function(t,e,n){var i;return t=c(t),u.each(t,(function(t,o){if(w(o)===r&&p.init(o),n===r)i===r&&(i=m.getPropertyValue(o,e));else{var a=m.setPropertyValue(o,e,n);"transform"===a[0]&&p.CSS.flushTransformCache(o),i=a}})),i};var v=function(){var t;function i(){return o?y.promise||null:a}var o,a,s,f,d,g,b=arguments[0]&&(arguments[0].p||u.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||h.isString(arguments[0].properties));h.isWrapped(this)?(o=!1,s=0,f=this,a=this):(o=!0,s=1,f=b?arguments[0].elements||arguments[0].e:arguments[0]);var y={promise:null,resolver:null,rejecter:null};if(o&&p.Promise&&(y.promise=new p.Promise((function(t,e){y.resolver=t,y.rejecter=e}))),b?(d=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(d=arguments[s],g=arguments[s+1]),f=c(f)){var _,O=f.length,C=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(d)&&!u.isPlainObject(g)){g={};for(var T=s+1;T=4&&"("===j?A++:(A&&A<5||A>=4&&")"===j&&--A<5)&&(A=0),0===P&&"r"===j||1===P&&"g"===j||2===P&&"b"===j||3===P&&"a"===j||P>=3&&"("===j?(3===P&&"a"===j&&(I=1),P++):I&&","===j?++I>3&&(P=I=0):(I&&P<(I?5:4)||P>=(I?4:3)&&")"===j&&--P<(I?5:4))&&(P=I=0)}}k===w.length&&E===g.length||(p.debug&&console.error('Trying to pattern match mis-matched strings ["'+g+'", "'+w+'"]'),l=r),l&&(C.length?(p.debug&&console.log('Pattern found "'+l+'" -> ',C,T,"["+w+","+g+"]"),w=C,g=T,S=_=""):l=r)}if(l||(w=(x=M(i,w))[0],_=x[1],g=(x=M(i,g))[0].replace(/^([+-\/*])=/,(function(t,e){return O=e,""})),S=x[1],w=parseFloat(w)||0,g=parseFloat(g)||0,"%"===S&&(/^(fontSize|lineHeight)$/.test(i)?(g/=100,S="em"):/^scale/.test(i)?(g/=100,S=""):/(Red|Green|Blue)$/i.test(i)&&(g=g/100*255,S=""))),/[\/*]/.test(O))S=_;else if(_!==S&&0!==w)if(0===g)S=_;else{o=o||function(){var r={myParent:t.parentNode||n.body,position:m.getPropertyValue(t,"position"),fontSize:m.getPropertyValue(t,"fontSize")},i=r.position===D.lastPosition&&r.myParent===D.lastParent,o=r.fontSize===D.lastFontSize;D.lastParent=r.myParent,D.lastPosition=r.position,D.lastFontSize=r.fontSize;var a=100,s={};if(o&&i)s.emToPx=D.lastEmToPx,s.percentToPxWidth=D.lastPercentToPxWidth,s.percentToPxHeight=D.lastPercentToPxHeight;else{var l=v&&v.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");p.init(l),r.myParent.appendChild(l),u.each(["overflow","overflowX","overflowY"],(function(t,e){p.CSS.setPropertyValue(l,e,"hidden")})),p.CSS.setPropertyValue(l,"position",r.position),p.CSS.setPropertyValue(l,"fontSize",r.fontSize),p.CSS.setPropertyValue(l,"boxSizing","content-box"),u.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],(function(t,e){p.CSS.setPropertyValue(l,e,a+"%")})),p.CSS.setPropertyValue(l,"paddingLeft",a+"em"),s.percentToPxWidth=D.lastPercentToPxWidth=(parseFloat(m.getPropertyValue(l,"width",null,!0))||1)/a,s.percentToPxHeight=D.lastPercentToPxHeight=(parseFloat(m.getPropertyValue(l,"height",null,!0))||1)/a,s.emToPx=D.lastEmToPx=(parseFloat(m.getPropertyValue(l,"paddingLeft"))||1)/a,r.myParent.removeChild(l)}return null===D.remToPx&&(D.remToPx=parseFloat(m.getPropertyValue(n.body,"fontSize"))||16),null===D.vwToPx&&(D.vwToPx=parseFloat(e.innerWidth)/100,D.vhToPx=parseFloat(e.innerHeight)/100),s.remToPx=D.remToPx,s.vwToPx=D.vwToPx,s.vhToPx=D.vhToPx,p.debug>=1&&console.log("Unit ratios: "+JSON.stringify(s),t),s}();var U=/margin|padding|left|right|width|text|word|letter/i.test(i)||/X$/.test(i)||"x"===i?"x":"y";switch(_){case"%":w*="x"===U?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:w*=o[_+"ToPx"]}switch(S){case"%":w*=1/("x"===U?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:w*=1/o[S+"ToPx"]}}switch(O){case"+":g=w+g;break;case"-":g=w-g;break;case"*":g*=w;break;case"/":g=w/g}c[i]={rootPropertyValue:d,startValue:w,currentValue:w,endValue:g,unitType:S,easing:y},l&&(c[i].pattern=l),p.debug&&console.log("tweensContainer ("+i+"): "+JSON.stringify(c[i]),t)}else p.debug&&console.log("Skipping ["+f+"] due to a lack of browser support.")};for(var L in d)if(d.hasOwnProperty(L)){var F=m.Names.camelCase(L),B=j(d[L]);if(l(m.Lists.colors)){var H=B[0],z=B[1],V=B[2];if(m.RegEx.isHex.test(H)){for(var W=["Red","Green","Blue"],U=m.Values.hexToRgb(H),Y=V?m.Values.hexToRgb(V):r,G=0;G=.001?function(e,n){for(var i=0;i0?i=l:n=l}while(Math.abs(o)>a&&++c1e4&&(p.State.calls=function(t){for(var e=-1,n=t?t.length:0,r=[];++ed)&&(B=(V=V.replace(" ",":")).length),0r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(m,"$1"+t.trim());case 58:return t.trim()+e.replace(m,"$1"+t.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102r.charCodeAt(0)&&(r=r.trim()),r=[r],01?n-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:a=n.standard,easing:s=e.easeInOut,delay:c=0}=i;Object(r.a)(i,o);return(Array.isArray(t)?t:[t]).map((t=>"".concat(t," ").concat("string"===typeof a?a:l(a)," ").concat(s," ").concat("string"===typeof c?c:l(c)))).join(",")}},t,{easing:e,duration:n})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1);const i=r.createContext(null)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(59);function i(t){var e=function(t,e){if("object"!=Object(r.a)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Object(r.a)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Object(r.a)(e)?e:e+""}},function(t,e,n){"use strict";n.d(e,"b",(function(){return fs})),n.d(e,"a",(function(){return Os}));var r={version:"0.18.5"},i=1200,o=1252,a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],s={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},l=function(t){-1!=a.indexOf(t)&&(o=s[0]=t)};var c=function(t){i=t,l(t)};function u(){c(1200),l(1252)}function h(t){for(var e=[],n=0;n>1;++n)e[n]=String.fromCharCode(t.charCodeAt(2*n+1)+(t.charCodeAt(2*n)<<8));return e.join("")}var f,d=function(t){return String.fromCharCode(t)},p=function(t){return String.fromCharCode(t)};var g=null,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function v(t){for(var e="",n=0,r=0,i=0,o=0,a=0,s=0,l=0,c=0;c>2,a=(3&n)<<4|(r=t.charCodeAt(c++))>>4,s=(15&r)<<2|(i=t.charCodeAt(c++))>>6,l=63&i,isNaN(r)?s=l=64:isNaN(i)&&(l=64),e+=m.charAt(o)+m.charAt(a)+m.charAt(s)+m.charAt(l);return e}function b(t){var e="",n=0,r=0,i=0,o=0,a=0,s=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var l=0;l>4,e+=String.fromCharCode(n),r=(15&o)<<4|(a=m.indexOf(t.charAt(l++)))>>2,64!==a&&(e+=String.fromCharCode(r)),i=(3&a)<<6|(s=m.indexOf(t.charAt(l++))),64!==s&&(e+=String.fromCharCode(i));return e}var y=function(){return"undefined"!==typeof Buffer&&"undefined"!==typeof process&&"undefined"!==typeof process.versions&&!!process.versions.node}(),w=function(){if("undefined"!==typeof Buffer){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch(e){t=!0}return t?function(t,e){return e?new Buffer(t,e):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function x(t){return y?Buffer.alloc?Buffer.alloc(t):new Buffer(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}function S(t){return y?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}var _=function(t){return y?w(t,"binary"):t.split("").map((function(t){return 255&t.charCodeAt(0)}))};function O(t){if("undefined"===typeof ArrayBuffer)return _(t);for(var e=new ArrayBuffer(t.length),n=new Uint8Array(e),r=0;r!=t.length;++r)n[r]=255&t.charCodeAt(r);return e}function M(t){if(Array.isArray(t))return t.map((function(t){return String.fromCharCode(t)})).join("");for(var e=[],n=0;n=0;)e+=t.charAt(n--);return e}function A(t,e){var n=""+t;return n.length>=e?n:Wt("0",e-n.length)+n}function P(t,e){var n=""+t;return n.length>=e?n:Wt(" ",e-n.length)+n}function I(t,e){var n=""+t;return n.length>=e?n:n+Wt(" ",e-n.length)}var j=Math.pow(2,32);function R(t,e){return t>j||t<-j?function(t,e){var n=""+Math.round(t);return n.length>=e?n:Wt("0",e-n.length)+n}(t,e):function(t,e){var n=""+t;return n.length>=e?n:Wt("0",e-n.length)+n}(Math.round(t),e)}function D(t,e){return e=e||0,t.length>=7+e&&103===(32|t.charCodeAt(e))&&101===(32|t.charCodeAt(e+1))&&110===(32|t.charCodeAt(e+2))&&101===(32|t.charCodeAt(e+3))&&114===(32|t.charCodeAt(e+4))&&97===(32|t.charCodeAt(e+5))&&108===(32|t.charCodeAt(e+6))}var N=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],L=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var F={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'},B={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},H={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function z(t,e,n){for(var r=t<0?-1:1,i=t*r,o=0,a=1,s=0,l=1,c=0,u=0,h=Math.floor(i);ce&&(c>e?(u=l,s=o):(u=c,s=a)),!n)return[0,r*s,u];var f=Math.floor(r*s/u);return[f,r*s-f*u,u]}function V(t,e,n){if(t>2958465||t<0)return null;var r=0|t,i=Math.floor(86400*(t-r)),o=0,a=[],s={D:r,T:i,u:86400*(t-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),e&&e.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++r,++s.D)),60===r)a=n?[1317,10,29]:[1900,2,29],o=3;else if(0===r)a=n?[1317,8,29]:[1900,1,0],o=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),a=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),r<60&&(o=(o+6)%7),n&&(o=function(t,e){e[0]-=581;var n=t.getDay();t<60&&(n=(n+6)%7);return n}(l,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}var W=new Date(1899,11,31,0,0,0),U=W.getTime(),Y=new Date(1900,2,1,0,0,0);function G(t,e){var n=t.getTime();return e?n-=1262304e5:t>=Y&&(n+=864e5),(n-(U+6e4*(t.getTimezoneOffset()-W.getTimezoneOffset())))/864e5}function X(t){return-1==t.indexOf(".")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function q(t){var e,n=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return e=n>=-4&&n<=-1?t.toPrecision(10+n):Math.abs(n)<=9?function(t){var e=t<0?12:11,n=X(t.toFixed(12));return n.length<=e||(n=t.toPrecision(10)).length<=e?n:t.toExponential(5)}(t):10===n?t.toFixed(10).substr(0,12):function(t){var e=X(t.toFixed(11));return e.length>(t<0?12:11)||"0"===e||"-0"===e?t.toPrecision(6):e}(t),X(function(t){return-1==t.indexOf("E")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(e.toUpperCase()))}function K(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(0|t)===t?t.toString(10):q(t);case"undefined":return"";case"object":if(null==t)return"";if(t instanceof Date)return vt(14,G(t,e&&e.date1904),e)}throw new Error("unsupported value in General format: "+t)}function Z(t,e,n,r){var i,o="",a=0,s=0,l=n.y,c=0;switch(t){case 98:l=n.y+543;case 121:switch(e.length){case 1:case 2:i=l%100,c=2;break;default:i=l%1e4,c=4}break;case 109:switch(e.length){case 1:case 2:i=n.m,c=e.length;break;case 3:return L[n.m-1][1];case 5:return L[n.m-1][0];default:return L[n.m-1][2]}break;case 100:switch(e.length){case 1:case 2:i=n.d,c=e.length;break;case 3:return N[n.q][0];default:return N[n.q][1]}break;case 104:switch(e.length){case 1:case 2:i=1+(n.H+11)%12,c=e.length;break;default:throw"bad hour format: "+e}break;case 72:switch(e.length){case 1:case 2:i=n.H,c=e.length;break;default:throw"bad hour format: "+e}break;case 77:switch(e.length){case 1:case 2:i=n.M,c=e.length;break;default:throw"bad minute format: "+e}break;case 115:if("s"!=e&&"ss"!=e&&".0"!=e&&".00"!=e&&".000"!=e)throw"bad second format: "+e;return 0!==n.u||"s"!=e&&"ss"!=e?(s=r>=2?3===r?1e3:100:1===r?10:1,(a=Math.round(s*(n.S+n.u)))>=60*s&&(a=0),"s"===e?0===a?"0":""+a/s:(o=A(a,2+r),"ss"===e?o.substr(0,2):"."+o.substr(2,e.length-1))):A(n.S,e.length);case 90:switch(e){case"[h]":case"[hh]":i=24*n.D+n.H;break;case"[m]":case"[mm]":i=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":i=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+e}c=3===e.length?1:2;break;case 101:i=l,c=1}return c>0?A(i,c):""}function Q(t){if(t.length<=3)return t;for(var e=t.length%3,n=t.substr(0,e);e!=t.length;e+=3)n+=(n.length>0?",":"")+t.substr(e,3);return n}var J=/%/g;function tt(t,e){var n,r=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==e)return"0.0E+0";if(e<0)return"-"+tt(t,-e);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var o=Math.floor(Math.log(e)*Math.LOG10E)%i;if(o<0&&(o+=i),-1===(n=(e/Math.pow(10,o)).toPrecision(r+1+(i+o)%i)).indexOf("e")){var a=Math.floor(Math.log(e)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(a-n.length+o):n+="E+"+(a-o);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,i)+"."+n.substr(2+i)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(t,e,n,r){return e+n+r.substr(0,(i+o)%i)+"."+r.substr(o)+"E"}))}else n=e.toExponential(r);return t.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),t.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var et=/# (\?+)( ?)\/( ?)(\d+)/;var nt=/^#*0*\.([0#]+)/,rt=/\).*[0#]/,it=/\(###\) ###\\?-####/;function ot(t){for(var e,n="",r=0;r!=t.length;++r)switch(e=t.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(e)}return n}function at(t,e){var n=Math.pow(10,e);return""+Math.round(t*n)/n}function st(t,e){var n=t-Math.floor(t),r=Math.pow(10,e);return e<(""+Math.round(n*r)).length?0:Math.round(n*r)}function lt(t,e,n){if(40===t.charCodeAt(0)&&!e.match(rt)){var r=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?lt("n",r,n):"("+lt("n",r,-n)+")"}if(44===e.charCodeAt(e.length-1))return function(t,e,n){for(var r=e.length-1;44===e.charCodeAt(r-1);)--r;return ht(t,e.substr(0,r),n/Math.pow(10,3*(e.length-r)))}(t,e,n);if(-1!==e.indexOf("%"))return function(t,e,n){var r=e.replace(J,""),i=e.length-r.length;return ht(t,r,n*Math.pow(10,2*i))+Wt("%",i)}(t,e,n);if(-1!==e.indexOf("E"))return tt(e,n);if(36===e.charCodeAt(0))return"$"+lt(t,e.substr(" "==e.charAt(1)?2:1),n);var i,o,a,s,l=Math.abs(n),c=n<0?"-":"";if(e.match(/^00+$/))return c+R(l,e.length);if(e.match(/^[#?]+$/))return"0"===(i=R(n,0))&&(i=""),i.length>e.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(et))return function(t,e,n){var r=parseInt(t[4],10),i=Math.round(e*r),o=Math.floor(i/r),a=i-o*r,s=r;return n+(0===o?"":""+o)+" "+(0===a?Wt(" ",t[1].length+1+t[4].length):P(a,t[1].length)+t[2]+"/"+t[3]+A(s,t[4].length))}(o,l,c);if(e.match(/^#+0+$/))return c+R(l,e.length-e.indexOf("0"));if(o=e.match(nt))return i=at(n,o[1].length).replace(/^([^\.]+)$/,"$1."+ot(o[1])).replace(/\.$/,"."+ot(o[1])).replace(/\.(\d*)$/,(function(t,e){return"."+e+Wt("0",ot(o[1]).length-e.length)})),-1!==e.indexOf("0.")?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),o=e.match(/^(0*)\.(#*)$/))return c+at(l,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=e.match(/^#{1,3},##0(\.?)$/))return c+Q(R(l,0));if(o=e.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+lt(t,e,-n):Q(""+(Math.floor(n)+function(t,e){return e<(""+Math.round((t-Math.floor(t))*Math.pow(10,e))).length?1:0}(n,o[1].length)))+"."+A(st(n,o[1].length),o[1].length);if(o=e.match(/^#,#*,#0/))return lt(t,e.replace(/^#,#*,/,""),n);if(o=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=T(lt(t,e.replace(/[\\-]/g,""),n)),a=0,T(T(e.replace(/\\/g,"")).replace(/[0#]/g,(function(t){return a-2147483648?""+(t>=0?0|t:t-1|0):""+Math.floor(t)}(n)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(t){return"00,"+(t.length<3?A(0,3-t.length):"")+t}))+"."+A(a,o[1].length);switch(e){case"###,##0.00":return lt(t,"#,##0.00",n);case"###,###":case"##,###":case"#,###":var d=Q(R(l,0));return"0"!==d?c+d:"";case"###,###.00":return lt(t,"###,##0.00",n).replace(/^0\./,".");case"#,###.00":return lt(t,"#,##0.00",n).replace(/^0\./,".")}throw new Error("unsupported format |"+e+"|")}function ct(t,e){var n,r=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==e)return"0.0E+0";if(e<0)return"-"+ct(t,-e);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var o=Math.floor(Math.log(e)*Math.LOG10E)%i;if(o<0&&(o+=i),!(n=(e/Math.pow(10,o)).toPrecision(r+1+(i+o)%i)).match(/[Ee]/)){var a=Math.floor(Math.log(e)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(a-n.length+o):n+="E+"+(a-o),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(t,e,n,r){return e+n+r.substr(0,(i+o)%i)+"."+r.substr(o)+"E"}))}else n=e.toExponential(r);return t.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),t.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function ut(t,e,n){if(40===t.charCodeAt(0)&&!e.match(rt)){var r=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?ut("n",r,n):"("+ut("n",r,-n)+")"}if(44===e.charCodeAt(e.length-1))return function(t,e,n){for(var r=e.length-1;44===e.charCodeAt(r-1);)--r;return ht(t,e.substr(0,r),n/Math.pow(10,3*(e.length-r)))}(t,e,n);if(-1!==e.indexOf("%"))return function(t,e,n){var r=e.replace(J,""),i=e.length-r.length;return ht(t,r,n*Math.pow(10,2*i))+Wt("%",i)}(t,e,n);if(-1!==e.indexOf("E"))return ct(e,n);if(36===e.charCodeAt(0))return"$"+ut(t,e.substr(" "==e.charAt(1)?2:1),n);var i,o,a,s,l=Math.abs(n),c=n<0?"-":"";if(e.match(/^00+$/))return c+A(l,e.length);if(e.match(/^[#?]+$/))return i=""+n,0===n&&(i=""),i.length>e.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(et))return function(t,e,n){return n+(0===e?"":""+e)+Wt(" ",t[1].length+2+t[4].length)}(o,l,c);if(e.match(/^#+0+$/))return c+A(l,e.length-e.indexOf("0"));if(o=e.match(nt))return i=(i=(""+n).replace(/^([^\.]+)$/,"$1."+ot(o[1])).replace(/\.$/,"."+ot(o[1]))).replace(/\.(\d*)$/,(function(t,e){return"."+e+Wt("0",ot(o[1]).length-e.length)})),-1!==e.indexOf("0.")?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),o=e.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=e.match(/^#{1,3},##0(\.?)$/))return c+Q(""+l);if(o=e.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+ut(t,e,-n):Q(""+n)+"."+Wt("0",o[1].length);if(o=e.match(/^#,#*,#0/))return ut(t,e.replace(/^#,#*,/,""),n);if(o=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=T(ut(t,e.replace(/[\\-]/g,""),n)),a=0,T(T(e.replace(/\\/g,"")).replace(/[0#]/g,(function(t){return a-1||"\\"==n&&"-"==t.charAt(e+1)&&"0#".indexOf(t.charAt(e+2))>-1););break;case"?":for(;t.charAt(++e)===n;);break;case"*":++e," "!=t.charAt(e)&&"*"!=t.charAt(e)||++e;break;case"(":case")":++e;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;e-1;);break;default:++e}return!1}var pt=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function gt(t,e){if(null==e)return!1;var n=parseFloat(e[2]);switch(e[1]){case"=":if(t==n)return!0;break;case">":if(t>n)return!0;break;case"<":if(t":if(t!=n)return!0;break;case">=":if(t>=n)return!0;break;case"<=":if(t<=n)return!0}return!1}function mt(t,e){var n=function(t){for(var e=[],n=!1,r=0,i=0;r-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!==typeof e)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var o=e>0?n[0]:e<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,o];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var a=n[0].match(pt),s=n[1].match(pt);return gt(e,a)?[r,n[0]]:gt(e,s)?[r,n[1]]:[r,n[null!=a&&null!=s?2:1]]}return[r,o]}function vt(t,e,n){null==n&&(n={});var r="";switch(typeof t){case"string":r="m/d/yy"==t&&n.dateNF?n.dateNF:t;break;case"number":null==(r=14==t&&n.dateNF?n.dateNF:(null!=n.table?n.table:F)[t])&&(r=n.table&&n.table[B[t]]||F[B[t]]),null==r&&(r=H[t]||"General")}if(D(r,0))return K(e,n);e instanceof Date&&(e=G(e,n.date1904));var i=mt(r,e);if(D(i[1]))return K(e,n);if(!0===e)e="TRUE";else if(!1===e)e="FALSE";else if(""===e||null==e)return"";return function(t,e,n,r){for(var i,o,a,s=[],l="",c=0,u="",h="t",f="H";c=12?"P":"A"),g.t="T",f="h",c+=3):"AM/PM"===t.substr(c,5).toUpperCase()?(null!=i&&(g.v=i.H>=12?"PM":"AM"),g.t="T",c+=5,f="h"):"\u4e0a\u5348/\u4e0b\u5348"===t.substr(c,5).toUpperCase()?(null!=i&&(g.v=i.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),g.t="T",c+=5,f="h"):(g.t="t",++c),null==i&&"T"===g.t)return"";s[s.length]=g,h=u;break;case"[":for(l=u;"]"!==t.charAt(c++)&&c-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",dt(t)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=i){for(l=u;++c-1;)l+=u;s[s.length]={t:"n",v:l};break;case"?":for(l=u;t.charAt(++c)===u;)l+=u;s[s.length]={t:u,v:l},h=u;break;case"*":++c," "!=t.charAt(c)&&"*"!=t.charAt(c)||++c;break;case"(":case")":s[s.length]={t:1===r?"t":u,v:u},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=u;c-1;)l+=t.charAt(c);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:u,v:u},++c;break;case"$":s[s.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+t);s[s.length]={t:"t",v:u},++c}var m,v=0,b=0;for(c=s.length-1,h="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=f,h="h",v<1&&(v=1);break;case"s":(m=s[c].v.match(/\.0+$/))&&(b=Math.max(b,m[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":h=s[c].t;break;case"m":"s"===h&&(s[c].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[c].v.match(/[Hh]/)&&(v=1),v<2&&s[c].v.match(/[Mm]/)&&(v=2),v<3&&s[c].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M)}var y,w="";for(c=0;c0){40==w.charCodeAt(0)?(x=e<0&&45===w.charCodeAt(0)?-e:e,S=ht("n",w,x)):(S=ht("n",w,x=e<0&&r>1?-e:e),x<0&&s[0]&&"t"==s[0].t&&(S=S.substr(1),s[0].v="-"+s[0].v)),y=S.length-1;var O=s.length;for(c=0;c-1){O=c;break}var M=s.length;if(O===s.length&&-1===S.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(y>=s[c].v.length-1?(y-=s[c].v.length,s[c].v=S.substr(y+1,s[c].v.length)):y<0?s[c].v="":(s[c].v=S.substr(0,y+1),y=-1),s[c].t="t",M=c);y>=0&&M=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(o=s[c].v.indexOf(".")>-1&&c===O?s[c].v.indexOf(".")-1:s[c].v.length-1,_=s[c].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[c].v.charAt(o)||"#"===s[c].v.charAt(o))&&(_=S.charAt(y--)+_);s[c].v=_,s[c].t="t",M=c}for(y>=0&&M-1&&c===O?s[c].v.indexOf(".")+1:0,_=s[c].v.substr(0,o);o-1&&(x=r>1&&e<0&&c>0&&"-"===s[c-1].v?-e:e,s[c].v=ht(s[c].t,s[c].v,x),s[c].t="t");var k="";for(c=0;c!==s.length;++c)null!=s[c]&&(k+=s[c].v);return k}(i[1],e,n,i[0])}function bt(t,e){if("number"!=typeof e){e=+e||-1;for(var n=0;n<392;++n)if(void 0!=F[n]){if(F[n]==t){e=n;break}}else e<0&&(e=n);e<0&&(e=391)}return F[e]=t,e}function yt(t){for(var e=0;392!=e;++e)void 0!==t[e]&&bt(t[e],e)}function wt(){var t;t||(t={}),t[0]="General",t[1]="0",t[2]="0.00",t[3]="#,##0",t[4]="#,##0.00",t[9]="0%",t[10]="0.00%",t[11]="0.00E+00",t[12]="# ?/?",t[13]="# ??/??",t[14]="m/d/yy",t[15]="d-mmm-yy",t[16]="d-mmm",t[17]="mmm-yy",t[18]="h:mm AM/PM",t[19]="h:mm:ss AM/PM",t[20]="h:mm",t[21]="h:mm:ss",t[22]="m/d/yy h:mm",t[37]="#,##0 ;(#,##0)",t[38]="#,##0 ;[Red](#,##0)",t[39]="#,##0.00;(#,##0.00)",t[40]="#,##0.00;[Red](#,##0.00)",t[45]="mm:ss",t[46]="[h]:mm:ss",t[47]="mmss.0",t[48]="##0.0E+0",t[49]="@",t[56]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "',F=t}var xt=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var St=function(){var t={};t.version="1.2.0";var e=function(){for(var t=0,e=new Array(256),n=0;256!=n;++n)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=n)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[n]=t;return"undefined"!==typeof Int32Array?new Int32Array(e):e}();var n=function(t){var e=0,n=0,r=0,i="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(r=0;256!=r;++r)i[r]=t[r];for(r=0;256!=r;++r)for(n=t[r],e=256+r;e<4096;e+=256)n=i[e]=n>>>8^t[255&n];var o=[];for(r=1;16!=r;++r)o[r-1]="undefined"!==typeof Int32Array?i.subarray(256*r,256*r+256):i.slice(256*r,256*r+256);return o}(e),r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],c=n[6],u=n[7],h=n[8],f=n[9],d=n[10],p=n[11],g=n[12],m=n[13],v=n[14];return t.table=e,t.bstr=function(t,n){for(var r=~n,i=0,o=t.length;i>>8^e[255&(r^t.charCodeAt(i++))];return~r},t.buf=function(t,n){for(var b=~n,y=t.length-15,w=0;w>8&255]^g[t[w++]^b>>16&255]^p[t[w++]^b>>>24]^d[t[w++]]^f[t[w++]]^h[t[w++]]^u[t[w++]]^c[t[w++]]^l[t[w++]]^s[t[w++]]^a[t[w++]]^o[t[w++]]^i[t[w++]]^r[t[w++]]^e[t[w++]];for(y+=15;w>>8^e[255&(b^t[w++])];return~b},t.str=function(t,n){for(var r=~n,i=0,o=t.length,a=0,s=0;i>>8^e[255&(r^a)]:a<2048?r=(r=r>>>8^e[255&(r^(192|a>>6&31))])>>>8^e[255&(r^(128|63&a))]:a>=55296&&a<57344?(a=64+(1023&a),s=1023&t.charCodeAt(i++),r=(r=(r=(r=r>>>8^e[255&(r^(240|a>>8&7))])>>>8^e[255&(r^(128|a>>2&63))])>>>8^e[255&(r^(128|s>>6&15|(3&a)<<4))])>>>8^e[255&(r^(128|63&s))]):r=(r=(r=r>>>8^e[255&(r^(224|a>>12&15))])>>>8^e[255&(r^(128|a>>6&63))])>>>8^e[255&(r^(128|63&a))];return~r},t}(),_t=function(){var t,e={};function n(t){if("/"==t.charAt(t.length-1))return-1===t.slice(0,-1).indexOf("/")?t:n(t.slice(0,-1));var e=t.lastIndexOf("/");return-1===e?t:t.slice(0,e+1)}function r(t){if("/"==t.charAt(t.length-1))return r(t.slice(0,-1));var e=t.lastIndexOf("/");return-1===e?t:t.slice(e+1)}function i(t,e){"string"===typeof e&&(e=new Date(e));var n=e.getHours();n=(n=n<<6|e.getMinutes())<<5|e.getSeconds()>>>1,t.write_shift(2,n);var r=e.getFullYear()-1980;r=(r=r<<4|e.getMonth()+1)<<5|e.getDate(),t.write_shift(2,r)}function o(t){tn(t,0);for(var e={},n=0;t.l<=t.length-4;){var r=t.read_shift(2),i=t.read_shift(2),o=t.l+i,a={};if(21589===r)1&(n=t.read_shift(1))&&(a.mtime=t.read_shift(4)),i>5&&(2&n&&(a.atime=t.read_shift(4)),4&n&&(a.ctime=t.read_shift(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime));t.l=o,e[r]=a}return e}function a(){return t||(t={})}function s(t,e){if(80==t[0]&&75==t[1])return dt(t,e);if(109==(32|t[0])&&105==(32|t[1]))return function(t,e){if("mime-version:"!=I(t.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var n=e&&e.root||"",r=(y&&Buffer.isBuffer(t)?t.toString("binary"):I(t)).split("\r\n"),i=0,o="";for(i=0;i0&&(n=(n=n.slice(0,n.length-1)).slice(0,n.lastIndexOf("/")+1),o.slice(0,n.length)!=n););var a=(r[1]||"").match(/boundary="(.*?)"/);if(!a)throw new Error("MAD cannot find boundary");var s="--"+(a[1]||""),l=[],c=[],u={FileIndex:l,FullPaths:c};f(u);var h,d=0;for(i=0;i=i&&(f-=i),!a[f]){l=[];var p=[];for(h=f;h>=0;){p[h]=!0,a[h]=!0,s[s.length]=h,l.push(t[h]);var g=n[Math.floor(4*h/r)];if(r<4+(d=4*h&c))throw new Error("FAT boundary crossed: "+h+" 4 "+r);if(!t[g])break;if(p[h=Ge(t[g],d)])break}o[f]={nodes:s,data:xe([l])}}return o}(S,o,p,d);_[o].name="!Directory",r>0&&a!==O&&(_[a].name="!MiniFAT"),_[p[0]].name="!FAT",_.fat_addrs=p,_.ssz=d;var k=[],E=[],C=[];!function(t,e,n,r,i,o,a,s){for(var c,f=0,d=r.length?2:0,p=e[t].data,g=0,m=0;g0&&f!==O&&(e[f].name="!StreamData")):b.size>=4096?(b.storage="fat",void 0===e[b.start]&&(e[b.start]=u(n,b.start,e.fat_addrs,e.ssz)),e[b.start].name=b.name,b.content=e[b.start].data.slice(0,b.size)):(b.storage="minifat",b.size<0?b.size=0:f!==O&&b.start!==O&&e[f]&&(b.content=l(b,e[f].data,(e[s]||{}).data))),b.content&&tn(b.content,0),o[c]=b,a.push(b)}}(o,_,S,k,r,{},E,a),function(t,e,n){for(var r=0,i=0,o=0,a=0,s=0,l=n.length,c=[],u=[];r0&&a>=0;)o.push(e.slice(a*m,a*m+m)),i-=m,a=Ge(n,4*a);return 0===o.length?nn(0):k(o).slice(0,t.size)}function c(t,e,n,r,i){var o=O;if(t===O){if(0!==e)throw new Error("DIFAT chain shorter than expected")}else if(-1!==t){var a=n[t],s=(r>>>2)-1;if(!a)return;for(var l=0;l=0;){i[l]=!0,o[o.length]=l,a.push(t[l]);var u=n[Math.floor(4*l/r)];if(r<4+(c=4*l&s))throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!t[u])break;l=Ge(t[u],c)}return{nodes:o,data:xe([a])}}function h(t,e){return new Date(1e3*(Ye(t,e+4)/1e7*Math.pow(2,32)+Ye(t,e)/1e7-11644473600))}function f(t,e){var n=e||{},r=n.root||"Root Entry";if(t.FullPaths||(t.FullPaths=[]),t.FileIndex||(t.FileIndex=[]),t.FullPaths.length!==t.FileIndex.length)throw new Error("inconsistent CFB structure");0===t.FullPaths.length&&(t.FullPaths[0]=r+"/",t.FileIndex[0]={name:r,type:5}),n.CLSID&&(t.FileIndex[0].clsid=n.CLSID),function(t){var e="\x01Sh33tJ5";if(_t.find(t,"/"+e))return;var n=nn(4);n[0]=55,n[1]=n[3]=50,n[2]=54,t.FileIndex.push({name:e,type:2,content:n,size:4,L:69,R:69,C:69}),t.FullPaths.push(t.FullPaths[0]+e),d(t)}(t)}function d(t,e){f(t);for(var i=!1,o=!1,a=t.FullPaths.length-1;a>=0;--a){var s=t.FileIndex[a];switch(s.type){case 0:o?i=!0:(t.FileIndex.pop(),t.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(i=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(i=!0);break;default:i=!0}}if(i||e){var l=new Date(1987,1,19),c=0,u=Object.create?Object.create(null):{},h=[];for(a=0;a1?1:-1,p.size=0,p.type=5;else if("/"==g.slice(-1)){for(c=a+1;c=h.length?-1:c,c=a+1;c=h.length?-1:c,p.type=1}else n(t.FullPaths[a+1]||"")==n(g)&&(p.R=a+1),p.type=2}}}function p(t,e){var n=e||{};if("mad"==n.fileType)return function(t,e){for(var n=e||{},r=n.boundary||"SheetJS",i=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(r="------="+r).slice(2)+'"',"","",""],o=t.FullPaths[0],a=o,s=t.FileIndex[0],l=1;l=32&&d<128&&++h;var g=h>=4*f/5;i.push(r),i.push("Content-Location: "+(n.root||"file:///C:/SheetJS/")+a),i.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),i.push("Content-Type: "+mt(s,a)),i.push(""),i.push(g?bt(u):vt(u))}return i.push(r+"--\r\n"),i.join("\r\n")}(t,n);if(d(t),"zip"===n.fileType)return function(t,e){var n=e||{},r=[],o=[],a=nn(1),s=n.compression?8:0,l=0;0;var c=0,u=0,h=0,f=0,d=t.FullPaths[0],p=d,g=t.FileIndex[0],m=[],v=0;for(c=1;c0&&(o<4096?e+=o+63>>6:n+=o+511>>9)}}for(var a=t.FullPaths.length+3>>2,s=e+127>>7,l=(e+7>>3)+n+a+s,c=l+127>>7,u=c<=109?0:Math.ceil((c-109)/127);l+c+u+127>>7>c;)u=++c<=109?0:Math.ceil((c-109)/127);var h=[1,u,c,s,a,n,e,0];return t.FileIndex[0].size=e<<6,h[7]=(t.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3),h}(t),o=nn(r[7]<<9),a=0,s=0;for(a=0;a<8;++a)o.write_shift(1,T[a]);for(a=0;a<8;++a)o.write_shift(2,0);for(o.write_shift(2,62),o.write_shift(2,3),o.write_shift(2,65534),o.write_shift(2,9),o.write_shift(2,6),a=0;a<3;++a)o.write_shift(2,0);for(o.write_shift(4,0),o.write_shift(4,r[2]),o.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),o.write_shift(4,0),o.write_shift(4,4096),o.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:O),o.write_shift(4,r[3]),o.write_shift(-4,r[1]?r[0]-1:O),o.write_shift(4,r[1]),a=0;a<109;++a)o.write_shift(-4,a>9)));for(l(r[6]+7>>3);511&o.l;)o.write_shift(-4,P.ENDOFCHAIN);for(s=a=0,c=0;c=4096||(h.start=s,l(u+63>>6)));for(;511&o.l;)o.write_shift(-4,P.ENDOFCHAIN);for(a=0;a=4096)if(o.l=h.start+1<<9,y&&Buffer.isBuffer(h.content))h.content.copy(o,o.l,0,h.size),o.l+=h.size+511&-512;else{for(c=0;c0&&h.size<4096)if(y&&Buffer.isBuffer(h.content))h.content.copy(o,o.l,0,h.size),o.l+=h.size+63&-64;else{for(c=0;c>16|e>>8|e)}for(var F="undefined"!==typeof Uint8Array,B=F?new Uint8Array(256):[],H=0;H<256;++H)B[H]=L(H);function z(t,e){var n=B[255&t];return e<=8?n>>>8-e:(n=n<<8|B[t>>8&255],e<=16?n>>>16-e:(n=n<<8|B[t>>16&255])>>>24-e)}function V(t,e){var n=7&e,r=e>>>3;return(t[r]|(n<=6?0:t[r+1]<<8))>>>n&3}function W(t,e){var n=7&e,r=e>>>3;return(t[r]|(n<=5?0:t[r+1]<<8))>>>n&7}function U(t,e){var n=7&e,r=e>>>3;return(t[r]|(n<=3?0:t[r+1]<<8))>>>n&31}function Y(t,e){var n=7&e,r=e>>>3;return(t[r]|(n<=1?0:t[r+1]<<8))>>>n&127}function G(t,e,n){var r=7&e,i=e>>>3,o=(1<>>r;return n<8-r?a&o:(a|=t[i+1]<<8-r,n<16-r?a&o:(a|=t[i+2]<<16-r,n<24-r?a&o:(a|=t[i+3]<<24-r)&o))}function X(t,e,n){var r=7&e,i=e>>>3;return r<=5?t[i]|=(7&n)<>8-r),e+3}function q(t,e,n){return n=(1&n)<<(7&e),t[e>>>3]|=n,e+1}function $(t,e,n){var r=e>>>3;return n<<=7&e,t[r]|=255&n,n>>>=8,t[r+1]=n,e+8}function K(t,e,n){var r=e>>>3;return n<<=7&e,t[r]|=255&n,n>>>=8,t[r+1]=255&n,t[r+2]=n>>>8,e+16}function Z(t,e){var n=t.length,r=2*n>e?2*n:e+5,i=0;if(n>=e)return t;if(y){var o=S(r);if(t.copy)t.copy(o);else for(;i>r-h,a=(1<=0;--a)e[s|a<0;)e[e.l++]=t[n++]}return e.l}(e,n):function(e,n){for(var i=0,o=0,a=F?new Uint16Array(32768):[];o0;)n[n.l++]=e[o++];i=8*n.l}else{i=X(n,i,+!(o+s!=e.length)+2);for(var l=0;s-- >0;){var c=e[o],u=-1,h=0;if((u=a[l=32767&(l<<5^c)])&&((u|=-32768&o)>o&&(u-=32768),u2){(c=r[h])<=22?i=$(n,i,B[c+1]>>1)-1:($(n,i,3),$(n,i+=5,B[c-23]>>5),i+=3);var f=c<8?0:c-4>>2;f>0&&(K(n,i,h-D[c]),i+=f),c=t[o-u],i=$(n,i,B[c]>>3),i-=3;var d=c<4?0:c-2>>1;d>0&&(K(n,i,o-u-N[c]),i+=d);for(var p=0;p>>3;return(t[r]|(n<=4?0:t[r+1]<<8))>>>n&15}(t,e+=5)+4;e+=4;for(var o=0,a=F?new Uint8Array(19):Q(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=F?new Uint8Array(8):Q(8),u=F?new Uint8Array(8):Q(8),h=a.length,f=0;f>8-p;for(var g=(1<<7-p)-1;g>=0;--g)st[d|g<>>=3){case 16:for(o=3+V(t,e),e+=2,d=m[m.length-1];o-- >0;)m.push(d);break;case 17:for(o=3+W(t,e),e+=3;o-- >0;)m.push(0);break;case 18:for(o=11+Y(t,e),e+=7;o-- >0;)m.push(0);break;default:m.push(d),l>>0,s=0,l=0;0==(1&r);)if(r=W(t,n),n+=3,r>>>1!=0)for(r>>1==1?(s=9,l=5):(n=ut(t,n),s=lt,l=ct);;){!e&&a>>1==1?tt[c]:ot[c];if(n+=15&u,0===((u>>>=4)>>>8&255))i[o++]=u;else{if(256==u)break;var h=(u-=257)<8?0:u-4>>2;h>5&&(h=0);var f=o+D[u];h>0&&(f+=G(t,n,h),n+=h),c=G(t,n,l),n+=15&(u=r>>>1==1?et[c]:at[c]);var d=(u>>>=4)<4?0:u-2>>1,p=N[u];for(d>0&&(p+=G(t,n,d),n+=d),!e&&a>>3]|t[1+(n>>>3)]<<8;if(n+=32,g>0)for(!e&&a0;)i[o++]=t[n>>>3],n+=8}return e?[i,n+7>>>3]:[i.slice(0,o),n+7>>>3]}(t.slice(t.l||0),e);return t.l+=n[1],n[0]}function ft(t,e){if(!t)throw new Error(e);"undefined"!==typeof console&&console.error(e)}function dt(t,e){var n=t;tn(n,0);var r={FileIndex:[],FullPaths:[]};f(r,{root:e.root});for(var i=n.length-4;(80!=n[i]||75!=n[i+1]||5!=n[i+2]||6!=n[i+3])&&i>=0;)--i;n.l=i+4,n.l+=4;var a=n.read_shift(2);n.l+=6;var s=n.read_shift(4);for(n.l=s,i=0;i>>=5);n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(o-1),r.setDate(i);var a=31&e,s=63&(e>>>=5);return e>>>=6,r.setHours(e),r.setMinutes(s),r.setSeconds(a<<1),r}(t);if(8257&a)throw new Error("Unsupported ZIP encryption");t.read_shift(4);for(var c=t.read_shift(4),u=t.read_shift(4),h=t.read_shift(2),f=t.read_shift(2),d="",p=0;p0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):e<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(t instanceof Date)return t;if(1917==Ft.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return t.indexOf(""+r)>-1||n.setFullYear(n.getFullYear()+100),n}var i=t.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return t.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function zt(t,e){if(y&&Buffer.isBuffer(t)){if(e){if(255==t[0]&&254==t[1])return ue(t.slice(2).toString("utf16le"));if(254==t[1]&&255==t[2])return ue(h(t.slice(2).toString("binary")))}return t.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(e){if(255==t[0]&&254==t[1])return ue(new TextDecoder("utf-16le").decode(t.slice(2)));if(254==t[0]&&255==t[1])return ue(new TextDecoder("utf-16be").decode(t.slice(2)))}var n={"\u20ac":"\x80","\u201a":"\x82","\u0192":"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02c6":"\x88","\u2030":"\x89","\u0160":"\x8a","\u2039":"\x8b","\u0152":"\x8c","\u017d":"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99","\u0161":"\x9a","\u203a":"\x9b","\u0153":"\x9c","\u017e":"\x9e","\u0178":"\x9f"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,(function(t){return n[t]||t}))}catch(o){}for(var r=[],i=0;i!=t.length;++i)r.push(String.fromCharCode(t[i]));return r.join("")}function Vt(t){if("undefined"!=typeof JSON&&!Array.isArray(t))return JSON.parse(JSON.stringify(t));if("object"!=typeof t||null==t)return t;if(t instanceof Date)return new Date(t.getTime());var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=Vt(t[n]));return e}function Wt(t,e){for(var n="";n.length3&&-1==Yt.indexOf(a))return n}else if(a.match(/[a-z]/))return n;return r<0||r>8099?n:(i>0||o>1)&&101!=r?e:t.match(/[^-0-9:,\/\\]/)?n:e}function Xt(t,e,n){if(t.FullPaths){var r;if("string"==typeof n)return r=y?w(n):function(t){for(var e=[],n=0,r=t.length+250,i=x(t.length+255),o=0;o>6&31,i[n++]=128|63&a;else if(a>=55296&&a<57344){a=64+(1023&a);var s=1023&t.charCodeAt(++o);i[n++]=240|a>>8&7,i[n++]=128|a>>2&63,i[n++]=128|s>>6&15|(3&a)<<4,i[n++]=128|63&s}else i[n++]=224|a>>12&15,i[n++]=128|a>>6&63,i[n++]=128|63&a;n>r&&(e.push(i.slice(0,n)),n=0,i=x(65535),r=65530)}return e.push(i.slice(0,n)),k(e)}(n),_t.utils.cfb_add(t,e,r);_t.utils.cfb_add(t,e,n)}else t.file(e,n)}function qt(){return _t.utils.cfb_new()}var $t='\r\n';var Kt={""":'"',"'":"'",">":">","<":"<","&":"&"},Zt=Tt(Kt),Qt=/[&<>'"]/g,Jt=/[\u0000-\u0008\u000b-\u001f]/g;function te(t){return(t+"").replace(Qt,(function(t){return Zt[t]})).replace(Jt,(function(t){return"_x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function ee(t){return te(t).replace(/ /g,"_x0020_")}var ne=/[\u0000-\u001f]/g;function re(t){return(t+"").replace(Qt,(function(t){return Zt[t]})).replace(/\n/g,"
").replace(ne,(function(t){return"&#x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+";"}))}function ie(t){switch(t){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function oe(t){for(var e="",n=0,r=0,i=0,o=0,a=0,s=0;n191&&r<224?(a=(31&r)<<6,a|=63&i,e+=String.fromCharCode(a)):(o=t.charCodeAt(n++),r<240?e+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o):(s=((7&r)<<18|(63&i)<<12|(63&o)<<6|63&(a=t.charCodeAt(n++)))-65536,e+=String.fromCharCode(55296+(s>>>10&1023)),e+=String.fromCharCode(56320+(1023&s)))));return e}function ae(t){var e,n,r,i=x(2*t.length),o=1,a=0,s=0;for(n=0;n>>10&1023),e=56320+(1023&e)),0!==s&&(i[a++]=255&s,i[a++]=s>>>8,s=0),i[a++]=e%256,i[a++]=e>>>8;return i.slice(0,a).toString("ucs2")}function se(t){return w(t,"binary").toString("utf8")}var le="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",ce=y&&(se(le)==oe(le)&&se||ae(le)==oe(le)&&ae)||oe,ue=y?function(t){return w(t,"utf8").toString("binary")}:function(t){for(var e=[],n=0,r=0,i=0;n>6))),e.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,i=t.charCodeAt(n++)-56320+(r<<10),e.push(String.fromCharCode(240+(i>>18&7))),e.push(String.fromCharCode(144+(i>>12&63))),e.push(String.fromCharCode(128+(i>>6&63))),e.push(String.fromCharCode(128+(63&i)));break;default:e.push(String.fromCharCode(224+(r>>12))),e.push(String.fromCharCode(128+(r>>6&63))),e.push(String.fromCharCode(128+(63&r)))}return e.join("")},he=function(){var t=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]}));return function(e){for(var n=e.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),r=0;r"+e+""}function pe(t){return Et(t).map((function(e){return" "+e+'="'+t[e]+'"'})).join("")}function ge(t,e,n){return"<"+t+(null!=n?pe(n):"")+(null!=e?(e.match(fe)?' xml:space="preserve"':"")+">"+e+""}function me(t,e){try{return t.toISOString().replace(/\.\d*/,"")}catch(n){if(e)throw n}return""}var ve={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},be=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],ye={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};var we=function(t){for(var e=[],n=0;n0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0].map((function(t){return Buffer.isBuffer(t)?t:w(t)}))):we(t)}:we,Se=function(t,e,n){for(var r=[],i=e;i0?Ee(t,e+4,e+4+n-1):""},Te=Ce,Ae=function(t,e){var n=Ye(t,e);return n>0?Ee(t,e+4,e+4+n-1):""},Pe=Ae,Ie=function(t,e){var n=2*Ye(t,e);return n>0?Ee(t,e+4,e+4+n-1):""},je=Ie,Re=function(t,e){var n=Ye(t,e);return n>0?_e(t,e+4,e+4+n):""},De=Re,Ne=function(t,e){var n=Ye(t,e);return n>0?Ee(t,e+4,e+4+n):""},Le=Ne,Fe=function(t,e){return function(t,e){for(var n=1-2*(t[e+7]>>>7),r=((127&t[e+7])<<4)+(t[e+6]>>>4&15),i=15&t[e+6],o=5;o>=0;--o)i=256*i+t[e+o];return 2047==r?0==i?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,i+=Math.pow(2,52)),n*Math.pow(2,r-52)*i)}(t,e)},Be=Fe,He=function(t){return Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array};function ze(){_e=function(t,e,n){return f.utils.decode(1200,t.slice(e,n)).replace(E,"")},Ee=function(t,e,n){return f.utils.decode(65001,t.slice(e,n))},Te=function(t,e){var n=Ye(t,e);return n>0?f.utils.decode(o,t.slice(e+4,e+4+n-1)):""},Pe=function(t,e){var n=Ye(t,e);return n>0?f.utils.decode(i,t.slice(e+4,e+4+n-1)):""},je=function(t,e){var n=2*Ye(t,e);return n>0?f.utils.decode(1200,t.slice(e+4,e+4+n-1)):""},De=function(t,e){var n=Ye(t,e);return n>0?f.utils.decode(1200,t.slice(e+4,e+4+n)):""},Le=function(t,e){var n=Ye(t,e);return n>0?f.utils.decode(65001,t.slice(e+4,e+4+n)):""}}y&&(Te=function(t,e){if(!Buffer.isBuffer(t))return Ce(t,e);var n=t.readUInt32LE(e);return n>0?t.toString("utf8",e+4,e+4+n-1):""},Pe=function(t,e){if(!Buffer.isBuffer(t))return Ae(t,e);var n=t.readUInt32LE(e);return n>0?t.toString("utf8",e+4,e+4+n-1):""},je=function(t,e){if(!Buffer.isBuffer(t))return Ie(t,e);var n=2*t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+n-1)},De=function(t,e){if(!Buffer.isBuffer(t))return Re(t,e);var n=t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+n)},Le=function(t,e){if(!Buffer.isBuffer(t))return Ne(t,e);var n=t.readUInt32LE(e);return t.toString("utf8",e+4,e+4+n)},Be=function(t,e){return Buffer.isBuffer(t)?t.readDoubleLE(e):Fe(t,e)},He=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array}),"undefined"!==typeof f&&ze();var Ve=function(t,e){return t[e]},We=function(t,e){return 256*t[e+1]+t[e]},Ue=function(t,e){var n=256*t[e+1]+t[e];return n<32768?n:-1*(65535-n+1)},Ye=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},Ge=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},Xe=function(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]};function qe(t,e){var n,r,o,a,s,l,c="",u=[];switch(e){case"dbcs":if(l=this.l,y&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*t).toString("utf16le");else for(s=0;s0?Ge:Xe)(this,this.l),this.l+=4,n):(r=Ye(this,this.l),this.l+=4,r);case 8:case-8:if("f"===e)return r=8==t?Be(this,this.l):Be([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;t=8;case 16:c=Me(this,this.l,t)}}return this.l+=t,c}var $e=function(t,e,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24&255},Ke=function(t,e,n){t[n]=255&e,t[n+1]=e>>8&255,t[n+2]=e>>16&255,t[n+3]=e>>24&255},Ze=function(t,e,n){t[n]=255&e,t[n+1]=e>>>8&255};function Qe(t,e,n){var r=0,i=0;if("dbcs"===n){for(i=0;i!=e.length;++i)Ze(this,e.charCodeAt(i),this.l+2*i);r=2*e.length}else if("sbcs"===n){if("undefined"!==typeof f&&874==o)for(i=0;i!=e.length;++i){var a=f.utils.encode(o,e.charAt(i));this[this.l+i]=a[0]}else for(e=e.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=e.length;++i)this[this.l+i]=255&e.charCodeAt(i);r=e.length}else{if("hex"===n){for(;i>8}for(;this.l>>=8,this[this.l+1]=255&e;break;case 3:r=3,this[this.l]=255&e,e>>>=8,this[this.l+1]=255&e,e>>>=8,this[this.l+2]=255&e;break;case 4:r=4,$e(this,e,this.l);break;case 8:if(r=8,"f"===n){!function(t,e,n){var r=(e<0||1/e==-1/0?1:0)<<7,i=0,o=0,a=r?-e:e;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o>4|r}(this,e,this.l);break}case 16:break;case-4:r=4,Ke(this,e,this.l)}}return this.l+=r,this}function Je(t,e){var n=Me(this,this.l,t.length>>1);if(n!==t)throw new Error(e+"Expected "+t+" saw "+n);this.l+=t.length>>1}function tn(t,e){t.l=e,t.read_shift=qe,t.chk=Je,t.write_shift=Qe}function en(t,e){t.l+=e}function nn(t){var e=x(t);return tn(e,0),e}function rn(){var t=[],e=y?256:2048,n=function(t){var e=nn(t);return tn(e,0),e},r=n(e),i=function(){r&&(r.length>r.l&&((r=r.slice(0,r.l)).l=r.length),r.length>0&&t.push(r),r=null)},o=function(t){return r&&t=128?1:0)+1,r>=128&&++i,r>=16384&&++i,r>=2097152&&++i;var a=t.next(i);o<=127?a.write_shift(1,o):(a.write_shift(1,128+(127&o)),a.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(r>=128)){a.write_shift(1,r);break}a.write_shift(1,128+(127&r)),r>>=7}r>0&&He(n)&&t.push(n)}}function an(t,e,n){var r=Vt(t);if(e.s?(r.cRel&&(r.c+=e.s.c),r.rRel&&(r.r+=e.s.r)):(r.cRel&&(r.c+=e.c),r.rRel&&(r.r+=e.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function sn(t,e,n){var r=Vt(t);return r.s=an(r.s,e.s,n),r.e=an(r.e,e.s,n),r}function ln(t,e){if(t.cRel&&t.c<0)for(t=Vt(t);t.c<0;)t.c+=e>8?16384:256;if(t.rRel&&t.r<0)for(t=Vt(t);t.r<0;)t.r+=e>8?1048576:e>5?65536:16384;var n=gn(t);return t.cRel||null==t.cRel||(n=n.replace(/^([A-Z])/,"$$$1")),t.rRel||null==t.rRel||(n=function(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(n)),n}function cn(t,e){return 0!=t.s.r||t.s.rRel||t.e.r!=(e.biff>=12?1048575:e.biff>=8?65536:16384)||t.e.rRel?0!=t.s.c||t.s.cRel||t.e.c!=(e.biff>=12?16383:255)||t.e.cRel?ln(t.s,e.biff)+":"+ln(t.e,e.biff):(t.s.rRel?"":"$")+hn(t.s.r)+":"+(t.e.rRel?"":"$")+hn(t.e.r):(t.s.cRel?"":"$")+dn(t.s.c)+":"+(t.e.cRel?"":"$")+dn(t.e.c)}function un(t){return parseInt(t.replace(/\$(\d+)$/,"$1"),10)-1}function hn(t){return""+(t+1)}function fn(t){for(var e=t.replace(/^\$([A-Z])/,"$1"),n=0,r=0;r!==e.length;++r)n=26*n+e.charCodeAt(r)-64;return n-1}function dn(t){if(t<0)throw new Error("invalid column "+t);var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}function pn(t){for(var e=0,n=0,r=0;r=48&&i<=57?e=10*e+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:e-1}}function gn(t){for(var e=t.c+1,n="";e;e=(e-1)/26|0)n=String.fromCharCode((e-1)%26+65)+n;return n+(t.r+1)}function mn(t){var e=t.indexOf(":");return-1==e?{s:pn(t),e:pn(t)}:{s:pn(t.slice(0,e)),e:pn(t.slice(e+1))}}function vn(t,e){return"undefined"===typeof e||"number"===typeof e?vn(t.s,t.e):("string"!==typeof t&&(t=gn(t)),"string"!==typeof e&&(e=gn(e)),t==e?t:t+":"+e)}function bn(t){var e={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,o=t.length;for(n=0;r26);++r)n=26*n+i;for(e.s.c=--n,n=0;r9);++r)n=10*n+i;if(e.s.r=--n,r===o||10!=i)return e.e.c=e.s.c,e.e.r=e.s.r,e;for(++r,n=0;r!=o&&!((i=t.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(e.e.c=--n,n=0;r!=o&&!((i=t.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;return e.e.r=--n,e}function yn(t,e){var n="d"==t.t&&e instanceof Date;if(null!=t.z)try{return t.w=vt(t.z,n?It(e):e)}catch(r){}try{return t.w=vt((t.XF||{}).numFmtId||(n?14:0),n?It(e):e)}catch(r){return""+e}}function wn(t,e,n){return null==t||null==t.t||"z"==t.t?"":void 0!==t.w?t.w:("d"==t.t&&!t.z&&n&&n.dateNF&&(t.z=n.dateNF),"e"==t.t?rr[t.v]||t.v:yn(t,void 0==e?t.v:e))}function xn(t,e){var n=e&&e.sheet?e.sheet:"Sheet1",r={};return r[n]=t,{SheetNames:[n],Sheets:r}}function Sn(t,e,n){var r=n||{},i=t?Array.isArray(t):r.dense;null!=g&&null==i&&(i=g);var o=t||(i?[]:{}),a=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)a=r.origin;else{var l="string"==typeof r.origin?pn(r.origin):r.origin;a=l.r,s=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=bn(o["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==a&&(c.e.r=a=u.e.r+1)}for(var h=0;h!=e.length;++h)if(e[h]){if(!Array.isArray(e[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var f=0;f!=e[h].length;++f)if("undefined"!==typeof e[h][f]){var d={v:e[h][f]},p=a+h,m=s+f;if(c.s.r>p&&(c.s.r=p),c.s.c>m&&(c.s.c=m),c.e.r0&&e.write_shift(0,t,"dbcs"),n?e.slice(0,e.l):e}function En(t){return{ich:t.read_shift(2),ifnt:t.read_shift(2)}}function Cn(t,e){var n=t.l,r=t.read_shift(1),i=Mn(t),o=[],a={t:i,h:i};if(0!==(1&r)){for(var s=t.read_shift(4),l=0;l!=s;++l)o.push(En(t));a.r=o}else a.r=[{ich:0,ifnt:0}];return t.l=n+e,a}var Tn=Cn;function An(t,e){var n=!1;return null==e&&(n=!0,e=nn(23+4*t.t.length)),e.write_shift(1,1),kn(t.t,e),e.write_shift(4,1),function(t,e){e||(e=nn(4)),e.write_shift(2,t.ich||0),e.write_shift(2,t.ifnt||0)}({ich:0,ifnt:0},e),n?e.slice(0,e.l):e}function Pn(t){var e=t.read_shift(4),n=t.read_shift(2);return n+=t.read_shift(1)<<16,t.l++,{c:e,iStyleRef:n}}function In(t,e){return null==e&&(e=nn(8)),e.write_shift(-4,t.c),e.write_shift(3,t.iStyleRef||t.s),e.write_shift(1,0),e}function jn(t){var e=t.read_shift(2);return e+=t.read_shift(1)<<16,t.l++,{c:-1,iStyleRef:e}}function Rn(t,e){return null==e&&(e=nn(4)),e.write_shift(3,t.iStyleRef||t.s),e.write_shift(1,0),e}var Dn=Mn,Nn=kn;function Ln(t){var e=t.read_shift(4);return 0===e||4294967295===e?"":t.read_shift(e,"dbcs")}function Fn(t,e){var n=!1;return null==e&&(n=!0,e=nn(127)),e.write_shift(4,t.length>0?t.length:4294967295),t.length>0&&e.write_shift(0,t,"dbcs"),n?e.slice(0,e.l):e}var Bn=Mn,Hn=Ln,zn=Fn;function Vn(t){var e=t.slice(t.l,t.l+4),n=1&e[0],r=2&e[0];t.l+=4;var i=0===r?Be([0,0,0,0,252&e[0],e[1],e[2],e[3]],0):Ge(e,0)>>2;return n?i/100:i}function Wn(t,e){null==e&&(e=nn(4));var n=0,r=0,i=100*t;if(t==(0|t)&&t>=-(1<<29)&&t<1<<29?r=1:i==(0|i)&&i>=-(1<<29)&&i<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+t);e.write_shift(-4,((n?i:t)<<2)+(n+2))}function Un(t){var e={s:{},e:{}};return e.s.r=t.read_shift(4),e.e.r=t.read_shift(4),e.s.c=t.read_shift(4),e.e.c=t.read_shift(4),e}var Yn=Un,Gn=function(t,e){return e||(e=nn(16)),e.write_shift(4,t.s.r),e.write_shift(4,t.e.r),e.write_shift(4,t.s.c),e.write_shift(4,t.e.c),e};function Xn(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t.read_shift(8,"f")}function qn(t,e){return(e||nn(8)).write_shift(8,t,"f")}function $n(t,e){if(e||(e=nn(8)),!t||t.auto)return e.write_shift(4,0),e.write_shift(4,0),e;null!=t.index?(e.write_shift(1,2),e.write_shift(1,t.index)):null!=t.theme?(e.write_shift(1,6),e.write_shift(1,t.theme)):(e.write_shift(1,5),e.write_shift(1,0));var n=t.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),e.write_shift(2,n),t.rgb&&null==t.theme){var r=t.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),e.write_shift(1,parseInt(r.slice(0,2),16)),e.write_shift(1,parseInt(r.slice(2,4),16)),e.write_shift(1,parseInt(r.slice(4,6),16)),e.write_shift(1,255)}else e.write_shift(2,0),e.write_shift(1,0),e.write_shift(1,0);return e}var Kn=2,Zn=3,Qn=80,Jn={1:{n:"CodePage",t:Kn},2:{n:"Category",t:Qn},3:{n:"PresentationFormat",t:Qn},4:{n:"ByteCount",t:Zn},5:{n:"LineCount",t:Zn},6:{n:"ParagraphCount",t:Zn},7:{n:"SlideCount",t:Zn},8:{n:"NoteCount",t:Zn},9:{n:"HiddenCount",t:Zn},10:{n:"MultimediaClipCount",t:Zn},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:Qn},15:{n:"Company",t:Qn},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Zn},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Zn,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:Qn},27:{n:"ContentStatus",t:Qn},28:{n:"Language",t:Qn},29:{n:"Version",t:Qn},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},tr={1:{n:"CodePage",t:Kn},2:{n:"Title",t:Qn},3:{n:"Subject",t:Qn},4:{n:"Author",t:Qn},5:{n:"Keywords",t:Qn},6:{n:"Comments",t:Qn},7:{n:"Template",t:Qn},8:{n:"LastAuthor",t:Qn},9:{n:"RevNumber",t:Qn},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Zn},15:{n:"WordCount",t:Zn},16:{n:"CharCount",t:Zn},17:{n:"Thumbnail",t:71},18:{n:"Application",t:Qn},19:{n:"DocSecurity",t:Zn},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function er(t){return t.map((function(t){return[t>>16&255,t>>8&255,255&t]}))}var nr=Vt(er([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),rr={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},ir={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},or={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function ar(t,e){var n,r=function(t){for(var e=[],n=Et(t),r=0;r!==n.length;++r)null==e[t[n[r]]]&&(e[t[n[r]]]=[]),e[t[n[r]]].push(n[r]);return e}(ir),i=[];i[i.length]=$t,i[i.length]=ge("Types",null,{xmlns:ve.CT,"xmlns:xsd":ve.xsd,"xmlns:xsi":ve.xsi}),i=i.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(t){return ge("Default",null,{Extension:t[0],ContentType:t[1]})})));var o=function(r){t[r]&&t[r].length>0&&(n=t[r][0],i[i.length]=ge("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:or[r][e.bookType]||or[r].xlsx}))},a=function(n){(t[n]||[]).forEach((function(t){i[i.length]=ge("Override",null,{PartName:("/"==t[0]?"":"/")+t,ContentType:or[n][e.bookType]||or[n].xlsx})}))},s=function(e){(t[e]||[]).forEach((function(t){i[i.length]=ge("Override",null,{PartName:("/"==t[0]?"":"/")+t,ContentType:r[e][0]})}))};return o("workbooks"),a("sheets"),a("charts"),s("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),a("metadata"),s("people"),i.length>2&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")}var sr={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function lr(t){var e=t.lastIndexOf("/");return t.slice(0,e+1)+"_rels/"+t.slice(e+1)+".rels"}function cr(t){var e=[$t,ge("Relationships",null,{xmlns:ve.RELS})];return Et(t["!id"]).forEach((function(n){e[e.length]=ge("Relationship",null,t["!id"][n])})),e.length>2&&(e[e.length]="",e[1]=e[1].replace("/>",">")),e.join("")}function ur(t,e,n,r,i,o){if(i||(i={}),t["!id"]||(t["!id"]={}),t["!idx"]||(t["!idx"]=1),e<0)for(e=t["!idx"];t["!id"]["rId"+e];++e);if(t["!idx"]=e+1,i.Id="rId"+e,i.Type=r,i.Target=n,o?i.TargetMode=o:[sr.HLINK,sr.XPATH,sr.XMISS].indexOf(i.Type)>-1&&(i.TargetMode="External"),t["!id"][i.Id])throw new Error("Cannot rewrite rId "+e);return t["!id"][i.Id]=i,t[("/"+i.Target).replace("//","/")]=i,e}function hr(t,e,n){return[' \n',' \n'," \n"].join("")}function fr(){return'SheetJS '+r.version+""}var dr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function pr(t,e,n,r,i){null==i[t]&&null!=e&&""!==e&&(i[t]=e,e=te(e),r[r.length]=n?ge(t,e,n):de(t,e))}function gr(t,e){var n=e||{},r=[$t,ge("cp:coreProperties",null,{"xmlns:cp":ve.CORE_PROPS,"xmlns:dc":ve.dc,"xmlns:dcterms":ve.dcterms,"xmlns:dcmitype":ve.dcmitype,"xmlns:xsi":ve.xsi})],i={};if(!t&&!n.Props)return r.join("");t&&(null!=t.CreatedDate&&pr("dcterms:created","string"===typeof t.CreatedDate?t.CreatedDate:me(t.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i),null!=t.ModifiedDate&&pr("dcterms:modified","string"===typeof t.ModifiedDate?t.ModifiedDate:me(t.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i));for(var o=0;o!=dr.length;++o){var a=dr[o],s=n.Props&&null!=n.Props[a[1]]?n.Props[a[1]]:t?t[a[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&pr(a[0],s,null,r,i)}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var mr=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],vr=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function br(t){var e=[],n=ge;return t||(t={}),t.Application="SheetJS",e[e.length]=$t,e[e.length]=ge("Properties",null,{xmlns:ve.EXT_PROPS,"xmlns:vt":ve.vt}),mr.forEach((function(r){if(void 0!==t[r[1]]){var i;switch(r[2]){case"string":i=te(String(t[r[1]]));break;case"bool":i=t[r[1]]?"true":"false"}void 0!==i&&(e[e.length]=n(r[0],i))}})),e[e.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","Worksheets")+n("vt:variant",n("vt:i4",String(t.Worksheets))),{size:2,baseType:"variant"})),e[e.length]=n("TitlesOfParts",n("vt:vector",t.SheetNames.map((function(t){return""+te(t)+""})).join(""),{size:t.Worksheets,baseType:"lpstr"})),e.length>2&&(e[e.length]="",e[1]=e[1].replace("/>",">")),e.join("")}function yr(t){var e=[$t,ge("Properties",null,{xmlns:ve.CUST_PROPS,"xmlns:vt":ve.vt})];if(!t)return e.join("");var n=1;return Et(t).forEach((function(r){++n,e[e.length]=ge("property",function(t,e){switch(typeof t){case"string":var n=ge("vt:lpwstr",te(t));return e&&(n=n.replace(/"/g,"_x0022_")),n;case"number":return ge((0|t)==t?"vt:i4":"vt:r8",te(String(t)));case"boolean":return ge("vt:bool",t?"true":"false")}if(t instanceof Date)return ge("vt:filetime",me(t));throw new Error("Unable to serialize "+t)}(t[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:te(r)})})),e.length>2&&(e[e.length]="",e[1]=e[1].replace("/>",">")),e.join("")}var wr={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function xr(t,e){var n=nn(4),r=nn(4);switch(n.write_shift(4,80==t?31:t),t){case 3:r.write_shift(-4,e);break;case 5:(r=nn(8)).write_shift(8,e,"f");break;case 11:r.write_shift(4,e?1:0);break;case 64:r=function(t){var e=("string"==typeof t?new Date(Date.parse(t)):t).getTime()/1e3+11644473600,n=e%Math.pow(2,32),r=(e-n)/Math.pow(2,32);r*=1e7;var i=(n*=1e7)/Math.pow(2,32)|0;i>0&&(n%=Math.pow(2,32),r+=i);var o=nn(8);return o.write_shift(4,n),o.write_shift(4,r),o}(e);break;case 31:case 80:for((r=nn(4+2*(e.length+1)+(e.length%2?0:2))).write_shift(4,e.length+1),r.write_shift(0,e,"dbcs");r.l!=r.length;)r.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+e)}return k([n,r])}var Sr=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function _r(t){switch(typeof t){case"boolean":return 11;case"number":return(0|t)==t?3:5;case"string":return 31;case"object":if(t instanceof Date)return 64}return-1}function Or(t,e,n){var r=nn(8),i=[],o=[],a=8,s=0,l=nn(8),c=nn(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),o.push(l),i.push(c),a+=8+l.length,!e){(c=nn(8)).write_shift(4,0),i.unshift(c);var u=[nn(4)];for(u[0].write_shift(4,t.length),s=0;s-1||vr.indexOf(t[s][0])>-1)&&null!=t[s][1]){var f=t[s][1],d=0;if(e){var p=n[d=+e[t[s][0]]];if("version"==p.p&&"string"==typeof f){var g=f.split(".");f=(+g[0]<<16)+(+g[1]||0)}l=xr(p.t,f)}else{var m=_r(f);-1==m&&(m=31,f=String(f)),l=xr(m,f)}o.push(l),(c=nn(8)).write_shift(4,e?d:2+s),i.push(c),a+=8+l.length}var v=8*(o.length+1);for(s=0;s=12?2:1),o="sbcs-cont",a=i;(n&&n.biff>=8&&(i=1200),n&&8!=n.biff)?12==n.biff&&(o="wstr"):t.read_shift(1)&&(o="dbcs-cont");n.biff>=2&&n.biff<=5&&(o="cpstr");var s=r?t.read_shift(r,o):"";return i=a,s}function Ir(t){var e=t.t||"",n=nn(3);n.write_shift(2,e.length),n.write_shift(1,1);var r=nn(2*e.length);return r.write_shift(2*e.length,e,"utf16le"),k([n,r])}function jr(t,e,n){if(n){if(n.biff>=2&&n.biff<=5)return t.read_shift(e,"cpstr");if(n.biff>=12)return t.read_shift(e,"dbcs-cont")}return 0===t.read_shift(1)?t.read_shift(e,"sbcs-cont"):t.read_shift(e,"dbcs-cont")}function Rr(t,e,n){var r=t.read_shift(n&&2==n.biff?1:2);return 0===r?(t.l++,""):jr(t,r,n)}function Dr(t,e,n){if(n.biff>5)return Rr(t,0,n);var r=t.read_shift(1);return 0===r?(t.l++,""):t.read_shift(r,n.biff<=4||!t.lens?"cpstr":"sbcs-cont")}function Nr(t,e,n){return n||(n=nn(3+2*t.length)),n.write_shift(2,t.length),n.write_shift(1,1),n.write_shift(31,t,"utf16le"),n}function Lr(t,e){e||(e=nn(6+2*t.length)),e.write_shift(4,1+t.length);for(var n=0;n-1?31:23;switch(r.charAt(0)){case"#":o=28;break;case".":o&=-3}e.write_shift(4,2),e.write_shift(4,o);var a=[8,6815827,6619237,4849780,83];for(n=0;n-1?r.slice(0,i):r;for(e.write_shift(4,2*(s.length+1)),n=0;n-1?r.slice(i+1):"",e)}else{for(a="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n8?4:2;return[t.read_shift(r),t.read_shift(r,"i"),t.read_shift(r,"i")]}function zr(t){var e=t.read_shift(2),n=t.read_shift(2);return{s:{c:t.read_shift(2),r:e},e:{c:t.read_shift(2),r:n}}}function Vr(t,e){return e||(e=nn(8)),e.write_shift(2,t.s.r),e.write_shift(2,t.e.r),e.write_shift(2,t.s.c),e.write_shift(2,t.e.c),e}function Wr(t,e,n){var r=1536,i=16;switch(n.bookType){case"biff8":case"xla":break;case"biff5":r=1280,i=8;break;case"biff4":r=4,i=6;break;case"biff3":r=3,i=6;break;case"biff2":r=2,i=4;break;default:throw new Error("unsupported BIFF version")}var o=nn(i);return o.write_shift(2,r),o.write_shift(2,e),i>4&&o.write_shift(2,29282),i>6&&o.write_shift(2,1997),i>8&&(o.write_shift(2,49161),o.write_shift(2,1),o.write_shift(2,1798),o.write_shift(2,0)),o}function Ur(t,e){var n=!e||e.biff>=8?2:1,r=nn(8+n*t.name.length);r.write_shift(4,t.pos),r.write_shift(1,t.hs||0),r.write_shift(1,t.dt),r.write_shift(1,t.name.length),e.biff>=8&&r.write_shift(1,1),r.write_shift(n*t.name.length,t.name,e.biff<8?"sbcs":"utf16le");var i=r.slice(0,r.l);return i.l=r.l,i}function Yr(t,e,n,r){var i=n&&5==n.biff;r||(r=nn(i?3+e.length:5+2*e.length)),r.write_shift(2,t),r.write_shift(i?1:2,e.length),i||r.write_shift(1,1),r.write_shift((i?1:2)*e.length,e,i?"sbcs":"utf16le");var o=r.length>r.l?r.slice(0,r.l):r;return null==o.l&&(o.l=o.length),o}function Gr(t,e,n,r){var i=n&&5==n.biff;r||(r=nn(i?16:20)),r.write_shift(2,0),t.style?(r.write_shift(2,t.numFmtId||0),r.write_shift(2,65524)):(r.write_shift(2,t.numFmtId||0),r.write_shift(2,e<<4));var o=0;return t.numFmtId>0&&i&&(o|=1024),r.write_shift(4,o),r.write_shift(4,0),i||r.write_shift(4,0),r.write_shift(2,0),r}function Xr(t,e,n){if(n.biff<8)return function(t,e,n){3==t[t.l+1]&&t[t.l]++;var r=Pr(t,0,n);return 3==r.charCodeAt(0)?r.slice(1):r}(t,0,n);for(var r=[],i=t.l+e,o=t.read_shift(n.biff>8?4:2);0!==o--;)r.push(Hr(t,n.biff,n));if(t.l!=i)throw new Error("Bad ExternSheet: "+t.l+" != "+i);return r}function qr(t){var e=nn(24),n=pn(t[0]);e.write_shift(2,n.r),e.write_shift(2,n.r),e.write_shift(2,n.c),e.write_shift(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)e.write_shift(1,parseInt(r[i],16));return k([e,Fr(t[1])])}function $r(t){var e=t[1].Tooltip,n=nn(10+2*(e.length+1));n.write_shift(2,2048);var r=pn(t[0]);n.write_shift(2,r.r),n.write_shift(2,r.r),n.write_shift(2,r.c),n.write_shift(2,r.c);for(var i=0;i=12?4:2,i=t.read_shift(r),o=t.read_shift(r),a=t.read_shift(r),s=t.read_shift(r),l=t.read_shift(2);2==r&&(t.l+=2);var c={s:i,e:o,w:a,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}var Zr=function(){var t={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},e=Tt({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(e,n){var r=n||{};r.dateNF||(r.dateNF="yyyymmdd");var i=_n(function(e,n){var r=[],i=x(1);switch(n.type){case"base64":i=_(b(e));break;case"binary":i=_(e);break;case"buffer":case"array":i=e}tn(i,0);var o=i.read_shift(1),a=!!(136&o),s=!1,l=!1;switch(o){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:s=!0,a=!0;break;case 140:l=!0;break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var c=0,u=521;2==o&&(c=i.read_shift(2)),i.l+=3,2!=o&&(c=i.read_shift(4)),c>1048576&&(c=1e6),2!=o&&(u=i.read_shift(2));var h=i.read_shift(2),d=n.codepage||1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(d=t[i[i.l]]),i.l+=1,i.l+=2),l&&(i.l+=36);for(var p=[],g={},m=Math.min(i.length,2==o?521:u-10-(s?264:0)),v=l?32:11;i.l0;)if(42!==i[i.l])for(++i.l,r[++y]=[],w=0,w=0;w!=p.length;++w){var S=i.slice(i.l,i.l+p[w].len);i.l+=p[w].len,tn(S,0);var O=f.utils.decode(d,S);switch(p[w].type){case"C":O.trim().length&&(r[y][w]=O.replace(/\s+$/,""));break;case"D":8===O.length?r[y][w]=new Date(+O.slice(0,4),+O.slice(4,6)-1,+O.slice(6,8)):r[y][w]=O;break;case"F":r[y][w]=parseFloat(O.trim());break;case"+":case"I":r[y][w]=l?2147483648^S.read_shift(-4,"i"):S.read_shift(4,"i");break;case"L":switch(O.trim().toUpperCase()){case"Y":case"T":r[y][w]=!0;break;case"N":case"F":r[y][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+O+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[y][w]="##MEMO##"+(l?parseInt(O.trim(),10):S.read_shift(4));break;case"N":(O=O.replace(/\u0000/g,"").trim())&&"."!=O&&(r[y][w]=+O||0);break;case"@":r[y][w]=new Date(S.read_shift(-8,"f")-621356832e5);break;case"T":r[y][w]=new Date(864e5*(S.read_shift(4)-2440588)+S.read_shift(4));break;case"Y":r[y][w]=S.read_shift(4,"i")/1e4+S.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":r[y][w]=-S.read_shift(-8,"f");break;case"B":if(s&&8==p[w].len){r[y][w]=S.read_shift(8,"f");break}case"G":case"P":S.l+=p[w].len;break;case"0":if("_NullFlags"===p[w].name)break;default:throw new Error("DBF Unsupported data type "+p[w].type)}}else i.l+=h;if(2!=o&&i.l=0&&c(+i.codepage),"string"==i.type)throw new Error("Cannot write DBF to JS string");var a=rn(),s=ps(t,{header:1,raw:!0,cellDates:!0}),l=s[0],u=s.slice(1),h=t["!cols"]||[],f=0,d=0,p=0,g=1;for(f=0;f250&&(S=250),"C"==(x=((h[f]||{}).DBF||{}).type)&&h[f].DBF.len>S&&(S=h[f].DBF.len),"B"==w&&"N"==x&&(w="N",y[f]=h[f].DBF.dec,S=h[f].DBF.len),b[f]="C"==w||"N"==x?S:r[w]||0,g+=b[f],v[f]=w}else v[f]="?"}var O=a.next(32);for(O.write_shift(4,318902576),O.write_shift(4,u.length),O.write_shift(2,296+32*p),O.write_shift(2,g),f=0;f<4;++f)O.write_shift(4,0);for(O.write_shift(4,(+e[o]||3)<<8),f=0,d=0;f":190,"?":191,"{":223},e=new RegExp("\x1bN("+Et(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(e,n){var r=t[n];return"number"==typeof r?p(r):r},r=function(t,e,n){var r=e.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?t:p(r)};function i(t,i){var o,a=t.split(/[\n\r]+/),s=-1,l=-1,u=0,h=0,d=[],p=[],g=null,m={},v=[],b=[],y=[],w=0;for(+i.codepage>=0&&c(+i.codepage);u!==a.length;++u){w=0;var x,S=a[u].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(e,n),_=S.replace(/;;/g,"\0").split(";").map((function(t){return t.replace(/\u0000/g,";")})),O=_[0];if(S.length>0)switch(O){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==_[1].charAt(0)&&p.push(S.slice(3).replace(/;;/g,";"));break;case"C":var M=!1,k=!1,E=!1,C=!1,T=-1,A=-1;for(h=1;h<_.length;++h)switch(_[h].charAt(0)){case"A":case"G":break;case"X":l=parseInt(_[h].slice(1))-1,k=!0;break;case"Y":for(s=parseInt(_[h].slice(1))-1,k||(l=0),o=d.length;o<=s;++o)d[o]=[];break;case"K":'"'===(x=_[h].slice(1)).charAt(0)?x=x.slice(1,x.length-1):"TRUE"===x?x=!0:"FALSE"===x?x=!1:isNaN(Ut(x))?isNaN(Gt(x).getDate())||(x=Ht(x)):(x=Ut(x),null!==g&&dt(g)&&(x=Nt(x))),"undefined"!==typeof f&&"string"==typeof x&&"string"!=(i||{}).type&&(i||{}).codepage&&(x=f.utils.decode(i.codepage,x)),M=!0;break;case"E":C=!0;var P=Ui(_[h].slice(1),{r:s,c:l});d[s][l]=[d[s][l],P];break;case"S":E=!0,d[s][l]=[d[s][l],"S5S"];break;case"R":T=parseInt(_[h].slice(1))-1;break;case"C":A=parseInt(_[h].slice(1))-1;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}if(M&&(d[s][l]&&2==d[s][l].length?d[s][l][0]=x:d[s][l]=x,g=null),E){if(C)throw new Error("SYLK shared formula cannot have own formula");var I=T>-1&&d[T][A];if(!I||!I[1])throw new Error("SYLK shared formula cannot find base");d[s][l][1]=Xi(I[1],{r:s-T,c:l-A})}break;case"F":var j=0;for(h=1;h<_.length;++h)switch(_[h].charAt(0)){case"X":l=parseInt(_[h].slice(1))-1,++j;break;case"Y":for(s=parseInt(_[h].slice(1))-1,o=d.length;o<=s;++o)d[o]=[];break;case"M":w=parseInt(_[h].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":g=p[parseInt(_[h].slice(1))];break;case"W":for(y=_[h].slice(1).split(" "),o=parseInt(y[0],10);o<=parseInt(y[1],10);++o)w=parseInt(y[2],10),b[o-1]=0===w?{hidden:!0}:{wch:w},mi(b[o-1]);break;case"C":b[l=parseInt(_[h].slice(1))-1]||(b[l]={});break;case"R":v[s=parseInt(_[h].slice(1))-1]||(v[s]={}),w>0?(v[s].hpt=w,v[s].hpx=yi(w)):0===w&&(v[s].hidden=!0);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}j<1&&(g=null);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}}return v.length>0&&(m["!rows"]=v),b.length>0&&(m["!cols"]=b),i&&i.sheetRows&&(d=d.slice(0,i.sheetRows)),[d,m]}function o(t,e){var n=function(t,e){switch(e.type){case"base64":return i(b(t),e);case"binary":return i(t,e);case"buffer":return i(y&&Buffer.isBuffer(t)?t.toString("binary"):M(t),e);case"array":return i(zt(t),e)}throw new Error("Unrecognized type "+e.type)}(t,e),r=n[0],o=n[1],a=_n(r,e);return Et(o).forEach((function(t){a[t]=o[t]})),a}function a(t,e,n,r){var i="C;Y"+(n+1)+";X"+(r+1)+";K";switch(t.t){case"n":i+=t.v||0,t.f&&!t.F&&(i+=";E"+Gi(t.f,{r:n,c:r}));break;case"b":i+=t.v?"TRUE":"FALSE";break;case"e":i+=t.w||t.v;break;case"d":i+='"'+(t.w||t.v)+'"';break;case"s":i+='"'+t.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return i}return t["|"]=254,{to_workbook:function(t,e){return xn(o(t,e),e)},to_sheet:o,from_sheet:function(t,e){var n,r,i=["ID;PWXL;N;E"],o=[],s=bn(t["!ref"]),l=Array.isArray(t),c="\r\n";i.push("P;PGeneral"),i.push("F;P0;DG0G8;M255"),t["!cols"]&&(r=i,t["!cols"].forEach((function(t,e){var n="F;W"+(e+1)+" "+(e+1)+" ";t.hidden?n+="0":("number"!=typeof t.width||t.wpx||(t.wpx=di(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=pi(t.wpx)),"number"==typeof t.wch&&(n+=Math.round(t.wch)))," "!=n.charAt(n.length-1)&&r.push(n)}))),t["!rows"]&&function(t,e){e.forEach((function(e,n){var r="F;";e.hidden?r+="M0;":e.hpt?r+="M"+20*e.hpt+";":e.hpx&&(r+="M"+20*bi(e.hpx)+";"),r.length>2&&t.push(r+"R"+(n+1))}))}(i,t["!rows"]),i.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var u=s.s.r;u<=s.e.r;++u)for(var h=s.s.c;h<=s.e.c;++h){var f=gn({r:u,c:h});(n=l?(t[u]||[])[h]:t[f])&&(null!=n.v||n.f&&!n.F)&&o.push(a(n,0,u,h))}return i.join(c)+c+o.join(c)+c+"E"+c}}}(),Jr=function(){function t(t,e){for(var n=t.split("\n"),r=-1,i=-1,o=0,a=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){for(var s=n[o].trim().split(","),l=s[0],c=s[1],u=n[++o]||"";1&(u.match(/["]/g)||[]).length&&o=0?s=c:i=c}})),l>=0&&-1==s&&i>=0&&(s=i,i=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==a&&-1==s&&-1==l?c:-1==r&&-1==i&&-1==o?u:c+"T"+u}(0,n.dateNF,e.match(v)||[]),i=1),n.cellDates?(r.t="d",r.v=Ht(e,i)):(r.t="n",r.v=It(Ht(e,i))),!1!==n.cellText&&(r.w=vt(r.z,r.v instanceof Date?It(r.v):r.v)),n.cellNF||delete r.z}else r.t="s",r.v=e;else r.t="n",!1!==n.cellText&&(r.w=e),r.v=c;if("z"==r.t||(n.dense?(o[s]||(o[s]=[]),o[s][l]=r):o[gn({c:l,r:s})]=r),u=h+1,m=t.charCodeAt(u),a.e.c0&&b(),o["!ref"]=vn(a),o}function o(e,n){return n&&n.PRN?n.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?i(e,n):_n(function(e,n){var r=n||{},i=[];if(!e||0===e.length)return i;for(var o=e.split(/[\r\n]/),a=o.length-1;a>=0&&0===o[a].length;)--a;for(var s=10,l=0,c=0;c<=a;++c)-1==(l=o[c].indexOf(" "))?l=o[c].length:l++,s=Math.max(s,l);for(c=0;c<=a;++c){i[c]=[];var u=0;for(t(o[c].slice(0,s).trim(),i,c,u,r),u=1;u<=(o[c].length-s)/10+1;++u)t(o[c].slice(s+10*(u-1),s+10*u).trim(),i,c,u,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}(e,n),n):i(e,n)}function a(t,e){var n="",r="string"==e.type?[0,0,0,0]:ss(t,e);switch(e.type){case"base64":n=b(t);break;case"binary":case"string":n=t;break;case"buffer":n=65001==e.codepage?t.toString("utf8"):e.codepage&&"undefined"!==typeof f?f.utils.decode(e.codepage,t):y&&Buffer.isBuffer(t)?t.toString("binary"):M(t);break;case"array":n=zt(t);break;default:throw new Error("Unrecognized type "+e.type)}return 239==r[0]&&187==r[1]&&191==r[2]?n=ce(n.slice(3)):"string"!=e.type&&"buffer"!=e.type&&65001==e.codepage?n=ce(n):"binary"==e.type&&"undefined"!==typeof f&&e.codepage&&(n=f.utils.decode(e.codepage,f.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?ti.to_sheet("string"==e.type?n:ce(n),e):o(n,e)}return{to_workbook:function(t,e){return xn(a(t,e),e)},to_sheet:a,from_sheet:function(t){for(var e,n=[],r=bn(t["!ref"]),i=Array.isArray(t),o=r.s.r;o<=r.e.r;++o){for(var a=[],s=r.s.c;s<=r.e.c;++s){var l=gn({r:o,c:s});if((e=i?(t[o]||[])[s]:t[l])&&null!=e.v){for(var c=(e.w||(wn(e),e.w)||"").slice(0,10);c.length<10;)c+=" ";a.push(c+(0===s?" ":""))}else a.push(" ")}n.push(a.join(""))}return n.join("\n")}}}();var ni=function(){function t(t,e,n){if(t){tn(t,t.l||0);for(var r=n.Enum||w;t.l=16&&5==e[14]&&108===e[15])throw new Error("Unsupported Works 3 for Mac file");if(2==e[2])r.Enum=w,t(e,(function(t,e,n){switch(n){case 0:r.vers=t,t>=4096&&(r.qpro=!0);break;case 6:h=t;break;case 204:t&&(a=t);break;case 222:a=t;break;case 15:case 51:r.qpro||(t[1].v=t[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&t[2])&&(15&t[2])>1&&(15&t[2])<15&&(t[1].z=r.dateNF||F[14],r.cellDates&&(t[1].t="d",t[1].v=Nt(t[1].v))),r.qpro&&t[3]>s&&(i["!ref"]=vn(h),l[o]=i,c.push(o),i=r.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],o=a||"Sheet"+(s+1),a="");var u=r.dense?(i[t[0].r]||[])[t[0].c]:i[gn(t[0])];if(u){u.t=t[1].t,u.v=t[1].v,null!=t[1].z&&(u.z=t[1].z),null!=t[1].f&&(u.f=t[1].f);break}r.dense?(i[t[0].r]||(i[t[0].r]=[]),i[t[0].r][t[0].c]=t[1]):i[gn(t[0])]=t[1]}}),r);else{if(26!=e[2]&&14!=e[2])throw new Error("Unrecognized LOTUS BOF "+e[2]);r.Enum=x,14==e[2]&&(r.qpro=!0,e.l=0),t(e,(function(t,e,n){switch(n){case 204:o=t;break;case 22:t[1].v=t[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(t[3]>s&&(i["!ref"]=vn(h),l[o]=i,c.push(o),i=r.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],o="Sheet"+(s+1)),f>0&&t[0].r>=f)break;r.dense?(i[t[0].r]||(i[t[0].r]=[]),i[t[0].r][t[0].c]=t[1]):i[gn(t[0])]=t[1],h.e.c=128?95:o)}return r.write_shift(1,0),r}function o(t,e,n){var r=nn(7);return r.write_shift(1,255),r.write_shift(2,e),r.write_shift(2,t),r.write_shift(2,n,"i"),r}function a(t,e,n){var r=nn(13);return r.write_shift(1,255),r.write_shift(2,e),r.write_shift(2,t),r.write_shift(8,n,"f"),r}function s(t,e,n){var r=32768&e;return e=(r?t:0)+((e&=-32769)>=8192?e-16384:e),(r?"":"$")+(n?dn(e):hn(e))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},u=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function h(t){var e=[{c:0,r:0},{t:"n",v:0},0];return e[0].r=t.read_shift(2),e[3]=t[t.l++],e[0].c=t[t.l++],e}function f(t,e,n,r){var i=nn(6+r.length);i.write_shift(2,t),i.write_shift(1,n),i.write_shift(1,e),i.write_shift(1,39);for(var o=0;o=128?95:a)}return i.write_shift(1,0),i}function d(t,e){var n=h(t),r=t.read_shift(4),i=t.read_shift(4),o=t.read_shift(2);if(65535==o)return 0===r&&3221225472===i?(n[1].t="e",n[1].v=15):0===r&&3489660928===i?(n[1].t="e",n[1].v=42):n[1].v=0,n;var a=32768&o;return o=(32767&o)-16446,n[1].v=(1-2*a)*(i*Math.pow(2,o+32)+r*Math.pow(2,o)),n}function p(t,e,n,r){var i=nn(14);if(i.write_shift(2,t),i.write_shift(1,n),i.write_shift(1,e),0==r)return i.write_shift(4,0),i.write_shift(4,0),i.write_shift(2,65535),i;var o,a=0,s=0,l=0;return r<0&&(a=1,r=-r),s=0|Math.log2(r),0==(2147483648&(l=(r/=Math.pow(2,s-31))>>>0))&&(++s,l=(r/=2)>>>0),r-=l,l|=2147483648,l>>>=0,o=(r*=Math.pow(2,32))>>>0,i.write_shift(4,o),i.write_shift(4,l),s+=16383+(a?32768:0),i.write_shift(2,s),i}function m(t,e){var n=h(t),r=t.read_shift(8,"f");return n[1].v=r,n}function v(t,e){return 0==t[t.l+e-1]?t.read_shift(e,"cstr"):""}function y(t,e){var n=nn(5+t.length);n.write_shift(2,14e3),n.write_shift(2,e);for(var r=0;r127?95:i}return n[n.l++]=0,n}var w={0:{n:"BOF",f:Cr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(t,e,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return 8==e&&n.qpro?(r.s.c=t.read_shift(1),t.l++,r.s.r=t.read_shift(2),r.e.c=t.read_shift(1),t.l++,r.e.r=t.read_shift(2),r):(r.s.c=t.read_shift(2),r.s.r=t.read_shift(2),12==e&&n.qpro&&(t.l+=2),r.e.c=t.read_shift(2),r.e.r=t.read_shift(2),12==e&&n.qpro&&(t.l+=2),65535==r.s.c&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(t,e,r){var i=n(t,0,r);return i[1].v=t.read_shift(2,"i"),i}},14:{n:"NUMBER",f:function(t,e,r){var i=n(t,0,r);return i[1].v=t.read_shift(8,"f"),i}},15:{n:"LABEL",f:r},16:{n:"FORMULA",f:function(t,e,r){var i=t.l+e,o=n(t,0,r);if(o[1].v=t.read_shift(8,"f"),r.qpro)t.l=i;else{var a=t.read_shift(2);!function(t,e){tn(t,0);var n=[],r=0,i="",o="",a="",c="";for(;t.ln.length)return void console.error("WK1 bad formula parse 0x"+h.toString(16)+":|"+n.join("|")+"|");var g=n.slice(-r);n.length-=r,n.push(l[h][0]+"("+g.join(",")+")")}}}1==n.length?e[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}(t.slice(t.l,t.l+a),o),t.l+=a}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:r},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:v},222:{n:"SHEETNAMELP",f:function(t,e){var n=t[t.l++];n>e-1&&(n=e-1);for(var r="";r.length>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64}return n[1].v=r,n}},25:{n:"FORMULA19",f:function(t,e){var n=d(t);return t.l+=e-14,n}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(t,e){for(var n={},r=t.l+e;t.l>6,n}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(t,e){var n=m(t);return t.l+=e-10,n}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:v},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(t,e,n){if(n.qpro&&!(e<21)){var r=t.read_shift(1);return t.l+=17,t.l+=1,t.l+=2,[r,t.read_shift(e-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(t,e){var n=e||{};if(+n.codepage>=0&&c(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r=rn(),s=bn(t["!ref"]),l=Array.isArray(t),u=[];ya(r,0,function(t){var e=nn(2);return e.write_shift(2,t),e}(1030)),ya(r,6,function(t){var e=nn(8);return e.write_shift(2,t.s.c),e.write_shift(2,t.s.r),e.write_shift(2,t.e.c),e.write_shift(2,t.e.r),e}(s));for(var h=Math.min(s.e.r,8191),f=s.s.r;f<=h;++f)for(var d=hn(f),p=s.s.c;p<=s.e.c;++p){f===s.s.r&&(u[p]=dn(p));var g=u[p]+d,m=l?(t[f]||[])[p]:t[g];if(m&&"z"!=m.t)if("n"==m.t)(0|m.v)==m.v&&m.v>=-32768&&m.v<=32767?ya(r,13,o(f,p,m.v)):ya(r,14,a(f,p,m.v));else ya(r,15,i(f,p,wn(m).slice(0,239)))}return ya(r,1),r.end()},book_to_wk3:function(t,e){var n=e||{};if(+n.codepage>=0&&c(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=rn();ya(r,0,function(t){var e=nn(26);e.write_shift(2,4096),e.write_shift(2,4),e.write_shift(4,0);for(var n=0,r=0,i=0,o=0;o8191&&(n=8191);return e.write_shift(2,n),e.write_shift(1,i),e.write_shift(1,r),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(1,1),e.write_shift(1,2),e.write_shift(4,0),e.write_shift(4,0),e}(t));for(var i=0,o=0;i";i.r?o+=i.r:(o+=""),o+="",n[n.length]=o}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var oi=function(t,e){var n=!1;return null==e&&(n=!0,e=nn(15+4*t.t.length)),e.write_shift(1,0),kn(t.t,e),n?e.slice(0,e.l):e};function ai(t){var e=rn();on(e,159,function(t,e){return e||(e=nn(8)),e.write_shift(4,t.Count),e.write_shift(4,t.Unique),e}(t));for(var n=0;n=0;--n)r=((0===(16384&r)?0:1)|r<<1&32767)^e[n];return 52811^r}var ci=function(){function t(t,n){switch(n.type){case"base64":return e(b(t),n);case"binary":return e(t,n);case"buffer":return e(y&&Buffer.isBuffer(t)?t.toString("binary"):M(t),n);case"array":return e(zt(t),n)}throw new Error("Unrecognized type "+n.type)}function e(t,e){var n=(e||{}).dense?[]:{},r=t.match(/\\trowd.*?\\row\b/g);if(!r.length)throw new Error("RTF missing table");var i={s:{c:0,r:0},e:{c:0,r:r.length-1}};return r.forEach((function(t,e){Array.isArray(n)&&(n[e]=[]);for(var r,o=/\\\w+\b/g,a=0,s=-1;r=o.exec(t);){if("\\cell"===r[0]){var l=t.slice(a,o.lastIndex-r[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var c={v:l,t:"s"};Array.isArray(n)?n[e][s]=c:n[gn({r:e,c:s})]=c}}a=o.lastIndex}s>i.e.c&&(i.e.c=s)})),n["!ref"]=vn(i),n}return{to_workbook:function(e,n){return xn(t(e,n),n)},to_sheet:t,from_sheet:function(t){for(var e,n=["{\\rtf1\\ansi"],r=bn(t["!ref"]),i=Array.isArray(t),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var a=r.s.c;a<=r.e.c;++a)n.push("\\cellx"+(a+1));for(n.push("\\pard\\intbl"),a=r.s.c;a<=r.e.c;++a){var s=gn({r:o,c:a});(e=i?(t[o]||[])[a]:t[s])&&(null!=e.v||e.f&&!e.F)&&(n.push(" "+(e.w||(wn(e),e.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function ui(t){for(var e=0,n=1;3!=e;++e)n=256*n+(t[e]>255?255:t[e]<0?0:t[e]);return n.toString(16).toUpperCase().slice(1)}var hi=6,fi=hi;function di(t){return Math.floor((t+Math.round(128/fi)/256)*fi)}function pi(t){return Math.floor((t-5)/fi*100+.5)/100}function gi(t){return Math.round((t*fi+5)/fi*256)/256}function mi(t){t.width?(t.wpx=di(t.width),t.wch=pi(t.wpx),t.MDW=fi):t.wpx?(t.wch=pi(t.wpx),t.width=gi(t.wch),t.MDW=fi):"number"==typeof t.wch&&(t.width=gi(t.wch),t.wpx=di(t.width),t.MDW=fi),t.customWidth&&delete t.customWidth}var vi=96;function bi(t){return 96*t/vi}function yi(t){return t*vi/96}function wi(t,e){var n,r=[$t,ge("styleSheet",null,{xmlns:be[0],"xmlns:vt":ve.vt})];return t.SSF&&null!=(n=function(t){var e=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&(e[e.length]=ge("numFmt",null,{numFmtId:r,formatCode:te(t[r])}))})),1===e.length?"":(e[e.length]="",e[0]=ge("numFmts",null,{count:e.length-2}).replace("/>",">"),e.join(""))}(t.SSF))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(n=function(t){var e=[];return e[e.length]=ge("cellXfs",null),t.forEach((function(t){e[e.length]=ge("xf",null,t)})),e[e.length]="",2===e.length?"":(e[0]=ge("cellXfs",null,{count:e.length-2}).replace("/>",">"),e.join(""))}(e.cellXfs))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function xi(t,e,n){n||(n=nn(6+4*e.length)),n.write_shift(2,t),kn(e,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}function Si(t,e){e||(e=nn(153)),e.write_shift(2,20*t.sz),function(t,e){e||(e=nn(2));var n=(t.italic?2:0)|(t.strike?8:0)|(t.outline?16:0)|(t.shadow?32:0)|(t.condense?64:0)|(t.extend?128:0);e.write_shift(1,n),e.write_shift(1,0)}(t,e),e.write_shift(2,t.bold?700:400);var n=0;"superscript"==t.vertAlign?n=1:"subscript"==t.vertAlign&&(n=2),e.write_shift(2,n),e.write_shift(1,t.underline||0),e.write_shift(1,t.family||0),e.write_shift(1,t.charset||0),e.write_shift(1,0),$n(t.color,e);var r=0;return"major"==t.scheme&&(r=1),"minor"==t.scheme&&(r=2),e.write_shift(1,r),kn(t.name,e),e.length>e.l?e.slice(0,e.l):e}var _i,Oi=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Mi=en;function ki(t,e){e||(e=nn(84)),_i||(_i=Tt(Oi));var n=_i[t.patternType];null==n&&(n=40),e.write_shift(4,n);var r=0;if(40!=n)for($n({auto:1},e),$n({auto:1},e);r<12;++r)e.write_shift(4,0);else{for(;r<4;++r)e.write_shift(4,0);for(;r<12;++r)e.write_shift(4,0)}return e.length>e.l?e.slice(0,e.l):e}function Ei(t,e,n){n||(n=nn(16)),n.write_shift(2,e||0),n.write_shift(2,t.numFmtId||0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0);return n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n}function Ci(t,e){return e||(e=nn(10)),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(4,0),e.write_shift(4,0),e}var Ti=en;function Ai(t){var e;on(t,613,On(1)),on(t,46,(e||(e=nn(51)),e.write_shift(1,0),Ci(0,e),Ci(0,e),Ci(0,e),Ci(0,e),Ci(0,e),e.length>e.l?e.slice(0,e.l):e)),on(t,614)}function Pi(t){var e,n;on(t,619,On(1)),on(t,48,(e={xfId:0,builtinId:0,name:"Normal"},n||(n=nn(52)),n.write_shift(4,e.xfId),n.write_shift(2,1),n.write_shift(1,+e.builtinId),n.write_shift(1,0),Fn(e.name||"",n),n.length>n.l?n.slice(0,n.l):n)),on(t,620)}function Ii(t){on(t,508,function(t,e,n){var r=nn(2052);return r.write_shift(4,t),Fn(e,r),Fn(n,r),r.length>r.l?r.slice(0,r.l):r}(0,"TableStyleMedium9","PivotStyleMedium4")),on(t,509)}function ji(t,e){var n=rn();return on(n,278),function(t,e){if(e){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(t){for(var r=t[0];r<=t[1];++r)null!=e[r]&&++n})),0!=n&&(on(t,615,On(n)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&on(t,44,xi(r,e[r]))})),on(t,616))}}(n,t.SSF),function(t){on(t,611,On(1)),on(t,43,Si({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),on(t,612)}(n),function(t){on(t,603,On(2)),on(t,45,ki({patternType:"none"})),on(t,45,ki({patternType:"gray125"})),on(t,604)}(n),Ai(n),function(t){on(t,626,On(1)),on(t,47,Ei({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),on(t,627)}(n),function(t,e){on(t,617,On(e.length)),e.forEach((function(e){on(t,47,Ei(e,0))})),on(t,618)}(n,e.cellXfs),Pi(n),function(t){on(t,505,On(0)),on(t,506)}(n),Ii(n),on(n,279),n.end()}function Ri(t,e){if(e&&e.themeXLSX)return e.themeXLSX;if(t&&"string"==typeof t.raw)return t.raw;var n=[$t];return n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n.join("")}function Di(){var t=rn();return on(t,332),on(t,334,On(1)),on(t,335,function(t){var e=nn(12+2*t.name.length);return e.write_shift(4,t.flags),e.write_shift(4,t.version),kn(t.name,e),e.slice(0,e.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),on(t,336),on(t,339,function(t,e){var n=nn(8+2*e.length);return n.write_shift(4,t),kn(e,n),n.slice(0,n.l)}(1,"XLDAPR")),on(t,52),on(t,35,On(514)),on(t,4096,On(0)),on(t,4097,Tr(1)),on(t,36),on(t,53),on(t,340),on(t,337,function(t,e){var n=nn(8);return n.write_shift(4,t),n.write_shift(4,e?1:0),n}(1,!0)),on(t,51,function(t){var e=nn(4+8*t.length);e.write_shift(4,t.length);for(var n=0;n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),t.join("")}var Li=1024;function Fi(t,e){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),i=[ge("xml",null,{"xmlns:v":ye.v,"xmlns:o":ye.o,"xmlns:x":ye.x,"xmlns:mv":ye.mv}).replace(/\/>/,">"),ge("o:shapelayout",ge("o:idmap",null,{"v:ext":"edit",data:t}),{"v:ext":"edit"}),ge("v:shapetype",[ge("v:stroke",null,{joinstyle:"miter"}),ge("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];Li<1e3*t;)Li+=1e3;return e.forEach((function(t){var e=pn(t[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?ge("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=ge("v:fill",r,n);++Li,i=i.concat(["",o,ge("v:shadow",null,{on:"t",obscured:"t"}),ge("v:path",null,{"o:connecttype":"none"}),'
','',"","",de("x:Anchor",[e.c+1,0,e.r+1,0,e.c+3,20,e.r+5,20].join(",")),de("x:AutoFill","False"),de("x:Row",String(e.r)),de("x:Column",String(e.c)),t[1].hidden?"":"","",""])})),i.push(""),i.join("")}function Bi(t){var e=[$t,ge("comments",null,{xmlns:be[0]})],n=[];return e.push(""),t.forEach((function(t){t[1].forEach((function(t){var r=te(t.a);-1==n.indexOf(r)&&(n.push(r),e.push(""+r+"")),t.T&&t.ID&&-1==n.indexOf("tc="+t.ID)&&(n.push("tc="+t.ID),e.push("tc="+t.ID+""))}))})),0==n.length&&(n.push("SheetJ5"),e.push("SheetJ5")),e.push(""),e.push(""),t.forEach((function(t){var r=0,i=[];if(t[1][0]&&t[1][0].T&&t[1][0].ID?r=n.indexOf("tc="+t[1][0].ID):t[1].forEach((function(t){t.a&&(r=n.indexOf(te(t.a))),i.push(t.t||"")})),e.push(''),i.length<=1)e.push(de("t",te(i[0]||"")));else{for(var o="Comment:\n "+i[0]+"\n",a=1;a")})),e.push(""),e.length>2&&(e[e.length]="",e[1]=e[1].replace("/>",">")),e.join("")}function Hi(t,e,n){var r=[$t,ge("ThreadedComments",null,{xmlns:ve.TCMNT}).replace(/[\/]>/,">")];return t.forEach((function(t){var i="";(t[1]||[]).forEach((function(o,a){if(o.T){o.a&&-1==e.indexOf(o.a)&&e.push(o.a);var s={ref:t[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+n.tcid++).slice(-12)+"}"};0==a?i=s.id:s.parentId=i,o.ID=s.id,o.a&&(s.personId="{54EE7950-7262-4200-6969-"+("000000000000"+e.indexOf(o.a)).slice(-12)+"}"),r.push(ge("threadedComment",de("text",o.t||""),s))}else delete o.ID}))})),r.push(""),r.join("")}var zi=Mn;function Vi(t){var e=rn(),n=[];return on(e,628),on(e,630),t.forEach((function(t){t[1].forEach((function(t){n.indexOf(t.a)>-1||(n.push(t.a.slice(0,54)),on(e,632,function(t){return kn(t.slice(0,54))}(t.a)))}))})),on(e,631),on(e,633),t.forEach((function(t){t[1].forEach((function(r){r.iauthor=n.indexOf(r.a);var i={s:pn(t[0]),e:pn(t[0])};on(e,635,function(t,e){return null==e&&(e=nn(36)),e.write_shift(4,t[1].iauthor),Gn(t[0],e),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(4,0),e}([i,r])),r.t&&r.t.length>0&&on(e,637,An(r)),on(e,636),delete r.iauthor}))})),on(e,634),on(e,629),e.end()}var Wi=["xlsb","xlsm","xlam","biff8","xla"];var Ui=function(){var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,e={r:0,c:0};function n(t,n,r,i){var o=!1,a=!1;0==r.length?a=!0:"["==r.charAt(0)&&(a=!0,r=r.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=i.length>0?0|parseInt(i,10):0;return o?l+=e.c:--l,a?s+=e.r:--s,n+(o?"":"$")+dn(l)+(a?"":"$")+hn(s)}return function(r,i){return e=i,r.replace(t,n)}}(),Yi=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Gi=function(){return function(t,e){return t.replace(Yi,(function(t,n,r,i,o,a){var s=fn(i)-(r?0:e.c),l=un(a)-(o?0:e.r);return n+"R"+(0==l?"":o?l+1:"["+l+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")}))}}();function Xi(t,e){return t.replace(Yi,(function(t,n,r,i,o,a){return n+("$"==r?r+i:dn(fn(i)+e.c))+("$"==o?o+a:hn(un(a)+e.r))}))}function qi(t){t.l+=1}function $i(t,e){var n=t.read_shift(1==e?1:2);return[16383&n,n>>14&1,n>>15&1]}function Ki(t,e,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return Zi(t);12==n.biff&&(r=4)}var i=t.read_shift(r),o=t.read_shift(r),a=$i(t,2),s=$i(t,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function Zi(t){var e=$i(t,2),n=$i(t,2),r=t.read_shift(1),i=t.read_shift(1);return{s:{r:e[0],c:r,cRel:e[1],rRel:e[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function Qi(t,e,n){if(n&&n.biff>=2&&n.biff<=5)return function(t){var e=$i(t,2),n=t.read_shift(1);return{r:e[0],c:n,cRel:e[1],rRel:e[2]}}(t);var r=t.read_shift(n&&12==n.biff?4:2),i=$i(t,2);return{r:r,c:i[0],cRel:i[1],rRel:i[2]}}function Ji(t){var e=t.read_shift(2),n=t.read_shift(2);return{r:e,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function to(t){var e=1&t[t.l+1];return t.l+=4,[e,1]}function eo(t){return[t.read_shift(1),t.read_shift(1)]}function no(t,e){var n=[t.read_shift(1)];if(12==e)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=kr(t,1)?"TRUE":"FALSE",12!=e&&(t.l+=7);break;case 37:case 16:n[1]=rr[t[t.l]],t.l+=12==e?4:8;break;case 0:t.l+=8;break;case 1:n[1]=Xn(t);break;case 2:n[1]=Dr(t,0,{biff:e>0&&e<8?2:e});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function ro(t,e,n){for(var r=t.read_shift(12==n.biff?4:2),i=[],o=0;o!=r;++o)i.push((12==n.biff?Yn:zr)(t,8));return i}function io(t,e,n){var r=0,i=0;12==n.biff?(r=t.read_shift(4),i=t.read_shift(4)):(i=1+t.read_shift(1),r=1+t.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--i&&(i=256));for(var o=0,a=[];o!=r&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=no(t,n.biff);return a}function oo(t,e,n){return t.l+=2,[Ji(t)]}function ao(t){return t.l+=6,[]}function so(t){return t.l+=2,[Cr(t),1&t.read_shift(2)]}var lo=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var co={1:{n:"PtgExp",f:function(t,e,n){return t.l++,n&&12==n.biff?[t.read_shift(4,"i"),0]:[t.read_shift(2),t.read_shift(n&&2==n.biff?1:2)]}},2:{n:"PtgTbl",f:en},3:{n:"PtgAdd",f:qi},4:{n:"PtgSub",f:qi},5:{n:"PtgMul",f:qi},6:{n:"PtgDiv",f:qi},7:{n:"PtgPower",f:qi},8:{n:"PtgConcat",f:qi},9:{n:"PtgLt",f:qi},10:{n:"PtgLe",f:qi},11:{n:"PtgEq",f:qi},12:{n:"PtgGe",f:qi},13:{n:"PtgGt",f:qi},14:{n:"PtgNe",f:qi},15:{n:"PtgIsect",f:qi},16:{n:"PtgUnion",f:qi},17:{n:"PtgRange",f:qi},18:{n:"PtgUplus",f:qi},19:{n:"PtgUminus",f:qi},20:{n:"PtgPercent",f:qi},21:{n:"PtgParen",f:qi},22:{n:"PtgMissArg",f:qi},23:{n:"PtgStr",f:function(t,e,n){return t.l++,Pr(t,0,n)}},26:{n:"PtgSheet",f:function(t,e,n){return t.l+=5,t.l+=2,t.l+=2==n.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(t,e,n){return t.l+=2==n.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(t){return t.l++,rr[t.read_shift(1)]}},29:{n:"PtgBool",f:function(t){return t.l++,0!==t.read_shift(1)}},30:{n:"PtgInt",f:function(t){return t.l++,t.read_shift(2)}},31:{n:"PtgNum",f:function(t){return t.l++,Xn(t)}},32:{n:"PtgArray",f:function(t,e,n){var r=(96&t[t.l++])>>5;return t.l+=2==n.biff?6:12==n.biff?14:7,[r]}},33:{n:"PtgFunc",f:function(t,e,n){var r=(96&t[t.l])>>5;t.l+=1;var i=t.read_shift(n&&n.biff<=3?1:2);return[To[i],Co[i],r]}},34:{n:"PtgFuncVar",f:function(t,e,n){var r=t[t.l++],i=t.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,t.read_shift(1)]:function(t){return[t[t.l+1]>>7,32767&t.read_shift(2)]}(t);return[i,(0===o[0]?Co:Eo)[o[1]]]}},35:{n:"PtgName",f:function(t,e,n){var r=t.read_shift(1)>>>5&3,i=!n||n.biff>=8?4:2,o=t.read_shift(i);switch(n.biff){case 2:t.l+=5;break;case 3:case 4:t.l+=8;break;case 5:t.l+=12}return[r,0,o]}},36:{n:"PtgRef",f:function(t,e,n){var r=(96&t[t.l])>>5;return t.l+=1,[r,Qi(t,0,n)]}},37:{n:"PtgArea",f:function(t,e,n){return[(96&t[t.l++])>>5,Ki(t,n.biff>=2&&n.biff,n)]}},38:{n:"PtgMemArea",f:function(t,e,n){var r=t.read_shift(1)>>>5&3;return t.l+=n&&2==n.biff?3:4,[r,t.read_shift(n&&2==n.biff?1:2)]}},39:{n:"PtgMemErr",f:en},40:{n:"PtgMemNoMem",f:en},41:{n:"PtgMemFunc",f:function(t,e,n){return[t.read_shift(1)>>>5&3,t.read_shift(n&&2==n.biff?1:2)]}},42:{n:"PtgRefErr",f:function(t,e,n){var r=t.read_shift(1)>>>5&3;return t.l+=4,n.biff<8&&t.l--,12==n.biff&&(t.l+=2),[r]}},43:{n:"PtgAreaErr",f:function(t,e,n){var r=(96&t[t.l++])>>5;return t.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}},44:{n:"PtgRefN",f:function(t,e,n){var r=(96&t[t.l])>>5;t.l+=1;var i=function(t,e,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return function(t){var e=t.read_shift(2),n=t.read_shift(1),r=(32768&e)>>15,i=(16384&e)>>14;return e&=16383,1==r&&e>=8192&&(e-=16384),1==i&&n>=128&&(n-=256),{r:e,c:n,cRel:i,rRel:r}}(t);var i=t.read_shift(r>=12?4:2),o=t.read_shift(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;i>524287;)i-=1048576;if(1==a)for(;o>8191;)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}(t,0,n);return[r,i]}},45:{n:"PtgAreaN",f:function(t,e,n){var r=(96&t[t.l++])>>5,i=function(t,e,n){if(n.biff<8)return Zi(t);var r=t.read_shift(12==n.biff?4:2),i=t.read_shift(12==n.biff?4:2),o=$i(t,2),a=$i(t,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}(t,0,n);return[r,i]}},46:{n:"PtgMemAreaN",f:function(t){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(t){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},57:{n:"PtgNameX",f:function(t,e,n){return 5==n.biff?function(t){var e=t.read_shift(1)>>>5&3,n=t.read_shift(2,"i");t.l+=8;var r=t.read_shift(2);return t.l+=12,[e,n,r]}(t):[t.read_shift(1)>>>5&3,t.read_shift(2),t.read_shift(4)]}},58:{n:"PtgRef3d",f:function(t,e,n){var r=(96&t[t.l])>>5;t.l+=1;var i=t.read_shift(2);return n&&5==n.biff&&(t.l+=12),[r,i,Qi(t,0,n)]}},59:{n:"PtgArea3d",f:function(t,e,n){var r=(96&t[t.l++])>>5,i=t.read_shift(2,"i");if(n)switch(n.biff){case 5:t.l+=12,6;break;case 12:12}return[r,i,Ki(t,0,n)]}},60:{n:"PtgRefErr3d",f:function(t,e,n){var r=(96&t[t.l++])>>5,i=t.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6}return t.l+=o,[r,i]}},61:{n:"PtgAreaErr3d",f:function(t,e,n){var r=(96&t[t.l++])>>5,i=t.read_shift(2),o=8;if(n)switch(n.biff){case 5:t.l+=12,o=6;break;case 12:o=12}return t.l+=o,[r,i]}},255:{}},uo={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},ho={1:{n:"PtgElfLel",f:so},2:{n:"PtgElfRw",f:oo},3:{n:"PtgElfCol",f:oo},6:{n:"PtgElfRwV",f:oo},7:{n:"PtgElfColV",f:oo},10:{n:"PtgElfRadical",f:oo},11:{n:"PtgElfRadicalS",f:ao},13:{n:"PtgElfColS",f:ao},15:{n:"PtgElfColSV",f:ao},16:{n:"PtgElfRadicalLel",f:so},25:{n:"PtgList",f:function(t){t.l+=2;var e=t.read_shift(2),n=t.read_shift(2),r=t.read_shift(4),i=t.read_shift(2),o=t.read_shift(2);return{ixti:e,coltype:3&n,rt:lo[n>>2&31],idx:r,c:i,C:o}}},29:{n:"PtgSxName",f:function(t){return t.l+=2,[t.read_shift(4)]}},255:{}},fo={0:{n:"PtgAttrNoop",f:function(t){return t.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(t,e,n){var r=255&t[t.l+1]?1:0;return t.l+=n&&2==n.biff?3:4,[r]}},2:{n:"PtgAttrIf",f:function(t,e,n){var r=255&t[t.l+1]?1:0;return t.l+=2,[r,t.read_shift(n&&2==n.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(t,e,n){t.l+=2;for(var r=t.read_shift(n&&2==n.biff?1:2),i=[],o=0;o<=r;++o)i.push(t.read_shift(n&&2==n.biff?1:2));return i}},8:{n:"PtgAttrGoto",f:function(t,e,n){var r=255&t[t.l+1]?1:0;return t.l+=2,[r,t.read_shift(n&&2==n.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(t,e,n){t.l+=n&&2==n.biff?3:4}},32:{n:"PtgAttrBaxcel",f:to},33:{n:"PtgAttrBaxcel",f:to},64:{n:"PtgAttrSpace",f:function(t){return t.read_shift(2),eo(t)}},65:{n:"PtgAttrSpaceSemi",f:function(t){return t.read_shift(2),eo(t)}},128:{n:"PtgAttrIfError",f:function(t){var e=255&t[t.l+1]?1:0;return t.l+=2,[e,t.read_shift(2)]}},255:{}};function po(t,e,n,r){if(r.biff<8)return en(t,e);for(var i=t.l+e,o=[],a=0;a!==n.length;++a)switch(n[a][0]){case"PtgArray":n[a][1]=io(t,0,r),o.push(n[a][1]);break;case"PtgMemArea":n[a][2]=ro(t,n[a][1],r),o.push(n[a][2]);break;case"PtgExp":r&&12==r.biff&&(n[a][1][1]=t.read_shift(4),o.push(n[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[a][0]}return 0!==(e=i-t.l)&&o.push(en(t,e)),o}function go(t,e,n){for(var r,i,o=t.l+e,a=[];o!=t.l;)e=o-t.l,i=t[t.l],r=co[i]||co[uo[i]],24!==i&&25!==i||(r=(24===i?ho:fo)[t[t.l+1]]),r&&r.f?a.push([r.n,r.f(t,e,n)]):en(t,e);return a}function mo(t){for(var e=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function bo(t,e,n){if(!t)return"SH33TJSERR0";if(n.biff>8&&(!t.XTI||!t.XTI[e]))return t.SheetNames[e];if(!t.XTI)return"SH33TJSERR6";var r=t.XTI[e];if(n.biff<8)return e>1e4&&(e-=65536),e<0&&(e=-e),0==e?"":t.XTI[e-1];if(!r)return"SH33TJSERR1";var i="";if(n.biff>8)switch(t[r[0]][0]){case 357:return i=-1==r[1]?"#REF":t.SheetNames[r[1]],r[1]==r[2]?i:i+":"+t.SheetNames[r[2]];case 358:return null!=n.SID?t.SheetNames[n.SID]:"SH33TJSSAME"+t[r[0]][0];default:return"SH33TJSSRC"+t[r[0]][0]}switch(t[r[0]][0][0]){case 1025:return i=-1==r[1]?"#REF":t.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?i:i+":"+t.SheetNames[r[2]];case 14849:return t[r[0]].slice(1).map((function(t){return t.Name})).join(";;");default:return t[r[0]][0][3]?(i=-1==r[1]?"#REF":t[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?i:i+":"+t[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function yo(t,e,n){var r=bo(t,e,n);return"#REF"==r?r:function(t,e){if(!t&&!(e&&e.biff<=5&&e.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(t)?"'"+t+"'":t}(r,n)}function wo(t,e,n,r,i){var o,a,s,l,c=i&&i.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},h=[],f=0,d=0,p="";if(!t[0]||!t[0][0])return"";for(var g=-1,m="",v=0,b=t[0].length;v=0){switch(t[0][g][1][0]){case 0:m=Wt(" ",t[0][g][1][1]);break;case 1:m=Wt("\r",t[0][g][1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][g][1][0])}a+=m,g=-1}h.push(a+vo[y[0]]+o);break;case"PtgIsect":o=h.pop(),a=h.pop(),h.push(a+" "+o);break;case"PtgUnion":o=h.pop(),a=h.pop(),h.push(a+","+o);break;case"PtgRange":o=h.pop(),a=h.pop(),h.push(a+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":s=an(y[1][1],u,i),h.push(ln(s,c));break;case"PtgRefN":s=n?an(y[1][1],n,i):y[1][1],h.push(ln(s,c));break;case"PtgRef3d":f=y[1][1],s=an(y[1][2],u,i);p=yo(r,f,i);h.push(p+"!"+ln(s,c));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0);var S=0==(w&=127)?[]:h.slice(-w);h.length-=w,"User"===x&&(x=S.shift()),h.push(x+"("+S.join(",")+")");break;case"PtgBool":h.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":h.push(y[1]);break;case"PtgNum":h.push(String(y[1]));break;case"PtgStr":h.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":l=sn(y[1][1],n?{s:n}:u,i),h.push(cn(l,i));break;case"PtgArea":l=sn(y[1][1],u,i),h.push(cn(l,i));break;case"PtgArea3d":f=y[1][1],l=y[1][2],p=yo(r,f,i),h.push(p+"!"+cn(l,i));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgName":d=y[1][2];var _=(r.names||[])[d-1]||(r[0]||[])[d],O=_?_.Name:"SH33TJSNAME"+String(d);O&&"_xlfn."==O.slice(0,6)&&!i.xlfn&&(O=O.slice(6)),h.push(O);break;case"PtgNameX":var M,k=y[1][1];if(d=y[1][2],!(i.biff<=5)){var E="";if(14849==((r[k]||[])[0]||[])[0]||(1025==((r[k]||[])[0]||[])[0]?r[k][d]&&r[k][d].itab>0&&(E=r.SheetNames[r[k][d].itab-1]+"!"):E=r.SheetNames[d-1]+"!"),r[k]&&r[k][d])E+=r[k][d].Name;else if(r[0]&&r[0][d])E+=r[0][d].Name;else{var C=(bo(r,k,i)||"").split(";;");C[d-1]?E=C[d-1]:E+="SH33TJSERRX"}h.push(E);break}k<0&&(k=-k),r[k]&&(M=r[k][d]),M||(M={Name:"SH33TJSERRY"}),h.push(M.Name);break;case"PtgParen":var T="(",A=")";if(g>=0){switch(m="",t[0][g][1][0]){case 2:T=Wt(" ",t[0][g][1][1])+T;break;case 3:T=Wt("\r",t[0][g][1][1])+T;break;case 4:A=Wt(" ",t[0][g][1][1])+A;break;case 5:A=Wt("\r",t[0][g][1][1])+A;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][g][1][0])}g=-1}h.push(T+h.pop()+A);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":h.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var P={c:n.c,r:n.r};if(r.sharedf[gn(s)]){var I=r.sharedf[gn(s)];h.push(wo(I,u,P,r,i))}else{var j=!1;for(o=0;o!=r.arrayf.length;++o)if(a=r.arrayf[o],!(s.ca[0].e.c)&&!(s.ra[0].e.r)){h.push(wo(a[1],u,P,r,i)),j=!0;break}j||h.push(y[1])}break;case"PtgArray":h.push("{"+mo(y[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;break;case"PtgMissArg":h.push("");break;case"PtgList":h.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=i.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(t[0][v][0])){var R=!0;switch((y=t[0][g])[1][0]){case 4:R=!1;case 0:m=Wt(" ",y[1][1]);break;case 5:R=!1;case 1:m=Wt("\r",y[1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}h.push((R?m:"")+h.pop()+(R?"":m)),g=-1}}if(h.length>1&&i.WTF)throw new Error("bad formula stack");return h[0]}function xo(t,e,n,r,i){var o=Br(e,n,i),a=function(t){if(null==t){var e=nn(8);return e.write_shift(1,3),e.write_shift(1,0),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,65535),e}return qn("number"==typeof t?t:0)}(t.v),s=nn(6);s.write_shift(2,33),s.write_shift(4,0);for(var l=nn(t.bf.length),c=0;c0?po(t,o,i,n):null]}var _o=So,Oo=So,Mo=So,ko=So,Eo={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Co={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},To={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};var Ao="undefined"!==typeof Map;function Po(t,e,n){var r=0,i=t.length;if(n){if(Ao?n.has(e):Object.prototype.hasOwnProperty.call(n,e))for(var o=Ao?n.get(e):n[e];r-1?(n.width=gi(r),n.customWidth=1):null!=e.width&&(n.width=e.width),e.hidden&&(n.hidden=!0),null!=e.level&&(n.outlineLevel=n.level=e.level),n}function jo(t,e){if(t){var n=[.7,.7,.75,.75,.3,.3];"xlml"==e&&(n=[1,1,1,1,.5,.5]),null==t.left&&(t.left=n[0]),null==t.right&&(t.right=n[1]),null==t.top&&(t.top=n[2]),null==t.bottom&&(t.bottom=n[3]),null==t.header&&(t.header=n[4]),null==t.footer&&(t.footer=n[5])}}function Ro(t,e,n){var r=n.revssf[null!=e.z?e.z:"General"],i=60,o=t.length;if(null==r&&n.ssf)for(;i<392;++i)if(null==n.ssf[i]){bt(e.z,i),n.ssf[i]=e.z,n.revssf[e.z]=r=i;break}for(i=0;i!=o;++i)if(t[i].numFmtId===r)return i;return t[o]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function Do(t,e,n){if(t&&t["!ref"]){var r=bn(t["!ref"]);if(r.e.c32767)throw new Error("Text length must not exceed 32767 characters");if(r&&r.bookSST){s=de("v",""+Po(r.Strings,t.v,r.revStrings)),l.t="s";break}l.t="str"}if(t.t!=o&&(t.t=o,t.v=a),"string"==typeof t.f&&t.f){var u=t.F&&t.F.slice(0,e.length)==e?{t:"array",ref:t.F}:null;s=ge("f",te(t.f),u)+(null!=t.v?s:"")}return t.l&&n["!links"].push([e,t.l]),t.D&&(l.cm=1),ge("c",s,l)}function Bo(t,e,n,r){var i,o=[$t,ge("worksheet",null,{xmlns:be[0],"xmlns:r":ve.r})],a=n.SheetNames[t],s="",l=n.Sheets[a];null==l&&(l={});var c=l["!ref"]||"A1",u=bn(c);if(u.e.c>16383||u.e.r>1048575){if(e.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),c=vn(u)}r||(r={}),l["!comments"]=[];var h=[];!function(t,e,n,r,i){var o=!1,a={},s=null;if("xlsx"!==r.bookType&&e.vbaraw){var l=e.SheetNames[n];try{e.Workbook&&(l=e.Workbook.Sheets[n].CodeName||l)}catch(u){}o=!0,a.codeName=ue(te(l))}if(t&&t["!outline"]){var c={summaryBelow:1,summaryRight:1};t["!outline"].above&&(c.summaryBelow=0),t["!outline"].left&&(c.summaryRight=0),s=(s||"")+ge("outlinePr",null,c)}(o||s)&&(i[i.length]=ge("sheetPr",s,a))}(l,n,t,e,o),o[o.length]=ge("dimension",null,{ref:c}),o[o.length]=function(t,e,n,r){var i={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),ge("sheetViews",ge("sheetView",null,i),{})}(0,0,0,n),e.sheetFormat&&(o[o.length]=ge("sheetFormatPr",null,{defaultRowHeight:e.sheetFormat.defaultRowHeight||"16",baseColWidth:e.sheetFormat.baseColWidth||"10",outlineLevelRow:e.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(o[o.length]=function(t,e){for(var n,r=[""],i=0;i!=e.length;++i)(n=e[i])&&(r[r.length]=ge("col",null,Io(i,n)));return r[r.length]="",r.join("")}(0,l["!cols"])),o[i=o.length]="",l["!links"]=[],null!=l["!ref"]&&(s=function(t,e){var n,r,i=[],o=[],a=bn(t["!ref"]),s="",l="",c=[],u=0,h=0,f=t["!rows"],d=Array.isArray(t),p={r:l},g=-1;for(h=a.s.c;h<=a.e.c;++h)c[h]=dn(h);for(u=a.s.r;u<=a.e.r;++u){for(o=[],l=hn(u),h=a.s.c;h<=a.e.c;++h){n=c[h]+l;var m=d?(t[u]||[])[h]:t[n];void 0!==m&&null!=(s=Fo(m,n,t,e))&&o.push(s)}(o.length>0||f&&f[u])&&(p={r:l},f&&f[u]&&((r=f[u]).hidden&&(p.hidden=1),g=-1,r.hpx?g=bi(r.hpx):r.hpt&&(g=r.hpt),g>-1&&(p.ht=g,p.customHeight=1),r.level&&(p.outlineLevel=r.level)),i[i.length]=ge("row",o.join(""),p))}if(f)for(;u-1&&(p.ht=g,p.customHeight=1),r.level&&(p.outlineLevel=r.level),i[i.length]=ge("row","",p));return i.join("")}(l,e,0,0),s.length>0&&(o[o.length]=s)),o.length>i+1&&(o[o.length]="",o[i]=o[i].replace("/>",">")),l["!protect"]&&(o[o.length]=function(t){var e={sheet:1};return No.forEach((function(n){null!=t[n]&&t[n]&&(e[n]="1")})),Lo.forEach((function(n){null==t[n]||t[n]||(e[n]="0")})),t.password&&(e.password=li(t.password).toString(16).toUpperCase()),ge("sheetProtection",null,e)}(l["!protect"])),null!=l["!autofilter"]&&(o[o.length]=function(t,e,n,r){var i="string"==typeof t.ref?t.ref:vn(t.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,a=mn(i);a.s.r==a.e.r&&(a.e.r=mn(e["!ref"]).e.r,i=vn(a));for(var s=0;s0&&(o[o.length]=function(t){if(0===t.length)return"";for(var e='',n=0;n!=t.length;++n)e+='';return e+""}(l["!merges"]));var f,d,p=-1,g=-1;return l["!links"].length>0&&(o[o.length]="",l["!links"].forEach((function(t){t[1].Target&&(f={ref:t[0]},"#"!=t[1].Target.charAt(0)&&(g=ur(r,-1,te(t[1].Target).replace(/#.*$/,""),sr.HLINK),f["r:id"]="rId"+g),(p=t[1].Target.indexOf("#"))>-1&&(f.location=te(t[1].Target.slice(p+1))),t[1].Tooltip&&(f.tooltip=te(t[1].Tooltip)),o[o.length]=ge("hyperlink",null,f))})),o[o.length]=""),delete l["!links"],null!=l["!margins"]&&(o[o.length]=(jo(d=l["!margins"]),ge("pageMargins",null,d))),e&&!e.ignoreEC&&void 0!=e.ignoreEC||(o[o.length]=de("ignoredErrors",ge("ignoredError",null,{numberStoredAsText:1,sqref:c}))),h.length>0&&(g=ur(r,-1,"../drawings/drawing"+(t+1)+".xml",sr.DRAW),o[o.length]=ge("drawing",null,{"r:id":"rId"+g}),l["!drawing"]=h),l["!comments"].length>0&&(g=ur(r,-1,"../drawings/vmlDrawing"+(t+1)+".vml",sr.VML),o[o.length]=ge("legacyDrawing",null,{"r:id":"rId"+g}),l["!legacy"]=g),o.length>1&&(o[o.length]="",o[1]=o[1].replace("/>",">")),o.join("")}function Ho(t,e,n,r){var i=function(t,e,n){var r=nn(145),i=(n["!rows"]||[])[t]||{};r.write_shift(4,t),r.write_shift(4,0);var o=320;i.hpx?o=20*bi(i.hpx):i.hpt&&(o=20*i.hpt),r.write_shift(2,o),r.write_shift(1,0);var a=0;i.level&&(a|=i.level),i.hidden&&(a|=16),(i.hpx||i.hpt)&&(a|=32),r.write_shift(1,a),r.write_shift(1,0);var s=0,l=r.l;r.l+=4;for(var c={r:t,c:0},u=0;u<16;++u)if(!(e.s.c>u+1<<10||e.e.cr.l?r.slice(0,r.l):r}(r,n,e);(i.length>17||(e["!rows"]||[])[r])&&on(t,0,i)}var zo=Yn,Vo=Gn;function Wo(t){return[jn(t),Xn(t),"n"]}var Uo=Yn,Yo=Gn;var Go=["left","right","top","bottom","header","footer"];function Xo(t,e,n,r,i,o,a){if(void 0===e.v)return!1;var s="";switch(e.t){case"b":s=e.v?"1":"0";break;case"d":(e=Vt(e)).z=e.z||F[14],e.v=It(Ht(e.v)),e.t="n";break;case"n":case"e":s=""+e.v;break;default:s=e.v}var l={r:n,c:r};switch(l.s=Ro(i.cellXfs,e,i),e.l&&o["!links"].push([gn(l),e.l]),e.c&&o["!comments"].push([gn(l),e.c]),e.t){case"s":case"str":return i.bookSST?(s=Po(i.Strings,e.v,i.revStrings),l.t="s",l.v=s,a?on(t,18,function(t,e,n){return null==n&&(n=nn(8)),Rn(e,n),n.write_shift(4,e.v),n}(0,l)):on(t,7,function(t,e,n){return null==n&&(n=nn(12)),In(e,n),n.write_shift(4,e.v),n}(0,l))):(l.t="str",a?on(t,17,function(t,e,n){return null==n&&(n=nn(8+4*t.v.length)),Rn(e,n),kn(t.v,n),n.length>n.l?n.slice(0,n.l):n}(e,l)):on(t,6,function(t,e,n){return null==n&&(n=nn(12+4*t.v.length)),In(e,n),kn(t.v,n),n.length>n.l?n.slice(0,n.l):n}(e,l))),!0;case"n":return e.v==(0|e.v)&&e.v>-1e3&&e.v<1e3?a?on(t,13,function(t,e,n){return null==n&&(n=nn(8)),Rn(e,n),Wn(t.v,n),n}(e,l)):on(t,2,function(t,e,n){return null==n&&(n=nn(12)),In(e,n),Wn(t.v,n),n}(e,l)):a?on(t,16,function(t,e,n){return null==n&&(n=nn(12)),Rn(e,n),qn(t.v,n),n}(e,l)):on(t,5,function(t,e,n){return null==n&&(n=nn(16)),In(e,n),qn(t.v,n),n}(e,l)),!0;case"b":return l.t="b",a?on(t,15,function(t,e,n){return null==n&&(n=nn(5)),Rn(e,n),n.write_shift(1,t.v?1:0),n}(e,l)):on(t,4,function(t,e,n){return null==n&&(n=nn(9)),In(e,n),n.write_shift(1,t.v?1:0),n}(e,l)),!0;case"e":return l.t="e",a?on(t,14,function(t,e,n){return null==n&&(n=nn(8)),Rn(e,n),n.write_shift(1,t.v),n.write_shift(2,0),n.write_shift(1,0),n}(e,l)):on(t,3,function(t,e,n){return null==n&&(n=nn(9)),In(e,n),n.write_shift(1,t.v),n}(e,l)),!0}return a?on(t,12,function(t,e,n){return null==n&&(n=nn(4)),Rn(e,n)}(0,l)):on(t,1,function(t,e,n){return null==n&&(n=nn(8)),In(e,n)}(0,l)),!0}function qo(t,e){var n,r;e&&e["!merges"]&&(on(t,177,(n=e["!merges"].length,null==r&&(r=nn(4)),r.write_shift(4,n),r)),e["!merges"].forEach((function(e){on(t,176,Yo(e))})),on(t,178))}function $o(t,e){e&&e["!cols"]&&(on(t,390),e["!cols"].forEach((function(e,n){e&&on(t,60,function(t,e,n){null==n&&(n=nn(18));var r=Io(t,e);n.write_shift(-4,t),n.write_shift(-4,t),n.write_shift(4,256*(r.width||10)),n.write_shift(4,0);var i=0;return e.hidden&&(i|=1),"number"==typeof r.width&&(i|=2),e.level&&(i|=e.level<<8),n.write_shift(2,i),n}(n,e))})),on(t,391))}function Ko(t,e){e&&e["!ref"]&&(on(t,648),on(t,649,function(t){var e=nn(24);return e.write_shift(4,4),e.write_shift(4,1),Gn(t,e),e}(bn(e["!ref"]))),on(t,650))}function Zo(t,e,n){e["!links"].forEach((function(e){if(e[1].Target){var r=ur(n,-1,e[1].Target.replace(/#.*$/,""),sr.HLINK);on(t,494,function(t,e){var n=nn(50+4*(t[1].Target.length+(t[1].Tooltip||"").length));Gn({s:pn(t[0]),e:pn(t[0])},n),zn("rId"+e,n);var r=t[1].Target.indexOf("#");return kn((-1==r?"":t[1].Target.slice(r+1))||"",n),kn(t[1].Tooltip||"",n),kn("",n),n.slice(0,n.l)}(e,r))}})),delete e["!links"]}function Qo(t,e,n){on(t,133),on(t,137,function(t,e,n){null==n&&(n=nn(30));var r=924;return(((e||{}).Views||[])[0]||{}).RTL&&(r|=32),n.write_shift(2,r),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,100),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(4,0),n}(0,n)),on(t,138),on(t,134)}function Jo(t,e){var n,r;e["!protect"]&&on(t,535,(n=e["!protect"],null==r&&(r=nn(66)),r.write_shift(2,n.password?li(n.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(t){t[1]?r.write_shift(4,null==n[t[0]]||n[t[0]]?0:1):r.write_shift(4,null!=n[t[0]]&&n[t[0]]?0:1)})),r))}function ta(t,e,n,r){var i=rn(),o=n.SheetNames[t],a=n.Sheets[o]||{},s=o;try{n&&n.Workbook&&(s=n.Workbook.Sheets[t].CodeName||s)}catch(h){}var l,c,u=bn(a["!ref"]||"A1");if(u.e.c>16383||u.e.r>1048575){if(e.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575)}return a["!links"]=[],a["!comments"]=[],on(i,129),(n.vbaraw||a["!outline"])&&on(i,147,function(t,e,n){null==n&&(n=nn(84+4*t.length));var r=192;e&&(e.above&&(r&=-65),e.left&&(r&=-129)),n.write_shift(1,r);for(var i=1;i<3;++i)n.write_shift(1,0);return $n({auto:1},n),n.write_shift(-4,-1),n.write_shift(-4,-1),Nn(t,n),n.slice(0,n.l)}(s,a["!outline"])),on(i,148,Vo(u)),Qo(i,0,n.Workbook),$o(i,a),function(t,e,n,r){var i,o=bn(e["!ref"]||"A1"),a="",s=[];on(t,145);var l=Array.isArray(e),c=o.e.r;e["!rows"]&&(c=Math.max(o.e.r,e["!rows"].length-1));for(var u=o.s.r;u<=c;++u){a=hn(u),Ho(t,e,o,u);var h=!1;if(u<=o.e.r)for(var f=o.s.c;f<=o.e.c;++f){u===o.s.r&&(s[f]=dn(f)),i=s[f]+a;var d=l?(e[u]||[])[f]:e[i];h=!!d&&Xo(t,d,u,f,r,e,h)}}on(t,146)}(i,a,0,e),Jo(i,a),function(t,e,n,r){if(e["!autofilter"]){var i=e["!autofilter"],o="string"===typeof i.ref?i.ref:vn(i.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var a=n.Workbook.Names,s=mn(o);s.s.r==s.e.r&&(s.e.r=mn(e["!ref"]).e.r,o=vn(s));for(var l=0;l0){var i=ur(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",sr.VML);on(t,551,zn("rId"+i)),e["!legacy"]=i}}(i,a,t,r),on(i,130),i.end()}var ea=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];var na="][*?/\\".split("");function ra(t,e){if(t.length>31){if(e)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return na.forEach((function(r){if(-1!=t.indexOf(r)){if(!e)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}function ia(t){if(!t||!t.SheetNames||!t.Sheets)throw new Error("Invalid Workbook");if(!t.SheetNames.length)throw new Error("Workbook is empty");var e,n,r,i=t.Workbook&&t.Workbook.Sheets||[];e=t.SheetNames,n=i,r=!!t.vbaraw,e.forEach((function(t,i){ra(t);for(var o=0;o22)throw new Error("Bad Code Name: Worksheet"+a)}}));for(var o=0;o0,r={codeName:"ThisWorkbook"};t.Workbook&&t.Workbook.WBProps&&(ea.forEach((function(e){null!=t.Workbook.WBProps[e[0]]&&t.Workbook.WBProps[e[0]]!=e[1]&&(r[e[0]]=t.Workbook.WBProps[e[0]])})),t.Workbook.WBProps.CodeName&&(r.codeName=t.Workbook.WBProps.CodeName,delete r.CodeName)),e[e.length]=ge("workbookPr",null,r);var i=t.Workbook&&t.Workbook.Sheets||[],o=0;if(i&&i[0]&&i[0].Hidden){for(e[e.length]="",o=0;o!=t.SheetNames.length&&i[o]&&i[o].Hidden;++o);o==t.SheetNames.length&&(o=0),e[e.length]='',e[e.length]=""}for(e[e.length]="",o=0;o!=t.SheetNames.length;++o){var a={name:te(t.SheetNames[o].slice(0,31))};if(a.sheetId=""+(o+1),a["r:id"]="rId"+(o+1),i[o])switch(i[o].Hidden){case 1:a.state="hidden";break;case 2:a.state="veryHidden"}e[e.length]=ge("sheet",null,a)}return e[e.length]="",n&&(e[e.length]="",t.Workbook&&t.Workbook.Names&&t.Workbook.Names.forEach((function(t){var n={name:t.Name};t.Comment&&(n.comment=t.Comment),null!=t.Sheet&&(n.localSheetId=""+t.Sheet),t.Hidden&&(n.hidden="1"),t.Ref&&(e[e.length]=ge("definedName",te(t.Ref),n))})),e[e.length]=""),e.length>2&&(e[e.length]="",e[1]=e[1].replace("/>",">")),e.join("")}function aa(t,e){if(e.Workbook&&e.Workbook.Sheets){for(var n,r,i=e.Workbook.Sheets,o=0,a=-1,s=-1;oa))on(t,135),on(t,158,(n=a,r||(r=nn(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,n),r.write_shift(4,n),r.write_shift(1,120),r.length>r.l?r.slice(0,r.l):r)),on(t,136)}}function sa(t,e){var n=rn();return on(n,131),on(n,128,function(t,e){e||(e=nn(127));for(var n=0;4!=n;++n)e.write_shift(4,0);return kn("SheetJS",e),kn(r.version,e),kn(r.version,e),kn("7262",e),e.length>e.l?e.slice(0,e.l):e}()),on(n,153,function(t,e){e||(e=nn(72));var n=0;return t&&t.filterPrivacy&&(n|=8),e.write_shift(4,n),e.write_shift(4,0),Nn(t&&t.CodeName||"ThisWorkbook",e),e.slice(0,e.l)}(t.Workbook&&t.Workbook.WBProps||null)),aa(n,t),function(t,e){on(t,143);for(var n=0;n!=e.SheetNames.length;++n){on(t,156,(r={Hidden:e.Workbook&&e.Workbook.Sheets&&e.Workbook.Sheets[n]&&e.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:e.SheetNames[n]},(i=void 0)||(i=nn(127)),i.write_shift(4,r.Hidden),i.write_shift(4,r.iTabID),zn(r.strRelID,i),kn(r.name.slice(0,31),i),i.length>i.l?i.slice(0,i.l):i))}var r,i;on(t,144)}(n,t),on(n,132),n.end()}function la(t,e,n,r,i){return(".bin"===e.slice(-4)?ta:Bo)(t,n,r,i)}function ca(t,e,n){return(".bin"===e.slice(-4)?Vi:Bi)(t,n)}function ua(t,e){var n=[];return t.Props&&n.push(function(t,e){var n=[];return Et(wr).map((function(t){for(var e=0;e'+i.join("")+""}(t.Props,t.Custprops)),n.join("")}function ha(t){return ge("NamedRange",null,{"ss:Name":t.Name,"ss:RefersTo":"="+Gi(t.Ref,{r:0,c:0})})}function fa(t,e,n,r,i,o,a){if(!t||void 0==t.v&&void 0==t.f)return"";var s={};if(t.f&&(s["ss:Formula"]="="+te(Gi(t.f,a))),t.F&&t.F.slice(0,e.length)==e){var l=pn(t.F.slice(e.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==a.r?"":"["+(l.r-a.r)+"]")+"C"+(l.c==a.c?"":"["+(l.c-a.c)+"]")}if(t.l&&t.l.Target&&(s["ss:HRef"]=te(t.l.Target),t.l.Tooltip&&(s["x:HRefScreenTip"]=te(t.l.Tooltip))),n["!merges"])for(var c=n["!merges"],u=0;u!=c.length;++u)c[u].s.c==a.c&&c[u].s.r==a.r&&(c[u].e.c>c[u].s.c&&(s["ss:MergeAcross"]=c[u].e.c-c[u].s.c),c[u].e.r>c[u].s.r&&(s["ss:MergeDown"]=c[u].e.r-c[u].s.r));var h="",f="";switch(t.t){case"z":if(!r.sheetStubs)return"";break;case"n":h="Number",f=String(t.v);break;case"b":h="Boolean",f=t.v?"1":"0";break;case"e":h="Error",f=rr[t.v];break;case"d":h="DateTime",f=new Date(t.v).toISOString(),null==t.z&&(t.z=t.z||F[14]);break;case"s":h="String",f=((t.v||"")+"").replace(Qt,(function(t){return Zt[t]})).replace(ne,(function(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"}))}var d=Ro(r.cellXfs,t,r);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=a.c+1;var p=null!=t.v?f:"",g="z"==t.t?"":''+p+"";return(t.c||[]).length>0&&(g+=t.c.map((function(t){var e=ge("ss:Data",(t.t||"").replace(/(\r\n|[\r\n])/g," "),{xmlns:"http://www.w3.org/TR/REC-html40"});return ge("Comment",e,{"ss:Author":t.a})})).join("")),ge("Cell",g,s)}function da(t,e){var n='"}function pa(t,e,n){var r=[],i=n.SheetNames[t],o=n.Sheets[i],a=o?function(t,e,n,r){if(!t)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var i=r.Workbook.Names,o=[],a=0;a0&&r.push(""+a+""),a=o?function(t,e){if(!t["!ref"])return"";var n=bn(t["!ref"]),r=t["!merges"]||[],i=0,o=[];t["!cols"]&&t["!cols"].forEach((function(t,e){mi(t);var n=!!t.width,r=Io(e,t),i={"ss:Index":e+1};n&&(i["ss:Width"]=di(r.width)),t.hidden&&(i["ss:Hidden"]="1"),o.push(ge("Column",null,i))}));for(var a=Array.isArray(t),s=n.s.r;s<=n.e.r;++s){for(var l=[da(s,(t["!rows"]||[])[s])],c=n.s.c;c<=n.e.c;++c){var u=!1;for(i=0;i!=r.length;++i)if(!(r[i].s.c>c)&&!(r[i].s.r>s)&&!(r[i].e.c"),l.length>2&&o.push(l.join(""))}return o.join("")}(o,e):"",a.length>0&&r.push(""+a+"
"),r.push(function(t,e,n,r){if(!t)return"";var i=[];if(t["!margins"]&&(i.push(""),t["!margins"].header&&i.push(ge("Header",null,{"x:Margin":t["!margins"].header})),t["!margins"].footer&&i.push(ge("Footer",null,{"x:Margin":t["!margins"].footer})),i.push(ge("PageMargins",null,{"x:Bottom":t["!margins"].bottom||"0.75","x:Left":t["!margins"].left||"0.7","x:Right":t["!margins"].right||"0.7","x:Top":t["!margins"].top||"0.75"})),i.push("")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)i.push(ge("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push(""),t["!protect"]&&(i.push(de("ProtectContents","True")),t["!protect"].objects&&i.push(de("ProtectObjects","True")),t["!protect"].scenarios&&i.push(de("ProtectScenarios","True")),null==t["!protect"].selectLockedCells||t["!protect"].selectLockedCells?null==t["!protect"].selectUnlockedCells||t["!protect"].selectUnlockedCells||i.push(de("EnableSelection","UnlockedCells")):i.push(de("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(e){t["!protect"][e[0]]&&i.push("<"+e[1]+"/>")}))),0==i.length?"":ge("WorksheetOptions",i.join(""),{xmlns:ye.x})}(o,0,t,n)),r.join("")}function ga(t,e){e||(e={}),t.SSF||(t.SSF=Vt(F)),t.SSF&&(wt(),yt(t.SSF),e.revssf=At(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF,e.cellXfs=[],Ro(e.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(ua(t,e)),n.push(""),n.push(""),n.push("");for(var r=0;r'];return e.cellXfs.forEach((function(t,e){var r=[];r.push(ge("NumberFormat",null,{"ss:Format":te(F[t.numFmtId])}));var i={"ss:ID":"s"+(21+e)};n.push(ge("Style",r.join(""),i))})),ge("Styles",n.join(""))}(0,e),n[3]=function(t){if(!((t||{}).Workbook||{}).Names)return"";for(var e=t.Workbook.Names,n=[],r=0;r-1||vr.indexOf(o[a][0])>-1||null!=o[a][1]&&c.push(o[a]);i.length&&_t.utils.cfb_add(e,"/\x05SummaryInformation",Mr(i,ma.SI,l,tr)),(r.length||c.length)&&_t.utils.cfb_add(e,"/\x05DocumentSummaryInformation",Mr(r,ma.DSI,s,Jn,c.length?c:null,ma.UDI))}(t,r),8==n.biff&&t.vbaraw&&function(t,e){e.FullPaths.forEach((function(n,r){if(0!=r){var i=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==i.slice(-1)&&_t.utils.cfb_add(t,i,e.FileIndex[r].content)}}))}(r,_t.read(t.vbaraw,{type:"string"==typeof t.vbaraw?"binary":"buffer"})),r}var ba={0:{f:function(t,e){var n={},r=t.l+e;n.r=t.read_shift(4),t.l+=4;var i=t.read_shift(2);t.l+=1;var o=t.read_shift(1);return t.l=r,7&o&&(n.level=7&o),16&o&&(n.hidden=!0),32&o&&(n.hpt=i/20),n}},1:{f:function(t){return[Pn(t)]}},2:{f:function(t){return[Pn(t),Vn(t),"n"]}},3:{f:function(t){return[Pn(t),t.read_shift(1),"e"]}},4:{f:function(t){return[Pn(t),t.read_shift(1),"b"]}},5:{f:function(t){return[Pn(t),Xn(t),"n"]}},6:{f:function(t){return[Pn(t),Mn(t),"str"]}},7:{f:function(t){return[Pn(t),t.read_shift(4),"s"]}},8:{f:function(t,e,n){var r=t.l+e,i=Pn(t);i.r=n["!row"];var o=[i,Mn(t),"str"];if(n.cellFormula){t.l+=2;var a=Oo(t,r-t.l,n);o[3]=wo(a,0,i,n.supbooks,n)}else t.l=r;return o}},9:{f:function(t,e,n){var r=t.l+e,i=Pn(t);i.r=n["!row"];var o=[i,Xn(t),"n"];if(n.cellFormula){t.l+=2;var a=Oo(t,r-t.l,n);o[3]=wo(a,0,i,n.supbooks,n)}else t.l=r;return o}},10:{f:function(t,e,n){var r=t.l+e,i=Pn(t);i.r=n["!row"];var o=[i,t.read_shift(1),"b"];if(n.cellFormula){t.l+=2;var a=Oo(t,r-t.l,n);o[3]=wo(a,0,i,n.supbooks,n)}else t.l=r;return o}},11:{f:function(t,e,n){var r=t.l+e,i=Pn(t);i.r=n["!row"];var o=[i,t.read_shift(1),"e"];if(n.cellFormula){t.l+=2;var a=Oo(t,r-t.l,n);o[3]=wo(a,0,i,n.supbooks,n)}else t.l=r;return o}},12:{f:function(t){return[jn(t)]}},13:{f:function(t){return[jn(t),Vn(t),"n"]}},14:{f:function(t){return[jn(t),t.read_shift(1),"e"]}},15:{f:function(t){return[jn(t),t.read_shift(1),"b"]}},16:{f:Wo},17:{f:function(t){return[jn(t),Mn(t),"str"]}},18:{f:function(t){return[jn(t),t.read_shift(4),"s"]}},19:{f:Cn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(t,e,n){var r=t.l+e;t.l+=4,t.l+=1;var i=t.read_shift(4),o=Bn(t),a=Mo(t,0,n),s=Ln(t);t.l=r;var l={Name:o,Ptg:a};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}},40:{},42:{},43:{f:function(t,e,n){var r={};r.sz=t.read_shift(2)/20;var i=function(t){var e=t.read_shift(1);return t.l++,{fBold:1&e,fItalic:2&e,fUnderline:4&e,fStrikeout:8&e,fOutline:16&e,fShadow:32&e,fCondense:64&e,fExtend:128&e}}(t);switch(i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1),700===t.read_shift(2)&&(r.bold=1),t.read_shift(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript"}var o=t.read_shift(1);0!=o&&(r.underline=o);var a=t.read_shift(1);a>0&&(r.family=a);var s=t.read_shift(1);switch(s>0&&(r.charset=s),t.l++,r.color=function(t){var e={},n=t.read_shift(1)>>>1,r=t.read_shift(1),i=t.read_shift(2,"i"),o=t.read_shift(1),a=t.read_shift(1),s=t.read_shift(1);switch(t.l++,n){case 0:e.auto=1;break;case 1:e.index=r;var l=nr[r];l&&(e.rgb=ui(l));break;case 2:e.rgb=ui([o,a,s]);break;case 3:e.theme=r}return 0!=i&&(e.tint=i>0?i/32767:i/32768),e}(t),t.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=Mn(t),r}},44:{f:function(t,e){return[t.read_shift(2),Mn(t)]}},45:{f:Mi},46:{f:Ti},47:{f:function(t,e){var n=t.l+e,r=t.read_shift(2),i=t.read_shift(2);return t.l=n,{ixfe:r,numFmtId:i}}},48:{},49:{f:function(t){return t.read_shift(4,"i")}},50:{},51:{f:function(t){for(var e=[],n=t.read_shift(4);n-- >0;)e.push([t.read_shift(4),t.read_shift(4)]);return e}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Kr},62:{f:function(t){return[Pn(t),Cn(t),"is"]}},63:{f:function(t){var e={};e.i=t.read_shift(4);var n={};n.r=t.read_shift(4),n.c=t.read_shift(4),e.r=gn(n);var r=t.read_shift(1);return 2&r&&(e.l="1"),8&r&&(e.a="1"),e}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:en,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(t){var e=t.read_shift(2);return t.l+=28,{RTL:32&e}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(t,e){var n={},r=t[t.l];return++t.l,n.above=!(64&r),n.left=!(128&r),t.l+=18,n.name=Dn(t,e-19),n}},148:{f:zo,p:16},151:{f:function(){}},152:{},153:{f:function(t,e){var n={},r=t.read_shift(4);n.defaultThemeVersion=t.read_shift(4);var i=e>8?Mn(t):"";return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}},154:{},155:{},156:{f:function(t,e){var n={};return n.Hidden=t.read_shift(4),n.iTabID=t.read_shift(4),n.strRelID=Hn(t,e-8),n.name=Mn(t),n}},157:{},158:{},159:{T:1,f:function(t){return[t.read_shift(4),t.read_shift(4)]}},160:{T:-1},161:{T:1,f:Yn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Uo},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(t,e){return{flags:t.read_shift(4),version:t.read_shift(4),name:Mn(t)}}},336:{T:-1},337:{f:function(t){return t.l+=4,0!=t.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Hn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Xr},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(t,e,n){var r=t.l+e,i=Un(t),o=t.read_shift(1),a=[i];if(a[2]=o,n.cellFormula){var s=_o(t,r-t.l,n);a[1]=s}else t.l=r;return a}},427:{f:function(t,e,n){var r=t.l+e,i=[Yn(t,16)];if(n.cellFormula){var o=ko(t,r-t.l,n);i[1]=o,t.l=r}else t.l=r;return i}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(t){var e={};return Go.forEach((function(n){e[n]=Xn(t)})),e}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(t,e){var n=t.l+e,r=Yn(t,16),i=Ln(t),o=Mn(t),a=Mn(t),s=Mn(t);t.l=n;var l={rfx:r,relId:i,loc:o,display:s};return a&&(l.Tooltip=a),l}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Hn},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:zi},633:{T:1},634:{T:-1},635:{T:1,f:function(t){var e={};e.iauthor=t.read_shift(4);var n=Yn(t,16);return e.rfx=n.s,e.ref=gn(n.s),t.l+=16,e}},636:{T:-1},637:{f:Tn},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(t,e){return t.l+=10,{name:Mn(t)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function ya(t,e,n,r){var i=e;if(!isNaN(i)){var o=r||(n||[]).length||0,a=t.next(4);a.write_shift(2,i),a.write_shift(2,o),o>0&&He(n)&&t.push(n)}}function wa(t,e,n){return t||(t=nn(7)),t.write_shift(2,e),t.write_shift(2,n),t.write_shift(2,0),t.write_shift(1,0),t}function xa(t,e,n,r){if(null!=e.v)switch(e.t){case"d":case"n":var i="d"==e.t?It(Ht(e.v)):e.v;return void(i==(0|i)&&i>=0&&i<65536?ya(t,2,function(t,e,n){var r=nn(9);return wa(r,t,e),r.write_shift(2,n),r}(n,r,i)):ya(t,3,function(t,e,n){var r=nn(15);return wa(r,t,e),r.write_shift(8,n,"f"),r}(n,r,i)));case"b":case"e":return void ya(t,5,function(t,e,n,r){var i=nn(9);return wa(i,t,e),Ar(n,r||"b",i),i}(n,r,e.v,e.t));case"s":case"str":return void ya(t,4,function(t,e,n){var r=nn(8+2*n.length);return wa(r,t,e),r.write_shift(1,n.length),r.write_shift(n.length,n,"sbcs"),r.l255||a.e.r>16383){if(r.WTF)throw new Error("Range "+(e["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),i=vn(a)}for(var c=a.s.r;c<=a.e.r;++c){s=hn(c);for(var u=a.s.c;u<=a.e.c;++u){c===a.s.r&&(l[u]=dn(u)),i=l[u]+s;var h=o?(e[c]||[])[u]:e[i];h&&xa(t,h,c,u)}}}(r,t.Sheets[t.SheetNames[i]],0,n),ya(r,10),r.end()}function _a(t,e,n){ya(t,49,function(t,e){var n=t.name||"Arial",r=e&&5==e.biff,i=nn(r?15+n.length:16+2*n.length);return i.write_shift(2,20*(t.sz||12)),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,n.length),r||i.write_shift(1,1),i.write_shift((r?1:2)*n.length,n,r?"sbcs":"utf16le"),i}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},n))}function Oa(t,e){if(e){var n=0;e.forEach((function(e,r){++n<=256&&e&&ya(t,125,function(t,e){var n=nn(12);n.write_shift(2,e),n.write_shift(2,e),n.write_shift(2,256*t.width),n.write_shift(2,0);var r=0;return t.hidden&&(r|=1),n.write_shift(1,r),r=t.level||0,n.write_shift(1,r),n.write_shift(2,0),n}(Io(r,e),r))}))}}function Ma(t,e,n,r,i){var o=16+Ro(i.cellXfs,e,i);if(null!=e.v||e.bf)if(e.bf)ya(t,6,xo(e,n,r,0,o));else switch(e.t){case"d":case"n":ya(t,515,function(t,e,n,r){var i=nn(14);return Br(t,e,r,i),qn(n,i),i}(n,r,"d"==e.t?It(Ht(e.v)):e.v,o));break;case"b":case"e":ya(t,517,function(t,e,n,r,i,o){var a=nn(8);return Br(t,e,r,a),Ar(n,o,a),a}(n,r,e.v,o,0,e.t));break;case"s":case"str":if(i.bookSST)ya(t,253,function(t,e,n,r){var i=nn(10);return Br(t,e,r,i),i.write_shift(4,n),i}(n,r,Po(i.Strings,e.v,i.revStrings),o));else ya(t,516,function(t,e,n,r,i){var o=!i||8==i.biff,a=nn(+o+8+(1+o)*n.length);return Br(t,e,r,a),a.write_shift(2,n.length),o&&a.write_shift(1,1),a.write_shift((1+o)*n.length,n,o?"utf16le":"sbcs"),a}(n,r,(e.v||"").slice(0,255),o,i));break;default:ya(t,513,Br(n,r,o))}else ya(t,513,Br(n,r,o))}function ka(t,e,n){var r,i=rn(),o=n.SheetNames[t],a=n.Sheets[o]||{},s=(n||{}).Workbook||{},l=(s.Sheets||[])[t]||{},c=Array.isArray(a),u=8==e.biff,h="",f=[],d=bn(a["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(e.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}ya(i,2057,Wr(0,16,e)),ya(i,13,Tr(1)),ya(i,12,Tr(100)),ya(i,15,Er(!0)),ya(i,17,Er(!1)),ya(i,16,qn(.001)),ya(i,95,Er(!0)),ya(i,42,Er(!1)),ya(i,43,Er(!1)),ya(i,130,Tr(1)),ya(i,128,function(t){var e=nn(8);return e.write_shift(4,0),e.write_shift(2,t[0]?t[0]+1:0),e.write_shift(2,t[1]?t[1]+1:0),e}([0,0])),ya(i,131,Er(!1)),ya(i,132,Er(!1)),u&&Oa(i,a["!cols"]),ya(i,512,function(t,e){var n=8!=e.biff&&e.biff?2:4,r=nn(2*n+6);return r.write_shift(n,t.s.r),r.write_shift(n,t.e.r+1),r.write_shift(2,t.s.c),r.write_shift(2,t.e.c+1),r.write_shift(2,0),r}(d,e)),u&&(a["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){h=hn(g);for(var m=d.s.c;m<=d.e.c;++m){g===d.s.r&&(f[m]=dn(m)),r=f[m]+h;var v=c?(a[g]||[])[m]:a[r];v&&(Ma(i,v,g,m,e),u&&v.l&&a["!links"].push([r,v.l]))}}var b=l.CodeName||l.name||o;return u&&ya(i,574,function(t){var e=nn(18),n=1718;return t&&t.RTL&&(n|=64),e.write_shift(2,n),e.write_shift(4,0),e.write_shift(4,64),e.write_shift(4,0),e.write_shift(4,0),e}((s.Views||[])[0])),u&&(a["!merges"]||[]).length&&ya(i,229,function(t){var e=nn(2+8*t.length);e.write_shift(2,t.length);for(var n=0;n255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+t.SheetNames[n]+"' extends beyond column IV (255). Data may be lost.")}var i=e||{};switch(i.biff||2){case 8:case 5:return function(t,e){var n=e||{},r=[];t&&!t.SSF&&(t.SSF=Vt(F)),t&&t.SSF&&(wt(),yt(t.SSF),n.revssf=At(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,is(n),n.cellXfs=[],Ro(n.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={});for(var i=0;in||i[c].s.c>a)&&!(i[c].e.r1&&(d.rowspan=s),l>1&&(d.colspan=l),r.editable?f=''+f+"":h&&(d["data-t"]=h&&h.t||"z",null!=h.v&&(d["data-v"]=h.v),null!=h.z&&(d["data-z"]=h.z),h.l&&"#"!=(h.l.Target||"#").charAt(0)&&(f=''+f+"")),d.id=(r.id||"sjs")+"-"+u,o.push(ge("td",f,d))}}return""+o.join("")+""}var Aa='SheetJS Table Export',Pa="";function Ia(t,e,n){return[].join("")+""}function ja(t,e){var n=e||{},r=null!=n.header?n.header:Aa,i=null!=n.footer?n.footer:Pa,o=[r],a=mn(t["!ref"]);n.dense=Array.isArray(t),o.push(Ia(0,0,n));for(var s=a.s.r;s<=a.e.r;++s)o.push(Ta(t,a,s,n));return o.push(""+i),o.join("")}function Ra(t,e,n){var r=n||{};null!=g&&(r.dense=g);var i=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var a="string"==typeof r.origin?pn(r.origin):r.origin;i=a.r,o=a.c}var s=e.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:i,c:o}};if(t["!ref"]){var u=mn(t["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==i&&(c.e.r=i=u.e.r+1)}var h=[],f=0,d=t["!rows"]||(t["!rows"]=[]),p=0,m=0,v=0,b=0,y=0,w=0;for(t["!cols"]||(t["!cols"]=[]);p1||w>1)&&h.push({s:{r:m+i,c:b+o},e:{r:m+i+(y||1)-1,c:b+o+(w||1)-1}});var E={t:"s",v:O},C=_.getAttribute("data-t")||_.getAttribute("t")||"";null!=O&&(0==O.length?E.t=C||"z":r.raw||0==O.trim().length||"s"==C||("TRUE"===O?E={t:"b",v:!0}:"FALSE"===O?E={t:"b",v:!1}:isNaN(Ut(O))?isNaN(Gt(O).getDate())||(E={t:"d",v:Ht(O)},r.cellDates||(E={t:"n",v:It(E.v)}),E.z=r.dateNF||F[14]):E={t:"n",v:Ut(O)})),void 0===E.z&&null!=M&&(E.z=M);var T="",A=_.getElementsByTagName("A");if(A&&A.length)for(var P=0;P=l&&(t["!fullref"]=vn((c.e.r=s.length-p+m-1+i,c))),t}function Da(t,e){return Ra((e||{}).dense?[]:{},t,e)}function Na(t){var e="",n=function(t){return t.ownerDocument.defaultView&&"function"===typeof t.ownerDocument.defaultView.getComputedStyle?t.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}(t);return n&&(e=n(t).getPropertyValue("display")),e||(e=t.style&&t.style.display),"none"===e}var La=function(){var t=["",'',"",'',"",'',"",""].join(""),e=""+t+"";return function(){return $t+e}}(),Fa=function(){var t=" \n",e=function(e,n,r){var i=[];i.push(' \n');var o=0,a=0,s=mn(e["!ref"]||"A1"),l=e["!merges"]||[],c=0,u=Array.isArray(e);if(e["!cols"])for(a=0;a<=s.e.c;++a)i.push(" \n");var h="",f=e["!rows"]||[];for(o=0;o\n");for(;o<=s.e.r;++o){for(h=f[o]?' table:style-name="ro'+f[o].ods+'"':"",i.push(" \n"),a=0;aa)&&!(l[c].s.r>o)&&!(l[c].e.c\n");else{var m=gn({r:o,c:a}),v=u?(e[o]||[])[a]:e[m];if(v&&v.f&&(p["table:formula"]=te(("of:="+v.f.replace(Yi,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),v.F&&v.F.slice(0,m.length)==m)){var b=mn(v.F);p["table:number-matrix-columns-spanned"]=b.e.c-b.s.c+1,p["table:number-matrix-rows-spanned"]=b.e.r-b.s.r+1}if(v){switch(v.t){case"b":g=v.v?"TRUE":"FALSE",p["office:value-type"]="boolean",p["office:boolean-value"]=v.v?"true":"false";break;case"n":g=v.w||String(v.v||0),p["office:value-type"]="float",p["office:value"]=v.v||0;break;case"s":case"str":g=null==v.v?"":v.v,p["office:value-type"]="string";break;case"d":g=v.w||Ht(v.v).toISOString(),p["office:value-type"]="date",p["office:date-value"]=Ht(v.v).toISOString(),p["table:style-name"]="ce1";break;default:i.push(t);continue}var y=te(g).replace(/ +/g,(function(t){return''})).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"");if(v.l&&v.l.Target){var w=v.l.Target;"#"==(w="#"==w.charAt(0)?"#"+w.slice(1).replace(/\./,"!"):w).charAt(0)||w.match(/^\w+:/)||(w="../"+w),y=ge("text:a",y,{"xlink:href":w.replace(/&/g,"&")})}i.push(" "+ge("table:table-cell",ge("text:p",y,{}),p)+"\n")}else i.push(t)}}i.push(" \n")}return i.push(" \n"),i.join("")};return function(t,n){var r=[$t],i=pe({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=pe({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==n.bookType?(r.push("\n"),r.push(fr().replace(/office:document-meta/g,"office:meta"))):r.push("\n"),function(t,e){t.push(" \n"),t.push(' \n'),t.push(' \n'),t.push(" /\n"),t.push(' \n'),t.push(" /\n"),t.push(" \n"),t.push(" \n");var n=0;e.SheetNames.map((function(t){return e.Sheets[t]})).forEach((function(e){if(e&&e["!cols"])for(var r=0;r\n'),t.push(' \n'),t.push(" \n"),++n}}));var r=0;e.SheetNames.map((function(t){return e.Sheets[t]})).forEach((function(e){if(e&&e["!rows"])for(var n=0;n\n'),t.push(' \n'),t.push(" \n"),++r}})),t.push(' \n'),t.push(' \n'),t.push(" \n"),t.push(' \n'),t.push(" \n")}(r,t),r.push(" \n"),r.push(" \n");for(var a=0;a!=t.SheetNames.length;++a)r.push(e(t.Sheets[t.SheetNames[a]],t,a));return r.push(" \n"),r.push(" \n"),"fods"==n.bookType?r.push(""):r.push(""),r.join("")}}();function Ba(t,e){if("fods"==e.bookType)return Fa(t,e);var n=qt(),r="",i=[],o=[];return Xt(n,r="mimetype","application/vnd.oasis.opendocument.spreadsheet"),Xt(n,r="content.xml",Fa(t,e)),i.push([r,"text/xml"]),o.push([r,"ContentFile"]),Xt(n,r="styles.xml",La(t,e)),i.push([r,"text/xml"]),o.push([r,"StylesFile"]),Xt(n,r="meta.xml",$t+fr()),i.push([r,"text/xml"]),o.push([r,"MetadataFile"]),Xt(n,r="manifest.rdf",function(t){var e,n,r=[$t];r.push('\n');for(var i=0;i!=t.length;++i)r.push(hr(t[i][0],t[i][1])),r.push((e="",n=t[i][0],[' \n',' \n'," \n"].join("")));return r.push(hr("","Document","pkg")),r.push(""),r.join("")}(o)),i.push([r,"application/rdf+xml"]),Xt(n,r="META-INF/manifest.xml",function(t){var e=[$t];e.push('\n'),e.push(' \n');for(var n=0;n\n');return e.push(""),e.join("")}(i)),n}function Ha(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function za(t){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t):_(ue(t))}function Va(t){var e=t.reduce((function(t,e){return t+e.length}),0),n=new Uint8Array(e),r=0;return t.forEach((function(t){n.set(t,r),r+=t.length})),n}function Wa(t,e){var n=e?e[0]:0,r=127&t[n];t:if(t[n++]>=128){if(r|=(127&t[n])<<7,t[n++]<128)break t;if(r|=(127&t[n])<<14,t[n++]<128)break t;if(r|=(127&t[n])<<21,t[n++]<128)break t;if(r+=(127&t[n])*Math.pow(2,28),++n,t[n++]<128)break t;if(r+=(127&t[n])*Math.pow(2,35),++n,t[n++]<128)break t;if(r+=(127&t[n])*Math.pow(2,42),++n,t[n++]<128)break t}return e&&(e[0]=n),r}function Ua(t){var e=new Uint8Array(7);e[0]=127&t;var n=1;t:if(t>127){if(e[n-1]|=128,e[n]=t>>7&127,++n,t<=16383)break t;if(e[n-1]|=128,e[n]=t>>14&127,++n,t<=2097151)break t;if(e[n-1]|=128,e[n]=t>>21&127,++n,t<=268435455)break t;if(e[n-1]|=128,e[n]=t/256>>>21&127,++n,t<=34359738367)break t;if(e[n-1]|=128,e[n]=t/65536>>>21&127,++n,t<=4398046511103)break t;e[n-1]|=128,e[n]=t/16777216>>>21&127,++n}return e.slice(0,n)}function Ya(t){var e=0,n=127&t[e];t:if(t[e++]>=128){if(n|=(127&t[e])<<7,t[e++]<128)break t;if(n|=(127&t[e])<<14,t[e++]<128)break t;if(n|=(127&t[e])<<21,t[e++]<128)break t;n|=(127&t[e])<<28}return n}function Ga(t){for(var e=[],n=[0];n[0]=128;);r=t.slice(l,n[0]);break;case 5:s=4,r=t.slice(n[0],n[0]+s),n[0]+=s;break;case 1:s=8,r=t.slice(n[0],n[0]+s),n[0]+=s;break;case 2:s=Wa(t,n),r=t.slice(n[0],n[0]+s),n[0]+=s;break;default:throw new Error("PB Type ".concat(a," for Field ").concat(o," at offset ").concat(i))}var c={data:r,type:a};null==e[o]?e[o]=[c]:e[o].push(c)}return e}function Xa(t){var e=[];return t.forEach((function(t,n){t.forEach((function(t){t.data&&(e.push(Ua(8*n+t.type)),2==t.type&&e.push(Ua(t.data.length)),e.push(t.data))}))})),Va(e)}function qa(t){for(var e,n=[],r=[0];r[0]>>0>0),n.push(a)}return n}function $a(t){var e=[];return t.forEach((function(t){var n=[];n[1]=[{data:Ua(t.id),type:0}],n[2]=[],null!=t.merge&&(n[3]=[{data:Ua(+!!t.merge),type:0}]);var r=[];t.messages.forEach((function(t){r.push(t.data),t.meta[3]=[{type:0,data:Ua(t.data.length)}],n[2].push({data:Xa(t.meta),type:2})}));var i=Xa(n);e.push(Ua(i.length)),e.push(i),r.forEach((function(t){return e.push(t)}))})),Va(e)}function Ka(t,e){if(0!=t)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var n=[0],r=Wa(e,n),i=[];n[0]>2&7),a=(224&e[n[0]++])<<3,a|=e[n[0]++]):(s=1+(e[n[0]++]>>2),2==o?(a=e[n[0]]|e[n[0]+1]<<8,n[0]+=2):(a=(e[n[0]]|e[n[0]+1]<<8|e[n[0]+2]<<16|e[n[0]+3]<<24)>>>0,n[0]+=4)),i=[Va(i)],0==a)throw new Error("Invalid offset 0");if(a>i[0].length)throw new Error("Invalid offset beyond length");if(s>=a)for(i.push(i[0].slice(-a)),s-=a;s>=i[i.length-1].length;)i.push(i[i.length-1]),s-=i[i.length-1].length;i.push(i[0].slice(-a,-a+s))}else{var l=e[n[0]++]>>2;if(l<60)++l;else{var c=l-59;l=e[n[0]],c>1&&(l|=e[n[0]+1]<<8),c>2&&(l|=e[n[0]+2]<<16),c>3&&(l|=e[n[0]+3]<<24),l>>>=0,l++,n[0]+=c}i.push(e.slice(n[0],n[0]+l)),n[0]+=l}}var u=Va(i);if(u.length!=r)throw new Error("Unexpected length: ".concat(u.length," != ").concat(r));return u}function Za(t){for(var e=[],n=0;n>8&255]))):r<=16777216?(a+=4,e.push(new Uint8Array([248,r-1&255,r-1>>8&255,r-1>>16&255]))):r<=4294967296&&(a+=5,e.push(new Uint8Array([252,r-1&255,r-1>>8&255,r-1>>16&255,r-1>>>24&255]))),e.push(t.slice(n,n+r)),a+=r,i[0]=0,i[1]=255&a,i[2]=a>>8&255,i[3]=a>>16&255,n+=r}return Va(e)}function Ja(t,e){var n=new Uint8Array(32),r=Ha(n),i=12,o=0;switch(n[0]=5,t.t){case"n":n[1]=2,function(t,e,n){var r=Math.floor(0==n?0:Math.LOG10E*Math.log(Math.abs(n)))+6176-20,i=n/Math.pow(10,r-6176);t[e+15]|=r>>7,t[e+14]|=(127&r)<<1;for(var o=0;i>=1;++o,i/=256)t[e+o]=255&i;t[e+15]|=n>=0?0:128}(n,i,t.v),o|=1,i+=16;break;case"b":n[1]=6,r.setFloat64(i,t.v?1:0,!0),o|=2,i+=8;break;case"s":if(-1==e.indexOf(t.v))throw new Error("Value ".concat(t.v," missing from SST!"));n[1]=3,r.setUint32(i,e.indexOf(t.v),!0),o|=8,i+=4;break;default:throw"unsupported cell type "+t.t}return r.setUint32(8,o,!0),n.slice(0,i)}function ts(t,e){var n=new Uint8Array(32),r=Ha(n),i=12,o=0;switch(n[0]=3,t.t){case"n":n[2]=2,r.setFloat64(i,t.v,!0),o|=32,i+=8;break;case"b":n[2]=6,r.setFloat64(i,t.v?1:0,!0),o|=32,i+=8;break;case"s":if(-1==e.indexOf(t.v))throw new Error("Value ".concat(t.v," missing from SST!"));n[2]=3,r.setUint32(i,e.indexOf(t.v),!0),o|=16,i+=4;break;default:throw"unsupported cell type "+t.t}return r.setUint32(4,o,!0),n.slice(0,i)}function es(t){return Wa(Ga(t)[1][0].data)}function ns(t,e,n){var r,i,o,a;if(!(null==(r=t[6])?void 0:r[0])||!(null==(i=t[7])?void 0:i[0]))throw"Mutation only works on post-BNC storages!";if((null==(a=null==(o=t[8])?void 0:o[0])?void 0:a.data)&&Ya(t[8][0].data)>0||!1)throw"Math only works with normal offsets";for(var s=0,l=Ha(t[7][0].data),c=0,u=[],h=Ha(t[4][0].data),f=0,d=[],p=0;p1&&console.error("The Numbers writer currently writes only the first table");var r=mn(n["!ref"]);r.s.r=r.s.c=0;var i=!1;r.e.c>9&&(i=!0,r.e.c=9),r.e.r>49&&(i=!0,r.e.r=49),i&&console.error("The Numbers writer is currently limited to ".concat(vn(r)));var o=ps(n,{range:r,header:1}),a=["~Sh33tJ5~"];o.forEach((function(t){return t.forEach((function(t){"string"==typeof t&&a.push(t)}))}));var s={},l=[],c=_t.read(e.numbers,{type:"base64"});c.FileIndex.map((function(t,e){return[t,c.FullPaths[e]]})).forEach((function(t){var e=t[0],n=t[1];2==e.type&&e.name.match(/\.iwa/)&&qa(Za(e.content)).forEach((function(t){l.push(t.id),s[t.id]={deps:[],location:n,type:Ya(t.messages[0].meta[1][0].data)}}))})),l.sort((function(t,e){return t-e}));var u=l.filter((function(t){return t>1})).map((function(t){return[t,Ua(t)]}));c.FileIndex.map((function(t,e){return[t,c.FullPaths[e]]})).forEach((function(t){var e=t[0];t[1],e.name.match(/\.iwa/)&&qa(Za(e.content)).forEach((function(t){t.messages.forEach((function(e){u.forEach((function(e){t.messages.some((function(t){return 11006!=Ya(t.meta[1][0].data)&&function(t,e){t:for(var n=0;n<=t.length-e.length;++n){for(var r=0;r-1,i={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};is(e=e||{});var o=qt(),a="",s=0;e.cellXfs=[],Ro(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={});if(Xt(o,a="docProps/core.xml",gr(t.Props,e)),i.coreprops.push(a),ur(e.rels,2,a,sr.CORE_PROPS),a="docProps/app.xml",t.Props&&t.Props.SheetNames);else if(t.Workbook&&t.Workbook.Sheets){for(var l=[],c=0;c0&&(Xt(o,a="docProps/custom.xml",yr(t.Custprops)),i.custprops.push(a),ur(e.rels,4,a,sr.CUST_PROPS));for(s=1;s<=t.SheetNames.length;++s){var u={"!id":{}},h=t.Sheets[t.SheetNames[s-1]];(h||{})["!type"];if(Xt(o,a="xl/worksheets/sheet"+s+"."+n,la(s-1,a,e,t,u)),i.sheets.push(a),ur(e.wbrels,-1,"worksheets/sheet"+s+"."+n,sr.WS[0]),h){var f=h["!comments"],d=!1,p="";f&&f.length>0&&(Xt(o,p="xl/comments"+s+"."+n,ca(f,p,e)),i.comments.push(p),ur(u,-1,"../comments"+s+"."+n,sr.CMNT),d=!0),h["!legacy"]&&d&&Xt(o,"xl/drawings/vmlDrawing"+s+".vml",Fi(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}u["!id"].rId1&&Xt(o,lr(a),cr(u))}null!=e.Strings&&e.Strings.length>0&&(Xt(o,a="xl/sharedStrings."+n,function(t,e,n){return(".bin"===e.slice(-4)?ai:ii)(t,n)}(e.Strings,a,e)),i.strs.push(a),ur(e.wbrels,-1,"sharedStrings."+n,sr.SST));Xt(o,a="xl/workbook."+n,function(t,e,n){return(".bin"===e.slice(-4)?sa:oa)(t,n)}(t,a,e)),i.workbooks.push(a),ur(e.rels,1,a,sr.WB),Xt(o,a="xl/theme/theme1.xml",Ri(t.Themes,e)),i.themes.push(a),ur(e.wbrels,-1,"theme/theme1.xml",sr.THEME),Xt(o,a="xl/styles."+n,function(t,e,n){return(".bin"===e.slice(-4)?ji:wi)(t,n)}(t,a,e)),i.styles.push(a),ur(e.wbrels,-1,"styles."+n,sr.STY),t.vbaraw&&r&&(Xt(o,a="xl/vbaProject.bin",t.vbaraw),i.vba.push(a),ur(e.wbrels,-1,"vbaProject.bin",sr.VBA));return Xt(o,a="xl/metadata."+n,function(t){return(".bin"===t.slice(-4)?Di:Ni)()}(a)),i.metadata.push(a),ur(e.wbrels,-1,"metadata."+n,sr.XLMETA),Xt(o,"[Content_Types].xml",ar(i,e)),Xt(o,"_rels/.rels",cr(e.rels)),Xt(o,"xl/_rels/workbook."+n+".rels",cr(e.wbrels)),delete e.revssf,delete e.ssf,o}(t,e):as(t,e)}function as(t,e){Li=1024,t&&!t.SSF&&(t.SSF=Vt(F)),t&&t.SSF&&(wt(),yt(t.SSF),e.revssf=At(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,Ao?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var n="xml",r=Wi.indexOf(e.bookType)>-1,i={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};is(e=e||{});var o=qt(),a="",s=0;if(e.cellXfs=[],Ro(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),Xt(o,a="docProps/core.xml",gr(t.Props,e)),i.coreprops.push(a),ur(e.rels,2,a,sr.CORE_PROPS),a="docProps/app.xml",t.Props&&t.Props.SheetNames);else if(t.Workbook&&t.Workbook.Sheets){for(var l=[],c=0;c0&&(Xt(o,a="docProps/custom.xml",yr(t.Custprops)),i.custprops.push(a),ur(e.rels,4,a,sr.CUST_PROPS));var u=["SheetJ5"];for(e.tcid=0,s=1;s<=t.SheetNames.length;++s){var h={"!id":{}},f=t.Sheets[t.SheetNames[s-1]];(f||{})["!type"];if(Xt(o,a="xl/worksheets/sheet"+s+"."+n,Bo(s-1,e,t,h)),i.sheets.push(a),ur(e.wbrels,-1,"worksheets/sheet"+s+"."+n,sr.WS[0]),f){var d=f["!comments"],p=!1,g="";if(d&&d.length>0){var m=!1;d.forEach((function(t){t[1].forEach((function(t){1==t.T&&(m=!0)}))})),m&&(Xt(o,g="xl/threadedComments/threadedComment"+s+"."+n,Hi(d,u,e)),i.threadedcomments.push(g),ur(h,-1,"../threadedComments/threadedComment"+s+"."+n,sr.TCMNT)),Xt(o,g="xl/comments"+s+"."+n,Bi(d)),i.comments.push(g),ur(h,-1,"../comments"+s+"."+n,sr.CMNT),p=!0}f["!legacy"]&&p&&Xt(o,"xl/drawings/vmlDrawing"+s+".vml",Fi(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}h["!id"].rId1&&Xt(o,lr(a),cr(h))}return null!=e.Strings&&e.Strings.length>0&&(Xt(o,a="xl/sharedStrings."+n,ii(e.Strings,e)),i.strs.push(a),ur(e.wbrels,-1,"sharedStrings."+n,sr.SST)),Xt(o,a="xl/workbook."+n,oa(t)),i.workbooks.push(a),ur(e.rels,1,a,sr.WB),Xt(o,a="xl/theme/theme1.xml",Ri(t.Themes,e)),i.themes.push(a),ur(e.wbrels,-1,"theme/theme1.xml",sr.THEME),Xt(o,a="xl/styles."+n,wi(t,e)),i.styles.push(a),ur(e.wbrels,-1,"styles."+n,sr.STY),t.vbaraw&&r&&(Xt(o,a="xl/vbaProject.bin",t.vbaraw),i.vba.push(a),ur(e.wbrels,-1,"vbaProject.bin",sr.VBA)),Xt(o,a="xl/metadata."+n,Ni()),i.metadata.push(a),ur(e.wbrels,-1,"metadata."+n,sr.XLMETA),u.length>1&&(Xt(o,a="xl/persons/person.xml",function(t){var e=[$t,ge("personList",null,{xmlns:ve.TCMNT,"xmlns:x":be[0]}).replace(/[\/]>/,">")];return t.forEach((function(t,n){e.push(ge("person",null,{displayName:t,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:t,providerId:"None"}))})),e.push(""),e.join("")}(u)),i.people.push(a),ur(e.wbrels,-1,"persons/person.xml",sr.PEOPLE)),Xt(o,"[Content_Types].xml",ar(i,e)),Xt(o,"_rels/.rels",cr(e.rels)),Xt(o,"xl/_rels/workbook.xml.rels",cr(e.wbrels)),delete e.revssf,delete e.ssf,o}function ss(t,e){var n="";switch((e||{}).type||"base64"){case"buffer":case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":n=b(t.slice(0,12));break;case"binary":n=t;break;default:throw new Error("Unrecognized type "+(e&&e.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function ls(t,e){switch(e.type){case"base64":case"binary":break;case"buffer":case"array":e.type="";break;case"file":return kt(e.file,_t.write(t,{type:y?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");default:throw new Error("Unrecognized type "+e.type)}return _t.write(t,e)}function cs(t,e){var n={},r=y?"nodebuffer":"undefined"!==typeof Uint8Array?"array":"string";if(e.compression&&(n.compression="DEFLATE"),e.password)n.type=r;else switch(e.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");case"buffer":case"file":n.type=r;break;default:throw new Error("Unrecognized type "+e.type)}var i=t.FullPaths?_t.write(t,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[n.type]||n.type,compression:!!e.compression}):t.generate(n);if("undefined"!==typeof Deno&&"string"==typeof i){if("binary"==e.type||"base64"==e.type)return i;i=new Uint8Array(O(i))}return e.password&&"undefined"!==typeof encrypt_agile?ls(encrypt_agile(i,e.password),e):"file"===e.type?kt(e.file,i):"string"==e.type?ce(i):i}function us(t,e,n){n||(n="");var r=n+t;switch(e.type){case"base64":return v(ue(r));case"binary":return ue(r);case"string":return t;case"file":return kt(e.file,r,"utf8");case"buffer":return y?w(r,"utf8"):"undefined"!==typeof TextEncoder?(new TextEncoder).encode(r):us(r,{type:"binary"}).split("").map((function(t){return t.charCodeAt(0)}))}throw new Error("Unrecognized type "+e.type)}function hs(t,e){switch(e.type){case"string":case"base64":case"binary":for(var n="",r=0;r0&&(i=0);var h=hn(l.s.r),f=[],d=[],p=0,g=0,m=Array.isArray(t),v=l.s.r,b=0,y={};m&&!t[v]&&(t[v]=[]);var w=c.skipHidden&&t["!cols"]||[],x=c.skipHidden&&t["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b)if(!(w[b]||{}).hidden)switch(f[b]=dn(b),n=m?t[v][b]:t[f[b]+h],r){case 1:o[b]=b-l.s.c;break;case 2:o[b]=f[b];break;case 3:o[b]=c.header[b-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),s=a=wn(n,null,c),g=y[a]||0){do{s=a+"_"+g++}while(y[s]);y[a]=g,y[s]=1}else y[a]=1;o[b]=s}for(v=l.s.r+i;v<=l.e.r;++v)if(!(x[v]||{}).hidden){var S=ds(t,l,v,f,r,o,m,c);(!1===S.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(d[p++]=S.row)}return d.length=p,d}var gs=/"/g;function ms(t,e,n,r,i,o,a,s){for(var l=!0,c=[],u="",h=hn(n),f=e.s.c;f<=e.e.c;++f)if(r[f]){var d=s.dense?(t[n]||[])[f]:t[r[f]+h];if(null==d)u="";else if(null!=d.v){l=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:wn(d,null,s));for(var p=0,g=0;p!==u.length;++p)if((g=u.charCodeAt(p))===i||g===o||34===g||s.forceQuotes){u='"'+u.replace(gs,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(l=!1,(u="="+d.f).indexOf(",")>=0&&(u='"'+u.replace(gs,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(a)}function vs(t,e){var n=[],r=null==e?{}:e;if(null==t||null==t["!ref"])return"";var i=bn(t["!ref"]),o=void 0!==r.FS?r.FS:",",a=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",h=[];r.dense=Array.isArray(t);for(var f=r.skipHidden&&t["!cols"]||[],d=r.skipHidden&&t["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(f[p]||{}).hidden||(h[p]=dn(p));for(var g=0,m=i.s.r;m<=i.e.r;++m)(d[m]||{}).hidden||null!=(u=ms(t,i,m,h,a,l,o,r))&&(r.strip&&(u=u.replace(c,"")),(u||!1!==r.blankrows)&&n.push((g++?s:"")+u));return delete r.dense,n.join("")}function bs(t,e){e||(e={}),e.FS="\t",e.RS="\n";var n=vs(t,e);if("undefined"==typeof f||"string"==e.type)return n;var r=f.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function ys(t,e,n){var r,i=n||{},o=+!i.skipHeader,a=t||{},s=0,l=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?pn(i.origin):i.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+e.length-1+o}};if(a["!ref"]){var h=bn(a["!ref"]);u.e.c=Math.max(u.e.c,h.e.c),u.e.r=Math.max(u.e.r,h.e.r),-1==s&&(s=h.e.r+1,u.e.r=s+e.length-1+o)}else-1==s&&(s=0,u.e.r=e.length-1+o);var f=i.header||[],d=0;e.forEach((function(t,e){Et(t).forEach((function(n){-1==(d=f.indexOf(n))&&(f[d=f.length]=n);var c=t[n],u="z",h="",p=gn({c:l+d,r:s+e+o});r=ws(a,p),!c||"object"!==typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",i.cellDates||(u="n",c=It(c)),h=i.dateNF||F[14]):null===c&&i.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,h&&(r.z=h)):a[p]=r={t:u,v:c},h&&(r.z=h)):a[p]=c}))})),u.e.c=Math.max(u.e.c,l+f.length-1);var p=hn(s);if(o)for(d=0;d=65535)throw new Error("Too many worksheets");if(r&&t.SheetNames.indexOf(n)>=0){var o=n.match(/(^.*?)(\d+)$/);i=o&&+o[2]||0;var a=o&&o[1]||n;for(++i;i<=65535&&-1!=t.SheetNames.indexOf(n=a+i);++i);}if(ra(n),t.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return t.SheetNames.push(n),t.Sheets[n]=e,n}function _s(t,e,n){return e?(t.l={Target:e},n&&(t.l.Tooltip=n)):delete t.l,t}var Os={encode_col:dn,encode_row:hn,encode_cell:gn,encode_range:vn,decode_col:fn,decode_row:un,split_cell:function(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:pn,decode_range:mn,format_cell:wn,sheet_add_aoa:Sn,sheet_add_json:ys,sheet_add_dom:Ra,aoa_to_sheet:_n,json_to_sheet:function(t,e){return ys(null,t,e)},table_to_sheet:Da,table_to_book:function(t,e){return xn(Da(t,e),e)},sheet_to_csv:vs,sheet_to_txt:bs,sheet_to_json:ps,sheet_to_html:ja,sheet_to_formulae:function(t){var e,n="",r="";if(null==t||null==t["!ref"])return[];var i,o=bn(t["!ref"]),a="",s=[],l=[],c=Array.isArray(t);for(i=o.s.c;i<=o.e.c;++i)s[i]=dn(i);for(var u=o.s.r;u<=o.e.r;++u)for(a=hn(u),i=o.s.c;i<=o.e.c;++i)if(n=s[i]+a,r="",void 0!==(e=c?(t[u]||[])[i]:t[n])){if(null!=e.F){if(n=e.F,!e.f)continue;r=e.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=e.f)r=e.f;else{if("z"==e.t)continue;if("n"==e.t&&null!=e.v)r=""+e.v;else if("b"==e.t)r=e.v?"TRUE":"FALSE";else if(void 0!==e.w)r="'"+e.w;else{if(void 0===e.v)continue;r="s"==e.t?"'"+e.v:""+e.v}}l[l.length]=n+"="+r}return l},sheet_to_row_object_array:ps,sheet_get_cell:ws,book_new:xs,book_append_sheet:Ss,book_set_sheet_visibility:function(t,e,n){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var r=function(t,e){if("number"==typeof e){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}if("string"==typeof e){var n=t.SheetNames.indexOf(e);if(n>-1)return n;throw new Error("Cannot find sheet name |"+e+"|")}throw new Error("Cannot find sheet |"+e+"|")}(t,e);switch(t.Workbook.Sheets[r]||(t.Workbook.Sheets[r]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}t.Workbook.Sheets[r].Hidden=n},cell_set_number_format:function(t,e){return t.z=e,t},cell_set_hyperlink:_s,cell_set_internal_link:function(t,e,n){return _s(t,"#"+e,n)},cell_add_comment:function(t,e,n){t.c||(t.c=[]),t.c.push({t:e,a:n||"SheetJS"})},sheet_set_array_formula:function(t,e,n,r){for(var i="string"!=typeof e?e:bn(e),o="string"==typeof e?e:vn(e),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var l=ws(t,a,s);l.t="n",l.F=o,delete l.v,a==i.s.r&&s==i.s.c&&(l.f=n,r&&(l.D=!0))}return t},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};r.version},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),i=n.n(r),o=n(278);function a(){return i.a.useContext(o.a)}},function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",(function(){return r}))},,,,,,,function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var n,a,s=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),l=1;l-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){(function(t){var r=n(399),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=s}).call(this,n(107)(t))},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Array.isArray,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r1;){var e=t.pop(),n=e.obj[e.prop];if(i(n)){for(var r=[],o=0;o=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+=r.charAt(a):s<128?i+=o[s]:s<2048?i+=o[192|s>>6]+o[128|63&s]:s<55296||s>=57344?i+=o[224|s>>12]+o[128|s>>6&63]+o[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),i+=o[240|s>>18]+o[128|s>>12&63]+o[128|s>>6&63]+o[128|63&s])}return i},isBuffer:function(t){return!(!t||"object"!==typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var n=[],r=0;r>>32-e}function c(t,e,n,r,i,o,a){return l(t+(e&n|~e&r)+i+o|0,a)+e|0}function u(t,e,n,r,i,o,a){return l(t+(e&r|n&~r)+i+o|0,a)+e|0}function h(t,e,n,r,i,o,a){return l(t+(e^n^r)+i+o|0,a)+e|0}function f(t,e,n,r,i,o,a){return l(t+(n^(e|~r))+i+o|0,a)+e|0}r(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,i=this._c,o=this._d;n=c(n,r,i,o,t[0],3614090360,7),o=c(o,n,r,i,t[1],3905402710,12),i=c(i,o,n,r,t[2],606105819,17),r=c(r,i,o,n,t[3],3250441966,22),n=c(n,r,i,o,t[4],4118548399,7),o=c(o,n,r,i,t[5],1200080426,12),i=c(i,o,n,r,t[6],2821735955,17),r=c(r,i,o,n,t[7],4249261313,22),n=c(n,r,i,o,t[8],1770035416,7),o=c(o,n,r,i,t[9],2336552879,12),i=c(i,o,n,r,t[10],4294925233,17),r=c(r,i,o,n,t[11],2304563134,22),n=c(n,r,i,o,t[12],1804603682,7),o=c(o,n,r,i,t[13],4254626195,12),i=c(i,o,n,r,t[14],2792965006,17),n=u(n,r=c(r,i,o,n,t[15],1236535329,22),i,o,t[1],4129170786,5),o=u(o,n,r,i,t[6],3225465664,9),i=u(i,o,n,r,t[11],643717713,14),r=u(r,i,o,n,t[0],3921069994,20),n=u(n,r,i,o,t[5],3593408605,5),o=u(o,n,r,i,t[10],38016083,9),i=u(i,o,n,r,t[15],3634488961,14),r=u(r,i,o,n,t[4],3889429448,20),n=u(n,r,i,o,t[9],568446438,5),o=u(o,n,r,i,t[14],3275163606,9),i=u(i,o,n,r,t[3],4107603335,14),r=u(r,i,o,n,t[8],1163531501,20),n=u(n,r,i,o,t[13],2850285829,5),o=u(o,n,r,i,t[2],4243563512,9),i=u(i,o,n,r,t[7],1735328473,14),n=h(n,r=u(r,i,o,n,t[12],2368359562,20),i,o,t[5],4294588738,4),o=h(o,n,r,i,t[8],2272392833,11),i=h(i,o,n,r,t[11],1839030562,16),r=h(r,i,o,n,t[14],4259657740,23),n=h(n,r,i,o,t[1],2763975236,4),o=h(o,n,r,i,t[4],1272893353,11),i=h(i,o,n,r,t[7],4139469664,16),r=h(r,i,o,n,t[10],3200236656,23),n=h(n,r,i,o,t[13],681279174,4),o=h(o,n,r,i,t[0],3936430074,11),i=h(i,o,n,r,t[3],3572445317,16),r=h(r,i,o,n,t[6],76029189,23),n=h(n,r,i,o,t[9],3654602809,4),o=h(o,n,r,i,t[12],3873151461,11),i=h(i,o,n,r,t[15],530742520,16),n=f(n,r=h(r,i,o,n,t[2],3299628645,23),i,o,t[0],4096336452,6),o=f(o,n,r,i,t[7],1126891415,10),i=f(i,o,n,r,t[14],2878612391,15),r=f(r,i,o,n,t[5],4237533241,21),n=f(n,r,i,o,t[12],1700485571,6),o=f(o,n,r,i,t[3],2399980690,10),i=f(i,o,n,r,t[10],4293915773,15),r=f(r,i,o,n,t[1],2240044497,21),n=f(n,r,i,o,t[8],1873313359,6),o=f(o,n,r,i,t[15],4264355552,10),i=f(i,o,n,r,t[6],2734768916,15),r=f(r,i,o,n,t[13],1309151649,21),n=f(n,r,i,o,t[4],4149444226,6),o=f(o,n,r,i,t[11],3174756917,10),i=f(i,o,n,r,t[2],718787259,15),r=f(r,i,o,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},function(t,e,n){"use strict";var r=n(180).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"===typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i>>32-e}function g(t,e,n,r,i,o,a,s){return p(t+(e^n^r)+o+a|0,s)+i|0}function m(t,e,n,r,i,o,a,s){return p(t+(e&n|~e&r)+o+a|0,s)+i|0}function v(t,e,n,r,i,o,a,s){return p(t+((e|~n)^r)+o+a|0,s)+i|0}function b(t,e,n,r,i,o,a,s){return p(t+(e&r|n&~r)+o+a|0,s)+i|0}function y(t,e,n,r,i,o,a,s){return p(t+(e^(n|~r))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,w=0|this._a,x=0|this._b,S=0|this._c,_=0|this._d,O=0|this._e,M=0;M<80;M+=1){var k,E;M<16?(k=g(n,r,i,o,d,t[s[M]],h[0],c[M]),E=y(w,x,S,_,O,t[l[M]],f[0],u[M])):M<32?(k=m(n,r,i,o,d,t[s[M]],h[1],c[M]),E=b(w,x,S,_,O,t[l[M]],f[1],u[M])):M<48?(k=v(n,r,i,o,d,t[s[M]],h[2],c[M]),E=v(w,x,S,_,O,t[l[M]],f[2],u[M])):M<64?(k=b(n,r,i,o,d,t[s[M]],h[3],c[M]),E=m(w,x,S,_,O,t[l[M]],f[3],u[M])):(k=y(n,r,i,o,d,t[s[M]],h[4],c[M]),E=g(w,x,S,_,O,t[l[M]],f[4],u[M])),n=d,d=o,o=p(i,10),i=r,r=k,w=O,O=_,_=p(S,10),S=x,x=E}var C=this._b+i+_|0;this._b=this._c+o+O|0,this._c=this._d+d+w|0,this._d=this._e+n+x|0,this._e=this._a+r+S|0,this._a=C},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=r.alloc?r.alloc(20):new r(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=d},function(t,e,n){(e=t.exports=function(t){t=t.toLowerCase();var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n}).sha=n(702),e.sha1=n(703),e.sha224=n(704),e.sha256=n(428),e.sha384=n(705),e.sha512=n(429)},function(t,e,n){(e=t.exports=n(430)).Stream=e,e.Readable=e,e.Writable=n(327),e.Duplex=n(163),e.Transform=n(433),e.PassThrough=n(713)},function(t,e,n){var r=n(86),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),o(i,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){"use strict";(function(e,r,i){var o=n(253);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}t.exports=b;var s,l=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:o.nextTick;b.WritableState=v;var c=Object.create(n(216));c.inherits=n(41);var u={deprecate:n(426)},h=n(431),f=n(326).Buffer,d=("undefined"!==typeof i?i:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};var p,g=n(432);function m(){}function v(t,e){s=s||n(163),t=t||{};var r=e instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,c=t.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(c||0===c)?c:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===t.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(o.nextTick(i,r),o.nextTick(O,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(i(r),t._writableState.errorEmitted=!0,t.emit("error",r),O(t,e))}(t,n,r,e,i);else{var a=S(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||x(t,n),r?l(w,t,n,a,i):w(t,n,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function b(t){if(s=s||n(163),!p.call(b,this)&&!(this instanceof s))return new b(t);this._writableState=new v(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),h.call(this)}function y(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function w(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),O(t,e)}function x(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),o=e.corkedRequestsFree;o.entry=n;for(var s=0,l=!0;n;)i[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;i.allBuffers=l,y(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,h=n.callback;if(y(t,e,!1,e.objectMode?1:c.length,c,u,h),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function S(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function _(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),O(t,e)}))}function O(t,e){var n=S(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(_,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}c.inherits(b,h),v.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(v.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===b&&(t&&t._writableState instanceof v)}})):p=function(t){return t instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(t,e,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=t,f.isBuffer(r)||r instanceof d);return s&&!f.isBuffer(t)&&(t=function(t){return f.from(t)}(t)),"function"===typeof e&&(n=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!==typeof n&&(n=m),i.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),o.nextTick(e,n)}(this,n):(s||function(t,e,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,t,n))&&(i.pendingcb++,a=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=f.from(e,n));return e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var l=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(t,e,n){var r=this._writableState;"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,O(t,e),n&&(e.finished?o.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n(94),n(711).setImmediate,n(62))},function(t,e,n){"use strict";var r=n(109);function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==t.padding}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-e),r=0;r0;r--)e+=this._buffer(t,e),n+=this._flushBuffer(i,n);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function a(t,n){var i=function(t){var e=o(t);return{blinder:e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(n),a=n.modulus.byteLength(),s=new r(t).mul(i.blinder).umod(n.modulus),l=s.toRed(r.mont(n.prime1)),c=s.toRed(r.mont(n.prime2)),u=n.coefficient,h=n.prime1,f=n.prime2,d=l.redPow(n.exponent1).fromRed(),p=c.redPow(n.exponent2).fromRed(),g=d.isub(p).imul(u).umod(h).imul(f);return p.iadd(g).imul(i.unblinder).umod(n.modulus).toArrayLike(e,"be",a)}a.getr=o,t.exports=a}).call(this,n(86).Buffer)},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(745).Buffer}catch(C){}function s(t,e){var n=t.charCodeAt(e);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+t)}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,i){for(var o=0,a=0,s=Math.min(t.length,n),l=e;l=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&a0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"===typeof t)return this._initNumber(t,e,n);if("object"===typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=l(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2===0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(C){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),n=0!==o||a!==this.length-1?f[6-l.length]+l+n:l+n}for(0!==o&&(n=o.toString(16)+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],u=p[t];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var g=h.modrn(u).toString(t);n=(h=h.idivn(u)).isZero()?g+n:f[c-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function g(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n._strip()}o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0===(8191&e)&&(n+=13,e>>>=13),0===(127&e)&&(n+=7,e>>>=7),0===(15&e)&&(n+=4,e>>>=4),0===(3&e)&&(n+=2,e>>>=2),0===(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,d=0|a[1],p=8191&d,g=d>>>13,m=0|a[2],v=8191&m,b=m>>>13,y=0|a[3],w=8191&y,x=y>>>13,S=0|a[4],_=8191&S,O=S>>>13,M=0|a[5],k=8191&M,E=M>>>13,C=0|a[6],T=8191&C,A=C>>>13,P=0|a[7],I=8191&P,j=P>>>13,R=0|a[8],D=8191&R,N=R>>>13,L=0|a[9],F=8191&L,B=L>>>13,H=0|s[0],z=8191&H,V=H>>>13,W=0|s[1],U=8191&W,Y=W>>>13,G=0|s[2],X=8191&G,q=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,gt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(h,z))|0)+((8191&(i=(i=Math.imul(h,V))+Math.imul(f,z)|0))<<13)|0;c=((o=Math.imul(f,V))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,V))+Math.imul(g,z)|0,o=Math.imul(g,V);var vt=(c+(r=r+Math.imul(h,U)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(f,U)|0))<<13)|0;c=((o=o+Math.imul(f,Y)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(v,z),i=(i=Math.imul(v,V))+Math.imul(b,z)|0,o=Math.imul(b,V),r=r+Math.imul(p,U)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(g,U)|0,o=o+Math.imul(g,Y)|0;var bt=(c+(r=r+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,q)|0)+Math.imul(f,X)|0))<<13)|0;c=((o=o+Math.imul(f,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,V))+Math.imul(x,z)|0,o=Math.imul(x,V),r=r+Math.imul(v,U)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(b,U)|0,o=o+Math.imul(b,Y)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,q)|0;var yt=(c+(r=r+Math.imul(h,K)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(f,K)|0))<<13)|0;c=((o=o+Math.imul(f,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(_,z),i=(i=Math.imul(_,V))+Math.imul(O,z)|0,o=Math.imul(O,V),r=r+Math.imul(w,U)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,U)|0,o=o+Math.imul(x,Y)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,q)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0;var wt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,V))+Math.imul(E,z)|0,o=Math.imul(E,V),r=r+Math.imul(_,U)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,U)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,q)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(b,K)|0,o=o+Math.imul(b,Z)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var xt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(T,z),i=(i=Math.imul(T,V))+Math.imul(A,z)|0,o=Math.imul(A,V),r=r+Math.imul(k,U)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(E,U)|0,o=o+Math.imul(E,Y)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,q)|0,r=r+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(b,J)|0,o=o+Math.imul(b,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,z),i=(i=Math.imul(I,V))+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(T,U)|0,i=(i=i+Math.imul(T,Y)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,Y)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,q)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,Z)|0,r=r+Math.imul(w,J)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(b,nt)|0,o=o+Math.imul(b,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var _t=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(D,z),i=(i=Math.imul(D,V))+Math.imul(N,z)|0,o=Math.imul(N,V),r=r+Math.imul(I,U)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(j,U)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(T,X)|0,i=(i=i+Math.imul(T,q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,q)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(O,J)|0,o=o+Math.imul(O,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,ct)|0;var Ot=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(F,z),i=(i=Math.imul(F,V))+Math.imul(B,z)|0,o=Math.imul(B,V),r=r+Math.imul(D,U)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(N,U)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,r=r+Math.imul(k,J)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(O,nt)|0,o=o+Math.imul(O,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(b,lt)|0,o=o+Math.imul(b,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(g,ht)|0,o=o+Math.imul(g,ft)|0;var Mt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,gt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(F,U),i=(i=Math.imul(F,Y))+Math.imul(B,U)|0,o=Math.imul(B,Y),r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,q)|0,r=r+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(j,K)|0,o=o+Math.imul(j,Z)|0,r=r+Math.imul(T,J)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(A,J)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(k,nt)|0,i=(i=i+Math.imul(k,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(O,ot)|0,o=o+Math.imul(O,at)|0,r=r+Math.imul(w,lt)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(b,ht)|0,o=o+Math.imul(b,ft)|0;var kt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(F,X),i=(i=Math.imul(F,q))+Math.imul(B,X)|0,o=Math.imul(B,q),r=r+Math.imul(D,K)|0,i=(i=i+Math.imul(D,Z)|0)+Math.imul(N,K)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(T,nt)|0,i=(i=i+Math.imul(T,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(O,lt)|0,o=o+Math.imul(O,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,ft)|0)+Math.imul(x,ht)|0,o=o+Math.imul(x,ft)|0;var Et=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,gt)|0)+Math.imul(b,pt)|0))<<13)|0;c=((o=o+Math.imul(b,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),r=r+Math.imul(D,J)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(k,lt)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,ft)|0)+Math.imul(O,ht)|0,o=o+Math.imul(O,ft)|0;var Ct=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(F,J),i=(i=Math.imul(F,tt))+Math.imul(B,J)|0,o=Math.imul(B,tt),r=r+Math.imul(D,nt)|0,i=(i=i+Math.imul(D,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(T,lt)|0,i=(i=i+Math.imul(T,ct)|0)+Math.imul(A,lt)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var Tt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(O,pt)|0))<<13)|0;c=((o=o+Math.imul(O,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(F,nt),i=(i=Math.imul(F,rt))+Math.imul(B,nt)|0,o=Math.imul(B,rt),r=r+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(T,ht)|0,i=(i=i+Math.imul(T,ft)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,ft)|0;var At=(c+(r=r+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,gt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),r=r+Math.imul(D,lt)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,ft)|0)+Math.imul(j,ht)|0,o=o+Math.imul(j,ft)|0;var Pt=(c+(r=r+Math.imul(T,pt)|0)|0)+((8191&(i=(i=i+Math.imul(T,gt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(F,lt),i=(i=Math.imul(F,ct))+Math.imul(B,lt)|0,o=Math.imul(B,ct),r=r+Math.imul(D,ht)|0,i=(i=i+Math.imul(D,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(F,ht),i=(i=Math.imul(F,ft))+Math.imul(B,ht)|0,o=Math.imul(B,ft);var jt=(c+(r=r+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,gt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,gt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863;var Rt=(c+(r=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,gt))+Math.imul(B,pt)|0))<<13)|0;return c=((o=Math.imul(B,gt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,l[0]=mt,l[1]=vt,l[2]=bt,l[3]=yt,l[4]=wt,l[5]=xt,l[6]=St,l[7]=_t,l[8]=Ot,l[9]=Mt,l[10]=kt,l[11]=Et,l[12]=Ct,l[13]=Tt,l[14]=At,l[15]=Pt,l[16]=It,l[17]=jt,l[18]=Rt,0!==c&&(l[19]=c,n.length++),n};function v(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function b(t,e,n){return v(t,e,n)}function y(t,e){this.x=t,this.y=e}Math.imul||(m=g),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?g(this,t,e):n<1024?v(this,t,e):b(this,t,e)},y.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},y.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"===typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0===(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0===(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new k(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function x(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function S(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function E(t){k.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(t,e){t.iushrn(this.n,0,e)},x.prototype.imulK=function(t){return t.imul(this.k)},i(S,x),S.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},S.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(w[t])return w[t];var e;if("k256"===t)e=new S;else if("p224"===t)e=new _;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new M}return w[t]=e,e},k.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},k.prototype._verify2=function(t,e){r(0===(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},k.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(u(t,t.umod(this.m)._forceRed(this)),t)},k.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},k.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},k.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},k.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},k.prototype.isqr=function(t){return this.imul(t,t.clone())},k.prototype.sqr=function(t){return this.mul(t,t)},k.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2===1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var g=d,m=0;0!==g.cmp(s);m++)g=g.redSqr();r(m=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},k.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},k.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new E(t)},i(E,k),E.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},E.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},E.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(107)(t))},function(t,e,n){"use strict";var r=e;r.version=n(746).version,r.utils=n(110),r.rand=n(331),r.curve=n(453),r.curves=n(335),r.ec=n(758),r.eddsa=n(762)},function(t,e,n){"use strict";var r,i=e,o=n(336),a=n(453),s=n(110).assert;function l(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var n=new l(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(757)}catch(u){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},function(t,e,n){var r=e;r.utils=n(123),r.common=n(218),r.sha=n(751),r.ripemd=n(755),r.hmac=n(756),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},function(t,e,n){"use strict";(function(e){var r,i=n(86),o=i.Buffer,a={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=i[r]);var s=a.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(s[r]=o[r]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(t,e,n){if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&"undefined"===typeof t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return o(t,e,n)}),s.alloc||(s.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=o(t);return e&&0!==e.length?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(l){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this,n(94))},function(t,e,n){"use strict";const r=n(339).Reporter,i=n(219).EncoderBuffer,o=n(219).DecoderBuffer,a=n(109),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function c(t,e,n){const r={};this._baseState=r,r.name=n,r.enc=t,r.parent=e||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=c;const u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){const t=this._baseState,e={};u.forEach((function(n){e[n]=t[n]}));const n=new this.constructor(e.parent);return n._baseState=e,n},c.prototype._wrap=function(){const t=this._baseState;l.forEach((function(e){this[e]=function(){const n=new this.constructor(this);return t.children.push(n),n[e].apply(n,arguments)}}),this)},c.prototype._init=function(t){const e=this._baseState;a(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),a.equal(e.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(t){const e=this._baseState,n=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==n.length&&(a(null===e.children),e.children=n,n.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(a(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!==typeof t||t.constructor!==Object)return t;const e={};return Object.keys(t).forEach((function(n){n==(0|n)&&(n|=0);const r=t[n];e[r]=n})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){c.prototype[t]=function(){const e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),s.forEach((function(t){c.prototype[t]=function(){const e=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===e.tag),e.tag=t,this._useArgs(n),this}})),c.prototype.use=function(t){a(t);const e=this._baseState;return a(null===e.use),e.use=t,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(t){const e=this._baseState;return a(null===e.default),e.default=t,e.optional=!0,this},c.prototype.explicit=function(t){const e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.explicit=t,this},c.prototype.implicit=function(t){const e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.implicit=t,this},c.prototype.obj=function(){const t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},c.prototype.key=function(t){const e=this._baseState;return a(null===e.key),e.key=t,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(t){const e=this._baseState;return a(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},c.prototype.contains=function(t){const e=this._baseState;return a(null===e.use),e.contains=t,this},c.prototype._decode=function(t,e){const n=this._baseState;if(null===n.parent)return t.wrapResult(n.children[0]._decode(t,e));let r,i=n.default,a=!0,s=null;if(null!==n.key&&(s=t.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(a=this._peekTag(t,r,n.any),t.isError(a))return a}else{const r=t.save();try{null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e),a=!0}catch(l){a=!1}t.restore(r)}}if(n.obj&&a&&(r=t.enterObject()),a){if(null!==n.explicit){const e=this._decodeTag(t,n.explicit);if(t.isError(e))return e;t=e}const r=t.offset;if(null===n.use&&null===n.choice){let e;n.any&&(e=t.save());const r=this._decodeTag(t,null!==n.implicit?n.implicit:n.tag,n.any);if(t.isError(r))return r;n.any?i=t.raw(e):t=r}if(e&&e.track&&null!==n.tag&&e.track(t.path(),r,t.length,"tagged"),e&&e.track&&null!==n.tag&&e.track(t.path(),t.offset,t.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(t,e)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const r=new o(i);i=this._getUse(n.contains,t._reporterState.obj)._decode(r,e)}}return n.obj&&a&&(i=t.leaveObject(r)),null===n.key||null===i&&!0!==a?null!==s&&t.exitKey(s):t.leaveKey(s,n.key,i),i},c.prototype._decodeGeneric=function(t,e,n){const r=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,r.args[0],n):/str$/.test(t)?this._decodeStr(e,t,n):"objid"===t&&r.args?this._decodeObjid(e,r.args[0],r.args[1],n):"objid"===t?this._decodeObjid(e,null,null,n):"gentime"===t||"utctime"===t?this._decodeTime(e,t,n):"null_"===t?this._decodeNull(e,n):"bool"===t?this._decodeBool(e,n):"objDesc"===t?this._decodeStr(e,t,n):"int"===t||"enum"===t?this._decodeInt(e,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,e._reporterState.obj)._decode(e,n):e.error("unknown tag: "+t)},c.prototype._getUse=function(t,e){const n=this._baseState;return n.useDecoder=this._use(t,e),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},c.prototype._decodeChoice=function(t,e){const n=this._baseState;let r=null,i=!1;return Object.keys(n.choice).some((function(o){const a=t.save(),s=n.choice[o];try{const n=s._decode(t,e);if(t.isError(n))return!1;r={type:o,value:n},i=!0}catch(l){return t.restore(a),!1}return!0}),this),i?r:t.error("Choice not matched")},c.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},c.prototype._encode=function(t,e,n){const r=this._baseState;if(null!==r.default&&r.default===t)return;const i=this._encodeValue(t,e,n);return void 0===i||this._skipDefault(i,e,n)?void 0:i},c.prototype._encodeValue=function(t,e,n){const i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new r);let o=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}let a=null,s=!1;if(i.any)o=this._createEncoderBuffer(t);else if(i.choice)o=this._encodeChoice(t,e);else if(i.contains)a=this._getUse(i.contains,n)._encode(t,e),s=!0;else if(i.children)a=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,e,t);if(null===n._baseState.key)return e.error("Child should have a key");const r=e.enterKey(n._baseState.key);if("object"!==typeof t)return e.error("Child expected, but input is not object");const i=n._encode(t[n._baseState.key],e,t);return e.leaveKey(r),i}),this).filter((function(t){return t})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,a=this._createEncoderBuffer(t.map((function(n){const r=this._baseState;return this._getUse(r.args[0],t)._encode(n,e)}),n))}else null!==i.use?o=this._getUse(i.use,n)._encode(t,e):(a=this._encodePrimitive(i.tag,t),s=!0);if(!i.any&&null===i.choice){const t=null!==i.implicit?i.implicit:i.tag,n=null===i.implicit?"universal":"context";null===t?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(t,s,n,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(t,e){const n=this._baseState,r=n.choice[t.type];return r||a(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(t.value,e)},c.prototype._encodePrimitive=function(t,e){const n=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&n.args)return this._encodeObjid(e,n.reverseArgs[0],n.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,n.args&&n.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},c.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},c.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},function(t,e,n){"use strict";const r=n(41);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){const t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){const e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){const e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,n){const r=this._reporterState;this.exitKey(t),null!==r.obj&&(r.obj[e]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){const e=this._reporterState,n=e.obj;return e.obj=t,n},i.prototype.error=function(t){let e;const n=this._reporterState,r=t instanceof o;if(e=r?t:new o(n.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!n.options.partial)throw e;return r||n.errors.push(e),e},i.prototype.wrapResult=function(t){const e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},r(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(t,e,n){"use strict";function r(t){const e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);const r=t[n];e[r]=n})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=r(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=r(e.tag)},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(781).Buffer}catch(M){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"===typeof t)return this._initNumber(t,e,n);if("object"===typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=l(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2===0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?g+n:u[c-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0===(8191&e)&&(n+=13,e>>>=13),0===(127&e)&&(n+=7,e>>>=7),0===(15&e)&&(n+=4,e>>>=4),0===(3&e)&&(n+=2,e>>>=2),0===(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,d=0|a[1],p=8191&d,g=d>>>13,m=0|a[2],v=8191&m,b=m>>>13,y=0|a[3],w=8191&y,x=y>>>13,S=0|a[4],_=8191&S,O=S>>>13,M=0|a[5],k=8191&M,E=M>>>13,C=0|a[6],T=8191&C,A=C>>>13,P=0|a[7],I=8191&P,j=P>>>13,R=0|a[8],D=8191&R,N=R>>>13,L=0|a[9],F=8191&L,B=L>>>13,H=0|s[0],z=8191&H,V=H>>>13,W=0|s[1],U=8191&W,Y=W>>>13,G=0|s[2],X=8191&G,q=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,gt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(h,z))|0)+((8191&(i=(i=Math.imul(h,V))+Math.imul(f,z)|0))<<13)|0;c=((o=Math.imul(f,V))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,V))+Math.imul(g,z)|0,o=Math.imul(g,V);var vt=(c+(r=r+Math.imul(h,U)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(f,U)|0))<<13)|0;c=((o=o+Math.imul(f,Y)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(v,z),i=(i=Math.imul(v,V))+Math.imul(b,z)|0,o=Math.imul(b,V),r=r+Math.imul(p,U)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(g,U)|0,o=o+Math.imul(g,Y)|0;var bt=(c+(r=r+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,q)|0)+Math.imul(f,X)|0))<<13)|0;c=((o=o+Math.imul(f,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,V))+Math.imul(x,z)|0,o=Math.imul(x,V),r=r+Math.imul(v,U)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(b,U)|0,o=o+Math.imul(b,Y)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,q)|0;var yt=(c+(r=r+Math.imul(h,K)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(f,K)|0))<<13)|0;c=((o=o+Math.imul(f,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(_,z),i=(i=Math.imul(_,V))+Math.imul(O,z)|0,o=Math.imul(O,V),r=r+Math.imul(w,U)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,U)|0,o=o+Math.imul(x,Y)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,q)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0;var wt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,V))+Math.imul(E,z)|0,o=Math.imul(E,V),r=r+Math.imul(_,U)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,U)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,q)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(b,K)|0,o=o+Math.imul(b,Z)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var xt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(T,z),i=(i=Math.imul(T,V))+Math.imul(A,z)|0,o=Math.imul(A,V),r=r+Math.imul(k,U)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(E,U)|0,o=o+Math.imul(E,Y)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,q)|0,r=r+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(b,J)|0,o=o+Math.imul(b,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,z),i=(i=Math.imul(I,V))+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(T,U)|0,i=(i=i+Math.imul(T,Y)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,Y)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,q)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,Z)|0,r=r+Math.imul(w,J)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(b,nt)|0,o=o+Math.imul(b,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var _t=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(D,z),i=(i=Math.imul(D,V))+Math.imul(N,z)|0,o=Math.imul(N,V),r=r+Math.imul(I,U)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(j,U)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(T,X)|0,i=(i=i+Math.imul(T,q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,q)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(O,J)|0,o=o+Math.imul(O,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,ct)|0;var Ot=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(F,z),i=(i=Math.imul(F,V))+Math.imul(B,z)|0,o=Math.imul(B,V),r=r+Math.imul(D,U)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(N,U)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,r=r+Math.imul(k,J)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(O,nt)|0,o=o+Math.imul(O,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(b,lt)|0,o=o+Math.imul(b,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(g,ht)|0,o=o+Math.imul(g,ft)|0;var Mt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,gt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(F,U),i=(i=Math.imul(F,Y))+Math.imul(B,U)|0,o=Math.imul(B,Y),r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,q)|0,r=r+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(j,K)|0,o=o+Math.imul(j,Z)|0,r=r+Math.imul(T,J)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(A,J)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(k,nt)|0,i=(i=i+Math.imul(k,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(O,ot)|0,o=o+Math.imul(O,at)|0,r=r+Math.imul(w,lt)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(b,ht)|0,o=o+Math.imul(b,ft)|0;var kt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(F,X),i=(i=Math.imul(F,q))+Math.imul(B,X)|0,o=Math.imul(B,q),r=r+Math.imul(D,K)|0,i=(i=i+Math.imul(D,Z)|0)+Math.imul(N,K)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(T,nt)|0,i=(i=i+Math.imul(T,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(O,lt)|0,o=o+Math.imul(O,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,ft)|0)+Math.imul(x,ht)|0,o=o+Math.imul(x,ft)|0;var Et=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,gt)|0)+Math.imul(b,pt)|0))<<13)|0;c=((o=o+Math.imul(b,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),r=r+Math.imul(D,J)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(k,lt)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,ft)|0)+Math.imul(O,ht)|0,o=o+Math.imul(O,ft)|0;var Ct=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(F,J),i=(i=Math.imul(F,tt))+Math.imul(B,J)|0,o=Math.imul(B,tt),r=r+Math.imul(D,nt)|0,i=(i=i+Math.imul(D,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(T,lt)|0,i=(i=i+Math.imul(T,ct)|0)+Math.imul(A,lt)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var Tt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(O,pt)|0))<<13)|0;c=((o=o+Math.imul(O,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(F,nt),i=(i=Math.imul(F,rt))+Math.imul(B,nt)|0,o=Math.imul(B,rt),r=r+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(T,ht)|0,i=(i=i+Math.imul(T,ft)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,ft)|0;var At=(c+(r=r+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,gt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),r=r+Math.imul(D,lt)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,ft)|0)+Math.imul(j,ht)|0,o=o+Math.imul(j,ft)|0;var Pt=(c+(r=r+Math.imul(T,pt)|0)|0)+((8191&(i=(i=i+Math.imul(T,gt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(F,lt),i=(i=Math.imul(F,ct))+Math.imul(B,lt)|0,o=Math.imul(B,ct),r=r+Math.imul(D,ht)|0,i=(i=i+Math.imul(D,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(F,ht),i=(i=Math.imul(F,ft))+Math.imul(B,ht)|0,o=Math.imul(B,ft);var jt=(c+(r=r+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,gt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,gt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863;var Rt=(c+(r=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,gt))+Math.imul(B,pt)|0))<<13)|0;return c=((o=Math.imul(B,gt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,l[0]=mt,l[1]=vt,l[2]=bt,l[3]=yt,l[4]=wt,l[5]=xt,l[6]=St,l[7]=_t,l[8]=Ot,l[9]=Mt,l[10]=kt,l[11]=Et,l[12]=Ct,l[13]=Tt,l[14]=At,l[15]=Pt,l[16]=It,l[17]=jt,l[18]=Rt,0!==c&&(l[19]=c,n.length++),n};function g(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):g(this,t,e),n},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},m.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"===typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0===(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0===(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},i(y,b),y.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return v[t]=e,e},_.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){r(0===(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},_.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2===1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var g=d,m=0;0!==g.cmp(s);m++)g=g.redSqr();r(m=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new O(t)},i(O,_),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(107)(t))},function(t,e,n){"use strict";var r=n(471);t.exports=function(){return r()&&!!Symbol.toStringTag}},function(t,e,n){"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(A){l=null}var c=function(){throw new a},u=l?function(){try{return c}catch(t){try{return l(arguments,"callee").get}catch(e){return c}}}():c,h=n(792)(),f=n(793)(),d=Object.getPrototypeOf||(f?function(t){return t.__proto__}:null),p={},g="undefined"!==typeof Uint8Array&&d?d(Uint8Array):r,m={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":h&&d?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&d?d(d([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&h&&d?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&h&&d?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&d?d(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":u,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(d)try{null.error}catch(A){var v=d(d(A));m["%Error.prototype%"]=v}var b=function t(e){var n;if("%AsyncFunction%"===e)n=s("async function () {}");else if("%GeneratorFunction%"===e)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=s("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&d&&(n=d(i.prototype))}return m[e]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(344),x=n(795),S=w.call(Function.call,Array.prototype.concat),_=w.call(Function.apply,Array.prototype.splice),O=w.call(Function.call,String.prototype.replace),M=w.call(Function.call,String.prototype.slice),k=w.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,T=function(t,e){var n,r=t;if(x(y,r)&&(r="%"+(n=y[r])[0]+"%"),x(m,r)){var o=m[r];if(o===p&&(o=b(r)),"undefined"===typeof o&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!==typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===k(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=M(t,0,1),n=M(t,-1);if("%"===e&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return O(t,E,(function(t,e,n,i){r[r.length]=n?O(i,C,"$1"):e||t})),r}(t),r=n.length>0?n[0]:"",o=T("%"+r+"%",e),s=o.name,c=o.value,u=!1,h=o.alias;h&&(r=h[0],_(n,S([0,1],h)));for(var f=1,d=!0;f=n.length){var b=l(c,p);c=(d=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[p]}else d=x(c,p),c=c[p];d&&!u&&(m[s]=c)}}return c}},function(t,e,n){"use strict";var r=n(794);t.exports=Function.prototype.bind||r},function(t,e,n){"use strict";var r=n(344),i=n(343),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(f){c=null}t.exports=function(t){var e=s(r,a,arguments);l&&c&&(l(e,"length").configurable&&c(e,"length",{value:1+u(0,t.length-(arguments.length-1))}));return e};var h=function(){return s(r,o,arguments)};c?c(t.exports,"apply",{value:h}):t.exports.apply=h},function(t,e,n){var r=n(477),i=n(478),o=n(809),a=n(108);t.exports=function(t,e){return(a(t)?r:i)(t,o(e))}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n2&&void 0!==arguments[2]?arguments[2]:[];if(t===e)return!1;var i=Object.keys(t),o=Object.keys(e);if(i.length!==o.length)return!0;var a,s,l={};for(a=0,s=n.length;ae?n>0?i:r:s>0?a:o}function g(t,e){if(0===e)return t;var n=Math.PI/180*e;return[t[0]*Math.cos(n)+t[1]*Math.sin(n),t[1]*Math.cos(n)-t[0]*Math.sin(n)]}function m(t,e){var r=function(e){e&&"touches"in e&&e.touches.length>1||t((function(t,r){r.trackMouse&&(document.addEventListener(c,i),document.addEventListener(u,s));var o="touches"in e?e.touches[0]:e,a=g([o.clientX,o.clientY],r.rotationAngle);return n({},t,l,{initial:[].concat(a),xy:a,start:e.timeStamp||0})}))},i=function(e){t((function(t,r){if("touches"in e&&e.touches.length>1)return t;var i="touches"in e?e.touches[0]:e,o=g([i.clientX,i.clientY],r.rotationAngle),a=o[0],s=o[1],l=a-t.xy[0],c=s-t.xy[1],u=Math.abs(l),h=Math.abs(c),f=(e.timeStamp||0)-t.start,d=Math.sqrt(u*u+h*h)/(f||1),m=[l/(f||1),c/(f||1)];if(u=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:l(s(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function f(t){return 11===t?u:10===t?h:u||h}function d(t){if(!t)return document.documentElement;for(var e=f(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function g(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||d(t.firstElementChild)===t)}(a)?a:d(a);var s=p(t);return s.host?g(s.host,e):g(t,p(e).host)}function m(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function v(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function b(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],f(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=f(10)&&getComputedStyle(n);return{height:b("Height",e,n,r),width:b("Width",e,n,r)}}var w=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=f(10),i="HTML"===e.nodeName,o=O(t),s=O(e),c=l(t),u=a(e),h=parseFloat(u.borderTopWidth),d=parseFloat(u.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=_({top:o.top-s.top-h,left:o.left-s.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var g=parseFloat(u.marginTop),v=parseFloat(u.marginLeft);p.top-=h-g,p.bottom-=h-g,p.left-=d-v,p.right-=d-v,p.marginTop=g,p.marginLeft=v}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(p=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(p,e)),p}function k(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=s(t);return!!n&&k(n)}function E(t){if(!t||!t.parentElement||f())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function C(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?E(t):g(t,c(e));if("viewport"===r)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=M(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),s=e?0:m(n,"left");return _({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}(a,i);else{var u=void 0;"scrollParent"===r?"BODY"===(u=l(s(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===r?t.ownerDocument.documentElement:r;var h=M(u,a,i);if("HTML"!==u.nodeName||k(a))o=h;else{var f=y(t.ownerDocument),d=f.height,p=f.width;o.top+=h.top-h.marginTop,o.bottom=d+h.top,o.left+=h.left-h.marginLeft,o.right=p+h.left}}var v="number"===typeof(n=n||0);return o.left+=v?n:n.left||0,o.top+=v?n:n.top||0,o.right-=v?n:n.right||0,o.bottom-=v?n:n.bottom||0,o}function T(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=C(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map((function(t){return S({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,h=t.split("-")[1];return u+(h?"-"+h:"")}function A(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return M(n,r?E(e):g(e,c(n)),r)}function P(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function j(t,e,n){n=n.split("-")[0];var r=P(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return i[a]=e[a]+e[l]/2-r[l]/2,i[s]=n===s?e[s]-r[c]:e[I(s)],i}function R(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function D(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=R(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=_(e.offsets.popper),e.offsets.reference=_(e.offsets.reference),e=n(e,t))})),e}function N(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=j(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=D(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function L(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=K.indexOf(t),r=K.slice(n+1).concat(K.slice(0,n));return e?r.reverse():r}var Q="flip",J="clockwise",tt="counterclockwise";function et(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(R(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){return _("%p"===a?n:r)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))})),c.forEach((function(t,e){t.forEach((function(n,r){Y(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var nt={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:x({},l,o[l]),end:x({},l,o[l]+o[c]-a[c])};t.offsets.popper=S({},a,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=Y(+n)?[+n,0]:et(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var r=F("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=C(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,h={primary:function(t){var n=u[t];return u[t]l[t]&&!e.escapeWithReference&&(r=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),x({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=S({},u,h[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]o(r[s])&&(t.offsets.popper[l]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!q(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"===typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,s=o.popper,l=o.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",h=c?"Top":"Left",f=h.toLowerCase(),d=c?"left":"top",p=c?"bottom":"right",g=P(r)[u];l[p]-gs[p]&&(t.offsets.popper[f]+=l[f]+g-s[p]),t.offsets.popper=_(t.offsets.popper);var m=l[f]+l[u]/2-g/2,v=a(t.instance.popper),b=parseFloat(v["margin"+h]),y=parseFloat(v["border"+h+"Width"]),w=m-t.offsets.popper[f]-b-y;return w=Math.max(Math.min(s[u]-g,w),0),t.arrowElement=r,t.offsets.arrow=(x(n={},f,Math.round(w)),x(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(L(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=C(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=I(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Q:a=[r,i];break;case J:a=Z(r);break;case tt:a=Z(r,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return t;r=t.placement.split("-")[0],i=I(r);var c=t.offsets.popper,u=t.offsets.reference,h=Math.floor,f="left"===r&&h(c.right)>h(u.left)||"right"===r&&h(c.left)h(u.top)||"bottom"===r&&h(c.top)h(n.right),g=h(c.top)h(n.bottom),v="left"===r&&d||"right"===r&&p||"top"===r&&g||"bottom"===r&&m,b=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(b&&"start"===o&&d||b&&"end"===o&&p||!b&&"start"===o&&g||!b&&"end"===o&&m),w=!!e.flipVariationsByContent&&(b&&"start"===o&&p||b&&"end"===o&&d||!b&&"start"===o&&m||!b&&"end"===o&&g),x=y||w;(f||v||x)&&(t.flipped=!0,(f||v)&&(r=a[l+1]),x&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=S({},t.offsets.popper,j(t.instance.popper,t.offsets.reference,t.placement)),t=D(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=I(e),t.offsets.popper=_(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=R(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=S({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){r.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return w(t,[{key:"update",value:function(){return N.call(this)}},{key:"destroy",value:function(){return B.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),t}();it.Utils=("undefined"!==typeof window?window:t).PopperUtils,it.placements=$,it.Defaults=rt,e.a=it}).call(this,n(62))},function(t,e,n){var r=n(876).clean,i=/[.*+?^${}()|[\]\\]/g,o=/[a-z0-9_]/i,a=/\s+/;t.exports=function(t,e){return t=r(t),(e=r(e)).trim().split(a).filter((function(t){return t.length>0})).reduce((function(e,n){var r=n.length,a=o.test(n[0])?"\\b":"",s=new RegExp(a+n.replace(i,"\\$&"),"i"),l=t.search(s);return l>-1&&(e.push([l,l+r]),t=t.slice(0,l)+new Array(r+1).join(" ")+t.slice(l+r)),e}),[]).sort((function(t,e){return t[0]-e[0]}))}},function(t,e,n){"use strict";t.exports=n(877).default},function(t,e,n){"use strict";t.exports=n(896)},function(t,e,n){"use strict";var r=n(499),i=n(1),o=n(81);var a=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const e=i.useContext(o.c);return e&&(n=e,0!==Object.keys(n).length)?e:t;var n};const s=Object(r.a)();e.a=function(){return a(arguments.length>0&&void 0!==arguments[0]?arguments[0]:s)}},function(t,e,n){"use strict";var r=n(4),i=n(51),o=n(9),a=n(1),s=(n(14),n(206)),l=n(55),c=n(85),u=n(39);function h(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var f={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"}},d=a.forwardRef((function(t,e){var n=t.children,d=t.disableStrictModeCompat,p=void 0!==d&&d,g=t.in,m=t.onEnter,v=t.onEntered,b=t.onEntering,y=t.onExit,w=t.onExited,x=t.onExiting,S=t.style,_=t.timeout,O=void 0===_?"auto":_,M=t.TransitionComponent,k=void 0===M?s.a:M,E=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),C=a.useRef(),T=a.useRef(),A=Object(l.a)(),P=A.unstable_strictMode&&!p,I=a.useRef(null),j=Object(u.a)(n.ref,e),R=Object(u.a)(P?I:void 0,j),D=function(t){return function(e,n){if(t){var r=P?[I.current,e]:[e,n],o=Object(i.a)(r,2),a=o[0],s=o[1];void 0===s?t(a):t(a,s)}}},N=D(b),L=D((function(t,e){Object(c.b)(t);var n,r=Object(c.a)({style:S,timeout:O},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===O?(n=A.transitions.getAutoHeightDuration(t.clientHeight),T.current=n):n=i,t.style.transition=[A.transitions.create("opacity",{duration:n,delay:o}),A.transitions.create("transform",{duration:.666*n,delay:o})].join(","),m&&m(t,e)})),F=D(v),B=D(x),H=D((function(t){var e,n=Object(c.a)({style:S,timeout:O},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===O?(e=A.transitions.getAutoHeightDuration(t.clientHeight),T.current=e):e=r,t.style.transition=[A.transitions.create("opacity",{duration:e,delay:i}),A.transitions.create("transform",{duration:.666*e,delay:i||.333*e})].join(","),t.style.opacity="0",t.style.transform=h(.75),y&&y(t)})),z=D(w);return a.useEffect((function(){return function(){clearTimeout(C.current)}}),[]),a.createElement(k,Object(r.a)({appear:!0,in:g,nodeRef:P?I:void 0,onEnter:L,onEntered:F,onEntering:N,onExit:H,onExited:z,onExiting:B,addEndListener:function(t,e){var n=P?t:e;"auto"===O&&(C.current=setTimeout(n,T.current||0))},timeout:"auto"===O?null:O},E),(function(t,e){return a.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:h(.75),visibility:"exited"!==t||g?void 0:"hidden"},f[t],S,n.props.style),ref:R},e))}))}));d.muiSupportAuto=!0,e.a=d},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(18),l=n(31),c=n(237),u=n(23),h=o.forwardRef((function(t,e){var n=t.edge,s=void 0!==n&&n,l=t.children,h=t.classes,f=t.className,d=t.color,p=void 0===d?"default":d,g=t.disabled,m=void 0!==g&&g,v=t.disableFocusRipple,b=void 0!==v&&v,y=t.size,w=void 0===y?"medium":y,x=Object(i.a)(t,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(c.a,Object(r.a)({className:Object(a.a)(h.root,f,"default"!==p&&h["color".concat(Object(u.a)(p))],m&&h.disabled,"small"===w&&h["size".concat(Object(u.a)(w))],{start:h.edgeStart,end:h.edgeEnd}[s]),centerRipple:!0,focusRipple:!b,disabled:m,ref:e},x),o.createElement("span",{className:h.label},l))}));e.a=Object(s.a)((function(t){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:t.palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(l.c)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:t.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(l.c)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(l.c)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:t.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(h)},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(18),l=n(23),c=o.forwardRef((function(t,e){var n=t.children,s=t.classes,c=t.className,u=t.color,h=void 0===u?"inherit":u,f=t.component,d=void 0===f?"svg":f,p=t.fontSize,g=void 0===p?"default":p,m=t.htmlColor,v=t.titleAccess,b=t.viewBox,y=void 0===b?"0 0 24 24":b,w=Object(i.a)(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(d,Object(r.a)({className:Object(a.a)(s.root,c,"inherit"!==h&&s["color".concat(Object(l.a)(h))],"default"!==g&&s["fontSize".concat(Object(l.a)(g))]),focusable:"false",viewBox:y,color:m,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:e},w),n,v?o.createElement("title",null,v):null)}));c.muiName="SvgIcon",e.a=Object(s.a)((function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(c)},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(18),l=o.forwardRef((function(t,e){var n=t.classes,s=t.className,l=t.dividers,c=void 0!==l&&l,u=Object(i.a)(t,["classes","className","dividers"]);return o.createElement("div",Object(r.a)({className:Object(a.a)(n.root,s,c&&n.dividers),ref:e},u))}));e.a=Object(s.a)((function(t){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(t.palette.divider),borderBottom:"1px solid ".concat(t.palette.divider)}}}),{name:"MuiDialogContent"})(l)},function(t,e,n){"use strict";var r=n(9),i=n(4),o=n(1),a=n(38),s=(n(14),n(298)),l=n(560),c=n(66),u=n(905),h=n(95),f=n(39),d=n(65),p=n(283),g=n(50),m=n(32),v=n(88),b=n(285),y=n(151);function w(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function x(t){return parseInt(window.getComputedStyle(t)["padding-right"],10)||0}function S(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[e,n].concat(Object(v.a)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){1===t.nodeType&&-1===o.indexOf(t)&&-1===a.indexOf(t.tagName)&&w(t,i)}))}function _(t,e){var n=-1;return t.some((function(t,r){return!!e(t)&&(n=r,!0)})),n}function O(t,e){var n,r=[],i=[],o=t.container;if(!e.disableScrollLock){if(function(t){var e=Object(c.a)(t);return e.body===t?Object(y.a)(e).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(o)){var a=Object(b.a)();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(x(o)+a,"px"),n=Object(c.a)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(t){i.push(t.style.paddingRight),t.style.paddingRight="".concat(x(t)+a,"px")}))}var s=o.parentElement,l="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:o;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(t,e){i[e]?t.style.paddingRight=i[e]:t.style.removeProperty("padding-right")})),r.forEach((function(t){var e=t.value,n=t.el,r=t.key;e?n.style.setProperty(r,e):n.style.removeProperty(r)}))}}var M=function(){function t(){Object(g.a)(this,t),this.modals=[],this.containers=[]}return Object(m.a)(t,[{key:"add",value:function(t,e){var n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&w(t.modalRef,!1);var r=function(t){var e=[];return[].forEach.call(t.children,(function(t){t.getAttribute&&"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);S(e,t.mountNode,t.modalRef,r,!0);var i=_(this.containers,(function(t){return t.container===e}));return-1!==i?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(t,e){var n=_(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];r.restore||(r.restore=O(r,e))}},{key:"remove",value:function(t){var e=this.modals.indexOf(t);if(-1===e)return e;var n=_(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(e,1),0===r.modals.length)r.restore&&r.restore(),t.modalRef&&w(t.modalRef,!0),S(r.container,t.mountNode,t.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&w(i.modalRef,!1)}return e}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),t}();var k=function(t){var e=t.children,n=t.disableAutoFocus,r=void 0!==n&&n,i=t.disableEnforceFocus,s=void 0!==i&&i,l=t.disableRestoreFocus,u=void 0!==l&&l,h=t.getDoc,d=t.isEnabled,p=t.open,g=o.useRef(),m=o.useRef(null),v=o.useRef(null),b=o.useRef(),y=o.useRef(null),w=o.useCallback((function(t){y.current=a.findDOMNode(t)}),[]),x=Object(f.a)(e.ref,w),S=o.useRef();return o.useEffect((function(){S.current=p}),[p]),!S.current&&p&&"undefined"!==typeof window&&(b.current=h().activeElement),o.useEffect((function(){if(p){var t=Object(c.a)(y.current);r||!y.current||y.current.contains(t.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex",-1),y.current.focus());var e=function(){null!==y.current&&(t.hasFocus()&&!s&&d()&&!g.current?y.current&&!y.current.contains(t.activeElement)&&y.current.focus():g.current=!1)},n=function(e){!s&&d()&&9===e.keyCode&&t.activeElement===y.current&&(g.current=!0,e.shiftKey?v.current.focus():m.current.focus())};t.addEventListener("focus",e,!0),t.addEventListener("keydown",n,!0);var i=setInterval((function(){e()}),50);return function(){clearInterval(i),t.removeEventListener("focus",e,!0),t.removeEventListener("keydown",n,!0),u||(b.current&&b.current.focus&&b.current.focus(),b.current=null)}}}),[r,s,u,d,p]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelStart"}),o.cloneElement(e,{ref:x}),o.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelEnd"}))},E={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},C=o.forwardRef((function(t,e){var n=t.invisible,a=void 0!==n&&n,s=t.open,l=Object(r.a)(t,["invisible","open"]);return s?o.createElement("div",Object(i.a)({"aria-hidden":!0,ref:e},l,{style:Object(i.a)({},E.root,a?E.invisible:{},l.style)})):null}));var T=new M,A=o.forwardRef((function(t,e){var n=Object(s.a)(),g=Object(l.a)({name:"MuiModal",props:Object(i.a)({},t),theme:n}),m=g.BackdropComponent,v=void 0===m?C:m,b=g.BackdropProps,y=g.children,x=g.closeAfterTransition,S=void 0!==x&&x,_=g.container,O=g.disableAutoFocus,M=void 0!==O&&O,E=g.disableBackdropClick,A=void 0!==E&&E,P=g.disableEnforceFocus,I=void 0!==P&&P,j=g.disableEscapeKeyDown,R=void 0!==j&&j,D=g.disablePortal,N=void 0!==D&&D,L=g.disableRestoreFocus,F=void 0!==L&&L,B=g.disableScrollLock,H=void 0!==B&&B,z=g.hideBackdrop,V=void 0!==z&&z,W=g.keepMounted,U=void 0!==W&&W,Y=g.manager,G=void 0===Y?T:Y,X=g.onBackdropClick,q=g.onClose,$=g.onEscapeKeyDown,K=g.onRendered,Z=g.open,Q=Object(r.a)(g,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),J=o.useState(!0),tt=J[0],et=J[1],nt=o.useRef({}),rt=o.useRef(null),it=o.useRef(null),ot=Object(f.a)(it,e),at=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(g),st=function(){return Object(c.a)(rt.current)},lt=function(){return nt.current.modalRef=it.current,nt.current.mountNode=rt.current,nt.current},ct=function(){G.mount(lt(),{disableScrollLock:H}),it.current.scrollTop=0},ut=Object(d.a)((function(){var t=function(t){return t="function"===typeof t?t():t,a.findDOMNode(t)}(_)||st().body;G.add(lt(),t),it.current&&ct()})),ht=o.useCallback((function(){return G.isTopModal(lt())}),[G]),ft=Object(d.a)((function(t){rt.current=t,t&&(K&&K(),Z&&ht()?ct():w(it.current,!0))})),dt=o.useCallback((function(){G.remove(lt())}),[G]);if(o.useEffect((function(){return function(){dt()}}),[dt]),o.useEffect((function(){Z?ut():at&&S||dt()}),[Z,dt,at,S,ut]),!U&&!Z&&(!at||tt))return null;var pt=function(t){return{root:{position:"fixed",zIndex:t.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:p.a}),gt={};return void 0===y.props.tabIndex&&(gt.tabIndex=y.props.tabIndex||"-1"),at&&(gt.onEnter=Object(h.a)((function(){et(!1)}),y.props.onEnter),gt.onExited=Object(h.a)((function(){et(!0),S&&dt()}),y.props.onExited)),o.createElement(u.a,{ref:ft,container:_,disablePortal:N},o.createElement("div",Object(i.a)({ref:ot,onKeyDown:function(t){"Escape"===t.key&&ht()&&($&&$(t),R||(t.stopPropagation(),q&&q(t,"escapeKeyDown")))},role:"presentation"},Q,{style:Object(i.a)({},pt.root,!Z&&tt?pt.hidden:{},Q.style)}),V?null:o.createElement(v,Object(i.a)({open:Z,onClick:function(t){t.target===t.currentTarget&&(X&&X(t),!A&&q&&q(t,"backdropClick"))}},b)),o.createElement(k,{disableEnforceFocus:I,disableAutoFocus:M,disableRestoreFocus:F,getDoc:st,isEnabled:ht,open:Z},o.cloneElement(y,gt))))}));e.a=A},,,,,,,,,,,,,,,,,function(t,e,n){var r=n(210).default,i=n(603);t.exports=function(t){var e=i(t,"string");return"symbol"==r(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";e.a={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},function(t,e,n){"use strict";e.a={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){var r=n(177),i=n(145);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(62))},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e,n){var r=n(643),i=n(646),o=n(647);t.exports=function(t,e,n,a,s,l){var c=1&n,u=t.length,h=e.length;if(u!=h&&!(c&&h>u))return!1;var f=l.get(t),d=l.get(e);if(f&&d)return f==e&&d==t;var p=-1,g=!0,m=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++p=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(o)})),t.exports=s}).call(this,n(94))},function(t,e,n){"use strict";var r=n(100),i=n(675),o=n(677),a=n(412),s=n(678),l=n(681),c=n(682),u=n(416);t.exports=function(t){return new Promise((function(e,n){var h=t.data,f=t.headers;r.isFormData(h)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(p+":"+g)}var m=s(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),a(m,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?l(d.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};i(e,n,o),d=null}},d.onabort=function(){d&&(n(u("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(u("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var v=(t.withCredentials||c(m))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;v&&(f[t.xsrfHeaderName]=v)}if("setRequestHeader"in d&&r.forEach(f,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),t.responseType)try{d.responseType=t.responseType}catch(b){if("json"!==t.responseType)throw b}"function"===typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),n(t),d=null)})),h||(h=null),d.send(h)}))}},function(t,e,n){"use strict";var r=n(676);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},function(t,e,n){"use strict";var r=n(100);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=l(void 0,t[i])):n[i]=l(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=l(void 0,e[t]))})),r.forEach(o,c),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=l(void 0,t[i])):n[i]=l(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=l(t[r],e[r]):r in t&&(n[r]=l(void 0,t[r]))}));var u=i.concat(o).concat(a).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(h,c),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";var r=n(46).Buffer,i=n(420).Transform;function o(t){i.call(this),this._block=r.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(41)(o,i),o.prototype._transform=function(t,e,n){var r=null;try{this.update(t,e)}catch(i){r=i}n(r)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!r.isBuffer(t)&&"string"!==typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(t)||(t=r.from(t,e));for(var n=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},function(t,e,n){(e=t.exports=n(421)).Stream=e,e.Readable=e,e.Writable=n(425),e.Duplex=n(181),e.Transform=n(427),e.PassThrough=n(700),e.finished=n(322),e.pipeline=n(701)},function(t,e,n){"use strict";(function(e,r){var i;t.exports=M,M.ReadableState=O;n(214).EventEmitter;var o=function(t,e){return t.listeners(e).length},a=n(422),s=n(86).Buffer,l=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};var c,u=n(694);c=u&&u.debuglog?u.debuglog("stream"):function(){};var h,f,d,p=n(695),g=n(423),m=n(424).getHighWaterMark,v=n(180).codes,b=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(41)(M,a);var S=g.errorOrDestroy,_=["error","close","destroy","pause","resume"];function O(t,e,r){i=i||n(181),t=t||{},"boolean"!==typeof r&&(r=e instanceof i),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=n(215).StringDecoder),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function M(t){if(i=i||n(181),!(this instanceof M))return new M(t);var e=this instanceof i;this._readableState=new O(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function k(t,e,n,r,i){c("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(c("onEofChunk"),e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?A(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,P(t)))}(t,a);else if(i||(o=function(t,e){var n;r=e,s.isBuffer(r)||r instanceof l||"string"===typeof e||void 0===e||t.objectMode||(n=new b("chunk",["string","Buffer","Uint8Array"],e));var r;return n}(a,e)),o)S(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),r)a.endEmitted?S(t,new x):E(t,a,e,!0);else if(a.ended)S(t,new y);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?E(t,a,e,!1):I(t,a)):E(t,a,e,!1)}else r||(a.reading=!1,I(t,a));return!a.ended&&(a.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=C?t=C:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function A(t){var e=t._readableState;c("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(c("emitReadable",e.flowing),e.emittedReadable=!0,r.nextTick(P,t))}function P(t){var e=t._readableState;c("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,L(t)}function I(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(j,t,e))}function j(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function D(t){c("readable nexttick read 0"),t.read(0)}function N(t,e){c("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),L(t),e.flowing&&!e.reading&&t.read(0)}function L(t){var e=t._readableState;for(c("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;c("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,r.nextTick(H,e,t))}function H(t,e){if(c("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function z(t,e){for(var n=0,r=t.length;n=e.highWaterMark:e.length>0)||e.ended))return c("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):A(this),null;if(0===(t=T(t,e))&&e.ended)return 0===e.length&&B(this),null;var r,i=e.needReadable;return c("need readable",i),(0===e.length||e.length-t0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==r&&this.emit("data",r),r},M.prototype._read=function(t){S(this,new w("_read()"))},M.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,c("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?l:m;function s(e,r){c("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,c("cleanup"),t.removeListener("close",p),t.removeListener("finish",g),t.removeListener("drain",u),t.removeListener("error",d),t.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",m),n.removeListener("data",f),h=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||u())}function l(){c("onend"),t.end()}i.endEmitted?r.nextTick(a):n.once("end",a),t.on("unpipe",s);var u=function(t){return function(){var e=t._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,L(t))}}(n);t.on("drain",u);var h=!1;function f(e){c("ondata");var r=t.write(e);c("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==z(i.pipes,t))&&!h&&(c("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function d(e){c("onerror",e),m(),t.removeListener("error",d),0===o(t,"error")&&S(t,e)}function p(){t.removeListener("finish",g),m()}function g(){c("onfinish"),t.removeListener("close",p),m()}function m(){c("unpipe"),n.unpipe(t)}return n.on("data",f),function(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",d),t.once("close",p),t.once("finish",g),t.emit("pipe",n),i.flowing||(c("pipe resume"),n.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,c("on readable",i.length,i.reading),i.length?A(this):i.reading||r.nextTick(D,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&r.nextTick(R,this),n},M.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||r.nextTick(R,this),e},M.prototype.resume=function(){var t=this._readableState;return t.flowing||(c("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(N,t,e))}(this,t)),t.paused=!1,this},M.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},M.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",(function(){if(c("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(c("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!n.objectMode||null!==i&&void 0!==i)&&((n.objectMode||i&&i.length)&&(e.push(i)||(r=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<_.length;o++)t.on(_[o],this.emit.bind(this,_[o]));return this._read=function(e){c("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"===typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=n(698)),f(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=F,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(M.from=function(t,e){return void 0===d&&(d=n(699)),d(M,t,e)})}).call(this,n(62),n(94))},function(t,e,n){t.exports=n(214).EventEmitter},function(t,e,n){"use strict";(function(e){function n(t,e){i(t,e),r(t)}function r(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(r,a):(a._writableState.errorEmitted=!0,e.nextTick(n,a,t)):e.nextTick(n,a,t):o?(e.nextTick(r,a),o(t)):e.nextTick(r,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,n(94))},function(t,e,n){"use strict";var r=n(180).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},function(t,e,n){"use strict";(function(e,r){function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var o;t.exports=M,M.WritableState=O;var a={deprecate:n(426)},s=n(422),l=n(86).Buffer,c=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};var u,h=n(423),f=n(424).getHighWaterMark,d=n(180).codes,p=d.ERR_INVALID_ARG_TYPE,g=d.ERR_METHOD_NOT_IMPLEMENTED,m=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,b=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,S=h.errorOrDestroy;function _(){}function O(t,e,a){o=o||n(181),t=t||{},"boolean"!==typeof a&&(a=e instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,i=n.sync,o=n.writecb;if("function"!==typeof o)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,i,o){--e.pendingcb,n?(r.nextTick(o,i),r.nextTick(P,t,e),t._writableState.errorEmitted=!0,S(t,i)):(o(i),t._writableState.errorEmitted=!0,S(t,i),P(t,e))}(t,n,i,e,o);else{var a=T(n)||t.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||C(t,n),i?r.nextTick(E,t,n,a,o):E(t,n,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function M(t){var e=this instanceof(o=o||n(181));if(!e&&!u.call(M,this))return new M(t);this._writableState=new O(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),s.call(this)}function k(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new b("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function E(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),P(t,e)}function C(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,o=new Array(r),a=e.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,k(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,h=n.callback;if(k(t,e,!1,e.objectMode?1:c.length,c,u,h),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function T(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(n){e.pendingcb--,n&&S(t,n),e.prefinished=!0,t.emit("prefinish"),P(t,e)}))}function P(t,e){var n=T(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,r.nextTick(A,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return n}n(41)(M,s),O.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(O.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!u.call(this,t)||this===M&&(t&&t._writableState instanceof O)}})):u=function(t){return t instanceof this},M.prototype.pipe=function(){S(this,new v)},M.prototype.write=function(t,e,n){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,l.isBuffer(i)||i instanceof c);return s&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"===typeof e&&(n=e,e=null),s?e="buffer":e||(e=o.defaultEncoding),"function"!==typeof n&&(n=_),o.ending?function(t,e){var n=new w;S(t,n),r.nextTick(e,n)}(this,n):(s||function(t,e,n,i){var o;return null===n?o=new y:"string"===typeof n||e.objectMode||(o=new p("chunk",["string","Buffer"],n)),!o||(S(t,o),r.nextTick(i,o),!1)}(this,o,t,n))&&(o.pendingcb++,a=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=l.from(e,n));return e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new g("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var i=this._writableState;return"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,n){e.ending=!0,P(t,e),n&&(e.finished?r.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=h.destroy,M.prototype._undestroy=h.undestroy,M.prototype._destroy=function(t,e){e(t)}}).call(this,n(62),n(94))},function(t,e,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(r){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}}}).call(this,n(62))},function(t,e,n){"use strict";t.exports=u;var r=n(180).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(181);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function f(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}r(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,p=0|this._f,g=0|this._g,m=0|this._h,v=0;v<16;++v)n[v]=t.readInt32BE(4*v);for(;v<64;++v)n[v]=0|(((e=n[v-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[v-7]+d(n[v-15])+n[v-16];for(var b=0;b<64;++b){var y=m+f(l)+c(l,p,g)+a[b]+n[b]|0,w=h(r)+u(r,i,o)|0;m=g,g=p,p=l,l=s+y|0,s=o,o=i,i=r,r=y+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0,this._f=p+this._f|0,this._g=g+this._g|0,this._h=m+this._h|0},l.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=l},function(t,e,n){var r=n(41),i=n(182),o=n(46).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}function c(t,e,n){return n^t&(e^n)}function u(t,e,n){return t&e|n&(t|e)}function h(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function f(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function v(t,e){return t>>>0>>0?1:0}r(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,l=0|this._fh,b=0|this._gh,y=0|this._hh,w=0|this._al,x=0|this._bl,S=0|this._cl,_=0|this._dl,O=0|this._el,M=0|this._fl,k=0|this._gl,E=0|this._hl,C=0;C<32;C+=2)e[C]=t.readInt32BE(4*C),e[C+1]=t.readInt32BE(4*C+4);for(;C<160;C+=2){var T=e[C-30],A=e[C-30+1],P=d(T,A),I=p(A,T),j=g(T=e[C-4],A=e[C-4+1]),R=m(A,T),D=e[C-14],N=e[C-14+1],L=e[C-32],F=e[C-32+1],B=I+N|0,H=P+D+v(B,I)|0;H=(H=H+j+v(B=B+R|0,R)|0)+L+v(B=B+F|0,F)|0,e[C]=H,e[C+1]=B}for(var z=0;z<160;z+=2){H=e[z],B=e[z+1];var V=u(n,r,i),W=u(w,x,S),U=h(n,w),Y=h(w,n),G=f(s,O),X=f(O,s),q=a[z],$=a[z+1],K=c(s,l,b),Z=c(O,M,k),Q=E+X|0,J=y+G+v(Q,E)|0;J=(J=(J=J+K+v(Q=Q+Z|0,Z)|0)+q+v(Q=Q+$|0,$)|0)+H+v(Q=Q+B|0,B)|0;var tt=Y+W|0,et=U+V+v(tt,Y)|0;y=b,E=k,b=l,k=M,l=s,M=O,s=o+J+v(O=_+Q|0,_)|0,o=i,_=S,i=r,S=x,r=n,x=w,n=J+et+v(w=Q+tt|0,Q)|0}this._al=this._al+w|0,this._bl=this._bl+x|0,this._cl=this._cl+S|0,this._dl=this._dl+_|0,this._el=this._el+O|0,this._fl=this._fl+M|0,this._gl=this._gl+k|0,this._hl=this._hl+E|0,this._ah=this._ah+n+v(this._al,w)|0,this._bh=this._bh+r+v(this._bl,x)|0,this._ch=this._ch+i+v(this._cl,S)|0,this._dh=this._dh+o+v(this._dl,_)|0,this._eh=this._eh+s+v(this._el,O)|0,this._fh=this._fh+l+v(this._fl,M)|0,this._gh=this._gh+b+v(this._gl,k)|0,this._hh=this._hh+y+v(this._hl,E)|0},l.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=l},function(t,e,n){"use strict";(function(e,r){var i=n(253);t.exports=y;var o,a=n(707);y.ReadableState=b;n(214).EventEmitter;var s=function(t,e){return t.listeners(e).length},l=n(431),c=n(326).Buffer,u=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};var h=Object.create(n(216));h.inherits=n(41);var f=n(708),d=void 0;d=f&&f.debuglog?f.debuglog("stream"):function(){};var p,g=n(709),m=n(432);h.inherits(y,l);var v=["error","close","destroy","pause","resume"];function b(t,e){t=t||{};var r=e instanceof(o=o||n(163));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=n(215).StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function y(t){if(o=o||n(163),!(this instanceof y))return new y(t);this._readableState=new b(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),l.call(this)}function w(t,e,n,r,i){var o,a=t._readableState;null===e?(a.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,O(t)}(t,a)):(i||(o=function(t,e){var n;r=e,c.isBuffer(r)||r instanceof u||"string"===typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),r?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):x(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?x(t,a,e,!1):k(t,a)):x(t,a,e,!1))):r||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function O(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(M,t):M(t))}function M(t){d("emit readable"),t.emit("readable"),A(t)}function k(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(E,t,e))}function E(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++r}return e.length-=r,i}(t,e):function(t,e){var n=c.allocUnsafe(t),r=e.head,i=1;r.data.copy(n),t-=r.data.length;for(;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,a),0===(t-=a)){a===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++i}return e.length-=i,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function I(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(j,e,t))}function j(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function R(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?I(this):O(this),null;if(0===(t=_(t,e))&&e.ended)return 0===e.length&&I(this),null;var r,i=e.needReadable;return d("need readable",i),(0===e.length||e.length-t0?P(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&I(this)),null!==r&&this.emit("data",r),r},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,e){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,e);var l=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?u:y;function c(e,r){d("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,d("cleanup"),t.removeListener("close",v),t.removeListener("finish",b),t.removeListener("drain",h),t.removeListener("error",m),t.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",y),n.removeListener("data",g),f=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||h())}function u(){d("onend"),t.end()}o.endEmitted?i.nextTick(l):n.once("end",l),t.on("unpipe",c);var h=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,A(t))}}(n);t.on("drain",h);var f=!1;var p=!1;function g(e){d("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==R(o.pipes,t))&&!f&&(d("false write response, pause",o.awaitDrain),o.awaitDrain++,p=!0),n.pause())}function m(e){d("onerror",e),y(),t.removeListener("error",m),0===s(t,"error")&&t.emit("error",e)}function v(){t.removeListener("finish",b),y()}function b(){d("onfinish"),t.removeListener("close",v),y()}function y(){d("unpipe"),n.unpipe(t)}return n.on("data",g),function(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",m),t.once("close",v),t.once("finish",b),t.emit("pipe",n),o.flowing||(d("pipe resume"),n.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;on)?e=("rmd160"===t?new l:c(t)).update(e).digest():e.lengthn||e!==e)throw new TypeError("Bad key length")}},function(t,e,n){(function(e,n){var r;if(e.process&&e.process.browser)r="utf-8";else if(e.process&&e.process.version){r=parseInt(n.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";t.exports=r}).call(this,n(62),n(94))},function(t,e,n){var r=n(435),i=n(323),o=n(324),a=n(46).Buffer,s=n(438),l=n(439),c=n(441),u=a.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(t,e,n){var s=function(t){function e(e){return o(t).update(e).digest()}function n(t){return(new i).update(t).digest()}return"rmd160"===t||"ripemd160"===t?n:"md5"===t?r:e}(t),l="sha512"===t||"sha384"===t?128:64;e.length>l?e=s(e):e.length>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},e.rip=function(t,e,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.pc1=function(t,e,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.r28shl=function(t,e){return t<>>28-e};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,n,i){for(var o=0,a=0,s=r.length>>>1,l=0;l>>r[l]&1;for(l=s;l>>r[l]&1;n[i+0]=o>>>0,n[i+1]=a>>>0},e.expand=function(t,e,n){var r=0,i=0;r=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[n+0]=r>>>0,e[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(t>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(e>>>18-6*r&63)]}return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n>>o[n]&1;return e>>>0},e.padSplit=function(t,e,n){for(var r=t.toString(2);r.length>>1];n=o.r28shl(n,s),i=o.r28shl(i,s),o.pc2(n,i,t.keys,a)}},l.prototype._update=function(t,e,n,r){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,s,r+4)},l.prototype._pad=function(t,e){if(!1===this.padding)return!1;for(var n=t.length-e,r=e;r>>0,a=f}o.rip(s,a,r,i)},l.prototype._decrypt=function(t,e,n,r,i){for(var a=n,s=e,l=t.keys.length-2;l>=0;l-=2){var c=t.keys[l],u=t.keys[l+1];o.expand(a,t.tmp,0),c^=t.tmp[0],u^=t.tmp[1];var h=o.substitute(c,u),f=a;a=(s^o.permute(h))>>>0,s=f}o.rip(a,s,r,i)}},function(t,e,n){var r=n(217),i=n(46).Buffer,o=n(445);function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var n=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*n)]);for(var s=0;st;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(l),e.cmp(l)){if(!e.cmp(c))for(;n.mod(u).cmp(h);)n.iadd(d)}else for(;n.mod(o).cmp(f);)n.iadd(d);if(m(p=n.shrn(1))&&m(n)&&v(p)&&v(n)&&a.test(p)&&a.test(n))return n}}},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(737).Buffer}catch(M){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"===typeof t)return this._initNumber(t,e,n);if("object"===typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=l(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2===0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?g+n:u[c-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0===(8191&e)&&(n+=13,e>>>=13),0===(127&e)&&(n+=7,e>>>=7),0===(15&e)&&(n+=4,e>>>=4),0===(3&e)&&(n+=2,e>>>=2),0===(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,d=0|a[1],p=8191&d,g=d>>>13,m=0|a[2],v=8191&m,b=m>>>13,y=0|a[3],w=8191&y,x=y>>>13,S=0|a[4],_=8191&S,O=S>>>13,M=0|a[5],k=8191&M,E=M>>>13,C=0|a[6],T=8191&C,A=C>>>13,P=0|a[7],I=8191&P,j=P>>>13,R=0|a[8],D=8191&R,N=R>>>13,L=0|a[9],F=8191&L,B=L>>>13,H=0|s[0],z=8191&H,V=H>>>13,W=0|s[1],U=8191&W,Y=W>>>13,G=0|s[2],X=8191&G,q=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,gt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(h,z))|0)+((8191&(i=(i=Math.imul(h,V))+Math.imul(f,z)|0))<<13)|0;c=((o=Math.imul(f,V))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,V))+Math.imul(g,z)|0,o=Math.imul(g,V);var vt=(c+(r=r+Math.imul(h,U)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(f,U)|0))<<13)|0;c=((o=o+Math.imul(f,Y)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(v,z),i=(i=Math.imul(v,V))+Math.imul(b,z)|0,o=Math.imul(b,V),r=r+Math.imul(p,U)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(g,U)|0,o=o+Math.imul(g,Y)|0;var bt=(c+(r=r+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,q)|0)+Math.imul(f,X)|0))<<13)|0;c=((o=o+Math.imul(f,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,V))+Math.imul(x,z)|0,o=Math.imul(x,V),r=r+Math.imul(v,U)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(b,U)|0,o=o+Math.imul(b,Y)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,q)|0;var yt=(c+(r=r+Math.imul(h,K)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(f,K)|0))<<13)|0;c=((o=o+Math.imul(f,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(_,z),i=(i=Math.imul(_,V))+Math.imul(O,z)|0,o=Math.imul(O,V),r=r+Math.imul(w,U)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,U)|0,o=o+Math.imul(x,Y)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,q)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0;var wt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,V))+Math.imul(E,z)|0,o=Math.imul(E,V),r=r+Math.imul(_,U)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,U)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,q)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(b,K)|0,o=o+Math.imul(b,Z)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var xt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(T,z),i=(i=Math.imul(T,V))+Math.imul(A,z)|0,o=Math.imul(A,V),r=r+Math.imul(k,U)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(E,U)|0,o=o+Math.imul(E,Y)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,q)|0,r=r+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(b,J)|0,o=o+Math.imul(b,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,z),i=(i=Math.imul(I,V))+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(T,U)|0,i=(i=i+Math.imul(T,Y)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,Y)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,q)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,Z)|0,r=r+Math.imul(w,J)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(b,nt)|0,o=o+Math.imul(b,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var _t=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(D,z),i=(i=Math.imul(D,V))+Math.imul(N,z)|0,o=Math.imul(N,V),r=r+Math.imul(I,U)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(j,U)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(T,X)|0,i=(i=i+Math.imul(T,q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,q)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(O,J)|0,o=o+Math.imul(O,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,ct)|0;var Ot=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(F,z),i=(i=Math.imul(F,V))+Math.imul(B,z)|0,o=Math.imul(B,V),r=r+Math.imul(D,U)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(N,U)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,r=r+Math.imul(k,J)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(O,nt)|0,o=o+Math.imul(O,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(b,lt)|0,o=o+Math.imul(b,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(g,ht)|0,o=o+Math.imul(g,ft)|0;var Mt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,gt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(F,U),i=(i=Math.imul(F,Y))+Math.imul(B,U)|0,o=Math.imul(B,Y),r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,q)|0,r=r+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(j,K)|0,o=o+Math.imul(j,Z)|0,r=r+Math.imul(T,J)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(A,J)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(k,nt)|0,i=(i=i+Math.imul(k,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(O,ot)|0,o=o+Math.imul(O,at)|0,r=r+Math.imul(w,lt)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(b,ht)|0,o=o+Math.imul(b,ft)|0;var kt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(F,X),i=(i=Math.imul(F,q))+Math.imul(B,X)|0,o=Math.imul(B,q),r=r+Math.imul(D,K)|0,i=(i=i+Math.imul(D,Z)|0)+Math.imul(N,K)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(T,nt)|0,i=(i=i+Math.imul(T,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(O,lt)|0,o=o+Math.imul(O,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,ft)|0)+Math.imul(x,ht)|0,o=o+Math.imul(x,ft)|0;var Et=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,gt)|0)+Math.imul(b,pt)|0))<<13)|0;c=((o=o+Math.imul(b,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),r=r+Math.imul(D,J)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(k,lt)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,ft)|0)+Math.imul(O,ht)|0,o=o+Math.imul(O,ft)|0;var Ct=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(F,J),i=(i=Math.imul(F,tt))+Math.imul(B,J)|0,o=Math.imul(B,tt),r=r+Math.imul(D,nt)|0,i=(i=i+Math.imul(D,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(T,lt)|0,i=(i=i+Math.imul(T,ct)|0)+Math.imul(A,lt)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var Tt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(O,pt)|0))<<13)|0;c=((o=o+Math.imul(O,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(F,nt),i=(i=Math.imul(F,rt))+Math.imul(B,nt)|0,o=Math.imul(B,rt),r=r+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(T,ht)|0,i=(i=i+Math.imul(T,ft)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,ft)|0;var At=(c+(r=r+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,gt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),r=r+Math.imul(D,lt)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,ft)|0)+Math.imul(j,ht)|0,o=o+Math.imul(j,ft)|0;var Pt=(c+(r=r+Math.imul(T,pt)|0)|0)+((8191&(i=(i=i+Math.imul(T,gt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(F,lt),i=(i=Math.imul(F,ct))+Math.imul(B,lt)|0,o=Math.imul(B,ct),r=r+Math.imul(D,ht)|0,i=(i=i+Math.imul(D,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(F,ht),i=(i=Math.imul(F,ft))+Math.imul(B,ht)|0,o=Math.imul(B,ft);var jt=(c+(r=r+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,gt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,gt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863;var Rt=(c+(r=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,gt))+Math.imul(B,pt)|0))<<13)|0;return c=((o=Math.imul(B,gt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,l[0]=mt,l[1]=vt,l[2]=bt,l[3]=yt,l[4]=wt,l[5]=xt,l[6]=St,l[7]=_t,l[8]=Ot,l[9]=Mt,l[10]=kt,l[11]=Et,l[12]=Ct,l[13]=Tt,l[14]=At,l[15]=Pt,l[16]=It,l[17]=jt,l[18]=Rt,0!==c&&(l[19]=c,n.length++),n};function g(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):g(this,t,e),n},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},m.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"===typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0===(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0===(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},i(y,b),y.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return v[t]=e,e},_.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){r(0===(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},_.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2===1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var g=d,m=0;0!==g.cmp(s);m++)g=g.redSqr();r(m=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new O(t)},i(O,_),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(107)(t))},function(t,e,n){var r=n(738),i=n(331);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),n=Math.ceil(e/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},o.prototype.test=function(t,e,n){var i=t.bitLength(),o=r.mont(t),a=new r(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),l=0;!s.testn(l);l++);for(var c=t.shrn(l),u=s.toRed(o);e>0;e--){var h=this._randrange(new r(2),s);n&&n(h);var f=h.toRed(o).redPow(c);if(0!==f.cmp(a)&&0!==f.cmp(u)){for(var d=1;d0;e--){var u=this._randrange(new r(2),a),h=t.gcd(u);if(0!==h.cmpn(1))return h;var f=u.toRed(i).redPow(l);if(0!==f.cmp(o)&&0!==f.cmp(c)){for(var d=1;d>8,a=255&i;o?n.push(o,a):n.push(a)}return n},r.zero2=i,r.toHex=o,r.encode=function(t,e){return"hex"===e?o(t):t}},function(t,e,n){"use strict";var r=e;r.base=n(256),r.short=n(748),r.mont=n(749),r.edwards=n(750)},function(t,e,n){"use strict";var r=n(123).rotr32;function i(t,e,n){return t&e^~t&n}function o(t,e,n){return t&e^t&n^e&n}function a(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?i(e,n,r):1===t||3===t?a(e,n,r):2===t?o(e,n,r):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},function(t,e,n){"use strict";var r=n(123),i=n(218),o=n(454),a=n(109),s=r.sum32,l=r.sum32_4,c=r.sum32_5,u=o.ch32,h=o.maj32,f=o.s0_256,d=o.s1_256,p=o.g0_256,g=o.g1_256,m=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(b,m),t.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"===typeof t)return this._initNumber(t,e,n);if("object"===typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=l(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2===0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?g+n:u[c-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0===(8191&e)&&(n+=13,e>>>=13),0===(127&e)&&(n+=7,e>>>=7),0===(15&e)&&(n+=4,e>>>=4),0===(3&e)&&(n+=2,e>>>=2),0===(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,d=0|a[1],p=8191&d,g=d>>>13,m=0|a[2],v=8191&m,b=m>>>13,y=0|a[3],w=8191&y,x=y>>>13,S=0|a[4],_=8191&S,O=S>>>13,M=0|a[5],k=8191&M,E=M>>>13,C=0|a[6],T=8191&C,A=C>>>13,P=0|a[7],I=8191&P,j=P>>>13,R=0|a[8],D=8191&R,N=R>>>13,L=0|a[9],F=8191&L,B=L>>>13,H=0|s[0],z=8191&H,V=H>>>13,W=0|s[1],U=8191&W,Y=W>>>13,G=0|s[2],X=8191&G,q=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,gt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(h,z))|0)+((8191&(i=(i=Math.imul(h,V))+Math.imul(f,z)|0))<<13)|0;c=((o=Math.imul(f,V))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,V))+Math.imul(g,z)|0,o=Math.imul(g,V);var vt=(c+(r=r+Math.imul(h,U)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(f,U)|0))<<13)|0;c=((o=o+Math.imul(f,Y)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(v,z),i=(i=Math.imul(v,V))+Math.imul(b,z)|0,o=Math.imul(b,V),r=r+Math.imul(p,U)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(g,U)|0,o=o+Math.imul(g,Y)|0;var bt=(c+(r=r+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,q)|0)+Math.imul(f,X)|0))<<13)|0;c=((o=o+Math.imul(f,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,V))+Math.imul(x,z)|0,o=Math.imul(x,V),r=r+Math.imul(v,U)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(b,U)|0,o=o+Math.imul(b,Y)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,q)|0;var yt=(c+(r=r+Math.imul(h,K)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(f,K)|0))<<13)|0;c=((o=o+Math.imul(f,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(_,z),i=(i=Math.imul(_,V))+Math.imul(O,z)|0,o=Math.imul(O,V),r=r+Math.imul(w,U)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,U)|0,o=o+Math.imul(x,Y)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,q)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0;var wt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,V))+Math.imul(E,z)|0,o=Math.imul(E,V),r=r+Math.imul(_,U)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,U)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,q)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(b,K)|0,o=o+Math.imul(b,Z)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var xt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(T,z),i=(i=Math.imul(T,V))+Math.imul(A,z)|0,o=Math.imul(A,V),r=r+Math.imul(k,U)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(E,U)|0,o=o+Math.imul(E,Y)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,q)|0,r=r+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(b,J)|0,o=o+Math.imul(b,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,z),i=(i=Math.imul(I,V))+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(T,U)|0,i=(i=i+Math.imul(T,Y)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,Y)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,q)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,Z)|0,r=r+Math.imul(w,J)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(b,nt)|0,o=o+Math.imul(b,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var _t=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(D,z),i=(i=Math.imul(D,V))+Math.imul(N,z)|0,o=Math.imul(N,V),r=r+Math.imul(I,U)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(j,U)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(T,X)|0,i=(i=i+Math.imul(T,q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,q)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(O,J)|0,o=o+Math.imul(O,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,ct)|0;var Ot=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(F,z),i=(i=Math.imul(F,V))+Math.imul(B,z)|0,o=Math.imul(B,V),r=r+Math.imul(D,U)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(N,U)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,r=r+Math.imul(k,J)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(O,nt)|0,o=o+Math.imul(O,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(b,lt)|0,o=o+Math.imul(b,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(g,ht)|0,o=o+Math.imul(g,ft)|0;var Mt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,gt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(F,U),i=(i=Math.imul(F,Y))+Math.imul(B,U)|0,o=Math.imul(B,Y),r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,q)|0,r=r+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(j,K)|0,o=o+Math.imul(j,Z)|0,r=r+Math.imul(T,J)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(A,J)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(k,nt)|0,i=(i=i+Math.imul(k,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(O,ot)|0,o=o+Math.imul(O,at)|0,r=r+Math.imul(w,lt)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(b,ht)|0,o=o+Math.imul(b,ft)|0;var kt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(F,X),i=(i=Math.imul(F,q))+Math.imul(B,X)|0,o=Math.imul(B,q),r=r+Math.imul(D,K)|0,i=(i=i+Math.imul(D,Z)|0)+Math.imul(N,K)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(T,nt)|0,i=(i=i+Math.imul(T,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(O,lt)|0,o=o+Math.imul(O,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,ft)|0)+Math.imul(x,ht)|0,o=o+Math.imul(x,ft)|0;var Et=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,gt)|0)+Math.imul(b,pt)|0))<<13)|0;c=((o=o+Math.imul(b,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),r=r+Math.imul(D,J)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(k,lt)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,ft)|0)+Math.imul(O,ht)|0,o=o+Math.imul(O,ft)|0;var Ct=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(F,J),i=(i=Math.imul(F,tt))+Math.imul(B,J)|0,o=Math.imul(B,tt),r=r+Math.imul(D,nt)|0,i=(i=i+Math.imul(D,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(T,lt)|0,i=(i=i+Math.imul(T,ct)|0)+Math.imul(A,lt)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var Tt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(O,pt)|0))<<13)|0;c=((o=o+Math.imul(O,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(F,nt),i=(i=Math.imul(F,rt))+Math.imul(B,nt)|0,o=Math.imul(B,rt),r=r+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(T,ht)|0,i=(i=i+Math.imul(T,ft)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,ft)|0;var At=(c+(r=r+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,gt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),r=r+Math.imul(D,lt)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,ft)|0)+Math.imul(j,ht)|0,o=o+Math.imul(j,ft)|0;var Pt=(c+(r=r+Math.imul(T,pt)|0)|0)+((8191&(i=(i=i+Math.imul(T,gt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(F,lt),i=(i=Math.imul(F,ct))+Math.imul(B,lt)|0,o=Math.imul(B,ct),r=r+Math.imul(D,ht)|0,i=(i=i+Math.imul(D,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(F,ht),i=(i=Math.imul(F,ft))+Math.imul(B,ht)|0,o=Math.imul(B,ft);var jt=(c+(r=r+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,gt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,gt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863;var Rt=(c+(r=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,gt))+Math.imul(B,pt)|0))<<13)|0;return c=((o=Math.imul(B,gt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,l[0]=mt,l[1]=vt,l[2]=bt,l[3]=yt,l[4]=wt,l[5]=xt,l[6]=St,l[7]=_t,l[8]=Ot,l[9]=Mt,l[10]=kt,l[11]=Et,l[12]=Ct,l[13]=Tt,l[14]=At,l[15]=Pt,l[16]=It,l[17]=jt,l[18]=Rt,0!==c&&(l[19]=c,n.length++),n};function g(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):g(this,t,e),n},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},m.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"===typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0===(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0===(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},i(y,b),y.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return v[t]=e,e},_.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){r(0===(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},_.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2===1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var g=d,m=0;0!==g.cmp(s);m++)g=g.redSqr();r(m=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new O(t)},i(O,_),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(107)(t))},function(t,e,n){"use strict";const r=e;r.der=n(460),r.pem=n(768)},function(t,e,n){"use strict";const r=n(41),i=n(337).Buffer,o=n(338),a=n(340);function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new l,this.tree._init(t.body)}function l(t){o.call(this,"der",t)}function c(t){return t<10?"0"+t:t}t.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},r(l,o),l.prototype._encodeComposite=function(t,e,n,r){const o=function(t,e,n,r){let i;"seqof"===t?t="seq":"setof"===t&&(t="set");if(a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!==typeof t||(0|t)!==t)return r.error("Unknown tag: "+t);i=t}if(i>=31)return r.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6,i}(t,e,n,this.reporter);if(r.length<128){const t=i.alloc(2);return t[0]=o,t[1]=r.length,this._createEncoderBuffer([t,r])}let s=1;for(let i=r.length;i>=256;i>>=8)s++;const l=i.alloc(2+s);l[0]=o,l[1]=128|s;for(let i=1+s,a=r.length;a>0;i--,a>>=8)l[i]=255&a;return this._createEncoderBuffer([l,r])},l.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){const e=i.alloc(2*t.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}let r=0;for(let i=0;i=128;e>>=7)r++}const o=i.alloc(r);let a=o.length-1;for(let i=t.length-1;i>=0;i--){let e=t[i];for(o[a--]=127&e;(e>>=7)>0;)o[a--]=128|127&e}return this._createEncoderBuffer(o)},l.prototype._encodeTime=function(t,e){let n;const r=new Date(t);return"gentime"===e?n=[c(r.getUTCFullYear()),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[c(r.getUTCFullYear()%100),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(t,e){if("string"===typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!==typeof t&&!i.isBuffer(t)){const e=t.toArray();!t.sign&&128&e[0]&&e.unshift(0),t=i.from(e)}if(i.isBuffer(t)){let e=t.length;0===t.length&&e++;const n=i.alloc(e);return t.copy(n),0===t.length&&(n[0]=0),this._createEncoderBuffer(n)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);let n=1;for(let i=t;i>=256;i>>=8)n++;const r=new Array(n);for(let i=r.length-1;i>=0;i--)r[i]=255&t,t>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},l.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},l.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getEncoder("der").tree},l.prototype._skipDefault=function(t,e,n){const r=this._baseState;let i;if(null===r.default)return!1;const o=t.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,e,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i>6],i=0===(32&n);if(31===(31&n)){let r=n;for(n=0;128===(128&r);){if(r=t.readUInt8(e),t.isError(r))return r;n<<=7,n|=127&r}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:s.tag[n]}}function h(t,e,n){let r=t.readUInt8(n);if(t.isError(r))return r;if(!e&&128===r)return null;if(0===(128&r))return r;const i=127&r;if(i>4)return t.error("length octect is too long");r=0;for(let o=0;ot.length)&&(e=t.length);for(var n=0,r=Array(e);n=0&&"[object Function]"===r.call(t.callee)),n}},function(t,e,n){"use strict";t.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"===typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(t,e,n){"use strict";var r=n(343),i=n(345),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"===typeof n&&o(t,".prototype.")>-1?i(n):n}},function(t,e,n){"use strict";var r=function(t){return t!==t};t.exports=function(t,e){return 0===t&&0===e?1/t===1/e:t===e||!(!r(t)||!r(e))}},function(t,e,n){"use strict";var r=n(473);t.exports=function(){return"function"===typeof Object.is?Object.is:r}},function(t,e,n){"use strict";var r=n(801).functionsHaveConfigurableNames(),i=Object,o=TypeError;t.exports=function(){if(null!=this&&this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},r&&Object.defineProperty&&Object.defineProperty(t.exports,"name",{value:"get flags"})},function(t,e,n){"use strict";var r=n(475),i=n(220).supportsDescriptors,o=Object.getOwnPropertyDescriptor;t.exports=function(){if(i&&"gim"===/a/gim.flags){var t=o(RegExp.prototype,"flags");if(t&&"function"===typeof t.get&&"boolean"===typeof RegExp.prototype.dotAll&&"boolean"===typeof RegExp.prototype.hasIndices){var e="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){e+="d"}}),Object.defineProperty(n,"sticky",{get:function(){e+="y"}}),"dy"===e)return t.get}}return r}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n1),e})),s(t,u(t),n),c&&(n=i(n,7,l));for(var h=e.length;h--;)o(n,e[h]);return n}));t.exports=h},function(t,e,n){var r=n(481),i=n(249),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(482);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(161),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},function(t,e,n){var r=n(311),i=n(348),o=n(312),a=n(405),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:a;t.exports=s},function(t,e,n){var r=n(404),i=n(483),o=n(259);t.exports=function(t){return r(t,o,i)}},function(t,e,n){var r=n(846),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),l=Array(s);++a=1?0:e.calls.length?(1-p)/e.calls.length:1;for(g=0;g1&&(o.each(e.reverse(),(function(t,n){var r=e[t+1];if(r){var a=n.o||n.options,s=r.o||r.options,l=a&&!1===a.sequenceQueue?"begin":"complete",c=s&&s[l],u={};u[l]=function(){var t=r.e||r.elements,e=t.nodeType?[t]:t;c&&c.call(e,e),i(n)},r.o?r.o=o.extend({},s,u):r.options=o.extend({},s,u)}})),e.reverse()),i(e[0])}}else e.console&&console.log("Velocity UI Pack: Velocity must be loaded first. Aborting.");function l(t,e){var n=[];return!(!t||!e)&&(o.each([t,e],(function(t,e){var r=[];o.each(e,(function(t,e){for(;e.toString().length<5;)e="0"+e;r.push(e)})),n.push(r.join(""))})),parseFloat(n[0])>parseFloat(n[1]))}}(window.jQuery||window.Zepto||window,window,window&&window.document)}()}()},,function(t,e,n){var r=n(266);t.exports=function(t,e){if(null==t)return{};var n,i,o=r(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i=0||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e,n){"use strict";n.r(e);var r=n(497);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";e.a=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(e,Math.min(t,n))}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return O})),n.d(e,"internal_processStyles",(function(){return M})),n.d(e,"ThemeContext",(function(){return l.c})),n.d(e,"keyframes",(function(){return b.c})),n.d(e,"css",(function(){return b.b})),n.d(e,"StyledEngineProvider",(function(){return S})),n.d(e,"GlobalStyles",(function(){return _}));var r=n(4),i=n(1),o=n(224),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=Object(o.a)((function(t){return a.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),l=n(81),c=n(98),u=n(143),h=n(142),f=s,d=function(t){return"theme"!==t},p=function(t){return"string"===typeof t&&t.charCodeAt(0)>96?f:d},g=function(t,e,n){var r;if(e){var i=e.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!==typeof r&&n&&(r=t.__emotion_forwardProp),r},m=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return Object(c.c)(e,n,r),Object(h.a)((function(){return Object(c.b)(e,n,r)})),null},v=(n(116),function t(e,n){var o,a,s=e.__emotion_real===e,h=s&&e.__emotion_base||e;void 0!==n&&(o=n.label,a=n.target);var f=g(e,n,s),d=f||p(h),v=!d("as");return function(){var b=arguments,y=s&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==b[0]||void 0===b[0].raw)y.push.apply(y,b);else{0,y.push(b[0][0]);for(var w=b.length,x=1;x{return e(void 0===(r=t)||null===r||0===Object.keys(r).length?n:t);var r}:e;return Object(w.jsx)(b.a,{styles:r})}function O(t,e){return v(t,e)}"object"===typeof document&&(x=Object(y.a)({key:"css",prepend:!0}));const M=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}},function(t,e,n){"use strict";var r=n(4),i=n(29),o=n(187),a=n(270);var s={borderRadius:4},l=n(36);var c=n(184),u=n(152),h=n(271);const f=["breakpoints","palette","spacing","shape"];e.a=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:e={},palette:n={},spacing:d,shape:p={}}=t,g=Object(i.a)(t,f),m=Object(a.a)(e),v=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;const e=Object(l.a)({spacing:t}),n=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const n=e(t);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}(d);let b=Object(o.a)({breakpoints:m,direction:"ltr",components:{},palette:Object(r.a)({mode:"light"},n),spacing:v,shape:Object(r.a)({},s,p)},g);b.applyStyles=h.a;for(var y=arguments.length,w=new Array(y>1?y-1:0),x=1;xObject(o.a)(t,e)),b),b.unstable_sxConfig=Object(r.a)({},u.a,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(t){return Object(c.a)({sx:t,theme:this})},b}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return r.a})),n.d(e,"unstable_createStyleFunctionSx",(function(){return r.b})),n.d(e,"extendSxProp",(function(){return u})),n.d(e,"unstable_defaultSxConfig",(function(){return s.a}));var r=n(184),i=n(4),o=n(29),a=n(187),s=n(152);const l=["sx"],c=t=>{var e,n;const r={systemProps:{},otherProps:{}},i=null!=(e=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?e:s.a;return Object.keys(t).forEach((e=>{i[e]?r.systemProps[e]=t[e]:r.otherProps[e]=t[e]})),r};function u(t){const{sx:e}=t,n=Object(o.a)(t,l),{systemProps:r,otherProps:s}=c(n);let u;return u=Array.isArray(e)?[r,...e]:"function"===typeof e?function(){const t=e(...arguments);return Object(a.b)(t)?Object(i.a)({},r,t):r}:Object(i.a)({},r,e),Object(i.a)({},s,{sx:u})}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(394);function i(t,e){for(var n=0;n>>0;for(e=0;e0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function H(t,e,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),t&&(B[t]=i),e&&(B[e[0]]=function(){return D(i.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function z(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,r=t.match(N);for(e=0,n=r.length;e=0&&L.test(t);)t=t.replace(L,r),L.lastIndex=0,n-=1;return t}var Y={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function G(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(N).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var X="Invalid date";function q(){return this._invalidDate}var $="%d",K=/\d{1,2}/;function Z(t){return this._ordinal.replace("%d",t)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(t,e,n,r){var i=this._relativeTime[n];return T(i)?i(t,e,n,r):i.replace(/%d/i,t)}function tt(t,e){var n=this._relativeTime[t>0?"future":"past"];return T(n)?n(e):n.replace(/%s/i,e)}var et={};function nt(t,e){var n=t.toLowerCase();et[n]=et[n+"s"]=et[e]=t}function rt(t){return"string"===typeof t?et[t]||et[t.toLowerCase()]:void 0}function it(t){var e,n,r={};for(n in t)s(t,n)&&(e=rt(n))&&(r[e]=t[n]);return r}var ot={};function at(t,e){ot[t]=e}function st(t){var e,n=[];for(e in t)s(t,e)&&n.push({unit:e,priority:ot[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function lt(t){return t%4===0&&t%100!==0||t%400===0}function ct(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ut(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ct(e)),n}function ht(t,e){return function(n){return null!=n?(dt(this,t,n),r.updateOffset(this,e),this):ft(this,t)}}function ft(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function dt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&<(t.year())&&1===t.month()&&29===t.date()?(n=ut(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Jt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function pt(t){return T(this[t=rt(t)])?this[t]():this}function gt(t,e){if("object"===typeof t){var n,r=st(t=it(t));for(n=0;n68?1900:2e3)};var me=ht("FullYear",!0);function ve(){return lt(this.year())}function be(t,e,n,r,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,o,a),s}function ye(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function we(t,e,n){var r=7+e-n;return-(7+ye(t,0,r).getUTCDay()-e)%7+r-1}function xe(t,e,n,r,i){var o,a,s=1+7*(e-1)+(7+n-r)%7+we(t,r,i);return s<=0?a=ge(o=t-1)+s:s>ge(t)?(o=t+1,a=s-ge(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Se(t,e,n){var r,i,o=we(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?r=a+_e(i=t.year()-1,e,n):a>_e(t.year(),e,n)?(r=a-_e(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function _e(t,e,n){var r=we(t,e,n),i=we(t+1,e,n);return(ge(t)-r+i)/7}function Oe(t){return Se(t,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),nt("week","w"),nt("isoWeek","W"),at("week",5),at("isoWeek",5),Rt("w",St),Rt("ww",St,bt),Rt("W",St),Rt("WW",St,bt),Ht(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=ut(t)}));var Me={dow:0,doy:6};function ke(){return this._week.dow}function Ee(){return this._week.doy}function Ce(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Te(t){var e=Se(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ae(t,e){return"string"!==typeof t?t:isNaN(t)?"number"===typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Pe(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ie(t,e){return t.slice(e,7).concat(t.slice(0,e))}H("d",0,"do","day"),H("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),H("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),H("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),nt("day","d"),nt("weekday","e"),nt("isoWeekday","E"),at("day",11),at("weekday",11),at("isoWeekday",11),Rt("d",St),Rt("e",St),Rt("E",St),Rt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Rt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Rt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Ht(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t})),Ht(["d","e","E"],(function(t,e,n,r){e[r]=ut(t)}));var je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),De="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ne=jt,Le=jt,Fe=jt;function Be(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ie(n,this._week.dow):t?n[t.day()]:n}function He(t){return!0===t?Ie(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function ze(t){return!0===t?Ie(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ve(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=Vt.call(this._weekdaysParse,a))?i:null:"ddd"===e?-1!==(i=Vt.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Vt.call(this._minWeekdaysParse,a))?i:null:"dddd"===e?-1!==(i=Vt.call(this._weekdaysParse,a))||-1!==(i=Vt.call(this._shortWeekdaysParse,a))||-1!==(i=Vt.call(this._minWeekdaysParse,a))?i:null:"ddd"===e?-1!==(i=Vt.call(this._shortWeekdaysParse,a))||-1!==(i=Vt.call(this._weekdaysParse,a))||-1!==(i=Vt.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Vt.call(this._minWeekdaysParse,a))||-1!==(i=Vt.call(this._weekdaysParse,a))||-1!==(i=Vt.call(this._shortWeekdaysParse,a))?i:null}function We(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Ve.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ae(t,this.localeData()),this.add(t-e,"d")):e}function Ye(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ge(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Xe(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ne),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function qe(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Le),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $e(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fe),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ke(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),r=Lt(this.weekdaysMin(n,"")),i=Lt(this.weekdaysShort(n,"")),o=Lt(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);a.sort(t),s.sort(t),l.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ze(){return this.hours()%12||12}function Qe(){return this.hours()||24}function Je(t,e){H(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function tn(t,e){return e._meridiemParse}function en(t){return"p"===(t+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Ze),H("k",["kk",2],0,Qe),H("hmm",0,0,(function(){return""+Ze.apply(this)+D(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Ze.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),Je("a",!0),Je("A",!1),nt("hour","h"),at("hour",13),Rt("a",tn),Rt("A",tn),Rt("H",St),Rt("h",St),Rt("k",St),Rt("HH",St,bt),Rt("hh",St,bt),Rt("kk",St,bt),Rt("hmm",_t),Rt("hmmss",Ot),Rt("Hmm",_t),Rt("Hmmss",Ot),Bt(["H","HH"],Gt),Bt(["k","kk"],(function(t,e,n){var r=ut(t);e[Gt]=24===r?0:r})),Bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Bt(["h","hh"],(function(t,e,n){e[Gt]=ut(t),m(n).bigHour=!0})),Bt("hmm",(function(t,e,n){var r=t.length-2;e[Gt]=ut(t.substr(0,r)),e[Xt]=ut(t.substr(r)),m(n).bigHour=!0})),Bt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[Gt]=ut(t.substr(0,r)),e[Xt]=ut(t.substr(r,2)),e[qt]=ut(t.substr(i)),m(n).bigHour=!0})),Bt("Hmm",(function(t,e,n){var r=t.length-2;e[Gt]=ut(t.substr(0,r)),e[Xt]=ut(t.substr(r))})),Bt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[Gt]=ut(t.substr(0,r)),e[Xt]=ut(t.substr(r,2)),e[qt]=ut(t.substr(i))}));var nn=/[ap]\.?m?\.?/i,rn=ht("Hours",!0);function on(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var an,sn={calendar:j,longDateFormat:Y,invalidDate:X,ordinal:$,dayOfMonthOrdinalParse:K,relativeTime:Q,months:te,monthsShort:ee,week:Me,weekdays:je,weekdaysMin:De,weekdaysShort:Re,meridiemParse:nn},ln={},cn={};function un(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n0;){if(r=dn(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&un(i,n)>=e-1)break;e--}o++}return an}function dn(e){var n=null;if(void 0===ln[e]&&"undefined"!==typeof t&&t&&t.exports)try{n=an._abbr,function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}(),pn(n)}catch(r){ln[e]=null}return ln[e]}function pn(t,e){var n;return t&&((n=c(e)?vn(t):gn(t,e))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),an._abbr}function gn(t,e){if(null!==e){var n,r=sn;if(e.abbr=t,null!=ln[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[t]._config;else if(null!=e.parentLocale)if(null!=ln[e.parentLocale])r=ln[e.parentLocale]._config;else{if(null==(n=dn(e.parentLocale)))return cn[e.parentLocale]||(cn[e.parentLocale]=[]),cn[e.parentLocale].push({name:t,config:e}),null;r=n._config}return ln[t]=new I(P(r,e)),cn[t]&&cn[t].forEach((function(t){gn(t.name,t.config)})),pn(t),ln[t]}return delete ln[t],null}function mn(t,e){if(null!=e){var n,r,i=sn;null!=ln[t]&&null!=ln[t].parentLocale?ln[t].set(P(ln[t]._config,e)):(null!=(r=dn(t))&&(i=r._config),e=P(i,e),null==r&&(e.abbr=t),(n=new I(e)).parentLocale=ln[t],ln[t]=n),pn(t)}else null!=ln[t]&&(null!=ln[t].parentLocale?(ln[t]=ln[t].parentLocale,t===pn()&&pn(t)):null!=ln[t]&&delete ln[t]);return ln[t]}function vn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return an;if(!o(t)){if(e=dn(t))return e;t=[t]}return fn(t)}function bn(){return k(ln)}function yn(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[Ut]<0||n[Ut]>11?Ut:n[Yt]<1||n[Yt]>Jt(n[Wt],n[Ut])?Yt:n[Gt]<0||n[Gt]>24||24===n[Gt]&&(0!==n[Xt]||0!==n[qt]||0!==n[$t])?Gt:n[Xt]<0||n[Xt]>59?Xt:n[qt]<0||n[qt]>59?qt:n[$t]<0||n[$t]>999?$t:-1,m(t)._overflowDayOfYear&&(eYt)&&(e=Yt),m(t)._overflowWeeks&&-1===e&&(e=Kt),m(t)._overflowWeekday&&-1===e&&(e=Zt),m(t).overflow=e),t}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,_n=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],On=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mn=/^\/?Date\((-?\d+)/i,kn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Cn(t){var e,n,r,i,o,a,s=t._i,l=wn.exec(s)||xn.exec(s);if(l){for(m(t).iso=!0,e=0,n=_n.length;ege(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=ye(o,0,t._dayOfYear),t._a[Ut]=n.getUTCMonth(),t._a[Yt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Gt]&&0===t._a[Xt]&&0===t._a[qt]&&0===t._a[$t]&&(t._nextDay=!0,t._a[Gt]=0),t._d=(t._useUTC?ye:be).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Gt]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==i&&(m(t).weekdayMismatch=!0)}}function Bn(t){var e,n,r,i,o,a,s,l,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,n=Nn(e.GG,t._a[Wt],Se(qn(),1,4).year),r=Nn(e.W,1),((i=Nn(e.E,1))<1||i>7)&&(l=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,c=Se(qn(),o,a),n=Nn(e.gg,t._a[Wt],c.year),r=Nn(e.w,c.week),null!=e.d?((i=e.d)<0||i>6)&&(l=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(l=!0)):i=o),r<1||r>_e(n,o,a)?m(t)._overflowWeeks=!0:null!=l?m(t)._overflowWeekday=!0:(s=xe(n,r,i,o,a),t._a[Wt]=s.year,t._dayOfYear=s.dayOfYear)}function Hn(t){if(t._f!==r.ISO_8601)if(t._f!==r.RFC_2822){t._a=[],m(t).empty=!0;var e,n,i,o,a,s,l=""+t._i,c=l.length,u=0;for(i=U(t._f,t._locale).match(N)||[],e=0;e0&&m(t).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),B[o]?(n?m(t).empty=!1:m(t).unusedTokens.push(o),zt(o,n,t)):t._strict&&!n&&m(t).unusedTokens.push(o);m(t).charsLeftOver=c-u,l.length>0&&m(t).unusedInput.push(l),t._a[Gt]<=12&&!0===m(t).bigHour&&t._a[Gt]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[Gt]=zn(t._locale,t._a[Gt],t._meridiem),null!==(s=m(t).era)&&(t._a[Wt]=t._locale.erasConvertYear(s,t._a[Wt])),Fn(t),yn(t)}else Rn(t);else Cn(t)}function zn(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function Vn(t){var e,n,r,i,o,a,s=!1;if(0===t._f.length)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis?this:t:b()}));function Zn(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return qn();for(n=e[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return x(e,this),(e=Yn(e))._a?(t=e._isUTC?p(e._a):qn(e._a),this._isDSTShifted=this.isValid()&&lr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sr(){return!!this.isValid()&&!this._isUTC}function _r(){return!!this.isValid()&&this._isUTC}function Or(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,kr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Er(t,e){var n,r,i,o=t,a=null;return ar(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=Mr.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:ut(a[Yt])*n,h:ut(a[Gt])*n,m:ut(a[Xt])*n,s:ut(a[qt])*n,ms:ut(sr(1e3*a[$t]))*n}):(a=kr.exec(t))?(n="-"===a[1]?-1:1,o={y:Cr(a[2],n),M:Cr(a[3],n),w:Cr(a[4],n),d:Cr(a[5],n),h:Cr(a[6],n),m:Cr(a[7],n),s:Cr(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Ar(qn(o.from),qn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new or(o),ar(t)&&s(t,"_locale")&&(r._locale=t._locale),ar(t)&&s(t,"_isValid")&&(r._isValid=t._isValid),r}function Cr(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Tr(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ar(t,e){var n;return t.isValid()&&e.isValid()?(e=fr(e,t),t.isBefore(e)?n=Tr(t,e):((n=Tr(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pr(t,e){return function(n,r){var i;return null===r||isNaN(+r)||(C(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ir(this,Er(n,r),t),this}}function Ir(t,e,n,i){var o=e._milliseconds,a=sr(e._days),s=sr(e._months);t.isValid()&&(i=null==i||i,s&&ce(t,ft(t,"Month")+s*n),a&&dt(t,"Date",ft(t,"Date")+a*n),o&&t._d.setTime(t._d.valueOf()+o*n),i&&r.updateOffset(t,a||s))}Er.fn=or.prototype,Er.invalid=ir;var jr=Pr(1,"add"),Rr=Pr(-1,"subtract");function Dr(t){return"string"===typeof t||t instanceof String}function Nr(t){return _(t)||h(t)||Dr(t)||u(t)||Fr(t)||Lr(t)||null===t||void 0===t}function Lr(t){var e,n,r=a(t)&&!l(t),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;en.valueOf():n.valueOf()9999?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Jr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(t+e+n+r)}function ti(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)}function ei(t,e){return this.isValid()&&(_(t)&&t.isValid()||qn(t).isValid())?Er({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ni(t){return this.from(qn(),t)}function ri(t,e){return this.isValid()&&(_(t)&&t.isValid()||qn(t).isValid())?Er({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ii(t){return this.to(qn(),t)}function oi(t){var e;return void 0===t?this._locale._abbr:(null!=(e=vn(t))&&(this._locale=e),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ai=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function si(){return this._locale}var li=1e3,ci=60*li,ui=60*ci,hi=3506328*ui;function fi(t,e){return(t%e+e)%e}function di(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-hi:new Date(t,e,n).valueOf()}function pi(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-hi:Date.UTC(t,e,n)}function gi(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?pi:di,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=fi(e+(this._isUTC?0:this.utcOffset()*ci),ui);break;case"minute":e=this._d.valueOf(),e-=fi(e,ci);break;case"second":e=this._d.valueOf(),e-=fi(e,li)}return this._d.setTime(e),r.updateOffset(this,!0),this}function mi(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?pi:di,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=ui-fi(e+(this._isUTC?0:this.utcOffset()*ci),ui)-1;break;case"minute":e=this._d.valueOf(),e+=ci-fi(e,ci)-1;break;case"second":e=this._d.valueOf(),e+=li-fi(e,li)-1}return this._d.setTime(e),r.updateOffset(this,!0),this}function vi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function yi(){return new Date(this.valueOf())}function wi(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function xi(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Si(){return this.isValid()?this.toISOString():null}function _i(){return v(this)}function Oi(){return d({},m(this))}function Mi(){return m(this).overflow}function ki(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ei(t,e){var n,i,o,a=this._eras||vn("en")._eras;for(n=0,i=a.length;n=0)return l[r]}function Ti(t,e){var n=t.since<=t.until?1:-1;return void 0===e?r(t.since).year():r(t.since).year()+(e-t.offset)*n}function Ai(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t(o=_e(t,r,i))&&(e=o),Ki.call(this,t,e,n,r,i))}function Ki(t,e,n,r,i){var o=xe(t,e,n,r,i),a=ye(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Zi(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Rt("N",Li),Rt("NN",Li),Rt("NNN",Li),Rt("NNNN",Fi),Rt("NNNNN",Bi),Bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?m(n).era=i:m(n).invalidEra=t})),Rt("y",Ct),Rt("yy",Ct),Rt("yyy",Ct),Rt("yyyy",Ct),Rt("yo",Hi),Bt(["y","yy","yyy","yyyy"],Wt),Bt(["yo"],(function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Wt]=n._locale.eraYearOrdinalParse(t,i):e[Wt]=parseInt(t,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Vi("gggg","weekYear"),Vi("ggggg","weekYear"),Vi("GGGG","isoWeekYear"),Vi("GGGGG","isoWeekYear"),nt("weekYear","gg"),nt("isoWeekYear","GG"),at("weekYear",1),at("isoWeekYear",1),Rt("G",Tt),Rt("g",Tt),Rt("GG",St,bt),Rt("gg",St,bt),Rt("GGGG",kt,wt),Rt("gggg",kt,wt),Rt("GGGGG",Et,xt),Rt("ggggg",Et,xt),Ht(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=ut(t)})),Ht(["gg","GG"],(function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)})),H("Q",0,"Qo","quarter"),nt("quarter","Q"),at("quarter",7),Rt("Q",vt),Bt("Q",(function(t,e){e[Ut]=3*(ut(t)-1)})),H("D",["DD",2],"Do","date"),nt("date","D"),at("date",9),Rt("D",St),Rt("DD",St,bt),Rt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Bt(["D","DD"],Yt),Bt("Do",(function(t,e){e[Yt]=ut(t.match(St)[0])}));var Qi=ht("Date",!0);function Ji(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}H("DDD",["DDDD",3],"DDDo","dayOfYear"),nt("dayOfYear","DDD"),at("dayOfYear",4),Rt("DDD",Mt),Rt("DDDD",yt),Bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=ut(t)})),H("m",["mm",2],0,"minute"),nt("minute","m"),at("minute",14),Rt("m",St),Rt("mm",St,bt),Bt(["m","mm"],Xt);var to=ht("Minutes",!1);H("s",["ss",2],0,"second"),nt("second","s"),at("second",15),Rt("s",St),Rt("ss",St,bt),Bt(["s","ss"],qt);var eo,no,ro=ht("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),nt("millisecond","ms"),at("millisecond",16),Rt("S",Mt,vt),Rt("SS",Mt,bt),Rt("SSS",Mt,yt),eo="SSSS";eo.length<=9;eo+="S")Rt(eo,Ct);function io(t,e){e[$t]=ut(1e3*("0."+t))}for(eo="S";eo.length<=9;eo+="S")Bt(eo,io);function oo(){return this._isUTC?"UTC":""}function ao(){return this._isUTC?"Coordinated Universal Time":""}no=ht("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var so=S.prototype;function lo(t){return qn(1e3*t)}function co(){return qn.apply(null,arguments).parseZone()}function uo(t){return t}so.add=jr,so.calendar=zr,so.clone=Vr,so.diff=$r,so.endOf=mi,so.format=ti,so.from=ei,so.fromNow=ni,so.to=ri,so.toNow=ii,so.get=pt,so.invalidAt=Mi,so.isAfter=Wr,so.isBefore=Ur,so.isBetween=Yr,so.isSame=Gr,so.isSameOrAfter=Xr,so.isSameOrBefore=qr,so.isValid=_i,so.lang=ai,so.locale=oi,so.localeData=si,so.max=Kn,so.min=$n,so.parsingFlags=Oi,so.set=gt,so.startOf=gi,so.subtract=Rr,so.toArray=wi,so.toObject=xi,so.toDate=yi,so.toISOString=Qr,so.inspect=Jr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(so[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),so.toJSON=Si,so.toString=Zr,so.unix=bi,so.valueOf=vi,so.creationData=ki,so.eraName=Ai,so.eraNarrow=Pi,so.eraAbbr=Ii,so.eraYear=ji,so.year=me,so.isLeapYear=ve,so.weekYear=Wi,so.isoWeekYear=Ui,so.quarter=so.quarters=Zi,so.month=ue,so.daysInMonth=he,so.week=so.weeks=Ce,so.isoWeek=so.isoWeeks=Te,so.weeksInYear=Xi,so.weeksInWeekYear=qi,so.isoWeeksInYear=Yi,so.isoWeeksInISOWeekYear=Gi,so.date=Qi,so.day=so.days=Ue,so.weekday=Ye,so.isoWeekday=Ge,so.dayOfYear=Ji,so.hour=so.hours=rn,so.minute=so.minutes=to,so.second=so.seconds=ro,so.millisecond=so.milliseconds=no,so.utcOffset=pr,so.utc=mr,so.local=vr,so.parseZone=br,so.hasAlignedHourOffset=yr,so.isDST=wr,so.isLocal=Sr,so.isUtcOffset=_r,so.isUtc=Or,so.isUTC=Or,so.zoneAbbr=oo,so.zoneName=ao,so.dates=M("dates accessor is deprecated. Use date instead.",Qi),so.months=M("months accessor is deprecated. Use month instead",ue),so.years=M("years accessor is deprecated. Use year instead",me),so.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),so.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var ho=I.prototype;function fo(t,e,n,r){var i=vn(),o=p().set(r,e);return i[n](o,t)}function po(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return fo(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fo(t,r,n,"month");return i}function go(t,e,n,r){"boolean"===typeof t?(u(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,u(e)&&(n=e,e=void 0),e=e||"");var i,o=vn(),a=t?o._week.dow:0,s=[];if(null!=n)return fo(e,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=fo(e,(i+a)%7,r,"day");return s}function mo(t,e){return po(t,e,"months")}function vo(t,e){return po(t,e,"monthsShort")}function bo(t,e,n){return go(t,e,n,"weekdays")}function yo(t,e,n){return go(t,e,n,"weekdaysShort")}function wo(t,e,n){return go(t,e,n,"weekdaysMin")}ho.calendar=R,ho.longDateFormat=G,ho.invalidDate=q,ho.ordinal=Z,ho.preparse=uo,ho.postformat=uo,ho.relativeTime=J,ho.pastFuture=tt,ho.set=A,ho.eras=Ei,ho.erasParse=Ci,ho.erasConvertYear=Ti,ho.erasAbbrRegex=Di,ho.erasNameRegex=Ri,ho.erasNarrowRegex=Ni,ho.months=oe,ho.monthsShort=ae,ho.monthsParse=le,ho.monthsRegex=de,ho.monthsShortRegex=fe,ho.week=Oe,ho.firstDayOfYear=Ee,ho.firstDayOfWeek=ke,ho.weekdays=Be,ho.weekdaysMin=ze,ho.weekdaysShort=He,ho.weekdaysParse=We,ho.weekdaysRegex=Xe,ho.weekdaysShortRegex=qe,ho.weekdaysMinRegex=$e,ho.isPM=en,ho.meridiem=on,pn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===ut(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=M("moment.lang is deprecated. Use moment.locale instead.",pn),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",vn);var xo=Math.abs;function So(){var t=this._data;return this._milliseconds=xo(this._milliseconds),this._days=xo(this._days),this._months=xo(this._months),t.milliseconds=xo(t.milliseconds),t.seconds=xo(t.seconds),t.minutes=xo(t.minutes),t.hours=xo(t.hours),t.months=xo(t.months),t.years=xo(t.years),this}function _o(t,e,n,r){var i=Er(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Oo(t,e){return _o(this,t,e,1)}function Mo(t,e){return _o(this,t,e,-1)}function ko(t){return t<0?Math.floor(t):Math.ceil(t)}function Eo(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ko(To(s)+a),a=0,s=0),l.milliseconds=o%1e3,t=ct(o/1e3),l.seconds=t%60,e=ct(t/60),l.minutes=e%60,n=ct(e/60),l.hours=n%24,a+=ct(n/24),s+=i=ct(Co(a)),a-=ko(To(i)),r=ct(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function Co(t){return 4800*t/146097}function To(t){return 146097*t/4800}function Ao(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=rt(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+Co(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(To(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function Po(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ut(this._months/12):NaN}function Io(t){return function(){return this.as(t)}}var jo=Io("ms"),Ro=Io("s"),Do=Io("m"),No=Io("h"),Lo=Io("d"),Fo=Io("w"),Bo=Io("M"),Ho=Io("Q"),zo=Io("y");function Vo(){return Er(this)}function Wo(t){return t=rt(t),this.isValid()?this[t+"s"]():NaN}function Uo(t){return function(){return this.isValid()?this._data[t]:NaN}}var Yo=Uo("milliseconds"),Go=Uo("seconds"),Xo=Uo("minutes"),qo=Uo("hours"),$o=Uo("days"),Ko=Uo("months"),Zo=Uo("years");function Qo(){return ct(this.days()/7)}var Jo=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ea(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function na(t,e,n,r){var i=Er(t).abs(),o=Jo(i.as("s")),a=Jo(i.as("m")),s=Jo(i.as("h")),l=Jo(i.as("d")),c=Jo(i.as("M")),u=Jo(i.as("w")),h=Jo(i.as("y")),f=o<=n.ss&&["s",o]||o0,f[4]=r,ea.apply(null,f)}function ra(t){return void 0===t?Jo:"function"===typeof t&&(Jo=t,!0)}function ia(t,e){return void 0!==ta[t]&&(void 0===e?ta[t]:(ta[t]=e,"s"===t&&(ta.ss=e-1),!0))}function oa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ta;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(i=t),"object"===typeof e&&(o=Object.assign({},ta,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),r=na(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var aa=Math.abs;function sa(t){return(t>0)-(t<0)||+t}function la(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,o,a,s,l=aa(this._milliseconds)/1e3,c=aa(this._days),u=aa(this._months),h=this.asSeconds();return h?(t=ct(l/60),e=ct(t/60),l%=60,t%=60,n=ct(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=sa(this._months)!==sa(h)?"-":"",a=sa(this._days)!==sa(h)?"-":"",s=sa(this._milliseconds)!==sa(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?a+c+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+r+"S":"")):"P0D"}var ca=or.prototype;return ca.isValid=rr,ca.abs=So,ca.add=Oo,ca.subtract=Mo,ca.as=Ao,ca.asMilliseconds=jo,ca.asSeconds=Ro,ca.asMinutes=Do,ca.asHours=No,ca.asDays=Lo,ca.asWeeks=Fo,ca.asMonths=Bo,ca.asQuarters=Ho,ca.asYears=zo,ca.valueOf=Po,ca._bubble=Eo,ca.clone=Vo,ca.get=Wo,ca.milliseconds=Yo,ca.seconds=Go,ca.minutes=Xo,ca.hours=qo,ca.days=$o,ca.weeks=Qo,ca.months=Ko,ca.years=Zo,ca.humanize=oa,ca.toISOString=la,ca.toString=la,ca.toJSON=la,ca.locale=oi,ca.localeData=si,ca.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",la),ca.lang=ai,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Rt("x",Tt),Rt("X",It),Bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Bt("x",(function(t,e,n){n._d=new Date(ut(t))})),r.version="2.29.1",i(qn),r.fn=so,r.min=Qn,r.max=Jn,r.now=tr,r.utc=p,r.unix=lo,r.months=mo,r.isDate=h,r.locale=pn,r.invalid=b,r.duration=Er,r.isMoment=_,r.weekdays=bo,r.parseZone=co,r.localeData=vn,r.isDuration=ar,r.monthsShort=vo,r.weekdaysMin=wo,r.defineLocale=gn,r.updateLocale=mn,r.locales=bn,r.weekdaysShort=yo,r.normalizeUnits=rt,r.relativeTimeRounding=ra,r.relativeTimeThreshold=ia,r.calendarFormat=Hr,r.prototype=so,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(107)(t))},function(t,e,n){"use strict";t.exports=n(609)},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"===typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){return getComputedStyle(t)}function i(t,e){for(var n in e){var r=e[n];"number"===typeof r&&(r+="px"),t.style[n]=r}return t}function o(t){var e=document.createElement("div");return e.className=t,e}var a="undefined"!==typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function s(t,e){if(!a)throw new Error("No element matching method supported");return a.call(t,e)}function l(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function c(t,e){return Array.prototype.filter.call(t.children,(function(t){return s(t,e)}))}var u={main:"ps",rtl:"ps__rtl",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},h={x:null,y:null};function f(t,e){var n=t.element.classList,r=u.state.scrolling(e);n.contains(r)?clearTimeout(h[e]):n.add(r)}function d(t,e){h[e]=setTimeout((function(){return t.isAlive&&t.element.classList.remove(u.state.scrolling(e))}),t.settings.scrollingThreshold)}var p=function(t){this.element=t,this.handlers={}},g={isEmpty:{configurable:!0}};p.prototype.bind=function(t,e){"undefined"===typeof this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},p.prototype.unbind=function(t,e){var n=this;this.handlers[t]=this.handlers[t].filter((function(r){return!(!e||r===e)||(n.element.removeEventListener(t,r,!1),!1)}))},p.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},g.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every((function(e){return 0===t.handlers[e].length}))},Object.defineProperties(p.prototype,g);var m=function(){this.eventElements=[]};function v(t){if("function"===typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function b(t,e,n,r,i){var o;if(void 0===r&&(r=!0),void 0===i&&(i=!1),"top"===e)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,n,r,i){var o=n[0],a=n[1],s=n[2],l=n[3],c=n[4],u=n[5];void 0===r&&(r=!0);void 0===i&&(i=!1);var h=t.element;t.reach[l]=null,h[s]<1&&(t.reach[l]="start");h[s]>t[o]-t[a]-1&&(t.reach[l]="end");e&&(h.dispatchEvent(v("ps-scroll-"+l)),e<0?h.dispatchEvent(v("ps-scroll-"+c)):e>0&&h.dispatchEvent(v("ps-scroll-"+u)),r&&function(t,e){f(t,e),d(t,e)}(t,l));t.reach[l]&&(e||i)&&h.dispatchEvent(v("ps-"+l+"-reach-"+t.reach[l]))}(t,n,o,r,i)}function y(t){return parseInt(t,10)||0}m.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return e||(e=new p(t),this.eventElements.push(e)),e},m.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},m.prototype.unbind=function(t,e,n){var r=this.eventElement(t);r.unbind(e,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},m.prototype.unbindAll=function(){this.eventElements.forEach((function(t){return t.unbindAll()})),this.eventElements=[]},m.prototype.once=function(t,e,n){var r=this.eventElement(t),i=function(t){r.unbind(e,i),n(t)};r.bind(e,i)};var w={isWebKit:"undefined"!==typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!==typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!==typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!==typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function x(t){var e=t.element,n=Math.floor(e.scrollTop),r=e.getBoundingClientRect();t.containerWidth=Math.ceil(r.width),t.containerHeight=Math.ceil(r.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(c(e,u.element.rail("x")).forEach((function(t){return l(t)})),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(c(e,u.element.rail("y")).forEach((function(t){return l(t)})),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var n={width:e.railXWidth},r=Math.floor(t.scrollTop);e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:n.left=t.scrollLeft;e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-r:n.top=e.scrollbarXTop+r;i(e.scrollbarXRail,n);var o={top:r,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?o.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:o.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?o.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:o.left=e.scrollbarYLeft+t.scrollLeft;i(e.scrollbarYRail,o),i(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),i(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(u.state.active("x")):(e.classList.remove(u.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(u.state.active("y")):(e.classList.remove(u.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function S(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function _(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],h=e[8],p=t.element,g=null,m=null,v=null;function b(e){e.touches&&e.touches[0]&&(e[i]=e.touches[0].pageY),p[l]=g+v*(e[i]-m),f(t,c),x(t),e.stopPropagation(),e.preventDefault()}function y(){d(t,c),t[h].classList.remove(u.state.clicking),t.event.unbind(t.ownerDocument,"mousemove",b)}function w(e,a){g=p[l],a&&e.touches&&(e[i]=e.touches[0].pageY),m=e[i],v=(t[r]-t[n])/(t[o]-t[s]),a?t.event.bind(t.ownerDocument,"touchmove",b):(t.event.bind(t.ownerDocument,"mousemove",b),t.event.once(t.ownerDocument,"mouseup",y),e.preventDefault()),t[h].classList.add(u.state.clicking),e.stopPropagation()}t.event.bind(t[a],"mousedown",(function(t){w(t)})),t.event.bind(t[a],"touchstart",(function(t){w(t,!0)}))}var O={"click-rail":function(t){t.element,t.event.bind(t.scrollbarY,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarYRail,"mousedown",(function(e){var n=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=n*t.containerHeight,x(t),e.stopPropagation()})),t.event.bind(t.scrollbarX,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarXRail,"mousedown",(function(e){var n=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=n*t.containerWidth,x(t),e.stopPropagation()}))},"drag-thumb":function(t){_(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),_(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(s(e,":hover")||s(t.scrollbarX,":focus")||s(t.scrollbarY,":focus"))){var r,i=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(i){if("IFRAME"===i.tagName)i=i.contentDocument.activeElement;else for(;i.shadowRoot;)i=i.shadowRoot.activeElement;if(s(r=i,"input,[contenteditable]")||s(r,"select,[contenteditable]")||s(r,"textarea,[contenteditable]")||s(r,"button,[contenteditable]"))return}var o=0,a=0;switch(n.which){case 37:o=n.metaKey?-t.contentWidth:n.altKey?-t.containerWidth:-30;break;case 38:a=n.metaKey?t.contentHeight:n.altKey?t.containerHeight:30;break;case 39:o=n.metaKey?t.contentWidth:n.altKey?t.containerWidth:30;break;case 40:a=n.metaKey?-t.contentHeight:n.altKey?-t.containerHeight:-30;break;case 32:a=n.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:a=t.containerHeight;break;case 34:a=-t.containerHeight;break;case 36:a=t.contentHeight;break;case 35:a=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==o||t.settings.suppressScrollY&&0!==a||(e.scrollTop-=a,e.scrollLeft+=o,x(t),function(n,r){var i=Math.floor(e.scrollTop);if(0===n){if(!t.scrollbarYActive)return!1;if(0===i&&r>0||i>=t.contentHeight-t.containerHeight&&r<0)return!t.settings.wheelPropagation}var o=e.scrollLeft;if(0===r){if(!t.scrollbarXActive)return!1;if(0===o&&n<0||o>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}(o,a)&&n.preventDefault())}}))},wheel:function(t){var e=t.element;function n(n){var i=function(t){var e=t.deltaX,n=-1*t.deltaY;return"undefined"!==typeof e&&"undefined"!==typeof n||(e=-1*t.wheelDeltaX/6,n=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,n*=10),e!==e&&n!==n&&(e=0,n=t.wheelDelta),t.shiftKey?[-n,-e]:[e,n]}(n),o=i[0],a=i[1];if(!function(t,n,i){if(!w.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var o=t;o&&o!==e;){if(o.classList.contains(u.element.consuming))return!0;var a=r(o);if(i&&a.overflowY.match(/(scroll|auto)/)){var s=o.scrollHeight-o.clientHeight;if(s>0&&(o.scrollTop>0&&i<0||o.scrollTop0))return!0}if(n&&a.overflowX.match(/(scroll|auto)/)){var l=o.scrollWidth-o.clientWidth;if(l>0&&(o.scrollLeft>0&&n<0||o.scrollLeft0))return!0}o=o.parentNode}return!1}(n.target,o,a)){var s=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(a?e.scrollTop-=a*t.settings.wheelSpeed:e.scrollTop+=o*t.settings.wheelSpeed,s=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(o?e.scrollLeft+=o*t.settings.wheelSpeed:e.scrollLeft-=a*t.settings.wheelSpeed,s=!0):(e.scrollTop-=a*t.settings.wheelSpeed,e.scrollLeft+=o*t.settings.wheelSpeed),x(t),s=s||function(n,r){var i=Math.floor(e.scrollTop),o=0===e.scrollTop,a=i+e.offsetHeight===e.scrollHeight,s=0===e.scrollLeft,l=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(r)>Math.abs(n)?o||a:s||l)||!t.settings.wheelPropagation}(o,a),s&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}"undefined"!==typeof window.onwheel?t.event.bind(e,"wheel",n):"undefined"!==typeof window.onmousewheel&&t.event.bind(e,"mousewheel",n)},touch:function(t){if(w.supportsTouch||w.supportsIePointer){var e=t.element,n={},i=0,o={},a=null;w.supportsTouch?(t.event.bind(e,"touchstart",h),t.event.bind(e,"touchmove",f),t.event.bind(e,"touchend",d)):w.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",h),t.event.bind(e,"pointermove",f),t.event.bind(e,"pointerup",d)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",h),t.event.bind(e,"MSPointerMove",f),t.event.bind(e,"MSPointerUp",d)))}function s(n,r){e.scrollTop-=r,e.scrollLeft-=n,x(t)}function l(t){return t.targetTouches?t.targetTouches[0]:t}function c(t){return(!t.pointerType||"pen"!==t.pointerType||0!==t.buttons)&&(!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function h(t){if(c(t)){var e=l(t);n.pageX=e.pageX,n.pageY=e.pageY,i=(new Date).getTime(),null!==a&&clearInterval(a)}}function f(a){if(c(a)){var h=l(a),f={pageX:h.pageX,pageY:h.pageY},d=f.pageX-n.pageX,p=f.pageY-n.pageY;if(function(t,n,i){if(!e.contains(t))return!1;for(var o=t;o&&o!==e;){if(o.classList.contains(u.element.consuming))return!0;var a=r(o);if(i&&a.overflowY.match(/(scroll|auto)/)){var s=o.scrollHeight-o.clientHeight;if(s>0&&(o.scrollTop>0&&i<0||o.scrollTop0))return!0}if(n&&a.overflowX.match(/(scroll|auto)/)){var l=o.scrollWidth-o.clientWidth;if(l>0&&(o.scrollLeft>0&&n<0||o.scrollLeft0))return!0}o=o.parentNode}return!1}(a.target,d,p))return;s(d,p),n=f;var g=(new Date).getTime(),m=g-i;m>0&&(o.x=d/m,o.y=p/m,i=g),function(n,r){var i=Math.floor(e.scrollTop),o=e.scrollLeft,a=Math.abs(n),s=Math.abs(r);if(s>a){if(r<0&&i===t.contentHeight-t.containerHeight||r>0&&0===i)return 0===window.scrollY&&r>0&&w.isChrome}else if(a>s&&(n<0&&o===t.contentWidth-t.containerWidth||n>0&&0===o))return!0;return!0}(d,p)&&a.preventDefault()}}function d(){t.settings.swipeEasing&&(clearInterval(a),a=setInterval((function(){t.isInitialized?clearInterval(a):o.x||o.y?Math.abs(o.x)<.01&&Math.abs(o.y)<.01?clearInterval(a):(s(30*o.x,30*o.y),o.x*=.8,o.y*=.8):clearInterval(a)}),10))}}},M=function(t,e){var n=this;if(void 0===e&&(e={}),"string"===typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var a in this.element=t,t.classList.add(u.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)this.settings[a]=e[a];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s=function(){return t.classList.add(u.state.focus)},l=function(){return t.classList.remove(u.state.focus)};this.isRtl="rtl"===r(t).direction,!0===this.isRtl&&t.classList.add(u.rtl),this.isNegativeScroll=function(){var e,n=t.scrollLeft;return t.scrollLeft=-1,e=t.scrollLeft<0,t.scrollLeft=n,e}(),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new m,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=o(u.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=o(u.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",s),this.event.bind(this.scrollbarX,"blur",l),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=r(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=y(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=y(c.borderLeftWidth)+y(c.borderRightWidth),i(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=y(c.marginLeft)+y(c.marginRight),i(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=o(u.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=o(u.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",s),this.event.bind(this.scrollbarY,"blur",l),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var h=r(this.scrollbarYRail);this.scrollbarYRight=parseInt(h.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=y(h.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=r(t);return y(e.width)+y(e.paddingLeft)+y(e.paddingRight)+y(e.borderLeftWidth)+y(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=y(h.borderTopWidth)+y(h.borderBottomWidth),i(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=y(h.marginTop)+y(h.marginBottom),i(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(t){return O[t](n)})),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",(function(t){return n.onScroll(t)})),x(this)};M.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,i(this.scrollbarXRail,{display:"block"}),i(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=y(r(this.scrollbarXRail).marginLeft)+y(r(this.scrollbarXRail).marginRight),this.railYMarginHeight=y(r(this.scrollbarYRail).marginTop)+y(r(this.scrollbarYRail).marginBottom),i(this.scrollbarXRail,{display:"none"}),i(this.scrollbarYRail,{display:"none"}),x(this),b(this,"top",0,!1,!0),b(this,"left",0,!1,!0),i(this.scrollbarXRail,{display:""}),i(this.scrollbarYRail,{display:""}))},M.prototype.onScroll=function(t){this.isAlive&&(x(this),b(this,"top",this.element.scrollTop-this.lastScrollTop),b(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},M.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),l(this.scrollbarX),l(this.scrollbarY),l(this.scrollbarXRail),l(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},M.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(t){return!t.match(/^ps([-_].+|)$/)})).join(" ")},e.a=M},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},function(t,e,n){"use strict";var r=n(666),i=n(667),o=n(410);t.exports={formats:o,parse:i,stringify:r}},function(t,e,n){"use strict";(function(t){var n="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:l(s(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function f(t){return 11===t?u:10===t?h:u||h}function d(t){if(!t)return document.documentElement;for(var e=f(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function g(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||d(t.firstElementChild)===t)}(a)?a:d(a);var s=p(t);return s.host?g(s.host,e):g(t,p(e).host)}function m(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function v(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function b(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],f(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=f(10)&&getComputedStyle(n);return{height:b("Height",e,n,r),width:b("Width",e,n,r)}}var w=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=f(10),i="HTML"===e.nodeName,o=O(t),s=O(e),c=l(t),u=a(e),h=parseFloat(u.borderTopWidth),d=parseFloat(u.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=_({top:o.top-s.top-h,left:o.left-s.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var g=parseFloat(u.marginTop),v=parseFloat(u.marginLeft);p.top-=h-g,p.bottom-=h-g,p.left-=d-v,p.right-=d-v,p.marginTop=g,p.marginLeft=v}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(p=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(p,e)),p}function k(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=s(t);return!!n&&k(n)}function E(t){if(!t||!t.parentElement||f())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function C(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?E(t):g(t,c(e));if("viewport"===r)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=M(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),s=e?0:m(n,"left");return _({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}(a,i);else{var u=void 0;"scrollParent"===r?"BODY"===(u=l(s(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===r?t.ownerDocument.documentElement:r;var h=M(u,a,i);if("HTML"!==u.nodeName||k(a))o=h;else{var f=y(t.ownerDocument),d=f.height,p=f.width;o.top+=h.top-h.marginTop,o.bottom=d+h.top,o.left+=h.left-h.marginLeft,o.right=p+h.left}}var v="number"===typeof(n=n||0);return o.left+=v?n:n.left||0,o.top+=v?n:n.top||0,o.right-=v?n:n.right||0,o.bottom-=v?n:n.bottom||0,o}function T(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=C(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map((function(t){return S({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,h=t.split("-")[1];return u+(h?"-"+h:"")}function A(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return M(n,r?E(e):g(e,c(n)),r)}function P(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function j(t,e,n){n=n.split("-")[0];var r=P(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return i[a]=e[a]+e[l]/2-r[l]/2,i[s]=n===s?e[s]-r[c]:e[I(s)],i}function R(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function D(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=R(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=_(e.offsets.popper),e.offsets.reference=_(e.offsets.reference),e=n(e,t))})),e}function N(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=j(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=D(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function L(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=K.indexOf(t),r=K.slice(n+1).concat(K.slice(0,n));return e?r.reverse():r}var Q="flip",J="clockwise",tt="counterclockwise";function et(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(R(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){return _("%p"===a?n:r)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))})),c.forEach((function(t,e){t.forEach((function(n,r){Y(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var nt={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:x({},l,o[l]),end:x({},l,o[l]+o[c]-a[c])};t.offsets.popper=S({},a,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=Y(+n)?[+n,0]:et(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var r=F("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=C(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,h={primary:function(t){var n=u[t];return u[t]l[t]&&!e.escapeWithReference&&(r=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),x({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=S({},u,h[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]o(r[s])&&(t.offsets.popper[l]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!q(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"===typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,s=o.popper,l=o.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",h=c?"Top":"Left",f=h.toLowerCase(),d=c?"left":"top",p=c?"bottom":"right",g=P(r)[u];l[p]-gs[p]&&(t.offsets.popper[f]+=l[f]+g-s[p]),t.offsets.popper=_(t.offsets.popper);var m=l[f]+l[u]/2-g/2,v=a(t.instance.popper),b=parseFloat(v["margin"+h]),y=parseFloat(v["border"+h+"Width"]),w=m-t.offsets.popper[f]-b-y;return w=Math.max(Math.min(s[u]-g,w),0),t.arrowElement=r,t.offsets.arrow=(x(n={},f,Math.round(w)),x(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(L(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=C(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=I(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Q:a=[r,i];break;case J:a=Z(r);break;case tt:a=Z(r,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return t;r=t.placement.split("-")[0],i=I(r);var c=t.offsets.popper,u=t.offsets.reference,h=Math.floor,f="left"===r&&h(c.right)>h(u.left)||"right"===r&&h(c.left)h(u.top)||"bottom"===r&&h(c.top)h(n.right),g=h(c.top)h(n.bottom),v="left"===r&&d||"right"===r&&p||"top"===r&&g||"bottom"===r&&m,b=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(b&&"start"===o&&d||b&&"end"===o&&p||!b&&"start"===o&&g||!b&&"end"===o&&m),w=!!e.flipVariationsByContent&&(b&&"start"===o&&p||b&&"end"===o&&d||!b&&"start"===o&&m||!b&&"end"===o&&g),x=y||w;(f||v||x)&&(t.flipped=!0,(f||v)&&(r=a[l+1]),x&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=S({},t.offsets.popper,j(t.instance.popper,t.offsets.reference,t.placement)),t=D(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=I(e),t.offsets.popper=_(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=R(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=S({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){r.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return w(t,[{key:"update",value:function(){return N.call(this)}},{key:"destroy",value:function(){return B.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),t}();it.Utils=("undefined"!==typeof window?window:t).PopperUtils,it.placements=$,it.Defaults=rt,e.a=it}).call(this,n(62))},function(t,e,n){var r=n(469),i=n(791),o=n(796),a=n(799),s=n(800),l=n(803),c=Date.prototype.getTime;function u(t,e,n){var d=n||{};return!!(d.strict?o(t,e):t===e)||(!t||!e||"object"!==typeof t&&"object"!==typeof e?d.strict?o(t,e):t==e:function(t,e,n){var o,d;if(typeof t!==typeof e)return!1;if(h(t)||h(e))return!1;if(t.prototype!==e.prototype)return!1;if(i(t)!==i(e))return!1;var p=a(t),g=a(e);if(p!==g)return!1;if(p||g)return t.source===e.source&&s(t)===s(e);if(l(t)&&l(e))return c.call(t)===c.call(e);var m=f(t),v=f(e);if(m!==v)return!1;if(m||v){if(t.length!==e.length)return!1;for(o=0;o=0;o--)if(b[o]!=y[o])return!1;for(o=b.length-1;o>=0;o--)if(!u(t[d=b[o]],e[d],n))return!1;return!0}(t,e,d))}function h(t){return null===t||void 0===t}function f(t){return!(!t||"object"!==typeof t||"number"!==typeof t.length)&&("function"===typeof t.copy&&"function"===typeof t.slice&&!(t.length>0&&"number"!==typeof t[0]))}t.exports=u},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M14,14H7V16H14M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M17,10H7V12H17V10Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M21 11.11V5C21 3.9 20.11 3 19 3H14.82C14.4 1.84 13.3 1 12 1S9.6 1.84 9.18 3H5C3.9 3 3 3.9 3 5V19C3 20.11 3.9 21 5 21H11.11C12.37 22.24 14.09 23 16 23C19.87 23 23 19.87 23 16C23 14.09 22.24 12.37 21 11.11M12 3C12.55 3 13 3.45 13 4S12.55 5 12 5 11 4.55 11 4 11.45 3 12 3M5 19V5H7V7H17V5H19V9.68C18.09 9.25 17.08 9 16 9H7V11H11.1C10.5 11.57 10.04 12.25 9.68 13H7V15H9.08C9.03 15.33 9 15.66 9 16C9 17.08 9.25 18.09 9.68 19H5M16 21C13.24 21 11 18.76 11 16S13.24 11 16 11 21 13.24 21 16 18.76 21 16 21M16.5 16.25L19.36 17.94L18.61 19.16L15 17V12H16.5V16.25Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1M11,15H13V17H11V15M11,7H13V13H11V7"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M6 2C4.89 2 4 2.9 4 4V20C4 21.11 4.89 22 6 22H12V20H6V4H13V9H18V12H20V8L14 2M18 14C17.87 14 17.76 14.09 17.74 14.21L17.55 15.53C17.25 15.66 16.96 15.82 16.7 16L15.46 15.5C15.35 15.5 15.22 15.5 15.15 15.63L14.15 17.36C14.09 17.47 14.11 17.6 14.21 17.68L15.27 18.5C15.25 18.67 15.24 18.83 15.24 19C15.24 19.17 15.25 19.33 15.27 19.5L14.21 20.32C14.12 20.4 14.09 20.53 14.15 20.64L15.15 22.37C15.21 22.5 15.34 22.5 15.46 22.5L16.7 22C16.96 22.18 17.24 22.35 17.55 22.47L17.74 23.79C17.76 23.91 17.86 24 18 24H20C20.11 24 20.22 23.91 20.24 23.79L20.43 22.47C20.73 22.34 21 22.18 21.27 22L22.5 22.5C22.63 22.5 22.76 22.5 22.83 22.37L23.83 20.64C23.89 20.53 23.86 20.4 23.77 20.32L22.7 19.5C22.72 19.33 22.74 19.17 22.74 19C22.74 18.83 22.73 18.67 22.7 18.5L23.76 17.68C23.85 17.6 23.88 17.47 23.82 17.36L22.82 15.63C22.76 15.5 22.63 15.5 22.5 15.5L21.27 16C21 15.82 20.73 15.65 20.42 15.53L20.23 14.21C20.22 14.09 20.11 14 20 14M19 17.5C19.83 17.5 20.5 18.17 20.5 19C20.5 19.83 19.83 20.5 19 20.5C18.16 20.5 17.5 19.83 17.5 19C17.5 18.17 18.17 17.5 19 17.5Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M21.7 18.6V17.6L22.8 16.8C22.9 16.7 23 16.6 22.9 16.5L21.9 14.8C21.9 14.7 21.7 14.7 21.6 14.7L20.4 15.2C20.1 15 19.8 14.8 19.5 14.7L19.3 13.4C19.3 13.3 19.2 13.2 19.1 13.2H17.1C16.9 13.2 16.8 13.3 16.8 13.4L16.6 14.7C16.3 14.9 16.1 15 15.8 15.2L14.6 14.7C14.5 14.7 14.4 14.7 14.3 14.8L13.3 16.5C13.3 16.6 13.3 16.7 13.4 16.8L14.5 17.6V18.6L13.4 19.4C13.3 19.5 13.2 19.6 13.3 19.7L14.3 21.4C14.4 21.5 14.5 21.5 14.6 21.5L15.8 21C16 21.2 16.3 21.4 16.6 21.5L16.8 22.8C16.9 22.9 17 23 17.1 23H19.1C19.2 23 19.3 22.9 19.3 22.8L19.5 21.5C19.8 21.3 20 21.2 20.3 21L21.5 21.4C21.6 21.4 21.7 21.4 21.8 21.3L22.8 19.6C22.9 19.5 22.9 19.4 22.8 19.4L21.7 18.6M18 19.5C17.2 19.5 16.5 18.8 16.5 18S17.2 16.5 18 16.5 19.5 17.2 19.5 18 18.8 19.5 18 19.5M12.3 22H3C1.9 22 1 21.1 1 20V4C1 2.9 1.9 2 3 2H21C22.1 2 23 2.9 23 4V13.1C22.4 12.5 21.7 12 21 11.7V6H3V20H11.3C11.5 20.7 11.8 21.4 12.3 22Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M21 2H3C1.9 2 1 2.9 1 4V20C1 21.1 1.9 22 3 22H21C22.1 22 23 21.1 23 20V4C23 2.9 22.1 2 21 2M21 20H3V6H21V20Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M23 18H20V15H18V18H15V20H18V23H20V20H23M6 2C4.89 2 4 2.9 4 4V20C4 21.11 4.89 22 6 22H13.81C13.45 21.38 13.2 20.7 13.08 20H6V4H13V9H18V13.08C18.33 13.03 18.67 13 19 13C19.34 13 19.67 13.03 20 13.08V8L14 2M8 12V14H16V12M8 16V18H13V16Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M10 20H6V4H13V9H18V12.1L20 10.1V8L14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H10V20M20.2 13C20.3 13 20.5 13.1 20.6 13.2L21.9 14.5C22.1 14.7 22.1 15.1 21.9 15.3L20.9 16.3L18.8 14.2L19.8 13.2C19.9 13.1 20 13 20.2 13M20.2 16.9L14.1 23H12V20.9L18.1 14.8L20.2 16.9Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M15 16L11 20H21V16H15M12.06 7.19L3 16.25V20H6.75L15.81 10.94L12.06 7.19M5.92 18H5V17.08L12.06 10L13 10.94L5.92 18M18.71 8.04C19.1 7.65 19.1 7 18.71 6.63L16.37 4.29C16.17 4.09 15.92 4 15.66 4C15.41 4 15.15 4.1 14.96 4.29L13.13 6.12L16.88 9.87L18.71 8.04Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M11,17H4A2,2 0 0,1 2,15V3A2,2 0 0,1 4,1H16V3H4V15H11V13L15,16L11,19V17M19,21V7H8V13H6V7A2,2 0 0,1 8,5H19A2,2 0 0,1 21,7V21A2,2 0 0,1 19,23H8A2,2 0 0,1 6,21V19H8V21H19Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M11,16H10C8.39,16 6,14.94 6,12C6,9.07 8.39,8 10,8H11V10H10C9.54,10 8,10.17 8,12C8,13.9 9.67,14 10,14H11V16M14,16H13V14H14C14.46,14 16,13.83 16,12C16,10.1 14.33,10 14,10H13V8H14C15.61,8 18,9.07 18,12C18,14.94 15.61,16 14,16M15,13H9V11H15V13Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M22.54 21.12L20.41 19L22.54 16.88L21.12 15.46L19 17.59L16.88 15.46L15.46 16.88L17.59 19L15.46 21.12L16.88 22.54L19 20.41L21.12 22.54M6 2C4.89 2 4 2.9 4 4V20C4 21.11 4.89 22 6 22H13.81C13.45 21.38 13.2 20.7 13.08 20H6V4H13V9H18V13.08C18.33 13.03 18.67 13 19 13C19.34 13 19.67 13.03 20 13.08V8L14 2M8 12V14H16V12M8 16V18H13V16Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M2 17A2 2 0 0 0 4 19H20A2 2 0 0 0 22 17V12H20V17H4V12H2M14.12 5.46L15.54 6.88L13.41 9L15.54 11.12L14.12 12.54L12 10.41L9.88 12.54L8.46 11.12L10.59 9L8.46 6.88L9.88 5.46L12 7.59Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M13.54 22H10C9.75 22 9.54 21.82 9.5 21.58L9.13 18.93C8.5 18.68 7.96 18.34 7.44 17.94L4.95 18.95C4.73 19.03 4.46 18.95 4.34 18.73L2.34 15.27C2.21 15.05 2.27 14.78 2.46 14.63L4.57 12.97L4.5 12L4.57 11L2.46 9.37C2.27 9.22 2.21 8.95 2.34 8.73L4.34 5.27C4.46 5.05 4.73 4.96 4.95 5.05L7.44 6.05C7.96 5.66 8.5 5.32 9.13 5.07L9.5 2.42C9.54 2.18 9.75 2 10 2H14C14.25 2 14.46 2.18 14.5 2.42L14.87 5.07C15.5 5.32 16.04 5.66 16.56 6.05L19.05 5.05C19.27 4.96 19.54 5.05 19.66 5.27L21.66 8.73C21.79 8.95 21.73 9.22 21.54 9.37L19.43 11L19.5 12V12.19C19 12.07 18.5 12 18 12C17.83 12 17.66 12 17.5 12.03C17.5 11.41 17.4 10.79 17.2 10.2L19.31 8.65L18.56 7.35L16.15 8.39C15.38 7.5 14.32 6.86 13.12 6.62L12.75 4H11.25L10.88 6.61C9.68 6.86 8.62 7.5 7.85 8.39L5.44 7.35L4.69 8.65L6.8 10.2C6.4 11.37 6.4 12.64 6.8 13.8L4.68 15.36L5.43 16.66L7.86 15.62C8.63 16.5 9.68 17.14 10.87 17.38L11.24 20H12.35C12.61 20.75 13 21.42 13.54 22M15.96 12.36C16 12.24 16 12.12 16 12C16 9.79 14.21 8 12 8S8 9.79 8 12 9.79 16 12 16C12.12 16 12.24 16 12.36 15.96C12.97 14.29 14.29 12.97 15.96 12.36M12 14C10.9 14 10 13.11 10 12S10.9 10 12 10 14 10.9 14 12 13.11 14 12 14M16 15V21L21 18L16 15Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M15,20A1,1 0 0,0 14,19H13V17H17A2,2 0 0,0 19,15V5A2,2 0 0,0 17,3H7A2,2 0 0,0 5,5V15A2,2 0 0,0 7,17H11V19H10A1,1 0 0,0 9,20H2V22H9A1,1 0 0,0 10,23H14A1,1 0 0,0 15,22H22V20H15M7,15V5H17V15H7Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M13 17H17V14L22 18.5L17 23V20H13V17M14 12.8C13.5 12.31 12.78 12 12 12C10.34 12 9 13.34 9 15C9 16.31 9.84 17.41 11 17.82C11.07 15.67 12.27 13.8 14 12.8M11.09 19H5V5H16.17L19 7.83V12.35C19.75 12.61 20.42 13 21 13.54V7L17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H11.81C11.46 20.39 11.21 19.72 11.09 19M6 10H15V6H6V10Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M8.2 5L6.2 3H17L21 7V17.8L19 15.8V7.83L16.17 5H8.2M15 10V6H9.2L13.2 10H15M22.11 21.46L20.84 22.73L19.1 21C19.07 21 19.03 21 19 21H5C3.89 21 3 20.1 3 19V5C3 4.97 3 4.93 3 4.9L1.11 3L2.39 1.73L22.11 21.46M17.11 19L14.59 16.5C14.08 17.39 13.12 18 12 18C10.34 18 9 16.66 9 15C9 13.88 9.61 12.92 10.5 12.41L8.11 10H6V7.89L5 6.89V19H17.11Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6M20 6L12 11L4 6H20M20 18H4V8L12 13L20 8V18Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12,3A3,3 0 0,0 9,6C9,9 14,13 6,13A2,2 0 0,0 4,15V17H20V15A2,2 0 0,0 18,13C10,13 15,9 15,6C15,4 13.66,3 12,3M6,19V21H18V19H6Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1M9.12,7.71L7.71,9.12L10.59,12L7.71,14.88L9.12,16.29L12,13.41L14.88,16.29L16.29,14.88L13.41,12L16.29,9.12L14.88,7.71L12,10.59"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3 11H11V3H3M5 5H9V9H5M13 21H21V13H13M15 15H19V19H15M3 21H11V13H3M5 15H9V19H5M13 3V11H21V3M19 9H15V5H19Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3 5V19H20V5H3M7 7V9H5V7H7M5 13V11H7V13H5M5 15H7V17H5V15M18 17H9V15H18V17M18 13H9V11H18V13M18 9H9V7H18V9Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e,n){"use strict";var r,i=(r=n(1))&&"object"===typeof r&&"default"in r?r.default:r,o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["color","size","children"])),l="mdi-icon "+(s.className||"");return i.createElement("svg",o({},s,{className:l,width:a,height:a,fill:n,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M21,11H6.83L10.41,7.41L9,6L3,12L9,18L10.41,16.58L6.83,13H21V11Z"}))},s=i.memo?i.memo(a):a;t.exports=s},function(t,e){t.exports=function(t,e){var n=[];return 0===e.length?n.push({text:t,highlight:!1}):e[0][0]>0&&n.push({text:t.slice(0,e[0][0]),highlight:!1}),e.forEach((function(r,i){var o=r[0],a=r[1];n.push({text:t.slice(o,a),highlight:!0}),i===e.length-1?a<+~=|^:(),"'`\s])/g,v="undefined"!==typeof CSS&&CSS.escape,b=function(t){return v?v(t):t.replace(m,"\\$1")},y=function(){function t(t,e,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),w=function(t){function e(e,n,r){var i;(i=t.call(this,e,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,l=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(s.a)(Object(s.a)(i)),l),i.selectorText="."+b(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=d(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return g(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(y),x={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new w(t,e,n)}},S={indent:1,children:!0},_=/@([\w-]+)/,O=function(){function t(t,e,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var i=t.match(_);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new X(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.toString=function(t){if(void 0===t&&(t=S),null==t.indent&&(t.indent=S.indent),null==t.children&&(t.children=S.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),M=/@media|@supports\s+/,k={onCreateRule:function(t,e,n){return M.test(t)?new O(t,e,n):null}},E={indent:1,children:!0},C=/@keyframes\s+([\w-]+)/,T=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=t.match(C);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===o?this.name:b(s(this,a)),this.rules=new X(Object(r.a)({},n,{parent:this})),e)this.rules.add(l,e[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=E),null==t.indent&&(t.indent=E.indent),null==t.children&&(t.children=E.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),A=/@keyframes\s+/,P=/\$([\w-]+)/g,I=function(t,e){return"string"===typeof t?t.replace(P,(function(t,n){return n in e?e[n]:t})):t},j=function(t,e,n){var r=t[e],i=I(r,n);i!==r&&(t[e]=i)},R={onCreateRule:function(t,e,n){return"string"===typeof t&&A.test(t)?new T(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&j(t,"animation-name",n.keyframes),"animation"in t&&j(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return I(t,r.keyframes);default:return t}}},D=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i=this.index)e.push(t);else for(var r=0;rn)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(l.a)(e,["attached"]),i="",o=0;o0){var n=function(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=st(),n=0;nn?n:e},ft=function(){function t(t){this.getPropertyValue=rt,this.setProperty=it,this.removeProperty=ot,this.setSelector=at,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&Z.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=ct();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=lt(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else st().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n-1},I.prototype.set=function(t,e){var n=this.__data__,r=R(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},j.prototype.clear=function(){this.__data__={hash:new P,map:new(E||I),string:new P}},j.prototype.delete=function(t){return L(this,t).delete(t)},j.prototype.get=function(t){return L(this,t).get(t)},j.prototype.has=function(t){return L(this,t).has(t)},j.prototype.set=function(t,e){return L(this,t).set(t,e),this};var B=z((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(U(t))return A?A.call(t):"";var e=t+"";return"0"==e&&1/t==-r?"-0":e}(e);var n=[];return c.test(t)&&n.push(""),t.replace(u,(function(t,e,r,i){n.push(r?i.replace(h,"$1"):e||t)})),n}));function H(t){if("string"==typeof t||U(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}function z(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(z.Cache||j),n}z.Cache=j;var V=Array.isArray;function W(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function U(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&_.call(t)==a}t.exports=function(t,e,n){var r=null==t?void 0:D(t,e);return void 0===r?n:r}}).call(this,n(62))},function(t,e,n){(function(e){var n="__lodash_hash_undefined__",r=1/0,i=9007199254740991,o="[object Arguments]",a="[object Function]",s="[object GeneratorFunction]",l="[object Symbol]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,h=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,m="object"==typeof e&&e&&e.Object===Object&&e,v="object"==typeof self&&self&&self.Object===Object&&self,b=m||v||Function("return this")();var y=Array.prototype,w=Function.prototype,x=Object.prototype,S=b["__core-js_shared__"],_=function(){var t=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),O=w.toString,M=x.hasOwnProperty,k=x.toString,E=RegExp("^"+O.call(M).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),C=b.Symbol,T=x.propertyIsEnumerable,A=y.splice,P=V(b,"Map"),I=V(Object,"create"),j=C?C.prototype:void 0,R=j?j.toString:void 0;function D(t){var e=-1,n=t?t.length:0;for(this.clear();++e-1&&t%1==0&&t-1},N.prototype.set=function(t,e){var n=this.__data__,r=F(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},L.prototype.clear=function(){this.__data__={hash:new D,map:new(P||N),string:new D}},L.prototype.delete=function(t){return z(this,t).delete(t)},L.prototype.get=function(t){return z(this,t).get(t)},L.prototype.has=function(t){return z(this,t).has(t)},L.prototype.set=function(t,e){return z(this,t).set(t,e),this};var U=G((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(Q(t))return R?R.call(t):"";var e=t+"";return"0"==e&&1/t==-r?"-0":e}(e);var n=[];return h.test(t)&&n.push(""),t.replace(f,(function(t,e,r,i){n.push(r?i.replace(d,"$1"):e||t)})),n}));function Y(t){if("string"==typeof t||Q(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}function G(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(G.Cache||L),n}G.Cache=L;var X=Array.isArray;function q(t){var e=K(t)?k.call(t):"";return e==a||e==s}function $(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function K(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Z(t){return!!t&&"object"==typeof t}function Q(t){return"symbol"==typeof t||Z(t)&&k.call(t)==l}t.exports=function(t,e){return null!=t&&W(t,e,B)}}).call(this,n(62))},function(t,e,n){(function(e){var n="__lodash_hash_undefined__",r=1/0,i=9007199254740991,o="[object Function]",a="[object GeneratorFunction]",s="[object Symbol]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,u=/^\./,h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,g="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,v=g||m||Function("return this")();var b=Array.prototype,y=Function.prototype,w=Object.prototype,x=v["__core-js_shared__"],S=function(){var t=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),_=y.toString,O=w.hasOwnProperty,M=w.toString,k=RegExp("^"+_.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),E=v.Symbol,C=b.splice,T=z(v,"Map"),A=z(Object,"create"),P=E?E.prototype:void 0,I=P?P.toString:void 0;function j(t){var e=-1,n=t?t.length:0;for(this.clear();++e-1&&t%1==0&&t-1},R.prototype.set=function(t,e){var n=this.__data__,r=L(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},D.prototype.clear=function(){this.__data__={hash:new j,map:new(T||R),string:new j}},D.prototype.delete=function(t){return H(this,t).delete(t)},D.prototype.get=function(t){return H(this,t).get(t)},D.prototype.has=function(t){return H(this,t).has(t)},D.prototype.set=function(t,e){return H(this,t).set(t,e),this};var W=Y((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if($(t))return I?I.call(t):"";var e=t+"";return"0"==e&&1/t==-r?"-0":e}(e);var n=[];return u.test(t)&&n.push(""),t.replace(h,(function(t,e,r,i){n.push(r?i.replace(f,"$1"):e||t)})),n}));function U(t){if("string"==typeof t||$(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}function Y(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Y.Cache||D),n}function G(t,e){return t===e||t!==t&&e!==e}Y.Cache=D;var X=Array.isArray;function q(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function $(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&M.call(t)==s}t.exports=function(t,e,n){return null==t?t:B(t,e,n)}}).call(this,n(62))},function(t,e,n){"use strict";n(492);var r=n(4),i=(n(265),n(88)),o=n(16),a=n(50),s=n(32),l=(n(67),n(58)),c=n(57),u=n(48),h=n(1),f=n.n(h),d=(n(33),n(38),n(210),n(42)),p=n(150),g=(n(124),n(493),n(267),n(292));function m(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Object(u.a)(t);if(e){var i=Object(u.a)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}function v(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}var b=function(){var t=arguments.length>1?arguments[1]:void 0,e=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),n=String(t.value).toLowerCase(),r=String(t.label).toLowerCase();return n===e||r===e},y=function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===t)return{};const n={};return Object.keys(t).filter((n=>n.match(/^on[A-Z]/)&&"function"===typeof t[n]&&!e.includes(n))).forEach((e=>{n[e]=t[e]})),n}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e,n){return"function"===typeof t?t(e,n):t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1);const i=()=>r.useRef(void 0)},function(t,e,n){(function(n){var r,i,o;i=[],void 0===(o="function"===typeof(r=function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function r(t,e,n){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){l(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(t,e,n){var s=a.URL||a.webkitURL,l=document.createElement("a");e=e||t.name||"download",l.download=e,l.rel="noopener","string"==typeof t?(l.href=t,l.origin===location.origin?o(l):i(l.href)?r(t,e,n):o(l,l.target="_blank")):(l.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,n,a){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,a),n);else if(i(t))r(t,n,a);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){o(s)}))}}:function(t,e,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return r(t,e,n);var o="application/octet-stream"===t.type,l=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||o&&l||s)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var t=u.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},u.readAsDataURL(t)}else{var h=a.URL||a.webkitURL,f=h.createObjectURL(t);i?i.location=f:location.href=f,i=null,setTimeout((function(){h.revokeObjectURL(f)}),4e4)}});a.saveAs=l.saveAs=l,t.exports=l})?r.apply(e,i):r)||(t.exports=o)}).call(this,n(62))},function(t,e,n){"use strict";var r=n(16),i=n(9),o=n(277),a=n(119),s=n(4);function l(t,e,n){var i;return Object(s.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(s.a)({paddingLeft:e(2),paddingRight:e(2)},n,Object(r.a)({},t.up("sm"),Object(s.a)({paddingLeft:e(3),paddingRight:e(3)},n[t.up("sm")])))},toolbar:(i={minHeight:56},Object(r.a)(i,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(i,t.up("sm"),{minHeight:64}),i)},n)}var c=n(281),u=n(167),h=n(194),f=n(190),d=n(189),p=n(188),g=n(193),m=n(191),v=n(192),b=n(31),y={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:u.a.white,default:h.a[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:u.a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:h.a[800],default:"#303030"},action:{active:u.a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function x(t,e,n,r){var i=r.light||r,o=r.dark||1.5*r;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=Object(b.e)(t.main,i):"dark"===e&&(t.dark=Object(b.a)(t.main,o)))}function S(t){return Math.round(1e5*t)/1e5}var _={textTransform:"uppercase"},O='"Roboto", "Helvetica", "Arial", sans-serif';function M(t,e){var n="function"===typeof e?e(t):e,r=n.fontFamily,a=void 0===r?O:r,l=n.fontSize,c=void 0===l?14:l,u=n.fontWeightLight,h=void 0===u?300:u,f=n.fontWeightRegular,d=void 0===f?400:f,p=n.fontWeightMedium,g=void 0===p?500:p,m=n.fontWeightBold,v=void 0===m?700:m,b=n.htmlFontSize,y=void 0===b?16:b,w=n.allVariants,x=n.pxToRem,M=Object(i.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var k=c/14,E=x||function(t){return"".concat(t/y*k,"rem")},C=function(t,e,n,r,i){return Object(s.a)({fontFamily:a,fontWeight:t,fontSize:E(e),lineHeight:n},a===O?{letterSpacing:"".concat(S(r/e),"em")}:{},i,w)},T={h1:C(h,96,1.167,-1.5),h2:C(h,60,1.2,-.5),h3:C(d,48,1.167,0),h4:C(d,34,1.235,.25),h5:C(d,24,1.334,0),h6:C(g,20,1.6,.15),subtitle1:C(d,16,1.75,.15),subtitle2:C(g,14,1.57,.1),body1:C(d,16,1.5,.15),body2:C(d,14,1.43,.15),button:C(g,14,1.75,.4,_),caption:C(d,12,1.66,.4),overline:C(d,12,2.66,1,_)};return Object(o.a)(Object(s.a)({htmlFontSize:y,pxToRem:E,round:S,fontFamily:a,fontSize:c,fontWeightLight:h,fontWeightRegular:d,fontWeightMedium:g,fontWeightBold:v},T),M,{clone:!1})}function k(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var E=["none",k(0,2,1,-1,0,1,1,0,0,1,3,0),k(0,3,1,-2,0,2,2,0,0,1,5,0),k(0,3,3,-2,0,3,4,0,0,1,8,0),k(0,2,4,-1,0,4,5,0,0,1,10,0),k(0,3,5,-1,0,5,8,0,0,1,14,0),k(0,3,5,-1,0,6,10,0,0,1,18,0),k(0,4,5,-2,0,7,10,1,0,2,16,1),k(0,5,5,-3,0,8,10,1,0,3,14,2),k(0,5,6,-3,0,9,12,1,0,3,16,2),k(0,6,6,-3,0,10,14,1,0,4,18,3),k(0,6,7,-4,0,11,15,1,0,4,20,3),k(0,7,8,-4,0,12,17,2,0,5,22,4),k(0,7,8,-4,0,13,19,2,0,5,24,4),k(0,7,9,-4,0,14,21,2,0,5,26,4),k(0,8,9,-5,0,15,22,2,0,6,28,5),k(0,8,10,-5,0,16,24,2,0,6,30,5),k(0,8,11,-5,0,17,26,2,0,6,32,5),k(0,9,11,-5,0,18,28,2,0,7,34,6),k(0,9,12,-6,0,19,29,2,0,7,36,6),k(0,10,13,-6,0,20,31,3,0,8,38,7),k(0,10,13,-6,0,21,33,3,0,8,40,7),k(0,10,14,-6,0,22,35,3,0,8,42,7),k(0,11,14,-7,0,23,36,3,0,9,44,8),k(0,11,15,-7,0,24,38,3,0,9,46,8)],C={borderRadius:4},T=n(1045);var A=n(71),P=n(283);e.a=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,n=void 0===e?{}:e,r=t.mixins,S=void 0===r?{}:r,_=t.palette,O=void 0===_?{}:_,k=t.spacing,I=t.typography,j=void 0===I?{}:I,R=Object(i.a)(t,["breakpoints","mixins","palette","spacing","typography"]),D=function(t){var e=t.primary,n=void 0===e?{light:f.a[300],main:f.a[500],dark:f.a[700]}:e,r=t.secondary,a=void 0===r?{light:d.a.A200,main:d.a.A400,dark:d.a.A700}:r,l=t.error,S=void 0===l?{light:p.a[300],main:p.a[500],dark:p.a[700]}:l,_=t.warning,O=void 0===_?{light:g.a[300],main:g.a[500],dark:g.a[700]}:_,M=t.info,k=void 0===M?{light:m.a[300],main:m.a[500],dark:m.a[700]}:M,E=t.success,C=void 0===E?{light:v.a[300],main:v.a[500],dark:v.a[700]}:E,T=t.type,A=void 0===T?"light":T,P=t.contrastThreshold,I=void 0===P?3:P,j=t.tonalOffset,R=void 0===j?.2:j,D=Object(i.a)(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function N(t){return Object(b.d)(t,w.text.primary)>=I?w.text.primary:y.text.primary}var L=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=Object(s.a)({},t)).main&&t[e]&&(t.main=t[e]),!t.main)throw new Error(Object(c.a)(4,e));if("string"!==typeof t.main)throw new Error(Object(c.a)(5,JSON.stringify(t.main)));return x(t,"light",n,R),x(t,"dark",r,R),t.contrastText||(t.contrastText=N(t.main)),t},F={dark:w,light:y};return Object(o.a)(Object(s.a)({common:u.a,type:A,primary:L(n),secondary:L(a,"A400","A200","A700"),error:L(S),warning:L(O),info:L(k),success:L(C),grey:h.a,contrastThreshold:I,getContrastText:N,augmentColor:L,tonalOffset:R},F[A]),D)}(O),N=Object(a.a)(n),L=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Object(T.a)({spacing:t}),n=function(){for(var t=arguments.length,n=new Array(t),r=0;r1?B-1:0),z=1;z1&&void 0!==arguments[1]?arguments[1]:{},o=n.name,l=Object(i.a)(n,["name"]);var h,f=o,d="function"===typeof e?function(t){return{root:function(n){return e(Object(r.a)({theme:t},n))}}}:{root:e},p=Object(u.a)(d,Object(r.a)({Component:t,name:o||t.displayName,classNamePrefix:f},l));e.filterProps&&(h=e.filterProps,delete e.filterProps),e.propTypes&&(e.propTypes,delete e.propTypes);var g=a.a.forwardRef((function(e,n){var o=e.children,l=e.className,c=e.clone,u=e.component,f=Object(i.a)(e,["children","className","clone","component"]),d=p(e),g=Object(s.a)(d.root,l),m=f;if(h&&(m=function(t,e){var n={};return Object.keys(t).forEach((function(r){-1===e.indexOf(r)&&(n[r]=t[r])})),n}(m,h)),c)return a.a.cloneElement(o,Object(r.a)({className:Object(s.a)(o.props.className,g)},m));if("function"===typeof o)return o(Object(r.a)({className:g},m));var v=u||t;return a.a.createElement(v,Object(r.a)({ref:n,className:g},m),o)}));return c()(g,t),g}}var f=n(153);e.a=function(t){var e=h(t);return function(t,n){return e(t,Object(r.a)({defaultTheme:f.a},n))}}},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(212),n(14),n(2)),s=n(18),l=n(910),c=n(38),u=n(66),h=n(995),f=n(285),d=n(39);function p(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function g(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function m(t,e){if(void 0===e)return!0;var n=t.innerText;return void 0===n&&(n=t.textContent),0!==(n=n.trim().toLowerCase()).length&&(e.repeating?n[0]===e.keys[0]:0===n.indexOf(e.keys.join("")))}function v(t,e,n,r,i,o){for(var a=!1,s=i(t,e,!!e&&n);s;){if(s===t.firstChild){if(a)return;a=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&m(s,o)&&!l)return void s.focus();s=i(t,s,n)}}var b="undefined"===typeof window?o.useEffect:o.useLayoutEffect,y=o.forwardRef((function(t,e){var n=t.actions,a=t.autoFocus,s=void 0!==a&&a,l=t.autoFocusItem,y=void 0!==l&&l,w=t.children,x=t.className,S=t.disabledItemsFocusable,_=void 0!==S&&S,O=t.disableListWrap,M=void 0!==O&&O,k=t.onKeyDown,E=t.variant,C=void 0===E?"selectedMenu":E,T=Object(i.a)(t,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),A=o.useRef(null),P=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});b((function(){s&&A.current.focus()}),[s]),o.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(t,e){var n=!A.current.style.width;if(t.clientHeight0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var s=r&&!i.repeating&&m(r,i);i.previousKeyMatched&&(s||v(e,r,!1,_,p,i))?t.preventDefault():i.previousKeyMatched=!1}k&&k(t)},tabIndex:s?0:-1},T),D)})),w=n(97),x=n(55),S={vertical:"top",horizontal:"right"},_={vertical:"top",horizontal:"left"},O=o.forwardRef((function(t,e){var n=t.autoFocus,s=void 0===n||n,u=t.children,h=t.classes,f=t.disableAutoFocusItem,d=void 0!==f&&f,p=t.MenuListProps,g=void 0===p?{}:p,m=t.onClose,v=t.onEntering,b=t.open,O=t.PaperProps,M=void 0===O?{}:O,k=t.PopoverClasses,E=t.transitionDuration,C=void 0===E?"auto":E,T=t.variant,A=void 0===T?"selectedMenu":T,P=Object(i.a)(t,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),I=Object(x.a)(),j=s&&!d&&b,R=o.useRef(null),D=o.useRef(null),N=-1;o.Children.map(u,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("menu"!==A&&t.props.selected||-1===N)&&(N=e))}));var L=o.Children.map(u,(function(t,e){return e===N?o.cloneElement(t,{ref:function(e){D.current=c.findDOMNode(e),Object(w.a)(t.ref,e)}}):t}));return o.createElement(l.a,Object(r.a)({getContentAnchorEl:function(){return D.current},classes:k,onClose:m,onEntering:function(t,e){R.current&&R.current.adjustStyleForScrollbar(t,I),v&&v(t,e)},anchorOrigin:"rtl"===I.direction?S:_,transformOrigin:"rtl"===I.direction?S:_,PaperProps:Object(r.a)({},M,{classes:Object(r.a)({},M.classes,{root:h.paper})}),open:b,ref:e,transitionDuration:C},P),o.createElement(y,Object(r.a)({onKeyDown:function(t){"Tab"===t.key&&(t.preventDefault(),m&&m(t,"tabKeyDown"))},actions:R,autoFocus:s&&(-1===N||d),autoFocusItem:j,variant:A},g,{className:Object(a.a)(h.list,g.className)}),L))}));e.a=Object(s.a)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(O)},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(16),a=n(1),s=(n(14),n(2)),l=n(18),c=n(23),u=n(377),h=n(562),f=n(561),d=n(71),p=n(207),g={enter:d.b.enteringScreen,exit:d.b.leavingScreen},m=a.forwardRef((function(t,e){var n=t.BackdropProps,o=t.children,l=t.classes,d=t.className,m=t.disableBackdropClick,v=void 0!==m&&m,b=t.disableEscapeKeyDown,y=void 0!==b&&b,w=t.fullScreen,x=void 0!==w&&w,S=t.fullWidth,_=void 0!==S&&S,O=t.maxWidth,M=void 0===O?"sm":O,k=t.onBackdropClick,E=t.onClose,C=t.onEnter,T=t.onEntered,A=t.onEntering,P=t.onEscapeKeyDown,I=t.onExit,j=t.onExited,R=t.onExiting,D=t.open,N=t.PaperComponent,L=void 0===N?p.a:N,F=t.PaperProps,B=void 0===F?{}:F,H=t.scroll,z=void 0===H?"paper":H,V=t.TransitionComponent,W=void 0===V?f.a:V,U=t.transitionDuration,Y=void 0===U?g:U,G=t.TransitionProps,X=t["aria-describedby"],q=t["aria-labelledby"],$=Object(i.a)(t,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),K=a.useRef();return a.createElement(u.a,Object(r.a)({className:Object(s.a)(l.root,d),BackdropComponent:h.a,BackdropProps:Object(r.a)({transitionDuration:Y},n),closeAfterTransition:!0,disableBackdropClick:v,disableEscapeKeyDown:y,onEscapeKeyDown:P,onClose:E,open:D,ref:e},$),a.createElement(W,Object(r.a)({appear:!0,in:D,timeout:Y,onEnter:C,onEntering:A,onEntered:T,onExit:I,onExiting:R,onExited:j,role:"none presentation"},G),a.createElement("div",{className:Object(s.a)(l.container,l["scroll".concat(Object(c.a)(z))]),onMouseUp:function(t){t.target===t.currentTarget&&t.target===K.current&&(K.current=null,k&&k(t),!v&&E&&E(t,"backdropClick"))},onMouseDown:function(t){K.current=t.target}},a.createElement(L,Object(r.a)({elevation:24,role:"dialog","aria-describedby":X,"aria-labelledby":q},B,{className:Object(s.a)(l.paper,l["paperScroll".concat(Object(c.a)(z))],l["paperWidth".concat(Object(c.a)(String(M)))],B.className,x&&l.paperFullScreen,_&&l.paperFullWidth)}),o))))}));e.a=Object(l.a)((function(t){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(t.breakpoints.values.xs,444),"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:t.breakpoints.values.sm,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:t.breakpoints.values.md,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:t.breakpoints.values.lg,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:t.breakpoints.values.xl,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(m)},function(t,e,n){"use strict";function r(t){var e=t.theme,n=t.name,r=t.props;if(!e||!e.props||!e.props[n])return r;var i,o=e.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(4),i=n(51),o=n(9),a=n(1),s=(n(14),n(206)),l=n(71),c=n(55),u=n(85),h=n(39),f={entering:{opacity:1},entered:{opacity:1}},d={enter:l.b.enteringScreen,exit:l.b.leavingScreen},p=a.forwardRef((function(t,e){var n=t.children,l=t.disableStrictModeCompat,p=void 0!==l&&l,g=t.in,m=t.onEnter,v=t.onEntered,b=t.onEntering,y=t.onExit,w=t.onExited,x=t.onExiting,S=t.style,_=t.TransitionComponent,O=void 0===_?s.a:_,M=t.timeout,k=void 0===M?d:M,E=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),C=Object(c.a)(),T=C.unstable_strictMode&&!p,A=a.useRef(null),P=Object(h.a)(n.ref,e),I=Object(h.a)(T?A:void 0,P),j=function(t){return function(e,n){if(t){var r=T?[A.current,e]:[e,n],o=Object(i.a)(r,2),a=o[0],s=o[1];void 0===s?t(a):t(a,s)}}},R=j(b),D=j((function(t,e){Object(u.b)(t);var n=Object(u.a)({style:S,timeout:k},{mode:"enter"});t.style.webkitTransition=C.transitions.create("opacity",n),t.style.transition=C.transitions.create("opacity",n),m&&m(t,e)})),N=j(v),L=j(x),F=j((function(t){var e=Object(u.a)({style:S,timeout:k},{mode:"exit"});t.style.webkitTransition=C.transitions.create("opacity",e),t.style.transition=C.transitions.create("opacity",e),y&&y(t)})),B=j(w);return a.createElement(O,Object(r.a)({appear:!0,in:g,nodeRef:T?A:void 0,onEnter:D,onEntered:N,onEntering:R,onExit:F,onExited:B,onExiting:L,timeout:k},E),(function(t,e){return a.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,visibility:"exited"!==t||g?void 0:"hidden"},f[t],S,n.props.style),ref:I},e))}))}));e.a=p},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(18),l=n(561),c=o.forwardRef((function(t,e){var n=t.children,s=t.classes,c=t.className,u=t.invisible,h=void 0!==u&&u,f=t.open,d=t.transitionDuration,p=t.TransitionComponent,g=void 0===p?l.a:p,m=Object(i.a)(t,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return o.createElement(g,Object(r.a)({in:f,timeout:d},m),o.createElement("div",{className:Object(a.a)(s.root,c,h&&s.invisible),"aria-hidden":!0,ref:e},n))}));e.a=Object(s.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(c)},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(38)),s=n(101),l=n(206),c=n(39),u=n(55),h=n(71),f=n(85);function d(t,e){var n=function(t,e){var n,r=e.getBoundingClientRect();if(e.fakeTransform)n=e.fakeTransform;else{var i=window.getComputedStyle(e);n=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var o=0,a=0;if(n&&"none"!==n&&"string"===typeof n){var s=n.split("(")[1].split(")")[0].split(",");o=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===t?"translateX(".concat(window.innerWidth,"px) translateX(").concat(o-r.left,"px)"):"right"===t?"translateX(-".concat(r.left+r.width-o,"px)"):"up"===t?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(t,e);n&&(e.style.webkitTransform=n,e.style.transform=n)}var p={enter:h.b.enteringScreen,exit:h.b.leavingScreen},g=o.forwardRef((function(t,e){var n=t.children,h=t.direction,g=void 0===h?"down":h,m=t.in,v=t.onEnter,b=t.onEntered,y=t.onEntering,w=t.onExit,x=t.onExited,S=t.onExiting,_=t.style,O=t.timeout,M=void 0===O?p:O,k=t.TransitionComponent,E=void 0===k?l.a:k,C=Object(i.a)(t,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),T=Object(u.a)(),A=o.useRef(null),P=o.useCallback((function(t){A.current=a.findDOMNode(t)}),[]),I=Object(c.a)(n.ref,P),j=Object(c.a)(I,e),R=function(t){return function(e){t&&(void 0===e?t(A.current):t(A.current,e))}},D=R((function(t,e){d(g,t),Object(f.b)(t),v&&v(t,e)})),N=R((function(t,e){var n=Object(f.a)({timeout:M,style:_},{mode:"enter"});t.style.webkitTransition=T.transitions.create("-webkit-transform",Object(r.a)({},n,{easing:T.transitions.easing.easeOut})),t.style.transition=T.transitions.create("transform",Object(r.a)({},n,{easing:T.transitions.easing.easeOut})),t.style.webkitTransform="none",t.style.transform="none",y&&y(t,e)})),L=R(b),F=R(S),B=R((function(t){var e=Object(f.a)({timeout:M,style:_},{mode:"exit"});t.style.webkitTransition=T.transitions.create("-webkit-transform",Object(r.a)({},e,{easing:T.transitions.easing.sharp})),t.style.transition=T.transitions.create("transform",Object(r.a)({},e,{easing:T.transitions.easing.sharp})),d(g,t),w&&w(t)})),H=R((function(t){t.style.webkitTransition="",t.style.transition="",x&&x(t)})),z=o.useCallback((function(){A.current&&d(g,A.current)}),[g]);return o.useEffect((function(){if(!m&&"down"!==g&&"right"!==g){var t=Object(s.a)((function(){A.current&&d(g,A.current)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[g,m]),o.useEffect((function(){m||z()}),[m,z]),o.createElement(E,Object(r.a)({nodeRef:A,onEnter:D,onEntered:L,onEntering:N,onExit:B,onExited:H,onExiting:F,appear:!0,in:m,timeout:M},C),(function(t,e){return o.cloneElement(n,Object(r.a)({ref:j,style:Object(r.a)({visibility:"exited"!==t||m?void 0:"hidden"},_,n.props.style)},e))}))}));e.a=g},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(18),l=n(106),c=o.forwardRef((function(t,e){var n=t.children,s=t.classes,c=t.className,u=t.disableTypography,h=void 0!==u&&u,f=Object(i.a)(t,["children","classes","className","disableTypography"]);return o.createElement("div",Object(r.a)({className:Object(a.a)(s.root,c),ref:e},f),h?n:o.createElement(l.a,{component:"h2",variant:"h6"},n))}));e.a=Object(s.a)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(c)},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(1),a=(n(14),n(2)),s=n(18),l=o.forwardRef((function(t,e){var n=t.disableSpacing,s=void 0!==n&&n,l=t.classes,c=t.className,u=Object(i.a)(t,["disableSpacing","classes","className"]);return o.createElement("div",Object(r.a)({className:Object(a.a)(l.root,c,!s&&l.spacing),ref:e},u))}));e.a=Object(s.a)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(l)},function(t,e,n){"use strict";n.d(e,"a",(function(){return go}));var r=n(4),i=n(83),o=(n(63),n(32)),a=n(43),s=n(52),l=n(29),c={}.constructor;function u(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(u);if(t.constructor!==c)return t;var e={};for(var n in t)e[n]=u(t[n]);return e}function h(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=u(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var f=function(t,e){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,b="undefined"!==typeof CSS&&CSS.escape,y=function(t){return b?b(t):t.replace(v,"\\$1")},w=function(){function t(t,e,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),x=function(t){function e(e,n,r){var i;i=t.call(this,e,n,r)||this;var o=r.selector,a=r.scoped,l=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(s.a)(Object(s.a)(i)),l),i.selectorText="."+y(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=d(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return m(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(w),S={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new x(t,e,n)}},_={indent:1,children:!0},O=/@([\w-]+)/,M=function(){function t(t,e,n){this.type="conditional",this.isProcessed=!1,this.key=t;var i=t.match(O);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new $(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.toString=function(t){void 0===t&&(t=_);var e=p(t).linebreak;if(null==t.indent&&(t.indent=_.indent),null==t.children&&(t.children=_.children),!1===t.children)return this.query+" {}";var n=this.rules.toString(t);return n?this.query+" {"+e+n+e+"}":""},t}(),k=/@container|@media|@supports\s+/,E={onCreateRule:function(t,e,n){return k.test(t)?new M(t,e,n):null}},C={indent:1,children:!0},T=/@keyframes\s+([\w-]+)/,A=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=t.match(T);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===o?this.name:y(s(this,a)),this.rules=new $(Object(r.a)({},n,{parent:this})),e)this.rules.add(l,e[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=C);var e=p(t).linebreak;if(null==t.indent&&(t.indent=C.indent),null==t.children&&(t.children=C.children),!1===t.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(t);return n&&(n=""+e+n+e),this.at+" "+this.id+" {"+n+"}"},t}(),P=/@keyframes\s+/,I=/\$([\w-]+)/g,j=function(t,e){return"string"===typeof t?t.replace(I,(function(t,n){return n in e?e[n]:t})):t},R=function(t,e,n){var r=t[e],i=j(r,n);i!==r&&(t[e]=i)},D={onCreateRule:function(t,e,n){return"string"===typeof t&&P.test(t)?new A(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&R(t,"animation-name",n.keyframes),"animation"in t&&R(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return j(t,r.keyframes);default:return t}}},N=function(t){function e(){return t.apply(this,arguments)||this}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return m(this.key,this.style,n)},e}(w),L={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new N(t,e,n):null}},F=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){var e=p(t).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)e.push(t);else for(var r=0;rn)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(l.a)(e,["attached"]),i=p(r).linebreak,o="",a=0;a-1?r.substr(0,i-1):r;t.style.setProperty(e,o,i>-1?"important":"")}}catch(a){return!1}return!0},st=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},lt=function(t,e){return t.selectorText=e,t.selectorText===e},ct=it((function(){return document.querySelector("head")}));function ut(t){var e=J.registry;if(e.length>0){var n=function(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=ct(),n=0;nn?n:e},pt=function(){function t(t){this.getPropertyValue=ot,this.setProperty=at,this.removeProperty=st,this.setSelector=lt,this.hasInsertedRules=!1,this.cssRules=[],t&&J.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=ht();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=ut(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else ct().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<+~=|^:(),"'`\s])/g,Pt="undefined"!==typeof CSS&&CSS.escape,It=function(t){return Pt?Pt(t):t.replace(At,"\\$1")},jt=function(){function t(t,e,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),Rt=function(t){function e(e,n,r){var i;i=t.call(this,e,n,r)||this;var o=r.selector,a=r.scoped,l=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(s.a)(Object(s.a)(i)),l),i.selectorText="."+It(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=kt(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return Tt(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(jt),Dt={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new Rt(t,e,n)}},Nt={indent:1,children:!0},Lt=/@([\w-]+)/,Ft=function(){function t(t,e,n){this.type="conditional",this.isProcessed=!1,this.key=t;var i=t.match(Lt);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new le(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.toString=function(t){void 0===t&&(t=Nt);var e=Et(t).linebreak;if(null==t.indent&&(t.indent=Nt.indent),null==t.children&&(t.children=Nt.children),!1===t.children)return this.query+" {}";var n=this.rules.toString(t);return n?this.query+" {"+e+n+e+"}":""},t}(),Bt=/@container|@media|@supports\s+/,Ht={onCreateRule:function(t,e,n){return Bt.test(t)?new Ft(t,e,n):null}},zt={indent:1,children:!0},Vt=/@keyframes\s+([\w-]+)/,Wt=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=t.match(Vt);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===o?this.name:It(s(this,a)),this.rules=new le(Object(r.a)({},n,{parent:this})),e)this.rules.add(l,e[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=zt);var e=Et(t).linebreak;if(null==t.indent&&(t.indent=zt.indent),null==t.children&&(t.children=zt.children),!1===t.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(t);return n&&(n=""+e+n+e),this.at+" "+this.id+" {"+n+"}"},t}(),Ut=/@keyframes\s+/,Yt=/\$([\w-]+)/g,Gt=function(t,e){return"string"===typeof t?t.replace(Yt,(function(t,n){return n in e?e[n]:t})):t},Xt=function(t,e,n){var r=t[e],i=Gt(r,n);i!==r&&(t[e]=i)},qt={onCreateRule:function(t,e,n){return"string"===typeof t&&Ut.test(t)?new Wt(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&Xt(t,"animation-name",n.keyframes),"animation"in t&&Xt(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return Gt(t,r.keyframes);default:return t}}},$t=function(t){function e(){return t.apply(this,arguments)||this}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return Tt(this.key,this.style,n)},e}(jt),Kt={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new $t(t,e,n):null}},Zt=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){var e=Et(t).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)e.push(t);else for(var r=0;rn)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(l.a)(e,["attached"]),i=Et(r).linebreak,o="",a=0;a-1?r.substr(0,i-1):r;t.style.setProperty(e,o,i>-1?"important":"")}}catch(a){return!1}return!0},we=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},xe=function(t,e){return t.selectorText=e,t.selectorText===e},Se=ve((function(){return document.querySelector("head")}));function _e(t){var e=fe.registry;if(e.length>0){var n=function(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=Se(),n=0;nn?n:e},Ee=function(){function t(t){this.getPropertyValue=be,this.setProperty=ye,this.removeProperty=we,this.setSelector=xe,this.hasInsertedRules=!1,this.cssRules=[],t&&fe.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=Oe();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=_e(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else Se().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<+~=|^:(),"'`\s])/g,rn="undefined"!==typeof CSS&&CSS.escape,on=function(t){return rn?rn(t):t.replace(nn,"\\$1")},an=function(){function t(t,e,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),sn=function(t){function e(e,n,r){var i;i=t.call(this,e,n,r)||this;var o=r.selector,a=r.scoped,l=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(s.a)(Object(s.a)(i)),l),i.selectorText="."+on(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=Qe(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return en(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(an),ln={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new sn(t,e,n)}},cn={indent:1,children:!0},un=/@([\w-]+)/,hn=function(){function t(t,e,n){this.type="conditional",this.isProcessed=!1,this.key=t;var i=t.match(un);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Dn(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.toString=function(t){void 0===t&&(t=cn);var e=Je(t).linebreak;if(null==t.indent&&(t.indent=cn.indent),null==t.children&&(t.children=cn.children),!1===t.children)return this.query+" {}";var n=this.rules.toString(t);return n?this.query+" {"+e+n+e+"}":""},t}(),fn=/@container|@media|@supports\s+/,dn={onCreateRule:function(t,e,n){return fn.test(t)?new hn(t,e,n):null}},pn={indent:1,children:!0},gn=/@keyframes\s+([\w-]+)/,mn=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=t.match(gn);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===o?this.name:on(s(this,a)),this.rules=new Dn(Object(r.a)({},n,{parent:this})),e)this.rules.add(l,e[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=pn);var e=Je(t).linebreak;if(null==t.indent&&(t.indent=pn.indent),null==t.children&&(t.children=pn.children),!1===t.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(t);return n&&(n=""+e+n+e),this.at+" "+this.id+" {"+n+"}"},t}(),vn=/@keyframes\s+/,bn=/\$([\w-]+)/g,yn=function(t,e){return"string"===typeof t?t.replace(bn,(function(t,n){return n in e?e[n]:t})):t},wn=function(t,e,n){var r=t[e],i=yn(r,n);i!==r&&(t[e]=i)},xn={onCreateRule:function(t,e,n){return"string"===typeof t&&vn.test(t)?new mn(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&wn(t,"animation-name",n.keyframes),"animation"in t&&wn(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return yn(t,r.keyframes);default:return t}}},Sn=function(t){function e(){return t.apply(this,arguments)||this}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return en(this.key,this.style,n)},e}(an),_n={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new Sn(t,e,n):null}},On=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){var e=Je(t).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)e.push(t);else for(var r=0;rn)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(l.a)(e,["attached"]),i=Je(r).linebreak,o="",a=0;a-1?r.substr(0,i-1):r;t.style.setProperty(e,o,i>-1?"important":"")}}catch(a){return!1}return!0},Xn=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},qn=function(t,e){return t.selectorText=e,t.selectorText===e},$n=Un((function(){return document.querySelector("head")}));function Kn(t){var e=Bn.registry;if(e.length>0){var n=function(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=$n(),n=0;nn?n:e},tr=function(){function t(t){this.getPropertyValue=Yn,this.setProperty=Gn,this.removeProperty=Xn,this.setSelector=qn,this.hasInsertedRules=!1,this.cssRules=[],t&&Bn.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=Zn();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=Kn(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else $n().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n-1){var i=Vr[t];if(!Array.isArray(i))return wr.js+kr(i)in e&&wr.css+i;if(!r)return!1;for(var o=0;o<+~=|^:(),"'`\s])/g,di="undefined"!==typeof CSS&&CSS.escape,pi=function(t){return di?di(t):t.replace(fi,"\\$1")},gi=function(){function t(t,e,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),mi=function(t){function e(e,n,r){var i;i=t.call(this,e,n,r)||this;var o=r.selector,a=r.scoped,l=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(s.a)(Object(s.a)(i)),l),i.selectorText="."+pi(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=li(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return hi(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(gi),vi={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new mi(t,e,n)}},bi={indent:1,children:!0},yi=/@([\w-]+)/,wi=function(){function t(t,e,n){this.type="conditional",this.isProcessed=!1,this.key=t;var i=t.match(yi);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Ui(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.toString=function(t){void 0===t&&(t=bi);var e=ci(t).linebreak;if(null==t.indent&&(t.indent=bi.indent),null==t.children&&(t.children=bi.children),!1===t.children)return this.query+" {}";var n=this.rules.toString(t);return n?this.query+" {"+e+n+e+"}":""},t}(),xi=/@container|@media|@supports\s+/,Si={onCreateRule:function(t,e,n){return xi.test(t)?new wi(t,e,n):null}},_i={indent:1,children:!0},Oi=/@keyframes\s+([\w-]+)/,Mi=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=t.match(Oi);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===o?this.name:pi(s(this,a)),this.rules=new Ui(Object(r.a)({},n,{parent:this})),e)this.rules.add(l,e[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=_i);var e=ci(t).linebreak;if(null==t.indent&&(t.indent=_i.indent),null==t.children&&(t.children=_i.children),!1===t.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(t);return n&&(n=""+e+n+e),this.at+" "+this.id+" {"+n+"}"},t}(),ki=/@keyframes\s+/,Ei=/\$([\w-]+)/g,Ci=function(t,e){return"string"===typeof t?t.replace(Ei,(function(t,n){return n in e?e[n]:t})):t},Ti=function(t,e,n){var r=t[e],i=Ci(r,n);i!==r&&(t[e]=i)},Ai={onCreateRule:function(t,e,n){return"string"===typeof t&&ki.test(t)?new Mi(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&Ti(t,"animation-name",n.keyframes),"animation"in t&&Ti(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return Ci(t,r.keyframes);default:return t}}},Pi=function(t){function e(){return t.apply(this,arguments)||this}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return hi(this.key,this.style,n)},e}(gi),Ii={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new Pi(t,e,n):null}},ji=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){var e=ci(t).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)e.push(t);else for(var r=0;rn)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(l.a)(e,["attached"]),i=ci(r).linebreak,o="",a=0;a-1?r.substr(0,i-1):r;t.style.setProperty(e,o,i>-1?"important":"")}}catch(a){return!1}return!0},no=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},ro=function(t,e){return t.selectorText=e,t.selectorText===e},io=Ji((function(){return document.querySelector("head")}));function oo(t){var e=qi.registry;if(e.length>0){var n=function(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=io(),n=0;nn?n:e},co=function(){function t(t){this.getPropertyValue=to,this.setProperty=eo,this.removeProperty=no,this.setSelector=ro,this.hasInsertedRules=!1,this.cssRules=[],t&&qi.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=ao();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=oo(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else io().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;ne?1:-1:t.length-e.length};return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r={},i=Object.keys(e).sort(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{},n=e.i18n,r=Object(s.useContext)(l.a)||{},o=r.i18n,a=r.defaultNS,c=n||o||Object(l.d)();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new l.b),!c){h("You will need to pass in an i18next instance by using initReactI18next");var u=function(t){return Array.isArray(t)?t[t.length-1]:t},d=[u,{},!1];return d.t=u,d.i18n={},d.ready=!1,d}var g=p(p(p({},Object(l.c)()),c.options.react),e),m=g.useSuspense,v=t||a||c.options&&c.options.defaultNS;v="string"===typeof v?[v]:v||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(v);var b=(c.isInitialized||c.initializedStoreOnce)&&v.every((function(t){return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e.languages||!e.languages.length)return h("i18n.languages were undefined or empty",e.languages),!0;var r=e.languages[0],i=!!e.options&&e.options.fallbackLng,o=e.languages[e.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(t,n){var r=e.services.backendConnector.state["".concat(t,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!a(e.isLanguageChangingTo,t))&&(!!e.hasResourceBundle(r,t)||!e.services.backendConnector.backend||!(!a(r,t)||i&&!a(o,t)))}(t,c,g)}));function y(){return{t:c.getFixedT(null,"fallback"===g.nsMode?v:v[0])}}var w=Object(s.useState)(y()),x=i()(w,2),S=x[0],_=x[1],O=Object(s.useRef)(!0);Object(s.useEffect)((function(){var t=g.bindI18n,e=g.bindI18nStore;function n(){O.current&&_(y())}return O.current=!0,b||m||f(c,v,(function(){O.current&&_(y())})),t&&c&&c.on(t,n),e&&c&&c.store.on(e,n),function(){O.current=!1,t&&c&&t.split(" ").forEach((function(t){return c.off(t,n)})),e&&c&&e.split(" ").forEach((function(t){return c.store.off(t,n)}))}}),[v.join()]);var M=[S.t,c,b];if(M.t=S.t,M.i18n=c,M.ready=b,b)return M;if(!b&&!m)return M;throw new Promise((function(t){f(c,v,(function(){t()}))}))}},function(t,e,n){"use strict";var r=n(9),i=n(4),o=n(281),a=n(1),s=(n(14),n(2)),l=n(111),c=n(128),u=n(18),h=n(23),f=n(39),d=n(101);function p(t,e){return parseInt(t[e],10)||0}var g="undefined"!==typeof window?a.useLayoutEffect:a.useEffect,m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},v=a.forwardRef((function(t,e){var n=t.onChange,o=t.rows,s=t.rowsMax,l=t.rowsMin,c=void 0===l?1:l,u=t.style,h=t.value,v=Object(r.a)(t,["onChange","rows","rowsMax","rowsMin","style","value"]),b=o||c,y=a.useRef(null!=h).current,w=a.useRef(null),x=Object(f.a)(e,w),S=a.useRef(null),_=a.useRef(0),O=a.useState({}),M=O[0],k=O[1],E=a.useCallback((function(){var e=w.current,n=window.getComputedStyle(e),r=S.current;r.style.width=n.width,r.value=e.value||t.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],o=p(n,"padding-bottom")+p(n,"padding-top"),a=p(n,"border-bottom-width")+p(n,"border-top-width"),l=r.scrollHeight-o;r.value="x";var c=r.scrollHeight-o,u=l;b&&(u=Math.max(Number(b)*c,u)),s&&(u=Math.min(Number(s)*c,u));var h=(u=Math.max(u,c))+("border-box"===i?o+a:0),f=Math.abs(u-l)<=1;k((function(t){return _.current<20&&(h>0&&Math.abs((t.outerHeightStyle||0)-h)>1||t.overflow!==f)?(_.current+=1,{overflow:f,outerHeightStyle:h}):t}))}),[s,b,t.placeholder]);a.useEffect((function(){var t=Object(d.a)((function(){_.current=0,E()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}),[E]),g((function(){E()})),a.useEffect((function(){_.current=0}),[h]);return a.createElement(a.Fragment,null,a.createElement("textarea",Object(i.a)({value:h,onChange:function(t){_.current=0,y||E(),n&&n(t)},ref:x,rows:b,style:Object(i.a)({height:M.outerHeightStyle,overflow:M.overflow?"hidden":null},u)},v)),a.createElement("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:S,tabIndex:-1,style:Object(i.a)({},m,u)}))})),b=n(168),y="undefined"===typeof window?a.useEffect:a.useLayoutEffect,w=a.forwardRef((function(t,e){var n=t["aria-describedby"],u=t.autoComplete,d=t.autoFocus,p=t.classes,g=t.className,m=(t.color,t.defaultValue),w=t.disabled,x=t.endAdornment,S=(t.error,t.fullWidth),_=void 0!==S&&S,O=t.id,M=t.inputComponent,k=void 0===M?"input":M,E=t.inputProps,C=void 0===E?{}:E,T=t.inputRef,A=(t.margin,t.multiline),P=void 0!==A&&A,I=t.name,j=t.onBlur,R=t.onChange,D=t.onClick,N=t.onFocus,L=t.onKeyDown,F=t.onKeyUp,B=t.placeholder,H=t.readOnly,z=t.renderSuffix,V=t.rows,W=t.rowsMax,U=t.rowsMin,Y=t.startAdornment,G=t.type,X=void 0===G?"text":G,q=t.value,$=Object(r.a)(t,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","startAdornment","type","value"]),K=null!=C.value?C.value:q,Z=a.useRef(null!=K).current,Q=a.useRef(),J=a.useCallback((function(t){0}),[]),tt=Object(f.a)(C.ref,J),et=Object(f.a)(T,tt),nt=Object(f.a)(Q,et),rt=a.useState(!1),it=rt[0],ot=rt[1],at=Object(c.b)();var st=Object(l.a)({props:t,muiFormControl:at,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});st.focused=at?at.focused:it,a.useEffect((function(){!at&&w&&it&&(ot(!1),j&&j())}),[at,w,it,j]);var lt=at&&at.onFilled,ct=at&&at.onEmpty,ut=a.useCallback((function(t){Object(b.b)(t)?lt&<():ct&&ct()}),[lt,ct]);y((function(){Z&&ut({value:K})}),[K,ut,Z]);a.useEffect((function(){ut(Q.current)}),[]);var ht=k,ft=Object(i.a)({},C,{ref:nt});"string"!==typeof ht?ft=Object(i.a)({inputRef:nt,type:X},ft,{ref:null}):P?!V||W||U?(ft=Object(i.a)({rows:V,rowsMax:W},ft),ht=v):ht="textarea":ft=Object(i.a)({type:X},ft);return a.useEffect((function(){at&&at.setAdornedStart(Boolean(Y))}),[at,Y]),a.createElement("div",Object(i.a)({className:Object(s.a)(p.root,p["color".concat(Object(h.a)(st.color||"primary"))],g,st.disabled&&p.disabled,st.error&&p.error,_&&p.fullWidth,st.focused&&p.focused,at&&p.formControl,P&&p.multiline,Y&&p.adornedStart,x&&p.adornedEnd,"dense"===st.margin&&p.marginDense),onClick:function(t){Q.current&&t.currentTarget===t.target&&Q.current.focus(),D&&D(t)},ref:e},$),Y,a.createElement(c.a.Provider,{value:null},a.createElement(ht,Object(i.a)({"aria-invalid":st.error,"aria-describedby":n,autoComplete:u,autoFocus:d,defaultValue:m,disabled:st.disabled,id:O,onAnimationStart:function(t){ut("mui-auto-fill-cancel"===t.animationName?Q.current:{value:"x"})},name:I,placeholder:B,readOnly:H,required:st.required,rows:V,value:K,onKeyDown:L,onKeyUp:F},ft,{className:Object(s.a)(p.input,C.className,st.disabled&&p.disabled,P&&p.inputMultiline,st.hiddenLabel&&p.inputHiddenLabel,Y&&p.inputAdornedStart,x&&p.inputAdornedEnd,"search"===X&&p.inputTypeSearch,"dense"===st.margin&&p.inputMarginDense),onBlur:function(t){j&&j(t),C.onBlur&&C.onBlur(t),at&&at.onBlur?at.onBlur(t):ot(!1)},onChange:function(t){if(!Z){var e=t.target||Q.current;if(null==e)throw new Error(Object(o.a)(1));ut({value:e.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i