!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=69)}([function(e,t,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t=0&&h.splice(t,1)}function v(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return y(t,e.attrs),g(e,t),t}function y(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function m(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var a=c++;n=l||(l=v(t)),r=C.bind(null,n,a,!1),i=C.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),g(e,t),t}(t),r=T.bind(null,n,t),i=function(){b(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=S.bind(null,n),i=function(){b(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return d(n,t),function(e){for(var r=[],i=0;i * @license BSD-3-Clause * @version 3.6.1 */!function(t){var n=/^(b|B)$/,r={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},i={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[],a=0,s=void 0,u=void 0,l=void 0,c=void 0,h=void 0,f=void 0,d=void 0,p=void 0,g=void 0,b=void 0,v=void 0,y=void 0,m=void 0,x=void 0,w=void 0;if(isNaN(e))throw new Error("Invalid arguments");return l=!0===t.bits,v=!0===t.unix,u=t.base||2,b=void 0!==t.round?t.round:v?1:2,y=void 0!==t.separator&&t.separator||"",m=void 0!==t.spacer?t.spacer:v?"":" ",w=t.symbols||t.suffixes||{},x=2===u&&t.standard||"jedec",g=t.output||"string",h=!0===t.fullform,f=t.fullforms instanceof Array?t.fullforms:[],s=void 0!==t.exponent?t.exponent:-1,c=u>2?1e3:1024,(d=(p=Number(e))<0)&&(p=-p),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(p)/Math.log(c)))<0&&(s=0),s>8&&(s=8),0===p?(o[0]=0,o[1]=v?"":r[x][l?"bits":"bytes"][s]):(a=p/(2===u?Math.pow(2,10*s):Math.pow(1e3,s)),l&&(a*=8)>=c&&s<8&&(a/=c,s++),o[0]=Number(a.toFixed(s>0?b:0)),o[1]=10===u&&1===s?l?"kb":"kB":r[x][l?"bits":"bytes"][s],v&&(o[1]="jedec"===x?o[1].charAt(0):s>0?o[1].replace(/B$/,""):o[1],n.test(o[1])&&(o[0]=Math.floor(o[0]),o[1]=""))),d&&(o[0]=-o[0]),o[1]=w[o[1]]||o[1],"array"===g?o:"exponent"===g?s:"object"===g?{value:o[0],suffix:o[1],symbol:o[1]}:(h&&(o[1]=f[s]?f[s]:i[x][s]+(l?"bit":"byte")+(1===o[0]?"":"s")),y.length>0&&(o[0]=o[0].toString().replace(".",y)),o.join(m))}o.partial=function(e){return function(t){return o(t,e)}},e.exports=o}("undefined"!=typeof window&&window)},function(e,t,n){var r=n(48);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(59),i=n(14),o=/[&<>"']/g,a=RegExp(o.source);e.exports=function(e){return(e=i(e))&&a.test(e)?e.replace(o,r):e}},function(e,t,n){var r=n(30);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(31);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(61);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(19).Symbol;e.exports=r},function(e,t,n){var r=n(56);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(28);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(38);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(42),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){var r=n(44),i=n(47);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t){ /** * Carrot Search FoamTree HTML5 (demo variant) * v3.4.5, 4fa198d722d767b68d0409e88290ea6de98d1eaa/4fa198d7, build FOAMTREE-SOFTWARE4-DIST-39, Jul 26, 2017 * * Carrot Search confidential. * Copyright 2002-2017, Carrot Search s.c, All Rights Reserved. */ !function(){var e,t=function(){var e,n=window.navigator.userAgent;try{window.localStorage.setItem("ftap5caavc","ftap5caavc"),window.localStorage.removeItem("ftap5caavc"),e=!0}catch(r){e=!1}return{of:function(){return/webkit/i.test(n)},mf:function(){return/Mac/.test(n)},lf:function(){return/iPad|iPod|iPhone/.test(n)},hf:function(){return/Android/.test(n)},ii:function(){return"ontouchstart"in window||!!window.DocumentTouch&&document instanceof window.DocumentTouch},hi:function(){return e},gi:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},Dd:function(e,n){return[].forEach&&t.gi()?e&&e():n&&n()}}}(),n=function(){function e(){return window.performance&&(window.performance.now||window.performance.mozNow||window.performance.msNow||window.performance.oNow||window.performance.webkitNow)||Date.now}var t=e();return{create:function(){return{now:(t=e(),function(){return t.call(window.performance)})};var t},now:function(){return t.call(window.performance)}}}();function r(){function r(){if(!u)throw"AF0";var e=n.now();0!==l&&(o.Kd=e-l),l=e,s=s.filter((function(e){return null!==e})),o.frames++;for(var t=0;t=r.repeat&&(s[t]=null)))}s=s.filter((function(e){return null!==e})),u=!1,i(),0!==(e=n.now()-e)&&(o.Jd=e),o.totalTime+=e,o.Oe=1e3*o.frames/o.totalTime,l=0===s.length?0:n.now()}function i(){0n?16-n:0)}}(),s=[],u=!1,l=0;this.repeat=function(e,t,n){this.cancel(e),s.push({ye:e,Yg:n,repeat:t}),i()},this.d=function(e,t){this.repeat(e,1,t)},this.cancel=function(e){for(var t=0;t=t;t++)s=2*t*Math.PI/6,l.push({x:0+100*Math.sin(s),y:0+100*Math.cos(s)});t={polygonPlainFill:[e,function(e){e.fillStyle="rgb(255, 0, 0)",e.fill()}],polygonPlainStroke:[e,function(e){e.strokeStyle="rgb(128, 0, 0)",e.lineWidth=2,e.closePath(),e.stroke()}],polygonGradientFill:[e,function(e){var t=e.createRadialGradient(0,0,10,0,0,60);t.addColorStop(0,"rgb(255, 0, 0)"),t.addColorStop(1,"rgb(255, 255, 0)"),e.fillStyle=t,e.fill()}],polygonGradientStroke:[e,function(e){var t=e.createLinearGradient(-100,-100,100,100);t.addColorStop(0,"rgb(224, 0, 0)"),t.addColorStop(1,"rgb(32, 0, 0)"),e.strokeStyle=t,e.lineWidth=2,e.closePath(),e.stroke()}],polygonExposureShadow:[e,function(e){e.shadowBlur=50,e.shadowColor="rgba(0, 0, 0, 1)",e.fillStyle="rgba(0, 0, 0, 1)",e.globalCompositeOperation="source-over",e.fill(),e.shadowBlur=0,e.shadowColor="transparent",e.globalCompositeOperation="destination-out",e.fill()}],labelPlainFill:[function(e){e.fillStyle="#000",e.font="24px sans-serif",e.textAlign="center"},function(e){e.fillText("Some text",0,-16),e.fillText("for testing purposes",0,16)}]},s=100/Object.keys(t).length;var c,h=n.now(),f={};for(c in t){var d,p=t[c],g=n.now(),b=0;do{for(r.save(),r.translate(Math.random()*o,Math.random()*a),d=3*Math.random()+.5,r.scale(d,d),d=0;dMath.abs(l))&&(u.x=((e*r-t*n)*(i-a)-(e-n)*(i*s-o*a))/l,u.y=((e*r-t*n)*(o-s)-(t-r)*(i*s-o*a))/l,!0)}var i,o,a=1,s={x:0,y:0},u=1,l=1,c=1,h={x:0,y:0},f=1,d={x:0,y:0},p={x:0,y:0},g={x:0,y:0},b={x:0,y:0,f:0,i:0},v={x:0,y:0,f:0,i:0,scale:1},y=!0;e.c.j("stage:initialized",(function(e,t,n,r){i=n,o=r,b.x=0,b.y=0,b.f=n,b.i=r,v.x=0,v.y=0,v.f=n,v.i=r,v.scale=1})),e.c.j("stage:resized",(function(e,t,n,r){function a(e){e.x*=l,e.y*=c}function u(e){a(e),e.f*=l,e.i*=c}i=n,o=r;var l=n/e,c=r/t;a(s),a(d),a(h),a(p),a(g),u(b),u(v)})),this.Yb=function(e,r){return t(r,(function(){n(e,h)}),!0)},this.Y=function(e,n){if(1==Math.round(1e4*n)/1e4){var i=b.x-d.x,o=b.y-d.y;return t(1,(function(){}),!0),this.d(-i,-o)}return t(n,(function(){for(var t=!1;!t;){t=Math.random();var n=Math.random(),i=Math.random(),o=Math.random();t=r(e.x+t*e.f,e.y+n*e.i,b.x+t*b.f,b.y+n*b.i,e.x+i*e.f,e.y+o*e.i,b.x+i*b.f,b.y+o*b.i,h)}}),!0)},this.sc=function(e,n){var a,s,u,l;return(a=e.f/e.i)<(s=i/o)?(u=e.i*s,l=e.i,a=e.x-.5*(u-e.f),s=e.y):a>s?(u=e.f,l=e.f*o/i,a=e.x,s=e.y-.5*(l-e.i)):(a=e.x,s=e.y,u=e.f,l=e.i),a-=u*n,u*=1+2*n,r(a,s-=l*n,d.x,d.y,a+u,s,d.x+i/f,d.y,h)?t(i/f/u,m.ta,!1):(y=!1,this.d(f*(d.x-a),f*(d.y-s)))},this.d=function(e,t){var n=Math.round(1e4*e)/1e4,r=Math.round(1e4*t)/1e4;return g.x+=n/f,g.y+=r/f,0!==n||0!==r},this.reset=function(e){return e&&this.content(0,0,i,o),this.Y({x:b.x+d.x,y:b.y+d.y,f:b.f/f,i:b.i/f},c/u)},this.Qb=function(e){c=Math.min(1,Math.round(1e4*(e||u))/1e4)},this.k=function(){return d.xb.x+b.f?-(d.x+i/f-b.x-b.f)*f:0},this.A=function(){return d.yb.y+b.i?-(d.y+o/f-b.y-b.i)*f:0},this.update=function(e){var t=Math.abs(Math.log(l));6>t?t=2:(t/=4,t+=3*t*(1n&&(n+=1),1n?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if("rgb"==e.model||"rgba"==e.model)return Math.sqrt(e.r*e.r*.241+e.g*e.g*.691+e.b*e.b*.068)/255;var n,r;n=e.l/100;var i=e.s/100;if(r=e.h/360,0==e.Wj)n=e=r=n;else{var o=2*n-(i=.5>n?n*(1+i):n+i-n*i);n=t(o,i,r+1/3),e=t(o,i,r),r=t(o,i,r-1/3)}return Math.sqrt(65025*n*n*.241+65025*e*e*.691+65025*r*r*.068)/255},this.Ng=function(e){if(m.Tc(e))return e;if(!m.jc(e))return"#000";switch(e.model){case"hsla":return h.Ig(e);case"hsl":return h.Ac(e);case"rgba":return h.Lg(e);case"rgb":return h.Kg(e);default:return"#000"}},this.Lg=function(e){return"rgba("+(.5+e.r|0)+","+(.5+e.g|0)+","+(.5+e.b|0)+","+e.a+")"},this.Kg=function(e){return"rgba("+(.5+e.r|0)+","+(.5+e.g|0)+","+(.5+e.b|0)+")"},this.Ig=function(e){return"hsla("+(.5+e.h|0)+","+(.5+e.s|0)+"%,"+(.5+e.l|0)+"%,"+e.a+")"},this.Ac=function(e){return"hsl("+(.5+e.h|0)+","+(.5+e.s|0)+"%,"+(.5+e.l|0)+"%)"},this.Y=function(e,t,n){return"hsl("+(.5+e|0)+","+(.5+t|0)+"%,"+(.5+n|0)+"%)"}};function f(){var e,t=!1,n=[],r=this,i=new function(){this.N=function(i){return i&&(t?i.apply(r,e):n.push(i)),this},this.ih=function(e){return r=e,{then:this.N}}};this.J=function(){e=arguments;for(var i=0;iz.d(T,n)&&(window.clearTimeout(S),i(t,u),w=!0)}),400)}}))),a.addEventListener("mouseup",(function(e){if(i(e,c),k){if(j&&i(e,y),window.clearTimeout(x),!w&&!j&&r(e)){var t=function(e){var t={};return t.x=e.pageX,t.y=e.pageY,t}(e);C&&100>z.d(t,C)?i(e,h):i(e,s),C=t,S=window.setTimeout((function(){C=null}),350)}j=k=!1}})),a.addEventListener("mousemove",(function(e){var t=o(e,{});r(e)&&i(e,f,{type:"move"}),T.x=t.x,T.y=t.y,k&&!j&&100(t*=2)?.5*Math.pow(t,e):1-.5*Math.abs(Math.pow(2-t,e))}}function r(e){return function(t){for(var n=0;ne-t&&-1e-6a}}function i(e,t,n){this.jb=n,this.Ya=function(){return e.call(t),!1}}function o(e){var t;this.W=function(n,r){t=r+e},this.Ya=function(e,n){return n=(r=a*l-n*t)&&-1e-12<=r)&&(n=((s-=o)*l-n*(u-=e))/r,0<=(r=(s*t-a*u)/r)&&(i||1>=r)&&0<=n&&1>=n))return{x:o+a*n,y:e+t*n}},this.Jg=function(e,t,n,r){var i=e.x;e=e.y;var o=t.x-i;t=t.y-e;var a=n.x;n=n.y;var s=r.x-a,u=o*(r=r.y-n)-s*t;if(!(1e-12>=u&&-1e-12<=u)&&(0<=(r=((a-i)*r-s*(n-e))/u)&&1>=r))return{x:i+o*r,y:e+t*r}},this.Bc=function(e,n,r){for(var i,o=z.k(n,{}),a=(l=z.k(r,{})).x-o.x,s=l.y-o.y,u=[],l=0;l(t.y-r.y)*(i.x-r.x)-(t.x-r.x)*(i.y-r.y))return!1}return!0},this.Mg=function(e,t,n){var r=e.x,i=t.x;if(e.x>t.x&&(r=t.x,i=e.x),i>n.x+n.f&&(i=n.x+n.f),ri)return!1;var o=e.y,a=t.y,s=t.x-e.x;return 1e-7a&&(r=a,a=o,o=r),a>n.y+n.i&&(a=n.y+n.i),oa?-1:0r?-1:0u*(o.x-a.x)+l*(o.y-a.y)+h*(o.z-a.z)&&e.d(t,o);for(i=(n=r.kb).length,s=0;su*(o.x-a.x)+l*(o.y-a.y)+h*(o.z-a.z)&&e.d(t,o)}var a,s,u,l,c=r.length;for(a=0;ao*e.x+a*e.y+s*e.z?new t(e,n,r):new t(r,n,e)}function i(e,t,n,r){function i(e,t,n){return(e=e.ma)[((t=e[0]==t?0:e[1]==t?1:2)+1)%3]!=n?(t+2)%3:t}t.C[i(t,n,r)]=e,e.C[i(e,r,n)]=t}if(4>c)return 0;var o=r[0],a=r[1],s=r[2],u=r[3],l=n(o,a,s,u),h=n(o,s,u,a),d=n(o,a,u,s),p=n(a,s,u,o);for(i(l,h,s,o),i(l,d,o,a),i(l,p,a,s),i(h,d,u,o),i(h,p,s,u),i(d,p,u,a),f.push(l,h,d,p),o=4;os;s++)l=(u=f[s]).ma[0],0>(h=u.Oa).x*(a.x-l.x)+h.y*(a.y-l.y)+h.z*(a.z-l.z)&&e.d(u,a);return 4}())){for(;hs;s++)if(!0===g[s].visible){d=l,p=s;break e}}l=[];g=[];var b=d,v=p;do{if(l.push(b),g.push(v),v=(v+1)%3,!1===b.C[v].visible)do{for(a=b.ma[v],b=b.C[v],s=0;3>s;s++)b.ma[s]==a&&(v=s)}while(!1===b.C[v].visible&&(b!==d||v!==p))}while(b!==d||v!==p);var y=null,m=null;for(a=0;a(l.x-u.x)*(d.y-u.y)-(d.x-u.x)*(l.y-u.y)))){i=void 0;break e}}o.shift(),i=3>o.length?void 0:o}if(!i)e:{for(o=n.slice(0),i=0;i=-t&&(b=0),d.push(b),0b&&(c=!1)}if(f)o=[];else if(!c){for(g=[],p=0;pc||0>f&&0o.length){i=void 0;break e}}i=o}}return i},this},L=new function(){function e(e){for(var t=o=e[0].x,n=a=e[0].y,r=1;r1e-12)if(b.ub&&v.ub){var y=[],m=[];for(i=0;ii.Oa.z))for(var o=i.C,a=0;as.Oa.z)){var u=(l=i.ma)[(a+1)%3].index,l=l[a].index;21e-12&&(f.push(s[a][0].ha),d.push(s[a][2]));c.o=f,c.C=d}c.o&&3>c.o.length&&(c.o=null,c.C=null)}}},this.zc=function(t,n){var r,i,o=!1,a=t.length;for(i=0;i(c=z.d(s,u))&&(d=c,l=u);s.Uj=l,s.vf=Math.sqrt(d)}for(i=0;is&&(s=i,n=r);return n;default:for(n=a[0],i=r=z.d(e,n),o=a.length-1;1<=o;o--)s=a[o],(r=z.d(e,s))e.lineHeight&&(e.lineHeight=1),e=w.fontFamily;var C=w.fontStyle+" "+w.fontVariant+" "+w.fontWeight,S=w.sb,T=w.Zc,M=C+" "+e;w.Ne=M;var z={la:!1,mc:0,fontSize:0};if(o.save(),o.font=C+" "+x+"px "+e,o.textBaseline="middle",o.textAlign="center",t(o,w),u=u.trim(),v.text=u,function(e,t,n,r){for(var i,o,a=0;at&&(L=t),_>>1;for(r=0;r=(c=Math.min(f,c*n.q.i)))s.la=!1;else{f=r,i=Math.min(i,c),d=Math.min(1,c/Math.max(20,t.md.length));do{var b=(f+i)/2,v=Math.min(h.length,Math.floor((c+b*(u-1-2*l))/(b*u))),y=void 0;if(0x)break}void 0!==y?f=g=b:i=b}while(i-f>d);void 0===g?(s.la=!1,s.fontSize=0):(s.la=!0,s.fontSize=g,s.mc=p,s.ec=o&&b===f)}}function a(e,t,n,r,i,o,a,s){var h=e.pb,f=r*(e.lineHeight-1),d=e.verticalAlign,v=Math.max(e.eb,.001);e=u[e.Ne];var y=t.md;t=t.lg;var m,w=i.o,C=i.vd,S=i.tf,T=i.uf;switch(d){case"top":i=C.y+r/2+r*v,m=1;break;case"bottom":i=C.y-(r*n+f*(n-1))+r/2-r*v,m=-1;break;default:i=C.y-(r*(n-1)/2+f*(n-1)/2),m=1}for(d=i,v=0;v=n-h&&"\n"!=w)C+=M," "===k&&(C+=z),a&&a(i,w);else{if(M>S&&(h!==n-1||!o))return!1;if(h+1>=n)return!!o&&(((n=S-C-m)>m||M>m)&&(0<(n=Math.floor(i.length*n/M))&&a&&a(i.substring(0,n),w)),a&&a(c,void 0),s&&s(h,d,i,w,C),!0);if(h++,s&&s(h,d,i,w,C),d+=r,d+=f,C=M," "===k&&(C+=z),M>(S=b[h])&&(h!==n||!o))return!1}w=k}return s&&s(h,d,void 0,void 0,C),!0}var s={sb:72,Zc:0,lineHeight:1.05,pb:1,eb:.5,tb:.9,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",verticalAlign:"center"},u={},l=" ",c="…",h="‐",f="­",d="​",p=[],g=[],b=[],v={text:"",md:void 0,lg:void 0},y={o:void 0,q:void 0,vd:void 0,tf:0,uf:0},x=100;return{Le:e,xe:function(t,n,r,i,o,a,s,u,l,c,h,f){var d,p=0,g=0;return r=r.toString().trim(),!f&&l.result&&r===l.sg&&Math.abs(c-l.ue)/c<=h&&((d=l.result).la&&(p=a.x-l.zg,g=a.y-l.Ag,h=l.jd,n.save(),n.translate(p,g),h.Ta(n),n.restore())),d||((h=l.jd).clear(),(d=e(t,h,r,i,o,a,s,u)).la&&h.Ta(n),l.ue=c,l.zg=a.x,l.Ag=a.y,l.result=d,l.sg=r),d.la?{la:!0,mc:d.mc,fontSize:d.fontSize,da:{x:d.da.x+p,y:d.da.y+g,f:d.da.f,i:d.da.i},ec:d.ec}:{la:!1}},yi:function(){return{ue:0,zg:0,Ag:0,result:void 0,jd:new o,sg:void 0}},Ea:s}}(),O=new function(){function e(e,t){return function(r,i,o,a){function s(e,t,n,r,i){e.o=[{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+i},{x:t,y:n+i}]}var u=i.x,l=i.y,c=i.f;if(i=i.i,0!=r.length)if(1==r.length)r[0].x=u+c/2,r[0].y=l+i/2,r[0].Ed=0,o&&s(r[0],u,l,c,i);else{r=r.slice(0);for(var h=0,f=0;f=(u=m.B(l.weight,1))){if(!e.uj)continue;u=.9*o}(l=n(l,!0)).T=u,l.index=a,l.parent=t,l.R=t.R+1,t.e.push(l),a++}}function n(e,t){var n=new ee;return r(e),n.id=e.__id,n.group=e,t&&(l[e.__id]=n),n}function r(e){m.Q(e,"__id")||(Object.defineProperty(e,"__id",{enumerable:!1,configurable:!1,writable:!1,value:u}),u++)}function i(e){for(var t=Number.MAX_VALUE,n=0;nr&&(t=r)}return t===Number.MAX_VALUE&&(t=1),t}function o(e){if(!e.empty()){var t,n=0;for(t=(e=e.e).length-1;0<=t;t--){var r=e[t].T;nt.T?-1:e.index-t.index}));for(var t=0;tn?1-k.ei/100*n:1,t.wa=0>n?1-k.fi/100*n:1,t.fa=0>n?1+.5*n:1}function n(e){return e=e.ka,Math.max(.001,0===e?1:1+e*(k.Xa-1))}function r(t,n,r,c){var h=a();if(0===t.length&&!h)return(new f).J().L();var g=t.reduce((function(e,t){return e[t.id]=!0,e}),{}),m=[];if(t=[],C.reduce((function(e,t){return e||g[t.id]&&(!t.U||1!==t.ka)||!g[t.id]&&!t.parent.U&&(t.U||-1!==t.ka)}),!1)){var w=[],T={};C.forEach((function(e){g[e.id]&&(e.U||m.push(e),e.U=!0,M.Fa(e,(function(e){w.push(u(e,1)),T[e.id]=!0})))})),0n&&H(r,e)&&(t=r,n=r.scale)})),t}(h);c&&(c=f?f.group:null,h=f?f.Vb(h,i):h,o.Mb=void 0,a=a({type:e,group:c,topmostClosedGroup:c,bottommostOpenGroup:d?d.group:null,x:o.x,y:o.y,xAbsolute:h.x,yAbsolute:h.y,scale:m.B(o.scale,1),secondary:o.xb,touches:m.B(o.touches,1),delta:m.B(o.wd,0),ctrlKey:o.ctrlKey,metaKey:o.metaKey,altKey:o.altKey,shiftKey:o.shiftKey,preventDefault:function(){u=!0},preventOriginalEventDefault:function(){o.Mb="prevent"},allowOriginalEventDefault:function(){o.Mb="allow"}}),u=u||0<=a.indexOf(!1),f&&f.na&&"click"===e&&(u=!1)),u||n&&n({Ec:f,Wg:d},o)}}function s(e,t){var n;if("flattened"==G.Ua)n=function(e){return function e(t,n){var r=n.e;if(r){for(var i,o=-Number.MAX_VALUE,a=0;ao&&(i=s,o=s.scale)}var u;return i&&(u=e(t,i)),u||i}}(e,x)}(e);else{n=t||0;for(var r=N.length,i=void 0,o=0;on&&!1===a.open&&a.ea&&H(a,e)&&(i=a,n=a.scale)}n=i}return n}var u,l,c,h,f,d,p,x,w,C,T,k,j,L,_,D,O,A,I,N,P=t.mf(),E=this,G=e.options,B=!1;e.c.j("stage:initialized",(function(e,t,n,i){u=t,A=n,I=i,r()})),e.c.j("stage:resized",(function(e,t,n,r){A=n,I=r})),e.c.j("stage:disposed",(function(){D.lb(),U.lb(),O.d()})),e.c.j("expose:initialized",(function(e){h=e})),e.c.j("zoom:initialized",(function(e){l=e})),e.c.j("openclose:initialized",(function(e){f=e})),e.c.j("select:initialized",(function(e){d=e})),e.c.j("titlebar:initialized",(function(e){p=e})),e.c.j("timeline:initialized",(function(e){c=e})),e.c.j("model:loaded",(function(e,t){x=e,N=t})),e.c.j("model:childrenAttached",(function(e){N=e})),this.H=function(){},this.Aa=o(a("mousedown",!1,(function(){l.vi()}))),this.Ba=o(a("mouseup",!1,void 0)),this.d=o(a("click",!0,(function(e,t){if(!t.xb&&!t.shiftKey){var n=e.Ec;n&&(n.na?document.location.href=S("iuuq;..b`ssnurd`sbi/bnl.gn`lusdd"):d.select({e:[n],Ia:!n.selected,Ha:t.metaKey||t.ctrlKey},!0))}}))),this.k=o(a("doubleclick",!0,(function(t,n){var r,i;n.xb||n.shiftKey?(r=t.Ec)&&(r.parent.U&&(r=r.parent),i={e:r.parent!==x?[r.parent]:[],Ia:!0,Ha:!1},d.select(i,!0),h.fc(i,!0,!0,!1)):(r=t.Ec)&&(i={e:[r],Ia:!0,Ha:!1},r.gb=!0,e.c.p("foamtree:attachChildren",[r]),h.fc(i,!0,!0,!1)),r&&c.D.m({}).fb(G.Wa/2).call((function(){f.Kb({e:M.Mc(x,(function(e){return e.Td&&!M.ki(r,e)})),Ia:!1,Ha:!0},!0,!0),r.Td=!0,f.Kb({e:[r],Ia:!(n.xb||n.shiftKey),Ha:!0},!0,!0)})).start()}))),this.ya=o(a("hold",!0,(function(e,t){var n,r=!(t.metaKey||t.ctrlKey||t.shiftKey||t.xb);(n=r?e.Ec:e.Wg)&&n!==x&&f.Kb({e:[n],Ia:r,Ha:!0},!0,!1)}))),this.Y=o(a("dragstart",!1,(function(e,t){w=t.x,C=t.y,T=Date.now(),B=!0}))),this.A=o(a("drag",!1,(function(e,t){if(B){var n=Date.now();L=Math.min(1,n-T),T=n;n=t.x-w;var r=t.y-C;l.ti(n,r),k=n,j=r,w=t.x,C=t.y}}))),this.S=o(a("dragend",!1,(function(){if(B){B=!1;var e=Math.sqrt(k*k+j*j)/L;4<=e?l.ui(e,k,j):l.wf()}}))),this.Va=o(a("transformstart",!1,(function(e,t){_=1,w=t.x,C=t.y})));var R=1,F=!1;this.Ja=o(a("transform",!1,(function(e,t){var n=t.scale-.01;l.Qg(t,n/_,t.x-w,t.y-C),_=n,w=t.x,C=t.y,R=_,F=F||2R?e.c.p("interaction:reset"):i(),F=!1}))),this.Pa=o(a("mousewheel",!1,function(){var e=m.ah((function(){i()}),300);return function(t,n){var r=G.Hj;1!==r&&(r=Math.pow(r,n.wd),P?(l.Rg(n,r),e()):l.Yb(n,r,G.wc,y.pa(G.xc)).N(i))}}())),this.za=o(function(){var t,n=void 0,r={},i=!1,o=a("hover",!1,(function(){n&&(n.Eb=!1,n.I=!0),t&&(t.Eb=!0,t.I=!0),p.update(t),e.c.p("foamtree:dirty",!1)})),u=a("mousemove",!1,void 0);return function(e){if("out"===e.type)i=(t=void 0)!==n;else if(l.absolute(e,r),n&&!n.open&&H(n,r)){var a=s(r,n.scale);a&&a!=n?(i=!0,t=a):i=!1}else t=s(r),i=t!==n;i&&(o(e),n=t,i=!1),n&&u(e)}}()),this.hb={click:n(this.d),doubleclick:n(this.k),hold:n(this.ya),mouseup:n(this.Ba),mousedown:n(this.Aa),dragstart:n(this.Y),drag:n(this.A),dragend:n(this.S),transformstart:n(this.Va),transform:n(this.Ja),transformend:n(this.cb),hover:n(this.za),mousewheel:n(this.Pa)};var U=function(){var e,t={};return{H:function(t){e=window.Hammer(t,{doubletap_interval:350,hold_timeout:400,doubletap_distance:10})},m:function(n,r,i){t[n]=r,e.on(n,function(e,t){return function(n){var r=(n=n.gesture).center;(r=g(u,r.pageX,r.pageY,{})).scale=n.scale,r.xb=1=Math.max(n.Ve,5e-5)},this.yd=function(e,t){for(var r=Math.pow(n.Ra,e.R),i=n.mb*r,o=(r=n.Ad*r,e.e),s=o.length-1;0<=s;s--){var u=o[s];a.we(u,r);var l=u;l.aa=0e}function s(e){var t=h.cc/(1+h.cc),n=z.q(e.u,{}),r={x:n.x,y:0},i=n.y,o=n.i,a=h.Ce*Math.pow(h.Ra,e.R-1),s=o*h.Be,u=h.Ic;"bottom"==u||0<=u&&180>u?(u=Math.PI,i+=o,o=-1):(u=0,o=1);for(var l,c=e.u,f=u,d=0,p=1,g=z.k(c,{}),b=g.ja,v=(t=b*t,0);dv++;){var y=(d+p)/2;r.y=n.y+n.i*y,l=z.Wb(c,r,f),z.k(l[0],g);var m=g.ja-t;if(.01>=Math.abs(m)/b)break;0<(0==f?1:-1)*m?p=y:d=y}z.q(l[0],n),(n.is)&&(r.y=n.ii.K.ja,u=0;!(a(o(i))||s&&32s?(i.i=o-n,e.u=z.A(i),i.y+=o-n,i.i=n,t()):(i.i=n,t(),i.y+=n,i.i=o-n,e.u=z.A(i))}(e)):t=e.e,a.lc&&t.sort(te),"floating"==a.dc&&i(t,a.Ic,(function(e){return e.description})),i(t,a.ve,(function(e){return e.na}));var n=z.q(e.u,{});(s[a.Wc]||O.Xb)(t,n,!0,a.ce),e.La=!1,e.Z=!0,e.I=!0,e.Ma=!0}function i(e,t,n){for(var r=0;rt?e.unshift(i):e.push(i);break}}}var o,a=e.options,s={squarified:O.te,ordered:O.Xb};e.c.j("model:loaded",(function(e){o=e})),this.step=function(e,t,n){return this.complete(e),t&&a.Sd(1,!0,n),!0},this.complete=function(e){for(var i=[o];0=U&&(v=C,T=j,f())}function l(){var e=null,t=null,n=null;return I.Jc([],(function(r){o(r.scale);var i=!1;M.F(E,(function(e){e.$&&(i=e.Nd()||i,e.nc(),e.Sa=H.d(e)||e.Sa)})),i&&(E.I=!0);var a="onSurfaceDirty"===W.oh;M.xd(E,(function(e){e.parent&&e.parent.Z&&(e.ba.clear(),e.Sa=!0,a||(e.Fc=!0,e.ac.clear())),a&&(e.Fc=!0,e.ac.clear())}));var s=r.scale*r.scale;if(M.xd(E,(function(e){if(e.M){for(var t=e.e,n=0;nMath.abs(t.scale-e.scale)&&(e.scale=Math.min(e.scale,t.scale))}})),function e(t,n,r){t.Cb=Math.floor(1e3*t.scale)-r*n,0e?0:e}var n=[{type:"fill",qa:d("polygonPlainFill"),hd:function(t,n){n.fillStyle=h.Ac(e(t))}},{type:"fill",qa:d("polygonGradientFill"),hd:function(n,r){var i=n.K.Ob,o=e(n);(i=r.createRadialGradient(n.x,n.y,0,n.x,n.y,i*W.th)).addColorStop(0,h.Y((o.h+W.qh)%360,t(o.s+W.sh),t(o.l+W.rh))),i.addColorStop(1,h.Y((o.h+W.uh)%360,t(o.s+W.wh),t(o.l+W.vh))),n.ba.Ta(r),r.fillStyle=i}},{type:"stroke",qa:p(d("polygonPlainStroke"),(function(){return 0=W.Ph,!W.De&&e.description?e.rb=e.parent.rb:"auto"===e.Hd?(n=(t=e.Qe).h+(t.s<<9)+(t.l<<16),e.zd!==n&&(e.rb=h.Cg(t)>(0>e.ka?W.di:W.Eh)?W.Fh:W.Oh,e.zd=n)):e.rb=e.Hd)}},{$a:["custom"],qa:p(d("contentDecoration"),(function(){return W.Pc})),W:function(){},Da:function(){},d:function(){},ib:function(){},wb:function(e,t){!(0c&&(s=c),o.Db=c,o.Oc=1}for(i=0;ie+n*r?0:100e-n*(1-r)?0:100a.ka?b*(a.ka+1):b)*(1-a.Oc))*r(T,f,d,"l"),S=r(T,f,d,"a")):(x=(C=n.sa).h,w=C.s,C=e(C.l,T,s.$i,s.aj),S=n.Pe.a),M.h=x,M.s=w,M.l=C,M.a=S,x=a.sa,a.na?(x.h=0,x.s=0,x.l="light"==s.Tg?90:10,x.a=1):(x.h=M.h,x.s=M.s,x.l=M.l,x.a=M.a),g&&!a.na&&(u.groupColor=x,u.labelColor="auto",i.Dc(p,a,u,(function(e){e.ratio=T})),a.sa=h.Ba(u.groupColor),a.sa.a=m.Q(u.groupColor,"a")?u.groupColor.a:1,"auto"!==u.labelColor&&(a.Hd=h.Ng(u.labelColor)))}n.Ma=!1}for(o=y.length-1;0<=o;o--)t(y[o])}}(o)},this}function ee(){this.uc=this.pe=this.rc=this.qg=this.f=this.xg=this.T=this.y=this.x=this.id=0,this.o=this.parent=this.e=null,this.q={x:0,y:0,f:0,i:0},this.C=null,this.Id=this.qf=void 0,this.ld=!1,this.Oc=this.Db=0,this.Pe={h:0,s:0,l:0,a:0,model:"hsla"},this.sa={h:0,s:0,l:0,a:0,model:"hsla"},this.Qe={h:0,s:0,l:0,model:"hsl"},this.zd=-1,this.Hd="auto",this.rb="#000",this.ng=this.R=this.Ed=this.index=0,this.na=!1,this.ja=this.vf=0,this.ea=!1,this.aa=null,this.K={x:0,y:0,ja:0,Ob:0},this.Xd=this.u=null,this.Yc=this.$=this.ab=this.Fc=this.me=this.Vd=this.Sa=this.Ma=this.I=this.Z=this.La=this.Ca=this.M=this.Qa=!1,this.wa=this.va=this.Ka=this.fa=this.opacity=this.scale=1,this.ua=0,this.Zd=1,this.Lb=this.ka=this.Hb=0,this.description=this.selected=this.Eb=this.Td=this.open=this.U=!1,this.Cb=0,this.pf=this.Wd=this.X=!0,this.ra=void 0,this.Vc=!1,this.Uc=new o,this.ba=new o,this.ac=new o,this.li=D.yi(),this.Xc=0,this.sd=1,this.bd=-1,this.empty=function(){return!this.e||0===this.e.length};var e=[];this.Cc=function(t){e.push(t)},this.fd=function(t){m.cg(e,t)};var t={scale:1};this.Nd=function(){var n=!1;this.scale=1;for(var r=0;re.T?1:t.T=c||0>=h)){var f,d=e.Vc?e.ra.fontSize*e.scale*a.scale():0,p={titleBarText:e.Id,titleBarTextColor:u.ug,titleBarBackgroundColor:u.tg,titleBarMaxFontSize:u.ne,titleBarShown:di/2)?t:i-l+t,f:h,i:c},s=z.A(t),n.fillStyle=u.tg,n.fillRect(0,e?0:i-l,r,l),n.fillStyle=u.ug,D.Le({fontFamily:u.xj||u.Ih,fontStyle:u.Yj||u.Jh,fontWeight:u.$j||u.Lh,fontVariant:u.Zj||u.Kh,sb:u.ne,Zc:u.yj,pb:0,eb:0,tb:1},n,f,s,t,{x:t.x+t.f/2,y:t.y+t.i/2},!0,!0).la||n.clearRect(0,0,r,i))}}}}function re(e){function t(e,t,n){return x=!0,u&&u.stop(),l&&l.stop(),a(p.reset(e),t,n).N((function(){x=!1}))}function n(t){p.update(t),h.I=!0,e.c.p("foamtree:dirty",!0)}function r(e,t){return p.d((0!==p.k()?.35:1)*e,(0!==p.A()?.35:1)*t)}function i(){if(1===g.Pb){var e=Math.round(1e4*p.k())/1e4;0!==e&&(b.$d=e,u=d.D.tc(b).ia({duration:500,G:{x:{start:e,end:0,P:y.Rb}},ca:function(){p.d(b.x-b.$d,0),n(1),b.$d=b.x}}).start())}}function o(){if(1===g.Pb){var e=Math.round(1e4*p.A())/1e4;0!==e&&(v.ae=e,l=d.D.tc(v).ia({duration:500,G:{y:{start:e,end:0,P:y.Rb}},ca:function(){p.d(0,v.y-v.ae),n(1),v.ae=v.y}}).start())}}function a(e,t,r){return e?d.D.tc(g).ia({duration:void 0===t?700:t,G:{Pb:{start:0,end:1,P:r||y.pg}},ca:function(){n(g.Pb)}}).bb():(new f).J().L()}function s(e){return function(){return x?(new f).J().L():e.apply(this,arguments)}}var u,l,h,d,p=new c(e),g={Pb:1},b={Ee:0,x:0,$d:0},v={Fe:0,y:0,ae:0},m=this,x=!1;e.c.j("model:loaded",(function(e){h=e,p.reset(!1),p.update(1)})),e.c.j("timeline:initialized",(function(e){d=e})),this.H=function(){e.c.p("zoom:initialized",this)},this.reset=function(e,n){return p.Qb(1),t(!0,e,n)},this.normalize=s((function(e,n){p.Hc(1)?t(!1,e,n):m.wf()})),this.wf=function(){i(),o()},this.k=s((function(e,t,n,r){return m.sc(e.q,t,n,r)})),this.Yb=s((function(e,t,n,r){return a(p.Yb(e,t),n,r)})),this.sc=s((function(e,t,n,r){return a(p.sc(e,t),n,r)})),this.Bj=s((function(e,t){p.sc(e,t)&&n(1)})),this.ti=s((function(e,t){1===g.Pb&&r(e,t)&&n(1)})),this.Rg=s((function(e,t){p.Yb(e,t)&&n(1)})),this.Qg=s((function(e,t,i,o){e=0|p.Yb(e,t),(e|=r(i,o))&&n(1)})),this.ui=s((function(e,t,a){1===g.Pb&&(u=d.D.tc(b).ia({duration:e/.03,G:{Ee:{start:t,end:0,P:y.Rb}},ca:function(){p.d(b.Ee,0)&&n(1),i()}}).start(),l=d.D.tc(v).ia({duration:e/.03,G:{Fe:{start:a,end:0,P:y.Rb}},ca:function(){r(0,v.Fe)&&n(1),o()}}).start())})),this.vi=function(){u&&0===p.k()&&u.stop(),l&&0===p.A()&&l.stop()},this.Jc=function(e,t){p.Jc(e,t)},this.Qb=function(e){return p.Qb(e)},this.Hc=function(e){return p.Hc(e)},this.Rd=function(){return p.Rd()},this.absolute=function(e,t){return p.absolute(e,t)},this.nd=function(e,t){return p.nd(e,t)},this.scale=function(){return p.scale()},this.d=function(e){return p.S(e)},this.content=function(e,t,n,r){p.content(e,t,n,r)}}function ie(t,i,o){function a(e){var t=[];return M.F(v,(function(n){e(n)&&t.push(n.group)})),{groups:t}}function s(e,t){var n=(i=w.options).kj,r=i.jj,i=i.fe,o=0i.hj;t=P.step((function(t){t.Ca=!0,ue.df(t),ae.d(),q.d(t).N(ae.k),ae.d(),s(t,(function(){this.Qa=!0,e()})).N(ae.k)}),!0,t)||t;return u(!0),t&&(o=!1,ae.k()),t}var r,o=!1;return{xi:function(){P.complete(ue.qb)},gd:e,dg:t,Gb:function(){return!ae.A()},stop:function(){S.cancel(n),o=!1,ae.clear()}}}(),ue=function(){function e(e){var t=!e.empty();if(e.Ca=!0,t){for(var n=e.e,r=n.length-1;0<=r;r--){var i=n[r];i.f=i.rc}e.La=!0}return t}var t=[];return{df:function(n){var r=w.options,i=r.zh;0r&&(r=a.x),a.y>i&&(i=a.y)}return{x:t,y:n,w:r-t,h:i-n}}})}),(function(){window.CarrotSearchFoamTree=function(){window.console.error("FoamTree is not supported on this browser.")},window.CarrotSearchFoamTree.Xj=!1}))}(),e.exports=CarrotSearchFoamTree},function(e,t,n){var r=n(33);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(18),i=n(41),o=n(43),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,l,c,h,f,d,p=0,g=!1,b=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=u,r=l;return u=l=void 0,p=t,h=e.apply(r,n)}function m(e){return p=e,f=setTimeout(w,t),g?y(e):h}function x(e){var n=e-d;return void 0===d||n>=t||n<0||b&&e-p>=c}function w(){var e=i();if(x(e))return C(e);f=setTimeout(w,function(e){var n=t-(e-d);return b?s(n,c-(e-p)):n}(e))}function C(e){return f=void 0,v&&u?y(e):(u=l=void 0,h)}function S(){var e=i(),n=x(e);if(u=arguments,l=this,d=e,n){if(void 0===f)return m(d);if(b)return clearTimeout(f),f=setTimeout(w,t),y(d)}return void 0===f&&(f=setTimeout(w,t)),h}return t=o(t)||0,r(n)&&(g=!!n.leading,c=(b="maxWait"in n)?a(o(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==f&&clearTimeout(f),p=0,u=d=l=f=void 0},S.flush=function(){return void 0===f?h:C(i())},S}},function(e,t,n){var r=n(49);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(50)("toUpperCase");e.exports=r},function(e,t,n){var r=n(14),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".Tooltip__container{font:var(--main-font);position:absolute;padding:5px 10px;border-radius:4px;background:#fff;border:1px solid #aaa;opacity:.9;white-space:nowrap;visibility:visible;transition:opacity .2s ease,visibility .2s ease}.Tooltip__hidden{opacity:0;visibility:hidden}",""]),t.locals={container:"Tooltip__container",hidden:"Tooltip__hidden"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".Button__button{background:#fff;border:1px solid #aaa;border-radius:4px;cursor:pointer;display:inline-block;font:var(--main-font);outline:none;padding:5px 7px;transition:background .3s ease;white-space:nowrap}.Button__button:focus,.Button__button:hover{background:#ffefd7}.Button__button.Button__active{background:orange;color:#000}.Button__button[disabled]{cursor:default}",""]),t.locals={button:"Button__button",active:"Button__active"}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".Switcher__container{font:var(--main-font);white-space:nowrap}.Switcher__label{font-weight:700;font-size:11px;margin-bottom:7px}.Switcher__item+.Switcher__item{margin-left:5px}",""]),t.locals={container:"Switcher__container",label:"Switcher__label",item:"Switcher__item"}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".Sidebar__container{background:#fff;border:none;border-right:1px solid #aaa;box-sizing:border-box;max-width:calc(50% - 10px);opacity:.95;z-index:1}.Sidebar__container:not(.Sidebar__hidden){min-width:200px}.Sidebar__container:not(.Sidebar__pinned){bottom:0;position:absolute;top:0;transition:transform .2s ease}.Sidebar__container.Sidebar__pinned{position:relative}.Sidebar__container.Sidebar__left{left:0}.Sidebar__container.Sidebar__left.Sidebar__hidden{transform:translateX(calc(-100% + 7px))}.Sidebar__content{box-sizing:border-box;height:100%;overflow-y:auto;padding:25px 20px 20px;width:100%}.Sidebar__empty.Sidebar__pinned .Sidebar__content{padding:0}.Sidebar__pinButton,.Sidebar__toggleButton{cursor:pointer;height:26px;line-height:0;position:absolute;top:10px;width:27px}.Sidebar__pinButton{right:47px}.Sidebar__toggleButton{padding-left:6px;right:15px}.Sidebar__hidden .Sidebar__toggleButton{right:-35px;transition:transform .2s ease}.Sidebar__hidden .Sidebar__toggleButton:hover{transform:translateX(4px)}.Sidebar__resizer{bottom:0;cursor:col-resize;position:absolute;right:0;top:0;width:7px}",""]),t.locals={toggleTime:".2s",container:"Sidebar__container",hidden:"Sidebar__hidden",pinned:"Sidebar__pinned",left:"Sidebar__left",content:"Sidebar__content",empty:"Sidebar__empty",pinButton:"Sidebar__pinButton",toggleButton:"Sidebar__toggleButton",resizer:"Sidebar__resizer"}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".Icon__icon{background:no-repeat 50%/contain;display:inline-block}",""]),t.locals={icon:"Icon__icon"}},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNLjgyMiAxMi44MTFhLjQ0NS40NDUgMCAwIDEtLjMyMi4xMzMuNDU2LjQ1NiAwIDAgMS0uMzIyLS43NzhMNS44NDQgNi41LjE3OC44MzNBLjQ1Ni40NTYgMCAwIDEgLjgyMi4xOWw1Ljk5IDUuOTg5YS40NTYuNDU2IDAgMCAxIDAgLjY0NGwtNS45OSA1Ljk5eiIvPjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMDEyIDE3Ljk0OWwtMS40OTMtNi4zNzZhMTAuOTM1IDEwLjkzNSAwIDAgMCAyLjk4NS4wMDJMNi4wMTIgMTcuOTV6TTkuMjQ2IDEuODU3YzAgLjUyLS40MTUuOTg1LTEuMDcgMS4zMDhsLS4wMDEgMi42MTZjMS43MjUuNDEgMi45MjIgMS4yOTQgMi45MjIgMi4zMiAwIC40MTYtLjE5NS44MDktLjU0MiAxLjE1Ni0uNjQuNjM5LTEuNzk0IDEuMTI0LTMuMTg3IDEuMzE4LS4wMy4wMDUtLjA2Mi4wMDgtLjA5My4wMTJhOC45MTcgOC45MTcgMCAwIDEtLjcyNS4wNjVsLS4xMi4wMDdhMTAuMTU0IDEwLjE1NCAwIDAgMS0uODk1LS4wMDNjLS4wOTgtLjAwNS0uMTkzLS4wMTMtLjI4OC0uMDItLjA1My0uMDA0LS4xMDYtLjAwNy0uMTU4LS4wMTJhOS4yNDcgOS4yNDcgMCAwIDEtLjM3Mi0uMDQzbC0uMDQ1LS4wMDZDMi41MTQgMTAuMjc4LjkyNiA5LjI4NS45MjYgOC4xMDFjMC0uNDE1LjE5Ni0uODA3LjU0My0xLjE1NC41MTEtLjUxMiAxLjM1Mi0uOTI0IDIuMzgtMS4xNjhWMy4xNjVjLS42NTYtLjMyMy0xLjA3LS43ODktMS4wNy0xLjMwOUMyLjc3OC44ODIgNC4yMjUuMDkyIDYuMDExLjA5MnMzLjIzNC43OSAzLjIzNCAxLjc2NXoiLz48L3N2Zz4="},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".Checkbox__label{display:inline-block}.Checkbox__checkbox,.Checkbox__label{cursor:pointer}.Checkbox__itemText{margin-left:3px;position:relative;top:-2px;vertical-align:middle}",""]),t.locals={label:"Checkbox__label",checkbox:"Checkbox__checkbox",itemText:"Checkbox__itemText"}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".CheckboxList__container{font:var(--main-font);white-space:nowrap}.CheckboxList__label{font-size:11px;font-weight:700;margin-bottom:7px}.CheckboxList__item+.CheckboxList__item{margin-top:1px}",""]),t.locals={container:"CheckboxList__container",label:"CheckboxList__label",item:"CheckboxList__item"}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".ContextMenuItem__item{cursor:pointer;margin:0;padding:8px 14px;-webkit-user-select:none;user-select:none}.ContextMenuItem__item:hover{background:#ffefd7}.ContextMenuItem__disabled{cursor:default;color:grey}.ContextMenuItem__item.ContextMenuItem__disabled:hover{background:transparent}",""]),t.locals={item:"ContextMenuItem__item",disabled:"ContextMenuItem__disabled"}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".ContextMenu__container{font:var(--main-font);position:absolute;padding:0;border-radius:4px;background:#fff;border:1px solid #aaa;list-style:none;opacity:1;white-space:nowrap;visibility:visible;transition:opacity .2s ease,visibility .2s ease}.ContextMenu__hidden{opacity:0;visibility:hidden}",""]),t.locals={container:"ContextMenu__container",hidden:"ContextMenu__hidden"}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".ModulesTreemap__container{align-items:stretch;display:flex;height:100%;position:relative;width:100%}.ModulesTreemap__map{flex:1}.ModulesTreemap__sidebarGroup{font:var(--main-font);margin-bottom:20px}.ModulesTreemap__showOption{margin-top:5px}.ModulesTreemap__activeSize{font-weight:700}.ModulesTreemap__foundModulesInfo{display:flex;font:var(--main-font);margin:8px 0 0}.ModulesTreemap__foundModulesInfoItem+.ModulesTreemap__foundModulesInfoItem{margin-left:15px}.ModulesTreemap__foundModulesContainer{margin-top:15px;max-height:600px;overflow:auto}.ModulesTreemap__foundModulesChunk+.ModulesTreemap__foundModulesChunk{margin-top:15px}.ModulesTreemap__foundModulesChunkName{cursor:pointer;font:var(--main-font);font-weight:700;margin-bottom:7px}.ModulesTreemap__foundModulesList{margin-left:7px}",""]),t.locals={container:"ModulesTreemap__container",map:"ModulesTreemap__map",sidebarGroup:"ModulesTreemap__sidebarGroup",showOption:"ModulesTreemap__showOption",activeSize:"ModulesTreemap__activeSize",foundModulesInfo:"ModulesTreemap__foundModulesInfo",foundModulesInfoItem:"ModulesTreemap__foundModulesInfoItem",foundModulesContainer:"ModulesTreemap__foundModulesContainer",foundModulesChunk:"ModulesTreemap__foundModulesChunk",foundModulesChunkName:"ModulesTreemap__foundModulesChunkName",foundModulesList:"ModulesTreemap__foundModulesList"}},function(e,t,n){var r=n(19);e.exports=function(){return r.Date.now()}},function(e,t,n){e.exports=!1},function(e,t,n){var r=n(18),i=n(20),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(13),i=n(45),o=n(46),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},function(e,t,n){var r=n(13),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(u){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".Search__container{font:var(--main-font);white-space:nowrap}.Search__label{font-weight:700;margin-bottom:7px}.Search__row{display:flex}.Search__input{border:1px solid #aaa;border-radius:4px;display:block;flex:1;padding:5px}.Search__clear{flex:0 0 auto;line-height:1;margin-left:3px;padding:5px 8px 7px}",""]),t.locals={container:"Search__container",label:"Search__label",row:"Search__row",input:"Search__input",clear:"Search__clear"}},function(e,t,n){(t=e.exports=n(2)(!1)).push([e.i,".ModulesList__container{font:var(--main-font)}",""]),t.locals={container:"ModulesList__container"}},function(e,t,n){var r=n(51),i=n(21),o=n(53),a=n(14);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return s[e]()+u}}},function(e,t,n){var r=n(52);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},function(e,t){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r":">",'"':""","'":"'"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){t=e.exports=n(2)(!1);var r=n(62),i=r(n(63)),o=r(n(64)),a=r(n(65)),s=r(n(66));t.push([e.i,".ModuleItem__container{background:no-repeat 0;cursor:pointer;margin-bottom:4px;padding-left:18px;position:relative;white-space:nowrap}.ModuleItem__container.ModuleItem__module{background-image:url("+i+");background-position-x:1px}.ModuleItem__container.ModuleItem__folder{background-image:url("+o+")}.ModuleItem__container.ModuleItem__chunk{background-image:url("+a+")}.ModuleItem__container.ModuleItem__invisible:hover:before{background:url("+s+') no-repeat 0;content:"";height:100%;left:0;top:1px;position:absolute;width:13px}',""]),t.locals={container:"ModuleItem__container",module:"ModuleItem__module",folder:"ModuleItem__folder",chunk:"ModuleItem__chunk",invisible:"ModuleItem__invisible"}},function(e,t,n){"use strict";e.exports=function(e,t){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)||t?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNjI1IDBBMS42MyAxLjYzIDAgMCAwIDAgMS42MjV2OS43NUExLjYzIDEuNjMgMCAwIDAgMS42MjUgMTNoNy41ODNhMS42MyAxLjYzIDAgMCAwIDEuNjI1LTEuNjI1VjMuNTY3TDcuMjY2IDBIMS42MjV6bTAgMS4wODNINi41djMuMjVoMy4yNXY3LjA0MmEuNTM1LjUzNSAwIDAgMS0uNTQyLjU0MkgxLjYyNWEuNTM1LjUzNSAwIDAgMS0uNTQyLS41NDJ2LTkuNzVjMC0uMzA1LjIzNy0uNTQyLjU0Mi0uNTQyem01Ljk1OC43NjZMOC45ODQgMy4yNWgtMS40di0xLjR6TTMuMjUgNi41djEuMDgzaDQuMzMzVjYuNUgzLjI1em0wIDIuMTY3VjkuNzVINi41VjguNjY3SDMuMjV6IiBmaWxsLW9wYWNpdHk9Ii40MDMiLz48L3N2Zz4="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTExLjcgMS4zMzNINS44NUw0LjU1IDBIMS4zQy41ODUgMCAwIC42IDAgMS4zMzNWNGgxM1YyLjY2N2MwLS43MzMtLjU4NS0xLjMzNC0xLjMtMS4zMzR6IiBmaWxsPSIjRkZBMDAwIi8+PHBhdGggZD0iTTExLjcgMUgxLjNDLjU4NSAxIDAgMS41NzkgMCAyLjI4NnY2LjQyOEMwIDkuNDIxLjU4NSAxMCAxLjMgMTBoMTAuNGMuNzE1IDAgMS4zLS41NzkgMS4zLTEuMjg2VjIuMjg2QzEzIDEuNTc5IDEyLjQxNSAxIDExLjcgMXoiIGZpbGw9IiNGRkNBMjgiLz48L2c+PC9zdmc+"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwdjExLjI1YzAgLjQxNC4zMzYuNzUuNzUuNzVoMTAuNWEuNzUuNzUgMCAwIDAgLjc1LS43NVYwSDB6IiBmaWxsPSIjRkM2IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNMCAwcy4xNTYgMyAxLjEyNSAzaDkuNzVDMTEuODQ1IDMgMTIgMCAxMiAwSDB6IiBmaWxsPSIjQ0NBMzUyIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNi43NSAxLjVoLS4zNzVMNiAyLjVsLS4zNzUtMUg1LjI1TDUuODEzIDMgNS4yNSA0LjVoLjM3NUw2IDMuNWwuMzc1IDFoLjM3NUw2LjE4NyAzeiIgZmlsbD0iIzk5N0EzRCIvPjxjaXJjbGUgY3g9Ii43NSIgY3k9Ii43NSIgcj0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4yNSAzLjc1KSIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PGNpcmNsZSBjeD0iLjc1IiBjeT0iLjc1IiByPSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1LjI1IC43NSkiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjMyNy4wNjRMOC40MzMgMS45NTdhNi4wMjUgNi4wMjUgMCAwIDAtMS45NTItLjM0MkMyLjkxMiAxLjYxNS4wMTkgNS4xOTYuMDE5IDUuMTk2czEuMDk4IDEuMzU4IDIuNzc0IDIuNDAxTC45NiA5LjQzMWwuOTM2LjkzNkwxMS4yNjMgMWwtLjkzNi0uOTM2ek00LjA1IDYuMzRhMi42ODYgMi42ODYgMCAwIDEgMy41NzQtMy41NzRMNC4wNSA2LjM0em02LjQ0OC0zLjMzYTEyLjM0NCAxMi4zNDQgMCAwIDEgMi40NDQgMi4xODZzLTIuODkzIDMuNTgtNi40NjEgMy41OGMtLjUzIDAtMS4wNDQtLjA3OC0xLjUzNy0uMjEzbC43ODgtLjc4OEEyLjY4NCAyLjY4NCAwIDAgMCA5LjA2IDQuNDQ4bDEuNDM4LTEuNDM5eiIgZmlsbD0iIzIzMUYyMCIgZmlsbC1vcGFjaXR5PSIuNTk3Ii8+PC9zdmc+"},function(e,t,n){var r=n(68);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,":root{--main-font:normal 11px Verdana,sans-serif}#app,body,html{height:100%;margin:0;overflow:hidden;padding:0;width:100%}body.resizing{-webkit-user-select:none!important;user-select:none!important}body.resizing *{pointer-events:none}body.resizing.col{cursor:col-resize!important}",""])},function(e,t,n){"use strict";n.r(t);var r=function(){},i={},o=[],a=[];function s(e,t){var n,s,u,l,c=a;for(l=arguments.length;l-- >2;)o.push(arguments[l]);for(t&&null!=t.children&&(o.length||o.push(t.children),delete t.children);o.length;)if((s=o.pop())&&void 0!==s.pop)for(l=s.length;l--;)o.push(s[l]);else"boolean"==typeof s&&(s=null),(u="function"!=typeof e)&&(null==s?s="":"number"==typeof s?s=String(s):"string"!=typeof s&&(u=!1)),u&&n?c[c.length-1]+=s:c===a?c=[s]:c.push(s),n=u;var h=new r;return h.nodeName=e,h.children=c,h.attributes=null==t?void 0:t,h.key=null==t?void 0:t.key,void 0!==i.vnode&&i.vnode(h),h}function u(e,t){for(var n in t)e[n]=t[n];return e}function l(e,t){null!=e&&("function"==typeof e?e(t):e.current=t)}var c="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;var h=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,f=[];function d(e){!e._dirty&&(e._dirty=!0)&&1==f.push(e)&&(i.debounceRendering||c)(p)}function p(){for(var e;e=f.pop();)e._dirty&&I(e)}function g(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&b(e,t.nodeName):n||e._componentConstructor===t.nodeName}function b(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function v(e){var t=u({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n,r,i){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)l(n,null),l(r,e);else if("class"!==t||i)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var o in n)o in r||(e.style[o]="");for(var o in r)e.style[o]="number"==typeof r[o]&&!1===h.test(o)?r[o]+"px":r[o]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,x,a):e.removeEventListener(t,x,a),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!i&&t in e){try{e[t]=null==r?"":r}catch(u){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=i&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function x(e){return this._listeners[e.type](i.event&&i.event(e)||e)}var w=[],C=0,S=!1,T=!1;function M(){for(var e;e=w.shift();)i.afterMount&&i.afterMount(e),e.componentDidMount&&e.componentDidMount()}function z(e,t,n,r,i,o){C++||(S=null!=i&&void 0!==i.ownerSVGElement,T=null!=e&&!("__preactattr_"in e));var a=k(e,t,n,r,o);return i&&a.parentNode!==i&&i.appendChild(a),--C||(T=!1,o||M()),a}function k(e,t,n,r,i){var o=e,a=S;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||i)?e.nodeValue!=t&&(e.nodeValue=t):(o=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(o,e),j(e,!0))),o.__preactattr_=!0,o;var s,u,l=t.nodeName;if("function"==typeof l)return function(e,t,n,r){var i=e&&e._component,o=i,a=e,s=i&&e._componentConstructor===t.nodeName,u=s,l=v(t);for(;i&&!u&&(i=i._parentComponent);)u=i.constructor===t.nodeName;i&&u&&(!r||i._component)?(A(i,l,3,n,r),e=i.base):(o&&!s&&(N(o),e=a=null),i=D(t.nodeName,l,n),e&&!i.nextBase&&(i.nextBase=e,a=null),A(i,l,1,n,r),e=i.base,a&&e!==a&&(a._component=null,j(a,!1)));return e}(e,t,n,r);if(S="svg"===l||"foreignObject"!==l&&S,l=String(l),(!e||!b(e,l))&&(s=l,(u=S?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)).normalizedNodeName=s,o=u,e)){for(;e.firstChild;)o.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(o,e),j(e,!0)}var c=o.firstChild,h=o.__preactattr_,f=t.children;if(null==h){h=o.__preactattr_={};for(var d=o.attributes,p=d.length;p--;)h[d[p].name]=d[p].value}return!T&&f&&1===f.length&&"string"==typeof f[0]&&null!=c&&void 0!==c.splitText&&null==c.nextSibling?c.nodeValue!=f[0]&&(c.nodeValue=f[0]):(f&&f.length||null!=c)&&function(e,t,n,r,i){var o,a,s,u,l,c=e.childNodes,h=[],f={},d=0,p=0,b=c.length,v=0,m=t?t.length:0;if(0!==b)for(var x=0;x{};function K(e){return null!==e&&"object"==typeof e}function Y(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function Z(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function $(e,t){const n="isMobX"+e;return t.prototype[n]=!0,function(e){return K(e)&&!0===e[n]}}function J(e){return e instanceof Map}function Q(e){return e instanceof Set}function X(e){return null===e?null:"object"==typeof e?""+e:e}const ee=Symbol("mobx administration");class te{constructor(e="Atom@"+U()){this.name=e,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=Ee.NOT_TRACKING}onBecomeObserved(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach(e=>e())}onBecomeUnobserved(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach(e=>e())}reportObserved(){return st(this)}reportChanged(){ot(),function(e){if(e.lowestObserverState===Ee.STALE)return;e.lowestObserverState=Ee.STALE,e.observers.forEach(t=>{t.dependenciesState===Ee.UP_TO_DATE&&(t.isTracing!==Be.NONE&&ut(t,e),t.onBecomeStale()),t.dependenciesState=Ee.STALE})}(this),at()}toString(){return this.name}}const ne=$("Atom",te);function re(e,t=q,n=q){const r=new te(e);var i;return t!==q&&Ct("onBecomeObserved",r,t,i),n!==q&&function(e,t,n){Ct("onBecomeUnobserved",e,t,n)}(r,n),r}const ie={identity:function(e,t){return e===t},structural:function(e,t){return ln(e,t)},default:function(e,t){return Object.is(e,t)}},oe=Symbol("mobx did run lazy initializers"),ae=Symbol("mobx pending decorators"),se={},ue={};function le(e,t){const n=t?se:ue;return n[e]||(n[e]={configurable:!0,enumerable:t,get(){return ce(this),this[e]},set(t){ce(this),this[e]=t}})}function ce(e){if(!0===e[oe])return;const t=e[ae];if(t){Z(e,oe,!0);for(let n in t){const r=t[n];r.propertyCreator(e,r.prop,r.descriptor,r.decoratorTarget,r.decoratorArguments)}}}function he(e,t){return function(){let n;const r=function(r,i,o,a){if(!0===a)return t(r,i,o,r,n),null;if(!Object.prototype.hasOwnProperty.call(r,ae)){const e=r[ae];Z(r,ae,Object.assign({},e))}return r[ae][i]={prop:i,propertyCreator:t,descriptor:o,decoratorTarget:r,decoratorArguments:n},le(i,e)};return fe(arguments)?(n=R,r.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),r)}}function fe(e){return(2===e.length||3===e.length)&&"string"==typeof e[1]||4===e.length&&!0===e[3]}function de(e,t,n){return jt(e)?e:Array.isArray(e)?Te.array(e,{name:n}):Y(e)?Te.object(e,void 0,{name:n}):J(e)?Te.map(e,{name:n}):Q(e)?Te.set(e,{name:n}):e}function pe(e){return e}function ge(e){V(e);const t=he(!0,(t,n,r,i,o)=>{const a=r?r.initializer?r.initializer.call(t):r.value:void 0;Xt(t).addObservableProp(n,a,e)}),n=t;return n.enhancer=e,n}const be={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function ve(e){return null==e?be:"string"==typeof e?{name:e,deep:!0,proxy:!0}:e}Object.freeze(be);const ye=ge(de),me=ge((function(e,t,n){return null==e||on(e)||Ut(e)||Kt(e)||Jt(e)?e:Array.isArray(e)?Te.array(e,{name:n,deep:!1}):Y(e)?Te.object(e,void 0,{name:n,deep:!1}):J(e)?Te.map(e,{name:n,deep:!1}):Q(e)?Te.set(e,{name:n,deep:!1}):H(!1)})),xe=ge(pe),we=ge((function(e,t,n){return ln(e,t)?t:e}));function Ce(e){return e.defaultDecorator?e.defaultDecorator.enhancer:!1===e.deep?pe:de}const Se={box(e,t){arguments.length>2&&Me("box");const n=ve(t);return new Ie(e,Ce(n),n.name,!0,n.equals)},array(e,t){arguments.length>2&&Me("array");const n=ve(t);return function(e,t,n="ObservableArray@"+U(),r=!1){const i=new Bt(n,t,r);o=i.values,a=ee,s=i,Object.defineProperty(o,a,{enumerable:!1,writable:!1,configurable:!0,value:s});var o,a,s;const u=new Proxy(i.values,Gt);if(i.proxy=u,e&&e.length){const t=Oe(!0);i.spliceWithArray(0,0,e),Ae(t)}return u}(e,Ce(n),n.name)},map(e,t){arguments.length>2&&Me("map");const n=ve(t);return new Wt(e,Ce(n),n.name)},set(e,t){arguments.length>2&&Me("set");const n=ve(t);return new $t(e,Ce(n),n.name)},object(e,t,n){"string"==typeof arguments[1]&&Me("object");const r=ve(n);if(!1===r.proxy)return St({},e,t,r);{const n=Tt(r),i=function(e){const t=new Proxy(e,Dt);return e[ee].proxy=t,t}(St({},void 0,void 0,r));return Mt(i,e,t,n),i}},ref:xe,shallow:me,deep:ye,struct:we},Te=function(e,t,n){if("string"==typeof arguments[1])return ye.apply(null,arguments);if(jt(e))return e;const r=Y(e)?Te.object(e,t,n):Array.isArray(e)?Te.array(e,t):J(e)?Te.map(e,t):Q(e)?Te.set(e,t):e;if(r!==e)return r;H(!1)};function Me(e){H(`Expected one or two arguments to observable.${e}. Did you accidentally try to use observable.${e} as decorator?`)}Object.keys(Se).forEach(e=>Te[e]=Se[e]);const ze=he(!1,(e,t,n,r,i)=>{const{get:o,set:a}=n,s=i[0]||{};Xt(e).addComputedProp(e,t,Object.assign({get:o,set:a,context:e},s))}),ke=ze({equals:ie.structural}),je=function(e,t,n){if("string"==typeof t)return ze.apply(null,arguments);if(null!==e&&"object"==typeof e&&1===arguments.length)return ze.apply(null,arguments);const r="object"==typeof t?t:{};return r.get=e,r.set="function"==typeof t?t:r.set,r.name=r.name||e.name||"",new Ne(r)};function Le(e,t,n){const r=function(){return _e(e,t,n||this,arguments)};return r.isMobxAction=!0,r}function _e(e,t,n,r){const i=function(e,t,n,r){let i=0;0;const o=Ke();ot();const a=Oe(!0);return{prevDerivation:o,prevAllowStateChanges:a,notifySpy:!1,startTime:i}}();let o=!0;try{const e=t.apply(n,r);return o=!1,e}finally{o?(Xe.suppressReactionErrors=o,De(i),Xe.suppressReactionErrors=!1):De(i)}}function De(e){Ae(e.prevAllowStateChanges),at(),Ye(e.prevDerivation),e.notifySpy}function Oe(e){const t=Xe.allowStateChanges;return Xe.allowStateChanges=e,t}function Ae(e){Xe.allowStateChanges=e}je.struct=ke;class Ie extends te{constructor(e,t,n="ObservableValue@"+U(),r=!0,i=ie.default){super(n),this.enhancer=t,this.name=n,this.equals=i,this.hasUnreportedChange=!1,this.value=t(e,void 0,n)}dehanceValue(e){return void 0!==this.dehancer?this.dehancer(e):e}set(e){this.value;if((e=this.prepareNewValue(e))!==Xe.UNCHANGED){0,this.setNewValue(e)}}prepareNewValue(e){if(He(this),Ot(this)){const t=It(this,{object:this,type:"update",newValue:e});if(!t)return Xe.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?Xe.UNCHANGED:e}setNewValue(e){const t=this.value;this.value=e,this.reportChanged(),Nt(this)&&Et(this,{type:"update",object:this,newValue:e,oldValue:t})}get(){return this.reportObserved(),this.dehanceValue(this.value)}intercept(e){return At(this,e)}observe(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),Pt(this,e)}toJSON(){return this.get()}toString(){return`${this.name}[${this.value}]`}valueOf(){return X(this.get())}[Symbol.toPrimitive](){return this.valueOf()}}$("ObservableValue",Ie);class Ne{constructor(e){this.dependenciesState=Ee.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=Ee.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+U(),this.value=new Re(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Be.NONE,this.derivation=e.get,this.name=e.name||"ComputedValue@"+U(),e.set&&(this.setter=Le(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?ie.structural:ie.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}onBecomeStale(){!function(e){if(e.lowestObserverState!==Ee.UP_TO_DATE)return;e.lowestObserverState=Ee.POSSIBLY_STALE,e.observers.forEach(t=>{t.dependenciesState===Ee.UP_TO_DATE&&(t.dependenciesState=Ee.POSSIBLY_STALE,t.isTracing!==Be.NONE&&ut(t,e),t.onBecomeStale())})}(this)}onBecomeObserved(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach(e=>e())}onBecomeUnobserved(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach(e=>e())}get(){this.isComputing&&H(`Cycle detected in computation ${this.name}: ${this.derivation}`),0!==Xe.inBatch||0!==this.observers.size||this.keepAlive?(st(this),Ue(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState===Ee.STALE)return;e.lowestObserverState=Ee.STALE,e.observers.forEach(t=>{t.dependenciesState===Ee.POSSIBLY_STALE?t.dependenciesState=Ee.STALE:t.dependenciesState===Ee.UP_TO_DATE&&(e.lowestObserverState=Ee.UP_TO_DATE)})}(this)):Ue(this)&&(this.warnAboutUntrackedRead(),ot(),this.value=this.computeValue(!1),at());const e=this.value;if(Fe(e))throw e.cause;return e}peek(){const e=this.computeValue(!1);if(Fe(e))throw e.cause;return e}set(e){if(this.setter){V(!this.isRunningSetter,`The setter of computed value '${this.name}' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?`),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else V(!1,!1)}trackAndCompute(){const e=this.value,t=this.dependenciesState===Ee.NOT_TRACKING,n=this.computeValue(!0),r=t||Fe(e)||Fe(n)||!this.equals(e,n);return r&&(this.value=n),r}computeValue(e){let t;if(this.isComputing=!0,Xe.computationDepth++,e)t=Ve(this,this.derivation,this.scope);else if(!0===Xe.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(n){t=new Re(n)}return Xe.computationDepth--,this.isComputing=!1,t}suspend(){this.keepAlive||(We(this),this.value=void 0)}observe(e,t){let n=!0,r=void 0;return mt(()=>{let i=this.get();if(!n||t){const t=Ke();e({type:"update",object:this,newValue:i,oldValue:r}),Ye(t)}n=!1,r=i})}warnAboutUntrackedRead(){}toJSON(){return this.get()}toString(){return`${this.name}[${this.derivation.toString()}]`}valueOf(){return X(this.get())}[Symbol.toPrimitive](){return this.valueOf()}}const Pe=$("ComputedValue",Ne);var Ee,Ge,Be;(Ge=Ee||(Ee={}))[Ge.NOT_TRACKING=-1]="NOT_TRACKING",Ge[Ge.UP_TO_DATE=0]="UP_TO_DATE",Ge[Ge.POSSIBLY_STALE=1]="POSSIBLY_STALE",Ge[Ge.STALE=2]="STALE",function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Be||(Be={}));class Re{constructor(e){this.cause=e}}function Fe(e){return e instanceof Re}function Ue(e){switch(e.dependenciesState){case Ee.UP_TO_DATE:return!1;case Ee.NOT_TRACKING:case Ee.STALE:return!0;case Ee.POSSIBLY_STALE:{const n=Ke(),r=e.observing,i=r.length;for(let o=0;o0;Xe.computationDepth>0&&t&&H(!1),Xe.allowStateChanges||!t&&"strict"!==Xe.enforceActions||H(!1)}function Ve(e,t,n){Ze(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Xe.runId;const r=Xe.trackingDerivation;let i;if(Xe.trackingDerivation=e,!0===Xe.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(o){i=new Re(o)}return Xe.trackingDerivation=r,function(e){const t=e.observing,n=e.observing=e.newObserving;let r=Ee.UP_TO_DATE,i=0,o=e.unboundDepsCount;for(let a=0;ar&&(r=e.dependenciesState)}n.length=i,e.newObserving=null,o=t.length;for(;o--;){const n=t[o];0===n.diffValue&&rt(n,e),n.diffValue=0}for(;i--;){const t=n[i];1===t.diffValue&&(t.diffValue=0,nt(t,e))}r!==Ee.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),i}function We(e){const t=e.observing;e.observing=[];let n=t.length;for(;n--;)rt(t[n],e);e.dependenciesState=Ee.NOT_TRACKING}function qe(e){const t=Ke();try{return e()}finally{Ye(t)}}function Ke(){const e=Xe.trackingDerivation;return Xe.trackingDerivation=null,e}function Ye(e){Xe.trackingDerivation=e}function Ze(e){if(e.dependenciesState===Ee.UP_TO_DATE)return;e.dependenciesState=Ee.UP_TO_DATE;const t=e.observing;let n=t.length;for(;n--;)t[n].lowestObserverState=Ee.UP_TO_DATE}class $e{constructor(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1}}let Je=!0,Qe=!1,Xe=function(){const e=tt();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Je=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new $e).version&&(Je=!1),Je?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new $e):(setTimeout(()=>{Qe||H("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")},1),new $e)}();function et(){return Xe}function tt(){return"undefined"!=typeof window?window:void 0}function nt(e,t){e.observers.add(t),e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function rt(e,t){e.observers.delete(t),0===e.observers.size&&it(e)}function it(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Xe.pendingUnobservations.push(e))}function ot(){Xe.inBatch++}function at(){if(0==--Xe.inBatch){ht();const e=Xe.pendingUnobservations;for(let t=0;t0&&it(e),!1)}function ut(e,t){if(console.log(`[mobx.trace] '${e.name}' is invalidated due to a change in: '${t.name}'`),e.isTracing===Be.BREAK){const i=[];!function e(t,n,r){if(n.length>=1e3)return void n.push("(and many more)");n.push(`${new Array(r).join("\t")}${t.name}`),t.dependencies&&t.dependencies.forEach(t=>e(t,n,r+1))}((n=e,zt(an(n,r))),i,1),new Function(`debugger;\n/*\nTracing '${e.name}'\n\nYou are entering this break point because derivation '${e.name}' is being traced and '${t.name}' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n${e instanceof Ne?e.derivation.toString().replace(/[*]\//g,"/"):""}\n\nThe dependencies for this derivation are:\n\n${i.join("\n")}\n*/\n `)()}var n,r}class lt{constructor(e="Reaction@"+U(),t,n){this.name=e,this.onInvalidate=t,this.errorHandler=n,this.observing=[],this.newObserving=[],this.dependenciesState=Ee.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+U(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Be.NONE}onBecomeStale(){this.schedule()}schedule(){this._isScheduled||(this._isScheduled=!0,Xe.pendingReactions.push(this),ht())}isScheduled(){return this._isScheduled}runReaction(){if(!this.isDisposed){if(ot(),this._isScheduled=!1,Ue(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(e){this.reportExceptionInDerivation(e)}}at()}}track(e){this.isDisposed&&H("Reaction already disposed"),ot();this._isRunning=!0;const t=Ve(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&We(this),Fe(t)&&this.reportExceptionInDerivation(t.cause),at()}reportExceptionInDerivation(e){if(this.errorHandler)return void this.errorHandler(e,this);if(Xe.disableErrorBoundaries)throw e;const t=`[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '${this}'`;Xe.suppressReactionErrors?console.warn(`[mobx] (error in reaction '${this.name}' suppressed, fix error of causing action below)`):console.error(t,e),Xe.globalReactionErrorHandlers.forEach(t=>t(e,this))}dispose(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(ot(),We(this),at()))}getDisposer(){const e=this.dispose.bind(this);return e[ee]=this,e}toString(){return`Reaction[${this.name}]`}trace(e=!1){!function(...e){let t=!1;"boolean"==typeof e[e.length-1]&&(t=e.pop());const n=function(e){switch(e.length){case 0:return Xe.trackingDerivation;case 1:return an(e[0]);case 2:return an(e[0],e[1])}}(e);if(!n)return H(!1);n.isTracing===Be.NONE&&console.log(`[mobx.trace] '${n.name}' tracing enabled`);n.isTracing=t?Be.BREAK:Be.LOG}(this,e)}}let ct=e=>e();function ht(){Xe.inBatch>0||Xe.isRunningReactions||ct(ft)}function ft(){Xe.isRunningReactions=!0;const e=Xe.pendingReactions;let t=0;for(;e.length>0;){100==++t&&(console.error("Reaction doesn't converge to a stable state after 100 iterations."+` Probably there is a cycle in the reactive function: ${e[0]}`),e.splice(0));let n=e.splice(0);for(let e=0,t=n.length;e",e):2===arguments.length&&"function"==typeof t?Le(e,t):1===arguments.length&&"string"==typeof e?gt(e):!0!==r?gt(t).apply(null,arguments):void Z(e,t,Le(e.name||t,n.value,this))};function yt(e,t,n){Z(e,t,Le(t,n.bind(e)))}function mt(e,t=F){const n=t&&t.name||e.name||"Autorun@"+U();let r;if(!t.scheduler&&!t.delay)r=new lt(n,(function(){this.track(i)}),t.onError);else{const e=wt(t);let o=!1;r=new lt(n,()=>{o||(o=!0,e(()=>{o=!1,r.isDisposed||r.track(i)}))},t.onError)}function i(){e(r)}return r.schedule(),r.getDisposer()}vt.bound=function(e,t,n,r){return!0===r?(yt(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get(){return yt(this,t,n.value||n.initializer.call(this)),this[t]},set:pt}:{enumerable:!1,configurable:!0,set(e){yt(this,t,e)},get(){}}};const xt=e=>e();function wt(e){return e.scheduler?e.scheduler:e.delay?t=>setTimeout(t,e.delay):xt}function Ct(e,t,n,r){const i="string"==typeof n?an(t,n):an(t),o="string"==typeof n?r:n,a=`${e}Listeners`;return i[a]?i[a].add(o):i[a]=new Set([o]),"function"!=typeof i[e]?H(!1):function(){const e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function St(e,t,n,r){const i=Tt(r=ve(r));return ce(e),Xt(e,r.name,i.enhancer),t&&Mt(e,t,n,i),e}function Tt(e){return e.defaultDecorator||(!1===e.deep?xe:ye)}function Mt(e,t,n,r){ot();try{for(let i in t){const o=Object.getOwnPropertyDescriptor(t,i);0;const a=(n&&i in n?n[i]:o.get?ze:r)(e,i,o,!0);a&&Object.defineProperty(e,i,a)}}finally{at()}}function zt(e){const t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=function(e){const t=[];return e.forEach(e=>{-1===t.indexOf(e)&&t.push(e)}),t}(e.observing).map(zt)),t}function kt(e,t){return null!=e&&(void 0!==t?!!on(e)&&e[ee].values.has(t):on(e)||!!e[ee]||ne(e)||dt(e)||Pe(e))}function jt(e){return 1!==arguments.length&&H(!1),kt(e)}function Lt(e,t){ot();try{return e.apply(t)}finally{at()}}function _t(e){return e[ee]}const Dt={has(e,t){if(t===ee||"constructor"===t||t===oe)return!0;const n=_t(e);return"string"==typeof t?n.has(t):t in e},get(e,t){if(t===ee||"constructor"===t||t===oe)return e[t];const n=_t(e),r=n.values.get(t);if(r instanceof te){const e=r.get();return void 0===e&&n.has(t),e}return"string"==typeof t&&n.has(t),e[t]},set:(e,t,n)=>"string"==typeof t&&(function e(t,n,r){if(2!==arguments.length)if(on(t)){const e=t[ee];e.values.get(n)?e.write(n,r):e.addObservableProp(n,r,e.defaultEnhancer)}else if(Kt(t))t.set(n,r);else{if(!Ut(t))return H(!1);"number"!=typeof n&&(n=parseInt(n,10)),V(n>=0,`Not a valid index: '${n}'`),ot(),n>=t.length&&(t.length=n+1),t[n]=r,at()}else{ot();const r=n;try{for(let n in r)e(t,n,r[n])}finally{at()}}}(e,t,n),!0),deleteProperty(e,t){if("string"!=typeof t)return!1;return _t(e).remove(t),!0},ownKeys:e=>(_t(e).keysAtom.reportObserved(),Reflect.ownKeys(e)),preventExtensions:e=>(H("Dynamic observable objects cannot be frozen"),!1)};function Ot(e){return void 0!==e.interceptors&&e.interceptors.length>0}function At(e,t){const n=e.interceptors||(e.interceptors=[]);return n.push(t),W(()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function It(e,t){const n=Ke();try{const r=e.interceptors;if(r)for(let e=0,n=r.length;e0}function Pt(e,t){const n=e.changeListeners||(e.changeListeners=[]);return n.push(t),W(()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Et(e,t){const n=Ke();let r=e.changeListeners;if(r){r=r.slice();for(let e=0,n=r.length;et===ee?e[ee]:"length"===t?e[ee].getArrayLength():"number"==typeof t?Rt.get.call(e,t):"string"!=typeof t||isNaN(t)?Rt.hasOwnProperty(t)?Rt[t]:e[t]:Rt.get.call(e,parseInt(t)),set:(e,t,n)=>"length"===t?(e[ee].setArrayLength(n),!0):"number"==typeof t?(Rt.set.call(e,t,n),!0):!isNaN(t)&&(Rt.set.call(e,parseInt(t),n),!0),preventExtensions:e=>(H("Observable arrays cannot be frozen"),!1)};class Bt{constructor(e,t,n){this.owned=n,this.values=[],this.proxy=void 0,this.lastKnownLength=0,this.atom=new te(e||"ObservableArray@"+U()),this.enhancer=(n,r)=>t(n,r,e+"[..]")}dehanceValue(e){return void 0!==this.dehancer?this.dehancer(e):e}dehanceValues(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e}intercept(e){return At(this,e)}observe(e,t=!1){return t&&e({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),Pt(this,e)}getArrayLength(){return this.atom.reportObserved(),this.values.length}setArrayLength(e){if("number"!=typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);let t=this.values.length;if(e!==t)if(e>t){const n=new Array(e-t);for(let r=0;rr?e=r:e<0&&(e=Math.max(0,r+e)),t=1===arguments.length?r-e:null==t?0:Math.max(0,Math.min(t,r-e)),void 0===n&&(n=R),Ot(this)){const r=It(this,{object:this.proxy,type:"splice",index:e,removedCount:t,added:n});if(!r)return R;t=r.removedCount,n=r.added}n=0===n.length?n:n.map(e=>this.enhancer(e,void 0));const i=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,i),this.dehanceValues(i)}spliceItemsIntoValues(e,t,n){if(n.length<1e4)return this.values.splice(e,t,...n);{const r=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),r}}notifyArrayChildUpdate(e,t,n){const r=!this.owned&&!1,i=Nt(this),o=i||r?{object:this.proxy,type:"update",index:e,newValue:t,oldValue:n}:null;this.atom.reportChanged(),i&&Et(this,o)}notifyArraySplice(e,t,n){const r=!this.owned&&!1,i=Nt(this),o=i||r?{object:this.proxy,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom.reportChanged(),i&&Et(this,o)}}const Rt={intercept(e){return this[ee].intercept(e)},observe(e,t=!1){return this[ee].observe(e,t)},clear(){return this.splice(0)},replace(e){const t=this[ee];return t.spliceWithArray(0,t.values.length,e)},toJS(){return this.slice()},toJSON(){return this.toJS()},splice(e,t,...n){const r=this[ee];switch(arguments.length){case 0:return[];case 1:return r.spliceWithArray(e);case 2:return r.spliceWithArray(e,t)}return r.spliceWithArray(e,t,n)},spliceWithArray(e,t,n){return this[ee].spliceWithArray(e,t,n)},push(...e){const t=this[ee];return t.spliceWithArray(t.values.length,0,e),t.values.length},pop(){return this.splice(Math.max(this[ee].values.length-1,0),1)[0]},shift(){return this.splice(0,1)[0]},unshift(...e){const t=this[ee];return t.spliceWithArray(0,0,e),t.values.length},reverse(){const e=this.slice();return e.reverse.apply(e,arguments)},sort(e){const t=this.slice();return t.sort.apply(t,arguments)},remove(e){const t=this[ee],n=t.dehanceValues(t.values).indexOf(e);return n>-1&&(this.splice(n,1),!0)},get(e){const t=this[ee];if(t){if(e{Rt[e]=function(){const t=this[ee];t.atom.reportObserved();const n=t.dehanceValues(t.values);return n[e].apply(n,arguments)}});const Ft=$("ObservableArrayAdministration",Bt);function Ut(e){return K(e)&&Ft(e[ee])}var Ht;const Vt={};class Wt{constructor(e,t=de,n="ObservableMap@"+U()){if(this.enhancer=t,this.name=n,this[Ht]=Vt,this._keysAtom=re(`${this.name}.keys()`),this[Symbol.toStringTag]="Map","function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(e)}_has(e){return this._data.has(e)}has(e){return this._hasMap.has(e)?this._hasMap.get(e).get():this._updateHasMapEntry(e,!1).get()}set(e,t){const n=this._has(e);if(Ot(this)){const r=It(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this}delete(e){if(Ot(this)){if(!It(this,{type:"delete",object:this,name:e}))return!1}if(this._has(e)){const t=!1,n=Nt(this),r=n||t?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return Lt(()=>{this._keysAtom.reportChanged(),this._updateHasMapEntry(e,!1),this._data.get(e).setNewValue(void 0),this._data.delete(e)}),n&&Et(this,r),!0}return!1}_updateHasMapEntry(e,t){let n=this._hasMap.get(e);return n?n.setNewValue(t):(n=new Ie(t,pe,`${this.name}.${qt(e)}?`,!1),this._hasMap.set(e,n)),n}_updateValue(e,t){const n=this._data.get(e);if((t=n.prepareNewValue(t))!==Xe.UNCHANGED){const r=!1,i=Nt(this),o=i||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;0,n.setNewValue(t),i&&Et(this,o)}}_addValue(e,t){He(this._keysAtom),Lt(()=>{const n=new Ie(t,this.enhancer,`${this.name}.${qt(e)}`,!1);this._data.set(e,n),t=n.value,this._updateHasMapEntry(e,!0),this._keysAtom.reportChanged()});const n=Nt(this),r=n?{type:"add",object:this,name:e,newValue:t}:null;n&&Et(this,r)}get(e){return this.has(e)?this.dehanceValue(this._data.get(e).get()):this.dehanceValue(void 0)}dehanceValue(e){return void 0!==this.dehancer?this.dehancer(e):e}keys(){return this._keysAtom.reportObserved(),this._data.keys()}values(){const e=this;let t=0;const n=Array.from(this.keys());return dn({next:()=>t{Y(e)?Object.keys(e).forEach(t=>this.set(t,e[t])):Array.isArray(e)?e.forEach(([e,t])=>this.set(e,t)):J(e)?(e.constructor!==Map&&H("Cannot initialize from classes that inherit from Map: "+e.constructor.name),e.forEach((e,t)=>this.set(t,e))):null!=e&&H("Cannot initialize map from "+e)}),this}clear(){Lt(()=>{qe(()=>{for(const e of this.keys())this.delete(e)})})}replace(e){return Lt(()=>{const t=Y(n=e)?Object.keys(n):Array.isArray(n)?n.map(([e])=>e):J(n)||Kt(n)?Array.from(n.keys()):H(`Cannot get keys from '${n}'`);var n;Array.from(this.keys()).filter(e=>-1===t.indexOf(e)).forEach(e=>this.delete(e)),this.merge(e)}),this}get size(){return this._keysAtom.reportObserved(),this._data.size}toPOJO(){const e={};for(const[t,n]of this)e["symbol"==typeof t?t:qt(t)]=n;return e}toJS(){return new Map(this)}toJSON(){return this.toPOJO()}toString(){return this.name+"[{ "+Array.from(this.keys()).map(e=>`${qt(e)}: ${""+this.get(e)}`).join(", ")+" }]"}observe(e,t){return Pt(this,e)}intercept(e){return At(this,e)}}function qt(e){return e&&e.toString?e.toString():new String(e).toString()}const Kt=$("ObservableMap",Wt);var Yt;const Zt={};class $t{constructor(e,t=de,n="ObservableSet@"+U()){if(this.name=n,this[Yt]=Zt,this._data=new Set,this._atom=re(this.name),this[Symbol.toStringTag]="Set","function"!=typeof Set)throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");this.enhancer=(e,r)=>t(e,r,n),e&&this.replace(e)}dehanceValue(e){return void 0!==this.dehancer?this.dehancer(e):e}clear(){Lt(()=>{qe(()=>{for(const e of this._data.values())this.delete(e)})})}forEach(e,t){for(const n of this)e.call(t,n,n,this)}get size(){return this._atom.reportObserved(),this._data.size}add(e){if(He(this._atom),Ot(this)){if(!It(this,{type:"add",object:this,newValue:e}))return this}if(!this.has(e)){Lt(()=>{this._data.add(this.enhancer(e,void 0)),this._atom.reportChanged()});const t=!1,n=Nt(this),r=n||t?{type:"add",object:this,newValue:e}:null;0,n&&Et(this,r)}return this}delete(e){if(Ot(this)){if(!It(this,{type:"delete",object:this,oldValue:e}))return!1}if(this.has(e)){const t=!1,n=Nt(this),r=n||t?{type:"delete",object:this,oldValue:e}:null;return Lt(()=>{this._atom.reportChanged(),this._data.delete(e)}),n&&Et(this,r),!0}return!1}has(e){return this._atom.reportObserved(),this._data.has(this.dehanceValue(e))}entries(){let e=0;const t=Array.from(this.keys()),n=Array.from(this.values());return dn({next(){const r=e;return e+=1,rt{Array.isArray(e)||Q(e)?(this.clear(),e.forEach(e=>this.add(e))):null!=e&&H("Cannot initialize set from "+e)}),this}observe(e,t){return Pt(this,e)}intercept(e){return At(this,e)}toJS(){return new Set(this)}toString(){return this.name+"[ "+Array.from(this).join(", ")+" ]"}[(Yt=ee,Symbol.iterator)](){return this.values()}}const Jt=$("ObservableSet",$t);class Qt{constructor(e,t=new Map,n,r){this.target=e,this.values=t,this.name=n,this.defaultEnhancer=r,this.keysAtom=new te(n+".keys")}read(e){return this.values.get(e).get()}write(e,t){const n=this.target,r=this.values.get(e);if(r instanceof Ne)r.set(t);else{if(Ot(this)){const r=It(this,{type:"update",object:this.proxy||n,name:e,newValue:t});if(!r)return;t=r.newValue}if((t=r.prepareNewValue(t))!==Xe.UNCHANGED){const i=Nt(this),o=!1,a=i||o?{type:"update",object:this.proxy||n,oldValue:r.value,name:e,newValue:t}:null;0,r.setNewValue(t),i&&Et(this,a)}}}has(e){const t=this.pendingKeys||(this.pendingKeys=new Map);let n=t.get(e);if(n)return n.get();{const r=!!this.values.get(e);return n=new Ie(r,pe,`${this.name}.${e.toString()}?`,!1),t.set(e,n),n.get()}}addObservableProp(e,t,n=this.defaultEnhancer){const{target:r}=this;if(Ot(this)){const n=It(this,{object:this.proxy||r,name:e,type:"add",newValue:t});if(!n)return;t=n.newValue}const i=new Ie(t,n,`${this.name}.${e}`,!1);this.values.set(e,i),t=i.value,Object.defineProperty(r,e,function(e){return en[e]||(en[e]={configurable:!0,enumerable:!0,get(){return this[ee].read(e)},set(t){this[ee].write(e,t)}})}(e)),this.notifyPropertyAddition(e,t)}addComputedProp(e,t,n){const{target:r}=this;n.name=n.name||`${this.name}.${t}`,this.values.set(t,new Ne(n)),(e===r||function(e,t){const n=Object.getOwnPropertyDescriptor(e,t);return!n||!1!==n.configurable&&!1!==n.writable}(e,t))&&Object.defineProperty(e,t,function(e){return tn[e]||(tn[e]={configurable:!1,enumerable:!1,get(){return nn(this).read(e)},set(t){nn(this).write(e,t)}})}(t))}remove(e){if(!this.values.has(e))return;const{target:t}=this;if(Ot(this)){if(!It(this,{object:this.proxy||t,name:e,type:"remove"}))return}try{ot();const n=Nt(this),r=!1,i=this.values.get(e),o=i&&i.get();if(i&&i.set(void 0),this.keysAtom.reportChanged(),this.values.delete(e),this.pendingKeys){const t=this.pendingKeys.get(e);t&&t.set(!1)}delete this.target[e];const a=n||r?{type:"remove",object:this.proxy||t,oldValue:o,name:e}:null;0,n&&Et(this,a)}finally{at()}}illegalAccess(e,t){console.warn(`Property '${t}' of '${e}' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner`)}observe(e,t){return Pt(this,e)}intercept(e){return At(this,e)}notifyPropertyAddition(e,t){const n=Nt(this),r=n?{type:"add",object:this.proxy||this.target,name:e,newValue:t}:null;if(n&&Et(this,r),this.pendingKeys){const t=this.pendingKeys.get(e);t&&t.set(!0)}this.keysAtom.reportChanged()}getKeys(){this.keysAtom.reportObserved();const e=[];for(const[t,n]of this.values)n instanceof Ie&&e.push(t);return e}}function Xt(e,t="",n=de){if(Object.prototype.hasOwnProperty.call(e,ee))return e[ee];Y(e)||(t=(e.constructor.name||"ObservableObject")+"@"+U()),t||(t="ObservableObject@"+U());const r=new Qt(e,new Map,t,n);return Z(e,ee,r),r}const en=Object.create(null),tn=Object.create(null);function nn(e){const t=e[ee];return t||(ce(e),e[ee])}const rn=$("ObservableObjectAdministration",Qt);function on(e){return!!K(e)&&(ce(e),rn(e[ee]))}function an(e,t){if("object"==typeof e&&null!==e){if(Ut(e))return void 0!==t&&H(!1),e[ee].atom;if(Jt(e))return e[ee];if(Kt(e)){const n=e;if(void 0===t)return n._keysAtom;const r=n._data.get(t)||n._hasMap.get(t);return r||H(!1),r}if(ce(e),t&&!e[ee]&&e[t],on(e)){if(!t)return H(!1);const n=e[ee].values.get(t);return n||H(!1),n}if(ne(e)||Pe(e)||dt(e))return e}else if("function"==typeof e&&dt(e[ee]))return e[ee];return H(!1)}function sn(e,t){return e||H("Expecting some object"),void 0!==t?sn(an(e,t)):ne(e)||Pe(e)||dt(e)||Kt(e)||Jt(e)?e:(ce(e),e[ee]?e[ee]:void H(!1))}const un=Object.prototype.toString;function ln(e,t){return cn(e,t)}function cn(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;const i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&function(e,t,n,r){e=hn(e),t=hn(t);const i=un.call(e);if(i!==un.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}const o="[object Array]"===i;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;const n=e.constructor,r=t.constructor;if(n!==r&&!("function"==typeof n&&n instanceof n&&"function"==typeof r&&r instanceof r)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];let a=(n=n||[]).length;for(;a--;)if(n[a]===e)return r[a]===t;if(n.push(e),r.push(t),o){if(a=e.length,a!==t.length)return!1;for(;a--;)if(!cn(e[a],t[a],n,r))return!1}else{const i=Object.keys(e);let o;if(a=i.length,Object.keys(t).length!==a)return!1;for(;a--;)if(o=i[a],!fn(t,o)||!cn(e[o],t[o],n,r))return!1}return n.pop(),r.pop(),!0}(e,t,n,r)}function hn(e){return Ut(e)?e.slice():J(e)||Kt(e)||Q(e)||Jt(e)?Array.from(e.entries()):e}function fn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function dn(e){return e[Symbol.iterator]=pn,e}function pn(){return this}if("undefined"==typeof Proxy||"undefined"==typeof Symbol)throw new Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");function gn(e){return"number"==typeof e.parsedSize}function bn(e,t){for(const n of e){if(!1===t(n))return!1;if(n.groups&&!1===bn(n.groups,t))return!1}}"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:function(e,t){let n;return n=void 0!==t?an(e,t):on(e)||Kt(e)||Jt(e)?sn(e):an(e),n.name}},$mobx:ee});var vn,yn,mn,xn,wn,Cn,Sn,Tn,Mn,zn={getItem(e){try{return JSON.parse(window.localStorage.getItem("".concat("wba",".").concat(e)))}catch(t){return null}},setItem(e,t){try{window.localStorage.setItem("".concat("wba",".").concat(e),JSON.stringify(t))}catch(n){}},removeItem(e){try{window.localStorage.removeItem("".concat("wba",".").concat(e))}catch(t){}}};const kn=new(vn=Te.ref,yn=Te.shallow,xn=B((mn=class{constructor(){this.cid=0,this.sizes=new Set(["statSize","parsedSize","gzipSize"]),G(this,"allChunks",xn,this),G(this,"selectedChunks",wn,this),G(this,"searchQuery",Cn,this),G(this,"defaultSize",Sn,this),G(this,"selectedSize",Tn,this),G(this,"showConcatenatedModulesContent",Mn,this)}setModules(e){bn(e,e=>{e.cid=this.cid++}),this.allChunks=e,this.selectedChunks=this.allChunks}get hasParsedSizes(){return this.allChunks.some(gn)}get activeSize(){const e=this.selectedSize||this.defaultSize;return this.hasParsedSizes&&this.sizes.has(e)?e:"statSize"}get visibleChunks(){const e=this.allChunks.filter(e=>this.selectedChunks.includes(e));return this.filterModulesForSize(e,this.activeSize)}get allChunksSelected(){return this.visibleChunks.length===this.allChunks.length}get totalChunksSize(){return this.allChunks.reduce((e,t)=>e+(t[this.activeSize]||0),0)}get searchQueryRegexp(){const e=this.searchQuery.trim();if(!e)return null;try{return new RegExp(e,"iu")}catch(t){return null}}get isSearching(){return!!this.searchQueryRegexp}get foundModulesByChunk(){if(!this.isSearching)return[];const e=this.searchQueryRegexp;return this.visibleChunks.map(t=>{let n=[];bn(t.groups,t=>{let r=0;if(e.test(t.label)?r+=3:t.path&&e.test(t.path)&&r++,!r)return;t.groups||(r+=1),(n[r-1]=n[r-1]||[]).push(t)});const{activeSize:r}=this;return n=n.filter(Boolean).reverse(),n.forEach(e=>e.sort((e,t)=>t[r]-e[r])),{chunk:t,modules:[].concat(...n)}}).filter(e=>e.modules.length>0).sort((e,t)=>e.modules.length-t.modules.length)}get foundModules(){return this.foundModulesByChunk.reduce((e,t)=>e.concat(t.modules),[])}get hasFoundModules(){return this.foundModules.length>0}get hasConcatenatedModules(){let e=!1;return bn(this.visibleChunks,t=>{if(t.concatenated)return e=!0,!1}),e}get foundModulesSize(){return this.foundModules.reduce((e,t)=>e+t[this.activeSize],0)}filterModulesForSize(e,t){return e.reduce((e,n)=>{if(n[t]){if(n.groups){const e=!n.concatenated||this.showConcatenatedModulesContent;n={...n,groups:e?this.filterModulesForSize(n.groups,t):null}}n.weight=n[t],e.push(n)}return e},[])}}).prototype,"allChunks",[vn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),wn=B(mn.prototype,"selectedChunks",[yn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Cn=B(mn.prototype,"searchQuery",[Te],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Sn=B(mn.prototype,"defaultSize",[Te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Tn=B(mn.prototype,"selectedSize",[Te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Mn=B(mn.prototype,"showConcatenatedModulesContent",[Te],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0===zn.getItem("showConcatenatedModulesContent")}}),B(mn.prototype,"hasParsedSizes",[je],Object.getOwnPropertyDescriptor(mn.prototype,"hasParsedSizes"),mn.prototype),B(mn.prototype,"activeSize",[je],Object.getOwnPropertyDescriptor(mn.prototype,"activeSize"),mn.prototype),B(mn.prototype,"visibleChunks",[je],Object.getOwnPropertyDescriptor(mn.prototype,"visibleChunks"),mn.prototype),B(mn.prototype,"allChunksSelected",[je],Object.getOwnPropertyDescriptor(mn.prototype,"allChunksSelected"),mn.prototype),B(mn.prototype,"totalChunksSize",[je],Object.getOwnPropertyDescriptor(mn.prototype,"totalChunksSize"),mn.prototype),B(mn.prototype,"searchQueryRegexp",[je],Object.getOwnPropertyDescriptor(mn.prototype,"searchQueryRegexp"),mn.prototype),B(mn.prototype,"isSearching",[je],Object.getOwnPropertyDescriptor(mn.prototype,"isSearching"),mn.prototype),B(mn.prototype,"foundModulesByChunk",[je],Object.getOwnPropertyDescriptor(mn.prototype,"foundModulesByChunk"),mn.prototype),B(mn.prototype,"foundModules",[je],Object.getOwnPropertyDescriptor(mn.prototype,"foundModules"),mn.prototype),B(mn.prototype,"hasFoundModules",[je],Object.getOwnPropertyDescriptor(mn.prototype,"hasFoundModules"),mn.prototype),B(mn.prototype,"hasConcatenatedModules",[je],Object.getOwnPropertyDescriptor(mn.prototype,"hasConcatenatedModules"),mn.prototype),B(mn.prototype,"foundModulesSize",[je],Object.getOwnPropertyDescriptor(mn.prototype,"foundModulesSize"),mn.prototype),mn);var jn=n(5),Ln=n.n(jn);function _n(e){return!(e.prototype&&e.prototype.render||P.isPrototypeOf(e))}function Dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=void 0===n?"":n,i=t.suffix,o=void 0===i?"":i,a=e.displayName||e.name||e.constructor&&e.constructor.name||"";return r+a+o}var On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},An=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},In=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=e[t],i=Un[t],o=r?!0===n?function(){i.apply(this,arguments),r.apply(this,arguments)}:function(){r.apply(this,arguments),i.apply(this,arguments)}:i;e[t]=o}function Fn(e,t){if(null==e||null==t||"object"!==(void 0===e?"undefined":On(e))||"object"!==(void 0===t?"undefined":On(t)))return e!==t;var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(var r=void 0,i=n.length-1;r=n[i];i--)if(t[r]!==e[r])return!0;return!1}var Un={componentWillMount:function(){var e=this;if(!0!==En){var t=Dn(this),n=!1,r=!1;u.call(this,"props"),u.call(this,"state");var i=this.render.bind(this),o=null,a=!1,s=function(e,t,n){a=!1;var r=void 0,s=void 0;if(o.track((function(){try{s=Bn(!1,i,e,t,n)}catch(o){r=o}})),r)throw r;return s};this.render=function(){return(o=new lt(t+".render()",(function(){if(!a&&(a=!0,"function"==typeof e.componentWillReact&&e.componentWillReact(),!0!==e.__$mobxIsUnmounted)){var t=!0;try{r=!0,n||P.prototype.forceUpdate.call(e),t=!1}finally{r=!1,t&&o.dispose()}}}))).reactComponent=e,s.$mobx=o,e.render=s,s(e.props,e.state,e.context)}}function u(e){var t=this[e],i=re("reactive "+e);Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:function(){return i.reportObserved(),t},set:function(e){!r&&Fn(t,e)?(t=e,n=!0,i.reportChanged(),n=!1):t=e}})}},componentWillUnmount:function(){!0!==En&&(this.render.$mobx&&this.render.$mobx.dispose(),this.__$mobxIsUnmounted=!0)},componentDidMount:function(){},componentDidUpdate:function(){},shouldComponentUpdate:function(e,t){return En&&Gn.warn("[mobx-preact] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==t||Fn(this.props,e)}};function Hn(e){var t,n;if(arguments.length>1&&Gn.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect(["store1", "store2"]) ComponentClass instead or preferably, use `@inject("store1", "store2") @observer ComponentClass` or `inject("store1", "store2")(observer(componentClass))``'),!0===e.isMobxInjector&&Gn.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),_n(e))return Hn((n=t=function(t){function n(){return An(this,n),Pn(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return Nn(n,t),In(n,[{key:"render",value:function(){return e.call(this,this.props,this.context)}}]),n}(P),t.displayName=Dn(e),n));if(!e)throw new Error("Please pass a valid component to 'observer'");var r=e.prototype||e;return Vn(r),e.isMobXReactObserver=!0,e}function Vn(e){Rn(e,"componentWillMount",!0),Rn(e,"componentDidMount"),e.shouldComponentUpdate||(e.shouldComponentUpdate=Un.shouldComponentUpdate)}Hn((function(e){return e.children[0]()})).displayName="Observer";"undefined"!=typeof window?window:"undefined"!=typeof self&&self;!function(e,t){e(t={exports:{}},t.exports)}((function(e,t){ /** * Copyright 2015, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */var n,r,i,o,a,s,u,l;e.exports=(n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,o=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object),function e(t,c,h){if("string"!=typeof c){if(l){var f=u(c);f&&f!==l&&e(t,f,h)}var d=o(c);a&&(d=d.concat(a(c)));for(var p=0;p1?s("div",null," ",t," "):t[0]}},{key:"getChildContext",value:function(){var e={},t=this.context.mobxStores;if(t)for(var n in t)e[n]=t[n];for(var r in this.props)Wn[r]||"suppressChangedStoreWarning"===r||(e[r]=this.props[r]);return{mobxStores:e}}},{key:"componentWillReceiveProps",value:function(e){if(Object.keys(e).length!==Object.keys(this.props).length&&qn.warn("MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children"),!e.suppressChangedStoreWarning)for(var t in e)Wn[t]||this.props[t]===e[t]||qn.warn("MobX Provider: Provided store '"+t+"' has changed. Please avoid replacing stores as the change might not propagate to all children")}}])}(P);if(!P)throw new Error("mobx-preact requires Preact to be available");function Kn(){return(Kn=Object.assign||function(e){for(var t=1;tthis.node=e,this.resize=()=>{const{props:e}=this;this.treemap.resize(),e.onResize&&e.onResize()},this.treemap=null,this.zoomOutDisabled=!1}componentDidMount(){this.treemap=this.createTreemap(),window.addEventListener("resize",this.resize)}componentWillReceiveProps(e){if(e.data!==this.props.data)this.treemap.set({dataObject:this.getTreemapDataObject(e.data)});else if(e.highlightGroups!==this.props.highlightGroups){const t=[...e.highlightGroups,...this.props.highlightGroups];setTimeout(()=>this.treemap.redraw(!1,t))}}shouldComponentUpdate(){return!1}componentWillUnmount(){window.removeEventListener("resize",this.resize),this.treemap.dispose()}render(){return s("div",Kn({},this.props,{ref:this.saveNodeRef}))}getTreemapDataObject(e=this.props.data){return{groups:e}}createTreemap(){const e=this,{props:t}=this;return new Zn.a({element:this.node,layout:"squarified",stacking:"flattened",pixelRatio:window.devicePixelRatio||1,maxGroups:1/0,maxGroupLevelsDrawn:1/0,maxGroupLabelLevelsDrawn:1/0,maxGroupLevelsAttached:1/0,groupMinDiameter:0,groupLabelVerticalPadding:.2,rolloutDuration:0,pullbackDuration:0,fadeDuration:0,groupExposureZoomMargin:.2,zoomMouseWheelDuration:300,openCloseDuration:200,dataObject:this.getTreemapDataObject(),titleBarDecorator(e,t,n){n.titleBarShown=!1},groupColorDecorator(t,n,r){const{highlightGroups:i}=e.props,o=n.group;i&&i.has(o)&&(r.groupColor={model:"rgba",r:255,g:0,b:0,a:.8})},onGroupClick(n){Jn(n),(n.ctrlKey||n.secondary)&&t.onGroupSecondaryClick?t.onGroupSecondaryClick.call(e,n):(e.zoomOutDisabled=!1,this.zoom(n.group))},onGroupDoubleClick:Jn,onGroupHover(n){n.group&&n.group.attribution?n.preventDefault():t.onGroupHover&&t.onGroupHover.call(e,n)},onGroupMouseWheel(t){const{scale:n}=this.get("viewport");if(t.delta<0){if(e.zoomOutDisabled)return Jn(t);n<1&&(e.zoomOutDisabled=!0,Jn(t))}else e.zoomOutDisabled=!1}})}zoomToGroup(e){for(this.zoomOutDisabled=!1;e&&!this.treemap.get("state",e).revealed;)e=this.treemap.get("hierarchy",e).parent;e&&this.treemap.zoom(e)}isGroupRendered(e){const t=this.treemap.get("state",e);return!!t&&t.revealed}update(){this.treemap.update()}}function Jn(e){e.preventDefault()}var Qn=n(0),Xn=n.n(Qn),er=n(15),tr=n.n(er);class nr extends P{constructor(...e){super(...e),this.mouseCoords={x:0,y:0},this.state={left:0,top:0},this.handleMouseMove=e=>{Object.assign(this.mouseCoords,{x:e.pageX,y:e.pageY}),this.props.visible&&this.updatePosition()},this.saveNode=e=>this.node=e}componentDidMount(){document.addEventListener("mousemove",this.handleMouseMove,!0)}shouldComponentUpdate(e){return this.props.visible||e.visible}componentWillUnmount(){document.removeEventListener("mousemove",this.handleMouseMove,!0)}render(){const{children:e,visible:t}=this.props,n=Xn()({[tr.a.container]:!0,[tr.a.hidden]:!t});return s("div",{ref:this.saveNode,className:n,style:this.getStyle()},e)}getStyle(){return{left:this.state.left,top:this.state.top}}updatePosition(){if(!this.props.visible)return;const e={left:this.mouseCoords.x+nr.marginX,top:this.mouseCoords.y+nr.marginY},t=this.node.getBoundingClientRect();e.left+t.width>window.innerWidth&&(e.left=window.innerWidth-t.width),e.top+t.height>window.innerHeight&&(e.top=this.mouseCoords.y-nr.marginY-t.height),this.setState(e)}}nr.marginX=10,nr.marginY=30;var rr=n(9),ir=n.n(rr);class or extends P{shouldComponentUpdate(e,t){return!ar(e,this.props)||!ar(this.state,t)}}function ar(e,t){if(e===t)return!0;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r{this.elem.blur(),this.props.onClick(e)},this.saveRef=e=>this.elem=e}render({active:e,toggle:t,className:n,children:r,...i}){const o=Xn()(n,{[ir.a.button]:!0,[ir.a.active]:e,[ir.a.toggle]:t});return s("button",Kn({},i,{ref:this.saveRef,type:"button",className:o,disabled:this.disabled,onClick:this.handleClick}),r)}get disabled(){const{props:e}=this;return e.disabled||e.active&&!e.toggle}}class ur extends or{constructor(...e){super(...e),this.handleClick=()=>{this.props.onClick(this.props.item)}}render({item:e,...t}){return s(sr,Kn({},t,{onClick:this.handleClick}),e.label)}}var lr=n(10),cr=n.n(lr);class hr extends or{render(){const{label:e,items:t,activeItem:n,onSwitch:r}=this.props;return s("div",{className:cr.a.container},s("div",{className:cr.a.label},e,":"),s("div",null,t.map(e=>s(ur,{key:e.label,className:cr.a.item,item:e,active:e===n,onClick:r}))))}}var fr=n(4),dr=n.n(fr),pr=n(23),gr=n.n(pr);const br={"arrow-right":{src:n(34),size:[7,13]},pin:{src:n(35),size:[12,18]}};class vr extends or{render({className:e}){return s("i",{className:Xn()(gr.a.icon,e),style:this.style})}get style(){const{name:e,size:t,rotate:n}=this.props,r=br[e];if(!r)throw new TypeError("Can't find \"".concat(e,'" icon.'));let[i,o]=r.size;if(t){const e=t/Math.max(i,o);i=Math.min(Math.ceil(i*e),t),o=Math.min(Math.ceil(o*e),t)}return{backgroundImage:"url(".concat(r.src,")"),width:"".concat(i,"px"),height:"".concat(o,"px"),transform:n?"rotate(".concat(n,"deg)"):""}}}const yr=parseInt(dr.a.toggleTime);class mr extends P{constructor(...e){super(...e),this.allowHide=!0,this.toggling=!1,this.hideContentTimeout=null,this.width=null,this.state={visible:!0,renderContent:!0},this.handleClick=()=>{this.allowHide=!1},this.handleMouseEnter=()=>{this.toggling||this.props.pinned||(clearTimeout(this.hideTimeoutId),this.toggleVisibility(!0))},this.handleMouseMove=()=>{this.allowHide=!0},this.handleMouseLeave=()=>{!this.allowHide||this.toggling||this.props.pinned||this.toggleVisibility(!1)},this.handleToggleButtonClick=()=>{this.toggleVisibility()},this.handlePinButtonClick=()=>{const e=!this.props.pinned;this.width=e?this.node.getBoundingClientRect().width:null,this.updateNodeWidth(),this.props.onPinStateChange(e)},this.handleResizeStart=e=>{this.resizeInfo={startPageX:e.pageX,initialWidth:this.width},document.body.classList.add("resizing","col"),document.addEventListener("mousemove",this.handleResize,!0),document.addEventListener("mouseup",this.handleResizeEnd,!0)},this.handleResize=e=>{this.width=this.resizeInfo.initialWidth+(e.pageX-this.resizeInfo.startPageX),this.updateNodeWidth()},this.handleResizeEnd=()=>{document.body.classList.remove("resizing","col"),document.removeEventListener("mousemove",this.handleResize,!0),document.removeEventListener("mouseup",this.handleResizeEnd,!0),this.props.onResize()},this.saveNode=e=>this.node=e}componentDidMount(){this.hideTimeoutId=setTimeout(()=>this.toggleVisibility(!1),3e3)}componentWillUnmount(){clearTimeout(this.hideTimeoutId),clearTimeout(this.hideContentTimeout)}render(){const{position:e,pinned:t,children:n}=this.props,{visible:r,renderContent:i}=this.state,o=Xn()({[dr.a.container]:!0,[dr.a.pinned]:t,[dr.a.left]:"left"===e,[dr.a.hidden]:!r,[dr.a.empty]:!i});return s("div",{ref:this.saveNode,className:o,onClick:this.handleClick,onMouseLeave:this.handleMouseLeave},r&&s(sr,{type:"button",title:"Pin",className:dr.a.pinButton,active:t,toggle:!0,onClick:this.handlePinButtonClick},s(vr,{name:"pin",size:13})),s(sr,{type:"button",title:r?"Hide":"Show sidebar",className:dr.a.toggleButton,onClick:this.handleToggleButtonClick},s(vr,{name:"arrow-right",size:10,rotate:r?180:0})),t&&r&&s("div",{className:dr.a.resizer,onMouseDown:this.handleResizeStart}),s("div",{className:dr.a.content,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove},i?n:null))}toggleVisibility(e){clearTimeout(this.hideContentTimeout);const{visible:t}=this.state,{onToggle:n,pinned:r}=this.props;if(void 0===e)e=!t;else if(e===t)return;this.setState({visible:e}),this.toggling=!0,setTimeout(()=>{this.toggling=!1},yr),r&&this.updateNodeWidth(e?this.width:null),e||r?(this.setState({renderContent:e}),n(e)):e||(this.hideContentTimeout=setTimeout(()=>{this.hideContentTimeout=null,this.setState({renderContent:!1}),n(!1)},yr))}updateNodeWidth(e=this.width){this.node.style.width=e?"".concat(e,"px"):""}}mr.defaultProps={pinned:!1,position:"left"};var xr=n(11),wr=n.n(xr);class Cr extends P{constructor(...e){super(...e),this.handleChange=()=>{this.props.onChange(!this.props.checked)}}render(){const{checked:e,className:t,children:n}=this.props;return s("label",{className:Xn()(wr.a.label,t)},s("input",{className:wr.a.checkbox,type:"checkbox",checked:e,onChange:this.handleChange}),s("span",{className:wr.a.itemText},n))}}var Sr=n(7),Tr=n.n(Sr);class Mr extends P{constructor(...e){super(...e),this.handleChange=()=>{this.props.onChange(this.props.item)}}render(){return s("div",{className:Tr.a.item},s(Cr,Kn({},this.props,{onChange:this.handleChange}),this.renderLabel()))}renderLabel(){const{children:e,item:t}=this.props;return e&&e.length?e[0](t):t===kr.ALL_ITEM?"All":t.label}}const zr=Symbol("ALL_ITEM");class kr extends or{constructor(e){super(e),this.handleToggleAllCheck=()=>{const e=this.isAllChecked()?[]:this.props.items;this.setState({checkedItems:e}),this.informAboutChange(e)},this.handleItemCheck=e=>{let t;t=this.isItemChecked(e)?this.state.checkedItems.filter(t=>t!==e):[...this.state.checkedItems,e],this.setState({checkedItems:t}),this.informAboutChange(t)},this.state={checkedItems:e.checkedItems||e.items}}componentWillReceiveProps(e){if(e.items!==this.props.items){if(this.isAllChecked())this.setState({checkedItems:e.items}),this.informAboutChange(e.items);else if(this.state.checkedItems.length){const t=e.items.filter(e=>this.state.checkedItems.find(t=>t.label===e.label));this.setState({checkedItems:t}),this.informAboutChange(t)}}else e.checkedItems!==this.props.checkedItems&&this.setState({checkedItems:e.checkedItems})}render(){const{label:e,items:t,renderLabel:n}=this.props;return s("div",{className:Tr.a.container},s("div",{className:Tr.a.label},e,":"),s("div",null,s(Mr,{item:zr,checked:this.isAllChecked(),onChange:this.handleToggleAllCheck},n),t.map(e=>s(Mr,{key:e.label,item:e,checked:this.isItemChecked(e),onChange:this.handleItemCheck},n))))}isItemChecked(e){return this.state.checkedItems.includes(e)}isAllChecked(){return this.props.items.length===this.state.checkedItems.length}informAboutChange(e){setTimeout(()=>this.props.onChange(e))}}kr.ALL_ITEM=zr;var jr=n(16),Lr=n.n(jr);function _r(){return!1}function Dr({children:e,disabled:t,onClick:n}){return s("li",{className:Xn()({[Lr.a.item]:!0,[Lr.a.disabled]:t}),onClick:t?_r:n},e)}var Or=n(17),Ar=n.n(Or);class Ir extends or{constructor(...e){super(...e),this.handleClickHideChunk=()=>{const{chunk:e}=this.props;if(e&&e.label){const t=kn.selectedChunks.filter(t=>t.label!==e.label);kn.selectedChunks=t}this.hide()},this.handleClickFilterToChunk=()=>{const{chunk:e}=this.props;if(e&&e.label){const t=kn.allChunks.filter(t=>t.label===e.label);kn.selectedChunks=t}this.hide()},this.handleClickShowAllChunks=()=>{kn.selectedChunks=kn.allChunks,this.hide()},this.handleDocumentMousedown=e=>{var t,n;e.ctrlKey||2===e.button||(t=e.target,n=this.node,t===n||n.contains(t))||(e.preventDefault(),e.stopPropagation(),this.hide())},this.saveNode=e=>this.node=e}componentDidMount(){this.boundingRect=this.node.getBoundingClientRect()}componentDidUpdate(e){this.props.visible&&!e.visible?document.addEventListener("mousedown",this.handleDocumentMousedown,!0):e.visible&&!this.props.visible&&document.removeEventListener("mousedown",this.handleDocumentMousedown,!0)}render(){const{visible:e}=this.props,t=Xn()({[Ar.a.container]:!0,[Ar.a.hidden]:!e}),n=kn.selectedChunks.length>1;return s("ul",{ref:this.saveNode,className:t,style:this.getStyle()},s(Dr,{disabled:!n,onClick:this.handleClickHideChunk},"Hide chunk"),s(Dr,{disabled:!n,onClick:this.handleClickFilterToChunk},"Hide all other chunks"),s("hr",null),s(Dr,{disabled:kn.allChunksSelected,onClick:this.handleClickShowAllChunks},"Show all chunks"))}hide(){this.props.onHide&&this.props.onHide()}getStyle(){const{boundingRect:e}=this;if(!e)return;const{coords:t}=this.props,n={left:t.x,top:t.y};return n.left+e.width>window.innerWidth&&(n.left=window.innerWidth-e.width),n.top+e.height>window.innerHeight&&(n.top=t.y-e.height),n}}var Nr=n(1),Pr=n.n(Nr),Er=n(24),Gr=n.n(Er),Br=n(6),Rr=n.n(Br);class Fr extends or{constructor(...e){super(...e),this.handleValueChange=Gr()(e=>{this.informChange(e.target.value)},400),this.handleInputBlur=()=>{this.handleValueChange.flush()},this.handleClearClick=()=>{this.clear(),this.focus()},this.handleKeyDown=e=>{let t=!0;switch(e.key){case"Escape":this.clear();break;case"Enter":this.handleValueChange.flush();break;default:t=!1}t&&e.stopPropagation()},this.saveInputNode=e=>this.input=e}componentDidMount(){this.props.autofocus&&this.focus()}componentWillUnmount(){this.handleValueChange.cancel()}render(){const{label:e,query:t}=this.props;return s("div",{className:Rr.a.container},s("div",{className:Rr.a.label},e,":"),s("div",{className:Rr.a.row},s("input",{ref:this.saveInputNode,className:Rr.a.input,type:"text",value:t,placeholder:"Enter regexp",onInput:this.handleValueChange,onBlur:this.handleInputBlur,onKeyDown:this.handleKeyDown}),s(sr,{className:Rr.a.clear,onClick:this.handleClearClick},"x")))}focus(){this.input&&this.input.focus()}clear(){this.handleValueChange.cancel(),this.informChange(""),this.input.value=""}informChange(e){this.props.onQueryChange(e)}}var Ur,Hr,Vr=n(25),Wr=n.n(Vr),qr=n(26),Kr=n.n(qr),Yr=n(8),Zr=n.n(Yr),$r=n(27),Jr=n.n($r),Qr=n(12),Xr=n.n(Qr);class ei extends or{constructor(...e){super(...e),this.state={visible:!0},this.handleClick=()=>this.props.onClick(this.props.module),this.handleMouseEnter=()=>{this.props.isVisible&&this.setState({visible:this.isVisible})}}render({module:e,showSize:t}){const n=!this.state.visible;return s("div",{className:Xn()(Xr.a.container,Xr.a[this.itemType],{[Xr.a.invisible]:n}),title:n?this.invisibleHint:null,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},s("span",{dangerouslySetInnerHTML:{__html:this.titleHtml}}),t&&[" (",s("strong",null,Ln()(e[t])),")"])}get itemType(){const{module:e}=this.props;return e.path?e.groups?"folder":"module":"chunk"}get titleHtml(){let e;const{module:t}=this.props,n=t.path||t.label,r=this.props.highlightedText;if(r){const t=r instanceof RegExp?new RegExp(r.source,"igu"):new RegExp("(?:".concat(Jr()(r),")+"),"iu");let i,o;do{o=i,i=t.exec(n)}while(i);o&&(e=Zr()(n.slice(0,o.index))+"".concat(Zr()(o[0]),"")+Zr()(n.slice(o.index+o[0].length)))}return e||(e=Zr()(n)),e}get invisibleHint(){return"".concat(Kr()(this.itemType)," is not rendered in the treemap because it's too small.")}get isVisible(){const{isVisible:e}=this.props;return!e||e(this.props.module)}}class ti extends or{constructor(...e){super(...e),this.handleModuleClick=e=>this.props.onModuleClick(e)}render({modules:e,showSize:t,highlightedText:n,isModuleVisible:r,className:i}){return s("div",{className:Xn()(Wr.a.container,i)},e.map(e=>s(ei,{key:e.cid,module:e,showSize:t,highlightedText:n,isVisible:r,onClick:this.handleModuleClick})))}}const ni=[{label:"Stat",prop:"statSize"},{label:"Parsed",prop:"parsedSize"},{label:"Gzipped",prop:"gzipSize"}];let ri=Hn((B((Hr=class extends P{constructor(...e){super(...e),this.mouseCoords={x:0,y:0},this.state={selectedChunk:null,selectedMouseCoords:{x:0,y:0},sidebarPinned:!1,showChunkContextMenu:!1,showTooltip:!1,tooltipContent:null},this.renderChunkItemLabel=e=>{const t=e===kr.ALL_ITEM,n=t?"All":e.label,r=t?kn.totalChunksSize:e[kn.activeSize];return["".concat(n," ("),s("strong",null,Ln()(r)),")"]},this.handleConcatenatedModulesContentToggle=e=>{kn.showConcatenatedModulesContent=e,e?zn.setItem("showConcatenatedModulesContent",!0):zn.removeItem("showConcatenatedModulesContent")},this.handleChunkContextMenuHide=()=>{this.setState({showChunkContextMenu:!1})},this.handleResize=()=>{this.state.showChunkContextMenu&&this.setState({showChunkContextMenu:!1})},this.handleSidebarToggle=()=>{this.state.sidebarPinned&&setTimeout(()=>this.treemap.resize())},this.handleSidebarPinStateChange=e=>{this.setState({sidebarPinned:e}),setTimeout(()=>this.treemap.resize())},this.handleSidebarResize=()=>{this.treemap.resize()},this.handleSizeSwitch=e=>{kn.selectedSize=e.prop},this.handleQueryChange=e=>{kn.searchQuery=e},this.handleSelectedChunksChange=e=>{kn.selectedChunks=e},this.handleMouseLeaveTreemap=()=>{this.setState({showTooltip:!1})},this.handleTreemapGroupSecondaryClick=e=>{const{group:t}=e;t&&t.isAsset?this.setState({selectedChunk:t,selectedMouseCoords:{...this.mouseCoords},showChunkContextMenu:!0}):this.setState({selectedChunk:null,showChunkContextMenu:!1})},this.handleTreemapGroupHover=e=>{const{group:t}=e;t?this.setState({showTooltip:!0,tooltipContent:this.getTooltipContent(t)}):this.setState({showTooltip:!1})},this.handleFoundModuleClick=e=>this.treemap.zoomToGroup(e),this.handleMouseMove=e=>{Object.assign(this.mouseCoords,{x:e.pageX,y:e.pageY})},this.isModuleVisible=e=>this.treemap.isGroupRendered(e),this.saveTreemapRef=e=>this.treemap=e}componentDidMount(){document.addEventListener("mousemove",this.handleMouseMove,!0)}componentWillUnmount(){document.removeEventListener("mousemove",this.handleMouseMove,!0)}render(){const{selectedChunk:e,selectedMouseCoords:t,sidebarPinned:n,showChunkContextMenu:r,showTooltip:i,tooltipContent:o}=this.state;return s("div",{className:Pr.a.container},s(mr,{pinned:n,onToggle:this.handleSidebarToggle,onPinStateChange:this.handleSidebarPinStateChange,onResize:this.handleSidebarResize},s("div",{className:Pr.a.sidebarGroup},s(hr,{label:"Treemap sizes",items:this.sizeSwitchItems,activeItem:this.activeSizeItem,onSwitch:this.handleSizeSwitch}),kn.hasConcatenatedModules&&s("div",{className:Pr.a.showOption},s(Cr,{checked:kn.showConcatenatedModulesContent,onChange:this.handleConcatenatedModulesContentToggle},"Show content of concatenated modules".concat("statSize"===kn.activeSize?"":" (inaccurate)")))),s("div",{className:Pr.a.sidebarGroup},s(Fr,{label:"Search modules",query:kn.searchQuery,autofocus:!0,onQueryChange:this.handleQueryChange}),s("div",{className:Pr.a.foundModulesInfo},this.foundModulesInfo),kn.isSearching&&kn.hasFoundModules&&s("div",{className:Pr.a.foundModulesContainer},kn.foundModulesByChunk.map(({chunk:e,modules:t})=>s("div",{key:e.cid,className:Pr.a.foundModulesChunk},s("div",{className:Pr.a.foundModulesChunkName,onClick:()=>this.treemap.zoomToGroup(e)},e.label),s(ti,{className:Pr.a.foundModulesList,modules:t,showSize:kn.activeSize,highlightedText:kn.searchQueryRegexp,isModuleVisible:this.isModuleVisible,onModuleClick:this.handleFoundModuleClick}))))),this.chunkItems.length>1&&s("div",{className:Pr.a.sidebarGroup},s(kr,{label:"Show chunks",items:this.chunkItems,checkedItems:kn.selectedChunks,renderLabel:this.renderChunkItemLabel,onChange:this.handleSelectedChunksChange}))),s($n,{ref:this.saveTreemapRef,className:Pr.a.map,data:kn.visibleChunks,highlightGroups:this.highlightedModules,weightProp:kn.activeSize,onMouseLeave:this.handleMouseLeaveTreemap,onGroupHover:this.handleTreemapGroupHover,onGroupSecondaryClick:this.handleTreemapGroupSecondaryClick,onResize:this.handleResize}),s(nr,{visible:i},o),s(Ir,{visible:r,chunk:e,coords:t,onHide:this.handleChunkContextMenuHide}))}renderModuleSize(e,t){const n="".concat(t,"Size"),r=e[n],i=ni.find(e=>e.prop===n).label,o=kn.activeSize===n;return"number"==typeof r?s("div",{className:o?Pr.a.activeSize:""},i," size: ",s("strong",null,Ln()(r))):null}get sizeSwitchItems(){return kn.hasParsedSizes?ni:ni.slice(0,1)}get activeSizeItem(){return this.sizeSwitchItems.find(e=>e.prop===kn.activeSize)}get chunkItems(){const{allChunks:e,activeSize:t}=kn;let n=[...e];return"statSize"!==t&&(n=n.filter(gn)),n.sort((e,n)=>n[t]-e[t]),n}get highlightedModules(){return new Set(kn.foundModules)}get foundModulesInfo(){return kn.isSearching?kn.hasFoundModules?[s("div",{className:Pr.a.foundModulesInfoItem},"Count: ",s("strong",null,kn.foundModules.length)),s("div",{className:Pr.a.foundModulesInfoItem},"Total size: ",s("strong",null,Ln()(kn.foundModulesSize)))]:"Nothing found"+(kn.allChunksSelected?"":" in selected chunks"):" "}getTooltipContent(e){return e?s("div",null,s("div",null,s("strong",null,e.label)),s("br",null),this.renderModuleSize(e,"stat"),!e.inaccurateSizes&&this.renderModuleSize(e,"parsed"),!e.inaccurateSizes&&this.renderModuleSize(e,"gzip"),e.path&&s("div",null,"Path: ",s("strong",null,e.path)),e.isAsset&&s("div",null,s("br",null),s("strong",null,s("em",null,"Right-click to view options related to this chunk")))):null}}).prototype,"sizeSwitchItems",[je],Object.getOwnPropertyDescriptor(Hr.prototype,"sizeSwitchItems"),Hr.prototype),B(Hr.prototype,"activeSizeItem",[je],Object.getOwnPropertyDescriptor(Hr.prototype,"activeSizeItem"),Hr.prototype),B(Hr.prototype,"chunkItems",[je],Object.getOwnPropertyDescriptor(Hr.prototype,"chunkItems"),Hr.prototype),B(Hr.prototype,"highlightedModules",[je],Object.getOwnPropertyDescriptor(Hr.prototype,"highlightedModules"),Hr.prototype),B(Hr.prototype,"foundModulesInfo",[je],Object.getOwnPropertyDescriptor(Hr.prototype,"foundModulesInfo"),Hr.prototype),Ur=Hr))||Ur;n(67);let ii;try{window.enableWebSocket&&(ii=new WebSocket("ws://".concat(location.host)))}catch(oi){console.warn("Couldn't connect to analyzer websocket server so you'll have to reload page manually to see updates in the treemap")}window.addEventListener("load",()=>{kn.defaultSize="".concat(window.defaultSizes,"Size"),kn.setModules(window.chartData),E(s(ri,null),document.getElementById("app")),ii&&ii.addEventListener("message",e=>{const t=JSON.parse(e.data);"chartDataUpdated"===t.event&&kn.setModules(t.data)})},!1)}]); //# sourceMappingURL=viewer.js.map