/*! For license information please see viewer.js.LICENSE.txt */ (()=>{var e={4184:(e,t)=>{var n; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/Button.css"],names:[],mappings:"AAAA,gBACE,eAAgB,CAChB,qBAAsB,CACtB,iBAAkB,CAClB,cAAe,CACf,oBAAqB,CACrB,qBAAsB,CACtB,YAAa,CACb,eAAgB,CAChB,8BAA+B,CAC/B,kBACF,CAEA,4CAEE,kBACF,CAEA,+BACE,iBAAmB,CACnB,UACF,CAEA,0BACE,cACF",sourcesContent:[".button {\n background: #fff;\n border: 1px solid #aaa;\n border-radius: 4px;\n cursor: pointer;\n display: inline-block;\n font: var(--main-font);\n outline: none;\n padding: 5px 7px;\n transition: background .3s ease;\n white-space: nowrap;\n}\n\n.button:focus,\n.button:hover {\n background: #ffefd7;\n}\n\n.button.active {\n background: #ffa500;\n color: #000;\n}\n\n.button[disabled] {\n cursor: default;\n}\n"],sourceRoot:""}]),a.locals={button:"Button__button",active:"Button__active"};const s=a},2396:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".Checkbox__label{display:inline-block}.Checkbox__checkbox,.Checkbox__label{cursor:pointer}.Checkbox__itemText{margin-left:3px;position:relative;top:-2px;vertical-align:middle}","",{version:3,sources:["webpack://./client/components/Checkbox.css"],names:[],mappings:"AAAA,iBAEE,oBACF,CAEA,qCAJE,cAMF,CAEA,oBACE,eAAgB,CAChB,iBAAkB,CAClB,QAAS,CACT,qBACF",sourcesContent:[".label {\n cursor: pointer;\n display: inline-block;\n}\n\n.checkbox {\n cursor: pointer;\n}\n\n.itemText {\n margin-left: 3px;\n position: relative;\n top: -2px;\n vertical-align: middle;\n}\n"],sourceRoot:""}]),a.locals={label:"Checkbox__label",checkbox:"Checkbox__checkbox",itemText:"Checkbox__itemText"};const s=a},3213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/CheckboxList.css"],names:[],mappings:"AAAA,yBACE,qBAAsB,CACtB,kBACF,CAEA,qBACE,cAAe,CACf,eAAiB,CACjB,iBACF,CAEA,wCACE,cACF",sourcesContent:[".container {\n font: var(--main-font);\n white-space: nowrap;\n}\n\n.label {\n font-size: 11px;\n font-weight: bold;\n margin-bottom: 7px;\n}\n\n.item + .item {\n margin-top: 1px;\n}\n"],sourceRoot:""}]),a.locals={container:"CheckboxList__container",label:"CheckboxList__label",item:"CheckboxList__item"};const s=a},580:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/ContextMenu.css"],names:[],mappings:"AAAA,wBACE,qBAAsB,CACtB,iBAAkB,CAClB,SAAU,CACV,iBAAkB,CAClB,eAAgB,CAChB,qBAAsB,CACtB,eAAgB,CAChB,SAAU,CACV,kBAAmB,CACnB,kBAAmB,CACnB,+CACF,CAEA,qBACE,SAAU,CACV,iBACF",sourcesContent:[".container {\n font: var(--main-font);\n position: absolute;\n padding: 0;\n border-radius: 4px;\n background: #fff;\n border: 1px solid #aaa;\n list-style: none;\n opacity: 1;\n white-space: nowrap;\n visibility: visible;\n transition: opacity .2s ease, visibility .2s ease;\n}\n\n.hidden {\n opacity: 0;\n visibility: hidden;\n}\n"],sourceRoot:""}]),a.locals={container:"ContextMenu__container",hidden:"ContextMenu__hidden"};const s=a},9270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/ContextMenuItem.css"],names:[],mappings:"AAAA,uBACE,cAAe,CACf,QAAS,CACT,gBAAiB,CACjB,wBAAiB,CAAjB,gBACF,CAEA,6BACE,kBACF,CAEA,2BACE,cAAe,CACf,UACF,CAEA,uDACE,sBACF",sourcesContent:[".item {\n cursor: pointer;\n margin: 0;\n padding: 8px 14px;\n user-select: none;\n}\n\n.item:hover {\n background: #ffefd7;\n}\n\n.disabled {\n cursor: default;\n color: gray;\n}\n\n.item.disabled:hover {\n background: transparent;\n}\n"],sourceRoot:""}]),a.locals={item:"ContextMenuItem__item",disabled:"ContextMenuItem__disabled"};const s=a},1746:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".Icon__icon{background:no-repeat 50%/contain;display:inline-block}","",{version:3,sources:["webpack://./client/components/Icon.css"],names:[],mappings:"AAAA,YACE,gCAAoC,CACpC,oBACF",sourcesContent:[".icon {\n background: no-repeat center/contain;\n display: inline-block;\n}\n"],sourceRoot:""}]),a.locals={icon:"Icon__icon"};const s=a},697:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o),s=n(1667),u=n.n(s),l=n(4911),c=n(8752),h=n(4150),f=n(8868),d=a()(i()),p=u()(l.Z),g=u()(c.Z),b=u()(h.Z),v=u()(f.Z);d.push([e.id,".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("+p+");background-position-x:1px}.ModuleItem__container.ModuleItem__folder{background-image:url("+g+")}.ModuleItem__container.ModuleItem__chunk{background-image:url("+b+")}.ModuleItem__container.ModuleItem__invisible:hover:before{background:url("+v+') no-repeat 0;content:"";height:100%;left:0;top:1px;position:absolute;width:13px}',"",{version:3,sources:["webpack://./client/components/ModuleItem.css"],names:[],mappings:"AAAA,uBACE,sBAAiC,CACjC,cAAe,CACf,iBAAkB,CAClB,iBAAkB,CAClB,iBAAkB,CAClB,kBACF,CAEA,0CACE,wDAAkD,CAClD,yBACF,CAEA,0CACE,wDACF,CAEA,yCACE,wDACF,CAEA,0DACE,8DAAqE,CACrE,UAAW,CACX,WAAY,CACZ,MAAO,CACP,OAAQ,CACR,iBAAkB,CAClB,UACF",sourcesContent:[".container {\n background: no-repeat left center;\n cursor: pointer;\n margin-bottom: 4px;\n padding-left: 18px;\n position: relative;\n white-space: nowrap;\n}\n\n.container.module {\n background-image: url('../assets/icon-module.svg');\n background-position-x: 1px;\n}\n\n.container.folder {\n background-image: url('../assets/icon-folder.svg');\n}\n\n.container.chunk {\n background-image: url('../assets/icon-chunk.svg');\n}\n\n.container.invisible:hover::before {\n background: url('../assets/icon-invisible.svg') no-repeat left center;\n content: \"\";\n height: 100%;\n left: 0;\n top: 1px;\n position: absolute;\n width: 13px;\n}\n"],sourceRoot:""}]),d.locals={container:"ModuleItem__container",module:"ModuleItem__module",folder:"ModuleItem__folder",chunk:"ModuleItem__chunk",invisible:"ModuleItem__invisible"};const y=d},3784:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".ModulesList__container{font:var(--main-font)}","",{version:3,sources:["webpack://./client/components/ModulesList.css"],names:[],mappings:"AAAA,wBACE,qBACF",sourcesContent:[".container {\n font: var(--main-font);\n}\n"],sourceRoot:""}]),a.locals={container:"ModulesList__container"};const s=a},2393:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/ModulesTreemap.css"],names:[],mappings:"AAAA,2BACE,mBAAoB,CACpB,YAAa,CACb,WAAY,CACZ,iBAAkB,CAClB,UACF,CAEA,qBACE,MACF,CAEA,8BACE,qBAAsB,CACtB,kBACF,CAEA,4BACE,cACF,CAEA,4BACE,eACF,CAEA,kCACE,YAAa,CACb,qBAAsB,CACtB,cACF,CAEA,4EACE,gBACF,CAEA,uCACE,eAAgB,CAChB,gBAAiB,CACjB,aACF,CAEA,sEACE,eACF,CAEA,uCACE,cAAe,CACf,qBAAsB,CACtB,eAAiB,CACjB,iBACF,CAEA,kCACE,eACF",sourcesContent:[".container {\n align-items: stretch;\n display: flex;\n height: 100%;\n position: relative;\n width: 100%;\n}\n\n.map {\n flex: 1;\n}\n\n.sidebarGroup {\n font: var(--main-font);\n margin-bottom: 20px;\n}\n\n.showOption {\n margin-top: 5px;\n}\n\n.activeSize {\n font-weight: bold;\n}\n\n.foundModulesInfo {\n display: flex;\n font: var(--main-font);\n margin: 8px 0 0;\n}\n\n.foundModulesInfoItem + .foundModulesInfoItem {\n margin-left: 15px;\n}\n\n.foundModulesContainer {\n margin-top: 15px;\n max-height: 600px;\n overflow: auto;\n}\n\n.foundModulesChunk + .foundModulesChunk {\n margin-top: 15px;\n}\n\n.foundModulesChunkName {\n cursor: pointer;\n font: var(--main-font);\n font-weight: bold;\n margin-bottom: 7px;\n}\n\n.foundModulesList {\n margin-left: 7px;\n}\n"],sourceRoot:""}]),a.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"};const s=a},9976:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/Search.css"],names:[],mappings:"AAAA,mBACE,qBAAsB,CACtB,kBACF,CAEA,eACE,eAAiB,CACjB,iBACF,CAEA,aACE,YACF,CAEA,eACE,qBAAsB,CACtB,iBAAkB,CAClB,aAAc,CACd,MAAO,CACP,WACF,CAEA,eACE,aAAc,CACd,aAAc,CACd,eAAgB,CAChB,mBACF",sourcesContent:[".container {\n font: var(--main-font);\n white-space: nowrap;\n}\n\n.label {\n font-weight: bold;\n margin-bottom: 7px;\n}\n\n.row {\n display: flex;\n}\n\n.input {\n border: 1px solid #aaa;\n border-radius: 4px;\n display: block;\n flex: 1;\n padding: 5px;\n}\n\n.clear {\n flex: 0 0 auto;\n line-height: 1;\n margin-left: 3px;\n padding: 5px 8px 7px;\n}\n"],sourceRoot:""}]),a.locals={container:"Search__container",label:"Search__label",row:"Search__row",input:"Search__input",clear:"Search__clear"};const s=a},4826:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/Sidebar.css"],names:[],mappings:"AAEA,oBACE,eAAgB,CAEhB,WAA4B,CAA5B,2BAA4B,CAC5B,qBAAsB,CACtB,0BAA2B,CAC3B,WAAa,CACb,SACF,CAEA,0CACE,eACF,CAEA,0CACE,QAAS,CACT,iBAAkB,CAClB,KAAM,CACN,6BACF,CAEA,oCACE,iBACF,CAEA,kCACE,MACF,CAEA,kDACE,uCACF,CAEA,kBACE,qBAAsB,CACtB,WAAY,CACZ,eAAgB,CAChB,sBAAuB,CACvB,UACF,CAEA,kDACE,SACF,CAEA,2CAEE,cAAe,CACf,WAAY,CACZ,aAAc,CACd,iBAAkB,CAClB,QAAS,CACT,UACF,CAEA,oBACE,UACF,CAEA,uBACE,gBAAiB,CACjB,UACF,CAEA,wCACE,WAAY,CACZ,6BACF,CAEA,8CACE,yBACF,CAEA,kBACE,QAAS,CACT,iBAAkB,CAClB,iBAAkB,CAClB,OAAQ,CACR,KAAM,CACN,SACF",sourcesContent:["@value toggleTime: 200ms;\n\n.container {\n background: #fff;\n border: none;\n border-right: 1px solid #aaa;\n box-sizing: border-box;\n max-width: calc(50% - 10px);\n opacity: 0.95;\n z-index: 1;\n}\n\n.container:not(.hidden) {\n min-width: 200px;\n}\n\n.container:not(.pinned) {\n bottom: 0;\n position: absolute;\n top: 0;\n transition: transform toggleTime ease;\n}\n\n.container.pinned {\n position: relative;\n}\n\n.container.left {\n left: 0;\n}\n\n.container.left.hidden {\n transform: translateX(calc(-100% + 7px));\n}\n\n.content {\n box-sizing: border-box;\n height: 100%;\n overflow-y: auto;\n padding: 25px 20px 20px;\n width: 100%;\n}\n\n.empty.pinned .content {\n padding: 0;\n}\n\n.pinButton,\n.toggleButton {\n cursor: pointer;\n height: 26px;\n line-height: 0;\n position: absolute;\n top: 10px;\n width: 27px;\n}\n\n.pinButton {\n right: 47px;\n}\n\n.toggleButton {\n padding-left: 6px;\n right: 15px;\n}\n\n.hidden .toggleButton {\n right: -35px;\n transition: transform .2s ease;\n}\n\n.hidden .toggleButton:hover {\n transform: translateX(4px);\n}\n\n.resizer {\n bottom: 0;\n cursor: col-resize;\n position: absolute;\n right: 0;\n top: 0;\n width: 7px;\n}\n"],sourceRoot:""}]),a.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"};const s=a},6897:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/Switcher.css"],names:[],mappings:"AAAA,qBACE,qBAAsB,CACtB,kBACF,CAEA,iBACE,eAAiB,CACjB,cAAe,CACf,iBACF,CAEA,gCACE,eACF",sourcesContent:[".container {\n font: var(--main-font);\n white-space: nowrap;\n}\n\n.label {\n font-weight: bold;\n font-size: 11px;\n margin-bottom: 7px;\n}\n\n.item + .item {\n margin-left: 5px;\n}\n"],sourceRoot:""}]),a.locals={container:"Switcher__container",label:"Switcher__label",item:"Switcher__item"};const s=a},7527:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".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}","",{version:3,sources:["webpack://./client/components/Tooltip.css"],names:[],mappings:"AAAA,oBACE,qBAAsB,CACtB,iBAAkB,CAClB,gBAAiB,CACjB,iBAAkB,CAClB,eAAgB,CAChB,qBAAsB,CACtB,UAAY,CACZ,kBAAmB,CACnB,kBAAmB,CACnB,+CACF,CAEA,iBACE,SAAU,CACV,iBACF",sourcesContent:[".container {\n font: var(--main-font);\n position: absolute;\n padding: 5px 10px;\n border-radius: 4px;\n background: #fff;\n border: 1px solid #aaa;\n opacity: 0.9;\n white-space: nowrap;\n visibility: visible;\n transition: opacity .2s ease, visibility .2s ease;\n}\n\n.hidden {\n opacity: 0;\n visibility: hidden;\n}\n"],sourceRoot:""}]),a.locals={container:"Tooltip__container",hidden:"Tooltip__hidden"};const s=a},1194:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4015),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,":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}","",{version:3,sources:["webpack://./client/viewer.css"],names:[],mappings:"AAAA,MACE,0CACF,CAEA,eAGE,WAAY,CACZ,QAAS,CACT,eAAgB,CAChB,SAAU,CACV,UACF,CAEA,cACE,kCAA4B,CAA5B,0BACF,CAEA,gBACE,mBACF,CAEA,kBACE,2BACF",sourcesContent:[":root {\n --main-font: normal 11px Verdana, sans-serif;\n}\n\n:global html,\n:global body,\n:global #app {\n height: 100%;\n margin: 0;\n overflow: hidden;\n padding: 0;\n width: 100%;\n}\n\n:global body.resizing {\n user-select: none !important;\n}\n\n:global body.resizing * {\n pointer-events: none;\n}\n\n:global body.resizing.col {\n cursor: col-resize !important;\n}\n"],sourceRoot:""}]);const s=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},3933:e=>{ /** * 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;iT.d(A,n)&&(window.clearTimeout(w),i(t,u),x=!0)}),400)}}))),a.addEventListener("mouseup",(function(e){if(i(e,c),M){if(k&&i(e,y),window.clearTimeout(C),!x&&!k&&r(e)){var t=function(e){var t={};return t.x=e.pageX,t.y=e.pageY,t}(e);_&&100>T.d(t,_)?i(e,h):i(e,s),_=t,w=window.setTimeout((function(){_=null}),350)}k=M=!1}})),a.addEventListener("mousemove",(function(e){var t=o(e,{});r(e)&&i(e,f,{type:"move"}),A.x=t.x,A.y=t.y,M&&!k&&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=T.k(n,{}),a=(l=T.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},z=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=T.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=T.d(e,n),o=a.length-1;1<=o;o--)s=a[o],(r=T.d(e,s))e.lineHeight&&(e.lineHeight=1),e=x.fontFamily;var _=x.fontStyle+" "+x.fontVariant+" "+x.fontWeight,w=x.sb,A=x.Zc,S=_+" "+e;x.Ne=S;var T={la:!1,mc:0,fontSize:0};if(o.save(),o.font=_+" "+C+"px "+e,o.textBaseline="middle",o.textAlign="center",t(o,x),u=u.trim(),v.text=u,function(e,t,n,r){for(var i,o,a=0;at&&(z=t),j>>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(0C)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,x=i.o,_=i.vd,w=i.tf,A=i.uf;switch(d){case"top":i=_.y+r/2+r*v,m=1;break;case"bottom":i=_.y-(r*n+f*(n-1))+r/2-r*v,m=-1;break;default:i=_.y-(r*(n-1)/2+f*(n-1)/2),m=1}for(d=i,v=0;v=n-h&&"\n"!=x)_+=S," "===M&&(_+=T),a&&a(i,x);else{if(S>w&&(h!==n-1||!o))return!1;if(h+1>=n)return!!o&&(((n=w-_-m)>m||S>m)&&(0<(n=Math.floor(i.length*n/S))&&a&&a(i.substring(0,n),x)),a&&a(c,void 0),s&&s(h,d,i,x,_),!0);if(h++,s&&s(h,d,i,x,_),d+=r,d+=f,_=S," "===M&&(_+=T),S>(w=b[h])&&(h!==n||!o))return!1}x=M}return s&&s(h,d,void 0,void 0,_),!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},C=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}}(),L=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-M.ei/100*n:1,t.wa=0>n?1-M.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*(M.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=[],_.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 x=[],A={};_.forEach((function(e){g[e.id]&&(e.U||m.push(e),e.U=!0,S.Fa(e,(function(e){x.push(u(e,1)),A[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"==P.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,C)}(e);else{n=t||0;for(var r=O.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,C,x,_,A,M,k,z,j,D,L,B,E,O,I=t.mf(),N=this,P=e.options,F=!1;e.c.j("stage:initialized",(function(e,t,n,i){u=t,B=n,E=i,r()})),e.c.j("stage:resized",(function(e,t,n,r){B=n,E=r})),e.c.j("stage:disposed",(function(){D.lb(),U.lb(),L.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){C=e,O=t})),e.c.j("model:childrenAttached",(function(e){O=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=w("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!==C?[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(P.Wa/2).call((function(){f.Kb({e:S.Mc(C,(function(e){return e.Td&&!S.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!==C&&f.Kb({e:[n],Ia:r,Ha:!0},!0,!1)}))),this.Y=o(a("dragstart",!1,(function(e,t){x=t.x,_=t.y,A=Date.now(),F=!0}))),this.A=o(a("drag",!1,(function(e,t){if(F){var n=Date.now();z=Math.min(1,n-A),A=n;n=t.x-x;var r=t.y-_;l.ti(n,r),M=n,k=r,x=t.x,_=t.y}}))),this.S=o(a("dragend",!1,(function(){if(F){F=!1;var e=Math.sqrt(M*M+k*k)/z;4<=e?l.ui(e,M,k):l.wf()}}))),this.Va=o(a("transformstart",!1,(function(e,t){j=1,x=t.x,_=t.y})));var R=1,G=!1;this.Ja=o(a("transform",!1,(function(e,t){var n=t.scale-.01;l.Qg(t,n/j,t.x-x,t.y-_),j=n,x=t.x,_=t.y,R=j,G=G||2R?e.c.p("interaction:reset"):i(),G=!1}))),this.Pa=o(a("mousewheel",!1,function(){var e=m.ah((function(){i()}),300);return function(t,n){var r=P.Hj;1!==r&&(r=Math.pow(r,n.wd),I?(l.Rg(n,r),e()):l.Yb(n,r,P.wc,y.pa(P.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=T.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=T.k(c,{}),b=g.ja,v=(t=b*t,0);dv++;){var y=(d+p)/2;r.y=n.y+n.i*y,l=T.Wb(c,r,f),T.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}T.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=T.A(i),i.y+=o-n,i.i=n,t()):(i.i=n,t(),i.y+=n,i.i=o-n,e.u=T.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=T.q(e.u,{});(s[a.Wc]||L.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:L.te,ordered:L.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=_,A=k,f())}function l(){function e(t,n,r){t.Cb=Math.floor(1e3*t.scale)-r*n,0Math.abs(t.scale-e.scale)&&(e.scale=Math.min(e.scale,t.scale))}})),e(N,0,"flattened"==W.Ua?-1:1),r.sort((function(e,t){return e.Cb-t.Cb})),c())t=r,n=null;else{var l={},h={},f="none"!=W.Cd&&W.mbe?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(A,f,d,"l"),w=r(A,f,d,"a")):(C=(_=n.sa).h,x=_.s,_=e(_.l,A,s.$i,s.aj),w=n.Pe.a),S.h=C,S.s=x,S.l=_,S.a=w,C=a.sa,a.na?(C.h=0,C.s=0,C.l="light"==s.Tg?90:10,C.a=1):(C.h=S.h,C.s=S.s,C.l=S.l,C.a=S.a),g&&!a.na&&(u.groupColor=C,u.labelColor="auto",i.Dc(p,a,u,(function(e){e.ratio=A})),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=T.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 C=!0,u&&u.stop(),l&&l.stop(),a(p.reset(e),t,n).N((function(){C=!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 C?(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,C=!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 S.F(v,(function(n){e(n)&&t.push(n.group)})),{groups:t}}function s(e,t){var n=(i=x.options).kj,r=i.jj,i=i.fe,o=0i.hj;t=I.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(){I.complete(ue.qb)},gd:e,dg:t,Gb:function(){return!ae.A()},stop:function(){w.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=x.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=window.CarrotSearchFoamTree},6755:e=>{"use strict";!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,o,a,s,u,l,c,h,f,d,p,g,b,v,y,m=1{var r=n(5639).Symbol;e.exports=r},9932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n{e.exports=function(e){return e.split("")}},4239:(e,t,n)=>{var r=n(2705),i=n(9607),o=n(2333),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)}},8674:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},4259:e=>{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{var r=n(2705),i=n(9932),o=n(1469),a=n(3448),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},180:(e,t,n)=>{var r=n(4259);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)}},8805:(e,t,n)=>{var r=n(180),i=n(2689),o=n(3140),a=n(9833);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}}},9464:(e,t,n)=>{var r=n(8674)({"&":"&","<":"<",">":">",'"':""","'":"'"});e.exports=r},1957:e=>{e.exports=!1},9607:(e,t,n)=>{var r=n(2705),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}},2689:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5639:(e,t,n)=>{var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},3140:(e,t,n)=>{var r=n(4286),i=n(2689),o=n(676);e.exports=function(e){return i(e)?o(e):r(e)}},676:e=>{var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",l=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),c="(?:"+[i+n+"?",n,o,a,t].join("|")+")",h=RegExp(r+"(?="+r+")|"+c+l,"g");e.exports=function(e){return e.match(h)||[]}},3279:(e,t,n)=>{var r=n(3218),i=n(7771),o=n(4841),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(x,t),g?y(e):h}function C(e){var n=e-d;return void 0===d||n>=t||n<0||b&&e-p>=c}function x(){var e=i();if(C(e))return _(e);f=setTimeout(x,function(e){var n=t-(e-d);return b?s(n,c-(e-p)):n}(e))}function _(e){return f=void 0,v&&u?y(e):(u=l=void 0,h)}function w(){var e=i(),n=C(e);if(u=arguments,l=this,d=e,n){if(void 0===f)return m(d);if(b)return clearTimeout(f),f=setTimeout(x,t),y(d)}return void 0===f&&(f=setTimeout(x,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),w.cancel=function(){void 0!==f&&clearTimeout(f),p=0,u=d=l=f=void 0},w.flush=function(){return void 0===f?h:_(i())},w}},7187:(e,t,n)=>{var r=n(9464),i=n(9833),o=/[&<>"']/g,a=RegExp(o.source);e.exports=function(e){return(e=i(e))&&a.test(e)?e.replace(o,r):e}},3522:(e,t,n)=>{var r=n(9833),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},1469:e=>{var t=Array.isArray;e.exports=t},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var r=n(4239),i=n(7005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},7771:(e,t,n)=>{var r=n(5639);e.exports=function(){return r.Date.now()}},4841:(e,t,n)=>{var r=n(3218),i=n(3448),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}},9833:(e,t,n)=>{var r=n(531);e.exports=function(e){return null==e?"":r(e)}},1700:(e,t,n)=>{var r=n(8805)("toUpperCase");e.exports=r},3379:(e,t,n)=>{"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(r){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwdjExLjI1YzAgLjQxNC4zMzYuNzUuNzUuNzVoMTAuNWEuNzUuNzUgMCAwIDAgLjc1LS43NVYwSDB6IiBmaWxsPSIjRkM2IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNMCAwcy4xNTYgMyAxLjEyNSAzaDkuNzVDMTEuODQ1IDMgMTIgMCAxMiAwSDB6IiBmaWxsPSIjQ0NBMzUyIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNi43NSAxLjVoLS4zNzVMNiAyLjVsLS4zNzUtMUg1LjI1TDUuODEzIDMgNS4yNSA0LjVoLjM3NUw2IDMuNWwuMzc1IDFoLjM3NUw2LjE4NyAzeiIgZmlsbD0iIzk5N0EzRCIvPjxjaXJjbGUgY3g9Ii43NSIgY3k9Ii43NSIgcj0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4yNSAzLjc1KSIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PGNpcmNsZSBjeD0iLjc1IiBjeT0iLjc1IiByPSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1LjI1IC43NSkiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4="},8752:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTExLjcgMS4zMzNINS44NUw0LjU1IDBIMS4zQy41ODUgMCAwIC42IDAgMS4zMzNWNGgxM1YyLjY2N2MwLS43MzMtLjU4NS0xLjMzNC0xLjMtMS4zMzR6IiBmaWxsPSIjRkZBMDAwIi8+PHBhdGggZD0iTTExLjcgMUgxLjNDLjU4NSAxIDAgMS41NzkgMCAyLjI4NnY2LjQyOEMwIDkuNDIxLjU4NSAxMCAxLjMgMTBoMTAuNGMuNzE1IDAgMS4zLS41NzkgMS4zLTEuMjg2VjIuMjg2QzEzIDEuNTc5IDEyLjQxNSAxIDExLjcgMXoiIGZpbGw9IiNGRkNBMjgiLz48L2c+PC9zdmc+"},8868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjMyNy4wNjRMOC40MzMgMS45NTdhNi4wMjUgNi4wMjUgMCAwIDAtMS45NTItLjM0MkMyLjkxMiAxLjYxNS4wMTkgNS4xOTYuMDE5IDUuMTk2czEuMDk4IDEuMzU4IDIuNzc0IDIuNDAxTC45NiA5LjQzMWwuOTM2LjkzNkwxMS4yNjMgMWwtLjkzNi0uOTM2ek00LjA1IDYuMzRhMi42ODYgMi42ODYgMCAwIDEgMy41NzQtMy41NzRMNC4wNSA2LjM0em02LjQ0OC0zLjMzYTEyLjM0NCAxMi4zNDQgMCAwIDEgMi40NDQgMi4xODZzLTIuODkzIDMuNTgtNi40NjEgMy41OGMtLjUzIDAtMS4wNDQtLjA3OC0xLjUzNy0uMjEzbC43ODgtLjc4OEEyLjY4NCAyLjY4NCAwIDAgMCA5LjA2IDQuNDQ4bDEuNDM4LTEuNDM5eiIgZmlsbD0iIzIzMUYyMCIgZmlsbC1vcGFjaXR5PSIuNTk3Ii8+PC9zdmc+"},4911:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNjI1IDBBMS42MyAxLjYzIDAgMCAwIDAgMS42MjV2OS43NUExLjYzIDEuNjMgMCAwIDAgMS42MjUgMTNoNy41ODNhMS42MyAxLjYzIDAgMCAwIDEuNjI1LTEuNjI1VjMuNTY3TDcuMjY2IDBIMS42MjV6bTAgMS4wODNINi41djMuMjVoMy4yNXY3LjA0MmEuNTM1LjUzNSAwIDAgMS0uNTQyLjU0MkgxLjYyNWEuNTM1LjUzNSAwIDAgMS0uNTQyLS41NDJ2LTkuNzVjMC0uMzA1LjIzNy0uNTQyLjU0Mi0uNTQyem01Ljk1OC43NjZMOC45ODQgMy4yNWgtMS40di0xLjR6TTMuMjUgNi41djEuMDgzaDQuMzMzVjYuNUgzLjI1em0wIDIuMTY3VjkuNzVINi41VjguNjY3SDMuMjV6IiBmaWxsLW9wYWNpdHk9Ii40MDMiLz48L3N2Zz4="}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,i,o,a,s={},u=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function c(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function f(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o1&&M(i,t,n),t=_(n,i,i,e.__k,null,i.__e,t),"function"==typeof e.type&&(e.__d=t)))}function k(t,n,r,i,o,a,s,u,l){var h,f,d,b,v,y,m,x,_,w,A,S=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(l=r.__h,u=n.__e=r.__e,n.__h=null,a=[u]),(h=e.__b)&&h(n);try{e:if("function"==typeof S){if(x=n.props,_=(h=S.contextType)&&i[h.__c],w=h?_?_.props.value:h.__:i,r.__c?m=(f=n.__c=r.__c).__=f.__E:("prototype"in S&&S.prototype.render?n.__c=f=new S(x,w):(n.__c=f=new g(x,w),f.constructor=S,f.render=B),_&&_.sub(f),f.props=x,f.state||(f.state={}),f.context=w,f.__n=i,d=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=S.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=c({},f.__s)),c(f.__s,S.getDerivedStateFromProps(x,f.__s))),b=f.props,v=f.state,d)null==S.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==S.getDerivedStateFromProps&&x!==b&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(x,w),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(x,f.__s,w)||n.__v===r.__v){f.props=x,f.state=f.__s,n.__v!==r.__v&&(f.__d=!1),f.__v=n,n.__e=r.__e,n.__k=r.__k,f.__h.length&&s.push(f),M(n,u,t);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(x,f.__s,w),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(b,v,y)}))}f.context=w,f.props=x,f.state=f.__s,(h=e.__r)&&h(n),f.__d=!1,f.__v=n,f.__P=t,h=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(i=c(c({},i),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(y=f.getSnapshotBeforeUpdate(b,v)),A=null!=h&&h.type==p&&null==h.key?h.props.children:h,C(t,Array.isArray(A)?A:[A],n,r,i,o,a,s,u,l),f.base=n.__e,n.__h=null,f.__h.length&&s.push(f),m&&(f.__E=f.__=null),f.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=j(r.__e,n,r,i,o,a,s,l);(h=e.diffed)&&h(n)}catch(t){n.__v=null,(l||null!=a)&&(n.__e=u,n.__h=!!l,a[a.indexOf(u)]=null),e.__e(t,n,r)}return n.__e}function z(t,n){e.__c&&e.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(e){e.call(n)}))}catch(t){e.__e(t,n.__v)}}))}function j(e,t,n,r,i,o,a,l){var c,h,f,d,p,g=n.props,b=t.props;if(i="svg"===t.type||i,null!=o)for(c=0;c3)for(n=[n],o=3;o{};function Z(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 K(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 Z(e)&&!0===e[n]}}function Q(e){return e instanceof Map}function J(e){return e instanceof Set}function X(e){const t=new Set;for(let n in e)t.add(n);return Object.getOwnPropertySymbols(e).forEach((n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&t.add(n)})),Array.from(t)}function ee(e){return e&&e.toString?e.toString():new String(e).toString()}function te(e){return null===e?null:"object"==typeof e?""+e:e}const ne="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols?e=>Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)):Object.getOwnPropertyNames,re=Symbol("mobx administration");class ie{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=Le.NOT_TRACKING}onBecomeObserved(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((e=>e()))}onBecomeUnobserved(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((e=>e()))}reportObserved(){return dt(this)}reportChanged(){ht(),function(e){if(e.lowestObserverState===Le.STALE)return;e.lowestObserverState=Le.STALE,e.observers.forEach((t=>{t.dependenciesState===Le.UP_TO_DATE&&(t.isTracing!==Be.NONE&&pt(t,e),t.onBecomeStale()),t.dependenciesState=Le.STALE}))}(this),ft()}toString(){return this.name}}const oe=$("Atom",ie);function ae(e,t=q,n=q){const r=new ie(e);var i;return t!==q&&Lt("onBecomeObserved",r,t,i),n!==q&&Dt(r,n),r}const se={identity:function(e,t){return e===t},structural:function(e,t){return wn(e,t)},default:function(e,t){return Object.is(e,t)},shallow:function(e,t){return wn(e,t,1)}},ue=Symbol("mobx did run lazy initializers"),le=Symbol("mobx pending decorators"),ce={},he={};function fe(e,t){const n=t?ce:he;return n[e]||(n[e]={configurable:!0,enumerable:t,get(){return de(this),this[e]},set(t){de(this),this[e]=t}})}function de(e){if(!0===e[ue])return;const t=e[le];if(t){K(e,ue,!0);const n=[...Object.getOwnPropertySymbols(t),...Object.keys(t)];for(const r of n){const n=t[r];n.propertyCreator(e,n.prop,n.descriptor,n.decoratorTarget,n.decoratorArguments)}}}function pe(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,le)){const e=r[le];K(r,le,Object.assign({},e))}return r[le][i]={prop:i,propertyCreator:t,descriptor:o,decoratorTarget:r,decoratorArguments:n},fe(i,e)};return ge(arguments)?(n=R,r.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),r)}}function ge(e){return(2===e.length||3===e.length)&&("string"==typeof e[1]||"symbol"==typeof e[1])||4===e.length&&!0===e[3]}function be(e,t,n){return Gt(e)?e:Array.isArray(e)?Me.array(e,{name:n}):Y(e)?Me.object(e,void 0,{name:n}):Q(e)?Me.map(e,{name:n}):J(e)?Me.set(e,{name:n}):e}function ve(e){return e}function ye(e){V(e);const t=pe(!0,((t,n,r,i,o)=>{const a=r?r.initializer?r.initializer.call(t):r.value:void 0;pn(t).addObservableProp(n,a,e)})),n=t;return n.enhancer=e,n}const me={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ce(e){return null==e?me:"string"==typeof e?{name:e,deep:!0,proxy:!0}:e}Object.freeze(me);const xe=ye(be),_e=ye((function(e,t,n){return null==e||mn(e)||rn(e)||un(e)||fn(e)?e:Array.isArray(e)?Me.array(e,{name:n,deep:!1}):Y(e)?Me.object(e,void 0,{name:n,deep:!1}):Q(e)?Me.map(e,{name:n,deep:!1}):J(e)?Me.set(e,{name:n,deep:!1}):H(!1)})),we=ye(ve),Ae=ye((function(e,t,n){return wn(e,t)?t:e}));function Se(e){return e.defaultDecorator?e.defaultDecorator.enhancer:!1===e.deep?ve:be}const Te={box(e,t){arguments.length>2&&ke("box");const n=Ce(t);return new Xe(e,Se(n),n.name,!0,n.equals)},array(e,t){arguments.length>2&&ke("array");const n=Ce(t);return function(e,t,n="ObservableArray@"+U(),r=!1){const i=new en(n,t,r);o=i.values,a=re,s=i,Object.defineProperty(o,a,{enumerable:!1,writable:!1,configurable:!0,value:s});var o,a,s;const u=new Proxy(i.values,Xt);if(i.proxy=u,e&&e.length){const t=Qe(!0);i.spliceWithArray(0,0,e),Je(t)}return u}(e,Se(n),n.name)},map(e,t){arguments.length>2&&ke("map");const n=Ce(t);return new sn(e,Se(n),n.name)},set(e,t){arguments.length>2&&ke("set");const n=Ce(t);return new hn(e,Se(n),n.name)},object(e,t,n){"string"==typeof arguments[1]&&ke("object");const r=Ce(n);if(!1===r.proxy)return Et({},e,t,r);{const n=Ot(r),i=function(e){const t=new Proxy(e,qt);return e[re].proxy=t,t}(Et({},void 0,void 0,r));return It(i,e,t,n),i}},ref:we,shallow:_e,deep:xe,struct:Ae},Me=function(e,t,n){if("string"==typeof arguments[1]||"symbol"==typeof arguments[1])return xe.apply(null,arguments);if(Gt(e))return e;const r=Y(e)?Me.object(e,t,n):Array.isArray(e)?Me.array(e,t):Q(e)?Me.map(e,t):J(e)?Me.set(e,t):e;if(r!==e)return r;H(!1)};function ke(e){H(`Expected one or two arguments to observable.${e}. Did you accidentally try to use observable.${e} as decorator?`)}Object.keys(Te).forEach((e=>Me[e]=Te[e]));const ze=pe(!1,((e,t,n,r,i)=>{const{get:o,set:a}=n,s=i[0]||{};pn(e).addComputedProp(e,t,Object.assign({get:o,set:a,context:e},s))})),je=ze({equals:se.structural}),De=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 et(r)};var Le,Be;De.struct=je,function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(Le||(Le={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Be||(Be={}));class Ee{constructor(e){this.cause=e}}function Oe(e){return e instanceof Ee}function Ie(e){switch(e.dependenciesState){case Le.UP_TO_DATE:return!1;case Le.NOT_TRACKING:case Le.STALE:return!0;case Le.POSSIBLY_STALE:{const t=He(!0),n=Ge(),r=e.observing,i=r.length;for(let o=0;o0;st.computationDepth>0&&t&&H(!1),st.allowStateChanges||!t&&"strict"!==st.enforceActions||H(!1)}function Pe(e,t,n){const r=He(!0);We(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++st.runId;const i=st.trackingDerivation;let o;if(st.trackingDerivation=e,!0===st.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(u){o=new Ee(u)}return st.trackingDerivation=i,function(e){const t=e.observing,n=e.observing=e.newObserving;let r=Le.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&<(n,e),n.diffValue=0}for(;i--;){const t=n[i];1===t.diffValue&&(t.diffValue=0,ut(t,e))}r!==Le.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),Ve(r),o}function Fe(e){const t=e.observing;e.observing=[];let n=t.length;for(;n--;)lt(t[n],e);e.dependenciesState=Le.NOT_TRACKING}function Re(e){const t=Ge();try{return e()}finally{Ue(t)}}function Ge(){const e=st.trackingDerivation;return st.trackingDerivation=null,e}function Ue(e){st.trackingDerivation=e}function He(e){const t=st.allowStateReads;return st.allowStateReads=e,t}function Ve(e){st.allowStateReads=e}function We(e){if(e.dependenciesState===Le.UP_TO_DATE)return;e.dependenciesState=Le.UP_TO_DATE;const t=e.observing;let n=t.length;for(;n--;)t[n].lowestObserverState=Le.UP_TO_DATE}let qe=0,Ze=1;const Ye=Object.getOwnPropertyDescriptor((()=>{}),"name");Ye&&Ye.configurable;function Ke(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){const r=!1;let i=0;0;const o=Ge();ht();const a=Qe(!0),s=He(!0),u={prevDerivation:o,prevAllowStateChanges:a,prevAllowStateReads:s,notifySpy:r,startTime:i,actionId:Ze++,parentActionId:qe};return qe=u.actionId,u}();try{return t.apply(n,r)}catch(o){throw i.error=o,o}finally{!function(e){qe!==e.actionId&&H("invalid action stack. did you forget to finish an action?");qe=e.parentActionId,void 0!==e.error&&(st.suppressReactionErrors=!0);Je(e.prevAllowStateChanges),Ve(e.prevAllowStateReads),ft(),Ue(e.prevDerivation),e.notifySpy&&!1;st.suppressReactionErrors=!1}(i)}}function Qe(e){const t=st.allowStateChanges;return st.allowStateChanges=e,t}function Je(e){st.allowStateChanges=e}class Xe extends ie{constructor(e,t,n="ObservableValue@"+U(),r=!0,i=se.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))!==st.UNCHANGED){0,this.setNewValue(e)}}prepareNewValue(e){if(Ne(this),Zt(this)){const t=Kt(this,{object:this,type:"update",newValue:e});if(!t)return st.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?st.UNCHANGED:e}setNewValue(e){const t=this.value;this.value=e,this.reportChanged(),$t(this)&&Jt(this,{type:"update",object:this,newValue:e,oldValue:t})}get(){return this.reportObserved(),this.dehanceValue(this.value)}intercept(e){return Yt(this,e)}observe(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),Qt(this,e)}toJSON(){return this.get()}toString(){return`${this.name}[${this.value}]`}valueOf(){return te(this.get())}[Symbol.toPrimitive](){return this.valueOf()}}$("ObservableValue",Xe);class et{constructor(e){this.dependenciesState=Le.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=Le.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+U(),this.value=new Ee(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Be.NONE,V(e.get,"missing option for computed: get"),this.derivation=e.get,this.name=e.name||"ComputedValue@"+U(),e.set&&(this.setter=Ke(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?se.structural:se.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}onBecomeStale(){!function(e){if(e.lowestObserverState!==Le.UP_TO_DATE)return;e.lowestObserverState=Le.POSSIBLY_STALE,e.observers.forEach((t=>{t.dependenciesState===Le.UP_TO_DATE&&(t.dependenciesState=Le.POSSIBLY_STALE,t.isTracing!==Be.NONE&&pt(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!==st.inBatch||0!==this.observers.size||this.keepAlive?(dt(this),Ie(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState===Le.STALE)return;e.lowestObserverState=Le.STALE,e.observers.forEach((t=>{t.dependenciesState===Le.POSSIBLY_STALE?t.dependenciesState=Le.STALE:t.dependenciesState===Le.UP_TO_DATE&&(e.lowestObserverState=Le.UP_TO_DATE)}))}(this)):Ie(this)&&(this.warnAboutUntrackedRead(),ht(),this.value=this.computeValue(!1),ft());const e=this.value;if(Oe(e))throw e.cause;return e}peek(){const e=this.computeValue(!1);if(Oe(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===Le.NOT_TRACKING,n=this.computeValue(!0),r=t||Oe(e)||Oe(n)||!this.equals(e,n);return r&&(this.value=n),r}computeValue(e){let t;if(this.isComputing=!0,st.computationDepth++,e)t=Pe(this,this.derivation,this.scope);else if(!0===st.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(u){t=new Ee(u)}return st.computationDepth--,this.isComputing=!1,t}suspend(){this.keepAlive||(Fe(this),this.value=void 0)}observe(e,t){let n=!0,r=void 0;return kt((()=>{let i=this.get();if(!n||t){const t=Ge();e({type:"update",object:this,newValue:i,oldValue:r}),Ue(t)}n=!1,r=i}))}warnAboutUntrackedRead(){}toJSON(){return this.get()}toString(){return`${this.name}[${this.derivation.toString()}]`}valueOf(){return te(this.get())}[Symbol.toPrimitive](){return this.valueOf()}}const tt=$("ComputedValue",et);class nt{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.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1}}const rt={};function it(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:rt}let ot=!0,at=!1,st=function(){const e=it();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ot=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new nt).version&&(ot=!1),ot?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new nt):(setTimeout((()=>{at||H("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new nt)}();function ut(e,t){e.observers.add(t),e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function lt(e,t){e.observers.delete(t),0===e.observers.size&&ct(e)}function ct(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,st.pendingUnobservations.push(e))}function ht(){st.inBatch++}function ft(){if(0==--st.inBatch){yt();const e=st.pendingUnobservations;for(let t=0;t0&&ct(e),!1)}function pt(e,t){if(console.log(`[mobx.trace] '${e.name}' is invalidated due to a change in: '${t.name}'`),e.isTracing===Be.BREAK){const n=[];gt(Nt(e),n,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 et?e.derivation.toString().replace(/[*]\//g,"/"):""}\n\nThe dependencies for this derivation are:\n\n${n.join("\n")}\n*/\n `)()}}function gt(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(`${new Array(n).join("\t")}${e.name}`),e.dependencies&&e.dependencies.forEach((e=>gt(e,t,n+1))))}class bt{constructor(e="Reaction@"+U(),t,n,r=!1){this.name=e,this.onInvalidate=t,this.errorHandler=n,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=Le.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,st.pendingReactions.push(this),yt())}isScheduled(){return this._isScheduled}runReaction(){if(!this.isDisposed){if(ht(),this._isScheduled=!1,Ie(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(u){this.reportExceptionInDerivation(u)}}ft()}}track(e){if(this.isDisposed)return;ht();this._isRunning=!0;const t=Pe(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&Fe(this),Oe(t)&&this.reportExceptionInDerivation(t.cause),ft()}reportExceptionInDerivation(e){if(this.errorHandler)return void this.errorHandler(e,this);if(st.disableErrorBoundaries)throw e;const t=`[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '${this}'`;st.suppressReactionErrors?console.warn(`[mobx] (error in reaction '${this.name}' suppressed, fix error of causing action below)`):console.error(t,e),st.globalReactionErrorHandlers.forEach((t=>t(e,this)))}dispose(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(ht(),Fe(this),ft()))}getDisposer(){const e=this.dispose.bind(this);return e[re]=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 st.trackingDerivation;case 1:return Cn(e[0]);case 2:return Cn(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 vt=e=>e();function yt(){st.inBatch>0||st.isRunningReactions||vt(mt)}function mt(){st.isRunningReactions=!0;const e=st.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;ee((()=>t(n)))}function _t(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function wt(){H(!1)}function At(e){return function(t,n,r){if(r){if(r.value)return{value:Ke(e,r.value),enumerable:!1,configurable:!0,writable:!0};const{initializer:t}=r;return{enumerable:!1,configurable:!0,writable:!0,initializer(){return Ke(e,t.call(this))}}}return St(e).apply(this,arguments)}}function St(e){return function(t,n,r){Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get(){},set(t){K(this,n,Tt(e,t))}})}}const Tt=function(e,t,n,r){return 1===arguments.length&&"function"==typeof e?Ke(e.name||"",e):2===arguments.length&&"function"==typeof t?Ke(e,t):1===arguments.length&&"string"==typeof e?At(e):!0!==r?At(t).apply(null,arguments):void K(e,t,Ke(e.name||t,n.value,this))};function Mt(e,t,n){K(e,t,Ke(t,n.bind(e)))}function kt(e,t=G){const n=t&&t.name||e.name||"Autorun@"+U();let r;if(!t.scheduler&&!t.delay)r=new bt(n,(function(){this.track(i)}),t.onError,t.requiresObservable);else{const e=jt(t);let o=!1;r=new bt(n,(()=>{o||(o=!0,e((()=>{o=!1,r.isDisposed||r.track(i)})))}),t.onError,t.requiresObservable)}function i(){e(r)}return r.schedule(),r.getDisposer()}Tt.bound=function(e,t,n,r){return!0===r?(Mt(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get(){return Mt(this,t,n.value||n.initializer.call(this)),this[t]},set:wt}:{enumerable:!1,configurable:!0,set(e){Mt(this,t,e)},get(){}}};const zt=e=>e();function jt(e){return e.scheduler?e.scheduler:e.delay?t=>setTimeout(t,e.delay):zt}function Dt(e,t,n){return Lt("onBecomeUnobserved",e,t,n)}function Lt(e,t,n,r){const i="function"==typeof r?Cn(t,n):Cn(t),o="function"==typeof r?r:n,a=e+"Listeners";i[a]?i[a].add(o):i[a]=new Set([o]);return"function"!=typeof i[e]?H(!1):function(){const e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function Bt(e){const{enforceActions:t,computedRequiresReaction:n,computedConfigurable:r,disableErrorBoundaries:i,reactionScheduler:o,reactionRequiresObservable:a,observableRequiresReaction:s}=e;if(!0===e.isolateGlobalState&&((st.pendingReactions.length||st.inBatch||st.isRunningReactions)&&H("isolateGlobalState should be called before MobX is running any reactions"),at=!0,ot&&(0==--it().__mobxInstanceCount&&(it().__mobxGlobals=void 0),st=new nt)),void 0!==t){let e;switch(t){case!0:case"observed":e=!0;break;case!1:case"never":e=!1;break;case"strict":case"always":e="strict";break;default:H(`Invalid value for 'enforceActions': '${t}', expected 'never', 'always' or 'observed'`)}st.enforceActions=e,st.allowStateChanges=!0!==e&&"strict"!==e}void 0!==n&&(st.computedRequiresReaction=!!n),void 0!==a&&(st.reactionRequiresObservable=!!a),void 0!==s&&(st.observableRequiresReaction=!!s,st.allowStateReads=!st.observableRequiresReaction),void 0!==r&&(st.computedConfigurable=!!r),void 0!==i&&(!0===i&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),st.disableErrorBoundaries=!!i),o&&xt(o)}function Et(e,t,n,r){const i=Ot(r=Ce(r));return de(e),pn(e,r.name,i.enhancer),t&&It(e,t,n,i),e}function Ot(e){return e.defaultDecorator||(!1===e.deep?we:xe)}function It(e,t,n,r){ht();try{const i=ne(t);for(const o of i){const i=Object.getOwnPropertyDescriptor(t,o);0;0;const a=(n&&o in n?n[o]:i.get?ze:r)(e,o,i,!0);a&&Object.defineProperty(e,o,a)}}finally{ft()}}function Nt(e,t){return Pt(Cn(e,t))}function Pt(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(Pt)),t}function Ft(){this.message="FLOW_CANCELLED"}function Rt(e,t){return null!=e&&(void 0!==t?!!mn(e)&&e[re].values.has(t):mn(e)||!!e[re]||oe(e)||Ct(e)||tt(e))}function Gt(e){return 1!==arguments.length&&H(!1),Rt(e)}function Ut(e,t,n){if(2!==arguments.length||fn(e))if(mn(e)){const r=e[re];r.values.get(t)?r.write(t,n):r.addObservableProp(t,n,r.defaultEnhancer)}else if(un(e))e.set(t,n);else if(fn(e))e.add(t);else{if(!rn(e))return H(!1);"number"!=typeof t&&(t=parseInt(t,10)),V(t>=0,`Not a valid index: '${t}'`),ht(),t>=e.length&&(e.length=t+1),e[t]=n,ft()}else{ht();const n=t;try{for(let t in n)Ut(e,t,n[t])}finally{ft()}}}Ft.prototype=Object.create(Error.prototype);function Ht(e,t){ht();try{return e.apply(t)}finally{ft()}}function Vt(e){return e[re]}function Wt(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e}const qt={has(e,t){if(t===re||"constructor"===t||t===ue)return!0;const n=Vt(e);return Wt(t)?n.has(t):t in e},get(e,t){if(t===re||"constructor"===t||t===ue)return e[t];const n=Vt(e),r=n.values.get(t);if(r instanceof ie){const e=r.get();return void 0===e&&n.has(t),e}return Wt(t)&&n.has(t),e[t]},set:(e,t,n)=>!!Wt(t)&&(Ut(e,t,n),!0),deleteProperty(e,t){if(!Wt(t))return!1;return Vt(e).remove(t),!0},ownKeys:e=>(Vt(e).keysAtom.reportObserved(),Reflect.ownKeys(e)),preventExtensions:e=>(H("Dynamic observable objects cannot be frozen"),!1)};function Zt(e){return void 0!==e.interceptors&&e.interceptors.length>0}function Yt(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 Kt(e,t){const n=Ge();try{const r=[...e.interceptors||[]];for(let e=0,n=r.length;e0}function Qt(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 Jt(e,t){const n=Ge();let r=e.changeListeners;if(r){r=r.slice();for(let e=0,n=r.length;et===re?e[re]:"length"===t?e[re].getArrayLength():"number"==typeof t?tn.get.call(e,t):"string"!=typeof t||isNaN(t)?tn.hasOwnProperty(t)?tn[t]:e[t]:tn.get.call(e,parseInt(t)),set:(e,t,n)=>("length"===t&&e[re].setArrayLength(n),"number"==typeof t&&tn.set.call(e,t,n),"symbol"==typeof t||isNaN(t)?e[t]=n:tn.set.call(e,parseInt(t),n),!0),preventExtensions:e=>(H("Observable arrays cannot be frozen"),!1)};class en{constructor(e,t,n){this.owned=n,this.values=[],this.proxy=void 0,this.lastKnownLength=0,this.atom=new ie(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 Yt(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}),Qt(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),Zt(this)){const r=Kt(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=$t(this),o=i||r?{object:this.proxy,type:"update",index:e,newValue:t,oldValue:n}:null;this.atom.reportChanged(),i&&Jt(this,o)}notifyArraySplice(e,t,n){const r=!this.owned&&!1,i=$t(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&&Jt(this,o)}}const tn={intercept(e){return this[re].intercept(e)},observe(e,t=!1){return this[re].observe(e,t)},clear(){return this.splice(0)},replace(e){const t=this[re];return t.spliceWithArray(0,t.values.length,e)},toJS(){return this.slice()},toJSON(){return this.toJS()},splice(e,t,...n){const r=this[re];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[re].spliceWithArray(e,t,n)},push(...e){const t=this[re];return t.spliceWithArray(t.values.length,0,e),t.values.length},pop(){return this.splice(Math.max(this[re].values.length-1,0),1)[0]},shift(){return this.splice(0,1)[0]},unshift(...e){const t=this[re];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[re],n=t.dehanceValues(t.values).indexOf(e);return n>-1&&(this.splice(n,1),!0)},get(e){const t=this[re];if(t){if(e{"function"==typeof Array.prototype[e]&&(tn[e]=function(){const t=this[re];t.atom.reportObserved();const n=t.dehanceValues(t.values);return n[e].apply(n,arguments)})})),["every","filter","find","findIndex","flatMap","forEach","map","some"].forEach((e=>{"function"==typeof Array.prototype[e]&&(tn[e]=function(t,n){const r=this[re];r.atom.reportObserved();return r.dehanceValues(r.values)[e](((e,r)=>t.call(n,e,r,this)),n)})})),["reduce","reduceRight"].forEach((e=>{tn[e]=function(){const t=this[re];t.atom.reportObserved();const n=arguments[0];return arguments[0]=(e,r,i)=>(r=t.dehanceValue(r),n(e,r,i,this)),t.values[e].apply(t.values,arguments)}}));const nn=$("ObservableArrayAdministration",en);function rn(e){return Z(e)&&nn(e[re])}var on;const an={};class sn{constructor(e,t=be,n="ObservableMap@"+U()){if(this.enhancer=t,this.name=n,this[on]=an,this._keysAtom=ae(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){if(!st.trackingDerivation)return this._has(e);let t=this._hasMap.get(e);if(!t){const n=t=new Xe(this._has(e),ve,`${this.name}.${ee(e)}?`,!1);this._hasMap.set(e,n),Dt(n,(()=>this._hasMap.delete(e)))}return t.get()}set(e,t){const n=this._has(e);if(Zt(this)){const r=Kt(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(Ne(this._keysAtom),Zt(this)){if(!Kt(this,{type:"delete",object:this,name:e}))return!1}if(this._has(e)){const t=!1,n=$t(this),r=n||t?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return Ht((()=>{this._keysAtom.reportChanged(),this._updateHasMapEntry(e,!1);this._data.get(e).setNewValue(void 0),this._data.delete(e)})),n&&Jt(this,r),!0}return!1}_updateHasMapEntry(e,t){let n=this._hasMap.get(e);n&&n.setNewValue(t)}_updateValue(e,t){const n=this._data.get(e);if((t=n.prepareNewValue(t))!==st.UNCHANGED){const r=!1,i=$t(this),o=i||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;0,n.setNewValue(t),i&&Jt(this,o)}}_addValue(e,t){Ne(this._keysAtom),Ht((()=>{const n=new Xe(t,this.enhancer,`${this.name}.${ee(e)}`,!1);this._data.set(e,n),t=n.value,this._updateHasMapEntry(e,!0),this._keysAtom.reportChanged()}));const n=!1,r=$t(this),i=r?{type:"add",object:this,name:e,newValue:t}:null;r&&Jt(this,i)}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,t=this.keys();return Mn({next(){const{done:n,value:r}=t.next();return{done:n,value:n?void 0:e.get(r)}}})}entries(){const e=this,t=this.keys();return Mn({next(){const{done:n,value:r}=t.next();return{done:n,value:n?void 0:[r,e.get(r)]}}})}[(on=re,Symbol.iterator)](){return this.entries()}forEach(e,t){for(const[n,r]of this)e.call(t,r,n,this)}merge(e){return un(e)&&(e=e.toJS()),Ht((()=>{const t=Qe(!0);try{Y(e)?X(e).forEach((t=>this.set(t,e[t]))):Array.isArray(e)?e.forEach((([e,t])=>this.set(e,t))):Q(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)}finally{Je(t)}})),this}clear(){Ht((()=>{Re((()=>{for(const e of this.keys())this.delete(e)}))}))}replace(e){return Ht((()=>{const t=function(e){if(Q(e)||un(e))return e;if(Array.isArray(e))return new Map(e);if(Y(e)){const t=new Map;for(const n in e)t.set(n,e[n]);return t}return H(`Cannot convert to map from '${e}'`)}(e),n=new Map;let r=!1;for(const e of this._data.keys())if(!t.has(e)){if(this.delete(e))r=!0;else{const t=this._data.get(e);n.set(e,t)}}for(const[e,i]of t.entries()){const t=this._data.has(e);if(this.set(e,i),this._data.has(e)){const i=this._data.get(e);n.set(e,i),t||(r=!0)}}if(!r)if(this._data.size!==n.size)this._keysAtom.reportChanged();else{const e=this._data.keys(),t=n.keys();let r=e.next(),i=t.next();for(;!r.done;){if(r.value!==i.value){this._keysAtom.reportChanged();break}r=e.next(),i=t.next()}}this._data=n})),this}get size(){return this._keysAtom.reportObserved(),this._data.size}toPOJO(){const e={};for(const[t,n]of this)e["symbol"==typeof t?t:ee(t)]=n;return e}toJS(){return new Map(this)}toJSON(){return this.toPOJO()}toString(){return this.name+"[{ "+Array.from(this.keys()).map((e=>`${ee(e)}: ${""+this.get(e)}`)).join(", ")+" }]"}observe(e,t){return Qt(this,e)}intercept(e){return Yt(this,e)}}const un=$("ObservableMap",sn);var ln;const cn={};class hn{constructor(e,t=be,n="ObservableSet@"+U()){if(this.name=n,this[ln]=cn,this._data=new Set,this._atom=ae(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(){Ht((()=>{Re((()=>{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(Ne(this._atom),Zt(this)){if(!Kt(this,{type:"add",object:this,newValue:e}))return this}if(!this.has(e)){Ht((()=>{this._data.add(this.enhancer(e,void 0)),this._atom.reportChanged()}));const t=!1,n=$t(this),r=n||t?{type:"add",object:this,newValue:e}:null;0,n&&Jt(this,r)}return this}delete(e){if(Zt(this)){if(!Kt(this,{type:"delete",object:this,oldValue:e}))return!1}if(this.has(e)){const t=!1,n=$t(this),r=n||t?{type:"delete",object:this,oldValue:e}:null;return Ht((()=>{this._atom.reportChanged(),this._data.delete(e)})),n&&Jt(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 Mn({next(){const r=e;return e+=1,rt{const t=Qe(!0);try{Array.isArray(e)||J(e)?(this.clear(),e.forEach((e=>this.add(e)))):null!=e&&H("Cannot initialize set from "+e)}finally{Je(t)}})),this}observe(e,t){return Qt(this,e)}intercept(e){return Yt(this,e)}toJS(){return new Set(this)}toString(){return this.name+"[ "+Array.from(this).join(", ")+" ]"}[(ln=re,Symbol.iterator)](){return this.values()}}const fn=$("ObservableSet",hn);class dn{constructor(e,t=new Map,n,r){this.target=e,this.values=t,this.name=n,this.defaultEnhancer=r,this.keysAtom=new ie(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 et)r.set(t);else{if(Zt(this)){const r=Kt(this,{type:"update",object:this.proxy||n,name:e,newValue:t});if(!r)return;t=r.newValue}if((t=r.prepareNewValue(t))!==st.UNCHANGED){const i=$t(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&&Jt(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 Xe(r,ve,`${this.name}.${ee(e)}?`,!1),t.set(e,n),n.get()}}addObservableProp(e,t,n=this.defaultEnhancer){const{target:r}=this;if(Zt(this)){const n=Kt(this,{object:this.proxy||r,name:e,type:"add",newValue:t});if(!n)return;t=n.newValue}const i=new Xe(t,n,`${this.name}.${ee(e)}`,!1);this.values.set(e,i),t=i.value,Object.defineProperty(r,e,function(e){return gn[e]||(gn[e]={configurable:!0,enumerable:!0,get(){return this[re].read(e)},set(t){this[re].write(e,t)}})}(e)),this.notifyPropertyAddition(e,t)}addComputedProp(e,t,n){const{target:r}=this;n.name=n.name||`${this.name}.${ee(t)}`,this.values.set(t,new et(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 bn[e]||(bn[e]={configurable:st.computedConfigurable,enumerable:!1,get(){return vn(this).read(e)},set(t){vn(this).write(e,t)}})}(t))}remove(e){if(!this.values.has(e))return;const{target:t}=this;if(Zt(this)){if(!Kt(this,{object:this.proxy||t,name:e,type:"remove"}))return}try{ht();const n=$t(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&&Jt(this,a)}finally{ft()}}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 Qt(this,e)}intercept(e){return Yt(this,e)}notifyPropertyAddition(e,t){const n=$t(this),r=n?{type:"add",object:this.proxy||this.target,name:e,newValue:t}:null;if(n&&Jt(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 Xe&&e.push(t);return e}}function pn(e,t="",n=be){if(Object.prototype.hasOwnProperty.call(e,re))return e[re];Y(e)||(t=(e.constructor.name||"ObservableObject")+"@"+U()),t||(t="ObservableObject@"+U());const r=new dn(e,new Map,ee(t),n);return K(e,re,r),r}const gn=Object.create(null),bn=Object.create(null);function vn(e){const t=e[re];return t||(de(e),e[re])}const yn=$("ObservableObjectAdministration",dn);function mn(e){return!!Z(e)&&(de(e),yn(e[re]))}function Cn(e,t){if("object"==typeof e&&null!==e){if(rn(e))return void 0!==t&&H(!1),e[re].atom;if(fn(e))return e[re];if(un(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(de(e),t&&!e[re]&&e[t],mn(e)){if(!t)return H(!1);const n=e[re].values.get(t);return n||H(!1),n}if(oe(e)||tt(e)||Ct(e))return e}else if("function"==typeof e&&Ct(e[re]))return e[re];return H(!1)}function xn(e,t){return e||H("Expecting some object"),void 0!==t?xn(Cn(e,t)):oe(e)||tt(e)||Ct(e)||un(e)||fn(e)?e:(de(e),e[re]?e[re]:void H(!1))}const _n=Object.prototype.toString;function wn(e,t,n=-1){return An(e,t,n)}function An(e,t,n,r,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;const o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;const a=_n.call(e);if(a!==_n.call(t))return!1;switch(a){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);case"[object Map]":case"[object Set]":n>=0&&n++}e=Sn(e),t=Sn(t);const s="[object Array]"===a;if(!s){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}if(0===n)return!1;n<0&&(n=-1),i=i||[];let u=(r=r||[]).length;for(;u--;)if(r[u]===e)return i[u]===t;if(r.push(e),i.push(t),s){if(u=e.length,u!==t.length)return!1;for(;u--;)if(!An(e[u],t[u],n-1,r,i))return!1}else{const o=Object.keys(e);let a;if(u=o.length,Object.keys(t).length!==u)return!1;for(;u--;)if(a=o[u],!Tn(t,a)||!An(e[a],t[a],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function Sn(e){return rn(e)?e.slice():Q(e)||un(e)||J(e)||fn(e)?Array.from(e.entries()):e}function Tn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Mn(e){return e[Symbol.iterator]=kn,e}function kn(){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 zn(e){return"number"==typeof e.parsedSize}function jn(e,t){for(const n of e){if(!1===t(n))return!1;if(n.groups&&!1===jn(n.groups,t))return!1}}"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:_t,extras:{getDebugName:function(e,t){let n;return n=void 0!==t?Cn(e,t):mn(e)||un(e)||fn(e)?xn(e):Cn(e),n.name}},$mobx:re});const Dn={getItem(e){try{return JSON.parse(window.localStorage.getItem("wba."+e))}catch(t){return null}},setItem(e,t){try{window.localStorage.setItem("wba."+e,JSON.stringify(t))}catch(n){}},removeItem(e){try{window.localStorage.removeItem("wba."+e)}catch(t){}}};var Ln,Bn,En,On,In,Nn,Pn,Fn,Rn;const Gn=new(Ln=Me.ref,Bn=Me.shallow,On=F((En=class{constructor(){this.cid=0,this.sizes=new Set(["statSize","parsedSize","gzipSize"]),P(this,"allChunks",On,this),P(this,"selectedChunks",In,this),P(this,"searchQuery",Nn,this),P(this,"defaultSize",Pn,this),P(this,"selectedSize",Fn,this),P(this,"showConcatenatedModulesContent",Rn,this)}setModules(e){jn(e,(e=>{e.cid=this.cid++})),this.allChunks=e,this.selectedChunks=this.allChunks}get hasParsedSizes(){return this.allChunks.some(zn)}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=[];jn(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 jn(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",[Ln],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),In=F(En.prototype,"selectedChunks",[Bn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Nn=F(En.prototype,"searchQuery",[Me],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Pn=F(En.prototype,"defaultSize",[Me],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fn=F(En.prototype,"selectedSize",[Me],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Rn=F(En.prototype,"showConcatenatedModulesContent",[Me],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0===Dn.getItem("showConcatenatedModulesContent")}}),F(En.prototype,"hasParsedSizes",[De],Object.getOwnPropertyDescriptor(En.prototype,"hasParsedSizes"),En.prototype),F(En.prototype,"activeSize",[De],Object.getOwnPropertyDescriptor(En.prototype,"activeSize"),En.prototype),F(En.prototype,"visibleChunks",[De],Object.getOwnPropertyDescriptor(En.prototype,"visibleChunks"),En.prototype),F(En.prototype,"allChunksSelected",[De],Object.getOwnPropertyDescriptor(En.prototype,"allChunksSelected"),En.prototype),F(En.prototype,"totalChunksSize",[De],Object.getOwnPropertyDescriptor(En.prototype,"totalChunksSize"),En.prototype),F(En.prototype,"searchQueryRegexp",[De],Object.getOwnPropertyDescriptor(En.prototype,"searchQueryRegexp"),En.prototype),F(En.prototype,"isSearching",[De],Object.getOwnPropertyDescriptor(En.prototype,"isSearching"),En.prototype),F(En.prototype,"foundModulesByChunk",[De],Object.getOwnPropertyDescriptor(En.prototype,"foundModulesByChunk"),En.prototype),F(En.prototype,"foundModules",[De],Object.getOwnPropertyDescriptor(En.prototype,"foundModules"),En.prototype),F(En.prototype,"hasFoundModules",[De],Object.getOwnPropertyDescriptor(En.prototype,"hasFoundModules"),En.prototype),F(En.prototype,"hasConcatenatedModules",[De],Object.getOwnPropertyDescriptor(En.prototype,"hasConcatenatedModules"),En.prototype),F(En.prototype,"foundModulesSize",[De],Object.getOwnPropertyDescriptor(En.prototype,"foundModulesSize"),En.prototype),En);var Un,Hn,Vn,Wn=n(6755),qn=n.n(Wn),Zn=0,Yn=[],Kn=e.__r,$n=e.diffed,Qn=e.__c,Jn=e.unmount;function Xn(t,n){e.__h&&e.__h(Hn,t,Zn||n),Zn=0;var r=Hn.__H||(Hn.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({}),r.__[t]}function er(e){return Zn=1,tr(cr,e)}function tr(e,t,n){var r=Xn(Un++,2);return r.t=e,r.__c||(r.__=[n?n(t):cr(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=Hn),r.__}function nr(t,n){var r=Xn(Un++,4);!e.__s&&lr(r.__H,n)&&(r.__=t,r.__H=n,Hn.__h.push(r))}function rr(e,t){var n=Xn(Un++,7);return lr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ir(e,t){return Zn=8,rr((function(){return e}),t)}function or(){Yn.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(sr),n.__H.__h.forEach(ur),n.__H.__h=[]}catch(t){n.__H.__h=[],e.__e(t,n.__v)}})),Yn=[]}e.__r=function(e){Kn&&Kn(e),Un=0;var t=(Hn=e.__c).__H;t&&(t.__h.forEach(sr),t.__h.forEach(ur),t.__h=[])},e.diffed=function(t){$n&&$n(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==Yn.push(n)&&Vn===e.requestAnimationFrame||((Vn=e.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ar&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ar&&(t=requestAnimationFrame(n))})(or))},e.__c=function(t,n){n.some((function(t){try{t.__h.forEach(sr),t.__h=t.__h.filter((function(e){return!e.__||ur(e)}))}catch(a){n.some((function(e){e.__h&&(e.__h=[])})),n=[],e.__e(a,t.__v)}})),Qn&&Qn(t,n)},e.unmount=function(t){Jn&&Jn(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(sr)}catch(t){e.__e(t,n.__v)}};var ar="function"==typeof requestAnimationFrame;function sr(e){"function"==typeof e.__c&&e.__c()}function ur(e){e.__c=e.__()}function lr(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function cr(e,t){return"function"==typeof t?t(e):t}function hr(e,t){for(var n in t)e[n]=t[n];return e}function fr(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function dr(e){this.props=e}function pr(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:fr(this.props,e)}function r(t){return this.shouldComponentUpdate=n,f(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(dr.prototype=new g).isPureReactComponent=!0,dr.prototype.shouldComponentUpdate=function(e,t){return fr(this.props,e)||fr(this.state,t)};var gr=e.__b;e.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),gr&&gr(e)};var br="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function vr(e){function t(t,n){var r=hr({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=br,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var yr=function(e,t){return null==e?null:x(x(e).map(t))},mr={map:yr,forEach:yr,count:function(e){return e?x(e).length:0},only:function(e){var t=x(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:x},Cr=e.__e;function xr(e){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),(e=hr({},e)).__c=null,e.__k=e.__k&&e.__k.map(xr)),e}function _r(e){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(_r)),e}function wr(){this.__u=0,this.t=null,this.__b=null}function Ar(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Sr(){this.u=null,this.o=null}e.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t.__c);Cr(e,t,n)},(wr.prototype=new g).__c=function(e,t){var n=this;null==n.t&&(n.t=[]),n.t.push(t);var r=Ar(n.__v),i=!1,o=function(){i||(i=!0,t.componentWillUnmount=t.__c,r?r(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){o(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=_r(n.state.__e),n.setState({__e:n.__b=null});e=n.t.pop();)e.forceUpdate()},s=n.__v;s&&!0===s.__h||n.__u++||n.setState({__e:n.__b=n.__v.__k[0]}),e.then(o,o)},wr.prototype.componentWillUnmount=function(){this.t=[]},wr.prototype.render=function(e,t){this.__b&&(this.__v.__k&&(this.__v.__k[0]=xr(this.__b)),this.__b=null);var n=t.__e&&f(p,null,e.fallback);return n&&(n.__h=null),[f(p,null,t.__e?null:e.children),n]};var Tr=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function Vr(){var e=Hr(er(0),2)[1];return ir((function(){e((function(e){return e+1}))}),[])}var Wr={};var qr,Zr=(qr="observerBatching","function"==typeof Symbol?Symbol.for(qr):"__$mobx-react "+qr+"__");function Yr(e){e()}var Kr=!1;function $r(){return Kr}function Qr(e){return Nt(e)}var Jr,Xr=1e4,ei=new Set;function ti(){void 0===Jr&&(Jr=setTimeout(ni,1e4))}function ni(){Jr=void 0;var e=Date.now();ei.forEach((function(t){var n=t.current;n&&e>=n.cleanAt&&(n.reaction.dispose(),t.current=null,ei.delete(t))})),ei.size>0&&ti()}var ri=!1,ii=[];var oi={};function ai(e){return"observer"+e}function si(e,t,n){if(void 0===t&&(t="observed"),void 0===n&&(n=oi),$r())return e();var r,i=function(e){return function(){ri?ii.push(e):e()}}((n.useForceUpdate||Vr)()),o=Ur.useRef(null);if(!o.current){var a=new bt(ai(t),(function(){s.mounted?i():(a.dispose(),o.current=null)})),s=function(e){return{cleanAt:Date.now()+Xr,reaction:e}}(a);o.current=s,r=o,ei.add(r),ti()}var l=o.current.reaction;return Ur.useDebugValue(l,Qr),Ur.useEffect((function(){var e;return e=o,ei.delete(e),o.current?o.current.mounted=!0:(o.current={reaction:new bt(ai(t),(function(){i()})),cleanAt:1/0},i()),function(){o.current.reaction.dispose(),o.current=null}}),[]),function(e){ri=!0,ii=[];try{var t=e();ri=!1;var n=ii.length>0?ii:void 0;return Ur.useLayoutEffect((function(){n&&n.forEach((function(e){return e()}))}),[n]),t}finally{ri=!1}}((function(){var t,n;if(l.track((function(){try{t=e()}catch(u){n=u}})),n)throw n;return t}))}var ui=function(){return(ui=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2?r-2:0),o=2;o"}function Li(e){var t=this;if(!0===$r())return e.call(this);yi(this,ki,!1),yi(this,zi,!1);var n=Di(this),r=e.bind(this),i=!1,o=new bt(n+".render()",(function(){if(!i&&(i=!0,!0!==t[Mi])){var e=!0;try{yi(t,zi,!0),t[ki]||g.prototype.forceUpdate.call(t),e=!1}finally{yi(t,zi,!1),e&&o.dispose()}}}));function a(){i=!1;var e=void 0,t=void 0;if(o.track((function(){try{t=function(e,t){const n=Qe(e);let r;try{r=t()}finally{Je(n)}return r}(!1,r)}catch(u){e=u}})),e)throw e;return t}return o.reactComponent=this,a[Si]=o,this.render=a,a.call(this)}function Bi(e,t){return $r()&&console.warn("[mobx-react] 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||!bi(this.props,e)}function Ei(e,t){var n=gi("reactProp_"+t+"_valueHolder"),r=gi("reactProp_"+t+"_atomHolder");function i(){return this[r]||yi(this,r,ae("reactive "+t)),this[r]}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){var e=!1;return He&&Ve&&(e=He(!0)),i.call(this).reportObserved(),He&&Ve&&Ve(e),this[n]},set:function(e){this[zi]||bi(this[n],e)?yi(this,n,e):(yi(this,n,e),yi(this,ki,!0),i.call(this).reportChanged(),yi(this,ki,!1))}})}var Oi="function"==typeof Symbol&&Symbol.for,Ii=Oi?Symbol.for("react.forward_ref"):vr((function(e){return null})).$$typeof,Ni=Oi?Symbol.for("react.memo"):pr((function(e){return null})).$$typeof;function Pi(e){if(!0===e.isMobxInjector&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),Ni&&e.$$typeof===Ni)throw new Error("Mobx observer: You are trying to use 'observer' on a function component wrapped in either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(Ii&&e.$$typeof===Ii){var t=e.render;if("function"!=typeof t)throw new Error("render property of ForwardRef was not a function");return vr((function(){var e=arguments;return f(hi,null,(function(){return t.apply(void 0,e)}))}))}return"function"!=typeof e||e.prototype&&e.prototype.render||e.isReactClass||Object.prototype.isPrototypeOf.call(g,e)?ji(e):li(e)}if(!g)throw new Error("mobx-react requires React to be available");if(!Me)throw new Error("mobx-react requires mobx to be available");var Fi=n(3933),Ri=n.n(Fi);class Gi extends g{constructor(e){super(e),this.saveNodeRef=e=>this.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 N("div",{...this.props,ref:this.saveNodeRef})}getTreemapDataObject(e=this.props.data){return{groups:e}}createTreemap(){const e=this,{props:t}=this;return new(Ri())({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){Ui(n),(n.ctrlKey||n.secondary)&&t.onGroupSecondaryClick?t.onGroupSecondaryClick.call(e,n):(e.zoomOutDisabled=!1,this.zoom(n.group))},onGroupDoubleClick:Ui,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 Ui(t);n<1&&(e.zoomOutDisabled=!0,Ui(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 Ui(e){e.preventDefault()}var Hi=n(4184),Vi=n.n(Hi),Wi=n(3379),qi=n.n(Wi),Zi=n(7527),Yi={insert:"head",singleton:!1};qi()(Zi.Z,Yi);const Ki=Zi.Z.locals||{};class $i extends g{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=Vi()({[Ki.container]:!0,[Ki.hidden]:!t});return N("div",{ref:this.saveNode,className:n,style:this.getStyle(),children:e})}getStyle(){return{left:this.state.left,top:this.state.top}}updatePosition(){if(!this.props.visible)return;const e={left:this.mouseCoords.x+$i.marginX,top:this.mouseCoords.y+$i.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-$i.marginY-t.height),this.setState(e)}}$i.marginX=10,$i.marginY=30;var Qi=n(3908),Ji={insert:"head",singleton:!1};qi()(Qi.Z,Ji);const Xi=Qi.Z.locals||{};class eo extends g{shouldComponentUpdate(e,t){return!to(e,this.props)||!to(this.state,t)}}function to(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=Vi()(n,{[Xi.button]:!0,[Xi.active]:e,[Xi.toggle]:t});return N("button",{...i,ref:this.saveRef,type:"button",className:o,disabled:this.disabled,onClick:this.handleClick,children:r})}get disabled(){const{props:e}=this;return e.disabled||e.active&&!e.toggle}}class ro extends eo{constructor(...e){super(...e),this.handleClick=()=>{this.props.onClick(this.props.item)}}render({item:e,...t}){return N(no,{...t,onClick:this.handleClick,children:e.label})}}var io=n(6897),oo={insert:"head",singleton:!1};qi()(io.Z,oo);const ao=io.Z.locals||{};class so extends eo{render(){const{label:e,items:t,activeItem:n,onSwitch:r}=this.props;return N("div",{className:ao.container,children:[N("div",{className:ao.label,children:[e,":"]}),N("div",{children:t.map((e=>N(ro,{className:ao.item,item:e,active:e===n,onClick:r},e.label)))})]})}}var uo=n(4826),lo={insert:"head",singleton:!1};qi()(uo.Z,lo);const co=uo.Z.locals||{};var ho=n(1746),fo={insert:"head",singleton:!1};qi()(ho.Z,fo);const po=ho.Z.locals||{},go={"arrow-right":{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNLjgyMiAxMi44MTFhLjQ0NS40NDUgMCAwIDEtLjMyMi4xMzMuNDU2LjQ1NiAwIDAgMS0uMzIyLS43NzhMNS44NDQgNi41LjE3OC44MzNBLjQ1Ni40NTYgMCAwIDEgLjgyMi4xOWw1Ljk5IDUuOTg5YS40NTYuNDU2IDAgMCAxIDAgLjY0NGwtNS45OSA1Ljk5eiIvPjwvc3ZnPg==",size:[7,13]},pin:{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMDEyIDE3Ljk0OWwtMS40OTMtNi4zNzZhMTAuOTM1IDEwLjkzNSAwIDAgMCAyLjk4NS4wMDJMNi4wMTIgMTcuOTV6TTkuMjQ2IDEuODU3YzAgLjUyLS40MTUuOTg1LTEuMDcgMS4zMDhsLS4wMDEgMi42MTZjMS43MjUuNDEgMi45MjIgMS4yOTQgMi45MjIgMi4zMiAwIC40MTYtLjE5NS44MDktLjU0MiAxLjE1Ni0uNjQuNjM5LTEuNzk0IDEuMTI0LTMuMTg3IDEuMzE4LS4wMy4wMDUtLjA2Mi4wMDgtLjA5My4wMTJhOC45MTcgOC45MTcgMCAwIDEtLjcyNS4wNjVsLS4xMi4wMDdhMTAuMTU0IDEwLjE1NCAwIDAgMS0uODk1LS4wMDNjLS4wOTgtLjAwNS0uMTkzLS4wMTMtLjI4OC0uMDItLjA1My0uMDA0LS4xMDYtLjAwNy0uMTU4LS4wMTJhOS4yNDcgOS4yNDcgMCAwIDEtLjM3Mi0uMDQzbC0uMDQ1LS4wMDZDMi41MTQgMTAuMjc4LjkyNiA5LjI4NS45MjYgOC4xMDFjMC0uNDE1LjE5Ni0uODA3LjU0My0xLjE1NC41MTEtLjUxMiAxLjM1Mi0uOTI0IDIuMzgtMS4xNjhWMy4xNjVjLS42NTYtLjMyMy0xLjA3LS43ODktMS4wNy0xLjMwOUMyLjc3OC44ODIgNC4yMjUuMDkyIDYuMDExLjA5MnMzLjIzNC43OSAzLjIzNCAxLjc2NXoiLz48L3N2Zz4=",size:[12,18]}};class bo extends eo{render({className:e}){return N("i",{className:Vi()(po.icon,e),style:this.style})}get style(){const{name:e,size:t,rotate:n}=this.props,r=go[e];if(!r)throw new TypeError(`Can't find "${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(${r.src})`,width:i+"px",height:o+"px",transform:n?`rotate(${n}deg)`:""}}}const vo=parseInt(co.toggleTime);class yo extends g{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=Vi()({[co.container]:!0,[co.pinned]:t,[co.left]:"left"===e,[co.hidden]:!r,[co.empty]:!i});return N("div",{ref:this.saveNode,className:o,onClick:this.handleClick,onMouseLeave:this.handleMouseLeave,children:[r&&N(no,{type:"button",title:"Pin",className:co.pinButton,active:t,toggle:!0,onClick:this.handlePinButtonClick,children:N(bo,{name:"pin",size:13})}),N(no,{type:"button",title:r?"Hide":"Show sidebar",className:co.toggleButton,onClick:this.handleToggleButtonClick,children:N(bo,{name:"arrow-right",size:10,rotate:r?180:0})}),t&&r&&N("div",{className:co.resizer,onMouseDown:this.handleResizeStart}),N("div",{className:co.content,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,children: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}),vo),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)}),vo))}updateNodeWidth(e=this.width){this.node.style.width=e?e+"px":""}}yo.defaultProps={pinned:!1,position:"left"};var mo=n(2396),Co={insert:"head",singleton:!1};qi()(mo.Z,Co);const xo=mo.Z.locals||{};class _o extends g{constructor(...e){super(...e),this.handleChange=()=>{this.props.onChange(!this.props.checked)}}render(){const{checked:e,className:t,children:n}=this.props;return N("label",{className:Vi()(xo.label,t),children:[N("input",{className:xo.checkbox,type:"checkbox",checked:e,onChange:this.handleChange}),N("span",{className:xo.itemText,children:n})]})}}var wo=n(3213),Ao={insert:"head",singleton:!1};qi()(wo.Z,Ao);const So=wo.Z.locals||{};class To extends g{constructor(...e){super(...e),this.handleChange=()=>{this.props.onChange(this.props.item)}}render(){return N("div",{className:So.item,children:N(_o,{...this.props,onChange:this.handleChange,children:this.renderLabel()})})}renderLabel(){const{children:e,item:t}=this.props;return e?e(t):t===ko.ALL_ITEM?"All":t.label}}const Mo=Symbol("ALL_ITEM");class ko extends eo{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 N("div",{className:So.container,children:[N("div",{className:So.label,children:[e,":"]}),N("div",{children:[N(To,{item:Mo,checked:this.isAllChecked(),onChange:this.handleToggleAllCheck,children:n}),t.map((e=>N(To,{item:e,checked:this.isItemChecked(e),onChange:this.handleItemCheck,children:n},e.label)))]})]})}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)))}}ko.ALL_ITEM=Mo;var zo=n(9270),jo={insert:"head",singleton:!1};qi()(zo.Z,jo);const Do=zo.Z.locals||{};function Lo(){return!1}function Bo({children:e,disabled:t,onClick:n}){return N("li",{className:Vi()({[Do.item]:!0,[Do.disabled]:t}),onClick:t?Lo:n,children:e})}var Eo=n(580),Oo={insert:"head",singleton:!1};qi()(Eo.Z,Oo);const Io=Eo.Z.locals||{};class No extends eo{constructor(...e){super(...e),this.handleClickHideChunk=()=>{const{chunk:e}=this.props;if(e&&e.label){const t=Gn.selectedChunks.filter((t=>t.label!==e.label));Gn.selectedChunks=t}this.hide()},this.handleClickFilterToChunk=()=>{const{chunk:e}=this.props;if(e&&e.label){const t=Gn.allChunks.filter((t=>t.label===e.label));Gn.selectedChunks=t}this.hide()},this.handleClickShowAllChunks=()=>{Gn.selectedChunks=Gn.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=Vi()({[Io.container]:!0,[Io.hidden]:!e}),n=Gn.selectedChunks.length>1;return N("ul",{ref:this.saveNode,className:t,style:this.getStyle(),children:[N(Bo,{disabled:!n,onClick:this.handleClickHideChunk,children:"Hide chunk"}),N(Bo,{disabled:!n,onClick:this.handleClickFilterToChunk,children:"Hide all other chunks"}),N("hr",{}),N(Bo,{disabled:Gn.allChunksSelected,onClick:this.handleClickShowAllChunks,children:"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 Po=n(2393),Fo={insert:"head",singleton:!1};qi()(Po.Z,Fo);const Ro=Po.Z.locals||{};var Go=n(3279),Uo=n.n(Go),Ho=n(9976),Vo={insert:"head",singleton:!1};qi()(Ho.Z,Vo);const Wo=Ho.Z.locals||{};class qo extends eo{constructor(...e){super(...e),this.handleValueChange=Uo()((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 N("div",{className:Wo.container,children:[N("div",{className:Wo.label,children:[e,":"]}),N("div",{className:Wo.row,children:[N("input",{ref:this.saveInputNode,className:Wo.input,type:"text",value:t,placeholder:"Enter regexp",onInput:this.handleValueChange,onBlur:this.handleInputBlur,onKeyDown:this.handleKeyDown}),N(no,{className:Wo.clear,onClick:this.handleClearClick,children:"x"})]})]})}focus(){this.input&&this.input.focus()}clear(){this.handleValueChange.cancel(),this.informChange(""),this.input.value=""}informChange(e){this.props.onQueryChange(e)}}var Zo=n(3784),Yo={insert:"head",singleton:!1};qi()(Zo.Z,Yo);const Ko=Zo.Z.locals||{};var $o=n(1700),Qo=n.n($o),Jo=n(7187),Xo=n.n(Jo),ea=n(3522),ta=n.n(ea),na=n(697),ra={insert:"head",singleton:!1};qi()(na.Z,ra);const ia=na.Z.locals||{};class oa extends eo{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 N("div",{className:Vi()(ia.container,ia[this.itemType],{[ia.invisible]:n}),title:n?this.invisibleHint:null,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,children:[N("span",{dangerouslySetInnerHTML:{__html:this.titleHtml}}),t&&[" (",N("strong",{children:qn()(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(`(?:${ta()(r)})+`,"iu");let i,o;do{o=i,i=t.exec(n)}while(i);o&&(e=Xo()(n.slice(0,o.index))+`${Xo()(o[0])}`+Xo()(n.slice(o.index+o[0].length)))}return e||(e=Xo()(n)),e}get invisibleHint(){return Qo()(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 aa extends eo{constructor(...e){super(...e),this.handleModuleClick=e=>this.props.onModuleClick(e)}render({modules:e,showSize:t,highlightedText:n,isModuleVisible:r,className:i}){return N("div",{className:Vi()(Ko.container,i),children:e.map((e=>N(oa,{module:e,showSize:t,highlightedText:n,isVisible:r,onClick:this.handleModuleClick},e.cid)))})}}var sa,ua;const la=[{label:"Stat",prop:"statSize"},{label:"Parsed",prop:"parsedSize"},{label:"Gzipped",prop:"gzipSize"}];let ca=Pi((F((ua=class extends g{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===ko.ALL_ITEM,n=t?"All":e.label,r=t?Gn.totalChunksSize:e[Gn.activeSize];return[n+" (",N("strong",{children:qn()(r)}),")"]},this.handleConcatenatedModulesContentToggle=e=>{Gn.showConcatenatedModulesContent=e,e?Dn.setItem("showConcatenatedModulesContent",!0):Dn.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=>{Gn.selectedSize=e.prop},this.handleQueryChange=e=>{Gn.searchQuery=e},this.handleSelectedChunksChange=e=>{Gn.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 N("div",{className:Ro.container,children:[N(yo,{pinned:n,onToggle:this.handleSidebarToggle,onPinStateChange:this.handleSidebarPinStateChange,onResize:this.handleSidebarResize,children:[N("div",{className:Ro.sidebarGroup,children:[N(so,{label:"Treemap sizes",items:this.sizeSwitchItems,activeItem:this.activeSizeItem,onSwitch:this.handleSizeSwitch}),Gn.hasConcatenatedModules&&N("div",{className:Ro.showOption,children:N(_o,{checked:Gn.showConcatenatedModulesContent,onChange:this.handleConcatenatedModulesContentToggle,children:"Show content of concatenated modules"+("statSize"===Gn.activeSize?"":" (inaccurate)")})})]}),N("div",{className:Ro.sidebarGroup,children:[N(qo,{label:"Search modules",query:Gn.searchQuery,autofocus:!0,onQueryChange:this.handleQueryChange}),N("div",{className:Ro.foundModulesInfo,children:this.foundModulesInfo}),Gn.isSearching&&Gn.hasFoundModules&&N("div",{className:Ro.foundModulesContainer,children:Gn.foundModulesByChunk.map((({chunk:e,modules:t})=>N("div",{className:Ro.foundModulesChunk,children:[N("div",{className:Ro.foundModulesChunkName,onClick:()=>this.treemap.zoomToGroup(e),children:e.label}),N(aa,{className:Ro.foundModulesList,modules:t,showSize:Gn.activeSize,highlightedText:Gn.searchQueryRegexp,isModuleVisible:this.isModuleVisible,onModuleClick:this.handleFoundModuleClick})]},e.cid)))})]}),this.chunkItems.length>1&&N("div",{className:Ro.sidebarGroup,children:N(ko,{label:"Show chunks",items:this.chunkItems,checkedItems:Gn.selectedChunks,renderLabel:this.renderChunkItemLabel,onChange:this.handleSelectedChunksChange})})]}),N(Gi,{ref:this.saveTreemapRef,className:Ro.map,data:Gn.visibleChunks,highlightGroups:this.highlightedModules,weightProp:Gn.activeSize,onMouseLeave:this.handleMouseLeaveTreemap,onGroupHover:this.handleTreemapGroupHover,onGroupSecondaryClick:this.handleTreemapGroupSecondaryClick,onResize:this.handleResize}),N($i,{visible:i,children:o}),N(No,{visible:r,chunk:e,coords:t,onHide:this.handleChunkContextMenuHide})]})}renderModuleSize(e,t){const n=t+"Size",r=e[n],i=la.find((e=>e.prop===n)).label,o=Gn.activeSize===n;return"number"==typeof r?N("div",{className:o?Ro.activeSize:"",children:[i," size: ",N("strong",{children:qn()(r)})]}):null}get sizeSwitchItems(){return Gn.hasParsedSizes?la:la.slice(0,1)}get activeSizeItem(){return this.sizeSwitchItems.find((e=>e.prop===Gn.activeSize))}get chunkItems(){const{allChunks:e,activeSize:t}=Gn;let n=[...e];return"statSize"!==t&&(n=n.filter(zn)),n.sort(((e,n)=>n[t]-e[t])),n}get highlightedModules(){return new Set(Gn.foundModules)}get foundModulesInfo(){return Gn.isSearching?Gn.hasFoundModules?[N("div",{className:Ro.foundModulesInfoItem,children:["Count: ",N("strong",{children:Gn.foundModules.length})]}),N("div",{className:Ro.foundModulesInfoItem,children:["Total size: ",N("strong",{children:qn()(Gn.foundModulesSize)})]})]:"Nothing found"+(Gn.allChunksSelected?"":" in selected chunks"):" "}getTooltipContent(e){return e?N("div",{children:[N("div",{children:N("strong",{children:e.label})}),N("br",{}),this.renderModuleSize(e,"stat"),!e.inaccurateSizes&&this.renderModuleSize(e,"parsed"),!e.inaccurateSizes&&this.renderModuleSize(e,"gzip"),e.path&&N("div",{children:["Path: ",N("strong",{children:e.path})]}),e.isAsset&&N("div",{children:[N("br",{}),N("strong",{children:N("em",{children:"Right-click to view options related to this chunk"})})]})]}):null}}).prototype,"sizeSwitchItems",[De],Object.getOwnPropertyDescriptor(ua.prototype,"sizeSwitchItems"),ua.prototype),F(ua.prototype,"activeSizeItem",[De],Object.getOwnPropertyDescriptor(ua.prototype,"activeSizeItem"),ua.prototype),F(ua.prototype,"chunkItems",[De],Object.getOwnPropertyDescriptor(ua.prototype,"chunkItems"),ua.prototype),F(ua.prototype,"highlightedModules",[De],Object.getOwnPropertyDescriptor(ua.prototype,"highlightedModules"),ua.prototype),F(ua.prototype,"foundModulesInfo",[De],Object.getOwnPropertyDescriptor(ua.prototype,"foundModulesInfo"),ua.prototype),sa=ua))||sa;var ha=n(1194),fa={insert:"head",singleton:!1};qi()(ha.Z,fa);ha.Z.locals;let da;try{window.enableWebSocket&&(da=new WebSocket("ws://"+location.host))}catch(pa){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",(()=>{Gn.defaultSize=window.defaultSizes+"Size",Gn.setModules(window.chartData),E(N(ca,{}),document.getElementById("app")),da&&da.addEventListener("message",(e=>{const t=JSON.parse(e.data);"chartDataUpdated"===t.event&&Gn.setModules(t.data)}))}),!1)})()})(); //# sourceMappingURL=viewer.js.map