webpack-bundle-analyzer 5.1.1 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -32
- package/lib/BundleAnalyzerPlugin.js +125 -37
- package/lib/Logger.js +70 -12
- package/lib/analyzer.js +249 -120
- package/lib/bin/analyzer.js +74 -50
- package/lib/index.js +2 -2
- package/lib/parseUtils.js +271 -162
- package/lib/sizeUtils.js +26 -7
- package/lib/statsUtils.js +38 -16
- package/lib/template.js +83 -36
- package/lib/tree/BaseFolder.js +84 -23
- package/lib/tree/ConcatenatedModule.js +80 -19
- package/lib/tree/ContentFolder.js +39 -6
- package/lib/tree/ContentModule.js +40 -8
- package/lib/tree/Folder.js +55 -15
- package/lib/tree/Module.js +74 -13
- package/lib/tree/Node.js +10 -3
- package/lib/tree/utils.js +14 -4
- package/lib/utils.js +52 -24
- package/lib/viewer.js +182 -78
- package/package.json +87 -78
- package/public/viewer.js +59 -8
- package/public/viewer.js.LICENSE.txt +20 -7
- package/public/viewer.js.map +1 -1
package/public/viewer.js
CHANGED
|
@@ -1,16 +1,67 @@
|
|
|
1
1
|
/*! For license information please see viewer.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e={2:(e,t,n)=>{var r=n(6926),o=n(9310);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.12.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},7:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".Button__button{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;display:inline-block;font:var(--main-font);outline:none;padding:5px 7px;transition:background .3s ease,border-color .3s ease,color .3s ease;white-space:nowrap}.Button__button:focus,.Button__button:hover{background:var(--hover-bg)}.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,4BAA6B,CAC7B,oCAAqC,CACrC,iBAAkB,CAQlB,yBAA0B,CAP1B,cAAe,CACf,oBAAqB,CACrB,qBAAsB,CACtB,YAAa,CACb,eAAgB,CAChB,mEAAsE,CACtE,kBAEF,CAEA,4CAEE,0BACF,CAEA,+BACE,iBAAmB,CACnB,UACF,CAEA,0BACE,cACF",sourcesContent:[".button {\n background: var(--bg-primary);\n border: 1px solid var(--border-color);\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, border-color .3s ease, color .3s ease;\n white-space: nowrap;\n color: var(--text-primary);\n}\n\n.button:focus,\n.button:hover {\n background: var(--hover-bg);\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},180:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());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},200:e=>{var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t(!1)||function(){return this}()||Function("return this")()},214:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".Switcher__container{font:var(--main-font);white-space:nowrap}.Switcher__label{font-size:11px;font-weight:700;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,iBAEE,cAAe,CADf,eAAiB,CAEjB,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},290:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},660:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());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},665:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},727:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".Sidebar__container{background:var(--bg-primary);border:none;border-right:1px solid var(--border-color);box-sizing:border-box;max-width:calc(50% - 10px);opacity:.95;transition:background-color .3s ease,border-color .3s ease;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__container .themeToggle{height:26px;left:15px;padding:0;position:absolute;top:10px;width:27px;z-index:10}.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,4BAA6B,CAC7B,WAAY,CACZ,0CAA2C,CAC3C,qBAAsB,CACtB,0BAA2B,CAC3B,WAAa,CAEb,0DAA8D,CAD9D,SAEF,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,iCAKE,WAAY,CAFZ,SAAU,CAIV,SAAU,CANV,iBAAkB,CAClB,QAAS,CAIT,UAAW,CAFX,UAIF,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: var(--bg-primary);\n border: none;\n border-right: 1px solid var(--border-color);\n box-sizing: border-box;\n max-width: calc(50% - 10px);\n opacity: 0.95;\n z-index: 1;\n transition: background-color 0.3s ease, border-color 0.3s ease;\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.container :global(.themeToggle) {\n position: absolute;\n top: 10px;\n left: 15px;\n z-index: 10;\n height: 26px;\n width: 27px;\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},874:(e,t,n)=>{var r=n(5335);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},1204:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".Dropdown__container{font:var(--main-font);white-space:nowrap}.Dropdown__label{font-size:11px;font-weight:700;margin-bottom:7px}.Dropdown__input{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);display:block;height:27px;transition:background-color .3s ease,border-color .3s ease,color .3s ease;width:100%}.Dropdown__option{cursor:pointer;padding:4px 0}","",{version:3,sources:["webpack://./client/components/Dropdown.css"],names:[],mappings:"AAAA,qBACE,qBAAsB,CACtB,kBACF,CAEA,iBACE,cAAe,CACf,eAAiB,CACjB,iBACF,CAEA,iBAOE,4BAA6B,CAN7B,oCAAqC,CACrC,iBAAkB,CAGlB,2BAA4B,CAF5B,aAAc,CAGd,WAAY,CAEZ,yEAA+E,CAJ/E,UAKF,CAEA,kBAEE,cAAe,CADf,aAEF",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.input {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n display: block;\n width: 100%;\n color: var(--text-secondary);\n height: 27px;\n background: var(--bg-primary);\n transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;\n}\n\n.option {\n padding: 4px 0;\n cursor: pointer;\n}\n"],sourceRoot:""}]),a.locals={container:"Dropdown__container",label:"Dropdown__label",input:"Dropdown__input",option:"Dropdown__option"};const s=a},1229:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},1332:(e,t,n)=>{var r=n(3938),o=n(9868);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){throw o(e),a}}},1339:(e,t,n)=>{"use strict";var r=n(1605),o=n(9085),i=n(3938),a=n(1523),s=n(1332),u=a((function(e){var t=this.iterator,n=i(this.next.call(t,e));if(!(this.done=!!n.done))return s(t,this.mapper,n.value)}));r({target:"Iterator",proto:!0,real:!0},{map:function(e){return new u({iterator:i(this),mapper:o(e)})}})},1523:(e,t,n)=>{"use strict";var r=n(9720),o=n(9085),i=n(3938),a=n(3105),s=n(7712),u=n(3075),l=n(1602),c=n(9206),h=c.set,f=c.get,d=l("toStringTag"),p=function(e){var t=f(this).iterator,n=t.return;return void 0===n?{done:!0,value:e}:i(n.call(t,e))},g=function(e){var t=f(this).iterator,n=t.throw;if(void 0===n)throw e;return n.call(t,e)};e.exports=function(e,t){var n=function(e){e.next=o(e.iterator.next),e.done=!1,h(this,e)};return n.prototype=u(a(r.Iterator.prototype),{next:function(){var t=f(this),n=t.done?void 0:e.apply(t,arguments);return{done:t.done,value:n}},return:p,throw:g}),t||s(n.prototype,d,"Generator"),n}},1602:(e,t,n)=>{var r=n(200),o=n(2),i=n(1883),a=n(665),s=n(1849),u=n(5225),l=o("wks"),c=r.Symbol,h=u?c:c&&c.withoutSetter||a;e.exports=function(e){return i(l,e)&&(s||"string"==typeof l[e])||(s&&i(c,e)?l[e]=c[e]:l[e]=h("Symbol."+e)),l[e]}},1605:(e,t,n)=>{var r=n(200),o=n(7632).f,i=n(7712),a=n(7485),s=n(5975),u=n(4361),l=n(4977);e.exports=function(e,t){var n,c,h,f,d,p=e.target,g=e.global,b=e.stat;if(n=g?r:b?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in t){if(f=t[c],h=e.noTargetGet?(d=o(n,c))&&d.value:n[c],!l(g?c:p+(b?".":"#")+c,e.forced)&&void 0!==h){if(typeof f==typeof h)continue;u(f,h)}(e.sham||h&&h.sham)&&i(f,"sham",!0),a(n,c,f,e)}}},1641:(e,t,n)=>{var r=n(6347),o=n(290);e.exports=Object.keys||function(e){return r(e,o)}},1849:(e,t,n)=>{var r=n(6845),o=n(2074);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())||!Symbol.sham&&r&&r<41}))},1883:(e,t,n)=>{var r=n(2612),o={}.hasOwnProperty;e.exports=function(e,t){return o.call(r(e),t)}},1898:(e,t,n)=>{var r=n(3062),o=n(2228),i=n(1602)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},1965:function(e){e.exports=function(){"use strict";var e=/^(b|B)$/,t={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"]}},n={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]},r={floor:Math.floor,ceil:Math.ceil};function o(o){var i,a,s,u,l,c,h,f,d,p,g,b,v,m,y,C,A,x,w,_,S=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},M=[],T=0;if(isNaN(o))throw new TypeError("Invalid number");if(s=!0===S.bits,y=!0===S.unix,b=!0===S.pad,a=S.base||2,v=void 0!==S.round?S.round:y?1:2,h=void 0!==S.locale?S.locale:"",f=S.localeOptions||{},C=void 0!==S.separator?S.separator:"",A=void 0!==S.spacer?S.spacer:y?"":" ",w=S.symbols||{},x=2===a&&S.standard||"jedec",g=S.output||"string",l=!0===S.fullform,c=S.fullforms instanceof Array?S.fullforms:[],i=void 0!==S.exponent?S.exponent:-1,_=r[S.roundingMethod]||Math.round,u=a>2?1e3:1024,(d=(p=Number(o))<0)&&(p=-p),(-1===i||isNaN(i))&&(i=Math.floor(Math.log(p)/Math.log(u)))<0&&(i=0),i>8&&(i=8),"exponent"===g)return i;if(0===p)M[0]=0,m=M[1]=y?"":t[x][s?"bits":"bytes"][i];else{T=p/(2===a?Math.pow(2,10*i):Math.pow(1e3,i)),s&&(T*=8)>=u&&i<8&&(T/=u,i++);var k=Math.pow(10,i>0?v:0);M[0]=_(T*k)/k,M[0]===u&&i<8&&void 0===S.exponent&&(M[0]=1,i++),m=M[1]=10===a&&1===i?s?"kb":"kB":t[x][s?"bits":"bytes"][i],y&&(M[1]="jedec"===x?M[1].charAt(0):i>0?M[1].replace(/B$/,""):M[1],e.test(M[1])&&(M[0]=Math.floor(M[0]),M[1]=""))}if(d&&(M[0]=-M[0]),M[1]=w[M[1]]||M[1],!0===h?M[0]=M[0].toLocaleString():h.length>0?M[0]=M[0].toLocaleString(h,f):C.length>0&&(M[0]=M[0].toString().replace(".",C)),b&&!1===Number.isInteger(M[0])&&v>0){var z=C||".",B=M[0].toString().split(z),D=B[1]||"",E=D.length,j=v-E;M[0]="".concat(B[0]).concat(z).concat(D.padEnd(E+j,"0"))}return l&&(M[1]=c[i]?c[i]:n[x][i]+(s?"bit":"byte")+(1===M[0]?"":"s")),"array"===g?M:"object"===g?{value:M[0],symbol:M[1],exponent:i,unit:m}:M.join(A)}return o.partial=function(e){return function(t){return o(t,e)}},o}()},2074:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},2228:e=>{e.exports={}},2230:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());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{color:grey;cursor:default}.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,2BAEE,UAAW,CADX,cAEF,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},2284:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".ThemeToggle__themeToggle{align-items:center;background:transparent;border:none;border-radius:4px;cursor:pointer;display:flex;justify-content:center;padding:8px;transition:background-color .2s ease}.ThemeToggle__themeToggle:hover{background:rgba(0,0,0,.1)}[data-theme=dark] .ThemeToggle__themeToggle:hover{background:hsla(0,0%,100%,.1)}","",{version:3,sources:["webpack://./client/components/ThemeToggle.css"],names:[],mappings:"AAAA,0BAME,kBAAmB,CALnB,sBAAuB,CACvB,WAAY,CAMZ,iBAAkB,CALlB,cAAe,CAEf,YAAa,CAEb,sBAAuB,CAHvB,WAAY,CAKZ,oCACF,CAEA,gCACE,yBACF,CAEA,kDACE,6BACF",sourcesContent:['.themeToggle {\n background: transparent;\n border: none;\n cursor: pointer;\n padding: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n transition: background-color 0.2s ease;\n}\n\n.themeToggle:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n[data-theme="dark"] .themeToggle:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n'],sourceRoot:""}]),a.locals={themeToggle:"ThemeToggle__themeToggle"};const s=a},2376:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".Icon__icon{background:no-repeat 50%/contain;display:inline-block;filter:invert(0)}[data-theme=dark] .Icon__icon{filter:invert(1)}","",{version:3,sources:["webpack://./client/components/Icon.css"],names:[],mappings:"AAAA,YACE,gCAAoC,CACpC,oBAAqB,CACrB,gBACF,CAEA,8BACE,gBACF",sourcesContent:['.icon {\n background: no-repeat center/contain;\n display: inline-block;\n filter: invert(0);\n}\n\n[data-theme="dark"] .icon {\n filter: invert(1);\n}\n'],sourceRoot:""}]),a.locals={icon:"Icon__icon"};const s=a},2382:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwdjExLjI1YzAgLjQxNC4zMzYuNzUuNzUuNzVoMTAuNWEuNzUuNzUgMCAwIDAgLjc1LS43NVYwSDB6IiBmaWxsPSIjRkM2IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNMCAwcy4xNTYgMyAxLjEyNSAzaDkuNzVDMTEuODQ1IDMgMTIgMCAxMiAwSDB6IiBmaWxsPSIjQ0NBMzUyIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNi43NSAxLjVoLS4zNzVMNiAyLjVsLS4zNzUtMUg1LjI1TDUuODEzIDMgNS4yNSA0LjVoLjM3NUw2IDMuNWwuMzc1IDFoLjM3NUw2LjE4NyAzeiIgZmlsbD0iIzk5N0EzRCIvPjxjaXJjbGUgY3g9Ii43NSIgY3k9Ii43NSIgcj0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4yNSAzLjc1KSIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PGNpcmNsZSBjeD0iLjc1IiBjeT0iLjc1IiByPSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1LjI1IC43NSkiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4="},2485:(e,t)=>{var n;
|
|
2
|
+
(()=>{var e={7(e,t,n){"use strict";n.d(t,{Ay:()=>l,vu:()=>u,x6:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,".Button__button{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;display:inline-block;font:var(--main-font);outline:none;padding:5px 7px;transition:background .3s ease,border-color .3s ease,color .3s ease;white-space:nowrap}.Button__button:focus,.Button__button:hover{background:var(--hover-bg)}.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,4BAA6B,CAC7B,oCAAqC,CACrC,iBAAkB,CAWlB,yBAA0B,CAV1B,cAAe,CACf,oBAAqB,CACrB,qBAAsB,CACtB,YAAa,CACb,eAAgB,CAChB,mEAGiB,CACjB,kBAEF,CAEA,4CAEE,0BACF,CAEA,+BACE,iBAAmB,CACnB,UACF,CAEA,0BACE,cACF",sourcesContent:[".button {\n background: var(--bg-primary);\n border: 1px solid var(--border-color);\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:\n background 0.3s ease,\n border-color 0.3s ease,\n color 0.3s ease;\n white-space: nowrap;\n color: var(--text-primary);\n}\n\n.button:focus,\n.button:hover {\n background: var(--hover-bg);\n}\n\n.button.active {\n background: #ffa500;\n color: #000;\n}\n\n.button[disabled] {\n cursor: default;\n}\n"],sourceRoot:""}]);var s="Button__button",u="Button__active";const l=a},480(e,t,n){"use strict";n.d(t,{Ay:()=>c,Pf:()=>s,kv:()=>u,rv:()=>l});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());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:""}]);var s="Checkbox__label",u="Checkbox__checkbox",l="Checkbox__itemText";const c=a},660(e,t,n){"use strict";n.d(t,{AS:()=>l,Ay:()=>c,Pf:()=>u,kL:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());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:""}]);var s="CheckboxList__container",u="CheckboxList__label",l="CheckboxList__item";const c=a},831(e,t,n){"use strict";n.d(t,{Ay:()=>l,R:()=>u,kL:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,".ContextMenu__container{background:#fff;border:1px solid #aaa;border-radius:4px;font:var(--main-font);list-style:none;opacity:1;padding:0;position:absolute;transition:opacity .2s ease,visibility .2s ease;visibility:visible;white-space:nowrap}.ContextMenu__hidden{opacity:0;visibility:hidden}","",{version:3,sources:["webpack://./client/components/ContextMenu.css"],names:[],mappings:"AAAA,wBAKE,eAAgB,CAChB,qBAAsB,CAFtB,iBAAkB,CAHlB,qBAAsB,CAMtB,eAAgB,CAChB,SAAU,CALV,SAAU,CADV,iBAAkB,CASlB,+CAEsB,CAHtB,kBAAmB,CADnB,kBAKF,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:\n opacity 0.2s ease,\n visibility 0.2s ease;\n}\n\n.hidden {\n opacity: 0;\n visibility: hidden;\n}\n"],sourceRoot:""}]);var s="ContextMenu__container",u="ContextMenu__hidden";const l=a},230(e,t,n){"use strict";n.d(t,{AS:()=>s,Ay:()=>l,r9:()=>u});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());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{color:gray;cursor:default}.ContextMenuItem__item.ContextMenuItem__disabled:hover{background:#0000}","",{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,2BAEE,UAAW,CADX,cAEF,CAEA,uDACE,gBACF",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:""}]);var s="ContextMenuItem__item",u="ContextMenuItem__disabled";const l=a},204(e,t,n){"use strict";n.d(t,{Ay:()=>h,Pf:()=>u,hF:()=>l,kL:()=>s,uK:()=>c});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,".Dropdown__container{font:var(--main-font);white-space:nowrap}.Dropdown__label{font-size:11px;font-weight:700;margin-bottom:7px}.Dropdown__input{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);display:block;height:27px;transition:background-color .3s ease,border-color .3s ease,color .3s ease;width:100%}.Dropdown__option{cursor:pointer;padding:4px 0}","",{version:3,sources:["webpack://./client/components/Dropdown.css"],names:[],mappings:"AAAA,qBACE,qBAAsB,CACtB,kBACF,CAEA,iBACE,cAAe,CACf,eAAiB,CACjB,iBACF,CAEA,iBAOE,4BAA6B,CAN7B,oCAAqC,CACrC,iBAAkB,CAGlB,2BAA4B,CAF5B,aAAc,CAGd,WAAY,CAEZ,yEAGiB,CAPjB,UAQF,CAEA,kBAEE,cAAe,CADf,aAEF",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.input {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n display: block;\n width: 100%;\n color: var(--text-secondary);\n height: 27px;\n background: var(--bg-primary);\n transition:\n background-color 0.3s ease,\n border-color 0.3s ease,\n color 0.3s ease;\n}\n\n.option {\n padding: 4px 0;\n cursor: pointer;\n}\n"],sourceRoot:""}]);var s="Dropdown__container",u="Dropdown__label",l="Dropdown__input",c="Dropdown__option";const h=a},376(e,t,n){"use strict";n.d(t,{A:()=>u,K:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,".Icon__icon{background:no-repeat 50%/contain;display:inline-block;filter:invert(0)}[data-theme=dark] .Icon__icon{filter:invert(1)}","",{version:3,sources:["webpack://./client/components/Icon.css"],names:[],mappings:"AAAA,YACE,gCAAoC,CACpC,oBAAqB,CACrB,gBACF,CAEA,8BACE,gBACF",sourcesContent:['.icon {\n background: no-repeat center/contain;\n display: inline-block;\n filter: invert(0);\n}\n\n[data-theme="dark"] .icon {\n filter: invert(1);\n}\n'],sourceRoot:""}]);var s="Icon__icon";const u=a},410(e,t,n){"use strict";n.d(t,{Ay:()=>x,TV:()=>y,iv:()=>C,kL:()=>m,q4:()=>A,xG:()=>_});var i=n(354),r=n.n(i),o=n(314),a=n.n(o),s=n(417),u=n.n(s),l=new URL(n(90),n.b),c=new URL(n(46),n.b),h=new URL(n(501),n.b),f=new URL(n(995),n.b),d=a()(r()),p=u()(l),v=u()(c),g=u()(h),b=u()(f);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(${v})}.ModuleItem__container.ModuleItem__chunk{background-image:url(${g})}.ModuleItem__container.ModuleItem__invisible:hover:before{background:url(${b}) no-repeat 0;content:"";height:100%;left:0;position:absolute;top:1px;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,CAEP,iBAAkB,CADlB,OAAQ,CAER,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:""}]);var m="ModuleItem__container",_="ModuleItem__module",y="ModuleItem__folder",C="ModuleItem__chunk",A="ModuleItem__invisible";const x=d},180(e,t,n){"use strict";n.d(t,{A:()=>u,k:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());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:""}]);var s="ModulesList__container";const u=a},380(e,t,n){"use strict";n.d(t,{Ay:()=>m,D7:()=>c,DB:()=>v,Nr:()=>p,ON:()=>h,Qb:()=>b,Tj:()=>u,Us:()=>l,Xi:()=>d,as:()=>f,kL:()=>s,oE:()=>g});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());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:""}]);var s="ModulesTreemap__container",u="ModulesTreemap__map",l="ModulesTreemap__sidebarGroup",c="ModulesTreemap__showOption",h="ModulesTreemap__activeSize",f="ModulesTreemap__foundModulesInfo",d="ModulesTreemap__foundModulesInfoItem",p="ModulesTreemap__foundModulesContainer",v="ModulesTreemap__foundModulesChunk",g="ModulesTreemap__foundModulesChunkName",b="ModulesTreemap__foundModulesList";const m=a},607(e,t,n){"use strict";n.d(t,{Ay:()=>f,IU:()=>h,Pf:()=>u,hF:()=>c,kL:()=>s,nM:()=>l});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());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{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);display:block;flex:1;padding:5px;transition:background-color .3s ease,color .3s ease,border-color .3s ease}.Search__input:focus{border-color:var(--text-secondary);outline:none}.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,eAME,4BAA6B,CAL7B,oCAAqC,CACrC,iBAAkB,CAKlB,yBAA0B,CAJ1B,aAAc,CACd,MAAO,CACP,WAAY,CAGZ,yEAIF,CAEA,qBAEE,kCAAmC,CADnC,YAEF,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 var(--border-color);\n border-radius: 4px;\n display: block;\n flex: 1;\n padding: 5px;\n background: var(--bg-primary);\n color: var(--text-primary);\n transition:\n background-color 0.3s ease,\n color 0.3s ease,\n border-color 0.3s ease;\n}\n\n.input:focus {\n outline: none;\n border-color: var(--text-secondary);\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:""}]);var s="Search__container",u="Search__label",l="Search__row",c="Search__input",h="Search__clear";const f=a},727(e,t,n){"use strict";n.d(t,{Ay:()=>b,Ie:()=>d,Qs:()=>f,R:()=>l,Rm:()=>v,Yf:()=>p,_C:()=>s,dp:()=>c,kL:()=>u,kb:()=>h,tS:()=>g});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,".Sidebar__container{background:var(--bg-primary);border:none;border-right:1px solid var(--border-color);box-sizing:border-box;max-width:calc(50% - 10px);opacity:.95;transition:background-color .3s ease,border-color .3s ease;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__container .themeToggle{height:26px;left:15px;padding:0;position:absolute;top:10px;width:27px;z-index:10}.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:"AAAA,oBACE,4BAA6B,CAC7B,WAAY,CACZ,0CAA2C,CAC3C,qBAAsB,CACtB,0BAA2B,CAC3B,WAAa,CAEb,0DAEwB,CAHxB,SAIF,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,iCAKE,WAAY,CAFZ,SAAU,CAIV,SAAU,CANV,iBAAkB,CAClB,QAAS,CAIT,UAAW,CAFX,UAIF,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:[".container {\n background: var(--bg-primary);\n border: none;\n border-right: 1px solid var(--border-color);\n box-sizing: border-box;\n max-width: calc(50% - 10px);\n opacity: 0.95;\n z-index: 1;\n transition:\n background-color 0.3s ease,\n border-color 0.3s ease;\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 200ms 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.container :global(.themeToggle) {\n position: absolute;\n top: 10px;\n left: 15px;\n z-index: 10;\n height: 26px;\n width: 27px;\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 0.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\n:export {\n toggleTime: 200ms;\n}\n"],sourceRoot:""}]);var s=".2s",u="Sidebar__container",l="Sidebar__hidden",c="Sidebar__pinned",h="Sidebar__left",f="Sidebar__content",d="Sidebar__empty",p="Sidebar__pinButton",v="Sidebar__toggleButton",g="Sidebar__resizer";const b=a},214(e,t,n){"use strict";n.d(t,{AS:()=>l,Ay:()=>c,Pf:()=>u,kL:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,".Switcher__container{font:var(--main-font);white-space:nowrap}.Switcher__label{font-size:11px;font-weight:700;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,iBAEE,cAAe,CADf,eAAiB,CAEjB,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:""}]);var s="Switcher__container",u="Switcher__label",l="Switcher__item";const c=a},284(e,t,n){"use strict";n.d(t,{A:()=>u,y:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,".ThemeToggle__themeToggle{align-items:center;background:#0000;border:none;border-radius:4px;cursor:pointer;display:flex;justify-content:center;padding:8px;transition:background-color .2s ease}.ThemeToggle__themeToggle:hover{background:#0000001a}[data-theme=dark] .ThemeToggle__themeToggle:hover{background:#ffffff1a}","",{version:3,sources:["webpack://./client/components/ThemeToggle.css"],names:[],mappings:"AAAA,0BAME,kBAAmB,CALnB,gBAAuB,CACvB,WAAY,CAMZ,iBAAkB,CALlB,cAAe,CAEf,YAAa,CAEb,sBAAuB,CAHvB,WAAY,CAKZ,oCACF,CAEA,gCACE,oBACF,CAEA,kDACE,oBACF",sourcesContent:['.themeToggle {\n background: transparent;\n border: none;\n cursor: pointer;\n padding: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n transition: background-color 0.2s ease;\n}\n\n.themeToggle:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n[data-theme="dark"] .themeToggle:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n'],sourceRoot:""}]);var s="ThemeToggle__themeToggle";const u=a},630(e,t,n){"use strict";n.d(t,{Ay:()=>l,R:()=>u,kL:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,".Tooltip__container{background:#fff;border:1px solid #aaa;border-radius:4px;font:var(--main-font);opacity:.9;padding:5px 10px;position:absolute;transition:opacity .2s ease,visibility .2s ease;visibility:visible;white-space:nowrap}.Tooltip__hidden{opacity:0;visibility:hidden}html[data-theme=dark] .Tooltip__container{background:var(--bg-primary);border:1px solid var(--border-color);color:var(--text-primary)}","",{version:3,sources:["webpack://./client/components/Tooltip.css"],names:[],mappings:"AAAA,oBAKE,eAAgB,CAChB,qBAAsB,CAFtB,iBAAkB,CAHlB,qBAAsB,CAMtB,UAAY,CAJZ,gBAAiB,CADjB,iBAAkB,CAQlB,+CAEsB,CAHtB,kBAAmB,CADnB,kBAKF,CAEA,iBACE,SAAU,CACV,iBACF,CAEA,0CACE,4BAA6B,CAE7B,oCAAqC,CADrC,yBAEF",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:\n opacity 0.2s ease,\n visibility 0.2s ease;\n}\n\n.hidden {\n opacity: 0;\n visibility: hidden;\n}\n\n:global(html[data-theme="dark"]) .container {\n background: var(--bg-primary);\n color: var(--text-primary);\n border: 1px solid var(--border-color);\n}\n'],sourceRoot:""}]);var s="Tooltip__container",u="Tooltip__hidden";const l=a},99(e,t,n){"use strict";n.d(t,{A:()=>s});var i=n(354),r=n.n(i),o=n(314),a=n.n(o)()(r());a.push([e.id,":root{--main-font:normal 11px Verdana,sans-serif;--bg-primary:#fff;--bg-secondary:#f5f5f5;--text-primary:#000;--text-secondary:#666;--border-color:#aaa;--border-light:#ddd;--shadow:#0000001a;--hover-bg:#0000000d}[data-theme=dark]{--bg-primary:#1e1e1e;--bg-secondary:#252525;--text-primary:#e0e0e0;--text-secondary:#a0a0a0;--border-color:#404040;--border-light:#333;--shadow:#0000004d;--hover-bg:#ffffff0d}#app,body,html{background:var(--bg-primary);color:var(--text-primary);height:100%;margin:0;overflow:hidden;padding:0;transition:background-color .3s ease,color .3s ease;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,0CAA4C,CAC5C,iBAAkB,CAClB,sBAAuB,CACvB,mBAAoB,CACpB,qBAAsB,CACtB,mBAAoB,CACpB,mBAAoB,CACpB,kBAA4B,CAC5B,oBACF,CAEA,kBACE,oBAAqB,CACrB,sBAAuB,CACvB,sBAAuB,CACvB,wBAAyB,CACzB,sBAAuB,CACvB,mBAAoB,CACpB,kBAA4B,CAC5B,oBACF,CAEA,eAQE,4BAA6B,CAC7B,yBAA0B,CAN1B,WAAY,CACZ,QAAS,CACT,eAAgB,CAChB,SAAU,CAIV,mDAEiB,CALjB,UAMF,CAEA,cACE,kCAA4B,CAA5B,0BACF,CAEA,gBACE,mBACF,CAEA,kBACE,2BACF",sourcesContent:[':root {\n --main-font: normal 11px Verdana, sans-serif;\n --bg-primary: #fff;\n --bg-secondary: #f5f5f5;\n --text-primary: #000;\n --text-secondary: #666;\n --border-color: #aaa;\n --border-light: #ddd;\n --shadow: rgba(0, 0, 0, 0.1);\n --hover-bg: rgba(0, 0, 0, 0.05);\n}\n\n[data-theme="dark"] {\n --bg-primary: #1e1e1e;\n --bg-secondary: #252525;\n --text-primary: #e0e0e0;\n --text-secondary: #a0a0a0;\n --border-color: #404040;\n --border-light: #333;\n --shadow: rgba(0, 0, 0, 0.3);\n --hover-bg: rgba(255, 255, 255, 0.05);\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 background: var(--bg-primary);\n color: var(--text-primary);\n transition:\n background-color 0.3s ease,\n color 0.3s ease;\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},314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);i&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},417(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},354(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),o="/*# ".concat(r," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},299(e,t,n){"use strict";n.r(t),n.d(t,{Children:()=>$,Component:()=>s.uA,Fragment:()=>s.FK,PureComponent:()=>H,StrictMode:()=>Ne,Suspense:()=>ne,SuspenseList:()=>oe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Te,cloneElement:()=>je,createContext:()=>s.q6,createElement:()=>s.n,createFactory:()=>ze,createPortal:()=>le,createRef:()=>s._3,default:()=>Fe,findDOMNode:()=>Oe,flushSync:()=>Pe,forwardRef:()=>Z,hydrate:()=>be,isElement:()=>Re,isFragment:()=>De,isMemo:()=>Ee,isValidElement:()=>Be,lazy:()=>re,memo:()=>W,render:()=>ge,startTransition:()=>G,unmountComponentAtNode:()=>Le,unstable_batchedUpdates:()=>Ie,useCallback:()=>S,useContext:()=>M,useDebugValue:()=>T,useDeferredValue:()=>q,useEffect:()=>y,useErrorBoundary:()=>k,useId:()=>z,useImperativeHandle:()=>x,useInsertionEffect:()=>V,useLayoutEffect:()=>C,useMemo:()=>w,useReducer:()=>_,useRef:()=>A,useState:()=>m,useSyncExternalStore:()=>R,useTransition:()=>U,version:()=>ke});var i,r,o,a,s=n(172),u=0,l=[],c=s.fF,h=c.__b,f=c.__r,d=c.diffed,p=c.__c,v=c.unmount,g=c.__;function b(e,t){c.__h&&c.__h(r,e,u||t),u=0;var n=r.__H||(r.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function m(e){return u=1,_(I,e)}function _(e,t,n){var o=b(i++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):I(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.__f)){var a=function(e,t,n){if(!o.__c.__H)return!0;var i=o.__c.__H.__.filter(function(e){return!!e.__c});if(i.every(function(e){return!e.__N}))return!s||s.call(this,e,t,n);var r=o.__c.props!==e;return i.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(r=!0)}}),s&&s.call(this,e,t,n)||r};r.__f=!0;var s=r.shouldComponentUpdate,u=r.componentWillUpdate;r.componentWillUpdate=function(e,t,n){if(this.__e){var i=s;s=void 0,a(e,t,n),s=i}u&&u.call(this,e,t,n)},r.shouldComponentUpdate=a}return o.__N||o.__}function y(e,t){var n=b(i++,3);!c.__s&&O(n.__H,t)&&(n.__=e,n.u=t,r.__H.__h.push(n))}function C(e,t){var n=b(i++,4);!c.__s&&O(n.__H,t)&&(n.__=e,n.u=t,r.__h.push(n))}function A(e){return u=5,w(function(){return{current:e}},[])}function x(e,t,n){u=6,C(function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}},null==n?n:n.concat(e))}function w(e,t){var n=b(i++,7);return O(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function S(e,t){return u=8,w(function(){return e},t)}function M(e){var t=r.context[e.__c],n=b(i++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(r)),t.props.value):e.__}function T(e,t){c.useDebugValue&&c.useDebugValue(t?t(e):e)}function k(e){var t=b(i++,10),n=m();return t.__=e,r.componentDidCatch||(r.componentDidCatch=function(e,i){t.__&&t.__(e,i),n[1](e)}),[n[0],function(){n[1](void 0)}]}function z(){var e=b(i++,11);if(!e.__){for(var t=r.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function B(){for(var e;e=l.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(j),e.__H.__h.forEach(L),e.__H.__h=[]}catch(i){e.__H.__h=[],c.__e(i,e.__v)}}c.__b=function(e){r=null,h&&h(e)},c.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),g&&g(e,t)},c.__r=function(e){f&&f(e),i=0;var t=(r=e.__c).__H;t&&(o===r?(t.__h=[],r.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.forEach(j),t.__h.forEach(L),t.__h=[],i=0)),o=r},c.diffed=function(e){d&&d(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&a===c.requestAnimationFrame||((a=c.requestAnimationFrame)||E)(B)),t.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),o=r=null},c.__c=function(e,t){t.some(function(e){try{e.__h.forEach(j),e.__h=e.__h.filter(function(e){return!e.__||L(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],c.__e(r,e.__v)}}),p&&p(e,t)},c.unmount=function(e){v&&v(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{j(e)}catch(e){t=e}}),n.__H=void 0,t&&c.__e(t,n.__v))};var D="function"==typeof requestAnimationFrame;function E(e){var t,n=function(){clearTimeout(i),D&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,35);D&&(t=requestAnimationFrame(n))}function j(e){var t=r,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),r=t}function L(e){var t=r;e.__c=e.__(),r=t}function O(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function I(e,t){return"function"==typeof t?t(e):t}function P(e,t){for(var n in t)e[n]=t[n];return e}function N(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function R(e,t){var n=t(),i=m({t:{__:n,u:t}}),r=i[0].t,o=i[1];return C(function(){r.__=n,r.u=t,F(r)&&o({t:r})},[e,n,t]),y(function(){return F(r)&&o({t:r}),e(function(){F(r)&&o({t:r})})},[e]),n}function F(e){var t,n,i=e.u,r=e.__;try{var o=i();return!((t=r)===(n=o)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}function G(e){e()}function q(e){return e}function U(){return[!1,G]}var V=C;function H(e,t){this.props=e,this.context=t}function W(e,t){function n(e){var n=this.props.ref,i=n==e.ref;return!i&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!i:N(this.props,e)}function i(t){return this.shouldComponentUpdate=n,(0,s.n)(e,t)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i.type=e,i}(H.prototype=new s.uA).isPureReactComponent=!0,H.prototype.shouldComponentUpdate=function(e,t){return N(this.props,e)||N(this.state,t)};var K=s.fF.__b;s.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),K&&K(e)};var Y="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Z(e){function t(t){var n=P({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Y,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var X=function(e,t){return null==e?null:(0,s.v2)((0,s.v2)(e).map(t))},$={map:X,forEach:X,count:function(e){return e?(0,s.v2)(e).length:0},only:function(e){var t=(0,s.v2)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:s.v2},Q=s.fF.__e;s.fF.__e=function(e,t,n,i){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);Q(e,t,n,i)};var J=s.fF.unmount;function ee(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=P({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return ee(e,t,n)})),e}function te(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return te(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function ne(){this.__u=0,this.o=null,this.__b=null}function ie(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function re(e){var t,n,i,r=null;function o(o){if(t||(t=e()).then(function(e){e&&(r=e.default||e),i=!0},function(e){n=e,i=!0}),n)throw n;if(!i)throw t;return r?(0,s.n)(r,o):null}return o.displayName="Lazy",o.__f=!0,o}function oe(){this.i=null,this.l=null}s.fF.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),J&&J(e)},(ne.prototype=new s.uA).__c=function(e,t){var n=t.__c,i=this;null==i.o&&(i.o=[]),i.o.push(n);var r=ie(i.__v),o=!1,a=function(){o||i.__z||(o=!0,n.__R=null,r?r(u):u())};n.__R=a;var s=n.__P;n.__P=null;var u=function(){if(! --i.__u){if(i.state.__a){var e=i.state.__a;i.__v.__k[0]=te(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__a:i.__b=null});t=i.o.pop();)t.__P=s,t.forceUpdate()}};i.__u++||32&t.__u||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(a,a)},ne.prototype.componentWillUnmount=function(){this.o=[]},ne.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=ee(this.__b,n,i.__O=i.__P)}this.__b=null}var r=t.__a&&(0,s.n)(s.FK,null,e.fallback);return r&&(r.__u&=-33),[(0,s.n)(s.FK,null,t.__a?null:e.children),r]};var ae=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function se(e){return this.getChildContext=function(){return e.context},e.children}function ue(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){(0,s.XX)(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var i=t.__v;null!==i&&!i.__m&&null!==i.__;)i=i.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:i.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}(0,s.XX)((0,s.n)(se,{context:t.context},e.__v),t.v)}function le(e,t){var n=(0,s.n)(ue,{__v:e,h:t});return n.containerInfo=t,n}(oe.prototype=new s.uA).__a=function(e){var t=this,n=ie(t.__v),i=t.l.get(e);return i[0]++,function(r){var o=function(){t.props.revealOrder?(i.push(r),ae(t,e,i)):r()};n?n(o):o()}},oe.prototype.render=function(e){this.i=null,this.l=new Map;var t=(0,s.v2)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},oe.prototype.componentDidUpdate=oe.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){ae(e,n,t)})};var ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,he=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,fe=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,de=/[A-Z0-9]/g,pe="undefined"!=typeof document,ve=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function ge(e,t,n){return null==t.__k&&(t.textContent=""),(0,s.XX)(e,t),"function"==typeof n&&n(),e?e.__c:null}function be(e,t,n){return(0,s.Qv)(e,t),"function"==typeof n&&n(),e?e.__c:null}s.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(s.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var me=s.fF.event;function _e(){}function ye(){return this.cancelBubble}function Ce(){return this.defaultPrevented}s.fF.event=function(e){return me&&(e=me(e)),e.persist=_e,e.isPropagationStopped=ye,e.isDefaultPrevented=Ce,e.nativeEvent=e};var Ae,xe={enumerable:!1,configurable:!0,get:function(){return this.class}},we=s.fF.vnode;s.fF.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,i={},r=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||pe&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var u=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===u&&"no"===a?a=!1:"o"===u[0]&&"n"===u[1]?"ondoubleclick"===u?o="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||ve(t.type)?"onfocus"===u?o="onfocusin":"onblur"===u?o="onfocusout":fe.test(o)&&(o=u):u=o="oninput":r&&he.test(o)?o=o.replace(de,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===u&&i[o=u]&&(o="oninputCapture"),i[o]=a}}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=(0,s.v2)(t.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==n&&null!=i.defaultValue&&(i.value=(0,s.v2)(t.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),t.class&&!t.className?(i.class=t.class,Object.defineProperty(i,"className",xe)):(t.className&&!t.class||t.class&&t.className)&&(i.class=i.className=t.className),e.props=i}(e),e.$$typeof=ce,we&&we(e)};var Se=s.fF.__r;s.fF.__r=function(e){Se&&Se(e),Ae=e.__c};var Me=s.fF.diffed;s.fF.diffed=function(e){Me&&Me(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Ae=null};var Te={ReactCurrentDispatcher:{current:{readContext:function(e){return Ae.__n[e.__c].props.value},useCallback:S,useContext:M,useDebugValue:T,useDeferredValue:q,useEffect:y,useId:z,useImperativeHandle:x,useInsertionEffect:V,useLayoutEffect:C,useMemo:w,useReducer:_,useRef:A,useState:m,useSyncExternalStore:R,useTransition:U}}},ke="18.3.1";function ze(e){return s.n.bind(null,e)}function Be(e){return!!e&&e.$$typeof===ce}function De(e){return Be(e)&&e.type===s.FK}function Ee(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function je(e){return Be(e)?s.Ob.apply(null,arguments):e}function Le(e){return!!e.__k&&((0,s.XX)(null,e),!0)}function Oe(e){return e&&(e.base||1===e.nodeType&&e)||null}var Ie=function(e,t){return e(t)},Pe=function(e,t){return e(t)},Ne=s.FK,Re=Be,Fe={useState:m,useId:z,useReducer:_,useEffect:y,useLayoutEffect:C,useInsertionEffect:V,useTransition:U,useDeferredValue:q,useSyncExternalStore:R,startTransition:G,useRef:A,useImperativeHandle:x,useMemo:w,useCallback:S,useContext:M,useDebugValue:T,version:"18.3.1",Children:$,render:ge,hydrate:be,unmountComponentAtNode:Le,createPortal:le,createElement:s.n,createContext:s.q6,createFactory:ze,cloneElement:je,createRef:s._3,Fragment:s.FK,isValidElement:Be,isElement:Re,isFragment:De,isMemo:Ee,findDOMNode:Oe,Component:s.uA,PureComponent:H,memo:W,forwardRef:Z,flushSync:Pe,unstable_batchedUpdates:Ie,StrictMode:Ne,Suspense:ne,SuspenseList:oe,lazy:re,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Te}},172(e,t,n){"use strict";n.d(t,{FK:()=>w,Ob:()=>Y,Qv:()=>K,XX:()=>W,_3:()=>x,fF:()=>r,n:()=>C,q6:()=>Z,uA:()=>S,v2:()=>j});var i,r,o,a,s,u,l,c,h,f,d,p,v={},g=[],b=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function _(e,t){for(var n in t)e[n]=t[n];return e}function y(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function C(e,t,n){var r,o,a,s={};for(a in t)"key"==a?r=t[a]:"ref"==a?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return A(e,s,r,o,null)}function A(e,t,n,i,a){var s={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==a?++o:a,__i:-1,__u:0};return null==a&&null!=r.vnode&&r.vnode(s),s}function x(){return{current:null}}function w(e){return e.children}function S(e,t){this.props=e,this.context=t}function M(e,t){if(null==t)return e.__?M(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?M(e):null}function T(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return T(e)}}function k(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!z.__r++||s!=r.debounceRendering)&&((s=r.debounceRendering)||u)(z)}function z(){for(var e,t,n,i,o,s,u,c=1;a.length;)a.length>c&&a.sort(l),e=a.shift(),c=a.length,e.__d&&(n=void 0,i=void 0,o=(i=(t=e).__v).__e,s=[],u=[],t.__P&&((n=_({},i)).__v=i.__v+1,r.vnode&&r.vnode(n),N(t.__P,n,i,t.__n,t.__P.namespaceURI,32&i.__u?[o]:null,s,null==o?M(i):o,!!(32&i.__u),u),n.__v=i.__v,n.__.__k[n.__i]=n,F(s,n,u),i.__e=i.__=null,n.__e!=o&&T(n)));z.__r=0}function B(e,t,n,i,r,o,a,s,u,l,c){var h,f,d,p,b,m,_,y=i&&i.__k||g,C=t.length;for(u=D(n,t,y,u,C),h=0;h<C;h++)null!=(d=n.__k[h])&&(f=-1==d.__i?v:y[d.__i]||v,d.__i=h,m=N(e,d,f,r,o,a,s,u,l,c),p=d.__e,d.ref&&f.ref!=d.ref&&(f.ref&&U(f.ref,null,d),c.push(d.ref,d.__c||p,d)),null==b&&null!=p&&(b=p),(_=!!(4&d.__u))||f.__k===d.__k?u=E(d,u,e,_):"function"==typeof d.type&&void 0!==m?u=m:p&&(u=p.nextSibling),d.__u&=-7);return n.__e=b,u}function D(e,t,n,i,r){var o,a,s,u,l,c=n.length,h=c,f=0;for(e.__k=new Array(r),o=0;o<r;o++)null!=(a=t[o])&&"boolean"!=typeof a&&"function"!=typeof a?("string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?a=e.__k[o]=A(null,a,null,null,null):m(a)?a=e.__k[o]=A(w,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=e.__k[o]=A(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[o]=a,u=o+f,a.__=e,a.__b=e.__b+1,s=null,-1!=(l=a.__i=L(a,n,u,h))&&(h--,(s=n[l])&&(s.__u|=2)),null==s||null==s.__v?(-1==l&&(r>c?f--:r<c&&f++),"function"!=typeof a.type&&(a.__u|=4)):l!=u&&(l==u-1?f--:l==u+1?f++:(l>u?f--:f++,a.__u|=4))):e.__k[o]=null;if(h)for(o=0;o<c;o++)null!=(s=n[o])&&!(2&s.__u)&&(s.__e==i&&(i=M(s)),V(s,s));return i}function E(e,t,n,i){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=E(r[o],t,n,i));return t}e.__e!=t&&(i&&(t&&e.type&&!t.parentNode&&(t=M(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function j(e,t){return t=t||[],null==e||"boolean"==typeof e||(m(e)?e.some(function(e){j(e,t)}):t.push(e)),t}function L(e,t,n,i){var r,o,a,s=e.key,u=e.type,l=t[n],c=null!=l&&!(2&l.__u);if(null===l&&null==s||c&&s==l.key&&u==l.type)return n;if(i>(c?1:0))for(r=n-1,o=n+1;r>=0||o<t.length;)if(null!=(l=t[a=r>=0?r--:o++])&&!(2&l.__u)&&s==l.key&&u==l.type)return a;return-1}function O(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||b.test(t)?n:n+"px"}function I(e,t,n,i,r){var o,a;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||O(e.style,t,"");if(n)for(t in n)i&&n[t]==i[t]||O(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])o=t!=(t=t.replace(c,"$1")),a=t.toLowerCase(),t=a in e||"onFocusOut"==t||"onFocusIn"==t?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?i?n.u=i.u:(n.u=h,e.addEventListener(t,o?d:f,o)):e.removeEventListener(t,o?d:f,o);else{if("http://www.w3.org/2000/svg"==r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function P(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=h++;else if(t.t<n.u)return;return n(r.event?r.event(t):t)}}}function N(e,t,n,i,o,a,s,u,l,c){var h,f,d,p,v,g,b,C,A,x,M,T,k,z,D,E,j,L=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),a=[u=t.__e=n.__e]),(h=r.__b)&&h(t);e:if("function"==typeof L)try{if(C=t.props,A="prototype"in L&&L.prototype.render,x=(h=L.contextType)&&i[h.__c],M=h?x?x.props.value:h.__:i,n.__c?b=(f=t.__c=n.__c).__=f.__E:(A?t.__c=f=new L(C,M):(t.__c=f=new S(C,M),f.constructor=L,f.render=H),x&&x.sub(f),f.state||(f.state={}),f.__n=i,d=f.__d=!0,f.__h=[],f._sb=[]),A&&null==f.__s&&(f.__s=f.state),A&&null!=L.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=_({},f.__s)),_(f.__s,L.getDerivedStateFromProps(C,f.__s))),p=f.props,v=f.state,f.__v=t,d)A&&null==L.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),A&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(A&&null==L.getDerivedStateFromProps&&C!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(C,M),t.__v==n.__v||!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(C,f.__s,M)){for(t.__v!=n.__v&&(f.props=C,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),T=0;T<f._sb.length;T++)f.__h.push(f._sb[T]);f._sb=[],f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(C,f.__s,M),A&&null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(p,v,g)})}if(f.context=M,f.props=C,f.__P=e,f.__e=!1,k=r.__r,z=0,A){for(f.state=f.__s,f.__d=!1,k&&k(t),h=f.render(f.props,f.state,f.context),D=0;D<f._sb.length;D++)f.__h.push(f._sb[D]);f._sb=[]}else do{f.__d=!1,k&&k(t),h=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++z<25);f.state=f.__s,null!=f.getChildContext&&(i=_(_({},i),f.getChildContext())),A&&!d&&null!=f.getSnapshotBeforeUpdate&&(g=f.getSnapshotBeforeUpdate(p,v)),E=h,null!=h&&h.type===w&&null==h.key&&(E=G(h.props.children)),u=B(e,m(E)?E:[E],t,n,i,o,a,s,u,l,c),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),b&&(f.__E=f.__=null)}catch(e){if(t.__v=null,l||null!=a)if(e.then){for(t.__u|=l?160:128;u&&8==u.nodeType&&u.nextSibling;)u=u.nextSibling;a[a.indexOf(u)]=null,t.__e=u}else{for(j=a.length;j--;)y(a[j]);R(t)}else t.__e=n.__e,t.__k=n.__k,e.then||R(t);r.__e(e,t,n)}else null==a&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):u=t.__e=q(n.__e,t,n,i,o,a,s,l,c);return(h=r.diffed)&&h(t),128&t.__u?void 0:u}function R(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(R)}function F(e,t,n){for(var i=0;i<n.length;i++)U(n[i],n[++i],n[++i]);r.__c&&r.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){r.__e(e,t.__v)}})}function G(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:m(e)?e.map(G):_({},e)}function q(e,t,n,o,a,s,u,l,c){var h,f,d,p,g,b,_,C=n.props||v,A=t.props,x=t.type;if("svg"==x?a="http://www.w3.org/2000/svg":"math"==x?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=s)for(h=0;h<s.length;h++)if((g=s[h])&&"setAttribute"in g==!!x&&(x?g.localName==x:3==g.nodeType)){e=g,s[h]=null;break}if(null==e){if(null==x)return document.createTextNode(A);e=document.createElementNS(a,x,A.is&&A),l&&(r.__m&&r.__m(t,s),l=!1),s=null}if(null==x)C===A||l&&e.data==A||(e.data=A);else{if(s=s&&i.call(e.childNodes),!l&&null!=s)for(C={},h=0;h<e.attributes.length;h++)C[(g=e.attributes[h]).name]=g.value;for(h in C)if(g=C[h],"children"==h);else if("dangerouslySetInnerHTML"==h)d=g;else if(!(h in A)){if("value"==h&&"defaultValue"in A||"checked"==h&&"defaultChecked"in A)continue;I(e,h,null,g,a)}for(h in A)g=A[h],"children"==h?p=g:"dangerouslySetInnerHTML"==h?f=g:"value"==h?b=g:"checked"==h?_=g:l&&"function"!=typeof g||C[h]===g||I(e,h,g,C[h],a);if(f)l||d&&(f.__html==d.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(d&&(e.innerHTML=""),B("template"==t.type?e.content:e,m(p)?p:[p],t,n,o,"foreignObject"==x?"http://www.w3.org/1999/xhtml":a,s,u,s?s[0]:n.__k&&M(n,0),l,c),null!=s)for(h=s.length;h--;)y(s[h]);l||(h="value","progress"==x&&null==b?e.removeAttribute("value"):null!=b&&(b!==e[h]||"progress"==x&&!b||"option"==x&&b!=C[h])&&I(e,h,b,C[h],a),h="checked",null!=_&&_!=e[h]&&I(e,h,_,C[h],a))}return e}function U(e,t,n){try{if("function"==typeof e){var i="function"==typeof e.__u;i&&e.__u(),i&&null==t||(e.__u=e(t))}else e.current=t}catch(e){r.__e(e,n)}}function V(e,t,n){var i,o;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||U(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],t,n||"function"!=typeof e.type);n||y(e.__e),e.__c=e.__=e.__e=void 0}function H(e,t,n){return this.constructor(e,n)}function W(e,t,n){var o,a,s,u;t==document&&(t=document.documentElement),r.__&&r.__(e,t),a=(o="function"==typeof n)?null:n&&n.__k||t.__k,s=[],u=[],N(t,e=(!o&&n||t).__k=C(w,null,[e]),a||v,v,t.namespaceURI,!o&&n?[n]:a?null:t.firstChild?i.call(t.childNodes):null,s,!o&&n?n:a?a.__e:t.firstChild,o,u),F(s,e,u)}function K(e,t){W(e,t,K)}function Y(e,t,n){var r,o,a,s,u=_({},e.props);for(a in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)"key"==a?r=t[a]:"ref"==a?o=t[a]:u[a]=void 0===t[a]&&null!=s?s[a]:t[a];return arguments.length>2&&(u.children=arguments.length>3?i.call(arguments,2):n),A(e.type,u,r||e.key,o||e.ref,null)}function Z(e){function t(e){var n,i;return this.getChildContext||(n=new Set,(i={})[t.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,k(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+p++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}i=g.slice,r={__e:function(e,t,n,i){for(var r,o,a;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),a=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,i||{}),a=r.__d),a)return r.__E=r}catch(t){e=t}throw e}},o=0,S.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=_({},this.state),"function"==typeof e&&(e=e(_({},n),this.props)),e&&_(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),k(this))},S.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},S.prototype.render=w,a=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},z.__r=0,c=/(PointerCapture)$|Capture$/i,h=0,f=P(!1),d=P(!0),p=0},694(e,t,n){"use strict";
|
|
3
|
+
/**
|
|
4
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/var i=n(925);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},556(e,t,n){e.exports=n(694)()},925(e){"use strict";
|
|
9
|
+
/**
|
|
10
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},72(e){"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},a=[],s=0;s<e.length;s++){var u=e[s],l=i.base?u[0]+i.base:u[0],c=o[l]||0,h="".concat(l," ").concat(c);o[l]=c+1;var f=n(h),d={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var p=r(d,i);i.byIndex=s,t.splice(s,0,{identifier:h,updater:p,references:1})}a.push(h)}return a}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var u=i(e,r),l=0;l<o.length;l++){var c=n(o[l]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=u}}},659(e){"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(i){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},493(e,t,n){"use strict";
|
|
15
|
+
/**
|
|
16
|
+
* @license React
|
|
17
|
+
* use-sync-external-store-shim.production.js
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the MIT license found in the
|
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/var i=n(299);var r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useState,a=i.useEffect,s=i.useLayoutEffect,u=i.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(i){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),i=o({inst:{value:n,getSnapshot:t}}),r=i[0].inst,c=i[1];return s(function(){r.value=n,r.getSnapshot=t,l(r)&&c({inst:r})},[e,n,t]),a(function(){return l(r)&&c({inst:r}),e(function(){l(r)&&c({inst:r})})},[e]),u(n),n};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:c},888(e,t,n){"use strict";e.exports=n(493)},501(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwdjExLjI1YzAgLjQxNC4zMzYuNzUuNzUuNzVoMTAuNWEuNzUuNzUgMCAwIDAgLjc1LS43NVYwSDB6IiBmaWxsPSIjRkM2IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNMCAwcy4xNTYgMyAxLjEyNSAzaDkuNzVDMTEuODQ1IDMgMTIgMCAxMiAwSDB6IiBmaWxsPSIjQ0NBMzUyIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNi43NSAxLjVoLS4zNzVMNiAyLjVsLS4zNzUtMUg1LjI1TDUuODEzIDMgNS4yNSA0LjVoLjM3NUw2IDMuNWwuMzc1IDFoLjM3NUw2LjE4NyAzeiIgZmlsbD0iIzk5N0EzRCIvPjxjaXJjbGUgY3g9Ii43NSIgY3k9Ii43NSIgcj0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4yNSAzLjc1KSIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PGNpcmNsZSBjeD0iLjc1IiBjeT0iLjc1IiByPSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1LjI1IC43NSkiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4="},46(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTExLjcgMS4zMzNINS44NUw0LjU1IDBIMS4zQy41ODUgMCAwIC42IDAgMS4zMzNWNGgxM1YyLjY2N2MwLS43MzMtLjU4NS0xLjMzNC0xLjMtMS4zMzR6IiBmaWxsPSIjRkZBMDAwIi8+PHBhdGggZD0iTTExLjcgMUgxLjNDLjU4NSAxIDAgMS41NzkgMCAyLjI4NnY2LjQyOEMwIDkuNDIxLjU4NSAxMCAxLjMgMTBoMTAuNGMuNzE1IDAgMS4zLS41NzkgMS4zLTEuMjg2VjIuMjg2QzEzIDEuNTc5IDEyLjQxNSAxIDExLjcgMXoiIGZpbGw9IiNGRkNBMjgiLz48L2c+PC9zdmc+"},995(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjMyNy4wNjRMOC40MzMgMS45NTdhNi4wMjUgNi4wMjUgMCAwIDAtMS45NTItLjM0MkMyLjkxMiAxLjYxNS4wMTkgNS4xOTYuMDE5IDUuMTk2czEuMDk4IDEuMzU4IDIuNzc0IDIuNDAxTC45NiA5LjQzMWwuOTM2LjkzNkwxMS4yNjMgMWwtLjkzNi0uOTM2ek00LjA1IDYuMzRhMi42ODYgMi42ODYgMCAwIDEgMy41NzQtMy41NzRMNC4wNSA2LjM0em02LjQ0OC0zLjMzYTEyLjM0NCAxMi4zNDQgMCAwIDEgMi40NDQgMi4xODZzLTIuODkzIDMuNTgtNi40NjEgMy41OGMtLjUzIDAtMS4wNDQtLjA3OC0xLjUzNy0uMjEzbC43ODgtLjc4OEEyLjY4NCAyLjY4NCAwIDAgMCA5LjA2IDQuNDQ4bDEuNDM4LTEuNDM5eiIgZmlsbD0iIzIzMUYyMCIgZmlsbC1vcGFjaXR5PSIuNTk3Ii8+PC9zdmc+"},90(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNjI1IDBBMS42MyAxLjYzIDAgMCAwIDAgMS42MjV2OS43NUExLjYzIDEuNjMgMCAwIDAgMS42MjUgMTNoNy41ODNhMS42MyAxLjYzIDAgMCAwIDEuNjI1LTEuNjI1VjMuNTY3TDcuMjY2IDBIMS42MjV6bTAgMS4wODNINi41djMuMjVoMy4yNXY3LjA0MmEuNTM1LjUzNSAwIDAgMS0uNTQyLjU0MkgxLjYyNWEuNTM1LjUzNSAwIDAgMS0uNTQyLS41NDJ2LTkuNzVjMC0uMzA1LjIzNy0uNTQyLjU0Mi0uNTQyem01Ljk1OC43NjZMOC45ODQgMy4yNWgtMS40di0xLjR6TTMuMjUgNi41djEuMDgzaDQuMzMzVjYuNUgzLjI1em0wIDIuMTY3VjkuNzVINi41VjguNjY3SDMuMjV6IiBmaWxsLW9wYWNpdHk9Ii40MDMiLz48L3N2Zz4="},942(e,t){var n;
|
|
3
24
|
/*!
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2598:(e,t,n)=>{"use strict";var r=n(1605),o=n(2929),i=n(9085),a=n(3938);r({target:"Iterator",proto:!0,real:!0},{find:function(e){return a(this),i(e),o(this,(function(t,n){if(e(t))return n(t)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},2612:(e,t,n)=>{var r=n(1229);e.exports=function(e){return Object(r(e))}},2834:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},2886:(e,t,n)=>{var r=n(200),o=n(9965),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},2929:(e,t,n)=>{var r=n(3938),o=n(9034),i=n(3747),a=n(6885),s=n(1898),u=n(9868),l=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var c,h,f,d,p,g,b,v=n&&n.that,m=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),A=a(t,v,1+m+C),x=function(e){return c&&u(c),new l(!0,e)},w=function(e){return m?(r(e),C?A(e[0],e[1],x):A(e[0],e[1])):C?A(e,x):A(e)};if(y)c=e;else{if("function"!=typeof(h=s(e)))throw TypeError("Target is not iterable");if(o(h)){for(f=0,d=i(e.length);d>f;f++)if((p=w(e[f]))&&p instanceof l)return p;return new l(!1)}c=h.call(e)}for(g=c.next;!(b=g.call(c)).done;){try{p=w(b.value)}catch(_){throw u(c),_}if("object"==typeof p&&p&&p instanceof l)return p}return new l(!1)}},3062:(e,t,n)=>{var r=n(3129),o=n(8569),i=n(1602)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},3075:(e,t,n)=>{var r=n(7485);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},3105:(e,t,n)=>{var r,o=n(3938),i=n(5318),a=n(290),s=n(7708),u=n(8890),l=n(3262),c=n(5904),h="prototype",f="script",d=c("IE_PROTO"),p=function(){},g=function(e){return"<"+f+">"+e+"</"+f+">"},b=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(i){}var e,t,n;b=r?function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):(t=l("iframe"),n="java"+f+":",t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F);for(var o=a.length;o--;)delete b[h][a[o]];return b()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p[h]=o(e),n=new p,p[h]=null,n[d]=e):n=b(),void 0===t?n:i(n,t)}},3129:(e,t,n)=>{var r={};r[n(1602)("toStringTag")]="z",e.exports="[object z]"===String(r)},3262:(e,t,n)=>{var r=n(200),o=n(5335),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},3480:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());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},3610:(e,t,n)=>{var r=n(5077),o=n(7694),i=n(3938),a=n(874),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},3725:(e,t,n)=>{"use strict";var r=n(1605),o=n(200),i=n(5190),a=n(7712),s=n(2074),u=n(1883),l=n(1602),c=n(9306).IteratorPrototype,h=n(6926),f=l("iterator"),d=l("toStringTag"),p=o.Iterator,g=h||"function"!=typeof p||p.prototype!==c||!s((function(){p({})})),b=function(){i(this,b)};h&&a(c={},f,(function(){return this})),u(c,d)||a(c,d,"Iterator"),!g&&u(c,"constructor")&&c.constructor!==Object||a(c,"constructor",b),b.prototype=c,r({global:!0,forced:g},{Iterator:b})},3747:(e,t,n)=>{var r=n(7317),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},3792:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjMyNy4wNjRMOC40MzMgMS45NTdhNi4wMjUgNi4wMjUgMCAwIDAtMS45NTItLjM0MkMyLjkxMiAxLjYxNS4wMTkgNS4xOTYuMDE5IDUuMTk2czEuMDk4IDEuMzU4IDIuNzc0IDIuNDAxTC45NiA5LjQzMWwuOTM2LjkzNkwxMS4yNjMgMWwtLjkzNi0uOTM2ek00LjA1IDYuMzRhMi42ODYgMi42ODYgMCAwIDEgMy41NzQtMy41NzRMNC4wNSA2LjM0em02LjQ0OC0zLjMzYTEyLjM0NCAxMi4zNDQgMCAwIDEgMi40NDQgMi4xODZzLTIuODkzIDMuNTgtNi40NjEgMy41OGMtLjUzIDAtMS4wNDQtLjA3OC0xLjUzNy0uMjEzbC43ODgtLjc4OEEyLjY4NCAyLjY4NCAwIDAgMCA5LjA2IDQuNDQ4bDEuNDM4LTEuNDM5eiIgZmlsbD0iIzIzMUYyMCIgZmlsbC1vcGFjaXR5PSIuNTk3Ii8+PC9zdmc+"},3938:(e,t,n)=>{var r=n(5335);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},4361:(e,t,n)=>{var r=n(1883),o=n(5816),i=n(7632),a=n(3610);e.exports=function(e,t){for(var n=o(t),s=a.f,u=i.f,l=0;l<n.length;l++){var c=n[l];r(e,c)||s(e,c,u(t,c))}}},4417:e=>{"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)}},4630:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".Tooltip__container{background:#fff;border:1px solid #aaa;border-radius:4px;font:var(--main-font);opacity:.9;padding:5px 10px;position:absolute;transition:opacity .2s ease,visibility .2s ease;visibility:visible;white-space:nowrap}.Tooltip__hidden{opacity:0;visibility:hidden}html[data-theme=dark] .Tooltip__container{background:var(--bg-primary);border:1px solid var(--border-color);color:var(--text-primary)}","",{version:3,sources:["webpack://./client/components/Tooltip.css"],names:[],mappings:"AAAA,oBAKE,eAAgB,CAChB,qBAAsB,CAFtB,iBAAkB,CAHlB,qBAAsB,CAMtB,UAAY,CAJZ,gBAAiB,CADjB,iBAAkB,CAQlB,+CAAiD,CADjD,kBAAmB,CADnB,kBAGF,CAEA,iBACE,SAAU,CACV,iBACF,CAEA,0CACE,4BAA6B,CAE7B,oCAAqC,CADrC,yBAEF",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\n:global(html[data-theme='dark']) .container {\n background: var(--bg-primary);\n color: var(--text-primary);\n border: 1px solid var(--border-color);\n}\n"],sourceRoot:""}]),a.locals={container:"Tooltip__container",hidden:"Tooltip__hidden"};const s=a},4789:(e,t,n)=>{var r=n(6347),o=n(290).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},4977:(e,t,n)=>{var r=n(2074),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=u&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},4991:e=>{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(u){s=!0,o=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(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<t;n++)r[n]=e[n];return r}e.exports=function(e){var n=t(e,4),r=n[1],o=n[3];if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),u=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(u).concat([s]).join("\n")}return[r].join("\n")}},5019:(e,t,n)=>{"use strict";var r=n(1605),o=n(9085),i=n(3938),a=n(1523),s=n(1332),u=a((function(e){for(var t,n,r=this.iterator,o=this.filterer,a=this.next;;){if(t=i(a.call(r,e)),this.done=!!t.done)return;if(n=t.value,s(r,o,n))return n}}));r({target:"Iterator",proto:!0,real:!0},{filter:function(e){return new u({iterator:i(this),filterer:o(e)})}})},5072:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=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<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],u=t.base?i[0]+t.base:i[0],l=n[u]||0,c="".concat(u," ").concat(l);n[u]=l+1;var h=s(c),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==h?(a[h].references++,a[h].updater(f)):a.push({identifier:c,updater:b(f,t),references:1}),r.push(c)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,h=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=h(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,g=0;function b(e,t){var n,r,o;if(t.singleton){var i=g++;n=p||(p=l(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=l(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=u(e,t),l=0;l<n.length;l++){var c=s(n[l]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=i}}}},5077:(e,t,n)=>{var r=n(2074);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5190:e=>{e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},5225:(e,t,n)=>{var r=n(1849);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5318:(e,t,n)=>{var r=n(5077),o=n(3610),i=n(3938),a=n(1641);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,u=0;s>u;)o.f(e,n=r[u++],t[n]);return e}},5335:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},5476:(e,t,n)=>{var r=n(8664),o=n(1229);e.exports=function(e){return r(o(e))}},5639:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTExLjcgMS4zMzNINS44NUw0LjU1IDBIMS4zQy41ODUgMCAwIC42IDAgMS4zMzNWNGgxM1YyLjY2N2MwLS43MzMtLjU4NS0xLjMzNC0xLjMtMS4zMzR6IiBmaWxsPSIjRkZBMDAwIi8+PHBhdGggZD0iTTExLjcgMUgxLjNDLjU4NSAxIDAgMS41NzkgMCAyLjI4NnY2LjQyOEMwIDkuNDIxLjU4NSAxMCAxLjMgMTBoMTAuNGMuNzE1IDAgMS4zLS41NzkgMS4zLTEuMjg2VjIuMjg2QzEzIDEuNTc5IDEyLjQxNSAxIDExLjcgMXoiIGZpbGw9IiNGRkNBMjgiLz48L2c+PC9zdmc+"},5816:(e,t,n)=>{var r=n(6492),o=n(4789),i=n(8916),a=n(3938);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},5904:(e,t,n)=>{var r=n(2),o=n(665),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5975:(e,t,n)=>{var r=n(200),o=n(7712);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},6314: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 o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},6347:(e,t,n)=>{var r=n(1883),o=n(5476),i=n(8186).indexOf,a=n(7708);e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},6480:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,":root{--main-font:normal 11px Verdana,sans-serif;--bg-primary:#fff;--bg-secondary:#f5f5f5;--text-primary:#000;--text-secondary:#666;--border-color:#aaa;--border-light:#ddd;--shadow:rgba(0,0,0,0.1);--hover-bg:rgba(0,0,0,0.05)}[data-theme=dark]{--bg-primary:#1e1e1e;--bg-secondary:#252525;--text-primary:#e0e0e0;--text-secondary:#a0a0a0;--border-color:#404040;--border-light:#333;--shadow:rgba(0,0,0,0.3);--hover-bg:hsla(0,0%,100%,0.05)}#app,body,html{background:var(--bg-primary);color:var(--text-primary);height:100%;margin:0;overflow:hidden;padding:0;transition:background-color .3s ease,color .3s ease;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,0CAA4C,CAC5C,iBAAkB,CAClB,sBAAuB,CACvB,mBAAoB,CACpB,qBAAsB,CACtB,mBAAoB,CACpB,mBAAoB,CACpB,wBAA4B,CAC5B,2BACF,CAEA,kBACE,oBAAqB,CACrB,sBAAuB,CACvB,sBAAuB,CACvB,wBAAyB,CACzB,sBAAuB,CACvB,mBAAoB,CACpB,wBAA4B,CAC5B,+BACF,CAEA,eAQE,4BAA6B,CAC7B,yBAA0B,CAN1B,WAAY,CACZ,QAAS,CACT,eAAgB,CAChB,SAAU,CAIV,mDAAuD,CAHvD,UAIF,CAEA,cACE,kCAA4B,CAA5B,0BACF,CAEA,gBACE,mBACF,CAEA,kBACE,2BACF",sourcesContent:[':root {\n --main-font: normal 11px Verdana, sans-serif;\n --bg-primary: #fff;\n --bg-secondary: #f5f5f5;\n --text-primary: #000;\n --text-secondary: #666;\n --border-color: #aaa;\n --border-light: #ddd;\n --shadow: rgba(0, 0, 0, 0.1);\n --hover-bg: rgba(0, 0, 0, 0.05);\n}\n\n[data-theme="dark"] {\n --bg-primary: #1e1e1e;\n --bg-secondary: #252525;\n --text-primary: #e0e0e0;\n --text-secondary: #a0a0a0;\n --border-color: #404040;\n --border-light: #333;\n --shadow: rgba(0, 0, 0, 0.3);\n --hover-bg: rgba(255, 255, 255, 0.05);\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 background: var(--bg-primary);\n color: var(--text-primary);\n transition: background-color 0.3s ease, color 0.3s ease;\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},6492:(e,t,n)=>{var r=n(9720),o=n(200),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},6539:(e,t,n)=>{var r=n(7317),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},6607:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());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{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);display:block;flex:1;padding:5px;transition:background-color .3s ease,color .3s ease,border-color .3s ease}.Search__input:focus{border-color:var(--text-secondary);outline:none}.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,eAME,4BAA6B,CAL7B,oCAAqC,CACrC,iBAAkB,CAKlB,yBAA0B,CAJ1B,aAAc,CACd,MAAO,CACP,WAAY,CAGZ,yEACF,CAEA,qBAEE,kCAAmC,CADnC,YAEF,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 var(--border-color);\n border-radius: 4px;\n display: block;\n flex: 1;\n padding: 5px;\n background: var(--bg-primary);\n color: var(--text-primary);\n transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;\n}\n\n.input:focus {\n outline: none;\n border-color: var(--text-secondary);\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},6843:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6845:(e,t,n)=>{var r,o,i=n(200),a=n(7061),s=i.process,u=s&&s.versions,l=u&&u.v8;l?o=(r=l.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},6885:(e,t,n)=>{var r=n(9085);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},6926:e=>{e.exports=!1},7061:(e,t,n)=>{var r=n(6492);e.exports=r("navigator","userAgent")||""},7168:(e,t,n)=>{var r=n(2074);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7317:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},7334:e=>{function t(e,t,n){var r,o,i,a,s;function u(){var l=Date.now()-a;l<t&&l>=0?r=setTimeout(u,t-l):(r=null,n||(s=e.apply(i,o),i=o=null))}null==t&&(t=100);var l=function(){i=this,o=arguments,a=Date.now();var l=n&&!r;return r||(r=setTimeout(u,t)),l&&(s=e.apply(i,o),i=o=null),s};return l.clear=function(){r&&(clearTimeout(r),r=null)},l.flush=function(){r&&(s=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},l}t.debounce=t,e.exports=t},7485:(e,t,n)=>{var r=n(200),o=n(7712),i=n(1883),a=n(5975),s=n(9965),u=n(9206),l=u.get,c=u.enforce,h=String(String).split("String");(e.exports=function(e,t,n,s){var u,l=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(u=c(n)).source||(u.source=h.join("string"==typeof t?t:""))),e!==r?(l?!d&&e[t]&&(f=!0):delete e[t],f?e[t]=n:o(e,t,n)):f?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},7632:(e,t,n)=>{var r=n(5077),o=n(9304),i=n(6843),a=n(5476),s=n(874),u=n(1883),l=n(7694),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(n){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},7694:(e,t,n)=>{var r=n(5077),o=n(2074),i=n(3262);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7708:e=>{e.exports={}},7712:(e,t,n)=>{var r=n(5077),o=n(3610),i=n(6843);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},7970:(e,t,n)=>{var r=n(1883),o=n(2612),i=n(5904),a=n(7168),s=i("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},8186:(e,t,n)=>{var r=n(5476),o=n(3747),i=n(6539),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},8380:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());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},8569:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},8664:(e,t,n)=>{var r=n(2074),o=n(8569),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},8890:(e,t,n)=>{var r=n(6492);e.exports=r("document","documentElement")},8916:(e,t)=>{t.f=Object.getOwnPropertySymbols},9034:(e,t,n)=>{var r=n(1602),o=n(2228),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},9085:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},9206:(e,t,n)=>{var r,o,i,a=n(2886),s=n(200),u=n(5335),l=n(7712),c=n(1883),h=n(9310),f=n(5904),d=n(7708),p="Object already initialized",g=s.WeakMap;if(a||h.state){var b=h.state||(h.state=new g),v=b.get,m=b.has,y=b.set;r=function(e,t){if(m.call(b,e))throw new TypeError(p);return t.facade=e,y.call(b,e,t),t},o=function(e){return v.call(b,e)||{}},i=function(e){return m.call(b,e)}}else{var C=f("state");d[C]=!0,r=function(e,t){if(c(e,C))throw new TypeError(p);return t.facade=e,l(e,C,t),t},o=function(e){return c(e,C)?e[C]:{}},i=function(e){return c(e,C)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},9229:(e,t,n)=>{"use strict";var r=n(1605),o=n(2929),i=n(9085),a=n(3938);r({target:"Iterator",proto:!0,real:!0},{some:function(e){return a(this),i(e),o(this,(function(t,n){if(e(t))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},9304:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},9306:(e,t,n)=>{"use strict";var r,o,i,a=n(2074),s=n(7970),u=n(7712),l=n(1883),c=n(1602),h=n(6926),f=c("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):d=!0);var p=null==r||a((function(){var e={};return r[f].call(e)!==e}));p&&(r={}),h&&!p||l(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},9310:(e,t,n)=>{var r=n(200),o=n(5975),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},9319:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNjI1IDBBMS42MyAxLjYzIDAgMCAwIDAgMS42MjV2OS43NUExLjYzIDEuNjMgMCAwIDAgMS42MjUgMTNoNy41ODNhMS42MyAxLjYzIDAgMCAwIDEuNjI1LTEuNjI1VjMuNTY3TDcuMjY2IDBIMS42MjV6bTAgMS4wODNINi41djMuMjVoMy4yNXY3LjA0MmEuNTM1LjUzNSAwIDAgMS0uNTQyLjU0MkgxLjYyNWEuNTM1LjUzNSAwIDAgMS0uNTQyLS41NDJ2LTkuNzVjMC0uMzA1LjIzNy0uNTQyLjU0Mi0uNTQyem01Ljk1OC43NjZMOC45ODQgMy4yNWgtMS40di0xLjR6TTMuMjUgNi41djEuMDgzaDQuMzMzVjYuNUgzLjI1em0wIDIuMTY3VjkuNzVINi41VjguNjY3SDMuMjV6IiBmaWxsLW9wYWNpdHk9Ii40MDMiLz48L3N2Zz4="},9410:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i),s=n(4417),u=n.n(s),l=n(9319),c=n(5639),h=n(2382),f=n(3792),d=a()(o()),p=u()(l.A),g=u()(c.A),b=u()(h.A),v=u()(f.A);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;position:absolute;top:1px;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,CAEP,iBAAkB,CADlB,OAAQ,CAER,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 m=d},9471:(e,t,n)=>{"use strict";var r=n(1605),o=n(2929),i=n(9085),a=n(3938);r({target:"Iterator",proto:!0,real:!0},{reduce:function(e){a(this),i(e);var t=arguments.length<2,n=t?void 0:arguments[1];if(o(this,(function(r){t?(t=!1,n=r):n=e(n,r)}),{IS_ITERATOR:!0}),t)throw TypeError("Reduce of empty iterator with no initial value");return n}})},9720:(e,t,n)=>{var r=n(200);e.exports=r},9831:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4991),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".ContextMenu__container{background:#fff;border:1px solid #aaa;border-radius:4px;font:var(--main-font);list-style:none;opacity:1;padding:0;position:absolute;transition:opacity .2s ease,visibility .2s ease;visibility:visible;white-space:nowrap}.ContextMenu__hidden{opacity:0;visibility:hidden}","",{version:3,sources:["webpack://./client/components/ContextMenu.css"],names:[],mappings:"AAAA,wBAKE,eAAgB,CAChB,qBAAsB,CAFtB,iBAAkB,CAHlB,qBAAsB,CAMtB,eAAgB,CAChB,SAAU,CALV,SAAU,CADV,iBAAkB,CASlB,+CAAiD,CADjD,kBAAmB,CADnB,kBAGF,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},9838:(e,t,n)=>{"use strict";var r=n(1605),o=n(2929),i=n(3938);r({target:"Iterator",proto:!0,real:!0},{forEach:function(e){o(i(this),e,{IS_ITERATOR:!0})}})},9868:(e,t,n)=>{var r=n(3938);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},9965:(e,t,n)=>{var r=n(9310),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,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),n.nc=void 0,(()=>{"use strict";var e,t,r,o,i,a={},s=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function l(e,t){for(var n in t)e[n]=t[n];return e}function c(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var r,o,i,a=arguments,s={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return f(e,s,r,o,null)}function f(t,n,r,o,i){var a={type:t,props:n,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++e.__v:i};return null!=e.vnode&&e.vnode(a),a}function d(){return{current:null}}function p(e){return e.children}function g(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?b(e):null}function v(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return v(e)}}function m(n){(!n.__d&&(n.__d=!0)&&t.push(n)&&!y.__r++||o!==e.debounceRendering)&&((o=e.debounceRendering)||r)(y)}function y(){for(var e;y.__r=t.length;)e=t.sort((function(e,t){return e.__v.__b-t.__v.__b})),t=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=l({},o)).__v=o.__v+1,k(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?b(o):i,o.__h),z(n,o),o.__e!=i&&v(o)))}))}function C(e,t,n,r,o,i,u,l,c,h){var d,g,v,m,y,C,x,_=r&&r.__k||s,S=_.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(m=n.__k[d]=null==(m=t[d])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?f(null,m,null,null,m):Array.isArray(m)?f(p,{children:m},null,null,null):m.__b>0?f(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(v=_[d])||v&&m.key==v.key&&m.type===v.type)_[d]=void 0;else for(g=0;g<S;g++){if((v=_[g])&&m.key==v.key&&m.type===v.type){_[g]=void 0;break}v=null}k(e,m,v=v||a,o,i,u,l,c,h),y=m.__e,(g=m.ref)&&v.ref!=g&&(x||(x=[]),v.ref&&x.push(v.ref,null,m),x.push(g,m.__c||y,m)),null!=y?(null==C&&(C=y),"function"==typeof m.type&&null!=m.__k&&m.__k===v.__k?m.__d=c=A(m,c,e):c=w(e,m,v,_,y,c),h||"option"!==n.type?"function"==typeof n.type&&(n.__d=c):e.value=""):c&&v.__e==c&&c.parentNode!=e&&(c=b(v))}for(n.__e=C,d=S;d--;)null!=_[d]&&("function"==typeof n.type&&null!=_[d].__e&&_[d].__e==n.__d&&(n.__d=b(r,d+1)),E(_[d],_[d]));if(x)for(d=0;d<x.length;d++)D(x[d],x[++d],x[++d])}function A(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?A(o,t,n):w(n,o,o,e.__k,o.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function w(e,t,n,r,o,i){var a,s,u;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,u=0;(s=s.nextSibling)&&u<r.length;u+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function _(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||u.test(t)?n:n+"px"}function S(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||_(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||_(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?T:M,i):e.removeEventListener(t,i?T:M,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function M(t){this.l[t.type+!1](e.event?e.event(t):t)}function T(t){this.l[t.type+!0](e.event?e.event(t):t)}function k(t,n,r,o,i,a,s,u,c){var h,f,d,b,v,m,y,A,x,w,_,S=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,u=n.__e=r.__e,n.__h=null,a=[u]),(h=e.__b)&&h(n);try{e:if("function"==typeof S){if(A=n.props,x=(h=S.contextType)&&o[h.__c],w=h?x?x.props.value:h.__:o,r.__c?y=(f=n.__c=r.__c).__=f.__E:("prototype"in S&&S.prototype.render?n.__c=f=new S(A,w):(n.__c=f=new g(A,w),f.constructor=S,f.render=j),x&&x.sub(f),f.props=A,f.state||(f.state={}),f.context=w,f.__n=o,d=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=S.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=l({},f.__s)),l(f.__s,S.getDerivedStateFromProps(A,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&&A!==b&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(A,w),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(A,f.__s,w)||n.__v===r.__v){f.props=A,f.state=f.__s,n.__v!==r.__v&&(f.__d=!1),f.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(A,f.__s,w),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(b,v,m)}))}f.context=w,f.props=A,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&&(o=l(l({},o),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(m=f.getSnapshotBeforeUpdate(b,v)),_=null!=h&&h.type===p&&null==h.key?h.props.children:h,C(t,Array.isArray(_)?_:[_],n,r,o,i,a,s,u,c),f.base=n.__e,n.__h=null,f.__h.length&&s.push(f),y&&(f.__E=f.__=null),f.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=B(r.__e,n,r,o,i,a,s,c);(h=e.diffed)&&h(n)}catch(t){n.__v=null,(c||null!=a)&&(n.__e=u,n.__h=!!c,a[a.indexOf(u)]=null),e.__e(t,n,r)}}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 B(e,t,n,r,o,i,u,l){var h,f,d,p,g=n.props,b=t.props,v=t.type,m=0;if("svg"===v&&(o=!0),null!=i)for(;m<i.length;m++)if((h=i[m])&&(h===e||(v?h.localName==v:3==h.nodeType))){e=h,i[m]=null;break}if(null==e){if(null===v)return document.createTextNode(b);e=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,b.is&&b),i=null,l=!1}if(null===v)g===b||l&&e.data===b||(e.data=b);else{if(i=i&&s.slice.call(e.childNodes),f=(g=n.props||a).dangerouslySetInnerHTML,d=b.dangerouslySetInnerHTML,!l){if(null!=i)for(g={},p=0;p<e.attributes.length;p++)g[e.attributes[p].name]=e.attributes[p].value;(d||f)&&(d&&(f&&d.__html==f.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||S(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||S(e,i,t[i],n[i],r)}(e,b,g,o,l),d)t.__k=[];else if(m=t.props.children,C(e,Array.isArray(m)?m:[m],t,n,r,o&&"foreignObject"!==v,i,u,e.firstChild,l),null!=i)for(m=i.length;m--;)null!=i[m]&&c(i[m]);l||("value"in b&&void 0!==(m=b.value)&&(m!==e.value||"progress"===v&&!m)&&S(e,"value",m,g.value,!1),"checked"in b&&void 0!==(m=b.checked)&&m!==e.checked&&S(e,"checked",m,g.checked,!1))}return e}function D(t,n,r){try{"function"==typeof t?t(n):t.current=n}catch(t){e.__e(t,r)}}function E(t,n,r){var o,i,a;if(e.unmount&&e.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||D(o,null,n)),r||"function"==typeof t.type||(r=null!=(i=t.__e)),t.__e=t.__d=void 0,null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){e.__e(t,n)}o.base=o.__P=null}if(o=t.__k)for(a=0;a<o.length;a++)o[a]&&E(o[a],n,r);null!=i&&c(i)}function j(e,t,n){return this.constructor(e,n)}function L(t,n,r){var o,i,u;e.__&&e.__(t,n),i=(o="function"==typeof r)?null:r&&r.__k||n.__k,u=[],k(n,t=(!o&&r||n).__k=h(p,null,[t]),i||a,a,void 0!==n.ownerSVGElement,!o&&r?[r]:i?null:n.firstChild?s.slice.call(n.childNodes):null,u,!o&&r?r:i?i.__e:n.firstChild,o),z(u,t)}function O(e,t){L(e,t,O)}function I(e,t,n){var r,o,i,a=arguments,s=l({},e.props);for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);return null!=n&&(s.children=n),f(e.type,s,r||e.key,o||e.ref,null)}function N(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function P(e,t,n,r,o){var i={};return Object.keys(r).forEach((function(e){i[e]=r[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer?(Object.defineProperty(e,t,i),null):i}e={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e},__v:0},g.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=l({},this.state),"function"==typeof e&&(e=e(l({},n),this.props)),e&&l(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),m(this))},g.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),m(this))},g.prototype.render=p,t=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,y.__r=0,i=0;n(3725),n(5019),n(9838),n(1339),n(9471),n(9229);const F=[];Object.freeze(F);const R={};function G(){return++ot.mobxGuid}function H(e){throw U(!1,e),"X"}function U(e,t){if(!e)throw new Error("[mobx] "+(t||"An invariant failed, however the error is obfuscated because this is a production build."))}Object.freeze(R);function V(e){let t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}const q=()=>{};function W(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 W(e)&&!0===e[n]}}function Z(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 Q(e){return e&&e.toString?e.toString():new String(e).toString()}function ee(e){return null===e?null:"object"==typeof e?""+e:e}const te="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols?e=>Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)):Object.getOwnPropertyNames,ne=Symbol("mobx administration");class re{constructor(e="Atom@"+G()){this.name=e,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=ze.NOT_TRACKING}onBecomeObserved(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((e=>e()))}onBecomeUnobserved(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((e=>e()))}reportObserved(){return ct(this)}reportChanged(){ut(),function(e){if(e.lowestObserverState===ze.STALE)return;e.lowestObserverState=ze.STALE,e.observers.forEach((t=>{t.dependenciesState===ze.UP_TO_DATE&&(t.isTracing!==Be.NONE&&ht(t,e),t.onBecomeStale()),t.dependenciesState=ze.STALE}))}(this),lt()}toString(){return this.name}}const oe=$("Atom",re);function ie(e,t=q,n=q){const r=new re(e);var o;return t!==q&&zt("onBecomeObserved",r,t,o),n!==q&&kt(r,n),r}const ae={identity:function(e,t){return e===t},structural:function(e,t){return Cn(e,t)},default:function(e,t){return Object.is(e,t)},shallow:function(e,t){return Cn(e,t,1)}},se=Symbol("mobx did run lazy initializers"),ue=Symbol("mobx pending decorators"),le={},ce={};function he(e){if(!0===e[se])return;const t=e[ue];if(t){K(e,se,!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 fe(e,t){return function(){let n;const r=function(r,o,i,a){if(!0===a)return t(r,o,i,r,n),null;if(!Object.prototype.hasOwnProperty.call(r,ue)){const e=r[ue];K(r,ue,Object.assign({},e))}return r[ue][o]={prop:o,propertyCreator:t,descriptor:i,decoratorTarget:r,decoratorArguments:n},function(e,t){const n=t?le:ce;return n[e]||(n[e]={configurable:!0,enumerable:t,get(){return he(this),this[e]},set(t){he(this),this[e]=t}})}(o,e)};return(2===(o=arguments).length||3===o.length)&&("string"==typeof o[1]||"symbol"==typeof o[1])||4===o.length&&!0===o[3]?(n=F,r.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),r);var o}}function de(e,t,n){return Pt(e)?e:Array.isArray(e)?_e.array(e,{name:n}):Y(e)?_e.object(e,void 0,{name:n}):Z(e)?_e.map(e,{name:n}):J(e)?_e.set(e,{name:n}):e}function pe(e){return e}function ge(e){U(e);const t=fe(!0,((t,n,r,o,i)=>{const a=r?r.initializer?r.initializer.call(t):r.value:void 0;hn(t).addObservableProp(n,a,e)}));return t.enhancer=e,t}const be={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function ve(e){return null==e?be:"string"==typeof e?{name:e,deep:!0,proxy:!0}:e}Object.freeze(be);const me=ge(de),ye=ge((function(e,t,n){return null==e||bn(e)||en(e)||on(e)||ln(e)?e:Array.isArray(e)?_e.array(e,{name:n,deep:!1}):Y(e)?_e.object(e,void 0,{name:n,deep:!1}):Z(e)?_e.map(e,{name:n,deep:!1}):J(e)?_e.set(e,{name:n,deep:!1}):H(!1)})),Ce=ge(pe),Ae=ge((function(e,t,n){return Cn(e,t)?t:e}));function xe(e){return e.defaultDecorator?e.defaultDecorator.enhancer:!1===e.deep?pe:de}const we={box(e,t){arguments.length>2&&Se("box");const n=ve(t);return new Ze(e,xe(n),n.name,!0,n.equals)},array(e,t){arguments.length>2&&Se("array");const n=ve(t);return function(e,t,n="ObservableArray@"+G(),r=!1){const o=new Jt(n,t,r);i=o.values,a=ne,s=o,Object.defineProperty(i,a,{enumerable:!1,writable:!1,configurable:!0,value:s});var i,a,s;const u=new Proxy(o.values,Zt);if(o.proxy=u,e&&e.length){const t=Ke(!0);o.spliceWithArray(0,0,e),$e(t)}return u}(e,xe(n),n.name)},map(e,t){arguments.length>2&&Se("map");const n=ve(t);return new rn(e,xe(n),n.name)},set(e,t){arguments.length>2&&Se("set");const n=ve(t);return new un(e,xe(n),n.name)},object(e,t,n){"string"==typeof arguments[1]&&Se("object");const r=ve(n);if(!1===r.proxy)return Dt({},e,t,r);{const n=Et(r),o=function(e){const t=new Proxy(e,Ut);return e[ne].proxy=t,t}(Dt({},void 0,void 0,r));return jt(o,e,t,n),o}},ref:Ce,shallow:ye,deep:me,struct:Ae},_e=function(e,t,n){if("string"==typeof arguments[1]||"symbol"==typeof arguments[1])return me.apply(null,arguments);if(Pt(e))return e;const r=Y(e)?_e.object(e,t,n):Array.isArray(e)?_e.array(e,t):Z(e)?_e.map(e,t):J(e)?_e.set(e,t):e;if(r!==e)return r;H(!1)};function Se(e){H(`Expected one or two arguments to observable.${e}. Did you accidentally try to use observable.${e} as decorator?`)}Object.keys(we).forEach((e=>_e[e]=we[e]));const Me=fe(!1,((e,t,n,r,o)=>{const{get:i,set:a}=n,s=o[0]||{};hn(e).addComputedProp(e,t,Object.assign({get:i,set:a,context:e},s))})),Te=Me({equals:ae.structural}),ke=function(e,t,n){if("string"==typeof t)return Me.apply(null,arguments);if(null!==e&&"object"==typeof e&&1===arguments.length)return Me.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 Je(r)};var ze,Be;ke.struct=Te,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"}(ze||(ze={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Be||(Be={}));class De{constructor(e){this.cause=e}}function Ee(e){return e instanceof De}function je(e){switch(e.dependenciesState){case ze.UP_TO_DATE:return!1;case ze.NOT_TRACKING:case ze.STALE:return!0;case ze.POSSIBLY_STALE:{const t=Re(!0),n=Pe(),r=e.observing,o=r.length;for(let i=0;i<o;i++){const o=r[i];if(Xe(o)){if(ot.disableErrorBoundaries)o.get();else try{o.get()}catch(u){return Fe(n),Ge(t),!0}if(e.dependenciesState===ze.STALE)return Fe(n),Ge(t),!0}}return He(e),Fe(n),Ge(t),!1}}}function Le(e){const t=e.observers.size>0;ot.computationDepth>0&&t&&H(!1),ot.allowStateChanges||!t&&"strict"!==ot.enforceActions||H(!1)}function Oe(e,t,n){const r=Re(!0);He(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++ot.runId;const o=ot.trackingDerivation;let i;if(ot.trackingDerivation=e,!0===ot.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(u){i=new De(u)}return ot.trackingDerivation=o,function(e){const t=e.observing,n=e.observing=e.newObserving;let r=ze.UP_TO_DATE,o=0,i=e.unboundDepsCount;for(let a=0;a<i;a++){const e=n[a];0===e.diffValue&&(e.diffValue=1,o!==a&&(n[o]=e),o++),e.dependenciesState>r&&(r=e.dependenciesState)}n.length=o,e.newObserving=null,i=t.length;for(;i--;){const n=t[i];0===n.diffValue&&at(n,e),n.diffValue=0}for(;o--;){const t=n[o];1===t.diffValue&&(t.diffValue=0,it(t,e))}r!==ze.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),Ge(r),i}function Ie(e){const t=e.observing;e.observing=[];let n=t.length;for(;n--;)at(t[n],e);e.dependenciesState=ze.NOT_TRACKING}function Ne(e){const t=Pe();try{return e()}finally{Fe(t)}}function Pe(){const e=ot.trackingDerivation;return ot.trackingDerivation=null,e}function Fe(e){ot.trackingDerivation=e}function Re(e){const t=ot.allowStateReads;return ot.allowStateReads=e,t}function Ge(e){ot.allowStateReads=e}function He(e){if(e.dependenciesState===ze.UP_TO_DATE)return;e.dependenciesState=ze.UP_TO_DATE;const t=e.observing;let n=t.length;for(;n--;)t[n].lowestObserverState=ze.UP_TO_DATE}let Ue=0,Ve=1;const qe=Object.getOwnPropertyDescriptor((()=>{}),"name");qe&&qe.configurable;function We(e,t,n){const r=function(){return Ye(e,t,n||this,arguments)};return r.isMobxAction=!0,r}function Ye(e,t,n,r){const o=function(){const e=!1;let t=0;0;const n=Pe();ut();const r=Ke(!0),o=Re(!0),i={prevDerivation:n,prevAllowStateChanges:r,prevAllowStateReads:o,notifySpy:e,startTime:t,actionId:Ve++,parentActionId:Ue};return Ue=i.actionId,i}();try{return t.apply(n,r)}catch(i){throw o.error=i,i}finally{!function(e){Ue!==e.actionId&&H("invalid action stack. did you forget to finish an action?");Ue=e.parentActionId,void 0!==e.error&&(ot.suppressReactionErrors=!0);$e(e.prevAllowStateChanges),Ge(e.prevAllowStateReads),lt(),Fe(e.prevDerivation),e.notifySpy;ot.suppressReactionErrors=!1}(o)}}function Ke(e){const t=ot.allowStateChanges;return ot.allowStateChanges=e,t}function $e(e){ot.allowStateChanges=e}class Ze extends re{constructor(e,t,n="ObservableValue@"+G(),r=!0,o=ae.default){super(n),this.enhancer=t,this.name=n,this.equals=o,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))!==ot.UNCHANGED){0,this.setNewValue(e)}}prepareNewValue(e){if(Le(this),Vt(this)){const t=Wt(this,{object:this,type:"update",newValue:e});if(!t)return ot.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?ot.UNCHANGED:e}setNewValue(e){const t=this.value;this.value=e,this.reportChanged(),Yt(this)&&$t(this,{type:"update",object:this,newValue:e,oldValue:t})}get(){return this.reportObserved(),this.dehanceValue(this.value)}intercept(e){return qt(this,e)}observe(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),Kt(this,e)}toJSON(){return this.get()}toString(){return`${this.name}[${this.value}]`}valueOf(){return ee(this.get())}[Symbol.toPrimitive](){return this.valueOf()}}$("ObservableValue",Ze);class Je{constructor(e){this.dependenciesState=ze.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=ze.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+G(),this.value=new De(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Be.NONE,U(e.get,"missing option for computed: get"),this.derivation=e.get,this.name=e.name||"ComputedValue@"+G(),e.set&&(this.setter=We(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?ae.structural:ae.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}onBecomeStale(){!function(e){if(e.lowestObserverState!==ze.UP_TO_DATE)return;e.lowestObserverState=ze.POSSIBLY_STALE,e.observers.forEach((t=>{t.dependenciesState===ze.UP_TO_DATE&&(t.dependenciesState=ze.POSSIBLY_STALE,t.isTracing!==Be.NONE&&ht(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!==ot.inBatch||0!==this.observers.size||this.keepAlive?(ct(this),je(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState===ze.STALE)return;e.lowestObserverState=ze.STALE,e.observers.forEach((t=>{t.dependenciesState===ze.POSSIBLY_STALE?t.dependenciesState=ze.STALE:t.dependenciesState===ze.UP_TO_DATE&&(e.lowestObserverState=ze.UP_TO_DATE)}))}(this)):je(this)&&(this.warnAboutUntrackedRead(),ut(),this.value=this.computeValue(!1),lt());const e=this.value;if(Ee(e))throw e.cause;return e}peek(){const e=this.computeValue(!1);if(Ee(e))throw e.cause;return e}set(e){if(this.setter){U(!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 U(!1,!1)}trackAndCompute(){const e=this.value,t=this.dependenciesState===ze.NOT_TRACKING,n=this.computeValue(!0),r=t||Ee(e)||Ee(n)||!this.equals(e,n);return r&&(this.value=n),r}computeValue(e){let t;if(this.isComputing=!0,ot.computationDepth++,e)t=Oe(this,this.derivation,this.scope);else if(!0===ot.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(u){t=new De(u)}return ot.computationDepth--,this.isComputing=!1,t}suspend(){this.keepAlive||(Ie(this),this.value=void 0)}observe(e,t){let n,r=!0;return St((()=>{let o=this.get();if(!r||t){const t=Pe();e({type:"update",object:this,newValue:o,oldValue:n}),Fe(t)}r=!1,n=o}))}warnAboutUntrackedRead(){}toJSON(){return this.get()}toString(){return`${this.name}[${this.derivation.toString()}]`}valueOf(){return ee(this.get())}[Symbol.toPrimitive](){return this.valueOf()}}const Xe=$("ComputedValue",Je);class Qe{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 et={};function tt(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:et}let nt=!0,rt=!1,ot=function(){const e=tt();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(nt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Qe).version&&(nt=!1),nt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Qe):(setTimeout((()=>{rt||H("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new Qe)}();function it(e,t){e.observers.add(t),e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function at(e,t){e.observers.delete(t),0===e.observers.size&&st(e)}function st(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ot.pendingUnobservations.push(e))}function ut(){ot.inBatch++}function lt(){if(0==--ot.inBatch){bt();const e=ot.pendingUnobservations;for(let t=0;t<e.length;t++){const n=e[t];n.isPendingUnobservation=!1,0===n.observers.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBecomeUnobserved()),n instanceof Je&&n.suspend())}ot.pendingUnobservations=[]}}function ct(e){const t=ot.trackingDerivation;return null!==t?(t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e,e.isBeingObserved||(e.isBeingObserved=!0,e.onBecomeObserved())),!0):(0===e.observers.size&&ot.inBatch>0&&st(e),!1)}function ht(e,t){if(console.log(`[mobx.trace] '${e.name}' is invalidated due to a change in: '${t.name}'`),e.isTracing===Be.BREAK){const n=[];ft(Lt(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 Je?e.derivation.toString().replace(/[*]\//g,"/"):""}\n\nThe dependencies for this derivation are:\n\n${n.join("\n")}\n*/\n `)()}}function ft(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=>ft(e,t,n+1))))}class dt{constructor(e="Reaction@"+G(),t,n,r=!1){this.name=e,this.onInvalidate=t,this.errorHandler=n,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=ze.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+G(),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,ot.pendingReactions.push(this),bt())}isScheduled(){return this._isScheduled}runReaction(){if(!this.isDisposed){if(ut(),this._isScheduled=!1,je(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(u){this.reportExceptionInDerivation(u)}}lt()}}track(e){if(this.isDisposed)return;ut();const t=!1;this._isRunning=!0;const n=Oe(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&Ie(this),Ee(n)&&this.reportExceptionInDerivation(n.cause),lt()}reportExceptionInDerivation(e){if(this.errorHandler)return void this.errorHandler(e,this);if(ot.disableErrorBoundaries)throw e;const t=`[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '${this}'`;ot.suppressReactionErrors?console.warn(`[mobx] (error in reaction '${this.name}' suppressed, fix error of causing action below)`):console.error(t,e),ot.globalReactionErrorHandlers.forEach((t=>t(e,this)))}dispose(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(ut(),Ie(this),lt()))}getDisposer(){const e=this.dispose.bind(this);return e[ne]=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 ot.trackingDerivation;case 1:return vn(e[0]);case 2:return vn(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)}}const pt=100;let gt=e=>e();function bt(){ot.inBatch>0||ot.isRunningReactions||gt(vt)}function vt(){ot.isRunningReactions=!0;const e=ot.pendingReactions;let t=0;for(;e.length>0;){++t===pt&&(console.error(`Reaction doesn't converge to a stable state after ${pt} iterations. Probably there is a cycle in the reactive function: ${e[0]}`),e.splice(0));let n=e.splice(0);for(let e=0,t=n.length;e<t;e++)n[e].runReaction()}ot.isRunningReactions=!1}const mt=$("Reaction",dt);function yt(e){const t=gt;gt=n=>e((()=>t(n)))}function Ct(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function At(){H(!1)}function xt(e){return function(t,n,r){if(r){if(r.value)return{value:We(e,r.value),enumerable:!1,configurable:!0,writable:!0};const{initializer:t}=r;return{enumerable:!1,configurable:!0,writable:!0,initializer(){return We(e,t.call(this))}}}return function(e){return function(t,n,r){Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get(){},set(t){K(this,n,wt(e,t))}})}}(e).apply(this,arguments)}}const wt=function(e,t,n,r){return 1===arguments.length&&"function"==typeof e?We(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof t?We(e,t):1===arguments.length&&"string"==typeof e?xt(e):!0!==r?xt(t).apply(null,arguments):void K(e,t,We(e.name||t,n.value,this))};function _t(e,t,n){K(e,t,We(t,n.bind(e)))}function St(e,t=R){const n=t&&t.name||e.name||"Autorun@"+G();let r;if(!t.scheduler&&!t.delay)r=new dt(n,(function(){this.track(o)}),t.onError,t.requiresObservable);else{const e=Tt(t);let i=!1;r=new dt(n,(()=>{i||(i=!0,e((()=>{i=!1,r.isDisposed||r.track(o)})))}),t.onError,t.requiresObservable)}function o(){e(r)}return r.schedule(),r.getDisposer()}wt.bound=function(e,t,n,r){return!0===r?(_t(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get(){return _t(this,t,n.value||n.initializer.call(this)),this[t]},set:At}:{enumerable:!1,configurable:!0,set(e){_t(this,t,e)},get(){}}};const Mt=e=>e();function Tt(e){return e.scheduler?e.scheduler:e.delay?t=>setTimeout(t,e.delay):Mt}function kt(e,t,n){return zt("onBecomeUnobserved",e,t,n)}function zt(e,t,n,r){const o="function"==typeof r?vn(t,n):vn(t),i="function"==typeof r?r:n,a=`${e}Listeners`;o[a]?o[a].add(i):o[a]=new Set([i]);return"function"!=typeof o[e]?H(!1):function(){const e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}function Bt(e){const{enforceActions:t,computedRequiresReaction:n,computedConfigurable:r,disableErrorBoundaries:o,reactionScheduler:i,reactionRequiresObservable:a,observableRequiresReaction:s}=e;if(!0===e.isolateGlobalState&&((ot.pendingReactions.length||ot.inBatch||ot.isRunningReactions)&&H("isolateGlobalState should be called before MobX is running any reactions"),rt=!0,nt&&(0==--tt().__mobxInstanceCount&&(tt().__mobxGlobals=void 0),ot=new Qe)),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'`)}ot.enforceActions=e,ot.allowStateChanges=!0!==e&&"strict"!==e}void 0!==n&&(ot.computedRequiresReaction=!!n),void 0!==a&&(ot.reactionRequiresObservable=!!a),void 0!==s&&(ot.observableRequiresReaction=!!s,ot.allowStateReads=!ot.observableRequiresReaction),void 0!==r&&(ot.computedConfigurable=!!r),void 0!==o&&(!0===o&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),ot.disableErrorBoundaries=!!o),i&&yt(i)}function Dt(e,t,n,r){const o=Et(r=ve(r));return he(e),hn(e,r.name,o.enhancer),t&&jt(e,t,n,o),e}function Et(e){return e.defaultDecorator||(!1===e.deep?Ce:me)}function jt(e,t,n,r){ut();try{const o=te(t);for(const i of o){const o=Object.getOwnPropertyDescriptor(t,i);0;0;const a=(n&&i in n?n[i]:o.get?Me:r)(e,i,o,!0);a&&Object.defineProperty(e,i,a)}}finally{lt()}}function Lt(e,t){return Ot(vn(e,t))}function Ot(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(Ot)),t}function It(){this.message="FLOW_CANCELLED"}function Nt(e,t){return null!=e&&(void 0!==t?!!bn(e)&&e[ne].values.has(t):bn(e)||!!e[ne]||oe(e)||mt(e)||Xe(e))}function Pt(e){return 1!==arguments.length&&H(!1),Nt(e)}function Ft(e,t,n){if(2!==arguments.length||ln(e))if(bn(e)){const r=e[ne];r.values.get(t)?r.write(t,n):r.addObservableProp(t,n,r.defaultEnhancer)}else if(on(e))e.set(t,n);else if(ln(e))e.add(t);else{if(!en(e))return H(!1);"number"!=typeof t&&(t=parseInt(t,10)),U(t>=0,`Not a valid index: '${t}'`),ut(),t>=e.length&&(e.length=t+1),e[t]=n,lt()}else{ut();const n=t;try{for(let t in n)Ft(e,t,n[t])}finally{lt()}}}It.prototype=Object.create(Error.prototype);function Rt(e,t=void 0){ut();try{return e.apply(t)}finally{lt()}}function Gt(e){return e[ne]}function Ht(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e}const Ut={has(e,t){if(t===ne||"constructor"===t||t===se)return!0;const n=Gt(e);return Ht(t)?n.has(t):t in e},get(e,t){if(t===ne||"constructor"===t||t===se)return e[t];const n=Gt(e),r=n.values.get(t);if(r instanceof re){const e=r.get();return void 0===e&&n.has(t),e}return Ht(t)&&n.has(t),e[t]},set:(e,t,n)=>!!Ht(t)&&(Ft(e,t,n),!0),deleteProperty(e,t){if(!Ht(t))return!1;return Gt(e).remove(t),!0},ownKeys:e=>(Gt(e).keysAtom.reportObserved(),Reflect.ownKeys(e)),preventExtensions:e=>(H("Dynamic observable objects cannot be frozen"),!1)};function Vt(e){return void 0!==e.interceptors&&e.interceptors.length>0}function qt(e,t){const n=e.interceptors||(e.interceptors=[]);return n.push(t),V((()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Wt(e,t){const n=Pe();try{const n=[...e.interceptors||[]];for(let e=0,r=n.length;e<r&&(U(!(t=n[e](t))||t.type,"Intercept handlers should return nothing or a change object"),t);e++);return t}finally{Fe(n)}}function Yt(e){return void 0!==e.changeListeners&&e.changeListeners.length>0}function Kt(e,t){const n=e.changeListeners||(e.changeListeners=[]);return n.push(t),V((()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function $t(e,t){const n=Pe();let r=e.changeListeners;if(r){r=r.slice();for(let e=0,n=r.length;e<n;e++)r[e](t);Fe(n)}}const Zt={get:(e,t)=>t===ne?e[ne]:"length"===t?e[ne].getArrayLength():"number"==typeof t?Xt.get.call(e,t):"string"!=typeof t||isNaN(t)?Xt.hasOwnProperty(t)?Xt[t]:e[t]:Xt.get.call(e,parseInt(t)),set:(e,t,n)=>("length"===t&&e[ne].setArrayLength(n),"number"==typeof t&&Xt.set.call(e,t,n),"symbol"==typeof t||isNaN(t)?e[t]=n:Xt.set.call(e,parseInt(t),n),!0),preventExtensions:e=>(H("Observable arrays cannot be frozen"),!1)};class Jt{constructor(e,t,n){this.owned=n,this.values=[],this.proxy=void 0,this.lastKnownLength=0,this.atom=new re(e||"ObservableArray@"+G()),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 qt(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}),Kt(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;r<e-t;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)}updateArrayLength(e,t){if(e!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed.");this.lastKnownLength+=t}spliceWithArray(e,t,n){Le(this.atom);const r=this.values.length;if(void 0===e?e=0:e>r?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=F),Vt(this)){const r=Wt(this,{object:this.proxy,type:"splice",index:e,removedCount:t,added:n});if(!r)return F;t=r.removedCount,n=r.added}n=0===n.length?n:n.map((e=>this.enhancer(e,void 0)));const o=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,o),this.dehanceValues(o)}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,o=Yt(this),i=o||r?{object:this.proxy,type:"update",index:e,newValue:t,oldValue:n}:null;this.atom.reportChanged(),o&&$t(this,i)}notifyArraySplice(e,t,n){const r=!this.owned&&!1,o=Yt(this),i=o||r?{object:this.proxy,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom.reportChanged(),o&&$t(this,i)}}const Xt={intercept(e){return this[ne].intercept(e)},observe(e,t=!1){return this[ne].observe(e,t)},clear(){return this.splice(0)},replace(e){const t=this[ne];return t.spliceWithArray(0,t.values.length,e)},toJS(){return this.slice()},toJSON(){return this.toJS()},splice(e,t,...n){const r=this[ne];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[ne].spliceWithArray(e,t,n)},push(...e){const t=this[ne];return t.spliceWithArray(t.values.length,0,e),t.values.length},pop(){return this.splice(Math.max(this[ne].values.length-1,0),1)[0]},shift(){return this.splice(0,1)[0]},unshift(...e){const t=this[ne];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[ne],n=t.dehanceValues(t.values).indexOf(e);return n>-1&&(this.splice(n,1),!0)},get(e){const t=this[ne];if(t){if(e<t.values.length)return t.atom.reportObserved(),t.dehanceValue(t.values[e]);console.warn(`[mobx.array] Attempt to read an array index (${e}) that is out of bounds (${t.values.length}). Please check length first. Out of bound indices will not be tracked by MobX`)}},set(e,t){const n=this[ne],r=n.values;if(e<r.length){Le(n.atom);const o=r[e];if(Vt(n)){const r=Wt(n,{type:"update",object:n.proxy,index:e,newValue:t});if(!r)return;t=r.newValue}(t=n.enhancer(t,o))!==o&&(r[e]=t,n.notifyArrayChildUpdate(e,t,o))}else{if(e!==r.length)throw new Error(`[mobx.array] Index out of bounds, ${e} is larger than ${r.length}`);n.spliceWithArray(e,0,[t])}}};["concat","flat","includes","indexOf","join","lastIndexOf","slice","toString","toLocaleString"].forEach((e=>{"function"==typeof Array.prototype[e]&&(Xt[e]=function(){const t=this[ne];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]&&(Xt[e]=function(t,n){const r=this[ne];r.atom.reportObserved();return r.dehanceValues(r.values)[e](((e,r)=>t.call(n,e,r,this)),n)})})),["reduce","reduceRight"].forEach((e=>{Xt[e]=function(){const t=this[ne];t.atom.reportObserved();const n=arguments[0];return arguments[0]=(e,r,o)=>(r=t.dehanceValue(r),n(e,r,o,this)),t.values[e].apply(t.values,arguments)}}));const Qt=$("ObservableArrayAdministration",Jt);function en(e){return W(e)&&Qt(e[ne])}var tn;const nn={};class rn{constructor(e,t=de,n="ObservableMap@"+G()){if(this.enhancer=t,this.name=n,this[tn]=nn,this._keysAtom=ie(`${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(!ot.trackingDerivation)return this._has(e);let t=this._hasMap.get(e);if(!t){const n=t=new Ze(this._has(e),pe,`${this.name}.${Q(e)}?`,!1);this._hasMap.set(e,n),kt(n,(()=>this._hasMap.delete(e)))}return t.get()}set(e,t){const n=this._has(e);if(Vt(this)){const r=Wt(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(Le(this._keysAtom),Vt(this)){if(!Wt(this,{type:"delete",object:this,name:e}))return!1}if(this._has(e)){const t=!1,n=Yt(this),r=n||t?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return Rt((()=>{this._keysAtom.reportChanged(),this._updateHasMapEntry(e,!1);this._data.get(e).setNewValue(void 0),this._data.delete(e)})),n&&$t(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))!==ot.UNCHANGED){const r=!1,o=Yt(this),i=o||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;0,n.setNewValue(t),o&&$t(this,i)}}_addValue(e,t){Le(this._keysAtom),Rt((()=>{const n=new Ze(t,this.enhancer,`${this.name}.${Q(e)}`,!1);this._data.set(e,n),t=n.value,this._updateHasMapEntry(e,!0),this._keysAtom.reportChanged()}));const n=!1,r=Yt(this);r&&$t(this,r?{type:"add",object:this,name:e,newValue:t}:null)}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 _n({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 _n({next(){const{done:n,value:r}=t.next();return{done:n,value:n?void 0:[r,e.get(r)]}}})}[(tn=ne,Symbol.iterator)](){return this.entries()}forEach(e,t){for(const[n,r]of this)e.call(t,r,n,this)}merge(e){return on(e)&&(e=e.toJS()),Rt((()=>{const t=Ke(!0);try{Y(e)?X(e).forEach((t=>this.set(t,e[t]))):Array.isArray(e)?e.forEach((([e,t])=>this.set(e,t))):Z(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{$e(t)}})),this}clear(){Rt((()=>{Ne((()=>{for(const e of this.keys())this.delete(e)}))}))}replace(e){return Rt((()=>{const t=function(e){if(Z(e)||on(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,o]of t.entries()){const t=this._data.has(e);if(this.set(e,o),this._data.has(e)){const o=this._data.get(e);n.set(e,o),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(),o=t.next();for(;!r.done;){if(r.value!==o.value){this._keysAtom.reportChanged();break}r=e.next(),o=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:Q(t)]=n;return e}toJS(){return new Map(this)}toJSON(){return this.toPOJO()}toString(){return this.name+"[{ "+Array.from(this.keys()).map((e=>`${Q(e)}: ${""+this.get(e)}`)).join(", ")+" }]"}observe(e,t){return Kt(this,e)}intercept(e){return qt(this,e)}}const on=$("ObservableMap",rn);var an;const sn={};class un{constructor(e,t=de,n="ObservableSet@"+G()){if(this.name=n,this[an]=sn,this._data=new Set,this._atom=ie(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(){Rt((()=>{Ne((()=>{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(Le(this._atom),Vt(this)){if(!Wt(this,{type:"add",object:this,newValue:e}))return this}if(!this.has(e)){Rt((()=>{this._data.add(this.enhancer(e,void 0)),this._atom.reportChanged()}));const t=!1,n=Yt(this);0,n&&$t(this,n||t?{type:"add",object:this,newValue:e}:null)}return this}delete(e){if(Vt(this)){if(!Wt(this,{type:"delete",object:this,oldValue:e}))return!1}if(this.has(e)){const t=!1,n=Yt(this),r=n||t?{type:"delete",object:this,oldValue:e}:null;return Rt((()=>{this._atom.reportChanged(),this._data.delete(e)})),n&&$t(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 _n({next(){const r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})}keys(){return this.values()}values(){this._atom.reportObserved();const e=this;let t=0;const n=Array.from(this._data.values());return _n({next:()=>t<n.length?{value:e.dehanceValue(n[t++]),done:!1}:{done:!0}})}replace(e){return ln(e)&&(e=e.toJS()),Rt((()=>{const t=Ke(!0);try{Array.isArray(e)||J(e)?(this.clear(),e.forEach((e=>this.add(e)))):null!=e&&H("Cannot initialize set from "+e)}finally{$e(t)}})),this}observe(e,t){return Kt(this,e)}intercept(e){return qt(this,e)}toJS(){return new Set(this)}toString(){return this.name+"[ "+Array.from(this).join(", ")+" ]"}[(an=ne,Symbol.iterator)](){return this.values()}}const ln=$("ObservableSet",un);class cn{constructor(e,t=new Map,n,r){this.target=e,this.values=t,this.name=n,this.defaultEnhancer=r,this.keysAtom=new re(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 Je)r.set(t);else{if(Vt(this)){const r=Wt(this,{type:"update",object:this.proxy||n,name:e,newValue:t});if(!r)return;t=r.newValue}if((t=r.prepareNewValue(t))!==ot.UNCHANGED){const o=Yt(this),i=!1,a=o||i?{type:"update",object:this.proxy||n,oldValue:r.value,name:e,newValue:t}:null;0,r.setNewValue(t),o&&$t(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 Ze(r,pe,`${this.name}.${Q(e)}?`,!1),t.set(e,n),n.get()}}addObservableProp(e,t,n=this.defaultEnhancer){const{target:r}=this;if(Vt(this)){const n=Wt(this,{object:this.proxy||r,name:e,type:"add",newValue:t});if(!n)return;t=n.newValue}const o=new Ze(t,n,`${this.name}.${Q(e)}`,!1);this.values.set(e,o),t=o.value,Object.defineProperty(r,e,function(e){return fn[e]||(fn[e]={configurable:!0,enumerable:!0,get(){return this[ne].read(e)},set(t){this[ne].write(e,t)}})}(e)),this.notifyPropertyAddition(e,t)}addComputedProp(e,t,n){const{target:r}=this;n.name=n.name||`${this.name}.${Q(t)}`,this.values.set(t,new Je(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 dn[e]||(dn[e]={configurable:ot.computedConfigurable,enumerable:!1,get(){return pn(this).read(e)},set(t){pn(this).write(e,t)}})}(t))}remove(e){if(!this.values.has(e))return;const{target:t}=this;if(Vt(this)){if(!Wt(this,{object:this.proxy||t,name:e,type:"remove"}))return}try{ut();const n=Yt(this),r=!1,o=this.values.get(e),i=o&&o.get();if(o&&o.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:i,name:e}:null;0,n&&$t(this,a)}finally{lt()}}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 Kt(this,e)}intercept(e){return qt(this,e)}notifyPropertyAddition(e,t){const n=Yt(this),r=n?{type:"add",object:this.proxy||this.target,name:e,newValue:t}:null;if(n&&$t(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 Ze&&e.push(t);return e}}function hn(e,t="",n=de){if(Object.prototype.hasOwnProperty.call(e,ne))return e[ne];Y(e)||(t=(e.constructor.name||"ObservableObject")+"@"+G()),t||(t="ObservableObject@"+G());const r=new cn(e,new Map,Q(t),n);return K(e,ne,r),r}const fn=Object.create(null),dn=Object.create(null);function pn(e){const t=e[ne];return t||(he(e),e[ne])}const gn=$("ObservableObjectAdministration",cn);function bn(e){return!!W(e)&&(he(e),gn(e[ne]))}function vn(e,t){if("object"==typeof e&&null!==e){if(en(e))return void 0!==t&&H(!1),e[ne].atom;if(ln(e))return e[ne];if(on(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(he(e),t&&!e[ne]&&e[t],bn(e)){if(!t)return H(!1);const n=e[ne].values.get(t);return n||H(!1),n}if(oe(e)||Xe(e)||mt(e))return e}else if("function"==typeof e&&mt(e[ne]))return e[ne];return H(!1)}function mn(e,t){return e||H("Expecting some object"),void 0!==t?mn(vn(e,t)):oe(e)||Xe(e)||mt(e)||on(e)||ln(e)?e:(he(e),e[ne]?e[ne]:void H(!1))}const yn=Object.prototype.toString;function Cn(e,t,n=-1){return An(e,t,n)}function An(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;const i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;const a=yn.call(e);if(a!==yn.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=xn(e),t=xn(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),o=o||[];let u=(r=r||[]).length;for(;u--;)if(r[u]===e)return o[u]===t;if(r.push(e),o.push(t),s){if(u=e.length,u!==t.length)return!1;for(;u--;)if(!An(e[u],t[u],n-1,r,o))return!1}else{const i=Object.keys(e);let a;if(u=i.length,Object.keys(t).length!==u)return!1;for(;u--;)if(a=i[u],!wn(t,a)||!An(e[a],t[a],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function xn(e){return en(e)?e.slice():Z(e)||on(e)||J(e)||ln(e)?Array.from(e.entries()):e}function wn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _n(e){return e[Symbol.iterator]=Sn,e}function Sn(){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 Mn(e){return"number"==typeof e.parsedSize}function Tn(e,t){for(const n of e){if(!1===t(n))return!1;if(n.groups&&!1===Tn(n.groups,t))return!1}}"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Ct,extras:{getDebugName:function(e,t){let n;return n=void 0!==t?vn(e,t):bn(e)||on(e)||ln(e)?mn(e):vn(e),n.name}},$mobx:ne});const kn="wba",zn={getItem(e){try{return JSON.parse(window.localStorage.getItem(`${kn}.${e}`))}catch(t){return null}},setItem(e,t){try{window.localStorage.setItem(`${kn}.${e}`,JSON.stringify(t))}catch(n){}},removeItem(e){try{window.localStorage.removeItem(`${kn}.${e}`)}catch(t){}}};var Bn,Dn,En,jn,Ln,On,In,Nn,Pn,Fn;const Rn=new(Bn=_e.ref,Dn=_e.shallow,jn=P((En=class{constructor(){this.cid=0,this.sizes=new Set(["statSize","parsedSize","gzipSize","brotliSize"]),N(this,"allChunks",jn,this),N(this,"selectedChunks",Ln,this),N(this,"searchQuery",On,this),N(this,"defaultSize",In,this),N(this,"selectedSize",Nn,this),N(this,"showConcatenatedModulesContent",Pn,this),N(this,"darkMode",Fn,this)}setModules(e){Tn(e,(e=>{e.cid=this.cid++})),this.allChunks=e,this.selectedChunks=this.allChunks}setEntrypoints(e){this.entrypoints=e}get hasParsedSizes(){return this.allChunks.some(Mn)}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=[];Tn(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 Tn(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}),[])}toggleDarkMode(){this.darkMode=!this.darkMode;try{zn.setItem("darkMode",this.darkMode)}catch(u){}this.updateTheme()}updateTheme(){this.darkMode?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.removeAttribute("data-theme")}}).prototype,"allChunks",[Bn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ln=P(En.prototype,"selectedChunks",[Dn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),On=P(En.prototype,"searchQuery",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),In=P(En.prototype,"defaultSize",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Nn=P(En.prototype,"selectedSize",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Pn=P(En.prototype,"showConcatenatedModulesContent",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0===zn.getItem("showConcatenatedModulesContent")}}),Fn=P(En.prototype,"darkMode",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(()=>{const e=window.matchMedia("(prefers-color-scheme: dark)").matches;try{const e=zn.getItem("darkMode");if(null!==e)return"true"===e}catch(u){}return e})()}}),P(En.prototype,"hasParsedSizes",[ke],Object.getOwnPropertyDescriptor(En.prototype,"hasParsedSizes"),En.prototype),P(En.prototype,"activeSize",[ke],Object.getOwnPropertyDescriptor(En.prototype,"activeSize"),En.prototype),P(En.prototype,"visibleChunks",[ke],Object.getOwnPropertyDescriptor(En.prototype,"visibleChunks"),En.prototype),P(En.prototype,"allChunksSelected",[ke],Object.getOwnPropertyDescriptor(En.prototype,"allChunksSelected"),En.prototype),P(En.prototype,"totalChunksSize",[ke],Object.getOwnPropertyDescriptor(En.prototype,"totalChunksSize"),En.prototype),P(En.prototype,"searchQueryRegexp",[ke],Object.getOwnPropertyDescriptor(En.prototype,"searchQueryRegexp"),En.prototype),P(En.prototype,"isSearching",[ke],Object.getOwnPropertyDescriptor(En.prototype,"isSearching"),En.prototype),P(En.prototype,"foundModulesByChunk",[ke],Object.getOwnPropertyDescriptor(En.prototype,"foundModulesByChunk"),En.prototype),P(En.prototype,"foundModules",[ke],Object.getOwnPropertyDescriptor(En.prototype,"foundModules"),En.prototype),P(En.prototype,"hasFoundModules",[ke],Object.getOwnPropertyDescriptor(En.prototype,"hasFoundModules"),En.prototype),P(En.prototype,"hasConcatenatedModules",[ke],Object.getOwnPropertyDescriptor(En.prototype,"hasConcatenatedModules"),En.prototype),P(En.prototype,"foundModulesSize",[ke],Object.getOwnPropertyDescriptor(En.prototype,"foundModulesSize"),En.prototype),En);n(2598);var Gn,Hn,Un,Vn=n(1965),qn=n.n(Vn),Wn=0,Yn=[],Kn=e.__b,$n=e.__r,Zn=e.diffed,Jn=e.__c,Xn=e.unmount;function Qn(t,n){e.__h&&e.__h(Hn,t,Wn||n),Wn=0;var r=Hn.__H||(Hn.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({}),r.__[t]}function er(e){return Wn=1,tr(cr,e)}function tr(e,t,n){var r=Qn(Gn++,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=Qn(Gn++,4);!e.__s&&lr(r.__H,n)&&(r.__=t,r.__H=n,Hn.__h.push(r))}function rr(e,t){var n=Qn(Gn++,7);return lr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function or(e,t){return Wn=8,rr((function(){return e}),t)}function ir(){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.__b=function(e){Hn=null,Kn&&Kn(e)},e.__r=function(e){$n&&$n(e),Gn=0;var t=(Hn=e.__c).__H;t&&(t.__h.forEach(sr),t.__h.forEach(ur),t.__h=[])},e.diffed=function(t){Zn&&Zn(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==Yn.push(n)&&Un===e.requestAnimationFrame||((Un=e.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ar&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ar&&(t=requestAnimationFrame(n))})(ir)),Hn=void 0},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)}})),Jn&&Jn(t,n)},e.unmount=function(t){Xn&&Xn(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){var t=Hn;"function"==typeof e.__c&&e.__c(),Hn=t}function ur(e){var t=Hn;e.__c=e.__(),Hn=t}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,h(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 mr=function(e,t){return null==e?null:x(x(e).map(t))},yr={map:mr,forEach:mr,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;e.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);Cr(e,t,n)};var Ar=e.unmount;function xr(){this.__u=0,this.t=null,this.__b=null}function wr(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function _r(){this.u=null,this.o=null}e.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Ar&&Ar(e)},(xr.prototype=new g).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=wr(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},u=!0===t.__h;r.__u++||u||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},xr.prototype.componentWillUnmount=function(){this.t=[]},xr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=hr({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&h(p,null,e.fallback);return o&&(o.__h=null),[h(p,null,t.__e?null:e.children),o]};var Sr=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]<n[0])break;e.u=n=n[2]}};function Mr(e){return this.getChildContext=function(){return e.context},e.children}function Tr(e){var t=this,n=e.i;t.componentWillUnmount=function(){L(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),L(h(Mr,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(_r.prototype=new g).__e=function(e){var t=this,n=wr(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Sr(t,e,r)):o()};n?n(i):i()}},_r.prototype.render=function(e){this.u=null,this.o=new Map;var t=x(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},_r.prototype.componentDidUpdate=_r.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Sr(e,n,t)}))};var kr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,zr=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Br=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};g.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(g.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Dr=e.event;function Er(){}function jr(){return this.cancelBubble}function Lr(){return this.defaultPrevented}e.event=function(e){return Dr&&(e=Dr(e)),e.persist=Er,e.isPropagationStopped=jr,e.isDefaultPrevented=Lr,e.nativeEvent=e};var Or,Ir={configurable:!0,get:function(){return this.class}},Nr=e.vnode;e.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var o in r={},n){var i=n[o];"value"===o&&"defaultValue"in n&&null==i||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===i?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Br(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():zr.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===i&&(i=void 0),r[o]=i)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=x(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=x(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(Ir.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ir)),e.$$typeof=kr,Nr&&Nr(e)};var Pr=e.__r;e.__r=function(e){Pr&&Pr(e),Or=e.__c};var Fr={ReactCurrentDispatcher:{current:{readContext:function(e){return Or.__n[e.__c].props.value}}}};"object"==typeof performance&&"function"==typeof performance.now&&performance.now.bind(performance);function Rr(e){return!!e&&e.$$typeof===kr}var Gr=function(e,t){return e(t)};const Hr={useState:er,useReducer:tr,useEffect:function(t,n){var r=Qn(Gn++,3);!e.__s&&lr(r.__H,n)&&(r.__=t,r.__H=n,Hn.__H.__h.push(r))},useLayoutEffect:nr,useRef:function(e){return Wn=5,rr((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){Wn=6,nr((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))},useMemo:rr,useCallback:or,useContext:function(e){var t=Hn.context[e.__c],n=Qn(Gn++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(Hn)),t.props.value):e.__},useDebugValue:function(t,n){e.useDebugValue&&e.useDebugValue(n?n(t):t)},version:"16.8.0",Children:yr,render:function(e,t,n){return null==t.__k&&(t.textContent=""),L(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return O(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(L(null,e),!0)},createPortal:function(e,t){return h(Tr,{__v:e,i:t})},createElement:h,createContext:function(e,t){var n={__c:t="__cC"+i++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(m)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return h.bind(null,e)},cloneElement:function(e){return Rr(e)?I.apply(null,arguments):e},createRef:d,Fragment:p,isValidElement:Rr,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:g,PureComponent:dr,memo:pr,forwardRef:vr,unstable_batchedUpdates:Gr,StrictMode:p,Suspense:xr,SuspenseList:_r,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return h(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fr};if(!er)throw new Error("mobx-react-lite requires React with Hooks support");if(!Ct)throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var Ur=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function Vr(){var e=Ur(er(0),2)[1];return or((function(){e((function(e){return e+1}))}),[])}var qr={};var Wr,Yr=(Wr="observerBatching","function"==typeof Symbol?Symbol.for(Wr):"__$mobx-react "+Wr+"__");function Kr(e){e()}var $r=!1;function Zr(){return $r}function Jr(e){return Lt(e)}var Xr,Qr=1e4,eo=new Set;function to(){void 0===Xr&&(Xr=setTimeout(no,1e4))}function no(){Xr=void 0;var e=Date.now();eo.forEach((function(t){var n=t.current;n&&e>=n.cleanAt&&(n.reaction.dispose(),t.current=null,eo.delete(t))})),eo.size>0&&to()}var ro=!1,oo=[];var io={};function ao(e){return"observer"+e}function so(e,t,n){if(void 0===t&&(t="observed"),void 0===n&&(n=io),Zr())return e();var r,o=function(e){return function(){ro?oo.push(e):e()}}((n.useForceUpdate||Vr)()),i=Hr.useRef(null);if(!i.current){var a=new dt(ao(t),(function(){s.mounted?o():(a.dispose(),i.current=null)})),s=function(e){return{cleanAt:Date.now()+Qr,reaction:e}}(a);i.current=s,r=i,eo.add(r),to()}var l=i.current.reaction;return Hr.useDebugValue(l,Jr),Hr.useEffect((function(){var e;return e=i,eo.delete(e),i.current?i.current.mounted=!0:(i.current={reaction:new dt(ao(t),(function(){o()})),cleanAt:1/0},o()),function(){i.current.reaction.dispose(),i.current=null}}),[]),function(e){ro=!0,oo=[];try{var t=e();ro=!1;var n=oo.length>0?oo:void 0;return Hr.useLayoutEffect((function(){n&&n.forEach((function(e){return e()}))}),[n]),t}finally{ro=!1}}((function(){var t,n;if(l.track((function(){try{t=e()}catch(u){n=u}})),n)throw n;return t}))}var uo=function(){return uo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},uo.apply(this,arguments)};function lo(e,t){if(Zr())return e;var n,r,o,i=uo({forwardRef:!1},t),a=e.displayName||e.name,s=function(t,n){return so((function(){return e(t,n)}),a)};return s.displayName=a,n=i.forwardRef?pr(vr(s)):pr(s),r=e,o=n,Object.keys(r).forEach((function(e){co[e]||Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(r,e))})),n.displayName=a,n}var co={$$typeof:!0,render:!0,compare:!0,type:!0};function ho(e){var t=e.children,n=e.render,r=t||n;return"function"!=typeof r?null:so(r)}function fo(e,t,n,r,o){var i="children"===t?"render":"children",a="function"==typeof e[t],s="function"==typeof e[i];return a&&s?new Error("MobX Observer: Do not use children and render in the same time in`"+n):a||s?null:new Error("Invalid prop `"+o+"` of type `"+typeof e[t]+"` supplied to `"+n+"`, expected `function`.")}ho.propTypes={children:fo,render:fo},ho.displayName="Observer";!function(e){e||(e=Kr),Bt({reactionScheduler:e}),("undefined"!=typeof window?window:"undefined"!=typeof self?self:qr)[Yr]=!0}(Gr);var po=0;var go={};function bo(e){return go[e]||(go[e]=function(e){if("function"==typeof Symbol)return Symbol(e);var t="__$mobx-react "+e+" ("+po+")";return po++,t}(e)),go[e]}function vo(e,t){if(mo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.hasOwnProperty.call(t,n[o])||!mo(e[n[o]],t[n[o]]))return!1;return!0}function mo(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function yo(e,t,n){Object.hasOwnProperty.call(e,t)?e[t]=n:Object.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})}var Co=bo("patchMixins"),Ao=bo("patchedDefinition");function xo(e,t){for(var n=this,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];t.locks++;try{var a;return null!=e&&(a=e.apply(this,o)),a}finally{t.locks--,0===t.locks&&t.methods.forEach((function(e){e.apply(n,o)}))}}function wo(e,t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];xo.call.apply(xo,[this,e,t].concat(r))}}function _o(e,t,n){var r=function(e,t){var n=e[Co]=e[Co]||{},r=n[t]=n[t]||{};return r.locks=r.locks||0,r.methods=r.methods||[],r}(e,t);r.methods.indexOf(n)<0&&r.methods.push(n);var o=Object.getOwnPropertyDescriptor(e,t);if(!o||!o[Ao]){var i=e[t],a=So(e,t,o?o.enumerable:void 0,r,i);Object.defineProperty(e,t,a)}}function So(e,t,n,r,o){var i,a=wo(o,r);return(i={})[Ao]=!0,i.get=function(){return a},i.set=function(o){if(this===e)a=wo(o,r);else{var i=So(this,t,n,r,o);Object.defineProperty(this,t,i)}},i.configurable=!0,i.enumerable=n,i}var Mo=ne||"$mobx",To=bo("isMobXReactObserver"),ko=bo("isUnmounted"),zo=bo("skipRender"),Bo=bo("isForcingUpdate");function Do(e){var t=e.prototype;if(e[To]){var n=Eo(t);console.warn("The provided component class ("+n+") \n has already been declared as an observer component.")}else e[To]=!0;if(t.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(e.__proto__!==dr)if(t.shouldComponentUpdate){if(t.shouldComponentUpdate!==Lo)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else t.shouldComponentUpdate=Lo;Oo(t,"props"),Oo(t,"state");var r=t.render;return t.render=function(){return jo.call(this,r)},_o(t,"componentWillUnmount",(function(){var e;if(!0!==Zr()&&(null===(e=this.render[Mo])||void 0===e||e.dispose(),this[ko]=!0,!this.render[Mo])){var t=Eo(this);console.warn("The reactive render of an observer class component ("+t+") \n was overriden after MobX attached. This may result in a memory leak if the \n overriden reactive render was not properly disposed.")}})),e}function Eo(e){return e.displayName||e.name||e.constructor&&(e.constructor.displayName||e.constructor.name)||"<component>"}function jo(e){var t=this;if(!0===Zr())return e.call(this);yo(this,zo,!1),yo(this,Bo,!1);var n=Eo(this),r=e.bind(this),o=!1,i=new dt(n+".render()",(function(){if(!o&&(o=!0,!0!==t[ko])){var e=!0;try{yo(t,Bo,!0),t[zo]||g.prototype.forceUpdate.call(t),e=!1}finally{yo(t,Bo,!1),e&&i.dispose()}}}));function a(){o=!1;var e=void 0,t=void 0;if(i.track((function(){try{t=function(e,t){const n=Ke(e);let r;try{r=t()}finally{$e(n)}return r}(!1,r)}catch(u){e=u}})),e)throw e;return t}return i.reactComponent=this,a[Mo]=i,this.render=a,a.call(this)}function Lo(e,t){return Zr()&&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||!vo(this.props,e)}function Oo(e,t){var n=bo("reactProp_"+t+"_valueHolder"),r=bo("reactProp_"+t+"_atomHolder");function o(){return this[r]||yo(this,r,ie("reactive "+t)),this[r]}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){var e=!1;return Re&&Ge&&(e=Re(!0)),o.call(this).reportObserved(),Re&&Ge&&Ge(e),this[n]},set:function(e){this[Bo]||vo(this[n],e)?yo(this,n,e):(yo(this,n,e),yo(this,zo,!0),o.call(this).reportChanged(),yo(this,zo,!1))}})}var Io="function"==typeof Symbol&&Symbol.for,No=Io?Symbol.for("react.forward_ref"):vr((function(e){return null})).$$typeof,Po=Io?Symbol.for("react.memo"):pr((function(e){return null})).$$typeof;function Fo(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'"),Po&&e.$$typeof===Po)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(No&&e.$$typeof===No){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 h(ho,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)?Do(e):lo(e)}if(!g)throw new Error("mobx-react requires React to be available");if(!_e)throw new Error("mobx-react requires mobx to be available");
|
|
25
|
+
Copyright (c) 2018 Jed Watson.
|
|
26
|
+
Licensed under the MIT License (MIT), see
|
|
27
|
+
http://jedwatson.github.io/classnames
|
|
28
|
+
*/!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.b="undefined"!=typeof document&&document.baseURI||self.location.href,n.nc=void 0,(()=>{"use strict";var e={};n.r(e),n.d(e,{chunk:()=>_o.iv,container:()=>_o.kL,default:()=>Co,folder:()=>_o.TV,invisible:()=>_o.q4,module:()=>_o.xG});var t=n(172);
|
|
29
|
+
/**
|
|
30
|
+
* filesize
|
|
31
|
+
*
|
|
32
|
+
* @copyright 2025 Jason Mulligan <jason.mulligan@avoidwork.com>
|
|
33
|
+
* @license BSD-3-Clause
|
|
34
|
+
* @version 11.0.13
|
|
35
|
+
*/
|
|
36
|
+
const i="iec",r="jedec",o="si",a="bits",s="byte",u="bytes",l="array",c="object",h="string",f="exponent",d="round",p="",v={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}},g=[1,1024,1048576,1073741824,1099511627776,0x4000000000000,0x1000000000000000,11805916207174113e5,12089258196146292e8],b=[1,1e3,1e6,1e9,1e12,1e15,1e18,1e21,1e24],m=Math.log(1024),_=Math.log(1e3),y={[o]:{isDecimal:!0,ceil:1e3,actualStandard:r},[i]:{isDecimal:!1,ceil:1024,actualStandard:i},[r]:{isDecimal:!1,ceil:1024,actualStandard:r}};function C(e,t,n,i,r){let o=e/(n?b[t]:g[t]);return i&&(o*=8,o>=r&&t<8&&(o/=r,t++)),{result:o,e:t}}function A(e,{bits:t=!1,pad:n=!1,base:o=-1,round:g=2,locale:b="",localeOptions:A={},separator:x="",spacer:w=" ",symbols:S={},standard:M="",output:T=h,fullform:k=!1,fullforms:z=[],exponent:B=-1,roundingMethod:D=d,precision:E=0}={}){let j=B,L=Number(e),O=[],I=0,P=p;const{isDecimal:N,ceil:R,actualStandard:F}=function(e,t){return y[e]?y[e]:2===t?{isDecimal:!1,ceil:1024,actualStandard:i}:{isDecimal:!0,ceil:1e3,actualStandard:r}}(M,o),G=!0===k,q=L<0,U=Math[D];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof U)throw new TypeError("Invalid rounding method");if(q&&(L=-L),0===L)return function(e,t,n,i,r,o,h,d){const p=[];p[0]=e>0?(0).toPrecision(e):0;const g=p[1]=v.symbol[t][n?a:u][0];return h===f?0:(i[p[1]]&&(p[1]=i[p[1]]),r&&(p[1]=o[0]||v.fullform[t][0]+(n?"bit":s)),h===l?p:h===c?{value:p[0],symbol:p[1],exponent:0,unit:g}:p.join(d))}(E,F,t,S,G,z,T,w);if((-1===j||isNaN(j))&&(j=N?Math.floor(Math.log(L)/_):Math.floor(Math.log(L)/m),j<0&&(j=0)),j>8&&(E>0&&(E+=8-j),j=8),T===f)return j;const{result:V,e:H}=C(L,j,N,t,R);I=V,j=H;const W=j>0&&g>0?Math.pow(10,g):1;if(O[0]=1===W?U(I):U(I*W)/W,O[0]===R&&j<8&&-1===B&&(O[0]=1,j++),E>0){const e=function(e,t,n,i,r,o,a,s,u){let l=e.toPrecision(t);if(l.includes("e")&&n<8){n++;const{result:e}=C(i,n,r,o,a),c=u>0?Math.pow(10,u):1;l=(1===c?s(e):s(e*c)/c).toPrecision(t)}return{value:l,e:n}}(O[0],E,j,L,N,t,R,U,g);O[0]=e.value,j=e.e}const K=v.symbol[F][t?a:u];return P=O[1]=N&&1===j?t?"kbit":"kB":K[j],q&&(O[0]=-O[0]),S[O[1]]&&(O[1]=S[O[1]]),O[0]=function(e,t,n,i,r,o){let a=e;if(!0===t?a=a.toLocaleString():t.length>0?a=a.toLocaleString(t,n):i.length>0&&(a=a.toString().replace(".",i)),r&&o>0){const e=a.toString(),t=i||(e.match(/(\D)/g)||[]).pop()||".",n=e.split(t),r=n[1]||p,s=r.length,u=o-s;a=`${n[0]}${t}${r.padEnd(s+u,"0")}`}return a}(O[0],b,A,x,n,g),G&&(O[1]=z[j]||v.fullform[F][j]+(t?"bit":s)+(1===O[0]?p:"s")),T===l?O:T===c?{value:O[0],symbol:O[1],exponent:j,unit:P}:" "===w?`${O[0]} ${O[1]}`:O.join(w)}function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var w={};function S(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:w}var M=Object.assign,T=Object.getOwnPropertyDescriptor,k=Object.defineProperty,z=Object.prototype,B=[];Object.freeze(B);var D={};Object.freeze(D);var E="undefined"!=typeof Proxy,j=Object.toString();function L(){E||x("Proxy not available")}function O(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var I=function(){};function P(e){return"function"==typeof e}function N(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function R(e){return null!==e&&"object"==typeof e}function F(e){if(!R(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===j}function G(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function q(e,t,n){k(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function U(e,t,n){k(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function V(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return R(e)&&!0===e[n]}}function H(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function W(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var K=void 0!==Object.getOwnPropertySymbols;var Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:K?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function Z(e){return null===e?null:"object"==typeof e?""+e:e}function X(e,t){return z.hasOwnProperty.call(e,t)}var $=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach(function(n){t[n]=T(e,n)}),t};function Q(e,t){return!!(e&t)}function J(e,t,n){return n?e|=t:e&=~t,e}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function te(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,se(i.key),i)}}function ne(e,t,n){return t&&te(e.prototype,t),n&&te(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ie(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ee(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ee(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},re.apply(null,arguments)}function oe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ae(e,t)}function ae(e,t){return ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ae(e,t)}function se(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}var ue=Symbol("mobx-stored-annotations");function le(e){return Object.assign(function(t,n){if(he(n))return e.decorate_20223_(t,n);ce(t,n,e)},e)}function ce(e,t,n){X(e,ue)||q(e,ue,re({},e[ue])),function(e){return e.annotationType_===_e}(n)||(e[ue][t]=n)}function he(e){return"object"==typeof e&&"string"==typeof e.kind}var fe=Symbol("mobx administration"),de=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=mt.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return qt(this)},t.reportChanged=function(){Ft(),Ut(this),Gt()},t.toString=function(){return this.name_},ne(e,[{key:"isBeingObserved",get:function(){return Q(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=J(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return Q(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=J(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return Q(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=J(this.flags_,e.diffValueMask_,1===t)}}])}();de.isBeingObservedMask_=1,de.isPendingUnobservationMask_=2,de.diffValueMask_=4;var pe=V("Atom",de);function ve(e,t,n){void 0===t&&(t=I),void 0===n&&(n=I);var i,r=new de(e);return t!==I&&pn(hn,r,t,i),n!==I&&dn(r,n),r}var ge={identity:function(e,t){return e===t},structural:function(e,t){return ji(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return ji(e,t,1)}};function be(e,t,n){return kn(e)?e:Array.isArray(e)?nt.array(e,{name:n}):F(e)?nt.object(e,void 0,{name:n}):H(e)?nt.map(e,{name:n}):W(e)?nt.set(e,{name:n}):"function"!=typeof e||sn(e)||Mn(e)?e:G(e)?wn(e):an(n,e)}function me(e){return e}var _e="override";function ye(e,t){return{annotationType_:e,options_:t,make_:Ce,extend_:Ae,decorate_20223_:xe}}function Ce(e,t,n,i){var r;if(null!=(r=this.options_)&&r.bound)return null===this.extend_(e,t,n,!1)?0:1;if(i===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(sn(n.value))return 1;var o=we(e,this,t,n,!1);return k(i,t,o),2}function Ae(e,t,n,i){var r=we(e,this,t,n);return e.defineProperty_(t,r,i)}function xe(e,t){var n,i=t.kind,r=t.name,o=t.addInitializer,a=this,s=function(e){var t,n,i,o;return ht(null!=(t=null==(n=a.options_)?void 0:n.name)?t:r.toString(),e,null!=(i=null==(o=a.options_)?void 0:o.autoAction)&&i)};return"field"==i?function(e){var t,n=e;return sn(n)||(n=s(n)),null!=(t=a.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==i?(sn(e)||(e=s(e)),null!=(n=this.options_)&&n.bound&&o(function(){var e=this,t=e[r].bind(e);t.isMobxAction=!0,e[r]=t}),e):void x("Cannot apply '"+a.annotationType_+"' to '"+String(r)+"' (kind: "+i+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}function we(e,t,n,i,r){var o,a,s,u,l,c,h,f;void 0===r&&(r=It.safeDescriptors),f=i,t.annotationType_,f.value;var d,p=i.value;null!=(o=t.options_)&&o.bound&&(p=p.bind(null!=(d=e.proxy_)?d:e.target_));return{value:ht(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),p,null!=(u=null==(l=t.options_)?void 0:l.autoAction)&&u,null!=(c=t.options_)&&c.bound?null!=(h=e.proxy_)?h:e.target_:void 0),configurable:!r||e.isPlainObject_,enumerable:!1,writable:!r}}function Se(e,t){return{annotationType_:e,options_:t,make_:Me,extend_:Te,decorate_20223_:ke}}function Me(e,t,n,i){var r;if(i===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(r=this.options_)&&r.bound&&(!X(e.target_,t)||!Mn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Mn(n.value))return 1;var o=ze(e,this,t,n,!1,!1);return k(i,t,o),2}function Te(e,t,n,i){var r,o=ze(e,this,t,n,null==(r=this.options_)?void 0:r.bound);return e.defineProperty_(t,o,i)}function ke(e,t){var n;var i=t.name,r=t.addInitializer;return Mn(e)||(e=wn(e)),null!=(n=this.options_)&&n.bound&&r(function(){var e=this,t=e[i].bind(e);t.isMobXFlow=!0,e[i]=t}),e}function ze(e,t,n,i,r,o){var a;void 0===o&&(o=It.safeDescriptors),a=i,t.annotationType_,a.value;var s,u=i.value;(Mn(u)||(u=wn(u)),r)&&((u=u.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0);return{value:u,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function Be(e,t){return{annotationType_:e,options_:t,make_:De,extend_:Ee,decorate_20223_:je}}function De(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Ee(e,t,n,i){return function(e,t,n,i){t.annotationType_,i.get;0}(0,this,0,n),e.defineComputedProperty_(t,re({},this.options_,{get:n.get,set:n.set}),i)}function je(e,t){var n=this,i=t.name;return(0,t.addInitializer)(function(){var t=ci(this)[fe],r=re({},n.options_,{get:e,context:this});r.name||(r.name="ObservableObject."+i.toString()),t.values_.set(i,new bt(r))}),function(){return this[fe].getObservablePropValue_(i)}}function Le(e,t){return{annotationType_:e,options_:t,make_:Oe,extend_:Ie,decorate_20223_:Pe}}function Oe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Ie(e,t,n,i){var r,o;return function(e,t){t.annotationType_;0}(0,this),e.defineObservableProperty_(t,n.value,null!=(r=null==(o=this.options_)?void 0:o.enhancer)?r:be,i)}function Pe(e,t){var n=this,i=t.kind,r=t.name,o=new WeakSet;function a(e,t){var i,a,s=ci(e)[fe],u=new gt(t,null!=(i=null==(a=n.options_)?void 0:a.enhancer)?i:be,"ObservableObject."+r.toString(),!1);s.values_.set(r,u),o.add(e)}if("accessor"==i)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[fe].getObservablePropValue_(r)},set:function(e){return o.has(this)||a(this,e),this[fe].setObservablePropValue_(r,e)},init:function(e){return o.has(this)||a(this,e),e}}}var Ne="true",Re=Fe();function Fe(e){return{annotationType_:Ne,options_:e,make_:Ge,extend_:qe,decorate_20223_:Ue}}function Ge(e,t,n,i){var r,o,a,s;if(n.get)return at.make_(e,t,n,i);if(n.set){var u=sn(n.set)?n.set:ht(t.toString(),n.set);return i===e.target_?null===e.defineProperty_(t,{configurable:!It.safeDescriptors||e.isPlainObject_,set:u})?0:2:(k(i,t,{configurable:!0,set:u}),2)}if(i!==e.target_&&"function"==typeof n.value)return G(n.value)?(null!=(s=this.options_)&&s.autoBind?wn.bound:wn).make_(e,t,n,i):(null!=(a=this.options_)&&a.autoBind?an.bound:an).make_(e,t,n,i);var l,c=!1===(null==(r=this.options_)?void 0:r.deep)?nt.ref:nt;"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_));return c.make_(e,t,n,i)}function qe(e,t,n,i){var r,o,a;if(n.get)return at.extend_(e,t,n,i);if(n.set)return e.defineProperty_(t,{configurable:!It.safeDescriptors||e.isPlainObject_,set:ht(t.toString(),n.set)},i);"function"==typeof n.value&&null!=(r=this.options_)&&r.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_));return(!1===(null==(o=this.options_)?void 0:o.deep)?nt.ref:nt).extend_(e,t,n,i)}function Ue(e,t){x("'"+this.annotationType_+"' cannot be used as a decorator")}var Ve={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function He(e){return e||Ve}Object.freeze(Ve);var We=Le("observable"),Ke=Le("observable.ref",{enhancer:me}),Ye=Le("observable.shallow",{enhancer:function(e,t,n){return null==e||di(e)||Xn(e)||ti(e)||oi(e)?e:Array.isArray(e)?nt.array(e,{name:n,deep:!1}):F(e)?nt.object(e,void 0,{name:n,deep:!1}):H(e)?nt.map(e,{name:n,deep:!1}):W(e)?nt.set(e,{name:n,deep:!1}):void 0}}),Ze=Le("observable.struct",{enhancer:function(e,t){return ji(e,t)?t:e}}),Xe=le(We);function $e(e){return!0===e.deep?be:!1===e.deep?me:(t=e.defaultDecorator)&&null!=(n=null==(i=t.options_)?void 0:i.enhancer)?n:be;var t,n,i}function Qe(e,t,n){return he(t)?We.decorate_20223_(e,t):N(t)?void ce(e,t,We):kn(e)?e:F(e)?nt.object(e,t,n):Array.isArray(e)?nt.array(e,t):H(e)?nt.map(e,t):W(e)?nt.set(e,t):"object"==typeof e&&null!==e?e:nt.box(e,t)}M(Qe,Xe);var Je,et,tt={box:function(e,t){var n=He(t);return new gt(e,$e(n),n.name,!0,n.equals)},array:function(e,t){var n=He(t);return(!1===It.useProxies||!1===n.proxy?Mi:Un)(e,$e(n),n.name)},map:function(e,t){var n=He(t);return new ei(e,$e(n),n.name)},set:function(e,t){var n=He(t);return new ri(e,$e(n),n.name)},object:function(e,t,n){return Bi(function(){return bn(!1===It.useProxies||!1===(null==n?void 0:n.proxy)?ci({},n):function(e,t){var n,i;return L(),e=ci(e,t),null!=(i=(n=e[fe]).proxy_)?i:n.proxy_=new Proxy(e,Dn)}({},n),e,t)})},ref:le(Ke),shallow:le(Ye),deep:Xe,struct:le(Ze)},nt=M(Qe,tt),it="computed",rt=Be(it),ot=Be("computed.struct",{equals:ge.structural}),at=function(e,t){if(he(t))return rt.decorate_20223_(e,t);if(N(t))return ce(e,t,rt);if(F(e))return le(Be(it,e));var n=F(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new bt(n)};Object.assign(at,rt),at.struct=le(ot);var st=0,ut=1,lt=null!=(Je=null==(et=T(function(){},"name"))?void 0:et.configurable)&&Je,ct={value:"action",configurable:!0,writable:!1,enumerable:!1};function ht(e,t,n,i){function r(){return ft(e,n,t,i||this,arguments)}return void 0===n&&(n=!1),r.isMobxAction=!0,r.toString=function(){return t.toString()},lt&&(ct.value=e,k(r,"name",ct)),r}function ft(e,t,n,i,r){var o=function(e,t){var n=!1,i=0;0;var r=It.trackingDerivation,o=!t||!r;Ft();var a=It.allowStateChanges;o&&(kt(),a=pt(!0));var s=Bt(!0),u={runAsAction_:o,prevDerivation_:r,prevAllowStateChanges_:a,prevAllowStateReads_:s,notifySpy_:n,startTime_:i,actionId_:ut++,parentActionId_:st};return st=u.actionId_,u}(0,t);try{return n.apply(i,r)}catch(a){throw o.error_=a,a}finally{!function(e){st!==e.actionId_&&x(30);st=e.parentActionId_,void 0!==e.error_&&(It.suppressReactionErrors=!0);vt(e.prevAllowStateChanges_),Dt(e.prevAllowStateReads_),Gt(),e.runAsAction_&&zt(e.prevDerivation_);0;It.suppressReactionErrors=!1}(o)}}function dt(e,t){var n=pt(e);try{return t()}finally{vt(n)}}function pt(e){var t=It.allowStateChanges;return It.allowStateChanges=e,t}function vt(e){It.allowStateChanges=e}var gt=function(e){function t(t,n,i,r,o){var a;return void 0===i&&(i="ObservableValue"),void 0===r&&(r=!0),void 0===o&&(o=ge.default),(a=e.call(this,i)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=i,a.equals=o,a.value_=n(t,void 0,i),a}oe(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==It.UNCHANGED){0,this.setNewValue_(e)}},n.prepareNewValue_=function(e){if(wt(this),En(this)){var t=Ln(this,{object:this,type:Fn,newValue:e});if(!t)return It.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?It.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),On(this)&&Pn(this,{type:Fn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return jn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Fn,newValue:this.value_,oldValue:void 0}),In(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return Z(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(de),bt=function(){function e(e){this.dependenciesState_=mt.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=mt.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Ct(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=_t.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||x(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=ht("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ge.structural:ge.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==mt.UP_TO_DATE_)return;e.lowestObserverState_=mt.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===mt.UP_TO_DATE_&&(e.dependenciesState_=mt.POSSIBLY_STALE_,e.onBecomeStale_())})}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing&&x(32,this.name_,this.derivation),0!==It.inBatch||0!==this.observers_.size||this.keepAlive_){if(qt(this),xt(this)){var e=It.trackingContext;this.keepAlive_&&!e&&(It.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===mt.STALE_)return;e.lowestObserverState_=mt.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===mt.POSSIBLY_STALE_?t.dependenciesState_=mt.STALE_:t.dependenciesState_===mt.UP_TO_DATE_&&(e.lowestObserverState_=mt.UP_TO_DATE_)})}(this),It.trackingContext=e}}else xt(this)&&(this.warnAboutUntrackedRead_(),Ft(),this.value_=this.computeValue_(!1),Gt());var t=this.value_;if(At(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&x(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else x(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===mt.NOT_TRACKING_,n=this.computeValue_(!0),i=t||At(e)||At(n)||!this.equals_(e,n);return i&&(this.value_=n),i},t.computeValue_=function(e){this.isComputing=!0;var t,n=pt(!1);if(e)t=St(this,this.derivation,this.scope_);else if(!0===It.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(i){t=new Ct(i)}return vt(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(Mt(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,i=!0,r=void 0;return un(function(){var o=n.get();if(!i||t){var a=kt();e({observableKind:"computed",debugObjectName:n.name_,type:Fn,object:n,newValue:o,oldValue:r}),zt(a)}i=!1,r=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return Z(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},ne(e,[{key:"isComputing",get:function(){return Q(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=J(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return Q(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=J(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return Q(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=J(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return Q(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=J(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return Q(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=J(this.flags_,e.diffValueMask_,1===t)}}])}();bt.isComputingMask_=1,bt.isRunningSetterMask_=2,bt.isBeingObservedMask_=4,bt.isPendingUnobservationMask_=8,bt.diffValueMask_=16;var mt,_t,yt=V("ComputedValue",bt);!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_"}(mt||(mt={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(_t||(_t={}));var Ct=function(e){this.cause=void 0,this.cause=e};function At(e){return e instanceof Ct}function xt(e){switch(e.dependenciesState_){case mt.UP_TO_DATE_:return!1;case mt.NOT_TRACKING_:case mt.STALE_:return!0;case mt.POSSIBLY_STALE_:for(var t=Bt(!0),n=kt(),i=e.observing_,r=i.length,o=0;o<r;o++){var a=i[o];if(yt(a)){if(It.disableErrorBoundaries)a.get();else try{a.get()}catch(s){return zt(n),Dt(t),!0}if(e.dependenciesState_===mt.STALE_)return zt(n),Dt(t),!0}}return Et(e),zt(n),Dt(t),!1}}function wt(e){}function St(e,t,n){var i=Bt(!0);Et(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++It.runId;var r,o=It.trackingDerivation;if(It.trackingDerivation=e,It.inBatch++,!0===It.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(a){r=new Ct(a)}return It.inBatch--,It.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,i=mt.UP_TO_DATE_,r=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,r!==a&&(n[r]=s),r++),s.dependenciesState_>i&&(i=s.dependenciesState_)}n.length=r,e.newObserving_=null,o=t.length;for(;o--;){var u=t[o];0===u.diffValue&&Nt(u,e),u.diffValue=0}for(;r--;){var l=n[r];1===l.diffValue&&(l.diffValue=0,Pt(l,e))}i!==mt.UP_TO_DATE_&&(e.dependenciesState_=i,e.onBecomeStale_())}(e),Dt(i),r}function Mt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Nt(t[n],e);e.dependenciesState_=mt.NOT_TRACKING_}function Tt(e){var t=kt();try{return e()}finally{zt(t)}}function kt(){var e=It.trackingDerivation;return It.trackingDerivation=null,e}function zt(e){It.trackingDerivation=e}function Bt(e){var t=It.allowStateReads;return It.allowStateReads=e,t}function Dt(e){It.allowStateReads=e}function Et(e){if(e.dependenciesState_!==mt.UP_TO_DATE_){e.dependenciesState_=mt.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=mt.UP_TO_DATE_}}var jt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Lt=!0,Ot=!1,It=function(){var e=S();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Lt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new jt).version&&(Lt=!1),Lt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new jt):(setTimeout(function(){Ot||x(35)},1),new jt)}();function Pt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Nt(e,t){e.observers_.delete(t),0===e.observers_.size&&Rt(e)}function Rt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,It.pendingUnobservations.push(e))}function Ft(){It.inBatch++}function Gt(){if(0===--It.inBatch){Kt();for(var e=It.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof bt&&n.suspend_())}It.pendingUnobservations=[]}}function qt(e){var t=It.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&It.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&It.inBatch>0&&Rt(e),!1)}function Ut(e){e.lowestObserverState_!==mt.STALE_&&(e.lowestObserverState_=mt.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===mt.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=mt.STALE_}))}var Vt=function(){function e(e,t,n,i){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=mt.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=_t.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=i}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,It.pendingReactions.push(this),Kt())},t.runReaction_=function(){if(!this.isDisposed){Ft(),this.isScheduled=!1;var e=It.trackingContext;if(It.trackingContext=this,xt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(t){this.reportExceptionInDerivation_(t)}}It.trackingContext=e,Gt()}},t.track=function(e){if(!this.isDisposed){Ft();0,this.isRunning=!0;var t=It.trackingContext;It.trackingContext=this;var n=St(this,e,void 0);It.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&Mt(this),At(n)&&this.reportExceptionInDerivation_(n.cause),Gt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(It.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";It.suppressReactionErrors||console.error(n,e),It.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(Ft(),Mt(this),Gt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[fe]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},ne(e,[{key:"isDisposed",get:function(){return Q(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=J(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return Q(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=J(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return Q(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=J(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return Q(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=J(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return Q(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=J(this.flags_,e.diffValueMask_,1===t)}}])}();Vt.isDisposedMask_=1,Vt.isScheduledMask_=2,Vt.isTrackPendingMask_=4,Vt.isRunningMask_=8,Vt.diffValueMask_=16;var Ht=100,Wt=function(e){return e()};function Kt(){It.inBatch>0||It.isRunningReactions||Wt(Yt)}function Yt(){It.isRunningReactions=!0;for(var e=It.pendingReactions,t=0;e.length>0;){++t===Ht&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),i=0,r=n.length;i<r;i++)n[i].runReaction_()}It.isRunningReactions=!1}var Zt=V("Reaction",Vt);var Xt="action",$t="autoAction",Qt="<unnamed action>",Jt=ye(Xt),en=ye("action.bound",{bound:!0}),tn=ye($t,{autoAction:!0}),nn=ye("autoAction.bound",{autoAction:!0,bound:!0});function rn(e){return function(t,n){return P(t)?ht(t.name||Qt,t,e):P(n)?ht(t,n,e):he(n)?(e?tn:Jt).decorate_20223_(t,n):N(n)?ce(t,n,e?tn:Jt):N(t)?le(ye(e?$t:Xt,{name:t,autoAction:e})):void 0}}var on=rn(!1);Object.assign(on,Jt);var an=rn(!0);function sn(e){return P(e)&&!0===e.isMobxAction}function un(e,t){var n,i,r,o;void 0===t&&(t=D);var a,s=null!=(n=null==(i=t)?void 0:i.name)?n:"Autorun";if(!t.scheduler&&!t.delay)a=new Vt(s,function(){this.track(c)},t.onError,t.requiresObservable);else{var u=cn(t),l=!1;a=new Vt(s,function(){l||(l=!0,u(function(){l=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}function c(){e(a)}return null!=(r=t)&&null!=(r=r.signal)&&r.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}Object.assign(an,tn),on.bound=le(en),an.bound=le(nn);var ln=function(e){return e()};function cn(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:ln}var hn="onBO",fn="onBUO";function dn(e,t,n){return pn(fn,e,t,n)}function pn(e,t,n,i){var r="function"==typeof i?Ti(t,n):Ti(t),o=P(i)?i:n,a=e+"L";return r[a]?r[a].add(o):r[a]=new Set([o]),function(){var e=r[a];e&&(e.delete(o),0===e.size&&delete r[a])}}var vn="always";function gn(e){!0===e.isolateGlobalState&&function(){if((It.pendingReactions.length||It.inBatch||It.isRunningReactions)&&x(36),Ot=!0,Lt){var e=S();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),It=new jt}}();var t,n,i=e.useProxies,r=e.enforceActions;if(void 0!==i&&(It.useProxies=i===vn||"never"!==i&&"undefined"!=typeof Proxy),"ifavailable"===i&&(It.verifyProxies=!0),void 0!==r){var o=r===vn?vn:"observed"===r;It.enforceActions=o,It.allowStateChanges=!0!==o&&o!==vn}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(It[t]=!!e[t])}),It.allowStateReads=!It.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=Wt,Wt=function(e){return t(function(){return n(e)})})}function bn(e,t,n,i){var r=$(t);return Bi(function(){var t=ci(e,i)[fe];Y(r).forEach(function(e){t.extend_(e,r[e],!n||(!(e in n)||n[e]))})}),e}function mn(e,t){return _n(Ti(e,t))}function _n(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(_n)),n}var yn=0;function Cn(){this.message="FLOW_CANCELLED"}Cn.prototype=Object.create(Error.prototype);var An=Se("flow"),xn=Se("flow.bound",{bound:!0}),wn=Object.assign(function(e,t){if(he(t))return An.decorate_20223_(e,t);if(N(t))return ce(e,t,An);var n=e,i=n.name||"<unnamed flow>",r=function(){var e,t=arguments,r=++yn,o=on(i+" - runid: "+r+" - init",n).apply(this,t),a=void 0,s=new Promise(function(t,n){var s=0;function u(e){var t;a=void 0;try{t=on(i+" - runid: "+r+" - yield "+s++,o.next).call(o,e)}catch(u){return n(u)}c(t)}function l(e){var t;a=void 0;try{t=on(i+" - runid: "+r+" - yield "+s++,o.throw).call(o,e)}catch(u){return n(u)}c(t)}function c(e){if(!P(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(u,l);e.then(c,n)}e=n,u(void 0)});return s.cancel=on(i+" - runid: "+r+" - cancel",function(){try{a&&Sn(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(I,I),Sn(n),e(new Cn)}catch(i){e(i)}}),s};return r.isMobXFlow=!0,r},An);function Sn(e){P(e.cancel)&&e.cancel()}function Mn(e){return!0===(null==e?void 0:e.isMobXFlow)}function Tn(e,t){return!!e&&(void 0!==t?!!di(e)&&e[fe].values_.has(t):di(e)||!!e[fe]||pe(e)||Zt(e)||yt(e))}function kn(e){return Tn(e)}function zn(e,t){void 0===t&&(t=void 0),Ft();try{return e.apply(t)}finally{Gt()}}function Bn(e){return e[fe]}wn.bound=le(xn);var Dn={has:function(e,t){return Bn(e).has_(t)},get:function(e,t){return Bn(e).get_(t)},set:function(e,t,n){var i;return!!N(t)&&(null==(i=Bn(e).set_(t,n,!0))||i)},deleteProperty:function(e,t){var n;return!!N(t)&&(null==(n=Bn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var i;return null==(i=Bn(e).defineProperty_(t,n))||i},ownKeys:function(e){return Bn(e).ownKeys_()},preventExtensions:function(e){x(13)}};function En(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function jn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),O(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Ln(e,t){var n=kt();try{for(var i=[].concat(e.interceptors_||[]),r=0,o=i.length;r<o&&((t=i[r](t))&&!t.type&&x(14),t);r++);return t}finally{zt(n)}}function On(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function In(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),O(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Pn(e,t){var n=kt(),i=e.changeListeners_;if(i){for(var r=0,o=(i=i.slice()).length;r<o;r++)i[r](t);zt(n)}}function Nn(e,t,n){return Bi(function(){var i=ci(e,n)[fe];null!=t||(t=function(e){return X(e,ue)||q(e,ue,re({},e[ue])),e[ue]}(e)),Y(t).forEach(function(e){return i.make_(e,t[e])})}),e}var Rn="splice",Fn="update",Gn={get:function(e,t){var n=e[fe];return t===fe?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?X(Vn,t)?Vn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var i=e[fe];return"length"===t&&i.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:i.set_(parseInt(t),n),!0},preventExtensions:function(){x(15)}},qn=function(){function e(e,t,n,i){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=i,this.atom_=new de(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return jn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),In(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&x("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),i=0;i<e-t;i++)n[i]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&x(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Si(e+t+1)},t.spliceWithArray_=function(e,t,n){var i=this;this.atom_;var r=this.values_.length;if(void 0===e?e=0:e>r?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=B),En(this)){var o=Ln(this,{object:this.proxy_,type:Rn,index:e,removedCount:t,added:n});if(!o)return B;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map(function(e){return i.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(r,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var i;if(n.length<1e4)return(i=this.values_).splice.apply(i,[e,t].concat(n));var r=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return r},t.notifyArrayChildUpdate_=function(e,t,n){var i=!this.owned_&&!1,r=On(this),o=r||i?{observableKind:"array",object:this.proxy_,type:Fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),r&&Pn(this,o)},t.notifyArraySplice_=function(e,t,n){var i=!this.owned_&&!1,r=On(this),o=r||i?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Rn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),r&&Pn(this,o)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&x(17,e,n.length),e<n.length){this.atom_;var i=n[e];if(En(this)){var r=Ln(this,{type:Fn,object:this.proxy_,index:e,newValue:t});if(!r)return;t=r.newValue}(t=this.enhancer_(t,i))!==i&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,i))}else{for(var o=new Array(e+1-n.length),a=0;a<o.length-1;a++)o[a]=void 0;o[o.length-1]=t,this.spliceWithArray_(n.length,0,o)}},e}();function Un(e,t,n,i){return void 0===n&&(n="ObservableArray"),void 0===i&&(i=!1),L(),Bi(function(){var r=new qn(n,t,i,!1);U(r.values_,fe,r);var o=new Proxy(r.values_,Gn);return r.proxy_=o,e&&e.length&&r.spliceWithArray_(0,0,e),o})}var Vn={clear:function(){return this.splice(0)},replace:function(e){var t=this[fe];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var o=this[fe];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,i)},spliceWithArray:function(e,t,n){return this[fe].spliceWithArray_(e,t,n)},push:function(){for(var e=this[fe],t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[fe].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[fe],t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return It.trackingDerivation&&x(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){It.trackingDerivation&&x(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[fe],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Hn(e,t){"function"==typeof Array.prototype[e]&&(Vn[e]=t(e))}function Wn(e){return function(){var t=this[fe];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Kn(e){return function(t,n){var i=this,r=this[fe];return r.atom_.reportObserved(),r.dehanceValues_(r.values_)[e](function(e,r){return t.call(n,e,r,i)})}}function Yn(e){return function(){var t=this,n=this[fe];n.atom_.reportObserved();var i=n.dehanceValues_(n.values_),r=arguments[0];return arguments[0]=function(e,n,i){return r(e,n,i,t)},i[e].apply(i,arguments)}}Hn("at",Wn),Hn("concat",Wn),Hn("flat",Wn),Hn("includes",Wn),Hn("indexOf",Wn),Hn("join",Wn),Hn("lastIndexOf",Wn),Hn("slice",Wn),Hn("toString",Wn),Hn("toLocaleString",Wn),Hn("toSorted",Wn),Hn("toSpliced",Wn),Hn("with",Wn),Hn("every",Kn),Hn("filter",Kn),Hn("find",Kn),Hn("findIndex",Kn),Hn("findLast",Kn),Hn("findLastIndex",Kn),Hn("flatMap",Kn),Hn("forEach",Kn),Hn("map",Kn),Hn("some",Kn),Hn("toReversed",Kn),Hn("reduce",Yn),Hn("reduceRight",Yn);var Zn=V("ObservableArrayAdministration",qn);function Xn(e){return R(e)&&Zn(e[fe])}var $n={},Qn="add",Jn="delete",ei=function(){function e(e,t,n){var i=this;void 0===t&&(t=be),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[fe]=$n,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,P(Map)||x(18),Bi(function(){i.keysAtom_=ve("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!It.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var i=n=new gt(this.has_(e),me,"ObservableMap.key?",!1);this.hasMap_.set(e,i),dn(i,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(En(this)){var i=Ln(this,{type:n?Fn:Qn,object:this,newValue:t,name:e});if(!i)return this;t=i.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,En(this))&&!Ln(this,{type:Jn,object:this,name:e}))return!1;if(this.has_(e)){var n=On(this),i=n?{observableKind:"map",debugObjectName:this.name_,type:Jn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return zn(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&Pn(this,i),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==It.UNCHANGED){var i=On(this),r=i?{observableKind:"map",debugObjectName:this.name_,type:Fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),i&&Pn(this,r)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,zn(function(){var i,r=new gt(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,r),t=r.value_,null==(i=n.hasMap_.get(e))||i.setNewValue_(!0),n.keysAtom_.reportChanged()});var i=On(this),r=i?{observableKind:"map",debugObjectName:this.name_,type:Qn,object:this,name:e,newValue:t}:null;i&&Pn(this,r)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return ni({next:function(){var n=t.next(),i=n.done,r=n.value;return{done:i,value:i?void 0:e.get(r)}}})},t.entries=function(){var e=this,t=this.keys();return ni({next:function(){var n=t.next(),i=n.done,r=n.value;return{done:i,value:i?void 0:[r,e.get(r)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,i=ie(this);!(n=i()).done;){var r=n.value,o=r[0],a=r[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return ti(e)&&(e=new Map(e)),zn(function(){var n,i,r;F(e)?function(e){var t=Object.keys(e);if(!K)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return z.propertyIsEnumerable.call(e,t)})):t}(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],i=e[1];return t.set(n,i)}):H(e)?(n=e,i=Object.getPrototypeOf(n),r=Object.getPrototypeOf(i),null!==Object.getPrototypeOf(r)&&x(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&x(20,e)}),this},t.clear=function(){var e=this;zn(function(){Tt(function(){for(var t,n=ie(e.keys());!(t=n()).done;){var i=t.value;e.delete(i)}})})},t.replace=function(e){var t=this;return zn(function(){for(var n,i=function(e){if(H(e)||ti(e))return e;if(Array.isArray(e))return new Map(e);if(F(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return x(21,e)}(e),r=new Map,o=!1,a=ie(t.data_.keys());!(n=a()).done;){var s=n.value;if(!i.has(s))if(t.delete(s))o=!0;else{var u=t.data_.get(s);r.set(s,u)}}for(var l,c=ie(i.entries());!(l=c()).done;){var h=l.value,f=h[0],d=h[1],p=t.data_.has(f);if(t.set(f,d),t.data_.has(f)){var v=t.data_.get(f);r.set(f,v),p||(o=!0)}}if(!o)if(t.data_.size!==r.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=r.keys(),m=g.next(),_=b.next();!m.done;){if(m.value!==_.value){t.keysAtom_.reportChanged();break}m=g.next(),_=b.next()}t.data_=r}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return In(this,e)},t.intercept_=function(e){return jn(this,e)},ne(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),ti=V("ObservableMap",ei);function ni(e){return e[Symbol.toStringTag]="MapIterator",Pi(e)}var ii={},ri=function(){function e(e,t,n){var i=this;void 0===t&&(t=be),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[fe]=ii,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,P(Set)||x(22),this.enhancer_=function(e,i){return t(e,i,n)},Bi(function(){i.atom_=ve(i.name_),e&&i.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;zn(function(){Tt(function(){for(var t,n=ie(e.data_.values());!(t=n()).done;){var i=t.value;e.delete(i)}})})},t.forEach=function(e,t){for(var n,i=ie(this);!(n=i()).done;){var r=n.value;e.call(t,r,r,this)}},t.add=function(e){var t=this;if(this.atom_,En(this)){var n=Ln(this,{type:Qn,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){zn(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var i=!1,r=On(this),o=r?{observableKind:"set",debugObjectName:this.name_,type:Qn,object:this,newValue:e}:null;i,r&&Pn(this,o)}return this},t.delete=function(e){var t=this;if(En(this)&&!Ln(this,{type:Jn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=On(this),i=n?{observableKind:"set",debugObjectName:this.name_,type:Jn,object:this,oldValue:e}:null;return zn(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&Pn(this,i),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=this.values();return ai({next:function(){var t=e.next(),n=t.value,i=t.done;return i?{value:void 0,done:i}:{value:[n,n],done:i}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return ai({next:function(){var n=t.next(),i=n.value,r=n.done;return r?{value:void 0,done:r}:{value:e.dehanceValue_(i),done:r}}})},t.intersection=function(e){return W(e)&&!oi(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return W(e)&&!oi(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return W(e)&&!oi(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return W(e)&&!oi(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return oi(e)&&(e=new Set(e)),zn(function(){Array.isArray(e)||W(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&x("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return In(this,e)},t.intercept_=function(e){return jn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},ne(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),oi=V("ObservableSet",ri);function ai(e){return e[Symbol.toStringTag]="SetIterator",Pi(e)}var si=Object.create(null),ui="remove",li=function(){function e(e,t,n,i){void 0===t&&(t=new Map),void 0===i&&(i=Re),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=i,this.keysAtom_=new de("ObservableObject.keys"),this.isPlainObject_=F(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof bt)return n.set(t),!0;if(En(this)){var i=Ln(this,{type:Fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!i)return null;t=i.newValue}if((t=n.prepareNewValue_(t))!==It.UNCHANGED){var r=On(this),o=r?{type:Fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),r&&Pn(this,o)}return!0},t.get_=function(e){return It.trackingDerivation&&!X(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),X(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!It.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new gt(e in this.target_,me,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(vi(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[ue])&&n[e])return;x(1,t.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==z;){var r=T(i,e);if(r){var o=t.make_(this,e,r,i);if(0===o)return;if(1===o)break}i=Object.getPrototypeOf(i)}pi(this,t,e)}},t.extend_=function(e,t,n,i){if(void 0===i&&(i=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,i);vi(this,n,e);var r=n.extend_(this,e,t,i);return r&&pi(this,n,e),r},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{Ft();var i=this.delete_(e);if(!i)return i;if(En(this)){var r=Ln(this,{object:this.proxy_||this.target_,name:e,type:Qn,newValue:t.value});if(!r)return null;var o=r.newValue;t.value!==o&&(t=re({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else k(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Gt()}return!0},t.defineObservableProperty_=function(e,t,n,i){void 0===i&&(i=!1),this.keysAtom_;try{Ft();var r=this.delete_(e);if(!r)return r;if(En(this)){var o=Ln(this,{object:this.proxy_||this.target_,name:e,type:Qn,newValue:t});if(!o)return null;t=o.newValue}var a=fi(e),s={configurable:!It.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(i){if(!Reflect.defineProperty(this.target_,e,s))return!1}else k(this.target_,e,s);var u=new gt(t,n,"ObservableObject.key",!1);this.values_.set(e,u),this.notifyPropertyAddition_(e,u.value_)}finally{Gt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{Ft();var i=this.delete_(e);if(!i)return i;if(En(this))if(!Ln(this,{object:this.proxy_||this.target_,name:e,type:Qn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var r=fi(e),o={configurable:!It.safeDescriptors||this.isPlainObject_,enumerable:!1,get:r.get,set:r.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else k(this.target_,e,o);this.values_.set(e,new bt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Gt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!X(this.target_,e))return!0;if(En(this)&&!Ln(this,{object:this.proxy_||this.target_,name:e,type:ui}))return null;try{var n;Ft();var i,r=On(this),o=this.values_.get(e),a=void 0;if(!o&&r)a=null==(i=T(this.target_,e))?void 0:i.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof gt&&(a=o.value_),Ut(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),r){var s={type:ui,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};0,r&&Pn(this,s)}}finally{Gt()}return!0},t.observe_=function(e,t){return In(this,e)},t.intercept_=function(e){return jn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,i=On(this);if(i){var r=i?{type:Qn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;0,i&&Pn(this,r)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),Y(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function ci(e,t){var n;if(X(e,fe))return e;var i=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",r=new li(e,new Map,String(i),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Fe(e):void 0}(t));return q(e,fe,r),e}var hi=V("ObservableObjectAdministration",li);function fi(e){return si[e]||(si[e]={get:function(){return this[fe].getObservablePropValue_(e)},set:function(t){return this[fe].setObservablePropValue_(e,t)}})}function di(e){return!!R(e)&&hi(e[fe])}function pi(e,t,n){var i;null==(i=e.target_[ue])||delete i[n]}function vi(e,t,n){}var gi,bi,mi=xi(0),_i=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),yi=0,Ci=function(){};gi=Ci,bi=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(gi.prototype,bi):void 0!==gi.prototype.__proto__?gi.prototype.__proto__=bi:gi.prototype=bi;var Ai=function(e){function t(t,n,i,r){var o;return void 0===i&&(i="ObservableArray"),void 0===r&&(r=!1),o=e.call(this)||this,Bi(function(){var e=new qn(i,n,r,!0);e.proxy_=o,U(o,fe,e),t&&t.length&&o.spliceWithArray(0,0,t),_i&&Object.defineProperty(o,"0",mi)}),o}oe(t,e);var n=t.prototype;return n.concat=function(){this[fe].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return Xn(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return Pi({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},ne(t,[{key:"length",get:function(){return this[fe].getArrayLength_()},set:function(e){this[fe].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Ci);function xi(e){return{enumerable:!1,configurable:!0,get:function(){return this[fe].get_(e)},set:function(t){this[fe].set_(e,t)}}}function wi(e){k(Ai.prototype,""+e,xi(e))}function Si(e){if(e>yi){for(var t=yi;t<e+100;t++)wi(t);yi=e}}function Mi(e,t,n){return new Ai(e,t,n)}function Ti(e,t){if("object"==typeof e&&null!==e){if(Xn(e))return void 0!==t&&x(23),e[fe].atom_;if(oi(e))return e.atom_;if(ti(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||x(25,t,zi(e)),n}if(di(e)){if(!t)return x(26);var i=e[fe].values_.get(t);return i||x(27,t,zi(e)),i}if(pe(e)||yt(e)||Zt(e))return e}else if(P(e)&&Zt(e[fe]))return e[fe];x(28)}function ki(e,t){return e||x(29),void 0!==t?ki(Ti(e,t)):pe(e)||yt(e)||Zt(e)||ti(e)||oi(e)?e:e[fe]?e[fe]:void x(24,e)}function zi(e,t){var n;if(void 0!==t)n=Ti(e,t);else{if(sn(e))return e.name;n=di(e)||ti(e)||oi(e)?ki(e):Ti(e)}return n.name_}function Bi(e){var t=kt(),n=pt(!0);Ft();try{return e()}finally{Gt(),vt(n),zt(t)}}Object.entries(Vn).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&q(Ai.prototype,t,n)}),Si(1e3);var Di,Ei=z.toString;function ji(e,t,n){return void 0===n&&(n=-1),Li(e,t,n)}function Li(e,t,n,i,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=Ei.call(e);if(a!==Ei.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=Oi(e),t=Oi(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(P(u)&&u instanceof u&&P(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),r=r||[];for(var c=(i=i||[]).length;c--;)if(i[c]===e)return r[c]===t;if(i.push(e),r.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!Li(e[c],t[c],n-1,i,r))return!1}else{var h=Object.keys(e),f=h.length;if(Object.keys(t).length!==f)return!1;for(var d=0;d<f;d++){var p=h[d];if(!X(t,p)||!Li(e[p],t[p],n-1,i,r))return!1}}return i.pop(),r.pop(),!0}function Oi(e){return Xn(e)?e.slice():H(e)||ti(e)||W(e)||oi(e)?Array.from(e.entries()):e}var Ii=(null==(Di=S().Iterator)?void 0:Di.prototype)||{};function Pi(e){return e[Symbol.iterator]=Ni,Object.assign(Object.create(Ii),e)}function Ni(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===S()[e]&&x("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:zi},$mobx:fe});var Ri=n(299);if(!Ri.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!Nn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function Fi(e){e()}function Gi(e){return mn(e)}var qi=!1;function Ui(){return qi}var Vi,Hi,Wi=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach(function(i,r){n-i.registeredAt>=e&&(t.finalize(i.value),t.registrations.delete(r))}),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),Ki=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:Wi)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),Yi=n(888);function Zi(e){e.reaction=new Vt("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}function Xi(e,t){if(void 0===t&&(t="observed"),Ui())return e();var n=Ri.default.useRef(null);if(!n.current){var i={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Ki.unregister(i),i.onStoreChange=e,i.reaction||(Zi(i),i.stateVersion=Symbol()),function(){var e;i.onStoreChange=null,null===(e=i.reaction)||void 0===e||e.dispose(),i.reaction=null}},getSnapshot:function(){return i.stateVersion}};n.current=i}var r,o,a=n.current;if(a.reaction||(Zi(a),Ki.register(n,a,a)),Ri.default.useDebugValue(a.reaction,Gi),(0,Yi.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track(function(){try{r=e()}catch(t){o=t}}),o)throw o;return r}var $i="function"==typeof Symbol&&Symbol.for,Qi=null!==(Hi=null===(Vi=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===Vi?void 0:Vi.configurable)&&void 0!==Hi&&Hi,Ji=$i?Symbol.for("react.forward_ref"):"function"==typeof Ri.forwardRef&&(0,Ri.forwardRef)(function(e){return null}).$$typeof,er=$i?Symbol.for("react.memo"):"function"==typeof Ri.memo&&(0,Ri.memo)(function(e){return null}).$$typeof;function tr(e,t){var n;if(er&&e.$$typeof===er)throw new Error("[mobx-react-lite] 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(Ui())return e;var i=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,r=e,o=e.displayName||e.name;if(Ji&&e.$$typeof===Ji&&(i=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,u=function(e,t){return Xi(function(){return r(e,t)},o)};return u.displayName=e.displayName,Qi&&Object.defineProperty(u,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(u.contextTypes=e.contextTypes),i&&(u=(0,Ri.forwardRef)(u)),u=(0,Ri.memo)(u),a=e,s=u,Object.keys(a).forEach(function(e){ir[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))}),u}var nr,ir={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};(function(e){e||(e=Fi),gn({reactionScheduler:e})})(Ri.unstable_batchedUpdates);nr=Ki.finalizeAllImmediately;function rr(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}var or=Symbol("patchMixins"),ar=Symbol("patchedDefinition");function sr(e,t){for(var n=this,i=arguments.length,r=new Array(i>2?i-2:0),o=2;o<i;o++)r[o-2]=arguments[o];t.locks++;try{var a;return null!=e&&(a=e.apply(this,r)),a}finally{t.locks--,0===t.locks&&t.methods.forEach(function(e){e.apply(n,r)})}}function ur(e,t){return function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];sr.call.apply(sr,[this,e,t].concat(i))}}function lr(e,t,n){var i=function(e,t){var n=e[or]=e[or]||{},i=n[t]=n[t]||{};return i.locks=i.locks||0,i.methods=i.methods||[],i}(e,t);i.methods.indexOf(n)<0&&i.methods.push(n);var r=Object.getOwnPropertyDescriptor(e,t);if(!r||!r[ar]){var o=e[t],a=cr(e,t,r?r.enumerable:void 0,i,o);Object.defineProperty(e,t,a)}}function cr(e,t,n,i,r){var o,a=ur(r,i);return(o={})[ar]=!0,o.get=function(){return a},o.set=function(r){if(this===e)a=ur(r,i);else{var o=cr(this,t,n,i,r);Object.defineProperty(this,t,o)}},o.configurable=!0,o.enumerable=n,o}var hr=Symbol("ObserverAdministration"),fr=Symbol("isMobXReactObserver");function dr(e){var t;return null!=(t=e[hr])?t:e[hr]={reaction:null,mounted:!1,reactionInvalidatedBeforeMount:!1,forceUpdate:null,name:pr(e.constructor),state:void 0,props:void 0,context:void 0}}function pr(e){return e.displayName||e.name||"<component>"}function vr(e){var t=e.bind(this),n=dr(this);return function(){n.reaction||(n.reaction=function(t){return new Vt(t.name+".render()",function(){if(t.mounted)try{null==t.forceUpdate||t.forceUpdate()}catch(e){var n;null==(n=t.reaction)||n.dispose(),t.reaction=null}else t.reactionInvalidatedBeforeMount=!0})}(n),n.mounted||Ki.register(this,n,this));var e=void 0,i=void 0;if(n.reaction.track(function(){try{i=dt(!1,t)}catch(n){e=n}}),e)throw e;return i}}function gr(e,t){return Ui()&&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||!function(e,t){if(rr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var r=0;r<n.length;r++)if(!Object.hasOwnProperty.call(t,n[r])||!rr(e[n[r]],t[n[r]]))return!1;return!0}(this.props,e)}function br(e,t){if(t&&"class"!==t.kind)throw new Error("The @observer decorator can be used on classes only");return!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`"),Object.prototype.isPrototypeOf.call(Ri.Component,e)||Object.prototype.isPrototypeOf.call(Ri.PureComponent,e)?function(e){var t=e.prototype;if(e[fr]){var n=pr(e);throw new Error("The provided component class ("+n+") has already been declared as an observer component.")}if(e[fr]=!0,t.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(e.__proto__!==Ri.PureComponent)if(t.shouldComponentUpdate){if(t.shouldComponentUpdate!==gr)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else t.shouldComponentUpdate=gr;var i=t.render;if("function"!=typeof i){var r=pr(e);throw new Error("[mobx-react] class component ("+r+") is missing `render` method.\n`observer` requires `render` being a function defined on prototype.\n`render = () => {}` or `render = function() {}` is not supported.")}t.render=function(){return Object.defineProperty(this,"render",{configurable:!1,writable:!1,value:Ui()?i:vr.call(this,i)}),this.render()};var o=t.componentDidMount;return t.componentDidMount=function(){var e=this,t=dr(this);return t.mounted=!0,Ki.unregister(this),t.forceUpdate=function(){return e.forceUpdate()},t.reaction&&!t.reactionInvalidatedBeforeMount||t.forceUpdate(),null==o?void 0:o.apply(this,arguments)},lr(t,"componentWillUnmount",function(){var e;if(!Ui()){var t=dr(this);null==(e=t.reaction)||e.dispose(),t.reaction=null,t.forceUpdate=null,t.mounted=!1,t.reactionInvalidatedBeforeMount=!1}}),e}(e):tr(e)}Ri.default.version.split(".")[0];if(!Ri.Component)throw new Error("mobx-react requires React to be available");if(!nt)throw new Error("mobx-react requires mobx to be available");const mr="wba",_r={getItem(e){try{return JSON.parse(globalThis.localStorage.getItem(`${mr}.${e}`))}catch{return null}},setItem(e,t){try{globalThis.localStorage.setItem(`${mr}.${e}`,JSON.stringify(t))}catch{}},removeItem(e){try{globalThis.localStorage.removeItem(`${mr}.${e}`)}catch{}}};function yr(e){return"number"==typeof e.parsedSize}function Cr(e,t){for(const n of e){if(!1===t(n))return!1;if(n.groups&&!1===Cr(n.groups,t))return!1}}const Ar=new class{constructor(){this.cid=0,this.sizes=new Set(["statSize","parsedSize","gzipSize","brotliSize","zstdSize"]),this.allChunks=void 0,this.selectedChunks=void 0,this.searchQuery="",this.defaultSize=void 0,this.selectedSize=void 0,this.showConcatenatedModulesContent=!0===_r.getItem("showConcatenatedModulesContent"),this.darkMode=(()=>{const e=globalThis.matchMedia("(prefers-color-scheme: dark)").matches;try{const e=_r.getItem("darkMode");if(null!==e)return"true"===e}catch{}return e})(),Nn(this,{allChunks:nt.ref,selectedChunks:nt.shallow,searchQuery:nt,defaultSize:nt,selectedSize:nt,showConcatenatedModulesContent:nt,darkMode:nt,toggleDarkMode:on,setModules:on,setSelectedChunks:on,setSelectedSize:on,setSearchQuery:on,hasParsedSizes:at,activeSize:at,visibleChunks:at,allChunksSelected:at,totalChunksSize:at,searchQueryRegexp:at,isSearching:at,foundModulesByChunk:at,foundModules:at,hasFoundModules:at,hasConcatenatedModules:at,foundModulesSize:at})}setModules(e){Cr(e,e=>{e.cid=this.cid++}),this.allChunks=e,this.selectedChunks=this.allChunks}setEntrypoints(e){this.entrypoints=e}get hasParsedSizes(){return this.allChunks.some(yr)}setSelectedSize(e){this.selectedSize=e}get activeSize(){const e=this.selectedSize||this.defaultSize;return this.hasParsedSizes&&this.sizes.has(e)?e:"statSize"}setSelectedChunks(e){this.selectedChunks=e}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{return null}}get isSearching(){return Boolean(this.searchQueryRegexp)}get foundModulesByChunk(){if(!this.isSearching)return[];const e=this.searchQueryRegexp;return this.visibleChunks.map(t=>{let n=[];Cr(t.groups,t=>{let i=0;if(e.test(t.label)?i+=3:t.path&&e.test(t.path)&&i++,!i)return;t.groups||(i+=1);(n[i-1]=n[i-1]||[]).push(t)});const{activeSize:i}=this;n=n.filter(Boolean).reverse();for(const e of n)e.sort((e,t)=>t[i]-e[i]);return{chunk:t,modules:n.flat()}}).filter(e=>e.modules.length>0).toSorted((e,t)=>e.modules.length-t.modules.length)}setSearchQuery(e){this.searchQuery=e}get foundModules(){return this.foundModulesByChunk.reduce((e,t)=>[...e,...t.modules],[])}get hasFoundModules(){return this.foundModules.length>0}get hasConcatenatedModules(){let e=!1;return Cr(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},[])}toggleDarkMode(){this.darkMode=!this.darkMode;try{_r.setItem("darkMode",this.darkMode)}catch{}this.updateTheme()}updateTheme(){this.darkMode?document.documentElement.dataset.theme="dark":delete document.documentElement.dataset.theme}};var xr=n(942),wr=n.n(xr),Sr=n(556),Mr=n.n(Sr),Tr=n(72),kr=n.n(Tr),zr=n(825),Br=n.n(zr),Dr=n(659),Er=n.n(Dr),jr=n(56),Lr=n.n(jr),Or=n(540),Ir=n.n(Or),Pr=n(113),Nr=n.n(Pr),Rr=n(480),Fr={};Fr.styleTagTransform=Nr(),Fr.setAttributes=Lr(),Fr.insert=Er().bind(null,"head"),Fr.domAPI=Br(),Fr.insertStyleElement=Ir();kr()(Rr.Ay,Fr);Rr.Ay&&Rr.Ay.locals&&Rr.Ay.locals;var Gr=0;Array.isArray;function qr(e,n,i,r,o,a){n||(n={});var s,u,l=n;if("ref"in l)for(u in l={},n)"ref"==u?s=n[u]:l[u]=n[u];var c={type:e,props:l,key:i,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Gr,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof e&&(s=e.defaultProps))for(u in s)void 0===l[u]&&(l[u]=s[u]);return t.fF.vnode&&t.fF.vnode(c),c}class Ur extends t.uA{constructor(...e){super(...e),this.handleChange=()=>{this.props.onChange(!this.props.checked)}}render(){const{checked:e,className:t,children:n}=this.props;return qr("label",{className:wr()(Rr.Pf,t),children:[qr("input",{className:Rr.kv,type:"checkbox",checked:e,onChange:this.handleChange}),n&&qr("span",{className:Rr.rv,children:n})]})}}function Vr(e,t){if(e===t)return!0;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(e[r]!==t[r])return!1}return!0}Ur.propTypes={className:Mr().string,checked:Mr().bool,onChange:Mr().func.isRequired,children:Mr().node};class Hr extends t.uA{shouldComponentUpdate(e,t){return!Vr(e,this.props)||!Vr(this.state,t)}}var Wr=n(660),Kr={};Kr.styleTagTransform=Nr(),Kr.setAttributes=Lr(),Kr.insert=Er().bind(null,"head"),Kr.domAPI=Br(),Kr.insertStyleElement=Ir();kr()(Wr.Ay,Kr);Wr.Ay&&Wr.Ay.locals&&Wr.Ay.locals;const Yr=Mr().shape({cid:Mr().number.isRequired,label:Mr().string.isRequired,path:Mr().string.isRequired,groups:Mr().arrayOf((...e)=>Yr(...e)),statSize:Mr().number.isRequired,parsedSize:Mr().number.isRequired,gzipSize:Mr().number,brotliSize:Mr().number,zstdSize:Mr().number}),Zr=Mr().shape({cid:Mr().number.isRequired,label:Mr().string.isRequired,isAsset:Mr().bool,statSize:Mr().number.isRequired,parsedSize:Mr().number.isRequired,gzipSize:Mr().number,brotliSize:Mr().number,zstdSize:Mr().number,groups:Mr().arrayOf(Yr).isRequired,isInitialByEntrypoint:Mr().objectOf(Mr().bool)}),Xr=Mr().arrayOf(Zr),$r=Mr().shape({cid:Mr().number.isRequired,label:Mr().string.isRequired,path:Mr().string,statSize:Mr().number.isRequired,parsedSize:Mr().number.isRequired,gzipSize:Mr().number,brotliSize:Mr().number,zstdSize:Mr().number,weight:Mr().number.isRequired}),Qr=Mr().oneOf(["statSize","parsedSize","gzipSize"]),Jr=Mr().shape({label:Mr().string,prop:Qr});class eo extends t.uA{constructor(...e){super(...e),this.handleChange=()=>{this.props.onChange(this.props.item)}}render(){return qr("div",{className:Wr.AS,children:qr(Ur,{...this.props,onChange:this.handleChange,children:this.renderLabel()})})}renderLabel(){const{children:e,item:t}=this.props;return e?e(t):t===no.ALL_ITEM?"All":t.label}}eo.propTypes={item:Mr().oneOfType([Zr,Mr().symbol]).isRequired,onChange:Mr().func.isRequired,children:Mr().func};const to=Symbol("ALL_ITEM");class no extends Hr{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 qr("div",{className:Wr.kL,children:[qr("div",{className:Wr.Pf,children:[e,":"]}),qr("div",{children:[qr(eo,{item:to,checked:this.isAllChecked(),onChange:this.handleToggleAllCheck,children:n}),t.map(e=>qr(eo,{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))}}no.propTypes={label:Mr().string.isRequired,renderLabel:Mr().func.isRequired,items:Mr().oneOfType([Xr,Mr().symbol]),checkedItems:Mr().oneOfType([Xr,Mr().symbol]),onChange:Mr().func.isRequired},no.ALL_ITEM=to;var io=n(831),ro={};ro.styleTagTransform=Nr(),ro.setAttributes=Lr(),ro.insert=Er().bind(null,"head"),ro.domAPI=Br(),ro.insertStyleElement=Ir();kr()(io.Ay,ro);io.Ay&&io.Ay.locals&&io.Ay.locals;var oo=n(230),ao={};ao.styleTagTransform=Nr(),ao.setAttributes=Lr(),ao.insert=Er().bind(null,"head"),ao.domAPI=Br(),ao.insertStyleElement=Ir();kr()(oo.Ay,ao);oo.Ay&&oo.Ay.locals&&oo.Ay.locals;function so(){return!1}function uo({children:e,disabled:t,onClick:n}){return qr("li",{className:wr()({[oo.AS]:!0,[oo.r9]:t}),onClick:t?so:n,children:e})}uo.propTypes={disabled:Mr().bool,children:Mr().node.isRequired,onClick:Mr().func};class lo extends Hr{constructor(...e){super(...e),this.handleClickHideChunk=()=>{const{chunk:e}=this.props;if(e&&e.label){const t=Ar.selectedChunks.filter(t=>t.label!==e.label);Ar.setSelectedChunks(t)}this.hide()},this.handleClickFilterToChunk=()=>{const{chunk:e}=this.props;if(e&&e.label){const t=Ar.allChunks.filter(t=>t.label===e.label);Ar.setSelectedChunks(t)}this.hide()},this.handleClickShowAllChunks=()=>{Ar.setSelectedChunks(Ar.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=wr()({[io.kL]:!0,[io.R]:!e}),n=Ar.selectedChunks.length>1;return qr("ul",{ref:this.saveNode,className:t,style:this.getStyle(),children:[qr(uo,{disabled:!n,onClick:this.handleClickHideChunk,children:"Hide chunk"}),qr(uo,{disabled:!n,onClick:this.handleClickFilterToChunk,children:"Hide all other chunks"}),qr("hr",{}),qr(uo,{disabled:Ar.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}}lo.propTypes={visible:Mr().bool,chunk:Zr,coords:Mr().shape({x:Mr().number,y:Mr().number}).isRequired,onHide:Mr().func};var co=n(204),ho={};ho.styleTagTransform=Nr(),ho.setAttributes=Lr(),ho.insert=Er().bind(null,"head"),ho.domAPI=Br(),ho.insertStyleElement=Ir();kr()(co.Ay,ho);co.Ay&&co.Ay.locals&&co.Ay.locals;class fo extends Hr{constructor(...e){super(...e),this.input=(0,t._3)(),this.state={query:"",showOptions:!1},this.handleClickOutside=e=>{const t=this.input.current;t&&e&&!t.contains(e.target)&&(this.setState({showOptions:!1}),this.state.query&&!this.props.options.includes(this.state.query)&&(this.setState({query:""}),this.props.onSelectionChange(void 0)))},this.handleInput=e=>{const{value:t}=e.target;this.setState({query:t}),t||this.props.onSelectionChange(void 0)},this.handleFocus=()=>{this.input.current.value=this.state.query,this.setState({showOptions:!0})},this.getOptionClickHandler=e=>()=>{this.props.onSelectionChange(e),this.setState({query:e,showOptions:!1})}}componentDidMount(){document.addEventListener("click",this.handleClickOutside,!0)}componentWillUnmount(){document.removeEventListener("click",this.handleClickOutside,!0)}render(){const{label:e,options:t}=this.props,n=this.state.query?t.filter(e=>e.toLowerCase().includes(this.state.query.toLowerCase())):t;return qr("div",{className:co.kL,children:[qr("div",{className:co.Pf,children:[e,":"]}),qr("div",{children:[qr("input",{ref:this.input,className:co.hF,type:"text",value:this.state.query,onInput:this.handleInput,onFocus:this.handleFocus}),this.state.showOptions?qr("div",{children:n.map(e=>qr("div",{className:co.uK,onClick:this.getOptionClickHandler(e),children:e},e))}):null]})]})}}fo.propTypes={label:Mr().string.isRequired,options:Mr().arrayOf(Mr().string).isRequired,onSelectionChange:Mr().func.isRequired};
|
|
37
|
+
/**
|
|
38
|
+
* Copyright (C) 2017-present by Andrea Giammarchi - @WebReflection
|
|
39
|
+
*
|
|
40
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
41
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
42
|
+
* in the Software without restriction, including without limitation the rights
|
|
43
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
44
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
45
|
+
* furnished to do so, subject to the following conditions:
|
|
46
|
+
*
|
|
47
|
+
* The above copyright notice and this permission notice shall be included in
|
|
48
|
+
* all copies or substantial portions of the Software.
|
|
49
|
+
*
|
|
50
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
51
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
52
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
53
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
54
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
55
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
56
|
+
* THE SOFTWARE.
|
|
57
|
+
*/
|
|
58
|
+
const{replace:po}="",vo=/[&<>'"]/g,go={"&":"&","<":"<",">":">","'":"'",'"':"""},bo=e=>go[e],mo=e=>po.call(e,vo,bo);var _o=n(410),yo={};yo.styleTagTransform=Nr(),yo.setAttributes=Lr(),yo.insert=Er().bind(null,"head"),yo.domAPI=Br(),yo.insertStyleElement=Ir();kr()(_o.Ay,yo);const Co=_o.Ay&&_o.Ay.locals?_o.Ay.locals:void 0;class Ao extends Hr{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:n,showSize:i}){const r=!this.state.visible;return qr("div",{className:wr()(_o.kL,e[this.itemType],{[_o.q4]:r}),title:r?this.invisibleHint:null,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,children:[qr("span",{dangerouslySetInnerHTML:{__html:this.titleHtml}}),i&&qr(t.FK,{children:[" (",qr("strong",{children:A(n[i])}),")"]})]})}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,i=this.props.highlightedText;if(i){const t=i instanceof RegExp?new RegExp(i.source,"igu"):new RegExp(`(?:${function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i)})+`,"iu");let r,o;do{o=r,r=t.exec(n)}while(r);o&&(e=`${mo(n.slice(0,o.index))}<strong>${mo(o[0])}</strong>${mo(n.slice(o.index+o[0].length))}`)}return e||(e=mo(n)),e}get invisibleHint(){return`${this.itemType.charAt(0).toUpperCase()+this.itemType.slice(1)} is not rendered in the treemap because it's too small.`}get isVisible(){const{isVisible:e}=this.props;return!e||e(this.props.module)}}Ao.propTypes={module:$r.isRequired,showSize:Qr.isRequired,highlightedText:Mr().instanceOf(RegExp),isVisible:Mr().func.isRequired,onClick:Mr().func.isRequired};var xo=n(180),wo={};wo.styleTagTransform=Nr(),wo.setAttributes=Lr(),wo.insert=Er().bind(null,"head"),wo.domAPI=Br(),wo.insertStyleElement=Ir();kr()(xo.A,wo);xo.A&&xo.A.locals&&xo.A.locals;class So extends Hr{constructor(...e){super(...e),this.handleModuleClick=e=>this.props.onModuleClick(e)}render({modules:e,showSize:t,highlightedText:n,isModuleVisible:i,className:r}){return qr("div",{className:wr()(xo.k,r),children:e.map(e=>qr(Ao,{module:e,showSize:t,highlightedText:n,isVisible:i,onClick:this.handleModuleClick},e.cid))})}}So.propTypes={className:Mr().string,modules:Mr().arrayOf($r).isRequired,showSize:Qr.isRequired,highlightedText:Mr().instanceOf(RegExp),isModuleVisible:Mr().func.isRequired,onModuleClick:Mr().func.isRequired};var Mo=n(380),To={};To.styleTagTransform=Nr(),To.setAttributes=Lr(),To.insert=Er().bind(null,"head"),To.domAPI=Br(),To.insertStyleElement=Ir();kr()(Mo.Ay,To);Mo.Ay&&Mo.Ay.locals&&Mo.Ay.locals;var ko=n(7),zo={};zo.styleTagTransform=Nr(),zo.setAttributes=Lr(),zo.insert=Er().bind(null,"head"),zo.domAPI=Br(),zo.insertStyleElement=Ir();kr()(ko.Ay,zo);ko.Ay&&ko.Ay.locals&&ko.Ay.locals;class Bo extends Hr{constructor(...e){super(...e),this.handleClick=e=>{this.elem&&this.elem.blur(),this.props.onClick(e)},this.saveRef=e=>this.elem=e}render({active:e,className:t,children:n,...i}){const r=wr()(t,{[ko.x6]:!0,[ko.vu]:e});return qr("button",{...i,ref:this.saveRef,type:"button",className:r,disabled:this.disabled,onClick:this.handleClick,children:n})}get disabled(){const{disabled:e,active:t,toggle:n}=this.props;return e||t&&!n}}Bo.propTypes={className:Mr().string,active:Mr().bool,toggle:Mr().bool,disabled:Mr().bool,onClick:Mr().func.isRequired,children:Mr().node};var Do=n(607),Eo={};Eo.styleTagTransform=Nr(),Eo.setAttributes=Lr(),Eo.insert=Er().bind(null,"head"),Eo.domAPI=Br(),Eo.insertStyleElement=Ir();kr()(Do.Ay,Eo);Do.Ay&&Do.Ay.locals&&Do.Ay.locals;class jo extends Hr{constructor(...e){super(...e),this.handleValueChange=function(e,t=100,n={}){if("function"!=typeof e)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");if("boolean"==typeof n)throw new TypeError("The `options` parameter must be an object, not a boolean. Use `{immediate: true}` instead.");const{immediate:i}=n;let r,o,a,s,u;function l(){const t=r,n=o;return r=void 0,o=void 0,u=e.apply(t,n),u}function c(){const e=Date.now()-s;e<t&&e>=0?a=setTimeout(c,t-e):(a=void 0,i||(u=l()))}const h=function(...e){if(r&&this!==r&&Object.getPrototypeOf(this)===Object.getPrototypeOf(r))throw new Error("Debounced method called with different contexts of the same prototype.");r=this,o=e,s=Date.now();const n=i&&!a;if(a||(a=setTimeout(c,t)),n)return u=l(),u};return Object.defineProperty(h,"isPending",{get:()=>void 0!==a}),h.clear=()=>{a&&(clearTimeout(a),a=void 0,r=void 0,o=void 0)},h.flush=()=>{a&&h.trigger()},h.trigger=()=>{u=l(),h.clear()},h}(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.clear()}render(){const{label:e,query:t}=this.props;return qr("div",{className:Do.kL,children:[qr("div",{className:Do.Pf,children:[e,":"]}),qr("div",{className:Do.nM,children:[qr("input",{ref:this.saveInputNode,className:Do.hF,type:"text",value:t,placeholder:"Enter regexp",onInput:this.handleValueChange,onBlur:this.handleInputBlur,onKeyDown:this.handleKeyDown}),qr(Bo,{className:Do.IU,onClick:this.handleClearClick,children:"x"})]})]})}focus(){this.input&&this.input.focus()}clear(){this.handleValueChange.clear(),this.informChange(""),this.input.value=""}informChange(e){this.props.onQueryChange(e)}}jo.propTypes={className:Mr().string,label:Mr().string.isRequired,query:Mr().string.isRequired,autofocus:Mr().bool,onQueryChange:Mr().func.isRequired};var Lo=n(376),Oo={};Oo.styleTagTransform=Nr(),Oo.setAttributes=Lr(),Oo.insert=Er().bind(null,"head"),Oo.domAPI=Br(),Oo.insertStyleElement=Ir();kr()(Lo.A,Oo);Lo.A&&Lo.A.locals&&Lo.A.locals;const Io={"arrow-right":{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNLjgyMiAxMi44MTFhLjQ0NS40NDUgMCAwIDEtLjMyMi4xMzMuNDU2LjQ1NiAwIDAgMS0uMzIyLS43NzhMNS44NDQgNi41LjE3OC44MzNBLjQ1Ni40NTYgMCAwIDEgLjgyMi4xOWw1Ljk5IDUuOTg5YS40NTYuNDU2IDAgMCAxIDAgLjY0NGwtNS45OSA1Ljk5eiIvPjwvc3ZnPg==",size:[7,13]},pin:{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMDEyIDE3Ljk0OWwtMS40OTMtNi4zNzZhMTAuOTM1IDEwLjkzNSAwIDAgMCAyLjk4NS4wMDJMNi4wMTIgMTcuOTV6TTkuMjQ2IDEuODU3YzAgLjUyLS40MTUuOTg1LTEuMDcgMS4zMDhsLS4wMDEgMi42MTZjMS43MjUuNDEgMi45MjIgMS4yOTQgMi45MjIgMi4zMiAwIC40MTYtLjE5NS44MDktLjU0MiAxLjE1Ni0uNjQuNjM5LTEuNzk0IDEuMTI0LTMuMTg3IDEuMzE4LS4wMy4wMDUtLjA2Mi4wMDgtLjA5My4wMTJhOC45MTcgOC45MTcgMCAwIDEtLjcyNS4wNjVsLS4xMi4wMDdhMTAuMTU0IDEwLjE1NCAwIDAgMS0uODk1LS4wMDNjLS4wOTgtLjAwNS0uMTkzLS4wMTMtLjI4OC0uMDItLjA1My0uMDA0LS4xMDYtLjAwNy0uMTU4LS4wMTJhOS4yNDcgOS4yNDcgMCAwIDEtLjM3Mi0uMDQzbC0uMDQ1LS4wMDZDMi41MTQgMTAuMjc4LjkyNiA5LjI4NS45MjYgOC4xMDFjMC0uNDE1LjE5Ni0uODA3LjU0My0xLjE1NC41MTEtLjUxMiAxLjM1Mi0uOTI0IDIuMzgtMS4xNjhWMy4xNjVjLS42NTYtLjMyMy0xLjA3LS43ODktMS4wNy0xLjMwOUMyLjc3OC44ODIgNC4yMjUuMDkyIDYuMDExLjA5MnMzLjIzNC43OSAzLjIzNCAxLjc2NXoiLz48L3N2Zz4=",size:[12,18]},moon:{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iY3VycmVudENvbG9yIj4KICA8cGF0aCBkPSJNMjEgMTIuNzlBOSA5IDAgMSAxIDExLjIxIDMgNyA3IDAgMCAwIDIxIDEyLjc5eiIvPgo8L3N2Zz4K",size:[24,24]},sun:{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iY3VycmVudENvbG9yIj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI1Ii8+CiAgPHBhdGggZD0iTTEyIDF2Mm0wIDE4djJNNC4yMiA0LjIybDEuNDIgMS40Mm0xMi43MiAxMi43MmwxLjQyIDEuNDJNMSAxMmgybTE4IDBoMk00LjIyIDE5Ljc4bDEuNDItMS40Mk0xOC4zNiA1LjY0bDEuNDItMS40MiIvPgo8L3N2Zz4K",size:[24,24]}};class Po extends Hr{render({className:e}){return qr("i",{className:wr()(Lo.K,e),style:this.style})}get style(){const{name:e,size:t,rotate:n}=this.props,i=Io[e];if(!i)throw new TypeError(`Can't find "${e}" icon.`);let[r,o]=i.size;if(t){const e=t/Math.max(r,o);r=Math.min(Math.ceil(r*e),t),o=Math.min(Math.ceil(o*e),t)}return{backgroundImage:`url(${i.src})`,width:`${r}px`,height:`${o}px`,transform:n?`rotate(${n}deg)`:""}}}Po.propTypes={className:Mr().string,name:Mr().string.isRequired,size:Mr().number,rotate:Mr().number};var No=n(727),Ro={};Ro.styleTagTransform=Nr(),Ro.setAttributes=Lr(),Ro.insert=Er().bind(null,"head"),Ro.domAPI=Br(),Ro.insertStyleElement=Ir();kr()(No.Ay,Ro);No.Ay&&No.Ay.locals&&No.Ay.locals;var Fo=n(284),Go={};Go.styleTagTransform=Nr(),Go.setAttributes=Lr(),Go.insert=Er().bind(null,"head"),Go.domAPI=Br(),Go.insertStyleElement=Ir();kr()(Fo.A,Go);Fo.A&&Fo.A.locals&&Fo.A.locals;class qo extends t.uA{constructor(...e){super(...e),this.handleToggle=()=>{Ar.toggleDarkMode()}}render(){const{darkMode:e}=Ar;return qr(Bo,{type:"button",title:e?"Switch to Light Mode":"Switch to Dark Mode",className:Fo.y,onClick:this.handleToggle,children:qr(Po,{name:e?"sun":"moon",size:16})})}}const Uo=br(qo),Vo=Number.parseInt(No._C,10);class Ho extends t.uA{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:i,renderContent:r}=this.state,o=wr()({[No.kL]:!0,[No.dp]:t,[No.kb]:"left"===e,[No.R]:!i,[No.Ie]:!r});return qr("div",{ref:this.saveNode,className:o,onClick:this.handleClick,onMouseLeave:this.handleMouseLeave,children:[qr(Uo,{}),i&&qr(Bo,{type:"button",title:"Pin",className:No.Yf,active:t,toggle:!0,onClick:this.handlePinButtonClick,children:qr(Po,{name:"pin",size:13})}),qr(Bo,{type:"button",title:i?"Hide":"Show sidebar",className:No.Rm,onClick:this.handleToggleButtonClick,children:qr(Po,{name:"arrow-right",size:10,rotate:i?180:0})}),t&&i&&qr("div",{className:No.tS,onMouseDown:this.handleResizeStart}),qr("div",{className:No.Qs,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,children:r?n:null})]})}toggleVisibility(e){clearTimeout(this.hideContentTimeout);const{visible:t}=this.state,{onToggle:n,pinned:i}=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),i&&this.updateNodeWidth(e?this.width:null),e||i?(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`:""}}Ho.propTypes={pinned:Mr().bool.isRequired,position:Mr().string,onToggle:Mr().func.isRequired,onResize:Mr().func.isRequired,onPinStateChange:Mr().func.isRequired,children:Mr().node.isRequired},Ho.defaultProps={pinned:!1,position:"left"};var Wo=n(214),Ko={};Ko.styleTagTransform=Nr(),Ko.setAttributes=Lr(),Ko.insert=Er().bind(null,"head"),Ko.domAPI=Br(),Ko.insertStyleElement=Ir();kr()(Wo.Ay,Ko);Wo.Ay&&Wo.Ay.locals&&Wo.Ay.locals;class Yo extends Hr{constructor(...e){super(...e),this.handleClick=()=>{this.props.onClick(this.props.item)}}render({item:e,...t}){return qr(Bo,{...t,onClick:this.handleClick,children:e.label})}}Yo.propTypes={active:Mr().bool.isRequired,item:Jr.isRequired,onClick:Mr().func.isRequired};class Zo extends Hr{render(){const{label:e,items:t,activeItem:n,onSwitch:i}=this.props;return qr("div",{className:Wo.kL,children:[qr("div",{className:Wo.Pf,children:[e,":"]}),qr("div",{children:t.map(e=>qr(Yo,{className:Wo.AS,item:e,active:e===n,onClick:i},e.label))})]})}}Zo.propTypes={label:Mr().string.isRequired,items:Mr().arrayOf(Jr).isRequired,activeItem:Jr.isRequired,onSwitch:Mr().func.isRequired};var Xo=n(630),$o={};$o.styleTagTransform=Nr(),$o.setAttributes=Lr(),$o.insert=Er().bind(null,"head"),$o.domAPI=Br(),$o.insertStyleElement=Ir();kr()(Xo.Ay,$o);Xo.Ay&&Xo.Ay.locals&&Xo.Ay.locals;class Qo extends t.uA{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=wr()({[Xo.kL]:!0,[Xo.R]:!t});return qr("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+Qo.marginX,top:this.mouseCoords.y+Qo.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-Qo.marginY-t.height),this.setState(e)}}Qo.propTypes={visible:Mr().bool.isRequired,children:Mr().node.isRequired},Qo.marginX=10,Qo.marginY=30,
|
|
8
59
|
/**
|
|
9
60
|
* Carrot Search FoamTree HTML5 (demo variant)
|
|
10
|
-
* v3.5.
|
|
61
|
+
* v3.5.7, bugfix/3.5.x/83c8d550, build [unset], Oct 19, 2025
|
|
11
62
|
*
|
|
12
63
|
* Carrot Search confidential.
|
|
13
|
-
* Copyright 2002-
|
|
64
|
+
* Copyright 2002-2025, Carrot Search s.c, All Rights Reserved.
|
|
14
65
|
*/
|
|
15
|
-
!function(){var e,t=function(){var e=window.navigator.userAgent;try{window.localStorage.setItem("ftap5caavc","ftap5caavc"),window.localStorage.removeItem("ftap5caavc");var n=!0}catch(r){n=!1}return{Se:function(){return/webkit/i.test(e)},Lh:function(){return/Mac/.test(e)},Qe:function(){return/iPad|iPod|iPhone/.test(e)},Kh:function(){return/Android/.test(e)},Gh:function(){return"ontouchstart"in window||!!window.DocumentTouch&&document instanceof window.DocumentTouch},Fh:function(){return n},Eh:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},md:function(e,n){return[].forEach&&t.Eh()?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:function(){var t=e();return function(){return t.call(window.performance)}}()}},now:function(){return t.call(window.performance)}}}();function r(){function r(){if(!u)throw"AF0";var e=n.now();0!==l&&(i.sd=e-l),l=e,s=s.filter((function(e){return null!==e})),i.frames++;for(var t=0;t<s.length;t++){var r=s[t];null!==r&&(!0===r.ee.call(r.context)?s[t]=null:y.zc(r.repeat)&&(r.repeat=r.repeat-1,0>=r.repeat&&(s[t]=null)))}s=s.filter((function(e){return null!==e})),u=!1,o(),0!==(e=n.now()-e)&&(i.rd=e),i.totalTime+=e,i.ue=1e3*i.frames/i.totalTime,l=0===s.length?0:n.now()}function o(){0<s.length&&!u&&(u=!0,a(r))}var i=this.Wf={frames:0,totalTime:0,rd:0,sd:0,ue:0};e=i;var a=t.Qe()?function(e){window.setTimeout(e,0)}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(){var e=n.create();return function(t){var n=0;window.setTimeout((function(){var r=e.now();t(),n=e.now()-r}),16>n?16-n:0)}}(),s=[],u=!1,l=0;this.repeat=function(e,t,n){this.cancel(e),s.push({ee:e,context:n,repeat:t}),o()},this.once=function(e,t){this.repeat(e,1,t)},this.cancel=function(e){for(var t=0;t<s.length;t++){var n=s[t];null!==n&&n.ee===e&&(s[t]=null)}},this.i=function(){s=[]}}var o=t.md((function(){function e(){this.buffer=[],this.ma=0,this.current=y.extend({},s)}function t(e){return function(){var t,n=this.buffer,r=this.ma;for(n[r++]="call",n[r++]=e,n[r++]=arguments.length,t=0;t<arguments.length;t++)n[r++]=arguments[t];this.ma=r}}function n(e){return function(){return i[e].apply(i,arguments)}}var r=document.createElement("canvas");r.width=1,r.height=1;var i=r.getContext("2d");r=["font"];var a="fillStyle globalAlpha globalCompositeOperation lineCap lineDashOffset lineJoin lineWidth miterLimit shadowBlur shadowColor shadowOffsetX shadowOffsetY strokeStyle textAlign textBaseline".split(" "),s={};return a.concat(r).forEach((function(e){s[e]=i[e]})),e.prototype.clear=function(){this.ma=0},e.prototype.Ga=function(){return 0===this.ma},e.prototype.Na=function(e){e instanceof o?function(e,t,n){for(var r=0,o=e.ma,i=e.buffer;r<n;)i[o++]=t[r++];e.ma=o}(e,this.buffer,this.ma):function(e,t,n,r){for(var o=0;o<n;)switch(t[o++]){case"set":e[t[o++]]=t[o++];break;case"setGlobalAlpha":e[t[o++]]=t[o++]*r;break;case"call":var i=t[o++];switch(t[o++]){case 0:e[i]();break;case 1:e[i](t[o++]);break;case 2:e[i](t[o++],t[o++]);break;case 3:e[i](t[o++],t[o++],t[o++]);break;case 4:e[i](t[o++],t[o++],t[o++],t[o++]);break;case 5:e[i](t[o++],t[o++],t[o++],t[o++],t[o++]);break;case 6:e[i](t[o++],t[o++],t[o++],t[o++],t[o++],t[o++]);break;case 7:e[i](t[o++],t[o++],t[o++],t[o++],t[o++],t[o++],t[o++]);break;case 8:e[i](t[o++],t[o++],t[o++],t[o++],t[o++],t[o++],t[o++],t[o++]);break;case 9:e[i](t[o++],t[o++],t[o++],t[o++],t[o++],t[o++],t[o++],t[o++],t[o++]);break;default:throw"CB0"}}}(e,this.buffer,this.ma,y.I(e.globalAlpha,1))},e.prototype.replay=e.prototype.Na,e.prototype.i=function(){return new e},e.prototype.scratch=e.prototype.i,"arc arcTo beginPath bezierCurveTo clearRect clip closePath drawImage fill fillRect fillText lineTo moveTo putImageData quadraticCurveTo rect rotate scale setLineDash setTransform stroke strokeRect strokeText transform translate".split(" ").forEach((function(n){e.prototype[n]=t(n)})),["measureText","createLinearGradient","createRadialGradient","createPattern","getLineDash"].forEach((function(t){e.prototype[t]=n(t)})),["save","restore"].forEach((function(r){var o=n(r),i=t(r);e.prototype[r]=function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}(i,o)})),r.forEach((function(t){Object.defineProperty(e.prototype,t,{set:function(e){i[t]=e,this.current[t]=e;var n=this.buffer;n[this.ma++]="set",n[this.ma++]=t,n[this.ma++]=e},get:function(){return this.current[t]}})})),a.forEach((function(t){Object.defineProperty(e.prototype,t,{set:function(e){this.current[t]=e;var n=this.buffer;n[this.ma++]="globalAlpha"===t?"setGlobalAlpha":"set",n[this.ma++]=t,n[this.ma++]=e},get:function(){return this.current[t]}})})),e.prototype.roundRect=function(e,t,n,r,o){this.beginPath(),this.moveTo(e+o,t),this.lineTo(e+n-o,t),this.quadraticCurveTo(e+n,t,e+n,t+o),this.lineTo(e+n,t+r-o),this.quadraticCurveTo(e+n,t+r,e+n-o,t+r),this.lineTo(e+o,t+r),this.quadraticCurveTo(e,t+r,e,t+r-o),this.lineTo(e,t+o),this.quadraticCurveTo(e,t,e+o,t),this.closePath()},e.prototype.fillPolygonWithText=function(e,t,n,r,i){i||(i={});var a={hb:y.I(i.maxFontSize,D.ya.hb),Gc:y.I(i.minFontSize,D.ya.Gc),lineHeight:y.I(i.lineHeight,D.ya.lineHeight),cb:y.I(i.horizontalPadding,D.ya.cb),Ua:y.I(i.verticalPadding,D.ya.Ua),ib:y.I(i.maxTotalTextHeight,D.ya.ib),fontFamily:y.I(i.fontFamily,D.ya.fontFamily),fontStyle:y.I(i.fontStyle,D.ya.fontStyle),fontVariant:y.I(i.fontVariant,D.ya.fontVariant),fontWeight:y.I(i.fontWeight,D.ya.fontWeight),verticalAlign:y.I(i.verticalAlign,D.ya.verticalAlign)},s=i.cache;if(s&&y.has(i,"area")){s.Qc||(s.Qc=new o);var u=i.area,l=y.I(i.cacheInvalidationThreshold,.05);e=D.de(a,this,r,e,M.F(e,{}),{x:t,y:n},i.allowForcedSplit||!1,i.allowEllipsis||!1,s,u,l,i.invalidateCache)}else e=D.re(a,this,r,e,M.F(e,{}),{x:t,y:n},i.allowForcedSplit||!1,i.allowEllipsis||!1);return e.ka?{fit:!0,lineCount:e.bc,fontSize:e.fontSize,box:{x:e.box.x,y:e.box.y,w:e.box.w,h:e.box.o},ellipsis:e.Ub}:{fit:!1}},e})),i=t.md((function(){function e(e){this.S=e,this.canvas=e.canvas,this.i=[],this.zb=[void 0],this.vc=["#SIZE#px sans-serif"],this.td=[0],this.ud=[1],this.Rd=[0],this.Sd=[0],this.Td=[0],this.yd=[10],this.Xb=[10],this.Hb=[this.zb,this.vc,this.Xb,this.td,this.ud,this.Rd,this.yd,this.Sd,this.Td],this.da=[1,0,0,1,0,0]}function t(e){var t=e.S,n=e.Hb[0].length-1;e.zb[n]&&(t.setLineDash(e.zb[n]),t.lineDashOffset=e.td[n]),t.miterLimit=e.yd[n],t.lineWidth=e.ud[n],t.shadowBlur=e.Rd[n],t.shadowOffsetX=e.Sd[n],t.shadowOffsetY=e.Td[n],t.font=e.vc[n].replace("#SIZE#",e.Xb[n].toString())}function n(e,t,n){return e*n[0]+t*n[2]+n[4]}function r(e,t,n){return e*n[1]+t*n[3]+n[5]}function o(e,t){for(var n=0;n<e.length;n++)e[n]*=t[0];return e}e.prototype.save=function(){this.i.push(this.da.slice(0));for(var e=0;e<this.Hb.length;e++){var t=this.Hb[e];t.push(t[t.length-1])}this.S.save()},e.prototype.restore=function(){this.da=this.i.pop();for(var e=0;e<this.Hb.length;e++)this.Hb[e].pop();this.S.restore(),t(this)},e.prototype.scale=function(e,n){var r=this.da;r[0]*=e,r[1]*=e,r[2]*=n,r[3]*=n,e=this.da,r=(n=this.Hb)[0].length-1;var i=this.zb[r];for(i&&o(i,e),i=2;i<n.length;i++){n[i][r]*=e[0]}t(this)},e.prototype.translate=function(e,t){var n=this.da;n[4]+=n[0]*e+n[2]*t,n[5]+=n[1]*e+n[3]*t},["moveTo","lineTo"].forEach((function(t){e.prototype[t]=function(e){return function(t,o){var i=this.da;return this.S[e].call(this.S,n(t,o,i),r(t,o,i))}}(t)})),["clearRect","fillRect","strokeRect","rect"].forEach((function(t){e.prototype[t]=function(e){return function(t,o,i,a){var s=this.da;return this.S[e].call(this.S,n(t,o,s),r(t,o,s),i*s[0],a*s[3])}}(t)})),"fill stroke beginPath closePath clip createImageData createPattern getImageData putImageData getLineDash setLineDash".split(" ").forEach((function(t){e.prototype[t]=function(e){return function(){return this.S[e].apply(this.S,arguments)}}(t)})),[{p:"lineDashOffset",a:function(e){return e.td}},{p:"lineWidth",a:function(e){return e.ud}},{p:"miterLimit",a:function(e){return e.yd}},{p:"shadowBlur",a:function(e){return e.Rd}},{p:"shadowOffsetX",a:function(e){return e.Sd}},{p:"shadowOffsetY",a:function(e){return e.Td}}].forEach((function(t){Object.defineProperty(e.prototype,t.p,{set:function(e){var n=t.a(this);e*=this.da[0],n[n.length-1]=e,this.S[t.p]=e}})}));var i=/(\d+(?:\.\d+)?)px/;return Object.defineProperty(e.prototype,"font",{set:function(e){var t=i.exec(e);if(1<t.length){var n=this.Xb.length-1;this.Xb[n]=parseFloat(t[1]),this.vc[n]=e.replace(i,"#SIZE#px"),e=this.S,n=this.vc[n].replace("#SIZE#",(this.Xb[n]*this.da[0]).toString()),e.font=n}}}),"fillStyle globalAlpha globalCompositeOperation lineCap lineJoin shadowColor strokeStyle textAlign textBaseline".split(" ").forEach((function(t){Object.defineProperty(e.prototype,t,{set:function(e){this.S[t]=e}})})),e.prototype.arc=function(e,t,o,i,a,s){var u=this.da;this.S.arc(n(e,t,u),r(e,t,u),o*u[0],i,a,s)},e.prototype.arcTo=function(e,t,o,i,a){var s=this.da;this.S.arc(n(e,t,s),r(e,t,s),n(o,i,s),r(o,i,s),a*s[0])},e.prototype.bezierCurveTo=function(e,t,o,i,a,s){var u=this.da;this.S.bezierCurveTo(n(e,t,u),r(e,t,u),n(o,i,u),r(o,i,u),n(a,s,u),r(a,s,u))},e.prototype.drawImage=function(e,t,o,i,a,s,u,l,c){function h(t,o,i,a){d.push(n(t,o,f)),d.push(r(t,o,f)),i=y.V(i)?e.width:i,a=y.V(a)?e.height:a,d.push(i*f[0]),d.push(a*f[3])}var f=this.da,d=[e];y.V(s)?h(t,o,i,a):h(s,u,l,c),this.S.drawImage.apply(this.S,d)},e.prototype.quadraticCurveTo=function(e,t,o,i){var a=this.da;this.S.quadraticCurveTo(n(e,t,a),r(e,t,a),n(o,i,a),r(o,i,a))},e.prototype.fillText=function(e,t,o,i){var a=this.da;this.S.fillText(e,n(t,o,a),r(t,o,a),y.zc(i)?i*a[0]:1e20)},e.prototype.setLineDash=function(e){e=o(e.slice(0),this.da),this.zb[this.zb.length-1]=e,this.S.setLineDash(e)},e})),a=function(){var e=!t.Se()||t.Qe()||t.Kh()?1:7;return{estimate:function(){function t(e){e.beginPath(),s.Ud(e,l)}var r=document.createElement("canvas");r.width=800,r.height=600;var o=r.getContext("2d"),i=r.width;r=r.height;var a,u=0,l=[{x:0,y:100}];for(a=1;6>=a;a++)u=2*a*Math.PI/6,l.push({x:100*Math.sin(u),y:100*Math.cos(u)});a={polygonPlainFill:[t,function(e){e.fillStyle="rgb(255, 0, 0)",e.fill()}],polygonPlainStroke:[t,function(e){e.strokeStyle="rgb(128, 0, 0)",e.lineWidth=2,e.closePath(),e.stroke()}],polygonGradientFill:[t,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:[t,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:[t,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)}]},u=100/Object.keys(a).length;var c,h=n.now(),f={};for(c in a){var d=a[c],p=n.now(),g=0;do{o.save(),o.translate(Math.random()*i,Math.random()*r);var b=3*Math.random()+.5;for(o.scale(b,b),b=0;b<d.length;b++)d[b](o);o.restore(),g++,b=n.now()}while(b-p<u);f[c]=e*(b-p)/g}return f.total=n.now()-h,f}}}(),s={Ud:function(e,t){var n=t[0];e.moveTo(n.x,n.y);for(var r=t.length-1;0<r;r--)n=t[r],e.lineTo(n.x,n.y)},Ti:function(e,t,n,r){var o,i=[],a=0,s=t.length;for(o=0;o<s;o++){var u=t[o],l=t[(o+1)%s];u=M.i(u,l),u=Math.sqrt(u),i.push(u),a+=u}n=r*(n+.5*r*a/s),a={};var c={},h={};for(o=0;o<s;o++){u=t[o],l=t[(o+1)%s],r=t[(o+2)%s];var f=i[(o+1)%s];f=Math.min(.5,n/f),M.ga(1-f,l,r,c),M.ga(f,l,r,h),0==o&&(M.ga(Math.min(.5,n/i[0]),u,l,a),e.moveTo(a.x,a.y)),e.quadraticCurveTo(l.x,l.y,c.x,c.y),e.lineTo(h.x,h.y)}return!0}};function u(e){function t(){return"embedded"===o.getAttribute("data-foamtree")}function n(e){h[e]&&(h[e].style.opacity=d*f[e])}function r(e){e.width=Math.round(a*e.B),e.height=Math.round(s*e.B)}var o,i,a,s,u,l,c=[],h={},f={},d=0;this.M=function(n){0!==(o=n).clientWidth&&0!==o.clientHeight||L.i("element has zero dimensions: "+o.clientWidth+" x "+o.clientHeight+"."),o.innerHTML="",a=o.clientWidth,s=o.clientHeight,u=0!==a?a:void 0,l=0!==s?s:void 0,t()&&L.i("visualization already embedded in the element."),o.setAttribute("data-foamtree","embedded"),(i=document.createElement("div")).style.width="100%",i.style.height="100%",i.style.position="relative",o.appendChild(i),e.j.D("stage:initialized",this,i,a,s)},this.Za=function(){t()&&(o.removeAttribute("data-foamtree"),c=[],h={},o.removeChild(i),e.j.D("stage:disposed",this,i))},this.u=function(){if(a=o.clientWidth,s=o.clientHeight,0!==a&&0!==s&&(a!==u||s!==l)){for(var t=c.length-1;0<=t;t--)r(c[t]);e.j.D("stage:resized",u,l,a,s),u=a,l=s}},this.Hi=function(e,t){e.B=t,r(e)},this.dc=function(t,o,a){var s=document.createElement("canvas");return s.setAttribute("style","position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;"),s.B=o,r(s),c.push(s),h[t]=s,f[t]=1,n(t),a||i.appendChild(s),e.j.D("stage:newLayer",t,s),s},this.$b=function(e,t){return y.V(t)||(f[e]=t,n(e)),f[e]},this.i=function(e){return y.V(e)||(d=e,y.Aa(h,(function(e,t){n(t)}))),d}}function l(e){function t(e,t,n){return m=!0,p.x=0,p.y=0,g.x=0,g.y=0,a=f,s.x=d.x,s.y=d.y,t(),u*=e,l=n?u/a:e,l=Math.max(.25/a,l),!0}function n(e,t){return t.x=e.x/f+d.x,t.y=e.y/f+d.y,t}function r(e,t,n,r,o,i,a,s,u){var l=(e-n)*(i-s)-(t-r)*(o-a);return!(1e-5>Math.abs(l))&&(u.x=((e*r-t*n)*(o-a)-(e-n)*(o*s-i*a))/l,u.y=((e*r-t*n)*(i-s)-(t-r)*(o*s-i*a))/l,!0)}var o,i,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,w:0,o:0},v={x:0,y:0,w:0,o:0,scale:1},m=!0;e.j.subscribe("stage:initialized",(function(e,t,n,r){o=n,i=r,b.x=0,b.y=0,b.w=n,b.o=r,v.x=0,v.y=0,v.w=n,v.o=r,v.scale=1})),e.j.subscribe("stage:resized",(function(e,t,n,r){function a(e){e.x*=l,e.y*=c}function u(e){a(e),e.w*=l,e.o*=c}o=n,i=r;var l=n/e,c=r/t;a(s),a(d),a(h),a(p),a(g),u(b),u(v)})),this.Nb=function(e,r){return t(r,(function(){n(e,h)}),!0)},this.ga=function(e,n){if(1==Math.round(1e4*n)/1e4){n=b.x-d.x;var o=b.y-d.y;return t(1,(function(){}),!0),this.i(-n,-o)}return t(n,(function(){for(var t=!1;!t;){t=Math.random();var n=Math.random(),o=Math.random(),i=Math.random();t=r(e.x+t*e.w,e.y+n*e.o,b.x+t*b.w,b.y+n*b.o,e.x+o*e.w,e.y+i*e.o,b.x+o*b.w,b.y+i*b.o,h)}}),!0)},this.ic=function(e,n){var a=e.w/e.o,s=o/i;if(a<s){var u=e.o*s,l=e.o;a=e.x-.5*(u-e.w),s=e.y}else a>s?(u=e.w,l=e.w*i/o,a=e.x,s=e.y-.5*(l-e.o)):(a=e.x,s=e.y,u=e.w,l=e.o);return a-=u*n,u*=1+2*n,r(a,s-=l*n,d.x,d.y,a+u,s,d.x+o/f,d.y,h)?t(o/f/u,y.qa,!1):(m=!1,this.i(f*(d.x-a),f*(d.y-s)))},this.i=function(e,t){return e=Math.round(1e4*e)/1e4,t=Math.round(1e4*t)/1e4,g.x+=e/f,g.y+=t/f,0!==e||0!==t},this.reset=function(e){return e&&this.content(0,0,o,i),this.ga({x:b.x+d.x,y:b.y+d.y,w:b.w/f,o:b.o/f},c/u)},this.Fb=function(e){c=Math.min(1,Math.round(1e4*(e||u))/1e4)},this.u=function(){return d.x<b.x?(b.x-d.x)*f:d.x+o/f>b.x+b.w?-(d.x+o/f-b.x-b.w)*f:0},this.H=function(){return d.y<b.y?(b.y-d.y)*f:d.y+i/f>b.y+b.o?-(d.y+i/f-b.y-b.o)*f:0},this.update=function(e){var t=Math.abs(Math.log(l));6>t?t=2:(t/=4,t+=3*t*(1<l?e:1-e)),t=1<l?Math.pow(e,t):1-Math.pow(1-e,t),f=a*(t=(m?t:1)*(l-1)+1),d.x=h.x-(h.x-s.x)/t,d.y=h.y-(h.y-s.y)/t,d.x-=p.x*(1-e)+g.x*e,d.y-=p.y*(1-e)+g.y*e,1===e&&(p.x=g.x,p.y=g.y),v.x=d.x,v.y=d.y,v.w=o/f,v.o=i/f,v.scale=f},this.T=function(e){return e.x=v.x,e.y=v.y,e.scale=v.scale,e},this.absolute=function(e,t){return n(e,t||{})},this.Uc=function(e,t){return(t=t||{}).x=(e.x-d.x)*f,t.y=(e.y-d.y)*f,t},this.pc=function(e){return this.scale()<c/e},this.zd=function(){return y.od(f,1)},this.scale=function(){return Math.round(1e4*f)/1e4},this.content=function(e,t,n,r){b.x=e,b.y=t,b.w=n,b.o=r},this.rc=function(e,t){var n;for(n=e.length-1;0<=n;n--){var r=e[n];r.save(),r.scale(f,f),r.translate(-d.x,-d.y)}for(t(v),n=e.length-1;0<=n;n--)(r=e[n]).restore()}}var c=new function(){function e(e){if("hsl"==e.model||"hsla"==e.model)return e;var t=e.r/=255,n=e.g/=255,r=e.b/=255,o=Math.max(t,n,r),i=Math.min(t,n,r),a=(o+i)/2;if(o==i)var s=i=0;else{var u=o-i;switch(i=.5<a?u/(2-o-i):u/(o+i),o){case t:s=(n-r)/u+(n<r?6:0);break;case n:s=(r-t)/u+2;break;case r:s=(t-n)/u+4}s/=6}return e.h=360*s,e.s=100*i,e.l=100*a,e.model="hsl",e}var t={h:0,s:0,l:0,a:1,model:"hsla"};this.u=function(n){return y.Ac(n)?e(c.ga(n)):y.wb(n)?e(n):t},this.ga=function(e){var n;return(n=/rgba\(\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*\)/.exec(e))&&5==n.length?{r:parseFloat(n[1]),g:parseFloat(n[2]),b:parseFloat(n[3]),a:parseFloat(n[4]),model:"rgba"}:(n=/hsla\(\s*([^,\s]+)\s*,\s*([^,%\s]+)%\s*,\s*([^,\s%]+)%\s*,\s*([^,\s]+)\s*\)/.exec(e))&&5==n.length?{h:parseFloat(n[1]),s:parseFloat(n[2]),l:parseFloat(n[3]),a:parseFloat(n[4]),model:"hsla"}:(n=/rgb\(\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*\)/.exec(e))&&4==n.length?{r:parseFloat(n[1]),g:parseFloat(n[2]),b:parseFloat(n[3]),a:1,model:"rgb"}:(n=/hsl\(\s*([^,\s]+)\s*,\s*([^,\s%]+)%\s*,\s*([^,\s%]+)%\s*\)/.exec(e))&&4==n.length?{h:parseFloat(n[1]),s:parseFloat(n[2]),l:parseFloat(n[3]),a:1,model:"hsl"}:(n=/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(e))&&4==n.length?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16),a:1,model:"rgb"}:(n=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(e))&&4==n.length?{r:17*parseInt(n[1],16),g:17*parseInt(n[2],16),b:17*parseInt(n[3],16),a:1,model:"rgb"}:t},this.T=function(e){function t(e,t,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:.5>n?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function n(e,t,n){return Math.sqrt(e*e*.241+t*t*.691+n*n*.068)/255}if("rgb"==e.model||"rgba"==e.model)return n(e.r,e.g,e.b);var r=e.l/100,o=e.s/100,i=e.h/360;if(0==e.zj)r=e=i=r;else{var a=2*r-(o=.5>r?r*(1+o):r+o-r*o);r=t(a,o,i+1/3),e=t(a,o,i),i=t(a,o,i-1/3)}return n(255*r,255*e,255*i)},this.wa=function(e){if(y.Ac(e))return e;if(!y.wb(e))return"#000";switch(e.model){case"hsla":return c.sa(e);case"hsl":return c.H(e);case"rgba":return c.ua(e);case"rgb":return c.ta(e);default:return"#000"}},this.ua=function(e){return"rgba("+(.5+e.r|0)+","+(.5+e.g|0)+","+(.5+e.b|0)+","+e.a+")"},this.ta=function(e){return"rgba("+(.5+e.r|0)+","+(.5+e.g|0)+","+(.5+e.b|0)+")"},this.sa=function(e){return"hsla("+(.5+e.h|0)+","+(.5+e.s|0)+"%,"+(.5+e.l|0)+"%,"+e.a+")"},this.H=function(e){return"hsl("+(.5+e.h|0)+","+(.5+e.s|0)+"%,"+(.5+e.l|0)+"%)"},this.i=function(e,t,n){return"hsl("+(.5+e|0)+","+(.5+t|0)+"%,"+(.5+n|0)+"%)"}};function h(){var e,t=!1,n=[],r=this,o=new function(){this.then=function(o){return o&&(t?o.apply(r,e):n.push(o)),this},this.Fg=function(e){return r=e,{then:this.then}}};this.resolve=function(){e=arguments;for(var o=0;o<n.length;o++)n[o].apply(r,e);return t=!0,this},this.promise=function(){return o}}function f(e){var t=new h,n=e.length;if(0<e.length)for(var r=e.length-1;0<=r;r--)e[r].then((function(){0==--n&&t.resolve()}));else t.resolve();return t.promise()}function d(e){var t=0;this.i=function(){t++},this.u=function(){0===--t&&e()},this.clear=function(){t=0},this.initial=function(){return 0===t}}var p={oe:function(e,t,n,r){r=r||{};try{var o=e.getBoundingClientRect()}catch(g){if(!p.Ih){p.Ih=!0,window.console.log("getBoundingClientRect() failed."),window.console.log("Element",e);for(var i=(o=window.console).log;null!==e.parentElement;)e=e.parentElement;i.call(o,"Attached to DOM",e===document.body.parentElement)}o={left:0,top:0}}return r.x=t-o.left,r.y=n-o.top,r}};function b(){var e=document,t={};this.addEventListener=function(n,r,o){var i=t[n];i||(i=[],t[n]=i),i.push(r),e.addEventListener(n,r,o)},this.i=function(){y.Aa(t,(function(t,n){for(var r=t.length-1;0<=r;r--)e.removeEventListener(n,t[r])}))}}function v(e){function t(e){return function(t){n(t)&&e.apply(this,arguments)}}function n(t){for(t=t.target;t;){if(t===e)return!0;t=t.parentElement}return!1}function r(e,t,n){o(e,n=n||{});for(var r=0;r<t.length;r++)t[r].call(e.target,n);return o(e,n),(void 0===n.Db&&n.$h||"prevent"===n.Db)&&e.preventDefault(),n}function o(t,n){return p.oe(e,t.clientX,t.clientY,n),n.altKey=t.altKey,n.metaKey=t.metaKey,n.ctrlKey=t.ctrlKey,n.shiftKey=t.shiftKey,n.lb=3===t.which,n}var i=new b,a=[],s=[],u=[],l=[],c=[],h=[],f=[],d=[],g=[],v=[],m=[];this.i=function(e){a.push(e)},this.u=function(e){c.push(e)},this.sa=function(e){s.push(e)},this.wa=function(e){u.push(e)},this.Ka=function(e){l.push(e)},this.ua=function(e){m.push(e)},this.ta=function(e){h.push(e)},this.Ja=function(e){f.push(e)},this.ga=function(e){d.push(e)},this.H=function(e){g.push(e)},this.T=function(e){v.push(e)},this.Za=function(){i.i()};var y,C,A,x,w={x:0,y:0},_={x:0,y:0},S=!1,T=!1;i.addEventListener("mousedown",t((function(t){if(t.target!==e){var n=r(t,u);_.x=n.x,_.y=n.y,w.x=n.x,w.y=n.y,S=!0,r(t,d),C=!1,y=window.setTimeout((function(){100>M.i(w,n)&&(window.clearTimeout(x),r(t,s),C=!0)}),400)}}))),i.addEventListener("mouseup",(function(e){var t=r(e,l);S&&(T&&r(e,v),window.clearTimeout(y),C||T||!n(e)||(t={x:t.x,y:t.y},A&&100>M.i(t,A)?r(e,c):r(e,a),A=t,x=window.setTimeout((function(){A=null}),350)),T=S=!1)})),i.addEventListener("mousemove",(function(e){var t=o(e,{});n(e)&&r(e,h,{type:"move"}),w.x=t.x,w.y=t.y,S&&!T&&100<M.i(_,w)&&(T=!0),T&&r(e,g,t)})),i.addEventListener("mouseout",t((function(e){r(e,f,{type:"out"})}))),i.addEventListener("wheel",t((function(e){if("deltaY"in e)var t=e.deltaY;else t=0,"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=0),t*=10;t&&e.deltaMode&&(t=1===e.deltaMode?67*t:800*t),r(e,m,{ed:-t/200,$h:!0})})),{passive:!1}),i.addEventListener("contextmenu",t((function(e){e.preventDefault()})))}var m=function(){function e(e){return function(t){return Math.pow(t,e)}}function t(e){return function(t){return 1-Math.pow(1-t,e)}}function n(e){return function(t){return 1>(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;n<e.length;n++)t=(0,e[n])(t);return t}}return{ia:function(e){switch(e){case"linear":default:return m.Ab;case"bounce":return m.tg;case"squareIn":return m.Tf;case"squareOut":return m.Gb;case"squareInOut":return m.Uf;case"cubicIn":return m.wg;case"cubicOut":return m.fe;case"cubicInOut":return m.xg;case"quadIn":return m.si;case"quadOut":return m.ui;case"quadInOut":return m.ti}},Ab:function(e){return e},tg:r([n(2),function(e){return 0===e?0:1===e?1:e*(e*(e*(e*(25.9425*e-85.88)+105.78)-58.69)+13.8475)}]),Tf:e(2),Gb:t(2),Uf:n(2),wg:e(3),fe:t(3),xg:n(3),si:e(2),ui:t(2),ti:n(2),oj:r}}(),y={V:function(e){return void 0===e},Re:function(e){return null===e},zc:function(e){return"[object Number]"===Object.prototype.toString.call(e)},Ac:function(e){return"[object String]"===Object.prototype.toString.call(e)},Pe:function(e){return"function"==typeof e},wb:function(e){return e===Object(e)},od:function(e,t){return 1e-6>e-t&&-1e-6<e-t},Ne:function(e){return y.V(e)||y.Re(e)||y.Ac(e)&&!/\S/.test(e)},has:function(e,t){return e&&e.hasOwnProperty(t)},bb:function(e,t){if(e)for(var n=t.length-1;0<=n;n--)if(e.hasOwnProperty(t[n]))return!0;return!1},extend:function(e){return y.Bg(Array.prototype.slice.call(arguments,1),(function(t){if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})),e},xj:function(e,t){return e.map((function(e){return e[t]}),[])},Bg:function(e,t,n){null!=e&&(e.forEach?e.forEach(t,n):y.Aa(e,t,n))},Aa:function(e,t,n){for(var r in e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r,e))break},I:function(){for(var e=0;e<arguments.length;e++){var t=arguments[e];if(!(y.V(t)||y.zc(t)&&isNaN(t)||y.Ac(t)&&y.Ne(t)))return t}},If:function(e,t){0<=(t=e.indexOf(t))&&e.splice(t,1)},yg:function(e,t,n){var r;return function(){var o=this,i=arguments,a=n&&!r;clearTimeout(r),r=setTimeout((function(){r=null,n||e.apply(o,i)}),t),a&&e.apply(o,i)}},defer:function(e){setTimeout(e,1)},vj:function(e){return e},qa:function(){}},C=function(e,n,r){return t.Fh()?function(){var t=n+":"+JSON.stringify(arguments),o=window.localStorage.getItem(t);return o&&(o=JSON.parse(o)),o&&Date.now()-o.t<r?o.v:(o=e.apply(this,arguments),window.localStorage.setItem(t,JSON.stringify({v:o,t:Date.now()})),o)}:e},A=function(e,t){function n(){var n=[];if(Array.isArray(e))for(var r=0;r<e.length;r++){var o=e[r];o&&n.push(o.apply(t,arguments))}else e&&n.push(e.apply(t,arguments));return n}return n.empty=function(){return 0===e.length&&!y.Pe(e)},n};function x(){var e={};this.subscribe=function(t,n){var r=e[t];r||(r=[],e[t]=r),r.push(n)},this.D=function(t,n){var r=e[t];if(r)for(var o=Array.prototype.slice.call(arguments,1),i=0;i<r.length;i++)r[i].apply(this,o)}}var w=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(1^e.charCodeAt(n));return t};function _(e){function t(t,n,u){var l,c=this,h=0;this.id=i++,this.name=u||"{unnamed on "+t+"}",this.target=function(){return t},this.xb=function(){return-1!=s.indexOf(c)},this.start=function(){if(!c.xb()){if(-1==s.indexOf(c)){var t=a.now();!0===c.af(t)&&(s=s.slice()).push(c)}0<s.length&&e.repeat(r)}return this},this.stop=function(){for(o(c);l<n.length;l++){var e=n[l];e.Xa&&e.gb.call()}return this},this.af=function(e){if(h++,0!==n.length){if(y.V(l)){var t=n[l=0];t.before&&t.before.call(t,e,h,c)}else t=n[l];for(;l<n.length;){if(t.gb&&t.gb.call(t,e,h,c))return!0;t.after&&t.after.call(t,e,h,c),y.V(l)&&(l=-1),++l<n.length&&((t=n[l]).before&&t.before.call(t,e,h,c))}}return!1}}function r(){!function(){var e=a.now();s.forEach((function(t){!0!==t.af(e)&&o(t)}))}(),0==s.length&&e.cancel(r)}function o(e){s=s.filter((function(t){return t!==e}))}var i=0,a=n.create(),s=[];this.i=function(){for(var e=s.length-1;0<=e;e--)s[e].stop();s=[]},this.K=function(){function e(){}function n(e){function t(e){return y.Pe(e)?e.call(void 0):e}var n,r,o=e.target,i=e.duration,s=e.ba;this.before=function(){for(var i in n={},e.P)o.hasOwnProperty(i)&&(n[i]={start:y.V(e.P[i].start)?o[i]:t(e.P[i].start),end:y.V(e.P[i].end)?o[i]:t(e.P[i].end),easing:y.V(e.P[i].easing)?m.Ab:e.P[i].easing});r=a.now()},this.gb=function(){var e=a.now()-r;for(var t in e=0===i?1:Math.min(i,e)/i,n){var u=n[t];o[t]=u.start+(u.end-u.start)*u.easing(e)}return s&&s.call(o,e),1>e}}function r(e,t,n){this.Xa=n,this.gb=function(){return e.call(t),!1}}function o(e){var t;this.before=function(n,r){t=r+e},this.gb=function(e,n){return n<t}}function i(e){var t;this.before=function(n){t=n+e},this.gb=function(e){return e<t}}function u(e){this.before=function(){e.forEach((function(e){e.start()}))},this.gb=function(){for(var t=0;t<e.length;t++)if(e[t].xb())return!0;return!1}}return e.A=function(e,a){return new function(){function s(t,n,o,i){return n?(y.V(o)&&(o=e),t.Mb(new r(n,o,i))):t}var l=[];this.Mb=function(e){return l.push(e),this},this.wait=function(e){return this.Mb(new i(e))},this.Xd=function(e){return this.Mb(new o(e||1))},this.call=function(e,t){return s(this,e,t,!1)},this.Xa=function(e,t){return s(this,e,t,!0)},this.fa=function(t){return y.V(t.target)&&(t.target=e),this.Mb(new n(t))},this.Qa=function(e){return this.Mb(new u(e))},this.done=function(){return new t(e,l,a)},this.start=function(){return this.done().start()},this.i=function(){var e=new h;return this.Xd().call(e.resolve).done(),e.promise()},this.Ta=function(){var e=this.i();return this.start(),e}}},e.jc=function(t){return function(e){return y.V(e)?s.slice():s.filter((function(t){return t.target()===e}))}(t).forEach((function(e){e.stop()})),e.A(t,void 0)},e}()}var S=function(){var e={ne:function(e,t){if(e.m){e=e.m;for(var n=0;n<e.length;n++)t(e[n],n)}},sc:function(t,n){if(t.m){t=t.m;for(var r=0;r<t.length;r++)if(!1===e.sc(t[r],n)||!1===n(t[r],r))return!1}}};return e.L=e.sc,e.tc=function(t,n){if(t.m){t=t.m;for(var r=0;r<t.length;r++)if(!1===n(t[r],r)||!1===e.tc(t[r],n))return!1}},e.za=function(t,n){if(t.m)for(var r=t.m,o=0;o<r.length;o++)if(!1===e.za(r[o],n))return!1;return n(t)},e.pj=e.za,e.fd=function(t,n){!1!==n(t)&&e.tc(t,n)},e.uc=function(t,n){var r=[];return e.tc(t,(function(e){r.push(e)})),n?r.filter(n):r},e.me=function(e,t){for(e=e.parent;e&&!1!==t(e);)e=e.parent},e.Jh=function(e,t){for(e=e.parent;e&&e!==t;)e=e.parent;return!!e},e}(),M=new function(){function e(e,t){var n=e.x-t.x;return n*n+(e=e.y-t.y)*e}function t(e,t,n){for(var r=0;r<e.length;r++){var o=M.T(e[r],e[r+1]||e[0],t,n,!0);if(o)return o}}return this.T=function(e,t,n,r,o){var i=e.x;e=e.y;var a=t.x-i;t=t.y-e;var s=n.x,u=n.y;n=r.x-s;var l=r.y-u;if(!(1e-12>=(r=a*l-n*t)&&-1e-12<=r)&&(n=((s-=i)*l-n*(u-=e))/r,0<=(r=(s*t-a*u)/r)&&(o||1>=r)&&0<=n&&1>=n))return{x:i+a*n,y:e+t*n}},this.Lb=function(e,t,n,r){var o=e.x;e=e.y;var i=t.x-o;t=t.y-e;var a=n.x;n=n.y;var s=r.x-a,u=i*(r=r.y-n)-s*t;if(!(1e-12>=u&&-1e-12<=u)&&(0<=(r=((a-o)*r-s*(n-e))/u)&&1>=r))return{x:o+i*r,y:e+t*r}},this.wa=function(e,n,r){var o=M.u(n,{}),i=M.u(r,{}),a=i.x-o.x,s=i.y-o.y,u=[];for(i=0;i<r.length;i++){var l=r[i];u.push({x:l.x-a,y:l.y-s})}for(r=[],l=[],i=0;i<e.length;i++){var c=e[i],h=t(n,o,c);h?(r.push(h),l.push(t(u,o,c))):(r.push(null),l.push(null))}for(i=0;i<e.length;i++)if(h=r[i],c=l[i],h&&c){n=e[i],u=o;var f=h.x-o.x;if(h=h.y-o.y,1e-12<(h=Math.sqrt(f*f+h*h))){f=n.x-o.x;var d=n.y-o.y;h=Math.sqrt(f*f+d*d)/h,n.x=u.x+h*(c.x-u.x),n.y=u.y+h*(c.y-u.y)}else n.x=u.x,n.y=u.y}for(i=0;i<e.length;i++)(l=e[i]).x+=a,l.y+=s},this.F=function(e,t){if(0!==e.length){for(var n,r,o=n=e[0].x,i=r=e[0].y,a=e.length;0<--a;)o=Math.min(o,e[a].x),n=Math.max(n,e[a].x),i=Math.min(i,e[a].y),r=Math.max(r,e[a].y);return t.x=o,t.y=i,t.w=n-o,t.o=r-i,t}},this.H=function(e){return[{x:e.x,y:e.y},{x:e.x+e.w,y:e.y},{x:e.x+e.w,y:e.y+e.o},{x:e.x,y:e.y+e.o}]},this.u=function(e,t){for(var n=0,r=0,o=e.length,i=e[0],a=0,s=1;s<o-1;s++){var u=e[s],l=e[s+1],c=i.y+u.y+l.y,h=(u.x-i.x)*(l.y-i.y)-(l.x-i.x)*(u.y-i.y);n+=h*(i.x+u.x+l.x),r+=h*c,a+=h}return t.x=n/(3*a),t.y=r/(3*a),t.ha=a/2,t},this.Ja=function(e,t){this.u(e,t),t.r=Math.sqrt(t.ha/Math.PI)},this.sa=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=e[n+1]||e[0];if(0>(t.y-r.y)*(o.x-r.x)-(t.x-r.x)*(o.y-r.y))return!1}return!0},this.Vc=function(e,t,n){var r=e.x,o=t.x;if(e.x>t.x&&(r=t.x,o=e.x),o>n.x+n.w&&(o=n.x+n.w),r<n.x&&(r=n.x),r>o)return!1;var i=e.y,a=t.y,s=t.x-e.x;return 1e-7<Math.abs(s)&&(i=(a=(t.y-e.y)/s)*r+(e=e.y-a*e.x),a=a*o+e),i>a&&(r=a,a=i,i=r),a>n.y+n.o&&(a=n.y+n.o),i<n.y&&(i=n.y),i<=a},this.Ka=function(n,r,o,i,a){var s;function u(o,i,a){if(r.x===h.x&&r.y===h.y)return a;var u=t(n,r,h),f=Math.sqrt(e(u,r)/(o*o+i*i));return f<l?(l=f,s=u.x,c=u.y,0!==i?Math.abs(c-r.y)/Math.abs(i):Math.abs(s-r.x)/Math.abs(o)):a}i=y.I(i,.5),a=y.I(a,.5),o=y.I(o,1);var l=Number.MAX_VALUE,c=s=0,h={x:0,y:0},f=i*o;o*=1-i,i=1-a,h.x=r.x-f,h.y=r.y-a;var d=u(f,a,d);return h.x=r.x+o,h.y=r.y-a,d=u(o,a,d),h.x=r.x-f,h.y=r.y+i,d=u(f,i,d),h.x=r.x+o,h.y=r.y+i,u(o,i,d)},this.pb=function(e,t){function n(e,t,n){var r=t.x,o=n.x;t=t.y;var i=o-r,a=(n=n.y)-t;return Math.abs(a*e.x-i*e.y-r*n+o*t)/Math.sqrt(i*i+a*a)}for(var r=e.length,o=n(t,e[r-1],e[0]),i=0;i<r-1;i++){var a=n(t,e[i],e[i+1]);a<o&&(o=a)}return o},this.ua=function(e,t,n){var r;n={x:t.x+Math.cos(n),y:t.y-Math.sin(n)};var o=[],i=[],a=e.length;for(r=0;r<a;r++){var s=M.Lb(e[r],e[(r+1)%a],t,n);if(s&&(o.push(s),2==i.push(r)))break}if(2==o.length){s=o[0],o=o[1];var u=i[0];i=i[1];var l=[o,s];for(r=u+1;r<=i;r++)l.push(e[r]);for(r=[s,o];i!=u;)i=(i+1)%a,r.push(e[i]);return e=[l,r],a=n.x-t.x,r=o.x-s.x,0===a&&(a=n.y-t.y,r=o.y-s.y),(0>a?-1:0<a?1:0)!=(0>r?-1:0<r?1:0)&&e.reverse(),e}},this.ga=function(e,t,n,r){return r.x=e*(t.x-n.x)+n.x,r.y=e*(t.y-n.y)+n.y,r},this.i=e,this.ta=function(e,n,r){if(y.zc(n))var o=2*Math.PI*n/360;else switch(o=M.F(e,{}),n){case"random":o=Math.random()*Math.PI*2;break;case"top":o=Math.atan2(-o.o,0);break;case"bottom":o=Math.atan2(o.o,0);break;case"left":o=Math.atan2(0,-o.w);break;case"right":o=Math.atan2(0,o.w);break;case"topleft":o=Math.atan2(-o.o,-o.w);break;case"topright":o=Math.atan2(-o.o,o.w);break;case"bottomleft":o=Math.atan2(o.o,-o.w);break;default:o=Math.atan2(o.o,o.w)}return e=t(e,n=M.u(e,{}),{x:n.x+Math.cos(o),y:n.y+Math.sin(o)}),M.ga(r,e,n,{})},this},T=new function(){function e(e,t){this.face=e,this.Rc=t,this.ec=this.Lc=null}function t(e,t,n){this.la=[e,t,n],this.J=Array(3);var r=t.y-e.y,o=n.z-e.z,i=t.x-e.x;t=t.z-e.z;var a=n.x-e.x;e=n.y-e.y,this.Ha={x:r*o-t*e,y:t*a-i*o,z:i*e-r*a},this.Ya=[],this.ad=this.visible=!1}this.i=function(r){function i(t,n,r){var o=t.la[0],i=t.Ha,a=i.x,l=i.y;i=i.z;var c=Array(u),h=(n=n.Ya).length;for(s=0;s<h;s++){var f=n[s].Rc;c[f.index]=!0,0>a*(f.x-o.x)+l*(f.y-o.y)+i*(f.z-o.z)&&e.add(t,f)}for(h=(n=r.Ya).length,s=0;s<h;s++)!0!==c[(f=n[s].Rc).index]&&0>a*(f.x-o.x)+l*(f.y-o.y)+i*(f.z-o.z)&&e.add(t,f)}var a,s,u=r.length;for(a=0;a<u;a++)r[a].index=a,r[a].Pb=null;var l,c=[];if(0<(l=function(){function n(e,n,r,o){var i={x:n.x-e.x,y:n.y-e.y,z:n.z-e.z},a=r.x-e.x,s=r.y-e.y,u=r.z-e.z,l=i.y*u-i.z*s,c=i.z*a-i.x*u;return i=i.x*s-i.y*a,l*o.x+c*o.y+i*o.z>l*e.x+c*e.y+i*e.z?new t(e,n,r):new t(r,n,e)}function o(e,t,n,r){function o(e,t,n){return(e=e.la)[((t=e[0]==t?0:e[1]==t?1:2)+1)%3]!=n?(t+2)%3:t}t.J[o(t,n,r)]=e,e.J[o(e,r,n)]=t}if(4>u)return 0;var i=r[0],a=r[1],s=r[2],l=r[3],h=n(i,a,s,l),f=n(i,s,l,a),d=n(i,a,l,s),p=n(a,s,l,i);for(o(h,f,s,i),o(h,d,i,a),o(h,p,a,s),o(f,d,l,i),o(f,p,s,l),o(d,p,l,a),c.push(h,f,d,p),i=4;i<u;i++)for(a=r[i],s=0;4>s;s++)h=(l=c[s]).la[0],0>(f=l.Ha).x*(a.x-h.x)+f.y*(a.y-h.y)+f.z*(a.z-h.z)&&e.add(l,a);return 4}())){for(;l<u;){var h=r[l];if(h.Pb){for(a=h.Pb;null!==a;)a.face.visible=!0,a=a.ec;a=0;e:for(;a<c.length;a++){var f=c[a];if(!1===f.visible){var d=f.J;for(s=0;3>s;s++)if(!0===d[s].visible){var p=f,g=s;break e}}}f=[],d=[];var b=p,v=g;do{if(f.push(b),d.push(v),v=(v+1)%3,!1===b.J[v].visible)do{for(a=b.la[v],b=b.J[v],s=0;3>s;s++)b.la[s]==a&&(v=s)}while(!1===b.J[v].visible&&(b!==p||v!==g))}while(b!==p||v!==g);var m=null,y=null;for(a=0;a<f.length;a++){b=f[a],v=d[a];var C=b.J[v],A=b.la[(v+1)%3],x=b.la[v],w=A.y-h.y,_=x.z-h.z,S=A.x-h.x,M=A.z-h.z,T=x.x-h.x,k=x.y-h.y;if(0<o.length){var z=o.pop();z.la[0]=h,z.la[1]=A,z.la[2]=x,z.Ha.x=w*_-M*k,z.Ha.y=M*T-S*_,z.Ha.z=S*k-w*T,z.Ya.length=0,z.visible=!1,z.ad=!0}else z={la:[h,A,x],J:Array(3),Ha:{x:w*_-M*k,y:M*T-S*_,z:S*k-w*T},Ya:[],visible:!1};c.push(z),b.J[v]=z,z.J[1]=b,null!==y&&(y.J[0]=z,z.J[2]=y),y=z,null===m&&(m=z),i(z,b,C)}for(y.J[0]=m,m.J[2]=y,a=[],s=0;s<c.length;s++)if(!0===(f=c[s]).visible){for(b=(d=f.Ya).length,h=0;h<b;h++)m=(v=d[h]).Lc,y=v.ec,null!==m&&(m.ec=y),null!==y&&(y.Lc=m),null===m&&(v.Rc.Pb=y),n.push(v);f.ad&&o.push(f)}else a.push(f);c=a}l++}for(a=0;a<c.length;a++)(f=c[a]).ad&&o.push(f)}return{pe:c}},e.add=function(t,r){if(0<n.length){var o=n.pop();o.face=t,o.Rc=r,o.ec=null,o.Lc=null}else o=new e(t,r);t.Ya.push(o),null!==(t=r.Pb)&&(t.Lc=o),o.ec=t,r.Pb=o};for(var n=Array(2e3),r=0;r<n.length;r++)n[r]=new e(null,null);var o=Array(1e3);for(r=0;r<o.length;r++)o[r]={la:Array(3),J:Array(3),Ha:{x:0,y:0,z:0},Ya:[],visible:!1}},k=new function(){function e(e,t,n,r,o,i,a,s){var u=(e-n)*(i-s)-(t-r)*(o-a);if(!(1e-12>Math.abs(u)))return{x:((e*r-t*n)*(o-a)-(e-n)*(o*s-i*a))/u,y:((e*r-t*n)*(i-s)-(t-r)*(o*s-i*a))/u}}return this.i=function(t,n){for(var r=t[0],o=r.x,i=r.y,a=r.x,s=r.y,u=t.length-1;0<u;u--)r=t[u],o=Math.min(o,r.x),i=Math.min(i,r.y),a=Math.max(a,r.x),s=Math.max(s,r.y);if(!(a-o<3*n||s-i<3*n)){e:{for(null==(r=!0)&&(r=!1),o=[],i=t.length,a=0;a<=i;a++){s=t[a%i],u=t[(a+1)%i];var l=t[(a+2)%i],c=u.x-s.x,h=u.y-s.y,f=Math.sqrt(c*c+h*h),d=n*c/f,p=n*h/f;if(c=l.x-u.x,h=l.y-u.y,c=n*c/(f=Math.sqrt(c*c+h*h)),h=n*h/f,(s=e(s.x-p,s.y+d,u.x-p,u.y+d,u.x-h,u.y+c,l.x-h,l.y+c))&&(o.push(s),l=o.length,r&&3<=l&&(s=o[l-3],u=o[l-2],l=o[l-1],0>(u.x-s.x)*(l.y-s.y)-(l.x-s.x)*(u.y-s.y)))){r=void 0;break e}}o.shift(),r=3>o.length?void 0:o}if(!r)e:{for(o=t.slice(0),r=0;r<t.length;r++){if(a=t[r%t.length],l=(u=t[(r+1)%t.length]).x-a.x,i=u.y-a.y,l=n*l/(s=Math.sqrt(l*l+i*i)),s=n*i/s,i=a.x-s,a=a.y+l,s=u.x-s,l=u.y+l,0!=o.length){for(p=i-s,h=a-l,d=[],c=f=!0,u=0;u<o.length;u++){var g=p*(a-o[u].y)-(i-o[u].x)*h;1e-12>=g&&-1e-12<=g&&(g=0),d.push(g),0<g&&(f=!1),0>g&&(c=!1)}if(f)o=[];else if(!c){for(p=[],u=0;u<o.length;u++)h=(u+1)%o.length,f=d[u],c=d[h],0<=f&&p.push(o[u]),(0<f&&0>c||0>f&&0<c)&&p.push(e(o[u].x,o[u].y,o[h].x,o[h].y,i,a,s,l));o=p}}if(3>o.length){r=void 0;break e}}r=o}return r}},this},z=new function(){function e(e){for(var t=e[0].x,n=e[0].y,r=t,o=n,i=1;i<e.length;i++){var a=e[i];t=Math.min(t,a.x),n=Math.min(n,a.y),r=Math.max(r,a.x),o=Math.max(o,a.y)}return[{x:t+2*(e=r-t),y:n+2*(o-=n),w:0},{x:t+2*e,y:n-2*o,w:0},{x:t-2*e,y:n+2*o,w:0}]}this.i=function(t,n){function r(e){var t=[e[0]],n=e[0][0],r=e[0][1],o=e.length,i=1;e:for(;i<o;i++)for(var a=1;a<o;a++){var s=e[a];if(null!==s){if(s[1]===n){if(t.unshift(s),n=s[0],e[a]=null,t.length===o)break e;continue}if(s[0]===r&&(t.push(s),r=s[1],e[a]=null,t.length===o))break e}}return t[0][0]!=t[o-1][1]&&t.push([t[o-1][1],t[0][0]]),t}function o(e,t,n,r){var o,i,a=[],s=[],u=n.length,l=t.length,c=0,h=-1,f=-1,d=r;for(r=0;r<u;r++){var p=(d+1)%u,g=n[d][0],b=n[p][0];if(1e-12<M.i(g.ea,b.ea))if(g.jb&&b.jb){var v=[],m=[];for(o=0;o<l;o++){var y=(c+1)%l;if((i=M.T(t[c],t[y],g.ea,b.ea,!1))&&(m.push(c),2===v.push(i)))break;c=y}if(2===v.length){if(o=v[1],g=(i=M.i(g.ea,v[0]))<(o=M.i(g.ea,o))?0:1,i=i<o?1:0,o=m[g],-1===h&&(h=o),-1!==f)for(;o!=f;)f=(f+1)%l,a.push(t[f]),s.push(null);a.push(v[g],v[i]),s.push(n[d][2],null),f=m[i]}}else if(g.jb&&!b.jb)for(o=0;o<l;o++){if(y=(c+1)%l,i=M.T(t[c],t[y],g.ea,b.ea,!1)){if(-1!==f)for(v=f;c!=v;)v=(v+1)%l,a.push(t[v]),s.push(null);a.push(i),s.push(n[d][2]),-1===h&&(h=c);break}c=y}else if(!g.jb&&b.jb)for(o=0;o<l;o++){if(y=(c+1)%l,i=M.T(t[c],t[y],g.ea,b.ea,!1)){a.push(g.ea,i),s.push(n[d][2],null),f=c;break}c=y}else a.push(g.ea),s.push(n[d][2]);d=p}if(0==a.length)s=a=null;else if(-1!==f)for(;h!=f;)f=(f+1)%l,a.push(t[f]),s.push(null);e.C=a,e.J=s}if(1===t.length)t[0].C=n.slice(0),t[0].J=[];else{var i,a=e(n),s=[];for(i=0;i<a.length;i++){var u=a[i];s.push({x:u.x,y:u.y,z:u.x*u.x+u.y*u.y-u.w})}for(i=0;i<t.length;i++)(u=t[i]).C=null,s.push({x:u.x,y:u.y,z:u.x*u.x+u.y*u.y-u.w});var l=T.i(s).pe;for(function(){for(i=0;i<l.length;i++){var e=l[i],t=e.la,n=t[0],r=t[1],o=t[2];t=n.x;var a=n.y;n=n.z;var s=r.x,u=r.y;r=r.z;var c=o.x,h=o.y;o=o.z;var f=t*(u-h)+s*(h-a)+c*(a-u);e.ea={x:-(a*(r-o)+u*(o-n)+h*(n-r))/f/2,y:-(n*(s-c)+r*(c-t)+o*(t-s))/f/2}}}(),function(e){for(i=0;i<l.length;i++){var t=l[i];t.jb=!M.sa(e,t.ea)}}(n),s=function(e,t){var n,r=Array(t.length);for(n=0;n<r.length;n++)r[n]=[];for(n=0;n<e.length;n++){var o=e[n];if(!(0>o.Ha.z))for(var i=o.J,a=0;a<i.length;a++){var s=i[a];if(!(0>s.Ha.z)){var u=o.la,l=u[(a+1)%3].index;u=u[a].index,2<l&&r[l-3].push([o,s,2<u?t[u-3]:null])}}}return r}(l,t),i=0;i<t.length;i++)if(0!==(u=s[i]).length){var c=t[i],h=(u=r(u)).length,f=-1;for(a=0;a<h;a++)u[a][0].jb&&(f=a);if(0<=f)o(c,n,u,f);else{f=[];var d=[];for(a=0;a<h;a++)1e-12<M.i(u[a][0].ea,u[(a+1)%h][0].ea)&&(f.push(u[a][0].ea),d.push(u[a][2]));c.C=f,c.J=d}c.C&&3>c.C.length&&(c.C=null,c.J=null)}}},this.u=function(t,n){var r,o=!1,i=t.length;for(r=0;r<i;r++){var a=t[r];null===a.C&&(o=!0),a.Yd=a.w}if(o){o=e(n);var s=[];for(r=t.length,a=0;a<o.length;a++){var u=o[a];s.push({x:u.x,y:u.y,z:u.x*u.x+u.y*u.y})}for(a=0;a<r;a++)u=t[a],s.push({x:u.x,y:u.y,z:u.x*u.x+u.y*u.y});for(u=T.i(s).pe,o=Array(r),a=0;a<r;a++)o[a]={};for(s=u.length,a=0;a<s;a++){var l=u[a];if(0<l.Ha.z){var c=l.la,h=c.length;for(l=0;l<h-1;l++){var f=c[l].index-3,d=c[l+1].index-3;0<=f&&0<=d&&(o[f][d]=!0,o[d][f]=!0)}l=c[0].index-3,0<=d&&0<=l&&(o[d][l]=!0,o[l][d]=!0)}}for(a=0;a<r;a++){for(var p in l=o[a],u=t[a],d=Number.MAX_VALUE,s=null,l)l=t[p],d>(c=M.i(u,l))&&(d=c,s=l);u.wj=s,u.Ze=Math.sqrt(d)}for(r=0;r<i;r++)a=t[r],p=Math.min(Math.sqrt(a.w),.95*a.Ze),a.w=p*p;for(this.i(t,n),r=0;r<i;r++)(a=t[r]).Yd!==a.w&&0<a.kc&&(n=Math.min(a.kc,a.Yd-a.w),a.w+=n,a.kc-=n)}}},B=new function(){this.H=function(e){for(var t=0,n=(e=e.m).length,r=0;r<n;r++){var o=e[r];if(o.C){var i=o.x,a=o.y;M.u(o.C,o),t<(o=(0<(i-=o.x)?i:-i)+(0<(o=a-o.y)?o:-o))&&(t=o)}}return t},this.i=function(e,t){var n=e.m;switch(t){case"random":return e.m[Math.floor(n.length*Math.random())];case"topleft":var r=(e=n[0]).x+e.y;for(t=1;t<n.length;t++){var o=n[t],i=o.x+o.y;i<r&&(r=i,e=o)}return e;case"bottomright":for(r=(e=n[0]).x+e.y,t=1;t<n.length;t++)(i=(o=n[t]).x+o.y)>r&&(r=i,e=o);return e;default:for(o=n[0],r=i=M.i(e,o),t=n.length-1;1<=t;t--){var a=n[t];(i=M.i(e,a))<r&&(r=i,o=a)}return o}},this.u=function(e,t,n){var r=e.m;if(r[0].J){var o,i=r.length;for(e=0;e<i;e++)r[e].Sc=!1,r[e].Zb=0;var a=o=0;for((i=[])[o++]=t||r[0],t=t.Zb=0;a<o;)if(!(r=i[a++]).Sc&&r.J){n(r,t++,r.Zb),r.Sc=!0;var s=r.J,u=s.length;for(e=0;e<u;e++){var l=s[e];l&&!0!==l.Sc&&(0===l.Zb&&(l.Zb=r.Zb+1),i[o++]=l)}}}else for(e=0;e<r.length;e++)n(r[e],e,1)}},D=function(){function e(e,o,u,l,c,d,p,g){var b=y.extend({},a,e);1>e.lineHeight&&(e.lineHeight=1),e=b.fontFamily;var v=b.fontStyle+" "+b.fontVariant+" "+b.fontWeight,m=b.hb,C=b.Gc,A=v+" "+e;b.te=A;var x={ka:!1,bc:0,fontSize:0};if(o.save(),o.font=v+" 100px "+e,o.textBaseline="middle",o.textAlign="center",function(e,t){t=t.te;var n=s[t];void 0===n&&(n={},s[t]=n),n[" "]=e.measureText(" ").width,n["…"]=e.measureText("…").width}(o,b),u=u.trim(),h.text=u,function(e,t,n,r){for(var o,i,a=0;a<e.length;a++)e[a].y===t.y&&(void 0===o?o=a:i=a);void 0===i&&(i=o),o!==i&&e[i].x<e[o].x&&(a=o,o=i,i=a),r.C=e,r.F=t,r.cd=n,r.Xe=o,r.Ye=i}(l,c,d,f),/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/.test(u)?(n(h),t(o,h,A),r(b,h,f,C,m,!0,x)):(t(o,h,A),r(b,h,f,C,m,!1,x),!x.ka&&(p&&(n(h),t(o,h,A)),g||p)&&(g&&(x.Ub=!0),r(b,h,f,C,C,!0,x))),x.ka){var w="",_=0,S=Number.MAX_VALUE,M=Number.MIN_VALUE;i(b,h,x.bc,x.fontSize,f,x.Ub,(function(e,t){0<w.length&&" "===t&&(w+=" "),w+=e}),(function(e,t,n,r,i){""===r&&(w+="‐"),o.save(),o.translate(d.x,t),e=x.fontSize/100,o.scale(e,e),o.fillText(w,0,0),o.restore(),w=n,_<i&&(_=i),S>t&&(S=t),M<t&&(M=t)})),x.box={x:d.x-_/2,y:S-x.fontSize/2,w:_,o:M-S+x.fontSize},o.restore()}else o.clear&&o.clear();return x}function t(e,t,n){var r,o=t.text.split(/(\n|[ \f\r\t\v\u2028\u2029]+|\u00ad+|\u200b+)/),i=[],a=[],u=o.length>>>1;for(r=0;r<u;r++)i.push(o[2*r]),a.push(o[2*r+1]);for(2*r<o.length&&(i.push(o[2*r]),a.push(void 0)),n=s[n],r=0;r<i.length;r++)void 0===(u=n[o=i[r]])&&(u=e.measureText(o).width,n[o]=u);t.Tc=i,t.Qf=a}function n(e){for(var t=e.text.split(/\s+/),n=[],r={".":!0,",":!0,";":!0,"?":!0,"!":!0,":":!0,"。":!0},o=0;o<t.length;o++){var i=t[o];if(3<i.length){var a="";a+=i.charAt(0),a+=i.charAt(1);for(var s=2;s<i.length-2;s++){var u=i.charAt(s);r[u]||(a+=""),a+=u}a+="",a+=i.charAt(i.length-2),a+=i.charAt(i.length-1),n.push(a)}else n.push(i)}e.text=n.join(" ")}function r(e,t,n,r,o,a,s){var u=e.lineHeight,l=Math.max(e.Ua,.001),c=e.ib,h=t.Tc,f=n.cd,d=n.F,p=void 0,g=void 0;switch(e.verticalAlign){case"top":f=d.y+d.o-f.y;break;case"bottom":f=f.y-d.y;break;default:f=2*Math.min(f.y-d.y,d.y+d.o-f.y)}if(!(0>=(c=Math.min(f,c*n.F.o)))){f=r,o=Math.min(o,c),d=Math.min(1,c/Math.max(20,t.Tc.length));do{var b=(f+o)/2,v=Math.min(h.length,Math.floor((c+b*(u-1-2*l))/(b*u))),m=void 0;if(0<v)for(var y=1,C=v;;){var A=Math.floor((y+C)/2);if(i(e,t,A,b,n,a&&b===r&&A===v,null,null)){if(y===(C=p=m=A))break}else if((y=A+1)>C)break}void 0!==m?f=g=b:o=b}while(o-f>d);return void 0===g?(s.ka=!1,s.fontSize=0):(s.ka=!0,s.fontSize=g,s.bc=p,s.Ub=a&&b===f),s}s.ka=!1}function i(e,t,n,r,o,i,a,h){var f=e.cb,d=r*(e.lineHeight-1),p=Math.max(e.Ua,.001),g=s[e.te],b=t.Tc;t=t.Qf;var v=o.C,m=o.cd,y=o.Xe,C=o.Ye;switch(e.verticalAlign){case"top":o=m.y+r/2+r*p;var A=1;break;case"bottom":o=m.y-(r*n+d*(n-1))+r/2-r*p,A=-1;break;default:o=m.y-(r*(n-1)/2+d*(n-1)/2),A=1}for(e=o,p=0;p<n;p++)u[2*p]=o-r/2,u[2*p+1]=o+r/2,o+=A*r,o+=A*d;for(;l.length<u.length;)l.push(Array(2));p=u,o=2*n,A=l;var x=v.length,w=y;y=(y-1+x)%x;var _=C;C=(C+1)%x;for(var S=0;S<o;){for(var M=p[S],T=v[y];T.y<M;)w=y,T=v[y=(y-1+x)%x];for(var k=v[C];k.y<M;)_=C,k=v[C=(C+1)%x];var z=v[w],B=v[_];k=B.x+(k.x-B.x)*(M-B.y)/(k.y-B.y),A[S][0]=z.x+(T.x-z.x)*(M-z.y)/(T.y-z.y),A[S][1]=k,S++}for(p=0;p<n;p++)v=2*p,A=(A=(o=m.x)-l[v][0])<(x=l[v][1]-o)?A:x,v=(x=o-l[v+1][0])<(v=l[v+1][1]-o)?x:v,c[p]=2*(A<v?A:v)-f*r;for(w=g[" "]*r/100,A=g["…"]*r/100,y=c[f=0],m=0,v=void 0,p=0;p<b.length;p++){if(o=b[p],_=t[p],m+(x=g[o]*r/100)<y&&b.length-p>=n-f&&"\n"!=v)m+=x," "===_&&(m+=w),a&&a(o,v);else{if(x>y&&(f!==n-1||!i))return!1;if(f+1>=n)return!!i&&(((n=y-m-A)>A||x>A)&&(0<(n=Math.floor(o.length*n/x))&&a&&a(o.substring(0,n),v)),a&&a("…",void 0),h&&h(f,e,o,v,m),!0);if(f++,h&&h(f,e,o,v,m),e+=r,e+=d,m=x," "===_&&(m+=w),x>(y=c[f])&&(f!==n||!i))return!1}v=_}return h&&h(f,e,void 0,void 0,m),!0}var a={hb:72,Gc:0,lineHeight:1.05,cb:1,Ua:.5,ib:.9,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",verticalAlign:"center"},s={},u=[],l=[],c=[],h={text:"",Tc:void 0,Qf:void 0},f={C:void 0,F:void 0,cd:void 0,Xe:0,Ye:0};return{re:e,de:function(t,n,r,o,i,a,s,u,l,c,h,f){var d=0,p=0;if(r=r.toString().trim(),!f&&l.result&&r===l.Xf&&Math.abs(c-l.Zd)/c<=h){var g=l.result;g.ka&&(d=a.x-l.eg,p=a.y-l.fg,h=l.Qc,n.save(),n.translate(d,p),h.Na(n),n.restore())}return g||((h=l.Qc).clear(),(g=e(t,h,r,o,i,a,s,u)).ka&&h.Na(n),l.Zd=c,l.eg=a.x,l.fg=a.y,l.result=g,l.Xf=r),g.ka?{ka:!0,bc:g.bc,fontSize:g.fontSize,box:{x:g.box.x+d,y:g.box.y+p,w:g.box.w,o:g.box.o},Ub:g.Ub}:{ka:!1}},Zh:function(){return{Zd:0,eg:0,fg:0,result:void 0,Qc:new o,Xf:void 0}},ya:a}}(),E=new function(){function e(e,t){return function(r,o,i,a){function s(e,t,n,r,o){e.C=[{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+o},{x:t,y:n+o}]}var u=o.x,l=o.y,c=o.w;if(o=o.o,0!=r.length)if(1==r.length)r[0].x=u+c/2,r[0].y=l+o/2,r[0].nd=0,i&&s(r[0],u,l,c,o);else{r=r.slice(0);for(var h=0,f=0;f<r.length;f++)h+=r[f].weight;for(h=c*o/h,f=0;f<r.length;f++)r[f].lc=r[f].weight*h;(function e(r,o,a,u,l){if(0!=r.length){var c=r.shift(),h=n(c);if(t(u,l)){var f=o,d=h/u;do{var p=(h=c.shift()).lc,g=p/d,b=a,v=d;(p=h).x=f+g/2,p.y=b+v/2,i&&s(h,f,a,g,d),f+=g}while(0<c.length);return e(r,o,a+d,u,l-d)}f=a,g=h/l;do{b=f,v=d=(p=(h=c.shift()).lc)/g,(p=h).x=o+g/2,p.y=b+v/2,i&&s(h,o,f,g,d),f+=d}while(0<c.length);return e(r,o+g,a,u-g,l)}})(a=e(r,c,o,[[r.shift()]],a),u,l,c,o)}}}function t(e,t,r,o){function i(e){return Math.max(Math.pow(u*e/s,r),Math.pow(s/(u*e),o))}var a=n(e),s=a*a,u=t*t;for(t=i(e[0].lc),a=1;a<e.length;a++)t=Math.max(t,i(e[a].lc));return t}function n(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].lc;return t}this.u=e((function(e,r,o,i,a){for(var s=1/(a=Math.pow(2,a)),u=r<o;0<e.length;){var l=i[i.length-1],c=e.shift(),h=u?r:o,f=u?a:s,d=u?s:a,p=t(l,h,f,d);l.push(c),p<(h=t(l,h,f,d))&&(l.pop(),i.push([c]),u?o-=n(l)/r:r-=n(l)/o,u=r<o)}return i}),(function(e,t){return e<t})),this.i=e((function(e,n,r,o,i){function a(e){if(1<o.length){for(var r=o[o.length-1],i=o[o.length-2].slice(0),a=0;a<r.length;a++)i.push(r[a]);t(i,n,s,u)<e&&o.splice(-2,2,i)}}for(var s=Math.pow(2,i),u=1/s;0<e.length;){if(i=t(r=o[o.length-1],n,s,u),0==e.length)return;var l=e.shift();r.push(l),i<t(r,n,s,u)&&(r.pop(),a(i),o.push([l]))}return a(t(o[o.length-1],n,s,u)),o}),(function(){return!0}))};function j(e){var t,n={},r=e.Cd;e.j.subscribe("model:loaded",(function(e){t=e})),this.M=function(){e.j.D("api:initialized",this)},this.nc=function(e,t,o,i){this.Xc(n,t),this.Yc(n,t),this.Wc(n,t,!1),i&&i(n),e(r,n,o)},this.bd=function(e,n,r,o,i,a,s){if(e){for(e=n.length-1;0<=e;e--){var u=n[e],l=y.extend({group:u.group},i);l[r]=o(u),a(l)}0<n.length&&s(y.extend({groups:S.uc(t,o).map((function(e){return e.group}))},i))}},this.Yc=function(e,t){return e.selected=t.selected,e.hovered=t.ub,e.open=t.open,e.openness=t.Cb,e.exposed=t.U,e.exposure=t.ja,e.transitionProgress=t.ra,e.revealed=!t.aa.Ga(),e.browseable=t.Ia?t.R:void 0,e.visible=t.Y,e.labelDrawn=t.oa&&t.oa.ka,e},this.Xc=function(e,t){var n=t.parent;return e.group=t.group,e.parent=n&&n.group,e.weightNormalized=t.cg,e.level=t.level-1,e.siblingCount=n&&n.m.length,e.hasChildren=!t.empty(),e.index=t.index,e.indexByWeight=t.nd,e.description=t.description,e.attribution=t.attribution,e},this.Wc=function(e,t,n){if(e.polygonCenterX=t.O.x,e.polygonCenterY=t.O.y,e.polygonArea=t.O.ha,e.boxLeft=t.F.x,e.boxTop=t.F.y,e.boxWidth=t.F.w,e.boxHeight=t.F.o,t.oa&&t.oa.ka){var r=t.oa.box;e.labelBoxLeft=r.x,e.labelBoxTop=r.y,e.labelBoxWidth=r.w,e.labelBoxHeight=r.o,e.labelFontSize=t.oa.fontSize}return n&&t.$&&(e.polygon=t.$.map((function(e){return{x:e.x,y:e.y}})),e.neighbors=t.J&&t.J.map((function(e){return e&&e.group}))),e}}var L=new function(){var e=window.console;this.i=function(e){throw"FoamTree: "+e},this.info=function(t){e.info("FoamTree: "+t)},this.warn=function(t){e.warn("FoamTree: "+t)}};function O(e){function t(t,r){t.m=[],t.Ea=!0;var i=o(r),a=0;if(("flattened"===e.mb||"always"===e.zg&&t.group&&t.group.description)&&0<r.length&&0<t.level){var s=r.reduce((function(e,t){return e+y.I(t.weight,1)}),0),u=n(t.group,!1);u.description=!0,u.weight=s*e.Sb,u.index=a++,u.parent=t,u.level=t.level+1,u.id=u.id+"_d",t.m.push(u)}for(s=0;s<r.length;s++){var l=r[s];if(0>=(u=y.I(l.weight,1))){if(!e.Wi)continue;u=.9*i}(l=n(l,!0)).weight=u,l.index=a,l.parent=t,l.level=t.level+1,t.m.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){y.has(e,"__id")||(Object.defineProperty(e,"__id",{enumerable:!1,configurable:!1,writable:!1,value:u}),u++)}function o(e){for(var t=Number.MAX_VALUE,n=0;n<e.length;n++){var r=e[n].weight;0<r&&t>r&&(t=r)}return t===Number.MAX_VALUE&&(t=1),t}function i(e){if(!e.empty()){var t,n=0;for(t=(e=e.m).length-1;0<=t;t--){var r=e[t].weight;n<r&&(n=r)}for(t=e.length-1;0<=t;t--)(r=e[t]).cg=r.weight/n}}function a(e){if(!e.empty()){e=e.m.slice(0).sort((function(e,t){return e.weight<t.weight?1:e.weight>t.weight?-1:e.index-t.index}));for(var t=0;t<e.length;t++)e[t].nd=t}}function s(){for(var t=p.m.reduce((function(e,t){return e+t.weight}),0),n=0;n<p.m.length;n++){var r=p.m[n];r.attribution&&(r.weight=Math.max(.025,e.sg)*t)}}var u,l,c,h,f,d=this,p=new ee;this.M=function(){return p},this.T=function(n){var r=n.group.groups,o=e.Rh;return!!(!n.m&&!n.description&&r&&0<r.length&&f+r.length<=o)&&(f+=r.length,t(n,r),i(n),a(n),!0)},this.load=function(e){p.group=e,p.xa=!1,p.R=!1,p.Ia=!1,p.open=!0,p.Cb=1,u=function e(t,n){if(!t)return n;if(n=Math.max(n,t.__id||0),(t=t.groups)&&0<t.length)for(var r=t.length-1;0<=r;r--)n=e(t[r],n);return n}(e,0)+1,l={},c={},h={},f=0,e&&(r(e),l[e.__id]=p,y.V(e.id)||(c[e.id]=e),function e(t){var n=t.groups;if(n)for(var o=0;o<n.length;o++){var i=n[o];r(i);var a=i.__id;l[a]=null,h[a]=t,a=i.id,y.V(a)||(c[a]=i),e(i)}}(e)),t(p,e&&e.groups||[]),function(e){if(!e.empty()){var t=n({attribution:!0});t.index=e.m.length,t.parent=e,t.level=e.level+1,t.attribution=!0,e.m.push(t)}}(p),i(p),s(),a(p)},this.update=function(e){e.forEach((function(e){S.za(e,(function(e){if(!e.empty())for(var t=o((e=e.m).map((function(e){return e.group}))),n=0;n<e.length;n++){var r=e[n];r.weight=0<r.group.weight?r.group.weight:.9*t}})),i(e),e===p&&s(),a(e)}))},this.u=function(e){return function(){if(y.V(e)||y.Re(e))return[];if(Array.isArray(e))return e.map(d.i,d);if(y.wb(e)){if(y.has(e,"__id"))return[d.i(e)];if(y.has(e,"all")){var t=[];return S.L(p,(function(e){t.push(e)})),t}if(y.has(e,"groups"))return d.u(e.groups)}return[d.i(e)]}().filter((function(e){return void 0!==e}))},this.i=function(e){if(y.wb(e)&&y.has(e,"__id")){if(e=e.__id,y.has(l,e)){if(null===l[e]){for(var t=h[e],n=[];t&&(t=t.__id,n.push(t),!l[t]);)t=h[t];for(t=n.length-1;0<=t;t--)this.T(l[n[t]])}return l[e]}}else if(y.has(c,e))return this.i(c[e])},this.H=function(e,t,n){return{m:d.u(e),Ca:y.I(e&&e[t],!0),Ba:y.I(e&&e.keepPrevious,n)}}}function I(e,t,n){var r={};t.Ba&&S.L(e,(function(e){n(e)&&(r[e.id]=e)})),e=t.m,t=t.Ca;for(var o=e.length-1;0<=o;o--){var i=e[o];r[i.id]=t?i:void 0}var a=[];return y.Aa(r,(function(e){void 0!==e&&a.push(e)})),a}function N(e){function t(e,t){e=e.ja,t.opacity=1,t.Da=1,t.va=0>e?1-_.Ch/100*e:1,t.saturation=0>e?1-_.Dh/100*e:1,t.ca=0>e?1+.5*e:1}function n(e){return e=e.ja,Math.max(.001,0===e?1:1+e*(_.Pa-1))}function r(t,n,r,u){var l=i();if(0===t.length&&!l)return(new h).resolve().promise();var v=t.reduce((function(e,t){return e[t.id]=!0,e}),{}),y=[];if(t=[],C.reduce((function(e,t){return e||v[t.id]&&(!t.U||1!==t.ja)||!v[t.id]&&!t.parent.U&&(t.U||-1!==t.ja)}),!1)){var M=[],T={};C.forEach((function(e){v[e.id]&&(e.U||y.push(e),e.U=!0,S.za(e,(function(e){M.push(a(e,1)),T[e.id]=!0})))})),0<M.length?(S.L(c,(function(e){v[e.id]||(e.U&&y.push(e),e.U=!1),T[e.id]||M.push(a(e,-1))})),t.push(b.K.A({}).Qa(M).call(s).Ta()),o(v),t.push(function(t){return t||!g.zd()?b.K.A(d).fa({duration:.7*_.Oa,P:{x:{end:A.x+A.w/2,easing:m.ia(_.Wb)},y:{end:A.y+A.o/2,easing:m.ia(_.Wb)}},ba:function(){e.j.D("foamtree:dirty",!0)}}).Ta():(d.x=A.x+A.w/2,d.y=A.y+A.o/2,(new h).resolve().promise())}(l)),r&&(g.ic(A,_.Yb,_.Oa,m.ia(_.Wb)),g.Fb())):(t.push(function(e){var t=[],n=[];return S.L(c,(function(e){0!==e.ja&&n.push(a(e,0,(function(){this.U=!1})))})),t.push(b.K.A({}).Qa(n).Ta()),g.content(0,0,x,w),e&&(t.push(g.reset(_.Oa,m.ia(_.Wb))),g.Fb()),f(t)}(r)),n&&S.L(c,(function(e){e.U&&y.push(e)})))}return f(t).then((function(){p.bd(n,y,"exposed",(function(e){return e.U}),{indirect:u},e.options.hf,e.options.gf)}))}function o(e){C.reduce(u(!0,void 0,(function(t){return t.U||e[t.id]})),l(A)),A.x-=A.w*(_.Pa-1)/2,A.y-=A.o*(_.Pa-1)/2,A.w*=_.Pa,A.o*=_.Pa}function i(){return!!C&&C.reduce((function(e,t){return e||0!==t.ja}),!1)}function a(n,r,o){var i=b.K.A(n);return 0===n.ja&&0!==r&&i.call((function(){this.mc(M),this.qb(t)})),i.fa({duration:_.Oa,P:{ja:{end:r,easing:m.ia(_.Wb)}},ba:function(){c.N=!0,c.Fa=!0,e.j.D("foamtree:dirty",!0)}}),0===r&&i.call((function(){this.vd(),this.cc(),this.Nc(M),this.Mc(t)})),i.call(o).done()}function s(){var e=c.m.reduce(u(!1,M.transformPoint,void 0),l({})).box,t=_.Yb,n=Math.min(e.x,A.x-A.w*t),r=Math.min(e.y,A.y-A.o*t);g.content(n,r,Math.max(e.x+e.w,A.x+A.w*(1+t))-n,Math.max(e.y+e.o,A.y+A.o*(1+t))-r)}function u(e,t,n){var r={};return function(o,i){if(!n||n(i)){for(var a,s=e&&i.$||i.C,u=s.length-1;0<=u;u--)a=void 0!==t?t(i,s[u],r):s[u],o.Hc=Math.min(o.Hc,a.x),o.wd=Math.max(o.wd,a.x),o.Ic=Math.min(o.Ic,a.y),o.xd=Math.max(o.xd,a.y);o.box.x=o.Hc,o.box.y=o.Ic,o.box.w=o.wd-o.Hc,o.box.o=o.xd-o.Ic}return o}}function l(e){return{Hc:Number.MAX_VALUE,wd:Number.MIN_VALUE,Ic:Number.MAX_VALUE,xd:Number.MIN_VALUE,box:e}}var c,d,p,g,b,v,C,A,x,w,_=e.options,M={Ve:function(e,t){return t.scale=n(e),!1},Ib:function(e,t){e=n(e);var r=d.x,o=d.y;t.translate(r,o),t.scale(e,e),t.translate(-r,-o)},Jb:function(e,t,r){e=n(e);var o=d.x,i=d.y;r.x=(t.x-o)/e+o,r.y=(t.y-i)/e+i},transformPoint:function(e,t,r){e=n(e);var o=d.x,i=d.y;return r.x=(t.x-o)*e+o,r.y=(t.y-i)*e+i,r}};e.j.subscribe("stage:initialized",(function(e,t,n,r){d={x:n/2,y:r/2},A={x:0,y:0,w:x=n,o:w=r}})),e.j.subscribe("stage:resized",(function(e,t,n,r){d.x*=n/e,d.y*=r/t,x=n,w=r})),e.j.subscribe("api:initialized",(function(e){p=e})),e.j.subscribe("zoom:initialized",(function(e){g=e})),e.j.subscribe("model:loaded",(function(e,t){c=e,C=t})),e.j.subscribe("model:childrenAttached",(function(e){C=e})),e.j.subscribe("timeline:initialized",(function(e){b=e})),e.j.subscribe("openclose:initialized",(function(e){v=e}));var T=["groupExposureScale","groupUnexposureScale","groupExposureZoomMargin"];e.j.subscribe("options:changed",(function(e){y.bb(e,T)&&i()&&(o({}),g.cj(A,_.Yb),g.Fb())})),this.M=function(){e.j.D("expose:initialized",this)},this.Vb=function(e,t,n,o){var i=e.m.reduce((function(e,t){for(;t=t.parent;)e[t.id]=!0;return e}),{}),a=I(c,e,(function(e){return e.U&&!e.open&&!i[e.id]})),s=new h;return function(e,t){for(var n=e.reduce((function(e,t){return e[t.id]=t,e}),{}),r=e.length-1;0<=r;r--)S.L(e[r],(function(e){n[e.id]=void 0}));var o=[];y.Aa(n,(function(e){e&&S.me(e,(function(e){e.open||o.push(e)}))}));var i=[];return y.Aa(n,(function(e){e&&e.open&&i.push(e)})),e=[],0!==o.length&&e.push(v.Bb({m:o,Ca:!0,Ba:!0},t,!0)),f(e)}(a,t).then((function(){r(a.filter((function(e){return e.C&&e.$})),t,n,o).then(s.resolve)})),s.promise()}}function P(e){var t,n,r=[],o=new d(y.qa);e.j.subscribe("stage:initialized",(function(){})),e.j.subscribe("stage:resized",(function(){})),e.j.subscribe("stage:newLayer",(function(e,t){r.push(t)})),e.j.subscribe("model:loaded",(function(e){t=e,o.clear()})),e.j.subscribe("zoom:initialized",(function(){})),e.j.subscribe("timeline:initialized",(function(e){n=e}));var i=!1;e.j.subscribe("render:renderers:resolved",(function(e){i=e.labelPlainFill||!1}));var a=new function(){var e=0,t=0,n=0,r=0,o=0,i=0;this.i=function(a,s,u,l,c){t=1-(e=1+s),n=u,r=l,o=c,i=a},this.Ve=function(i,a){return a.scale=e+t*i.ra,0!==o||0!==n||0!==r},this.Ib=function(a,s){var u=e+t*a.ra,l=a.parent,c=i*a.x+(1-i)*l.x,h=i*a.y+(1-i)*l.y;s.translate(c,h),s.scale(u,u),a=1-a.ra,s.rotate(o*Math.PI*a),s.translate(-c,-h),s.translate(l.F.w*n*a,l.F.o*r*a)},this.Jb=function(o,a,s){var u=e+t*o.ra,l=i*o.x+(1-i)*o.parent.x,c=i*o.y+(1-i)*o.parent.y,h=1-o.ra;o=o.parent,s.x=(a.x-l)/u+l-o.F.w*n*h,s.y=(a.y-c)/u+c-o.F.o*r*h},this.transformPoint=function(o,a,s){var u=e+t*o.ra,l=i*o.x+(1-i)*o.parent.x,c=i*o.y+(1-i)*o.parent.y,h=1-o.ra;o=o.parent,s.x=(a.x-l)*u+l-o.F.w*n*h,s.y=(a.y-c)*u+c-o.F.o*r*h}};this.M=function(){},this.u=function(){function r(e,t){var n=Math.min(1,Math.max(0,e.ra));t.opacity=n,t.va=1,t.saturation=n,t.Da=n,t.ca=e.yb}function s(e,t){var n=Math.min(1,Math.max(0,e.Hd));t.opacity=n,t.Da=n,t.va=1,t.saturation=1,t.ca=e.yb}var u=e.options,l=u.Gd,c=u.ii,h=u.ji,f=u.ki,d=u.ei,p=u.fi,g=u.gi,b=u.ai,v=u.bi,y=u.ci,C=d+p+g+b+v+y+c+h+f,A=0<C?l/C:0,x=[];return o.initial()?a.i(u.oi,u.mi,u.pi,u.ri,u.li):a.i(u.Mf,u.Lf,u.Nf,u.Of,u.Kf),B.u(t,B.i(t,e.options.ni),(function(t,o,l){var C="groups"===e.options.hi?l:o;x.push(n.K.A(t).call((function(){this.qb(r)})).wait(i?A*(d+C*p):0).fa({duration:i?A*g:0,P:{yb:{end:0,easing:m.Ab}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",!0)}}).done()),S.L(t,(function(t){x.push(n.K.A(t).call((function(){this.mc(a),this.qb(s)})).wait(A*(b+v*C)).fa({duration:A*y,P:{Hd:{end:0,easing:m.Ab}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",!0)}}).Xa((function(){this.selected=!1,this.Nc(a)})).done())})),x.push(n.K.A(t).call((function(){this.mc(a)})).wait(A*(c+h*C)).fa({duration:A*f,P:{ra:{end:0,easing:m.ia(u.di)}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",!0)}}).Xa((function(){this.selected=!1,this.Nc(a)})).done())})),n.K.A({}).Qa(x).Ta()},this.i=function(t){return function(t){function r(e,t){var n=Math.min(1,Math.max(0,e.ra));t.opacity=n,t.va=1,t.saturation=n,t.Da=n,t.ca=e.yb}var s=e.options,u=s.Ri,l=s.Si,c=s.Oi,f=s.Pi,d=s.Qi,p=s.Od,g=u+l+c+f+d,b=0<g?p/g:0,v=[];if(a.i(s.Mf,s.Lf,s.Nf,s.Of,s.Kf),0===b&&t.m&&t.R){for(p=t.m,g=0;g<p.length;g++){var y=p[g];y.ra=1,y.yb=1,y.qb(r),y.cc(),y.Mc(r)}return t.N=!0,e.j.D("foamtree:dirty",0<b),(new h).resolve().promise()}if(t.m&&t.R){B.u(t,B.i(t,e.options.Qd),(function(t,o,h){t.mc(a),t.qb(r),h="groups"===e.options.Pd?h:o,o=n.K.A(t).wait(h*b*u).fa({duration:b*l,P:{ra:{end:1,easing:m.ia(s.Ni)}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",0<b)}}).done(),h=n.K.A(t).wait(i?b*(c+h*f):0).fa({duration:i?b*d:0,P:{yb:{end:1,easing:m.Ab}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",0<b)}}).done(),t=n.K.A(t).Qa([o,h]).Xd().Xa((function(){this.vd(),this.cc(),this.Nc(a),this.Mc(r)})).done(),v.push(t)})),o.i();var C=new h;return n.K.A({}).Qa(v).call((function(){o.u(),C.resolve()})).start(),C.promise()}return(new h).resolve().promise()}(t)}}function F(e){function t(t,o,s){function u(e,t){t.opacity=1-e.Cb,t.va=1,t.saturation=1,t.ca=1,t.Da=1}var l=[],c=[];return S.L(i,(function(o){if(o.R&&o.X){var i=y.has(t,o.id),a=n[o.id];if(a&&a.xb())a.stop();else if(o.open===i)return;o.Va=i,i||(o.open=i,o.Bd=!1),c.push(o),l.push(function(t,o){t.qb(u);var i=r.K.A(t).fa({duration:e.options.Kc,P:{Cb:{end:o?1:0,easing:m.fe}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",!0)}}).call((function(){this.open=o,t.Va=!1})).Xa((function(){this.cc(),this.Mc(u),delete n[this.id]})).done();return n[t.id]=i}(o,i))}})),0<l.length?(e.j.D("openclose:changing"),r.K.A({}).Qa(l).Ta().then((function(){a.bd(o,c,"open",(function(e){return e.open}),{indirect:s},e.options.rf,e.options.qf)}))):(new h).resolve().promise()}var n,r,o,i,a;e.j.subscribe("api:initialized",(function(e){a=e})),e.j.subscribe("model:loaded",(function(e){i=e,n={}})),e.j.subscribe("timeline:initialized",(function(e){r=e})),e.j.subscribe("expose:initialized",(function(e){o=e})),this.M=function(){e.j.D("openclose:initialized",this)},this.Bb=function(n,r,a){if("flattened"==e.options.mb)return(new h).resolve().promise();n=I(i,n,(function(e){return e.open||e.Va}));for(var s=new h,u=0;u<n.length;u++)n[u].Va=!0;0<n.length&&e.j.D("foamtree:attachChildren",n);var l=n.reduce((function(e,t){return e[t.id]=!0,e}),{});return function(e,t){var n,r=[];if(S.L(i,(function(t){if(t.m){var n=y.has(e,t.id);t.open!==n&&(n||t.U||S.L(t,(function(e){if(e.U)return r.push(t),!1})))}})),0===r.length)return(new h).resolve().promise();for(n=r.length-1;0<=n;n--)r[n].open=!1;for(t=o.Vb({m:r,Ca:!0,Ba:!0},t,!0,!0),n=r.length-1;0<=n;n--)r[n].open=!0;return t}(l,r).then((function(){t(l,r,a).then(s.resolve)})),s.promise()}}function R(e){var t,n;e.j.subscribe("api:initialized",(function(e){n=e})),e.j.subscribe("model:loaded",(function(e){t=e})),this.M=function(){e.j.D("select:initialized",this)},this.select=function(r,o){return function(r,o){var i;for(r=I(t,r,(function(e){return e.selected})),S.L(t,(function(e){!0===e.selected&&(e.selected=!e.selected,e.N=!e.N,e.Sa=!e.Sa)})),i=r.length-1;0<=i;i--){var a=r[i];a.selected=!a.selected,a.N=!a.N,a.Sa=!a.Sa}var s=[];S.L(t,(function(e){e.N&&s.push(e)})),0<s.length&&e.j.D("foamtree:dirty",!1),n.bd(o,s,"selected",(function(e){return e.selected}),{},e.options.tf,e.options.sf)}(r,o)}}function G(e){function n(e){return function(t){e.call(this,{x:t.x,y:t.y,scale:t.scale,ed:t.delta,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,shiftKey:t.shiftKey,lb:t.secondary,touches:t.touches})}}function r(){u.pc(2)?e.j.D("interaction:reset"):u.normalize(N.ob,m.ia(N.Kb))}function o(e){return function(){g.empty()||e.apply(this,arguments)}}function i(e,t,n){var r={},o={};return function(i){switch(e){case"click":var s=N.bf;break;case"doubleclick":s=N.cf;break;case"hold":s=N.jf;break;case"hover":s=N.kf;break;case"mousemove":s=N.mf;break;case"mousewheel":s=N.pf;break;case"mousedown":s=N.lf;break;case"mouseup":s=N.nf;break;case"dragstart":s=N.ff;break;case"drag":s=N.df;break;case"dragend":s=N.ef;break;case"transformstart":s=N.wf;break;case"transform":s=N.uf;break;case"transformend":s=N.vf}var l=!1,c=!s.empty(),h=u.absolute(i,r),f=(t||c)&&a(h),d=(t||c)&&function(e){var t=void 0,n=0;return S.sc(g,(function(r){!0===r.open&&r.Y&&r.scale>n&&H(r,e)&&(t=r,n=r.scale)})),t}(h);c&&(c=f?f.group:null,h=f?f.Jb(h,o):h,i.Db=void 0,s=s({type:e,group:c,topmostClosedGroup:c,bottommostOpenGroup:d?d.group:null,x:i.x,y:i.y,xAbsolute:h.x,yAbsolute:h.y,scale:y.I(i.scale,1),secondary:i.lb,touches:y.I(i.touches,1),delta:y.I(i.ed,0),ctrlKey:i.ctrlKey,metaKey:i.metaKey,altKey:i.altKey,shiftKey:i.shiftKey,preventDefault:function(){l=!0},preventOriginalEventDefault:function(){i.Db="prevent"},allowOriginalEventDefault:function(){i.Db="allow"}}),l=l||0<=s.indexOf(!1),f&&f.attribution&&"click"===e&&(l=!1)),l||n&&n({dd:f,ug:d},i)}}function a(e,t){if("flattened"===N.mb)e=function(e){function t(e,n){var r=n.m;if(r){for(var o,i=-Number.MAX_VALUE,a=0;a<r.length;a++){var s=r[a];!s.description&&s.Y&&H(s,e)&&s.scale>i&&(o=s,i=s.scale)}var u;return o&&(u=t(e,o)),u||o||n}return n}for(var n=L.length,r=L[0].scale,o=L[0].scale,i=0;i<n;i++){var a=L[i];(a=a.scale)<r&&(r=a),a>o&&(o=a)}if(r!==o)for(i=0;i<n;i++)if((a=L[i]).scale===o&&a.Y&&H(a,e))return t(e,a);return t(e,g)}(e);else{t=t||0;for(var n=L.length,r=void 0,o=0;o<n;o++){var i=L[o];i.scale>t&&!1===i.open&&i.Y&&H(i,e)&&(r=i,t=i.scale)}e=r}return e&&e.description&&(e=e.parent),e}var s,u,l,c,h,f,d,g,C,A,x,_,T,k,z,B,D,E,j,L,O=t.Lh(),I=this,N=e.options,P=!1;e.j.subscribe("stage:initialized",(function(t,n,r,o){s=n,E=r,j=o,function(){function t(e){return function(t){return t.x*=E/s.clientWidth,t.y*=j/s.clientHeight,e(t)}}"external"!==N.Me&&("hammerjs"===N.Me&&y.has(window,"Hammer")&&(G.M(s),G.A("tap",t(I.i),!0),G.A("doubletap",t(I.u),!0),G.A("hold",t(I.sa),!0),G.A("touch",t(I.ua),!0),G.A("release",t(I.wa),!1),G.A("dragstart",t(I.ga),!0),G.A("drag",t(I.H),!0),G.A("dragend",t(I.T),!0),G.A("transformstart",t(I.pb),!0),G.A("transform",t(I.transform),!0),G.A("transformend",t(I.Ka),!0)),B=new v(s),D=new b,B.i(t(I.i)),B.u(t(I.u)),B.sa(t(I.sa)),B.wa(t(I.ua)),B.Ka(t(I.wa)),B.ga(t(I.ga)),B.H(t(I.H)),B.T(t(I.T)),B.ta(t(I.ta)),B.Ja(t(I.ta)),B.ua(t(I.Ja)),D.addEventListener("keyup",(function(t){var n=!1,r=void 0,o=N.xf({keyCode:t.keyCode,preventDefault:function(){n=!0},preventOriginalEventDefault:function(){r="prevent"},allowOriginalEventDefault:function(){r="allow"}});"prevent"===r&&t.preventDefault(),(n=n||0<=o.indexOf(!1))||27===t.keyCode&&e.j.D("interaction:reset")})))}()})),e.j.subscribe("stage:resized",(function(e,t,n,r){E=n,j=r})),e.j.subscribe("stage:disposed",(function(){B.Za(),G.Za(),D.i()})),e.j.subscribe("expose:initialized",(function(e){c=e})),e.j.subscribe("zoom:initialized",(function(e){u=e})),e.j.subscribe("openclose:initialized",(function(e){h=e})),e.j.subscribe("select:initialized",(function(e){f=e})),e.j.subscribe("titlebar:initialized",(function(e){d=e})),e.j.subscribe("timeline:initialized",(function(e){l=e})),e.j.subscribe("model:loaded",(function(e,t){g=e,L=t})),e.j.subscribe("model:childrenAttached",(function(e){L=e})),this.M=function(){},this.ua=o(i("mousedown",!1,(function(){u.Wh()}))),this.wa=o(i("mouseup",!1,void 0)),this.i=o(i("click",!0,(function(e,t){t.lb||t.shiftKey||!(e=e.dd)||(e.attribution?t.ctrlKey?document.location.href=w("iuuqr;..b`ssnurd`sbi/bnl.gn`lusdd"):(t=m.ia(N.Kb),e.be?(u.reset(N.ob,t),e.be=!1):(u.bg(e,N.Yb,N.ob,t),e.be=!0)):f.select({m:[e],Ca:!e.selected,Ba:t.metaKey||t.ctrlKey},!0))}))),this.u=o(i("doubleclick",!0,(function(t,n){var r=t.dd;r&&r.attribution||(n.lb||n.shiftKey?r&&(r.parent.U&&(r=r.parent),t={m:r.parent!==g?[r.parent]:[],Ca:!0,Ba:!1},f.select(t,!0),c.Vb(t,!0,!0,!1)):r&&(t={m:[r],Ca:!0,Ba:!1},r.Va=!0,e.j.D("foamtree:attachChildren",[r]),c.Vb(t,!0,!0,!1)),r&&l.K.A({}).wait(N.Oa/2).call((function(){h.Bb({m:S.uc(g,(function(e){return e.Bd&&!S.Jh(r,e)})),Ca:!1,Ba:!0},!0,!0),r.Bd=!0,h.Bb({m:[r],Ca:!(n.lb||n.shiftKey),Ba:!0},!0,!0)})).start())}))),this.sa=o(i("hold",!0,(function(e,t){(e=(t=!(t.metaKey||t.ctrlKey||t.shiftKey||t.lb))?e.dd:e.ug)&&e!==g&&h.Bb({m:[e],Ca:t,Ba:!0},!0,!1)}))),this.ga=o(i("dragstart",!1,(function(e,t){C=t.x,A=t.y,x=Date.now(),P=!0}))),this.H=o(i("drag",!1,(function(e,t){if(P){e=Date.now(),k=Math.min(1,e-x),x=e,e=t.x-C;var n=t.y-A;u.Uh(e,n),_=e,T=n,C=t.x,A=t.y}}))),this.T=o(i("dragend",!1,(function(){if(P){P=!1;var e=Math.sqrt(_*_+T*T)/k;4<=e?u.Vh(e,_,T):u.$e()}}))),this.pb=o(i("transformstart",!1,(function(e,t){z=1,C=t.x,A=t.y})));var F=1,R=!1;this.transform=o(i("transform",!1,(function(e,t){e=t.scale-.01,u.pg(t,e/z,t.x-C,t.y-A),z=e,C=t.x,A=t.y,F=z,R=R||2<t.touches}))),this.Ka=o(i("transformend",!1,(function(){R&&.8>F?e.j.D("interaction:reset"):r(),R=!1}))),this.Ja=o(i("mousewheel",!1,function(){var e=y.yg((function(){r()}),300);return function(t,n){1!==(t=N.ij)&&(t=Math.pow(t,n.ed),O?(u.qg(n,t),e()):u.Nb(n,t,N.ob,m.ia(N.Kb)).then(r))}}())),this.ta=o(function(){var t,n=void 0,r={},o=!1,s=i("hover",!1,(function(){n&&(n.ub=!1,0<n.level&&(n.N=!0)),t&&(t.ub=!0,0<t.level&&(t.N=!0)),d.update(t),e.j.D("foamtree:dirty",!1)})),l=i("mousemove",!1,void 0);return function(e){if("out"===e.type)o=(t=void 0)!==n;else if(u.absolute(e,r),n&&!n.open&&H(n,r)){var i=a(r,n.scale);i&&i!==n?(o=!0,t=i):o=!1}else t=a(r),o=t!==n;o&&(s(e),n=t,o=!1),n&&l(e)}}()),this.Lb={click:n(this.i),doubleclick:n(this.u),hold:n(this.sa),mouseup:n(this.wa),mousedown:n(this.ua),dragstart:n(this.ga),drag:n(this.H),dragend:n(this.T),transformstart:n(this.pb),transform:n(this.transform),transformend:n(this.Ka),hover:n(this.ta),mousewheel:n(this.Ja)};var G=function(){var e,t={};return{M:function(t){e=window.Hammer(t,{doubletap_interval:350,hold_timeout:400,doubletap_distance:10})},A:function(n,r,o){t[n]=r,e.on(n,function(e,t){return function(n){var r=(n=n.gesture).center;(r=p.oe(s,r.pageX,r.pageY,{})).scale=n.scale,r.lb=1<n.touches.length,r.touches=n.touches.length,e.call(s,r),(void 0===r.Db&&t||"prevent"===r.Db)&&n.preventDefault()}}(r,o))},Za:function(){e&&y.Aa(t,(function(t,n){e.off(n,t)}))}}}(),H=function(){var e={};return function(t,n){return t.Jb(n,e),t.$&&M.sa(t.$,e)}}()}function H(e){function t(e,t,n,r){var o,i=0,a=[];for(o=0;o<t.length;o++){var s=Math.sqrt(M.i(t[o],t[(o+1)%t.length]));a.push(s),i+=s}for(o=0;o<a.length;o++)a[o]/=i;e[0].x=n.x,e[0].y=n.y;var u=s=i=0;for(o=1;o<e.length;o++){var l=e[o],c=.95*Math.pow(o/e.length,r);for(i+=.3819;s<i;)s+=a[u],u=(u+1)%a.length;var h=(u-1+a.length)%a.length,f=1-(s-i)/a[h],d=t[h].x;h=t[h].y;var p=t[u].x,g=t[u].y;d=(d-n.x)*c+n.x,h=(h-n.y)*c+n.y,p=(p-n.x)*c+n.x,g=(g-n.y)*c+n.y,l.x=d*(1-f)+p*f,l.y=h*(1-f)+g*f}}var n={random:{vb:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];r.x=t.x+Math.random()*t.w,r.y=t.y+Math.random()*t.o}},Ob:"box"},ordered:{vb:function(e,t){e=e.slice(0),r.ac&&e.sort(te),E.i(e,t,!1,r.Ld)},Ob:"box"},squarified:{vb:function(e,t){e=e.slice(0),r.ac&&e.sort(te),E.u(e,t,!1,r.Ld)},Ob:"box"},fisheye:{vb:function(e,n,o){e=e.slice(0),r.ac&&e.sort(te),t(e,n,o,.25)},Ob:"polygon"},blackhole:{vb:function(e,n,o){e=e.slice(0),r.ac&&e.sort(te).reverse(),t(e,n,o,1)},Ob:"polygon"}};n.order=n.ordered,n.treemap=n.squarified;var r=e.options;this.i=function(e,t,o){if(0<e.length){if("box"===(o=n[o.relaxationInitializer||o.initializer||r.Ii||"random"]).Ob){var i=M.F(t,{});o.vb(e,i),M.wa(e,M.H(i),t)}else o.vb(e,t,M.u(t,{}));for(o=e.length-1;0<=o;o--){if((i=e[o]).description){var a=M.ta(t,r.qc,r.Ag);i.x=a.x,i.y=a.y}i.attribution&&(a=M.ta(t,r.$d,r.rg),i.x=a.x,i.y=a.y),y.wb(i.group.initialPosition)&&(a=i.group.initialPosition,a=M.ta(t,a.position||"bottomright",a.distanceFromCenter||1),i.x=a.x,i.y=a.y)}}}}function U(e){var t,n=e.options,r=new V(e,this),o=new q(e,this),i={relaxed:r,ordered:o,squarified:o},a=i[e.options.Dc]||r;this.jg=5e-5,e.j.subscribe("model:loaded",(function(e){t=e})),e.j.subscribe("options:changed",(function(e){e.layout&&y.has(i,n.Dc)&&(a=i[n.Dc])})),this.step=function(e,t,n,r){return a.step(e,t,n,r)},this.complete=function(e){a.complete(e)},this.Oe=function(e){return e===t||2*Math.sqrt(e.O.ha/(Math.PI*e.m.length))>=Math.max(n.Be,5e-5)},this.gd=function(e,t){var r=Math.pow(n.La,e.level),o=n.$a*r;r*=n.jd;for(var i=(e=e.m).length-1;0<=i;i--){var s=e[i];a.ce(s,r);var u=s;u.$=0<o?k.i(u.C,o):u.C,u.$&&(M.F(u.$,u.F),M.Ja(u.$,u.O)),s.m&&t.push(s)}},this.fc=function(e){a.fc(e)},this.Eb=function(e){a.Eb(e)}}function V(e,t){function n(e){if(e.m){e=e.m;for(var t=0;t<e.length;t++){var n=e[t];n.kc=n.hc*c.oh}}}function r(e,r){t.Oe(e)&&(e.G||(e.G=k.i(e.C,c.jd*Math.pow(c.La,e.level-1)),e.G&&e.m[0]&&e.m[0].description&&"stab"==c.Tb&&s(e)),e.G&&(l.Eb(e),h.i(o(e),e.G,e.group),e.R=!0,r(e)),n(e))}function o(e){return"stab"===c.Tb&&0<e.m.length&&e.m[0].description?e.m.slice(1):e.m}function i(e){var t=o(e);return z.i(t,e.G),z.u(t,e.G),B.H(e)*Math.sqrt(u.O.ha/e.O.ha)}function a(e){return e<c.Hf||1e-4>e}function s(e){var t=c.Sb/(1+c.Sb),n=M.F(e.G,{}),r={x:n.x,y:0},o=n.y,i=n.o,a=c.ie*Math.pow(c.La,e.level-1),s=i*c.he,u=c.qc;"bottom"==u||0<=u&&180>u?(u=Math.PI,o+=i,i=-1):(u=0,i=1);var l=e.G,h=u,f=0,d=1,p=M.u(l,{}),g=p.ha;t*=g;for(var b=0;f<d&&20>b++;){var v=(f+d)/2;r.y=n.y+n.o*v;var m=M.ua(l,r,h);M.u(m[0],p);var y=p.ha-t;if(.01>=Math.abs(y)/g)break;0<(0==h?1:-1)*y?d=v:f=v}M.F(m[0],n),(n.o<a||n.o>s)&&(r.y=n.o<a?o+i*Math.min(a,s):o+i*s,m=M.ua(e.G,r,u)),e.m[0].C=m[0],e.G=m[1]}var u,l=this,c=e.options,h=new H(e),f=0;e.j.subscribe("model:loaded",(function(e){u=e,f=0})),this.step=function(e,n,s,l){function h(n){if(n.R&&n.xa?function(e){e!==u&&2*Math.sqrt(e.O.ha/(Math.PI*e.m.length))<Math.max(.85*c.Be,t.jg)&&(e.R=!1,e.xa=!1,e.Ia=!0,e.G=null)}(n):n.Ia&&n.C&&r(n,(function(){var t=o(n);z.i(t,n.G),z.u(t,n.G),e(n)})),!n.G||!n.R)return 0;if(n.parent&&n.parent.Z||n.Ea){var h=i(n);l&&l(n),n.Ea=!a(h)&&!s,n.Z=!0}else h=0;return t.gd(n,p),h}for(var d=0,p=[u];0<p.length;)d=Math.max(d,h(p.shift()));var g=a(d);return n&&function(e,t,n){f<e&&(f=e);var r=c.Hf;c.Ad(t?1:1-(e-r)/(f-r||1),t,n),t&&(f=0)}(d,g,s),g},this.complete=function(e){for(var n=[u];0<n.length;){var o=n.shift();if(!o.R&&o.Ia&&o.C&&r(o,e),o.G){if(o.parent&&o.parent.Z||o.Ea){for(var s=1e-4>o.O.ha,l=0;!(a(i(o))||s&&32<l++););o.Z=!0,o.Ea=!1}t.gd(o,n)}}},this.fc=function(e){S.L(e,n)},this.ce=function(e,t){if(e.R){var n=e.G;n&&(e.Fd=n),e.G=k.i(e.C,t),e.G&&e.m[0]&&e.m[0].description&&"stab"==c.Tb&&s(e),n&&!e.G&&(e.Z=!0),e.G&&e.Fd&&M.wa(o(e),e.Fd,e.G)}},this.Eb=function(e){for(var t,n=o(e),r=e.ha,i=t=0;i<n.length;i++)t+=n[i].weight;for(e.Dj=t,e=0;e<n.length;e++)(i=n[e]).Vf=i.w,i.hc=r/Math.PI*(0<t?i.weight/t:1/n.length)}}function q(e,t){function n(e,n){if(t.Oe(e)){if(!e.G||e.parent&&e.parent.Z){var r=a.jd*Math.pow(a.La,e.level-1);e.G=M.H(function(e,t){var n=2*t;return e.x+=t,e.y+=t,e.w-=n,e.o-=n,e}(M.F(e.C,{}),r))}e.G&&(e.R=!0,n(e))}else e.R=!1,S.za(e,(function(e){e.G=null}))}function r(e){if("stab"==a.Tb&&0<e.m.length&&e.m[0].description){var t=e.m.slice(1);!function(e){function t(){r.C=M.H(o),r.x=o.x+o.w/2,r.y=o.y+o.o/2}var n=a.Sb/(1+a.Sb),r=e.m[0],o=M.F(e.G,{}),i=o.o;n=Math.min(Math.max(i*n,a.ie*Math.pow(a.La,e.level-1)),i*a.he);var s=a.qc;"bottom"==s||0<=s&&180>s?(o.o=i-n,e.G=M.H(o),o.y+=i-n,o.o=n,t()):(o.o=n,t(),o.y+=n,o.o=i-n,e.G=M.H(o))}(e)}else t=e.m;a.ac&&t.sort(te),"floating"==a.Tb&&o(t,a.qc,(function(e){return e.description})),o(t,a.$d,(function(e){return e.attribution}));var n=M.F(e.G,{});(s[a.Dc]||E.i)(t,n,!0,a.Ld),e.Ea=!1,e.Z=!0,e.N=!0,e.Fa=!0}function o(e,t,n){for(var r=0;r<e.length;r++){var o=e[r];if(n(o)){e.splice(r,1),"topleft"==t||135<=t&&315>t?e.unshift(o):e.push(o);break}}}var i,a=e.options,s={squarified:E.u,ordered:E.i};e.j.subscribe("model:loaded",(function(e){i=e})),this.step=function(e,t,n){return this.complete(e),t&&a.Ad(1,!0,n),!0},this.complete=function(e){for(var o=[i];0<o.length;){var a=o.shift();(!a.R||a.parent&&a.parent.Z)&&a.Ia&&a.C&&n(a,e),a.G&&((a.parent&&a.parent.Z||a.Ea)&&r(a),t.gd(a,o))}},this.Eb=this.fc=this.ce=y.qa}var W,Y,K,$,Z=new function(){this.u=function(e,t){var n=e.globalAlpha;e.fillStyle="dark"===t?"white":"#1d3557",e.globalAlpha=1*n,e.save(),e.transform(.94115,0,0,.94247,-78.54,-58),e.beginPath(),e.moveTo(86.47,533.3),e.bezierCurveTo(83.52,531.5,83.45,530.6,83.45,488.3),e.bezierCurveTo(83.45,444.6,83.35,445.7,87.34,443.7),e.bezierCurveTo(88.39,443.1,90.5,442.5,92.02,442.4),e.bezierCurveTo(93.54,442.2,113,441.7,135.3,441.4),e.bezierCurveTo(177.9,440.7,179.3,440.7,182.7,443.4),e.bezierCurveTo(185.9,445.9,185.6,445,206.2,510.7),e.bezierCurveTo(207.8,515.8,209.5,521.3,210.1,522.9),e.bezierCurveTo(211.7,528,211.9,531.3,210.6,532.7),e.bezierCurveTo(209.5,534,208.4,534,148.5,534),e.bezierCurveTo(106.4,533.9,87.3,533.7,86.47,533.2),e.closePath(),e.fill(),e.globalAlpha=.8*n,e.beginPath(),e.moveTo(237.3,533.3),e.bezierCurveTo(234.8,532.5,233.1,530.9,231.7,528.1),e.bezierCurveTo(231,526.8,224.6,507,217.4,484.1),e.bezierCurveTo(203.1,438.8,202.6,436.7,205,431.4),e.bezierCurveTo(206.3,428.5,239.2,383.2,242.9,379.3),e.bezierCurveTo(245,377,246.9,376.7,249.7,378.2),e.bezierCurveTo(250.6,378.7,263.1,390.8,277.3,405.2),e.bezierCurveTo(301.1,429.2,303.4,431.6,305.1,435.5),e.bezierCurveTo(306.7,439,306.9,440.4,306.9,445.2),e.bezierCurveTo(306.8,455.3,302.2,526.4,301.5,528.9),e.bezierCurveTo(300.2,533.7,301,533.6,268.3,533.7),e.bezierCurveTo(252.2,533.8,238.3,533.6,237.3,533.3),e.closePath(),e.fill(),e.beginPath(),e.globalAlpha=.05*n,e.moveTo(329,533.3),e.bezierCurveTo(326.2,532.5,323.1,528.8,322.6,525.8),e.bezierCurveTo(322,521.6,327.2,446.1,328.4,442.2),e.bezierCurveTo(330.6,434.9,332.8,432.8,368.5,402.4),e.bezierCurveTo(387,386.7,403.9,372.8,406,371.4),e.bezierCurveTo(413.1,366.7,416,366.2,436.5,365.7),e.bezierCurveTo(456.8,365.2,463.6,365.6,470.2,367.6),e.bezierCurveTo(476.2,369.5,546.1,402.8,549.1,405.3),e.bezierCurveTo(550.4,406.3,552.2,408.7,553.2,410.5),e.lineTo(555,413.9),e.lineTo(555.2,459.5),e.bezierCurveTo(555.3,484.6,555.2,505.8,555,506.5),e.bezierCurveTo(554.4,509.1,548.1,517.9,543.8,522.2),e.bezierCurveTo(537.7,528.3,534.2,530.5,527.8,532.4),e.lineTo(522.3,534),e.lineTo(426.6,533.9),e.bezierCurveTo(371.1,533.9,330.1,533.6,328.9,533.3),e.closePath(),e.fill(),e.globalAlpha=.8*n,e.beginPath(),e.moveTo(87.66,423),e.bezierCurveTo(86.23,422.4,85.02,422,84.97,422),e.bezierCurveTo(84.91,422,84.55,421.1,84.16,419.9),e.bezierCurveTo(83.67,418.6,83.45,404.7,83.45,375.9),e.bezierCurveTo(83.45,328.4,83.27,330.3,88.12,328.1),e.bezierCurveTo(90.22,327.2,101.7,325.6,135.4,321.7),e.bezierCurveTo(159.9,318.8,181.1,316.5,182.5,316.5),e.bezierCurveTo(183.9,316.5,187,317.3,189.4,318.2),e.bezierCurveTo(193.5,319.8,194.7,320.8,210.1,336.2),e.bezierCurveTo(226.6,352.7,229.1,355.7,229.1,360),e.bezierCurveTo(229.1,363,226.8,366.5,212.9,385.4),e.bezierCurveTo(187.3,420.2,189.3,417.7,183.4,420.5),e.lineTo(179.5,422.3),e.lineTo(155.3,422.7),e.bezierCurveTo(89.91,424,90.39,423.9,87.65,423),e.closePath(),e.fill(),e.globalAlpha=.6*n,e.beginPath(),e.moveTo(314.6,415),e.bezierCurveTo(311.4,413.4,213.2,314.6,210.9,310.7),e.bezierCurveTo(208.9,307.2,208.5,303.4,209.9,300),e.bezierCurveTo(211.2,297,241.3,257,244.2,254.4),e.bezierCurveTo(247.3,251.7,252.9,249.7,257.4,249.7),e.bezierCurveTo(261.1,249.7,344.7,255.2,350.8,255.8),e.bezierCurveTo(358.5,256.6,363.1,259.5,366,265.1),e.bezierCurveTo(368.7,270.5,394.3,343.7,394.7,347.2),e.bezierCurveTo(395.1,351.6,393.6,356.1,390.5,359.5),e.bezierCurveTo(389.1,361,375.7,372.6,360.5,385.4),e.bezierCurveTo(326.7,414,327,413.7,324.5,415),e.bezierCurveTo(321.8,416.4,317.4,416.3,314.6,414.9),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(547.9,383.4),e.bezierCurveTo(547.1,383.2,533,376.6,516.5,368.7),e.bezierCurveTo(497.2,359.5,485.7,353.7,484.3,352.4),e.bezierCurveTo(481.6,349.8,480.2,346.5,480.2,342.5),e.bezierCurveTo(480.2,339.2,499.2,237,500.4,233.9),e.bezierCurveTo(502.2,229.1,506.2,225.8,511.3,224.9),e.bezierCurveTo(516.2,224,545.8,222.2,548.2,222.6),e.bezierCurveTo(551.5,223.2,553.7,224.7,555.1,227.3),e.bezierCurveTo(556.2,229.3,556.3,234,556.5,301.9),e.bezierCurveTo(556.6,341.8,556.5,375.7,556.3,377.2),e.bezierCurveTo(555.6,381.8,552,384.4,547.8,383.4),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(418.7,347),e.bezierCurveTo(416,346.1,413.6,344.3,412.3,342.1),e.bezierCurveTo(411.6,341,404.4,321.3,396.3,298.3),e.bezierCurveTo(382,258.1,381.5,256.4,381.5,251.7),e.bezierCurveTo(381.5,248.2,381.8,246.2,382.7,244.7),e.bezierCurveTo(383.4,243.4,389.5,233.9,396.5,223.4),e.bezierCurveTo(412.6,199,411.3,199.9,430.6,198.6),e.bezierCurveTo(445,197.6,449.5,197.9,454.2,200.4),e.bezierCurveTo(460.5,203.7,479.6,217.5,481.3,220.1),e.bezierCurveTo(484.3,224.6,484.3,224.6,473.1,284),e.bezierCurveTo(465.3,325.9,462.4,339.9,461.3,341.8),e.bezierCurveTo(458.7,346.4,457.1,346.7,437.5,347.1),e.bezierCurveTo(428.1,347.3,419.6,347.3,418.7,347),e.closePath(),e.fill(),e.globalAlpha=.05*n,e.beginPath(),e.moveTo(89.33,308.2),e.bezierCurveTo(88.1,307.5,86.5,306.2,85.77,305.2),e.bezierCurveTo(84.42,303.4,84.42,303.4,84.24,202.6),e.bezierCurveTo(84.11,131.7,84.27,100.2,84.77,96.34),e.bezierCurveTo(85.65,89.58,87.91,84.64,92.77,78.81),e.bezierCurveTo(96.86,73.9,103.2,68.42,107.1,66.53),e.bezierCurveTo(108.6,65.81,112.8,64.64,116.5,63.92),e.bezierCurveTo(122.7,62.73,125.4,62.64,148.5,62.81),e.lineTo(173.7,63),e.lineTo(177.4,64.82),e.bezierCurveTo(179.5,65.82,182.1,67.75,183.3,69.12),e.bezierCurveTo(185.6,71.9,228.8,145.1,231.3,150.7),e.bezierCurveTo(234.5,157.7,234.9,160.8,234.9,176.9),e.bezierCurveTo(234.8,201.7,233.8,229.6,232.8,233.2),e.bezierCurveTo(232.3,235,231.1,238.1,230.2,240),e.bezierCurveTo(228.3,243.9,196.9,286.6,192.7,290.9),e.bezierCurveTo(189.8,293.9,184.3,297.1,180.2,298.2),e.bezierCurveTo(177.6,298.9,95.84,309.3,93.04,309.3),e.bezierCurveTo(92.22,309.3,90.55,308.8,89.33,308.1),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(305.7,235.6),e.bezierCurveTo(254.5,232,256.5,232.3,253.9,227.1),e.lineTo(252.4,224.2),e.lineTo(253.1,196.7),e.bezierCurveTo(253.8,170.5,253.8,169.1,255.2,166.3),e.bezierCurveTo(257.7,161.2,256.9,161.4,309.3,151.9),e.bezierCurveTo(354.1,143.8,356.8,143.4,359.7,144.2),e.bezierCurveTo(361.4,144.6,363.8,145.8,365,146.8),e.bezierCurveTo(367.3,148.6,389,179.6,391.9,185.2),e.bezierCurveTo(393.8,188.7,394.1,193.5,392.6,196.9),e.bezierCurveTo(391.5,199.6,370.6,231.4,368.4,233.8),e.bezierCurveTo(365.4,237,362,238.3,356.3,238.5),e.bezierCurveTo(353.5,238.6,330.7,237.3,305.7,235.5),e.closePath(),e.fill(),e.globalAlpha=.2*n,e.beginPath(),e.moveTo(497.1,207.1),e.bezierCurveTo(496.2,206.8,494.4,206,493.2,205.4),e.bezierCurveTo(490,203.8,472.7,191.6,469.7,189),e.bezierCurveTo(467,186.6,465.7,183.2,466.2,180.2),e.bezierCurveTo(466.5,178.1,482.4,138.6,484.9,133.5),e.bezierCurveTo(486.5,130.3,488.4,128.2,490.9,126.8),e.bezierCurveTo(492.6,125.9,496.3,125.7,522.2,125.6),e.lineTo(551.5,125.4),e.lineTo(553.7,127.6),e.bezierCurveTo(555.2,129.1,556,130.5,556.3,132.6),e.bezierCurveTo(556.5,134.2,556.6,149.6,556.5,166.9),e.bezierCurveTo(556.3,195.4,556.2,198.5,555.1,200.4),e.bezierCurveTo(553.1,204.1,551.7,204.4,529.8,206.1),e.bezierCurveTo(509.2,207.7,499.9,207.9,497,207.1),e.closePath(),e.fill(),e.globalAlpha=.2*n,e.beginPath(),e.moveTo(412.5,180.5),e.bezierCurveTo(410.9,179.7,408.7,177.9,407.5,176.4),e.bezierCurveTo(403.5,171.3,380.5,137.2,379.2,134.3),e.bezierCurveTo(377.2,129.6,377.1,126.1,378.9,116.8),e.bezierCurveTo(386.5,77.56,388.4,68.28,389.5,66.46),e.bezierCurveTo(390.1,65.34,391.7,63.83,392.9,63.1),e.bezierCurveTo(395.1,61.84,396.2,61.78,419.4,61.78),e.bezierCurveTo(443.4,61.78,443.7,61.8,446.5,63.25),e.bezierCurveTo(448,64.06,449.9,65.81,450.7,67.14),e.bezierCurveTo(452.3,69.73,468,105.5,470,111.1),e.bezierCurveTo(471.4,114.9,471.6,119.1,470.5,122.3),e.bezierCurveTo(470.1,123.5,465.2,135.8,459.7,149.5),e.bezierCurveTo(446.7,181.4,448.1,179.8,431.5,181.2),e.bezierCurveTo(419,182.2,415.7,182,412.5,180.5),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(253.6,142.8),e.bezierCurveTo(250.2,141.8,246.6,139.4,244.7,136.7),e.bezierCurveTo(242.1,132.9,207.4,73.28,206.2,70.42),e.bezierCurveTo(205.1,67.89,205,67.1,205.7,65.54),e.bezierCurveTo(207.3,61.54,202.3,61.8,284.4,61.59),e.bezierCurveTo(325.7,61.48,360.8,61.58,362.4,61.81),e.bezierCurveTo(366,62.32,369.3,65.36,369.9,68.75),e.bezierCurveTo(370.4,71.55,362.4,113.9,360.5,118.1),e.bezierCurveTo(359.1,121.3,355,125,351.4,126.4),e.bezierCurveTo(348.9,127.3,267.1,142.3,259.5,143.2),e.bezierCurveTo(257.9,143.4,255.2,143.2,253.6,142.7),e.closePath(),e.fill(),e.globalAlpha=.1*n,e.beginPath(),e.moveTo(493.4,106.8),e.bezierCurveTo(490.3,106,488.2,104.5,486.5,101.7),e.bezierCurveTo(483.8,97.43,471.8,68.81,471.8,66.76),e.bezierCurveTo(471.8,62.64,470.7,62.76,512.1,62.76),e.bezierCurveTo(553.3,62.76,552.3,62.67,554.4,66.68),e.bezierCurveTo(555.2,68.34,555.3,71.23,555.2,85.75),e.lineTo(555,102.8),e.lineTo(551.4,106.4),e.lineTo(534.1,106.8),e.bezierCurveTo(510.7,107.4,495.9,107.4,493.3,106.8),e.closePath(),e.fill(),e.restore(),e.transform(.15905,0,0,.15905,-88.65,443.2),e.globalAlpha=1*n,e.save(),e.beginPath(),e.moveTo(557.4,564.9),e.lineTo(557.4,98),e.lineTo(885.8,98),e.lineTo(885.8,185.1),e.lineTo(650.8,185.1),e.lineTo(650.8,284.7),e.lineTo(824.1,284.7),e.lineTo(824.1,371.6),e.lineTo(650.8,371.6),e.lineTo(650.8,564.9),e.lineTo(557.4,564.9),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1029,568),e.quadraticCurveTo(961.1,568,915.7,522.5),e.quadraticCurveTo(870.2,476.7,870.2,409.2),e.quadraticCurveTo(870.2,341.3,915.7,295.9),e.quadraticCurveTo(961.1,250.4,1029,250.4),e.quadraticCurveTo(1096.8,250.4,1142.3,295.9),e.quadraticCurveTo(1187.7,341.3,1187.7,409.2),e.quadraticCurveTo(1187.7,477.1,1142.3,522.5),e.quadraticCurveTo(1097.3,568.1,1029.3,568.1),e.closePath(),e.moveTo(1028.6,492.6),e.quadraticCurveTo(1064.1,492.6,1086.2,469),e.quadraticCurveTo(1108.3,445,1108.3,409.5),e.quadraticCurveTo(1108.3,374,1086.2,350),e.quadraticCurveTo(1064.1,326.1,1028.3,326.1),e.quadraticCurveTo(993.1,326.1,971,350),e.quadraticCurveTo(948.9,374,948.9,409.5),e.quadraticCurveTo(948.9,445,971,469),e.quadraticCurveTo(993.1,492.6,1028.6,492.6),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1253,291),e.quadraticCurveTo(1312.1,253.6,1390,253.6),e.quadraticCurveTo(1446,253.6,1478.7,284.7),e.quadraticCurveTo(1511.4,315.9,1511.4,378.1),e.lineTo(1511.4,564.9),e.lineTo(1424.2,564.9),e.lineTo(1424.2,540),e.quadraticCurveTo(1386.2,564.9,1355.7,564.9),e.quadraticCurveTo(1293.5,564.9,1262.3,538.5),e.quadraticCurveTo(1231.2,512,1231.2,465.3),e.quadraticCurveTo(1231.2,421.7,1260.4,387.5),e.quadraticCurveTo(1290,353.3,1355.7,353.3),e.quadraticCurveTo(1385.9,353.3,1424.2,371.9),e.lineTo(1424.2,362.6),e.quadraticCurveTo(1423.6,328.4,1374.4,325.2),e.quadraticCurveTo(1318.3,325.2,1287.2,343.9),e.lineTo(1253,291),e.closePath(),e.moveTo(1424.2,471.5),e.lineTo(1424.2,436.3),e.quadraticCurveTo(1411.7,412.3,1365,412.3),e.quadraticCurveTo(1309,418.5,1305.9,455.9),e.quadraticCurveTo(1309,492.9,1365,496),e.quadraticCurveTo(1411.7,496,1424.2,471.5),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1675,365.7),e.lineTo(1675,564.9),e.lineTo(1587.8,564.9),e.lineTo(1587.8,262.5),e.lineTo(1675,253.2),e.lineTo(1675,280.9),e.quadraticCurveTo(1704.2,253.5,1749.7,253.5),e.quadraticCurveTo(1808.8,253.5,1839.9,289.3),e.quadraticCurveTo(1874.2,253.5,1942.6,253.5),e.quadraticCurveTo(2001.8,253.5,2032.9,289.3),e.quadraticCurveTo(2064,325.1,2064,371.8),e.lineTo(2064,564.8),e.lineTo(1976.9,564.8),e.lineTo(1976.9,393.6),e.quadraticCurveTo(1976.9,362.5,1962.9,345.4),e.quadraticCurveTo(1948.8,328.2,1917.4,327.3),e.quadraticCurveTo(1891.6,329.2,1872.6,361.6),e.quadraticCurveTo(1871,371.2,1871,381.2),e.lineTo(1871,564.9),e.lineTo(1783.9,564.9),e.lineTo(1783.9,393.7),e.quadraticCurveTo(1783.9,362.5,1769.9,345.4),e.quadraticCurveTo(1755.9,328.3,1724.4,327.4),e.quadraticCurveTo(1695.8,329.2,1674.9,365.7),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2058,97.96),e.lineTo(2058,185.1),e.lineTo(2213.6,185.1),e.lineTo(2213.6,564.9),e.lineTo(2306.9,564.9),e.lineTo(2306.9,185.1),e.lineTo(2462.5,185.1),e.lineTo(2462.5,97.96),e.lineTo(2057.8,97.96),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2549,287.8),e.quadraticCurveTo(2582.3,253.5,2630.2,253.5),e.quadraticCurveTo(2645.5,253.5,2659.2,256),e.lineTo(2645.5,341.9),e.quadraticCurveTo(2630.2,328.2,2601.9,327.3),e.quadraticCurveTo(2570.1,329.5,2549,373.4),e.lineTo(2549,564.8),e.lineTo(2461.8,564.8),e.lineTo(2461.8,262.5),e.lineTo(2549,253.1),e.lineTo(2549,287.7),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2694,409.2),e.quadraticCurveTo(2694,340.7,2737.5,297.1),e.quadraticCurveTo(2781.1,253.5,2849.6,253.5),e.quadraticCurveTo(2918.1,253.5,2958.5,297.1),e.quadraticCurveTo(2999,340.6,2999,409.2),e.lineTo(2999,440.3),e.lineTo(2784.2,440.3),e.quadraticCurveTo(2787.3,465.2,2806,479.2),e.quadraticCurveTo(2824.7,493.2,2849.6,493.2),e.quadraticCurveTo(2893.1,493.2,2927.4,468.3),e.lineTo(2977.2,518.1),e.quadraticCurveTo(2943,564.8,2849.6,564.8),e.quadraticCurveTo(2781.1,564.8,2737.5,521.2),e.quadraticCurveTo(2693.9,477.6,2693.9,409.1),e.closePath(),e.moveTo(2911.9,378),e.quadraticCurveTo(2911.9,353.1,2893.2,339.1),e.quadraticCurveTo(2874.5,325.1,2849.6,325.1),e.quadraticCurveTo(2824.7,325.1,2806,339.1),e.quadraticCurveTo(2787.3,353.1,2787.3,378),e.lineTo(2911.8,378),e.closePath(),e.fill(),e.beginPath(),e.moveTo(3052,409.2),e.quadraticCurveTo(3052,340.7,3095.5,297.1),e.quadraticCurveTo(3139.1,253.5,3207.6,253.5),e.quadraticCurveTo(3276.1,253.5,3316.5,297.1),e.quadraticCurveTo(3357,340.6,3357,409.2),e.lineTo(3357,440.3),e.lineTo(3142.2,440.3),e.quadraticCurveTo(3145.3,465.2,3164,479.2),e.quadraticCurveTo(3182.7,493.2,3207.6,493.2),e.quadraticCurveTo(3251.1,493.2,3285.4,468.3),e.lineTo(3335.2,518.1),e.quadraticCurveTo(3301,564.8,3207.6,564.8),e.quadraticCurveTo(3139.1,564.8,3095.5,521.2),e.quadraticCurveTo(3051.9,477.6,3051.9,409.1),e.closePath(),e.moveTo(3269.9,378),e.quadraticCurveTo(3269.9,353.1,3251.2,339.1),e.quadraticCurveTo(3232.5,325.1,3207.6,325.1),e.quadraticCurveTo(3182.7,325.1,3164,339.1),e.quadraticCurveTo(3145.3,353.1,3145.3,378),e.lineTo(3269.8,378),e.closePath(),e.fill(),e.restore()}};function J(e,n){function r(e,t){var n=e.O.r,r=n/15,o=.5*n/15;n/=5;var i=e.O.x;e=e.O.y,t.fillRect(i-o,e-o,r,r),t.fillRect(i-o-n,e-o,r,r),t.fillRect(i-o+n,e-o,r,r)}function o(e,t,n,r){null===e&&n.clearRect(0,0,B,D);var o,i=Array(te.length);for(o=te.length-1;0<=o;o--)i[o]=te[o].na(n,r);for(o=te.length-1;0<=o;o--)i[o]&&te[o].before(n,r);for(j.rc([n,z],(function(r){var o;if(null!==e){for(n.save(),n.globalCompositeOperation="destination-out",n.fillStyle=n.strokeStyle="rgba(255, 255, 255, 1)",o=e.length-1;0<=o;o--){var a=e[o],u=a.C;u&&(n.save(),n.beginPath(),a.Ib(n),s.Ud(n,u),n.fill(),0<(a=V.$a*Math.pow(V.La,a.level-1))&&(n.lineWidth=a/2,n.stroke()),n.restore())}n.restore()}if(r=r.scale,0!==t.length){for(o={},u=te.length-1;0<=u;u--)te[u].ng(o);for(a=ee.length-1;0<=a;a--)if(o[(u=ee[a]).id]){var l=u.Kd;for(u=0;u<t.length;u++){var c=t[u];!c.parent||c.parent.xa&&c.parent.R?l(c,r):c.aa.clear()}}}for(o=te.length-1;0<=o;o--)a=te[o],i[o]&&a.Nd(t,n,r)})),o=te.length-1;0<=o;o--)i[o]&&te[o].after(n);V.Zc&&(n.canvas.style.opacity=.99,setTimeout((function(){n.canvas.style.opacity=1}),1))}function u(){function e(t,n,r){t.sb=Math.floor(1e3*t.scale)-r*n,0<t.opacity&&!t.open&&n++;var o=t.m;if(o)for(var i=o.length-1;0<=i;i--)t.W&&e(o[i],n,r)}var t=null,n=null,r=null;return j.rc([],(function(o){!function(e){b===A?e<.9*G&&(b=v,w=_,h()):e>=G&&(b=A,w=T,h())}(o.scale);var i=!1;S.L(I,(function(e){e.W&&(i=e.vd()||i,e.cc(),e.Ma=H.i(e)||e.Ma)})),i&&(I.N=!0);var a="onSurfaceDirty"===V.Lg;S.fd(I,(function(e){e.parent&&e.parent.Z&&(e.aa.clear(),e.Ma=!0,a||(e.oc=!0,e.Qb.clear())),a&&(e.oc=!0,e.Qb.clear())}));var s=o.scale*o.scale;if(S.fd(I,(function(e){if(e.R){for(var t=e.m,n=0;n<t.length;n++)if(5<t[n].O.ha*s)return void(e.X=!0);e.X=!1}})),function(e){I.Y=!0,S.fd(I,(function(t){if(t.W&&t.X&&t.xa&&t.R&&(I.N||t.Z||t.Vd)){t.Vd=!1;var n=t.m,r={x:0,y:0,w:0,o:0},o=!!t.G;if(1<B/e.w){var i;for(i=n.length-1;0<=i;i--)n[i].Y=!1;if(t.Y&&o)for(i=n.length-1;0<=i;i--)if(1!==(t=n[i]).scale&&(t.Jb(e,r),r.w=e.w/t.scale,r.o=e.o/t.scale),!1===t.Y&&t.C){var a=(o=t.C).length;if(M.sa(t.C,1===t.scale?e:r))t.Y=!0;else for(var s=0;s<a;s++)if(M.Vc(o[s],o[(s+1)%a],1===t.scale?e:r)){t.Y=!0,t.J&&(t=t.J[s])&&(n[t.index].Y=!0);break}}}else for(i=0;i<n.length;i++)n[i].Y=o}}))}(o),r=[],S.tc(I,(function(e){if(e.parent.X&&e.Y&&e.W){r.push(e);for(var t=e.parent;t!==I&&(t.open||0===t.opacity);)t=t.parent;t!==I&&.02>Math.abs(t.scale-e.scale)&&(e.scale=Math.min(e.scale,t.scale))}})),e(I,0,"flattened"===V.mb?-1:1),r.sort((function(e,t){return e.sb-t.sb})),l())t=r,n=null;else{var u={},c={},f="none"!=V.ld&&V.$a<V.ab/2,d=V.$a<V.yc/2+V.kd*V.De.a;S.L(I,(function(e){if(e.W&&!e.description&&(e.Z||e.N||e.Fc&&e.parent.X&&e.Ma)){var t,n,r,o=[e],i=e.J||e.parent.m;if(f)for(t=0;t<i.length;t++)(n=i[t])&&o.push(n);else if(d)if(!e.selected&&e.Sa){for(n=!0,t=0;t<i.length;t++)i[t]?o.push(i[t]):n=!1;!n&&1<e.level&&o.push(e.parent)}else for(t=0;t<i.length;t++)(n=i[t])&&n.selected&&o.push(n);for(t=e.parent;t!=I;)t.selected&&(r=t),t=t.parent;for(r&&o.push(r),t=0;t<o.length;t++){for(e=(r=o[t]).parent;e&&e!==I;)0<e.opacity&&(r=e),e=e.parent;c[r.id]=!0,S.za(r,(function(e){u[e.id]=!0}))}}})),t=r.filter((function(e){return u[e.id]})),n=t.filter((function(e){return c[e.id]}))}})),function(){var e=!1;V.Gf&&S.L(I,(function(t){if(t.W&&0!==t.pa.a&&1!==t.pa.a)return e=!0,!1})),e?(S.sc(I,(function(e){if(e.W&&(e.opacity!==e.Jc||e.Fa)){var t=e.m;if(t){for(var n=0,r=t.length-1;0<=r;r--)n=Math.max(n,t[r].Ec);e.Ec=n+e.opacity*e.pa.a}else e.Ec=e.opacity*e.pa.a}})),S.L(I,(function(e){if(e.W&&(e.opacity!==e.Jc||e.Fa)){for(var t=e.Ec,n=e;(n=n.parent)&&n!==I;)t+=n.opacity*n.pa.a*V.Ef;e.$c=0<t?1-Math.pow(1-e.pa.a,1/t):0,e.Jc=e.opacity}}))):S.L(I,(function(e){e.W&&(e.$c=1,e.Jc=-1)}))}(),{ag:t,$f:n,Y:r}}function l(){var e=I.Z||I.N||"none"==V.Ke;if(!e&&!I.empty()){var t=I.m[0].scale;S.L(I,(function(n){if(n.W&&n.Y&&n.scale!==t)return e=!0,!1}))}return!e&&0<V.xe&&1!=V.Pa&&S.L(I,(function(t){if(t.W&&0<t.ja)return e=!0,!1})),"accurate"==V.Ke&&(!(e=(e=e||0===V.$a)||"none"!=V.ld&&V.$a<V.ab/2)&&V.$a<V.yc/2+V.kd*V.De.a&&S.L(I,(function(t){if(t.W&&(t.selected&&!t.Sa||!t.selected&&t.Sa))return e=!0,!1}))),e}function h(){function e(e,n,r,o,i){function a(e,t,n,r,o){return e[r]&&(t-=n*p[r],e[r]=!1,o&&(t+=n*p[o],e[o]=!0)),t}switch(e=y.extend({},e),r){case"never":e.labelPlainFill=!1;break;case"always":case"auto":e.labelPlainFill=!0}if(V.xc)switch(o){case"never":e.contentDecoration=!1;break;case"always":case"auto":e.contentDecoration=!0}else e.contentDecoration=!1;var s=0;return y.Aa(e,(function(e,t){e&&(s+=n*p["contentDecoration"===t?"labelPlainFill":t])})),e.polygonExposureShadow=t,(s+=2*p.polygonExposureShadow)<=i||(s=a(e,s,2,"polygonExposureShadow"))<=i||(s=a(e,s,n,"polygonGradientFill","polygonPlainFill"))<=i||(s=a(e,s,n,"polygonGradientStroke"))<=i||(s=a(e,s,n,"polygonPlainStroke"))<=i||"auto"===o&&(s=a(e,s,n,"contentDecoration"))<=i||"auto"===r&&(s=a(e,s,n,"labelPlainFill")),e}var t=b===v,n=0,r=0;S.ne(I,(function(e){var t=1;S.L(e,(function(){t++})),n+=t,r=Math.max(r,t)}));var o={};switch(V.Ug){case"plain":o.polygonPlainFill=!0;break;case"gradient":o.polygonPlainFill=!t,o.polygonGradientFill=t}switch(V.ld){case"plain":o.polygonPlainStroke=!0;break;case"gradient":o.polygonPlainStroke=!t,o.polygonGradientStroke=t}P=e(o,n,V.gj,V.ej,V.fj),R=e(o,2*r,"always","always",V.Eg),F=e(o,n,"always","always",V.Dg)}function f(e){return function(t,n){return t===b?!0===P[e]:!0===(n?R:F)[e]}}function d(e,t){return function(n,r){return e(n,r)&&t(n,r)}}var p,g,b,v,A,x,w,_,T,k,z,B,D,E,j,L,O,I,N,P,F,R,G=t.Se()?50:1e4,H=new X(e),U=new Q(e),V=e.options;e.j.subscribe("stage:initialized",(function(e,t,n,r){B=n,D=r,g=(E=e).dc("wireframe",V.nb,!1),v=g.getContext("2d"),A=new i(v),x=E.dc("hifi",V.B,!1),_=x.getContext("2d"),T=new i(_),b=v,w=_,v.B=V.nb,A.B=V.nb,_.B=V.B,T.B=V.B,k=E.dc("tmp",Math.max(V.B,V.nb),!0),(z=k.getContext("2d")).B=1,[v,_,z].forEach((function(e){e.scale(e.B,e.B)}))})),e.j.subscribe("stage:resized",(function(e,t,n,r){B=n,D=r,[v,_,z].forEach((function(e){e.scale(e.B,e.B)}))})),e.j.subscribe("model:loaded",(function(t){N=!0,function e(t){var n=0;if(!t.empty()){for(var r=t.m,o=r.length-1;0<=o;o--)n=Math.max(n,e(r[o]));n+=1}return t.Sf=n}(I=t),h(),e.j.D("render:renderers:resolved",P,R,F)}));var q="groupFillType groupStrokeType wireframeDrawMaxDuration wireframeLabelDrawing wireframeContentDecorationDrawing finalCompleteDrawMaxDuration finalIncrementalDrawMaxDuration groupContentDecorator".split(" "),J=["groupLabelLightColor","groupLabelDarkColor","groupLabelColorThreshold","groupUnexposureLabelColorThreshold"];e.j.subscribe("options:changed",(function(e){function t(e,t,n,r){E.Hi(e,n),t.B=n,r&&t.scale(n,n)}e.dataObject||(y.bb(e,q)&&h(),y.bb(e,J)&&S.L(I,(function(e){e.hd=-1})));var n=y.has(e,"pixelRatio");e=y.has(e,"wireframePixelRatio"),(n||e)&&(n&&t(x,w,V.B,!0),e&&t(g,b,V.nb,!0),t(k,z,Math.max(V.B,V.nb),!1))})),e.j.subscribe("zoom:initialized",(function(e){j=e})),e.j.subscribe("timeline:initialized",(function(e){L=e})),e.j.subscribe("api:initialized",(function(e){O=e}));var ee=[{id:"offsetPolygon",Kd:function(e){if((e.selected||0<e.opacity&&!1===e.open||!e.X)&&e.aa.Ga()){var t=e.aa;if(t.clear(),e.$){var n=e.$,r=V.Gg;0<r?s.Ti(t,n,e.parent.O.r/32,Math.min(1,r*Math.pow(1-V.Hg*r,e.Sf))):s.Ud(t,n)}e.Dd=!0}}},{id:"label",Kd:function(e){e.Ma&&e.Fc&&H.u(e)}},{id:"custom",Kd:function(t,n){if(t.$&&(0<t.opacity&&(!1===t.open||!0===t.selected)||!t.X)&&t.oc&&e.options.xc&&!t.attribution){var r={};O.Xc(r,t),O.Yc(r,t),O.Wc(r,t,!0),r.context=t.Qb,r.polygonContext=t.aa,r.labelContext=t.Bc,r.shapeDirty=t.Dd,r.viewportScale=n,n={groupLabelDrawn:!0,groupPolygonDrawn:!0},e.options.Kg(e.Cd,r,n),t.Te=n.groupLabelDrawn,t.Ed=n.groupPolygonDrawn,t.Dd=!1,t.oc=!1}}}].reverse(),te=[new function(e){var t=Array(e.length);this.Nd=function(n,r,o){if(0!==n.length){var i,a=[],s=n[0].sb;for(i=0;i<n.length;i++){var u=n[i];u.sb!==s&&(a.push(i),s=u.sb)}a.push(i);for(var l=s=0;l<a.length;l++){for(var c=a[l],h=e.length-1;0<=h;h--)if(t[h]){var f=e[h];for(r.save(),i=s;i<c;i++)u=n[i],r.save(),u.Ib(r),f.kb.call(f,u,r,o),r.restore();f.Wa.call(f,r,o),r.restore()}s=c}}},this.na=function(n,r){for(var o=!1,i=e.length-1;0<=i;i--)t[i]=e[i].na(n,r),o|=t[i];return o},this.before=function(n,r){for(var o=e.length-1;0<=o;o--)if(t[o]){var i=e[o];i.before.call(i,n,r)}},this.after=function(n){for(var r=e.length-1;0<=r;r--)if(t[r]){var o=e[r];o.after.call(o,n)}},this.ng=function(n){for(var r=e.length-1;0<=r;r--){var o=e[r];if(t[r])for(var i=o.Ra.length-1;0<=i;i--)n[o.Ra[i]]=!0}}}([{Ra:["offsetPolygon"],na:f("polygonExposureShadow"),before:function(e){z.save(),z.scale(e.B,e.B)},after:function(){z.restore()},rb:function(){},Wa:function(e){this.Rf&&(this.Rf=!1,e.save(),e.setTransform(1,0,0,1,0,0),e.drawImage(k,0,0,e.canvas.width,e.canvas.height,0,0,e.canvas.width,e.canvas.height),e.restore(),z.save(),z.setTransform(1,0,0,1,0,0),z.clearRect(0,0,k.width,k.height),z.restore())},kb:function(e,t,n){if(!(e.open&&e.X||e.aa.Ga())){var r=V.xe*e.opacity*e.ja*("flattened"===V.mb?1-e.parent.ja:(1-e.Cb)*e.parent.Cb)*(1.1<=V.Pa?1:(V.Pa-1)/.1);0<r&&(z.save(),z.beginPath(),e.Ib(z),e.aa.Na(z),z.shadowBlur=n*t.B*r,z.shadowColor=V.Mg,z.fillStyle="rgba(0, 0, 0, 1)",z.globalCompositeOperation="source-over",z.globalAlpha=e.opacity,z.fill(),z.shadowBlur=0,z.shadowColor="transparent",z.globalCompositeOperation="destination-out",z.fill(),z.restore(),this.Rf=!0)}}},{Ra:["offsetPolygon"],na:function(){return!0},before:function(){function e(e){var n=e.pa,r=e.ub,o=e.selected,i=(n.h+(r?V.Yg:0)+(o?V.ph:0))%360,a=t(n.l*e.va+(r?V.Zg:0)+(o?V.qh:0));return n=t(n.s*e.saturation+(r?V.$g:0)+(o?V.rh:0)),(e=e.we).h=i,e.s=n,e.l=a,e}function t(e){return 100<e?100:0>e?0:e}var n=[{type:"fill",na:f("polygonPlainFill"),Pc:function(t,n){n.fillStyle=c.H(e(t))}},{type:"fill",na:f("polygonGradientFill"),Pc:function(n,r){var o=n.O.r,i=e(n);o=r.createRadialGradient(n.x,n.y,0,n.x,n.y,o*V.Qg);var a=i.l,s=V.Og;o.addColorStop(0,c.i((i.h+V.Ng)%360,t(i.s+V.Pg),t(a+s))),a=i.l,s=V.Sg,o.addColorStop(1,c.i((i.h+V.Rg)%360,t(i.s+V.Tg),t(a+s))),n.aa.Na(r),r.fillStyle=o}},{type:"stroke",na:d(f("polygonPlainStroke"),(function(){return 0<V.ab})),Pc:function(e,n){var r=e.pa,o=e.ub,i=e.selected,a=(r.h+V.He+(o?V.ye:0)+(i?V.Ee:0))%360,s=t(r.s*e.saturation+V.Je+(o?V.Ae:0)+(i?V.Ge:0));r=t(r.l*e.va+V.Ie+(o?V.ze:0)+(i?V.Fe:0)),n.strokeStyle=c.i(a,s,r),n.lineWidth=V.ab*Math.pow(V.La,e.level-1)}},{type:"stroke",na:d(f("polygonGradientStroke"),(function(){return 0<V.ab})),Pc:function(e,n){var r=e.O.r*V.xh,o=e.pa,i=Math.PI*V.th/180;r=n.createLinearGradient(e.x+r*Math.cos(i),e.y+r*Math.sin(i),e.x+r*Math.cos(i+Math.PI),e.y+r*Math.sin(i+Math.PI));var a=e.ub,s=e.selected;i=(o.h+V.He+(a?V.ye:0)+(s?V.Ee:0))%360;var u=t(o.s*e.saturation+V.Je+(a?V.Ae:0)+(s?V.Ge:0));o=t(o.l*e.va+V.Ie+(a?V.ze:0)+(s?V.Fe:0)),a=V.vh,r.addColorStop(0,c.i((i+V.uh)%360,t(u+V.wh),t(o+a))),a=V.zh,r.addColorStop(1,c.i((i+V.yh)%360,t(u+V.Ah),t(o+a))),n.strokeStyle=r,n.lineWidth=V.ab*Math.pow(V.La,e.level-1)}}],r=Array(n.length);return function(e,t){for(var o=n.length-1;0<=o;o--)r[o]=n[o].na(e,t);this.Xi=n,this.vg=r}}(),after:function(){},rb:function(){},Wa:function(){},kb:function(e,t){if(!(!e.Ed||(0===e.opacity||e.open)&&e.X||e.aa.Ga()||!V.je&&e.description)){var n=this.Xi,r=this.vg;t.beginPath(),e.aa.Na(t);for(var o=!1,i=!1,a=n.length-1;0<=a;a--){var s=n[a];if(r[a])switch(s.Pc(e,t),s.type){case"fill":o=!0;break;case"stroke":i=!0}}n=(e.X?e.opacity:1)*e.pa.a,r=!e.empty(),a=V.Gf?e.$c:1,o&&(e=r&&e.X&&e.R&&e.m[0].W?1-e.m.reduce((function(e,t){return e+t.ra*t.Hd}),0)/e.m.length*(1-V.Ef):1,t.globalAlpha=n*e*a,W(t)),i&&(t.globalAlpha=n*(r?V.Xh:1)*a,t.closePath(),Y(t),t.stroke())}}},{Ra:["offsetPolygon"],na:function(){return 0<V.yc},before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t,n){if(e.Ed&&e.selected&&!e.aa.Ga()){t.globalAlpha=e.Da,t.beginPath();var r=Math.pow(V.La,e.level-1);t.lineWidth=V.yc*r,t.strokeStyle=V.sh;var o=V.kd;0<o&&(t.shadowBlur=o*r*n*t.B,t.shadowColor=V.Ce),e.aa.Na(t),t.closePath(),t.stroke()}}},{Ra:[],na:function(){return!0},before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t){e.attribution&&!e.aa.Ga()&&function(n,r,o){var i=M.Ka(e.$,e.O,n/r);i=Math.min(Math.min(.9*i,.5*e.F.o)/r,.5*e.F.w/n),t.save(),t.translate(e.x,e.y),t.globalAlpha=e.opacity*e.ca,t.scale(i,i),t.translate(-n/2,-r/2),o(t),t.restore()}(Z.i.width,Z.i.height,(function(e){Z.u(e,V.ae)}))}},{Ra:[],na:function(e,t){return function(n,r){return e(n,r)||t(n,r)}}(f("labelPlainFill"),d(f("contentDecoration"),(function(){return V.xc}))),before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t,n){(0<e.opacity&&0<e.ca&&!e.open||!e.X)&&!e.aa.Ga()&&(e.Cc=e.oa&&e.oa.ka&&V.B*e.oa.fontSize*e.scale*n>=V.mh,"auto"===e.pd?!V.je&&e.description?e.fb=e.parent.fb:(t=(n=e.we).h+(n.s<<9)+(n.l<<16),e.hd!==t&&(n=c.T(n),e.fb=n>(0>e.ja?V.Bh:V.ah)?V.bh:V.lh,e.hd=t)):e.fb=e.pd)}},{Ra:["custom"],na:d(f("contentDecoration"),(function(){return V.xc})),before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t){!(0<e.opacity&&0<e.ca&&!e.open||!e.X)||e.Qb.Ga()||e.aa.Ga()||(e.Cc||void 0===e.oa?(t.globalAlpha=e.ca*(e.X?e.opacity:1)*(e.empty()?1:V.Ff),t.fillStyle=e.fb,t.strokeStyle=e.fb,e.Qb.Na(t)):r(e,t))}},{Ra:["label"],na:f("labelPlainFill"),before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t,n){e.Te&&e.Fc&&(0<e.opacity&&0<e.ca&&!e.open||!e.X)&&!e.aa.Ga()&&e.oa&&(t.fillStyle=e.fb,t.globalAlpha=e.ca*(e.X?e.opacity:1)*(e.empty()?1:V.Ff),e.Cc?$(e,t,n):r(e,t))}}].reverse())];this.M=function(){p=C((function(){return a.estimate()}),"CarrotSearchFoamTree",12096e5)({version:"3.5.0",build:"bugfix/3.5.x/e3b91c8e",brandingAllowed:!1}),U.M()},this.clear=function(){b.clearRect(0,0,B,D),w.clearRect(0,0,B,D)};var ne=!1,re=void 0;this.u=function(e){ne?re=e:e()},this.Nd=function(){function e(){window.clearTimeout(t),ne=!0,t=setTimeout((function(){if(ne=!1,function(){if(V.B!==V.nb)return!0;var e="polygonPlainFill polygonPlainStroke polygonGradientFill polygonGradientStroke labelPlainFill contentDecoration".split(" ");S.L(I,(function(t){if(t.W&&t.U)return e.push("polygonExposureShadow"),!1}));for(var t=e.length-1;0<=t;t--){var n=e[t];if(!!P[n]!=!!R[n])return!0}return!1}()){var e=!l();o(null,r.Y,w,e),y.defer((function(){oe.Ui(),re&&(re(),re=void 0)}))}else re&&(re(),re=void 0)}),Math.max(V.hj,3*n.Wf.sd,3*n.Wf.rd))}var t,r;return function(t){K(U);var n=null!==(r=u()).$f,i=0<E.$b("hifi"),a=i&&(n||!t);t=n||N||!t,N=!1,i&&!a&&oe.Vi(),o(r.$f,r.ag,a?w:b,t),S.za(I,(function(e){e.Z=!1,e.N=!1,e.Sa=!1})),a||e(),V.Af(n)}}(),this.i=function(e){e=e||{},K(U),I.N=!0;var t=u(),n=V.B;try{var r=y.I(e.pixelRatio,V.B);V.B=r;var a=E.dc("export",r,!0),s=a.getContext("2d");b===A&&(s=new i(s)),s.scale(r,r);var l=y.has(e,"backgroundColor");l&&(s.save(),s.fillStyle=e.backgroundColor,s.fillRect(0,0,B,D),s.restore()),o(l?[]:null,t.ag,s,!0)}finally{V.B=n}return a.toDataURL(y.I(e.format,"image/png"),y.I(e.quality,.8))};var oe=function(){function e(e,t,r,o,i,a){function s(e,t,n,r){return L.K.A({opacity:E.$b(e)}).fa({duration:n,P:{opacity:{end:t,easing:r}},ba:function(){E.$b(e,this.opacity)}}).done()}var u=y.od(E.$b(e),t),l=y.od(E.$b(o),i);if(!u||!l){for(var c=n.length-1;0<=c;c--)n[c].stop();return n=[],u||n.push(s(e,t,r,m.Gb)),l||n.push(s(o,i,a,m.Tf)),L.K.A({}).Qa(n).start()}}var t,n=[];return{Vi:function(){V.Zc?1!==g.style.opacity&&(g.style.visibility="visible",x.style.visibility="hidden",g.style.opacity=1,x.style.opacity=0):t&&t.xb()||(t=e("wireframe",1,V.se,"hifi",0,V.se))},Ui:function(){V.Zc?(x.style.visibility="visible",g.style.visibility="hidden",g.style.opacity=0,x.style.opacity=1):e("hifi",1,V.dg,"wireframe",0,V.dg)}}}();return K=function(e){e.apply()},W=function(e){e.fill()},Y=function(e){e.stroke()},this}function X(e){function t(e){void 0!==e.groupLabelFontFamily&&(o.fontFamily=e.groupLabelFontFamily),void 0!==e.groupLabelFontStyle&&(o.fontStyle=e.groupLabelFontStyle),void 0!==e.groupLabelFontVariant&&(o.fontVariant=e.groupLabelFontVariant),void 0!==e.groupLabelFontWeight&&(o.fontWeight=e.groupLabelFontWeight),void 0!==e.groupLabelLineHeight&&(o.lineHeight=e.groupLabelLineHeight),void 0!==e.groupLabelHorizontalPadding&&(o.cb=e.groupLabelHorizontalPadding),void 0!==e.groupLabelVerticalPadding&&(o.Ua=e.groupLabelVerticalPadding),void 0!==e.groupLabelMaxTotalHeight&&(o.ib=e.groupLabelMaxTotalHeight),void 0!==e.groupLabelMaxFontSize&&(o.hb=e.groupLabelMaxFontSize)}var n,r=e.options,o={},i={},a={groupLabel:""},s={};e.j.subscribe("api:initialized",(function(e){n=e})),e.j.subscribe("options:changed",t),t(e.Cd),this.i=function(e){if(!e.$)return!1;var t=e.group.label;return r.eh&&!e.attribution&&(a.labelText=t,n.nc(r.dh,e,a),t=a.labelText),e.Ue=t,e.qd!==t},this.u=function(e){var t=e.Ue;if(e.qd=t,e.Bc.clear(),e.oa=void 0,e.$&&!y.Ne(t)&&("flattened"!==r.mb||e.empty()||!e.R||!e.m[0].W)){var a=D,u=a.de;if(r.kh){s.fontFamily=o.fontFamily,s.fontStyle=o.fontStyle,s.fontVariant=o.fontVariant,s.fontWeight=o.fontWeight,s.lineHeight=o.lineHeight,s.horizontalPadding=o.cb,s.verticalPadding=o.Ua,s.maxTotalTextHeight=o.ib,s.maxFontSize=o.hb,n.nc(r.jh,e,s),i.fontFamily=s.fontFamily,i.fontStyle=s.fontStyle,i.fontVariant=s.fontVariant,i.fontWeight=s.fontWeight,i.lineHeight=s.lineHeight,i.cb=s.horizontalPadding,i.Ua=s.verticalPadding,i.ib=s.maxTotalTextHeight,i.hb=s.maxFontSize;var l=i}else l=o;e.oa=u.call(a,l,e.Bc,t,e.$,e.F,e.O,!1,!1,e.Mh,e.O.ha,r.nh,e.Ma)}e.Ma=!1},$=this.H=function(e,t){e.Bc.Na(t)}}function Q(e){function t(e,t){var n,r=e.m,o=r.length,a=i.O.r;for(n=0;n<o;n++){var s=r[n];s.tb=(180*(Math.atan2(s.x-e.x,s.y-e.y)+t)/Math.PI+180)/360,s.wc=Math.min(1,Math.sqrt(M.i(s,e))/a)}}function n(e,t){var n=(e=e.m).length;if(1===n||2===n&&e[0].description)e[0].tb=.5;else{var r=0,o=Number.MAX_VALUE,i=Math.sin(t),a=Math.cos(t);for(t=0;t<n;t++){var s=e[t],u=s.x*i+s.y*a;r<u&&(r=u),o>u&&(o=u),s.tb=u,s.wc=1}for(t=0;t<n;t++)(s=e[t]).tb=(s.tb-o)/(r-o)}}function r(e,t,n,r){return(t=t[r])+(n[r]-t)*e}var o,i,a={radial:t,linear:n},s=e.options,u={groupColor:null,labelColor:null};return e.j.subscribe("model:loaded",(function(e){i=e})),e.j.subscribe("api:initialized",(function(e){o=e})),this.M=function(){},this.apply=function(){function e(e,t,n,r){var o=l(e+n*r);return o+t*((e=l(e-n*(1-r)))-o)}function l(e){return 0>e?0:100<e?100:e}var h=a[s.vi]||t,f=n,d=s.Fi,p=s.yi,g=s.Ig,b=s.Jg,v=s.zi,m=s.Di;!function t(n){if(n.R&&n.xa){var i,a=n.m;if(n.Z||n.Fa||b){for(0===n.level?h(n,s.wi*Math.PI/180):f(n,s.Ai*Math.PI/180),i=a.length-1;0<=i;i--){var l=a[i];l.Fa=!0;var C=l.tb,A=l.ve;if(0===n.level)var x=r(C,d,p,"h"),w=(m+(1-m)*l.wc)*r(C,d,p,"s"),_=(1+(0>l.ja?v*(l.ja+1):v)*(1-l.wc))*r(C,d,p,"l"),S=r(C,d,p,"a");else x=(_=n.pa).h,w=_.s,_=e(_.l,C,s.Bi,s.Ci),S=n.ve.a;A.h=x,A.s=w,A.l=_,A.a=S,x=l.pa,l.attribution?(x.h=0,x.s=0,x.l="light"==s.ae?90:10,x.a=1):(x.h=A.h,x.s=A.s,x.l=A.l,x.a=A.a),b&&!l.attribution&&(u.groupColor=x,u.labelColor="auto",o.nc(g,l,u,(function(e){e.ratio=C})),l.pa=c.u(u.groupColor),l.pa.a=y.has(u.groupColor,"a")?u.groupColor.a:1,"auto"!==u.labelColor&&(l.pd=c.wa(u.labelColor)))}n.Fa=!1}for(i=a.length-1;0<=i;i--)t(a[i])}}(i)},this}function ee(){this.kc=this.Yd=this.hc=this.Vf=this.w=this.cg=this.weight=this.y=this.x=this.id=0,this.C=this.parent=this.m=null,this.F={x:0,y:0,w:0,o:0},this.J=null,this.qd=this.Ue=void 0,this.Sc=!1,this.wc=this.tb=0,this.ve={h:0,s:0,l:0,a:0,model:"hsla"},this.pa={h:0,s:0,l:0,a:0,model:"hsla"},this.we={h:0,s:0,l:0,model:"hsl"},this.hd=-1,this.pd="auto",this.fb="#000",this.Sf=this.level=this.nd=this.index=0,this.attribution=!1,this.ha=this.Ze=0,this.Y=!1,this.$=null,this.O={x:0,y:0,ha:0,r:0},this.Fd=this.G=null,this.Fc=this.W=this.Sa=this.oc=this.Vd=this.Dd=this.Ma=this.Fa=this.N=this.Z=this.Ea=this.xa=this.R=this.Ia=!1,this.saturation=this.va=this.Da=this.ca=this.opacity=this.scale=1,this.ra=0,this.Hd=1,this.Cb=this.ja=this.yb=0,this.description=this.selected=this.ub=this.Bd=this.open=this.U=!1,this.sb=0,this.Te=this.Ed=this.X=!0,this.oa=void 0,this.Cc=!1,this.Bc=new o,this.aa=new o,this.Qb=new o,this.Mh=D.Zh(),this.Ec=0,this.$c=1,this.Jc=-1,this.empty=function(){return!this.m||0===this.m.length};var e=[];this.mc=function(t){e.push(t)},this.Nc=function(t){y.If(e,t)};var t={scale:1};this.vd=function(){var n=!1;this.scale=1;for(var r=0;r<e.length;r++)n=e[r].Ve(this,t)||n,this.scale*=t.scale;return n},this.Ib=function(t){for(var n=0;n<e.length;n++)e[n].Ib(this,t)},this.transformPoint=function(t,n){for(n.x=t.x,n.y=t.y,t=0;t<e.length;t++)e[t].transformPoint(this,n,n);return n},this.Jb=function(t,n){for(n.x=t.x,n.y=t.y,t=0;t<e.length;t++)e[t].Jb(this,n,n);return n};var n=[];this.qb=function(e){n.push(e)},this.Mc=function(e){y.If(n,e)};var r={opacity:1,saturation:1,va:1,ca:1,Da:1};this.cc=function(){if(0!==n.length){this.Da=this.ca=this.va=this.saturation=this.opacity=1;for(var e=n.length-1;0<=e;e--)(0,n[e])(this,r),this.opacity*=r.opacity,this.va*=r.va,this.saturation*=r.saturation,this.ca*=r.ca,this.Da*=r.Da}}}function te(e,t){return t.weight>e.weight?1:t.weight<e.weight?-1:e.index-t.index}function ne(e){var t,n,r,o,i,a,s=this,u=e.options;e.j.subscribe("stage:initialized",(function(i,a,l,c){r=l,o=c,t=i.dc("titlebar",u.B,!1),(n=t.getContext("2d")).B=u.B,n.scale(n.B,n.B),e.j.D("titlebar:initialized",s)})),e.j.subscribe("stage:resized",(function(e,t,i,a){r=i,o=a,n.scale(n.B,n.B)})),e.j.subscribe("zoom:initialized",(function(e){a=e})),e.j.subscribe("api:initialized",(function(e){i=e})),e.j.subscribe("model:loaded",(function(){n.clearRect(0,0,r,o)})),this.update=function(e){if(n.clearRect(0,0,r,o),e){!e.empty()&&e.m[0].description&&(e=e.m[0]);var t=u.bj,s=u.aj,l=Math.min(o/2,u.Wd+2*t),c=l-2*t,h=r-2*s;if(!(0>=c||0>=h)){var f=e.Cc?e.oa.fontSize*e.scale*a.scale():0,d={titleBarText:e.qd,titleBarTextColor:u.Zf,titleBarBackgroundColor:u.Yf,titleBarMaxFontSize:u.Wd,titleBarShown:f<u.Sh};if(e.attribution)var p=w("B`ssnu!Rd`sbi!Gn`lUsdd!whrt`mh{`uhno/!Busm,bmhbj!uid!mnfn!un!fn!un!iuuqr;..b`ssnurd`sbi/bnl.gn`lusdd!gns!lnsd!edu`hmr/");else i.nc(u.Yi,e,d,(function(e){e.titleBarWidth=h,e.titleBarHeight=c,e.labelFontSize=f,e.viewportScale=a.scale()})),p=d.titleBarText;p&&0!==p.length&&d.titleBarShown&&(t={x:s,y:(e=a.Uc(e.transformPoint(e,{}),{}).y>o/2)?t:o-l+t,w:h,o:c},s=M.H(t),n.fillStyle=u.Yf,n.fillRect(0,e?0:o-l,r,l),n.fillStyle=u.Zf,D.re({fontFamily:u.Zi||u.fh,fontStyle:u.Aj||u.gh,fontWeight:u.Cj||u.ih,fontVariant:u.Bj||u.hh,hb:u.Wd,Gc:u.$i,cb:0,Ua:0,ib:1},n,p,s,t,{x:t.x+t.w/2,y:t.y+t.o/2},!0,!0).ka||n.clearRect(0,0,r,o))}}}}function re(e){function t(e,t,n){return C=!0,u&&u.stop(),c&&c.stop(),a(p.reset(e),t,n).then((function(){C=!1}))}function n(t){p.update(t),f.N=!0,e.j.D("foamtree:dirty",!0)}function r(e,t){return p.i((0!==p.u()?.35:1)*e,(0!==p.H()?.35:1)*t)}function o(){if(1===g.ratio){var e=Math.round(1e4*p.u())/1e4;0!==e&&(b.Id=e,u=d.K.jc(b).fa({duration:500,P:{x:{start:e,end:0,easing:m.Gb}},ba:function(){p.i(b.x-b.Id,0),n(1),b.Id=b.x}}).start())}}function i(){if(1===g.ratio){var e=Math.round(1e4*p.H())/1e4;0!==e&&(v.Jd=e,c=d.K.jc(v).fa({duration:500,P:{y:{start:e,end:0,easing:m.Gb}},ba:function(){p.i(0,v.y-v.Jd),n(1),v.Jd=v.y}}).start())}}function a(e,t,r){return e?d.K.jc(g).fa({duration:void 0===t?700:t,P:{ratio:{start:0,end:1,easing:r||m.Uf}},ba:function(){n(g.ratio)}}).Ta():(new h).resolve().promise()}function s(e){return function(){return C?(new h).resolve().promise():e.apply(this,arguments)}}var u,c,f,d,p=new l(e),g={ratio:1},b={ke:0,x:0,Id:0},v={le:0,y:0,Jd:0},y=this,C=!1;e.j.subscribe("model:loaded",(function(e){f=e,p.reset(!1),p.update(1)})),e.j.subscribe("timeline:initialized",(function(e){d=e})),this.M=function(){e.j.D("zoom:initialized",this)},this.reset=function(e,n){return p.Fb(1),t(!0,e,n)},this.normalize=s((function(e,n){p.pc(1)?t(!1,e,n):y.$e()})),this.$e=function(){o(),i()},this.bg=s((function(e,t,n,r){return y.ic(e.F,t,n,r)})),this.Nb=s((function(e,t,n,r){return a(p.Nb(e,t),n,r)})),this.ic=s((function(e,t,n,r){return a(p.ic(e,t),n,r)})),this.cj=s((function(e,t){p.ic(e,t)&&n(1)})),this.Uh=s((function(e,t){1===g.ratio&&r(e,t)&&n(1)})),this.qg=s((function(e,t){p.Nb(e,t)&&n(1)})),this.pg=s((function(e,t,o,i){e=0|p.Nb(e,t),(e|=r(o,i))&&n(1)})),this.Vh=s((function(e,t,a){1===g.ratio&&(u=d.K.jc(b).fa({duration:e/.03,P:{ke:{start:t,end:0,easing:m.Gb}},ba:function(){p.i(b.ke,0)&&n(1),o()}}).start(),c=d.K.jc(v).fa({duration:e/.03,P:{le:{start:a,end:0,easing:m.Gb}},ba:function(){r(0,v.le)&&n(1),i()}}).start())})),this.Wh=function(){u&&0===p.u()&&u.stop(),c&&0===p.H()&&c.stop()},this.rc=function(e,t){p.rc(e,t)},this.Fb=function(e){return p.Fb(e)},this.pc=function(e){return p.pc(e)},this.zd=function(){return p.zd()},this.absolute=function(e,t){return p.absolute(e,t)},this.Uc=function(e,t){return p.Uc(e,t)},this.scale=function(){return p.scale()},this.i=function(e){return p.T(e)},this.content=function(e,t,n,r){p.content(e,t,n,r)}}function oe(t,o,i){function a(e){var t=[];return S.L(v,(function(n){e(n)&&t.push(n.group)})),{groups:t}}function s(e,t){var n=A.options,r=n.Mi,o=n.Li;n=n.Od;var i=0<r+o?n:0,a=[];return B.u(e,B.i(e,A.options.Qd),(function(e,n,s){n="groups"===A.options.Pd?s:n,e.m&&(e=T.K.A(e).wait(i*(o+r*n)).call(t).done(),a.push(e))})),T.K.A({}).Qa(a).Ta()}function l(e){ce||(ce=!0,w.once((function(){ce=!1,A.j.D("repaint:before"),H.Nd(this.og)}),{og:e}))}function c(e){function t(e,o){var i=e.W;if(e.W=o<=n,e.Fc=o<=r,e.W!==i&&S.me(e,(function(e){e.Vd=!0})),e.open||e.Va||o++,e=e.m)for(i=0;i<e.length;i++)t(e[i],o)}var n=A.options.We,r=Math.min(A.options.We,A.options.Ph);if(e)for(var o=0;o<e.length;o++){var i=e[o];t(i,b(i))}else t(v,0)}function p(e,t){var n=[];for((e=g(e,t)).Th&&A.j.D("model:childrenAttached",S.uc(v)),e.Gi&&I.complete((function(e){ue.eb(e),n.push(e)})),t=e=0;t<n.length;t++){var r=n[t];r.m&&(e+=r.m.length),r.xa=!0,W.i(r)}return e}function g(e,t){function n(e,t){var n=!e.attribution&&t-(e.Va?1:0)<i;s=s||n,e.Ia=e.Ia||n,e.open||e.Va||t++;var o=e.m;if(!o&&n&&(a=L.T(e)||a,o=e.m,u&&(e.Ma=!0)),o)for(e=0;e<o.length;e++)r.push(o[e],t)}var r,i=t||A.options.Qh,a=!1,s=!1,u="flattened"===o.mb;for(r=e?e.reduce((function(e,t){return e.push(t,1),e}),[]):[v,1];0<r.length;)n(r.shift(),r.shift());return{Th:a,Gi:s}}function b(e){for(var t=0;e.parent;)e.open||e.Va||t++,e=e.parent;return t}var v,C=this,A={j:new x,options:o,Cd:i},w=new r,T=new _(w),k=n.create(),z=new u(A),D=new re(A),E=new j(A),L=new O(A.options),I=new U(A),H=new J(A,w),V=new G(A);new ne(A);var q=new N(A),W=new P(A),Y=new F(A),K=new R(A);A.j.subscribe("stage:initialized",(function(e,t,n,r){oe.Le(n,r)})),A.j.subscribe("stage:resized",(function(e,t,n,r){oe.Ki(e,t,n,r)})),A.j.subscribe("foamtree:attachChildren",p),A.j.subscribe("openclose:changing",c),A.j.subscribe("interaction:reset",(function(){le(!0)})),A.j.subscribe("foamtree:dirty",l),this.M=function(){A.j.D("timeline:initialized",T),v=L.M(),z.M(t),E.M(),H.M(),V.M(),q.M(),W.M(),D.M(),Y.M(),K.M()},this.Za=function(){T.i(),se.stop(),w.i(),z.Za()};var $="groupLabelFontFamily groupLabelFontStyle groupLabelFontVariant groupLabelFontWeight groupLabelLineHeight groupLabelHorizontalPadding groupLabelVerticalPadding groupLabelDottingThreshold groupLabelMaxTotalHeight groupLabelMinFontSize groupLabelMaxFontSize groupLabelDecorator".split(" "),Z="rainbowColorDistribution rainbowLightnessDistribution rainbowColorDistributionAngle rainbowLightnessDistributionAngle rainbowColorModelStartPoint rainbowLightnessCorrection rainbowSaturationCorrection rainbowStartColor rainbowEndColor rainbowHueShift rainbowHueShiftCenter rainbowSaturationShift rainbowSaturationShiftCenter rainbowLightnessShift rainbowLightnessShiftCenter attributionTheme".split(" "),X=!1,Q=["groupBorderRadius","groupBorderRadiusCorrection","groupBorderWidth","groupInsetWidth","groupBorderWidthScaling"],ee=["maxGroupLevelsDrawn","maxGroupLabelLevelsDrawn"];this.hg=function(e){A.j.D("options:changed",e),y.bb(e,$)&&S.L(v,(function(e){e.Ma=!0})),y.bb(e,Z)&&(v.Fa=!0),y.bb(e,Q)&&(X=!0),y.bb(e,ee)&&(c(),p())},this.reload=function(){ie.reload()},this.ig=function(e,t){y.defer((function(){if(X)oe.Nh(e),X=!1;else{if(t)for(var n=L.u(t),r=n.length-1;0<=r;r--)n[r].N=!0;else v.N=!0;l(e)}}))},this.ga=function(){z.u()},this.update=function(e){var t=(e=e?L.u(e):[v]).reduce((function(e,t){return e[t.id]=t,e}),{});e=e.filter((function(e){for(e=e.parent;e;){if(y.has(t,e.id))return!1;e=e.parent}return!0})),L.update(e),oe.dj(e)},this.reset=function(){return le(!1)},this.T=H.i,this.Ja=function(){var e={};return function(t,n){return(t=L.i(t))?E.Wc(e,t,n):null}}(),this.wa=function(){var e={x:0,y:0},t={x:0,y:0};return function(n,r){return(n=L.i(n))?(e.x=r.x,e.y=r.y,n.transformPoint(e,e),D.Uc(e,e),t.x=e.x,t.y=e.y,t):null}}(),this.sa=function(){var e={};return function(t){return(t=L.i(t))?E.Yc(e,t):null}}(),this.gg=function(){var e={};return function(t){return(t=L.i(t))?E.Xc(e,t):null}}(),this.ta=function(){var e={};return function(){return D.i(e)}}(),this.kg=function(){this.H({groups:a((function(e){return e.group.selected})),newState:!0,keepPrevious:!1}),this.u({groups:a((function(e){return e.group.open})),newState:!0,keepPrevious:!1}),this.i({groups:a((function(e){return e.group.exposed})),newState:!0,keepPrevious:!1})},this.Ka=function(){return a((function(e){return e.U}))},this.i=function(e){return ie.submit((function(){return q.Vb(L.H(e,"exposed",!1),!1,!0,!1)}))},this.pb=function(){return a((function(e){return e.open}))},this.u=function(e){return ie.submit((function(){return Y.Bb(L.H(e,"open",!0),!1,!1)}))},this.Lb=function(){return a((function(e){return e.selected}))},this.H=function(e){return ie.submit((function(){return K.select(L.H(e,"selected",!0),!1),(new h).resolve().promise()}))},this.mg=function(e){return(e=L.i(e))?e===v?D.reset(o.ob,m.ia(o.Kb)):D.bg(e,o.Yb,o.ob,m.ia(o.Kb)):(new h).resolve().promise()},this.ua=function(e,t){return(e=L.u(e))?(t=p(e,t),c(e),t):0},this.Vc=function(e){return V.Lb[e]},this.lg=function(){var t=e;return{frames:t.frames,totalTime:t.totalTime,lastFrameTime:t.rd,lastInterFrameTime:t.sd,fps:t.ue}};var te,oe=function(){function e(e,i){var a=e||n,s=i||r;n=a,r=s,(e=o.Rb&&o.Rb.boundary)&&2<e.length?v.C=e.map((function(e){return{x:a*e.x,y:s*e.y}})):v.C=[{x:0,y:0},{x:a,y:0},{x:a,y:s},{x:0,y:s}],t()}function t(){v.Z=!0,v.G=v.C,v.F=M.F(v.C,v.F),v.O=v,M.Ja(v.C,v.O)}var n,r;return{Le:e,Ki:function(t,n,r,o){ue.stop();var i=r/t,a=o/n;S.ne(v,(function(e){e.x=e.x*i+(Math.random()-.5)*r/1e3,e.y=e.y*a+(Math.random()-.5)*o/1e3})),e(r,o),v.Ea=!0,I.step(ue.eb,!0,!1,(function(e){var t=e.m;if(t){I.Eb(e);for(var n=t.length-1;0<=n;n--){var r=t[n];r.w=r.hc}e.Ea=!0}}))?l(!1):(I.fc(v),A.options.Md?(l(!1),se.Jf(),se.Oc()):(I.complete(ue.eb),v.Fa=!0,l(!1)))},Nh:function(e){var n=!1;return v.empty()||(t(),se.xb()||(n=I.step(ue.eb,!1,!1),l(e))),n},dj:function(e){e.forEach((function(e){S.za(e,(function(e){e.empty()||I.Eb(e)})),I.fc(e),A.options.Md?(se.Jf(),S.za(e,(function(e){e.empty()||ue.grow(e)}))):(S.za(e,(function(e){e.empty()||ue.eb(e)})),I.complete(ue.eb),e.Fa=!0,l(!1))}))}}}(),ie=function(){function e(){if(0===o.Gd&&D.reset(0),A.options.zf(o.Rb),oe.Le(),L.load(o.Rb),g(),c(),A.j.D("model:loaded",v,S.uc(v)),!v.empty()){if(v.open=!0,v.Ia=!0,o.Md)var e=se.Oc();else se.Yh(),e=function(){S.za(v,(function(e){e.xa=!1}));var e=new h,t=new d(e.resolve);return t.i(),v.xa=!0,W.i(v).then(t.u),s(v,(function e(){this.R&&this.C&&(this.Z=this.xa=!0,t.i(),W.i(this).then(t.u),t.i(),s(this,e).then(t.u))})),e.promise()}();!function(){var e=o.Oa,t=o.Kc;o.Oa=0,o.Kc=0,C.kg(),o.Oa=e,o.Kc=t}(),0<o.Od?(H.clear(),z.i(1)):e=f([e,t(1)])}A.options.yf(o.Rb),e&&(A.options.Cf(),e.then((function(){H.u((function(){w.once(A.options.Bf)}))})))}function t(e,t){return 0===o.qe||t?(z.i(e),(new h).resolve().promise()):T.K.A({opacity:z.i()}).Xd(2).fa({duration:o.qe,P:{opacity:{end:e,easing:m.ia(o.Cg)}},ba:function(){z.i(this.opacity)}}).Ta()}function n(){for(var e=0;e<i.length;e++){var t=i[e],n=t.action();y.has(n,"then")?n.then(t.ge.resolve):t.ge.resolve()}i=[]}var r=!1,i=[];return{reload:function(){r||(v.empty()?e():(ue.stop(),T.i(),se.stop(),r=!0,f(0<o.Gd?[W.u(),le(!1)]:[t(0)]).then((function(){t(0,!0),r=!1,e(),y.defer(n)}))))},submit:function(e){if(r){var t=new h;return i.push({action:e,ge:t}),t.promise()}return e()}}}(),ae=new d((function(){te.resolve()})),se=function(){function e(){return i||(ae.initial()&&(te=new h),ae.i(),t(),i=!0,w.repeat(n)),te.promise()}function t(){r=k.now()}function n(){var t=k.now()-r>o.Ji;return t=I.step((function(t){t.xa=!0,ue.grow(t),ae.i(),W.i(t).then(ae.u),ae.i(),s(t,(function(){this.Ia=!0,e()})).then(ae.u)}),!0,t)||t,l(!0),t&&(i=!1,ae.u()),t}var r,i=!1;return{Yh:function(){I.complete(ue.eb)},Oc:e,Jf:t,xb:function(){return!ae.initial()},stop:function(){w.cancel(n),i=!1,ae.clear()}}}(),ue=function(){function e(e){var t=!e.empty();if(e.xa=!0,t){for(var n=e.m,r=n.length-1;0<=r;r--){var o=n[r];o.w=o.hc}e.Ea=!0}return t}var t=[];return{grow:function(n){var r=A.options,o=r.Wg;0<o?B.u(n,B.i(n,A.options.Qd),(function(e,n,i){n="groups"===A.options.Pd?i:n,ae.i(),t.push(T.K.A(e).wait(n*r.Vg*o).fa({duration:o,P:{w:{start:e.Vf,end:e.hc,easing:m.ia(r.Xg)}},ba:function(){this.w=Math.max(0,this.w),this.parent.Ea=!0,se.Oc()}}).Xa(ae.u).start())})):e(n)&&se.Oc()},eb:e,stop:function(){for(var e=t.length-1;0<=e;e--)t[e].stop();t=[]}}}(),le=function(){var e=!1;return function(t){if(e)return(new h).resolve().promise();e=!0;var n=[];n.push(D.reset(o.ob,m.ia(o.Kb)));var r=new h;return q.Vb({m:[],Ca:!1,Ba:!1},t,!1,!0).then((function(){Y.Bb({m:[],Ca:!1,Ba:!1},t,!1).then(r.resolve)})),n.push(r.promise()),f(n).then((function(){e=!1,t&&o.Df()}))}}(),ce=!1}function ie(){return{version:"3.5.0",build:"bugfix/3.5.x/e3b91c8e",brandingAllowed:!1}}Z.i={width:445.2,height:533.5},t.md((function(){window.CarrotSearchFoamTree=function(e){function t(e){function t(e,t){return y.has(n,e)?(t(n[e]),delete n[e],1):0}if(0===arguments.length)return 0;if(1===arguments.length)var n=y.extend({},arguments[0]);else 2===arguments.length&&((n={})[arguments[0]]=arguments[1]);a&&a.validate(n,u.Oh);var o=0;l&&(o+=t("selection",l.H),o+=t("open",l.u),o+=t("exposure",l.i));var i={};return y.Aa(n,(function(e,t){(s[t]!==e||y.wb(e))&&(i[t]=e,o++),s[t]=e})),0<o&&r(i),o}function n(e,t){e="on"+e.charAt(0).toUpperCase()+e.slice(1);var n=s[e];s[e]=t(Array.isArray(n)?n:[n]),(t={})[e]=s[e],r(t)}function r(e){!function(){function t(t,n){return y.has(e,t)||void 0===n?A(s[t],i):n}u.Oh=s.logging,u.Rb=s.dataObject,u.B=s.pixelRatio,u.nb=s.wireframePixelRatio,u.mb=s.stacking,u.zg=s.descriptionGroup,u.Tb=s.descriptionGroupType,u.qc=s.descriptionGroupPosition,u.Ag=s.descriptionGroupDistanceFromCenter,u.Sb=s.descriptionGroupSize,u.ie=s.descriptionGroupMinHeight,u.he=s.descriptionGroupMaxHeight,u.je=s.descriptionGroupPolygonDrawn,u.Dc=s.layout,u.ac=s.layoutByWeightOrder,u.Wi=s.showZeroWeightGroups,u.Be=s.groupMinDiameter,u.Ld=s.rectangleAspectRatioPreference,u.Ii=s.initializer||s.relaxationInitializer,u.Ji=s.relaxationMaxDuration,u.Md=s.relaxationVisible,u.Hf=s.relaxationQualityThreshold,u.oh=s.groupResizingBudget,u.Wg=s.groupGrowingDuration,u.Vg=s.groupGrowingDrag,u.Xg=s.groupGrowingEasing,u.Gg=s.groupBorderRadius,u.$a=s.groupBorderWidth,u.La=s.groupBorderWidthScaling,u.jd=s.groupInsetWidth,u.Hg=s.groupBorderRadiusCorrection,u.ab=s.groupStrokeWidth,u.yc=s.groupSelectionOutlineWidth,u.sh=s.groupSelectionOutlineColor,u.kd=s.groupSelectionOutlineShadowSize,u.Ce=s.groupSelectionOutlineShadowColor,u.ph=s.groupSelectionFillHueShift,u.rh=s.groupSelectionFillSaturationShift,u.qh=s.groupSelectionFillLightnessShift,u.Ee=s.groupSelectionStrokeHueShift,u.Ge=s.groupSelectionStrokeSaturationShift,u.Fe=s.groupSelectionStrokeLightnessShift,u.Ug=s.groupFillType,u.Qg=s.groupFillGradientRadius,u.Ng=s.groupFillGradientCenterHueShift,u.Pg=s.groupFillGradientCenterSaturationShift,u.Og=s.groupFillGradientCenterLightnessShift,u.Rg=s.groupFillGradientRimHueShift,u.Tg=s.groupFillGradientRimSaturationShift,u.Sg=s.groupFillGradientRimLightnessShift,u.ld=s.groupStrokeType,u.ab=s.groupStrokeWidth,u.He=s.groupStrokePlainHueShift,u.Je=s.groupStrokePlainSaturationShift,u.Ie=s.groupStrokePlainLightnessShift,u.xh=s.groupStrokeGradientRadius,u.th=s.groupStrokeGradientAngle,u.yh=s.groupStrokeGradientUpperHueShift,u.Ah=s.groupStrokeGradientUpperSaturationShift,u.zh=s.groupStrokeGradientUpperLightnessShift,u.uh=s.groupStrokeGradientLowerHueShift,u.wh=s.groupStrokeGradientLowerSaturationShift,u.vh=s.groupStrokeGradientLowerLightnessShift,u.Yg=s.groupHoverFillHueShift,u.$g=s.groupHoverFillSaturationShift,u.Zg=s.groupHoverFillLightnessShift,u.ye=s.groupHoverStrokeHueShift,u.Ae=s.groupHoverStrokeSaturationShift,u.ze=s.groupHoverStrokeLightnessShift,u.Pa=s.groupExposureScale,u.Mg=s.groupExposureShadowColor,u.xe=s.groupExposureShadowSize,u.Yb=s.groupExposureZoomMargin,u.Ch=s.groupUnexposureLightnessShift,u.Dh=s.groupUnexposureSaturationShift,u.Bh=s.groupUnexposureLabelColorThreshold,u.Oa=s.exposeDuration,u.Wb=s.exposeEasing,u.Kc=s.openCloseDuration,u.Ig=A(s.groupColorDecorator,i),u.Jg=s.groupColorDecorator!==y.qa,u.dh=A(s.groupLabelDecorator,i),u.eh=s.groupLabelDecorator!==y.qa,u.jh=A(s.groupLabelLayoutDecorator,i),u.kh=s.groupLabelLayoutDecorator!==y.qa,u.Kg=A(s.groupContentDecorator,i),u.xc=s.groupContentDecorator!==y.qa,u.Lg=s.groupContentDecoratorTriggering,u.Ei=s.rainbowStartColor,u.xi=s.rainbowEndColor,u.vi=s.rainbowColorDistribution,u.wi=s.rainbowColorDistributionAngle,u.Ai=s.rainbowLightnessDistributionAngle,u.Bi=s.rainbowLightnessShift,u.Ci=s.rainbowLightnessShiftCenter,u.Di=s.rainbowSaturationCorrection,u.zi=s.rainbowLightnessCorrection,u.Ef=s.parentFillOpacity,u.Xh=s.parentStrokeOpacity,u.Ff=s.parentLabelOpacity,u.Gf=s.parentOpacityBalancing,u.nh=s.groupLabelUpdateThreshold,u.fh=s.groupLabelFontFamily,u.gh=s.groupLabelFontStyle,u.hh=s.groupLabelFontVariant,u.ih=s.groupLabelFontWeight,u.mh=s.groupLabelMinFontSize,u.sj=s.groupLabelMaxFontSize,u.rj=s.groupLabelLineHeight,u.qj=s.groupLabelHorizontalPadding,u.uj=s.groupLabelVerticalPadding,u.tj=s.groupLabelMaxTotalHeight,u.bh=s.groupLabelDarkColor,u.lh=s.groupLabelLightColor,u.ah=s.groupLabelColorThreshold,u.fj=s.wireframeDrawMaxDuration,u.gj=s.wireframeLabelDrawing,u.ej=s.wireframeContentDecorationDrawing,u.dg=s.wireframeToFinalFadeDuration,u.hj=s.wireframeToFinalFadeDelay,u.Dg=s.finalCompleteDrawMaxDuration,u.Eg=s.finalIncrementalDrawMaxDuration,u.se=s.finalToWireframeFadeDuration,u.Zc=s.androidStockBrowserWorkaround,u.Ke=s.incrementalDraw,u.Rh=s.maxGroups,u.Qh=s.maxGroupLevelsAttached,u.We=s.maxGroupLevelsDrawn,u.Ph=s.maxGroupLabelLevelsDrawn,u.Qd=s.rolloutStartPoint,u.Pd=s.rolloutMethod,u.Ni=s.rolloutEasing,u.Od=s.rolloutDuration,u.Lf=s.rolloutScalingStrength,u.Nf=s.rolloutTranslationXStrength,u.Of=s.rolloutTranslationYStrength,u.Kf=s.rolloutRotationStrength,u.Mf=s.rolloutTransformationCenter,u.Ri=s.rolloutPolygonDrag,u.Si=s.rolloutPolygonDuration,u.Oi=s.rolloutLabelDelay,u.Pi=s.rolloutLabelDrag,u.Qi=s.rolloutLabelDuration,u.Mi=s.rolloutChildGroupsDrag,u.Li=s.rolloutChildGroupsDelay,u.ni=s.pullbackStartPoint,u.hi=s.pullbackMethod,u.di=s.pullbackEasing,u.yj=s.pullbackType,u.Gd=s.pullbackDuration,u.mi=s.pullbackScalingStrength,u.pi=s.pullbackTranslationXStrength,u.ri=s.pullbackTranslationYStrength,u.li=s.pullbackRotationStrength,u.oi=s.pullbackTransformationCenter,u.ii=s.pullbackPolygonDelay,u.ji=s.pullbackPolygonDrag,u.ki=s.pullbackPolygonDuration,u.ei=s.pullbackLabelDelay,u.fi=s.pullbackLabelDrag,u.gi=s.pullbackLabelDuration,u.ai=s.pullbackChildGroupsDelay,u.bi=s.pullbackChildGroupsDrag,u.ci=s.pullbackChildGroupsDuration,u.qe=s.fadeDuration,u.Cg=s.fadeEasing,u.ij=s.zoomMouseWheelFactor,u.ob=s.zoomMouseWheelDuration,u.Kb=s.zoomMouseWheelEasing,u.Sh=s.maxLabelSizeForTitleBar,u.Zi=s.titleBarFontFamily,u.Yf=s.titleBarBackgroundColor,u.Zf=s.titleBarTextColor,u.$i=s.titleBarMinFontSize,u.Wd=s.titleBarMaxFontSize,u.aj=s.titleBarTextPaddingLeftRight,u.bj=s.titleBarTextPaddingTopBottom,u.Yi=s.titleBarDecorator,u.mj=s.attributionText,u.jj=s.attributionLogo,u.lj=s.attributionLogoScale,u.nj=s.attributionUrl,u.$d=s.attributionPosition,u.rg=s.attributionDistanceFromCenter,u.sg=s.attributionWeight,u.ae=s.attributionTheme,u.Me=s.interactionHandler,u.zf=t("onModelChanging",u.zf),u.yf=t("onModelChanged",u.yf),u.Af=t("onRedraw",u.Af),u.Cf=t("onRolloutStart",u.Cf),u.Bf=t("onRolloutComplete",u.Bf),u.Ad=t("onRelaxationStep",u.Ad),u.Df=t("onViewReset",u.Df),u.rf=t("onGroupOpenOrCloseChanging",u.rf),u.qf=t("onGroupOpenOrCloseChanged",u.qf),u.hf=t("onGroupExposureChanging",u.hf),u.gf=t("onGroupExposureChanged",u.gf),u.tf=t("onGroupSelectionChanging",u.tf),u.sf=t("onGroupSelectionChanged",u.sf),u.kf=t("onGroupHover",u.kf),u.mf=t("onGroupMouseMove",u.mf),u.bf=t("onGroupClick",u.bf),u.cf=t("onGroupDoubleClick",u.cf),u.jf=t("onGroupHold",u.jf),u.pf=t("onGroupMouseWheel",u.pf),u.nf=t("onGroupMouseUp",u.nf),u.lf=t("onGroupMouseDown",u.lf),u.ff=t("onGroupDragStart",u.ff),u.df=t("onGroupDrag",u.df),u.ef=t("onGroupDragEnd",u.ef),u.wf=t("onGroupTransformStart",u.wf),u.uf=t("onGroupTransform",u.uf),u.vf=t("onGroupTransformEnd",u.vf),u.xf=t("onKeyUp",u.xf)}(),u.Fi=c.u(u.Ei),u.yi=c.u(u.xi),u.De=c.u(u.Ce),u.kj=null,l&&(l.hg(e),y.has(e,"dataObject")&&l.reload())}function o(e){return function(){return e.apply(this,arguments).Fg(i)}}var i=this,a=window.CarrotSearchFoamTree.asserts,s=y.extend({},window.CarrotSearchFoamTree.defaults),u={};t(e),(e=s.element||document.getElementById(s.id))||L.i("Element to embed FoamTree in not found."),s.element=e;var l=new oe(e,u,s);l.M();var h={get:function(e){return 0===arguments.length?y.extend({},s):function(e,t){if(!a||a.exists(e))switch(e){case"selection":return l.Lb();case"open":return l.pb();case"exposure":return l.Ka();case"state":return l.sa.apply(this,t);case"geometry":return l.Ja.apply(this,t);case"hierarchy":return l.gg.apply(this,t);case"containerCoordinates":return l.wa.apply(this,t);case"imageData":return l.T.apply(this,t);case"viewport":return l.ta();case"times":return l.lg();case"onModelChanged":case"onRedraw":case"onRolloutStart":case"onRolloutComplete":case"onRelaxationStep":case"onGroupHover":case"onGroupOpenOrCloseChanging":case"onGroupExposureChanging":case"onGroupSelectionChanging":case"onGroupSelectionChanged":case"onGroupClick":case"onGroupDoubleClick":case"onGroupHold":return e=s[e],Array.isArray(e)?e:[e];default:return s[e]}}(arguments[0],Array.prototype.slice.call(arguments,1))},set:t,on:function(e,t){n(e,(function(e){return e.push(t),e}))},off:function(e,t){n(e,(function(e){return e.filter((function(e){return e!==t}))}))},resize:l.ga,redraw:l.ig,update:l.update,attach:l.ua,select:o(l.H),expose:o(l.i),open:o(l.u),reset:o(l.reset),zoom:o(l.mg),trigger:function(e,t){(e=l.Vc(e))&&e(t)},dispose:function(){function e(){throw"FoamTree instance disposed"}l.Za(),y.Aa(h,(function(t,n){"dispose"!==n&&(i[n]=e)}))}};y.Aa(h,(function(e,t){i[t]=e})),l.reload()},window["CarrotSearchFoamTree.asserts"]&&(window.CarrotSearchFoamTree.asserts=window["CarrotSearchFoamTree.asserts"],delete window["CarrotSearchFoamTree.asserts"]),window.CarrotSearchFoamTree.supported=!0,window.CarrotSearchFoamTree.version=ie,window.CarrotSearchFoamTree.defaults=Object.freeze({id:void 0,element:void 0,logging:!1,dataObject:void 0,pixelRatio:1,wireframePixelRatio:1,layout:"relaxed",layoutByWeightOrder:!0,showZeroWeightGroups:!0,groupMinDiameter:10,rectangleAspectRatioPreference:-1,relaxationInitializer:"fisheye",relaxationMaxDuration:3e3,relaxationVisible:!1,relaxationQualityThreshold:1,stacking:"hierarchical",descriptionGroup:"auto",descriptionGroupType:"stab",descriptionGroupPosition:225,descriptionGroupDistanceFromCenter:1,descriptionGroupSize:.125,descriptionGroupMinHeight:35,descriptionGroupMaxHeight:.5,descriptionGroupPolygonDrawn:!1,maxGroups:5e4,maxGroupLevelsAttached:4,maxGroupLevelsDrawn:4,maxGroupLabelLevelsDrawn:3,groupGrowingDuration:0,groupGrowingEasing:"bounce",groupGrowingDrag:0,groupResizingBudget:2,groupBorderRadius:.15,groupBorderWidth:4,groupBorderWidthScaling:.6,groupInsetWidth:6,groupBorderRadiusCorrection:1,groupSelectionOutlineWidth:5,groupSelectionOutlineColor:"#222",groupSelectionOutlineShadowSize:0,groupSelectionOutlineShadowColor:"#fff",groupSelectionFillHueShift:0,groupSelectionFillSaturationShift:0,groupSelectionFillLightnessShift:0,groupSelectionStrokeHueShift:0,groupSelectionStrokeSaturationShift:0,groupSelectionStrokeLightnessShift:-10,groupFillType:"gradient",groupFillGradientRadius:1,groupFillGradientCenterHueShift:0,groupFillGradientCenterSaturationShift:0,groupFillGradientCenterLightnessShift:20,groupFillGradientRimHueShift:0,groupFillGradientRimSaturationShift:0,groupFillGradientRimLightnessShift:-5,groupStrokeType:"plain",groupStrokeWidth:1.5,groupStrokePlainHueShift:0,groupStrokePlainSaturationShift:0,groupStrokePlainLightnessShift:-10,groupStrokeGradientRadius:1,groupStrokeGradientAngle:45,groupStrokeGradientUpperHueShift:0,groupStrokeGradientUpperSaturationShift:0,groupStrokeGradientUpperLightnessShift:20,groupStrokeGradientLowerHueShift:0,groupStrokeGradientLowerSaturationShift:0,groupStrokeGradientLowerLightnessShift:-20,groupHoverFillHueShift:0,groupHoverFillSaturationShift:0,groupHoverFillLightnessShift:20,groupHoverStrokeHueShift:0,groupHoverStrokeSaturationShift:0,groupHoverStrokeLightnessShift:-10,groupExposureScale:1.15,groupExposureShadowColor:"rgba(0, 0, 0, 0.5)",groupExposureShadowSize:50,groupExposureZoomMargin:.1,groupUnexposureLightnessShift:65,groupUnexposureSaturationShift:-65,groupUnexposureLabelColorThreshold:.35,exposeDuration:700,exposeEasing:"squareInOut",groupColorDecorator:y.qa,groupLabelDecorator:y.qa,groupLabelLayoutDecorator:y.qa,groupContentDecorator:y.qa,groupContentDecoratorTriggering:"onLayoutDirty",openCloseDuration:500,rainbowColorDistribution:"radial",rainbowColorDistributionAngle:-45,rainbowLightnessDistributionAngle:45,rainbowSaturationCorrection:.1,rainbowLightnessCorrection:.4,rainbowStartColor:"hsla(0, 100%, 55%, 1)",rainbowEndColor:"hsla(359, 100%, 55%, 1)",rainbowLightnessShift:30,rainbowLightnessShiftCenter:.4,parentFillOpacity:.7,parentStrokeOpacity:1,parentLabelOpacity:1,parentOpacityBalancing:!0,wireframeDrawMaxDuration:15,wireframeLabelDrawing:"auto",wireframeContentDecorationDrawing:"auto",wireframeToFinalFadeDuration:500,wireframeToFinalFadeDelay:300,finalCompleteDrawMaxDuration:80,finalIncrementalDrawMaxDuration:100,finalToWireframeFadeDuration:200,androidStockBrowserWorkaround:!1,incrementalDraw:"fast",groupLabelFontFamily:"sans-serif",groupLabelFontStyle:"normal",groupLabelFontWeight:"normal",groupLabelFontVariant:"normal",groupLabelLineHeight:1.05,groupLabelHorizontalPadding:1,groupLabelVerticalPadding:1,groupLabelMinFontSize:6,groupLabelMaxFontSize:160,groupLabelMaxTotalHeight:.9,groupLabelUpdateThreshold:.05,groupLabelDarkColor:"#000",groupLabelLightColor:"#fff",groupLabelColorThreshold:.35,rolloutStartPoint:"center",rolloutEasing:"squareOut",rolloutMethod:"groups",rolloutDuration:2e3,rolloutScalingStrength:-.7,rolloutTranslationXStrength:0,rolloutTranslationYStrength:0,rolloutRotationStrength:-.7,rolloutTransformationCenter:.7,rolloutPolygonDrag:.1,rolloutPolygonDuration:.5,rolloutLabelDelay:.8,rolloutLabelDrag:.1,rolloutLabelDuration:.5,rolloutChildGroupsDrag:.1,rolloutChildGroupsDelay:.2,pullbackStartPoint:"center",pullbackEasing:"squareIn",pullbackMethod:"groups",pullbackDuration:1500,pullbackScalingStrength:-.7,pullbackTranslationXStrength:0,pullbackTranslationYStrength:0,pullbackRotationStrength:-.7,pullbackTransformationCenter:.7,pullbackPolygonDelay:.3,pullbackPolygonDrag:.1,pullbackPolygonDuration:.8,pullbackLabelDelay:0,pullbackLabelDrag:.1,pullbackLabelDuration:.3,pullbackChildGroupsDelay:.1,pullbackChildGroupsDrag:.1,pullbackChildGroupsDuration:.3,fadeDuration:700,fadeEasing:"cubicInOut",zoomMouseWheelFactor:1.5,zoomMouseWheelDuration:500,zoomMouseWheelEasing:"squareOut",maxLabelSizeForTitleBar:8,titleBarFontFamily:null,titleBarFontStyle:"normal",titleBarFontWeight:"normal",titleBarFontVariant:"normal",titleBarBackgroundColor:"rgba(0, 0, 0, 0.5)",titleBarTextColor:"rgba(255, 255, 255, 1)",titleBarMinFontSize:10,titleBarMaxFontSize:40,titleBarTextPaddingLeftRight:20,titleBarTextPaddingTopBottom:15,titleBarDecorator:y.qa,attributionText:null,attributionLogo:null,attributionLogoScale:.5,attributionUrl:"http://carrotsearch.com/foamtree",attributionPosition:"bottomright",attributionDistanceFromCenter:1,attributionWeight:.025,attributionTheme:"light",interactionHandler:t.Gh()?"hammerjs":"builtin",onModelChanging:[],onModelChanged:[],onRedraw:[],onRolloutStart:[],onRolloutComplete:[],onRelaxationStep:[],onViewReset:[],onGroupOpenOrCloseChanging:[],onGroupOpenOrCloseChanged:[],onGroupExposureChanging:[],onGroupExposureChanged:[],onGroupSelectionChanging:[],onGroupSelectionChanged:[],onGroupHover:[],onGroupMouseMove:[],onGroupClick:[],onGroupDoubleClick:[],onGroupHold:[],onGroupMouseWheel:[],onGroupMouseUp:[],onGroupMouseDown:[],onGroupDragStart:[],onGroupDrag:[],onGroupDragEnd:[],onGroupTransformStart:[],onGroupTransform:[],onGroupTransformEnd:[],onKeyUp:[],selection:null,open:null,exposure:null,imageData:null,hierarchy:null,geometry:null,containerCoordinates:null,state:null,viewport:null,times:null}),window.CarrotSearchFoamTree.geometry=Object.freeze({rectangleInPolygon:function(e,t,n,r,o,i,a){return o=y.I(o,1),i=y.I(i,.5),a=y.I(a,.5),{x:t-(e=M.Ka(e,{x:t,y:n},r,i,a)*o)*r*i,y:n-e*a,w:e*r,h:e}},circleInPolygon:function(e,t,n){return M.pb(e,{x:t,y:n})},stabPolygon:function(e,t,n,r){return M.ua(e,{x:t,y:n},r)},polygonCentroid:function(e){return{x:(e=M.u(e,{})).x,y:e.y,area:e.ha}},boundingBox:function(e){for(var t=e[0].x,n=e[0].y,r=e[0].x,o=e[0].y,i=1;i<e.length;i++){var a=e[i];a.x<t&&(t=a.x),a.y<n&&(n=a.y),a.x>r&&(r=a.x),a.y>o&&(o=a.y)}return{x:t,y:n,w:r-t,h:o-n}}})}),(function(){window.CarrotSearchFoamTree=function(){window.console.error("FoamTree is not supported on this browser.")},window.CarrotSearchFoamTree.supported=!1}))}();const Ro=window.CarrotSearchFoamTree;function Go(t,n,r,o,i){var a={};for(var s in n)"ref"!=s&&(a[s]=n[s]);var u,l,c={type:t,props:a,key:r,ref:n&&n.ref,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:++e.__v,__source:o,__self:i};if("function"==typeof t&&(u=t.defaultProps))for(l in u)void 0===a[l]&&(a[l]=u[l]);return e.vnode&&e.vnode(c),c}class Ho 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,this.findChunkNamePartIndex()}componentDidMount(){this.treemap=this.createTreemap(),window.addEventListener("resize",this.resize)}componentWillReceiveProps(e){e.data!==this.props.data?(this.findChunkNamePartIndex(),this.treemap.set({dataObject:this.getTreemapDataObject(e.data)})):e.highlightGroups!==this.props.highlightGroups&&setTimeout((()=>this.treemap.redraw()))}shouldComponentUpdate(){return!1}componentWillUnmount(){window.removeEventListener("resize",this.resize),this.treemap.dispose()}render(){return Go("div",{...this.props,ref:this.saveNodeRef})}getTreemapDataObject(e=this.props.data){return{groups:e}}createTreemap(){const e=this,{props:t}=this;return new Ro({element:this.node,layout:"squarified",stacking:"flattened",pixelRatio:window.devicePixelRatio||1,maxGroups:1/0,maxGroupLevelsDrawn:1/0,maxGroupLabelLevelsDrawn:1/0,maxGroupLevelsAttached:1/0,wireframeLabelDrawing:"always",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 o=e.getGroupRoot(n.group),i=e.getChunkNamePart(o.label),a=/[^0-9]/u.test(i)?function(e){let t=0;for(let n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t|=0}return t}(i):parseInt(i)/1e3*360;r.groupColor={model:"hsla",h:Math.round(Math.abs(a)%360),s:60,l:50,a:.9};const{highlightGroups:s}=e.props,u=n.group;s&&s.has(u)?r.groupColor={model:"rgba",r:255,g:0,b:0,a:.8}:s&&s.size>0&&(r.groupColor.s=10)},onGroupClick(n){Uo(n),(n.ctrlKey||n.secondary)&&t.onGroupSecondaryClick?t.onGroupSecondaryClick.call(e,n):(e.zoomOutDisabled=!1,this.zoom(n.group))},onGroupDoubleClick:Uo,onGroupHover(n){if(n.group&&(n.group.attribution||n.group===this.get("dataObject")))return n.preventDefault(),void(t.onMouseLeave&&t.onMouseLeave.call(e,n));t.onGroupHover&&t.onGroupHover.call(e,n)},onGroupMouseWheel(t){const{scale:n}=this.get("viewport");if(t.delta<0){if(e.zoomOutDisabled)return Uo(t);n<1&&(e.zoomOutDisabled=!0,Uo(t))}else e.zoomOutDisabled=!1}})}getGroupRoot(e){let t;for(;!e.isAsset&&(t=this.treemap.get("hierarchy",e).parent);)e=t;return e}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()}findChunkNamePartIndex(){const e=this.props.data.map((e=>e.label.split(/[^a-z0-9]/iu))),t={index:0,votes:0};for(let n=Math.max(...e.map((e=>e.length)))-1;n>=0;n--){const r={name:0,hash:0,ext:0};let o="";for(const t of e){const e=t[n];void 0!==e&&""!==e&&(e===o?r.ext++:/[a-z]/u.test(e)&&/[0-9]/u.test(e)&&e.length===o.length?r.hash++:(/^[a-z]+$/iu.test(e)||/^[0-9]+$/u.test(e))&&r.name++,o=e)}r.name>=t.votes&&(t.index=n,t.votes=r.name)}this.chunkNamePartIndex=t.index}getChunkNamePart(e){return e.split(/[^a-z0-9]/iu)[this.chunkNamePartIndex]||e}}function Uo(e){e.preventDefault()}var Vo=n(2485),qo=n.n(Vo),Wo=n(5072),Yo=n.n(Wo),Ko=n(4630),$o={insert:"head",singleton:!1};Yo()(Ko.A,$o);const Zo=Ko.A.locals||{};class Jo 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=qo()({[Zo.container]:!0,[Zo.hidden]:!t});return Go("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+Jo.marginX,top:this.mouseCoords.y+Jo.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-Jo.marginY-t.height),this.setState(e)}}Jo.marginX=10,Jo.marginY=30;var Xo=n(7),Qo={insert:"head",singleton:!1};Yo()(Xo.A,Qo);const ei=Xo.A.locals||{};class ti extends g{shouldComponentUpdate(e,t){return!ni(e,this.props)||!ni(this.state,t)}}function ni(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<n.length;r++){const o=n[r];if(e[o]!==t[o])return!1}return!0}class ri extends ti{constructor(...e){super(...e),this.handleClick=e=>{this.elem.blur(),this.props.onClick(e)},this.saveRef=e=>this.elem=e}render({active:e,toggle:t,className:n,children:r,...o}){const i=qo()(n,{[ei.button]:!0,[ei.active]:e,[ei.toggle]:t});return Go("button",{...o,ref:this.saveRef,type:"button",className:i,disabled:this.disabled,onClick:this.handleClick,children:r})}get disabled(){const{props:e}=this;return e.disabled||e.active&&!e.toggle}}class oi extends ti{constructor(...e){super(...e),this.handleClick=()=>{this.props.onClick(this.props.item)}}render({item:e,...t}){return Go(ri,{...t,onClick:this.handleClick,children:e.label})}}var ii=n(214),ai={insert:"head",singleton:!1};Yo()(ii.A,ai);const si=ii.A.locals||{};class ui extends ti{render(){const{label:e,items:t,activeItem:n,onSwitch:r}=this.props;return Go("div",{className:si.container,children:[Go("div",{className:si.label,children:[e,":"]}),Go("div",{children:t.map((e=>Go(oi,{className:si.item,item:e,active:e===n,onClick:r},e.label)))})]})}}var li=n(727),ci={insert:"head",singleton:!1};Yo()(li.A,ci);const hi=li.A.locals||{};var fi=n(2376),di={insert:"head",singleton:!1};Yo()(fi.A,di);const pi=fi.A.locals||{},gi={"arrow-right":{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNLjgyMiAxMi44MTFhLjQ0NS40NDUgMCAwIDEtLjMyMi4xMzMuNDU2LjQ1NiAwIDAgMS0uMzIyLS43NzhMNS44NDQgNi41LjE3OC44MzNBLjQ1Ni40NTYgMCAwIDEgLjgyMi4xOWw1Ljk5IDUuOTg5YS40NTYuNDU2IDAgMCAxIDAgLjY0NGwtNS45OSA1Ljk5eiIvPjwvc3ZnPg==",size:[7,13]},pin:{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMDEyIDE3Ljk0OWwtMS40OTMtNi4zNzZhMTAuOTM1IDEwLjkzNSAwIDAgMCAyLjk4NS4wMDJMNi4wMTIgMTcuOTV6TTkuMjQ2IDEuODU3YzAgLjUyLS40MTUuOTg1LTEuMDcgMS4zMDhsLS4wMDEgMi42MTZjMS43MjUuNDEgMi45MjIgMS4yOTQgMi45MjIgMi4zMiAwIC40MTYtLjE5NS44MDktLjU0MiAxLjE1Ni0uNjQuNjM5LTEuNzk0IDEuMTI0LTMuMTg3IDEuMzE4LS4wMy4wMDUtLjA2Mi4wMDgtLjA5My4wMTJhOC45MTcgOC45MTcgMCAwIDEtLjcyNS4wNjVsLS4xMi4wMDdhMTAuMTU0IDEwLjE1NCAwIDAgMS0uODk1LS4wMDNjLS4wOTgtLjAwNS0uMTkzLS4wMTMtLjI4OC0uMDItLjA1My0uMDA0LS4xMDYtLjAwNy0uMTU4LS4wMTJhOS4yNDcgOS4yNDcgMCAwIDEtLjM3Mi0uMDQzbC0uMDQ1LS4wMDZDMi41MTQgMTAuMjc4LjkyNiA5LjI4NS45MjYgOC4xMDFjMC0uNDE1LjE5Ni0uODA3LjU0My0xLjE1NC41MTEtLjUxMiAxLjM1Mi0uOTI0IDIuMzgtMS4xNjhWMy4xNjVjLS42NTYtLjMyMy0xLjA3LS43ODktMS4wNy0xLjMwOUMyLjc3OC44ODIgNC4yMjUuMDkyIDYuMDExLjA5MnMzLjIzNC43OSAzLjIzNCAxLjc2NXoiLz48L3N2Zz4=",size:[12,18]},moon:{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iY3VycmVudENvbG9yIj4KICA8cGF0aCBkPSJNMjEgMTIuNzlBOSA5IDAgMSAxIDExLjIxIDMgNyA3IDAgMCAwIDIxIDEyLjc5eiIvPgo8L3N2Zz4K",size:[24,24]},sun:{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iY3VycmVudENvbG9yIj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI1Ii8+CiAgPHBhdGggZD0iTTEyIDF2Mm0wIDE4djJNNC4yMiA0LjIybDEuNDIgMS40Mm0xMi43MiAxMi43MmwxLjQyIDEuNDJNMSAxMmgybTE4IDBoMk00LjIyIDE5Ljc4bDEuNDItMS40Mk0xOC4zNiA1LjY0bDEuNDItMS40MiIvPgo8L3N2Zz4K",size:[24,24]}};class bi extends ti{render({className:e}){return Go("i",{className:qo()(pi.icon,e),style:this.style})}get style(){const{name:e,size:t,rotate:n}=this.props,r=gi[e];if(!r)throw new TypeError(`Can't find "${e}" icon.`);let[o,i]=r.size;if(t){const e=t/Math.max(o,i);o=Math.min(Math.ceil(o*e),t),i=Math.min(Math.ceil(i*e),t)}return{backgroundImage:`url(${r.src})`,width:`${o}px`,height:`${i}px`,transform:n?`rotate(${n}deg)`:""}}}var vi=n(2284),mi={insert:"head",singleton:!1};Yo()(vi.A,mi);const yi=vi.A.locals||{};var Ci;let Ai=Fo(Ci=class extends g{constructor(...e){super(...e),this.handleToggle=()=>{Rn.toggleDarkMode()}}render(){const{darkMode:e}=Rn;return Go(ri,{type:"button",title:e?"Switch to Light Mode":"Switch to Dark Mode",className:yi.themeToggle,onClick:this.handleToggle,children:Go(bi,{name:e?"sun":"moon",size:16})})}})||Ci;const xi=parseInt(hi.toggleTime);class wi 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:o}=this.state,i=qo()({[hi.container]:!0,[hi.pinned]:t,[hi.left]:"left"===e,[hi.hidden]:!r,[hi.empty]:!o});return Go("div",{ref:this.saveNode,className:i,onClick:this.handleClick,onMouseLeave:this.handleMouseLeave,children:[Go(Ai,{}),r&&Go(ri,{type:"button",title:"Pin",className:hi.pinButton,active:t,toggle:!0,onClick:this.handlePinButtonClick,children:Go(bi,{name:"pin",size:13})}),Go(ri,{type:"button",title:r?"Hide":"Show sidebar",className:hi.toggleButton,onClick:this.handleToggleButtonClick,children:Go(bi,{name:"arrow-right",size:10,rotate:r?180:0})}),t&&r&&Go("div",{className:hi.resizer,onMouseDown:this.handleResizeStart}),Go("div",{className:hi.content,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,children:o?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}),xi),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)}),xi))}updateNodeWidth(e=this.width){this.node.style.width=e?`${e}px`:""}}wi.defaultProps={pinned:!1,position:"left"};var _i=n(3480),Si={insert:"head",singleton:!1};Yo()(_i.A,Si);const Mi=_i.A.locals||{};class Ti 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 Go("label",{className:qo()(Mi.label,t),children:[Go("input",{className:Mi.checkbox,type:"checkbox",checked:e,onChange:this.handleChange}),Go("span",{className:Mi.itemText,children:n})]})}}var ki=n(660),zi={insert:"head",singleton:!1};Yo()(ki.A,zi);const Bi=ki.A.locals||{};class Di extends g{constructor(...e){super(...e),this.handleChange=()=>{this.props.onChange(this.props.item)}}render(){return Go("div",{className:Bi.item,children:Go(Ti,{...this.props,onChange:this.handleChange,children:this.renderLabel()})})}renderLabel(){const{children:e,item:t}=this.props;return e?e(t):t===ji.ALL_ITEM?"All":t.label}}const Ei=Symbol("ALL_ITEM");class ji extends ti{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 Go("div",{className:Bi.container,children:[Go("div",{className:Bi.label,children:[e,":"]}),Go("div",{children:[Go(Di,{item:Ei,checked:this.isAllChecked(),onChange:this.handleToggleAllCheck,children:n}),t.map((e=>Go(Di,{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)))}}ji.ALL_ITEM=Ei;var Li=n(2230),Oi={insert:"head",singleton:!1};Yo()(Li.A,Oi);const Ii=Li.A.locals||{};function Ni(){return!1}function Pi({children:e,disabled:t,onClick:n}){return Go("li",{className:qo()({[Ii.item]:!0,[Ii.disabled]:t}),onClick:t?Ni:n,children:e})}var Fi=n(9831),Ri={insert:"head",singleton:!1};Yo()(Fi.A,Ri);const Gi=Fi.A.locals||{};class Hi extends ti{constructor(...e){super(...e),this.handleClickHideChunk=()=>{const{chunk:e}=this.props;if(e&&e.label){const t=Rn.selectedChunks.filter((t=>t.label!==e.label));Rn.selectedChunks=t}this.hide()},this.handleClickFilterToChunk=()=>{const{chunk:e}=this.props;if(e&&e.label){const t=Rn.allChunks.filter((t=>t.label===e.label));Rn.selectedChunks=t}this.hide()},this.handleClickShowAllChunks=()=>{Rn.selectedChunks=Rn.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=qo()({[Gi.container]:!0,[Gi.hidden]:!e}),n=Rn.selectedChunks.length>1;return Go("ul",{ref:this.saveNode,className:t,style:this.getStyle(),children:[Go(Pi,{disabled:!n,onClick:this.handleClickHideChunk,children:"Hide chunk"}),Go(Pi,{disabled:!n,onClick:this.handleClickFilterToChunk,children:"Hide all other chunks"}),Go("hr",{}),Go(Pi,{disabled:Rn.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 Ui=n(8380),Vi={insert:"head",singleton:!1};Yo()(Ui.A,Vi);const qi=Ui.A.locals||{};var Wi=n(7334),Yi=n.n(Wi),Ki=n(6607),$i={insert:"head",singleton:!1};Yo()(Ki.A,$i);const Zi=Ki.A.locals||{};class Ji extends ti{constructor(...e){super(...e),this.handleValueChange=Yi()((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.clear()}render(){const{label:e,query:t}=this.props;return Go("div",{className:Zi.container,children:[Go("div",{className:Zi.label,children:[e,":"]}),Go("div",{className:Zi.row,children:[Go("input",{ref:this.saveInputNode,className:Zi.input,type:"text",value:t,placeholder:"Enter regexp",onInput:this.handleValueChange,onBlur:this.handleInputBlur,onKeyDown:this.handleKeyDown}),Go(ri,{className:Zi.clear,onClick:this.handleClearClick,children:"x"})]})]})}focus(){this.input&&this.input.focus()}clear(){this.handleValueChange.clear(),this.informChange(""),this.input.value=""}informChange(e){this.props.onQueryChange(e)}}var Xi=n(180),Qi={insert:"head",singleton:!1};Yo()(Xi.A,Qi);const ea=Xi.A.locals||{};var ta=n(2834),na=n.n(ta),ra="".replace,oa=/[&<>'"]/g,ia={"&":"&","<":"<",">":">","'":"'",'"':"""};function aa(e){return ra.call(e,oa,sa)}function sa(e){return ia[e]}var ua=n(9410),la={insert:"head",singleton:!1};Yo()(ua.A,la);const ca=ua.A.locals||{};class ha extends ti{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 Go("div",{className:qo()(ca.container,ca[this.itemType],{[ca.invisible]:n}),title:n?this.invisibleHint:null,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,children:[Go("span",{dangerouslySetInnerHTML:{__html:this.titleHtml}}),t&&[" (",Go("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(`(?:${na()(r)})+`,"iu");let o,i;do{i=o,o=t.exec(n)}while(o);i&&(e=aa(n.slice(0,i.index))+`<strong>${aa(i[0])}</strong>`+aa(n.slice(i.index+i[0].length)))}return e||(e=aa(n)),e}get invisibleHint(){return`${this.itemType.charAt(0).toUpperCase()+this.itemType.slice(1)} 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 fa extends ti{constructor(...e){super(...e),this.handleModuleClick=e=>this.props.onModuleClick(e)}render({modules:e,showSize:t,highlightedText:n,isModuleVisible:r,className:o}){return Go("div",{className:qo()(ea.container,o),children:e.map((e=>Go(ha,{module:e,showSize:t,highlightedText:n,isVisible:r,onClick:this.handleModuleClick},e.cid)))})}}var da=n(1204),pa={insert:"head",singleton:!1};Yo()(da.A,pa);const ga=da.A.locals||{};class ba extends ti{constructor(...e){super(...e),this.input={current:null},this.state={query:"",showOptions:!1},this.handleClickOutside=e=>{const t=this.input.current;t&&e&&!t.contains(e.target)&&(this.setState({showOptions:!1}),this.state.query&&!this.props.options.some((e=>e===this.state.query))&&(this.setState({query:""}),this.props.onSelectionChange(void 0)))},this.handleInput=e=>{const{value:t}=e.target;this.setState({query:t}),t||this.props.onSelectionChange(void 0)},this.handleFocus=()=>{this.input.current.value=this.state.query,this.setState({showOptions:!0})},this.getOptionClickHandler=e=>()=>{this.props.onSelectionChange(e),this.setState({query:e,showOptions:!1})}}componentDidMount(){document.addEventListener("click",this.handleClickOutside,!0)}componentWillUnmount(){document.removeEventListener("click",this.handleClickOutside,!0)}render(){const{label:e,options:t}=this.props,n=this.state.query?t.filter((e=>e.toLowerCase().includes(this.state.query.toLowerCase()))):t;return Go("div",{className:ga.container,children:[Go("div",{className:ga.label,children:[e,":"]}),Go("div",{children:[Go("input",{ref:this.input,className:ga.input,type:"text",value:this.state.query,onInput:this.handleInput,onFocus:this.handleFocus}),this.state.showOptions?Go("div",{className:ga.options,children:n.map((e=>Go("div",{className:ga.option,onClick:this.getOptionClickHandler(e),children:e},e)))}):null]})]})}}var va,ma;function ya(){const e=[{label:"Stat",prop:"statSize"},{label:"Parsed",prop:"parsedSize"}];return"gzip"===window.compressionAlgorithm&&e.push({label:"Gzipped",prop:"gzipSize"}),"brotli"===window.compressionAlgorithm&&e.push({label:"Brotli",prop:"brotliSize"}),e}let Ca=Fo((P((ma=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===ji.ALL_ITEM,n=t?"All":e.label,r=t?Rn.totalChunksSize:e[Rn.activeSize];return[`${n} (`,Go("strong",{children:qn()(r)}),")"]},this.handleSelectionChange=e=>{Rn.selectedChunks=e?Rn.allChunks.filter((t=>t.isInitialByEntrypoint[e]??!1)):Rn.allChunks},this.handleConcatenatedModulesContentToggle=e=>{Rn.showConcatenatedModulesContent=e,e?zn.setItem("showConcatenatedModulesContent",!0):zn.removeItem("showConcatenatedModulesContent")},this.handleChunkContextMenuHide=()=>{this.setState({showChunkContextMenu:!1})},this.handleResize=()=>{this.state.showChunkContextMenu&&this.setState({showChunkContextMenu:!1})},this.handleSidebarToggle=()=>{this.state.sidebarPinned&&setTimeout((()=>this.treemap.resize()))},this.handleSidebarPinStateChange=e=>{this.setState({sidebarPinned:e}),setTimeout((()=>this.treemap.resize()))},this.handleSidebarResize=()=>{this.treemap.resize()},this.handleSizeSwitch=e=>{Rn.selectedSize=e.prop},this.handleQueryChange=e=>{Rn.searchQuery=e},this.handleSelectedChunksChange=e=>{Rn.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:o,tooltipContent:i}=this.state;return Go("div",{className:qi.container,children:[Go(wi,{pinned:n,onToggle:this.handleSidebarToggle,onPinStateChange:this.handleSidebarPinStateChange,onResize:this.handleSidebarResize,children:[Go("div",{className:qi.sidebarGroup,children:[Go(ui,{label:"Treemap sizes",items:this.sizeSwitchItems,activeItem:this.activeSizeItem,onSwitch:this.handleSizeSwitch}),Rn.hasConcatenatedModules&&Go("div",{className:qi.showOption,children:Go(Ti,{checked:Rn.showConcatenatedModulesContent,onChange:this.handleConcatenatedModulesContentToggle,children:"Show content of concatenated modules"+("statSize"===Rn.activeSize?"":" (inaccurate)")})})]}),Go("div",{className:qi.sidebarGroup,children:Go(ba,{label:"Filter to initial chunks",options:Rn.entrypoints,onSelectionChange:this.handleSelectionChange})}),Go("div",{className:qi.sidebarGroup,children:[Go(Ji,{label:"Search modules",query:Rn.searchQuery,autofocus:!0,onQueryChange:this.handleQueryChange}),Go("div",{className:qi.foundModulesInfo,children:this.foundModulesInfo}),Rn.isSearching&&Rn.hasFoundModules&&Go("div",{className:qi.foundModulesContainer,children:Rn.foundModulesByChunk.map((({chunk:e,modules:t})=>Go("div",{className:qi.foundModulesChunk,children:[Go("div",{className:qi.foundModulesChunkName,onClick:()=>this.treemap.zoomToGroup(e),children:e.label}),Go(fa,{className:qi.foundModulesList,modules:t,showSize:Rn.activeSize,highlightedText:Rn.searchQueryRegexp,isModuleVisible:this.isModuleVisible,onModuleClick:this.handleFoundModuleClick})]},e.cid)))})]}),this.chunkItems.length>1&&Go("div",{className:qi.sidebarGroup,children:Go(ji,{label:"Show chunks",items:this.chunkItems,checkedItems:Rn.selectedChunks,renderLabel:this.renderChunkItemLabel,onChange:this.handleSelectedChunksChange})})]}),Go(Ho,{ref:this.saveTreemapRef,className:qi.map,data:Rn.visibleChunks,highlightGroups:this.highlightedModules,weightProp:Rn.activeSize,onMouseLeave:this.handleMouseLeaveTreemap,onGroupHover:this.handleTreemapGroupHover,onGroupSecondaryClick:this.handleTreemapGroupSecondaryClick,onResize:this.handleResize}),Go(Jo,{visible:o,children:i}),Go(Hi,{visible:r,chunk:e,coords:t,onHide:this.handleChunkContextMenuHide})]})}renderModuleSize(e,t){const n=`${t}Size`,r=e[n],o=ya().find((e=>e.prop===n)).label,i=Rn.activeSize===n;return"number"==typeof r?Go("div",{className:i?qi.activeSize:"",children:[o," size: ",Go("strong",{children:qn()(r)})]}):null}get sizeSwitchItems(){return Rn.hasParsedSizes?ya():ya().slice(0,1)}get activeSizeItem(){return this.sizeSwitchItems.find((e=>e.prop===Rn.activeSize))}get chunkItems(){const{allChunks:e,activeSize:t}=Rn;let n=[...e];return"statSize"!==t&&(n=n.filter(Mn)),n.sort(((e,n)=>n[t]-e[t])),n}get highlightedModules(){return new Set(Rn.foundModules)}get foundModulesInfo(){return Rn.isSearching?Rn.hasFoundModules?[Go("div",{className:qi.foundModulesInfoItem,children:["Count: ",Go("strong",{children:Rn.foundModules.length})]}),Go("div",{className:qi.foundModulesInfoItem,children:["Total size: ",Go("strong",{children:qn()(Rn.foundModulesSize)})]})]:"Nothing found"+(Rn.allChunksSelected?"":" in selected chunks"):" "}getTooltipContent(e){return e?Go("div",{children:[Go("div",{children:Go("strong",{children:e.label})}),Go("br",{}),this.renderModuleSize(e,"stat"),!e.inaccurateSizes&&this.renderModuleSize(e,"parsed"),!e.inaccurateSizes&&this.renderModuleSize(e,window.compressionAlgorithm),e.path&&Go("div",{children:["Path: ",Go("strong",{children:e.path})]}),e.isAsset&&Go("div",{children:[Go("br",{}),Go("strong",{children:Go("em",{children:"Right-click to view options related to this chunk"})})]})]}):null}}).prototype,"sizeSwitchItems",[ke],Object.getOwnPropertyDescriptor(ma.prototype,"sizeSwitchItems"),ma.prototype),P(ma.prototype,"activeSizeItem",[ke],Object.getOwnPropertyDescriptor(ma.prototype,"activeSizeItem"),ma.prototype),P(ma.prototype,"chunkItems",[ke],Object.getOwnPropertyDescriptor(ma.prototype,"chunkItems"),ma.prototype),P(ma.prototype,"highlightedModules",[ke],Object.getOwnPropertyDescriptor(ma.prototype,"highlightedModules"),ma.prototype),P(ma.prototype,"foundModulesInfo",[ke],Object.getOwnPropertyDescriptor(ma.prototype,"foundModulesInfo"),ma.prototype),va=ma))||va;var Aa=n(6480),xa={insert:"head",singleton:!1};Yo()(Aa.A,xa);Aa.A.locals;let wa;try{window.enableWebSocket&&(wa=new WebSocket(`ws://${location.host}`))}catch(_a){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",(()=>{Rn.defaultSize=`${window.defaultSizes}Size`,Rn.setModules(window.chartData),Rn.setEntrypoints(window.entrypoints),Rn.updateTheme(),L(Go(Ca,{}),document.getElementById("app")),wa&&wa.addEventListener("message",(e=>{const t=JSON.parse(e.data);"chartDataUpdated"===t.event&&Rn.setModules(t.data)}))}),!1)})()})();
|
|
66
|
+
function(){var e="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e};var t=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,!1];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}(this);function n(n,i){if(i)e:{var r=t;n=n.split(".");for(var o=0;o<n.length-1;o++){var a=n[o];if(!(a in r))break e;r=r[a]}(i=i(o=r[n=n[n.length-1]]))!=o&&null!=i&&e(r,n,{configurable:!0,writable:!0,value:i})}}function i(e){return e||Array.prototype.fill}n("String.prototype.repeat",function(e){return e||function(e){if(null==this)throw new TypeError("The 'this' value for String.prototype.repeat must not be null or undefined");var t=this;if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var n="";e;)1&e&&(n+=t),(e>>>=1)&&(t+=t);return n}}),n("Array.prototype.fill",function(e){return e||function(e,t,n){var i=this.length||0;for(0>t&&(t=Math.max(0,i+t)),(null==n||n>i)&&(n=i),0>(n=Number(n))&&(n=Math.max(0,i+n)),t=Number(t||0);t<n;t++)this[t]=e;return this}}),n("Int8Array.prototype.fill",i),n("Uint8Array.prototype.fill",i),n("Uint8ClampedArray.prototype.fill",i),n("Int16Array.prototype.fill",i),n("Uint16Array.prototype.fill",i),n("Int32Array.prototype.fill",i),n("Uint32Array.prototype.fill",i),n("Float32Array.prototype.fill",i),n("Float64Array.prototype.fill",i);var r,o=function(){var e=window.navigator.userAgent;return{Xh:function(){return/webkit/i.test(e)},Wh:function(){return/Mac/.test(e)},Xe:function(){return/iPad|iPod|iPhone/.test(e)},Vh:function(){return/Android/.test(e)},Sh:function(){return"ontouchstart"in window||!!window.DocumentTouch&&document instanceof window.DocumentTouch},Rh:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},rd:function(e,t){return[].forEach&&o.Rh()?e&&e():t&&t()}}}(),a=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 s(){function e(){if(!u)throw"AF0";var e=a.now();0!==l&&(n.xd=e-l),l=e,s=s.filter(function(e){return null!==e}),n.frames++;for(var i=0;i<s.length;i++){var r=s[i];null!==r&&(!0===r.le.call(r.context)?s[i]=null:A.Gc(r.repeat)&&(r.repeat=r.repeat-1,0>=r.repeat&&(s[i]=null)))}s=s.filter(function(e){return null!==e}),u=!1,t(),0!==(e=a.now()-e)&&(n.wd=e),n.totalTime+=e,n.Ae=1e3*n.frames/n.totalTime,l=0===s.length?0:a.now()}function t(){0<s.length&&!u&&(u=!0,i(e))}var n=this.dg={frames:0,totalTime:0,wd:0,xd:0,Ae:0};r=n;var i=o.Xe()?function(e){window.setTimeout(e,0)}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(){var e=a.create();return function(t){var n=0;window.setTimeout(function(){var i=e.now();t(),n=e.now()-i},16>n?16-n:0)}}(),s=[],u=!1,l=0;this.repeat=function(e,n,i){this.cancel(e),s.push({le:e,context:i,repeat:n}),t()},this.once=function(e,t){this.repeat(e,1,t)},this.cancel=function(e){for(var t=0;t<s.length;t++){var n=s[t];null!==n&&n.le===e&&(s[t]=null)}},this.m=function(){s=[]}}var u=o.rd(function(){function e(){this.buffer=[],this.ka=0,this.current=A.extend({},a)}function t(e){return function(){var t,n=this.buffer,i=this.ka;for(n[i++]="call",n[i++]=e,n[i++]=arguments.length,t=0;t<arguments.length;t++)n[i++]=arguments[t];this.ka=i}}function n(e){return function(){return r[e].apply(r,arguments)}}var i=document.createElement("canvas");i.width=1,i.height=1;var r=i.getContext("2d");i=["font"];var o="fillStyle globalAlpha globalCompositeOperation lineCap lineDashOffset lineJoin lineWidth miterLimit shadowBlur shadowColor shadowOffsetX shadowOffsetY strokeStyle textAlign textBaseline".split(" "),a={};return o.concat(i).forEach(function(e){a[e]=r[e]}),e.prototype.clear=function(){this.ka=0},e.prototype.Aa=function(){return 0===this.ka},e.prototype.La=function(e){e instanceof u?function(e,t,n){for(var i=0,r=e.ka,o=e.buffer;i<n;)o[r++]=t[i++];e.ka=r}(e,this.buffer,this.ka):function(e,t,n,i){for(var r=0;r<n;)switch(t[r++]){case"set":e[t[r++]]=t[r++];break;case"setGlobalAlpha":e[t[r++]]=t[r++]*i;break;case"call":var o=t[r++];switch(t[r++]){case 0:e[o]();break;case 1:e[o](t[r++]);break;case 2:e[o](t[r++],t[r++]);break;case 3:e[o](t[r++],t[r++],t[r++]);break;case 4:e[o](t[r++],t[r++],t[r++],t[r++]);break;case 5:e[o](t[r++],t[r++],t[r++],t[r++],t[r++]);break;case 6:e[o](t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]);break;case 7:e[o](t[r++],t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]);break;case 8:e[o](t[r++],t[r++],t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]);break;case 9:e[o](t[r++],t[r++],t[r++],t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]);break;default:throw"CB0"}}}(e,this.buffer,this.ka,A.G(e.globalAlpha,1))},e.prototype.replay=e.prototype.La,e.prototype.m=function(){return new e},e.prototype.scratch=e.prototype.m,"arc arcTo beginPath bezierCurveTo clearRect clip closePath drawImage fill fillRect fillText lineTo moveTo putImageData quadraticCurveTo rect rotate scale setLineDash setTransform stroke strokeRect strokeText transform translate".split(" ").forEach(function(n){e.prototype[n]=t(n)}),["measureText","createLinearGradient","createRadialGradient","createPattern","getLineDash"].forEach(function(t){e.prototype[t]=n(t)}),["save","restore"].forEach(function(i){var r=n(i),o=t(i);e.prototype[i]=function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}(o,r)}),i.forEach(function(t){Object.defineProperty(e.prototype,t,{set:function(e){r[t]=e,this.current[t]=e;var n=this.buffer;n[this.ka++]="set",n[this.ka++]=t,n[this.ka++]=e},get:function(){return this.current[t]}})}),o.forEach(function(t){Object.defineProperty(e.prototype,t,{set:function(e){this.current[t]=e;var n=this.buffer;n[this.ka++]="globalAlpha"===t?"setGlobalAlpha":"set",n[this.ka++]=t,n[this.ka++]=e},get:function(){return this.current[t]}})}),e.prototype.roundRect=function(e,t,n,i,r){this.beginPath(),this.moveTo(e+r,t),this.lineTo(e+n-r,t),this.quadraticCurveTo(e+n,t,e+n,t+r),this.lineTo(e+n,t+i-r),this.quadraticCurveTo(e+n,t+i,e+n-r,t+i),this.lineTo(e+r,t+i),this.quadraticCurveTo(e,t+i,e,t+i-r),this.lineTo(e,t+r),this.quadraticCurveTo(e,t,e+r,t),this.closePath()},e.prototype.fillPolygonWithText=function(e,t,n,i,r){r||(r={});var o={ib:A.G(r.maxFontSize,j.xa.ib),Mc:A.G(r.minFontSize,j.xa.Mc),lineHeight:A.G(r.lineHeight,j.xa.lineHeight),eb:A.G(r.horizontalPadding,j.xa.eb),Ua:A.G(r.verticalPadding,j.xa.Ua),jb:A.G(r.maxTotalTextHeight,j.xa.jb),fontFamily:A.G(r.fontFamily,j.xa.fontFamily),fontStyle:A.G(r.fontStyle,j.xa.fontStyle),fontVariant:A.G(r.fontVariant,j.xa.fontVariant),fontWeight:A.G(r.fontWeight,j.xa.fontWeight),verticalAlign:A.G(r.verticalAlign,j.xa.verticalAlign)},a=r.cache;if(a&&A.has(r,"area")){a.Wc||(a.Wc=new u);var s=r.area,l=A.G(r.cacheInvalidationThreshold,.05);e=j.ke(o,this,i,e,k.D(e,{}),{x:t,y:n},r.allowForcedSplit||!1,r.allowEllipsis||!1,a,s,l,r.invalidateCache)}else e=j.xe(o,this,i,e,k.D(e,{}),{x:t,y:n},r.allowForcedSplit||!1,r.allowEllipsis||!1);return e.ha?{fit:!0,lineCount:e.ec,fontSize:e.fontSize,box:{x:e.box.x,y:e.box.y,w:e.box.w,h:e.box.o},ellipsis:e.Xb}:{fit:!1}},e}),l=o.rd(function(){function e(e){this.R=e,this.canvas=e.canvas,this.m=[],this.Ab=[void 0],this.Cc=["#SIZE#px sans-serif"],this.yd=[0],this.zd=[1],this.Wd=[0],this.Xd=[0],this.Yd=[0],this.Dd=[10],this.$b=[10],this.Ib=[this.Ab,this.Cc,this.$b,this.yd,this.zd,this.Wd,this.Dd,this.Xd,this.Yd],this.matrix=[1,0,0,1,0,0]}function t(e){var t=e.R,n=e.Ib[0].length-1;e.Ab[n]&&(t.setLineDash(e.Ab[n]),t.lineDashOffset=e.yd[n]),t.miterLimit=e.Dd[n],t.lineWidth=e.zd[n],t.shadowBlur=e.Wd[n],t.shadowOffsetX=e.Xd[n],t.shadowOffsetY=e.Yd[n],t.font=e.Cc[n].replace("#SIZE#",e.$b[n].toString())}function n(e,t,n){return e*n[0]+t*n[2]+n[4]}function i(e,t,n){return e*n[1]+t*n[3]+n[5]}function r(e,t){for(var n=0;n<e.length;n++)e[n]*=t[0];return e}e.prototype.save=function(){this.m.push(this.matrix.slice(0));for(var e=0;e<this.Ib.length;e++){var t=this.Ib[e];t.push(t[t.length-1])}this.R.save()},e.prototype.restore=function(){this.matrix=this.m.pop();for(var e=0;e<this.Ib.length;e++)this.Ib[e].pop();this.R.restore(),t(this)},e.prototype.scale=function(e,n){var i=this.matrix;i[0]*=e,i[1]*=e,i[2]*=n,i[3]*=n,e=this.matrix,i=(n=this.Ib)[0].length-1;var o=this.Ab[i];for(o&&r(o,e),o=2;o<n.length;o++){n[o][i]*=e[0]}t(this)},e.prototype.translate=function(e,t){var n=this.matrix;n[4]+=n[0]*e+n[2]*t,n[5]+=n[1]*e+n[3]*t},["moveTo","lineTo"].forEach(function(t){e.prototype[t]=function(e){return function(t,r){var o=this.matrix;return this.R[e].call(this.R,n(t,r,o),i(t,r,o))}}(t)}),["clearRect","fillRect","strokeRect","rect"].forEach(function(t){e.prototype[t]=function(e){return function(t,r,o,a){var s=this.matrix;return this.R[e].call(this.R,n(t,r,s),i(t,r,s),o*s[0],a*s[3])}}(t)}),"fill stroke beginPath closePath clip createImageData createPattern getImageData putImageData getLineDash setLineDash".split(" ").forEach(function(t){e.prototype[t]=function(e){return function(){return this.R[e].apply(this.R,arguments)}}(t)}),[{p:"lineDashOffset",a:function(e){return e.yd}},{p:"lineWidth",a:function(e){return e.zd}},{p:"miterLimit",a:function(e){return e.Dd}},{p:"shadowBlur",a:function(e){return e.Wd}},{p:"shadowOffsetX",a:function(e){return e.Xd}},{p:"shadowOffsetY",a:function(e){return e.Yd}}].forEach(function(t){Object.defineProperty(e.prototype,t.p,{set:function(e){var n=t.a(this);e*=this.matrix[0],n[n.length-1]=e,this.R[t.p]=e}})});var o=/(\d+(?:\.\d+)?)px/;return Object.defineProperty(e.prototype,"font",{set:function(e){var t=o.exec(e);if(1<t.length){var n=this.$b.length-1;this.$b[n]=parseFloat(t[1]),this.Cc[n]=e.replace(o,"#SIZE#px"),e=this.R,n=this.Cc[n].replace("#SIZE#",(this.$b[n]*this.matrix[0]).toString()),e.font=n}}}),"fillStyle globalAlpha globalCompositeOperation lineCap lineJoin shadowColor strokeStyle textAlign textBaseline".split(" ").forEach(function(t){Object.defineProperty(e.prototype,t,{set:function(e){this.R[t]=e},get:function(){return this.R[t]}})}),e.prototype.arc=function(e,t,r,o,a,s){var u=this.matrix;this.R.arc(n(e,t,u),i(e,t,u),r*u[0],o,a,s)},e.prototype.arcTo=function(e,t,r,o,a){var s=this.matrix;this.R.arc(n(e,t,s),i(e,t,s),n(r,o,s),i(r,o,s),a*s[0])},e.prototype.transform=function(){throw"transform() is not implemented in double wrapper context."},e.prototype.bezierCurveTo=function(e,t,r,o,a,s){var u=this.matrix;this.R.bezierCurveTo(n(e,t,u),i(e,t,u),n(r,o,u),i(r,o,u),n(a,s,u),i(a,s,u))},e.prototype.drawImage=function(e,t,r,o,a,s,u,l,c){function h(t,r,o,a){d.push(n(t,r,f)),d.push(i(t,r,f)),o=A.U(o)?e.width:o,a=A.U(a)?e.height:a,d.push(o*f[0]),d.push(a*f[3])}var f=this.matrix,d=[e];A.U(s)?h(t,r,o,a):h(s,u,l,c),this.R.drawImage.apply(this.R,d)},e.prototype.quadraticCurveTo=function(e,t,r,o){var a=this.matrix;this.R.quadraticCurveTo(n(e,t,a),i(e,t,a),n(r,o,a),i(r,o,a))},e.prototype.fillText=function(e,t,r,o){var a=this.matrix;this.R.fillText(e,n(t,r,a),i(t,r,a),A.Gc(o)?o*a[0]:1e20)},e.prototype.setLineDash=function(e){e=r(e.slice(0),this.matrix),this.Ab[this.Ab.length-1]=e,this.R.setLineDash(e)},e}),c=function(e,t){var n=t[0];e.moveTo(n.x,n.y);for(var i=t.length-1;0<i;i--)n=t[i],e.lineTo(n.x,n.y)},h=function(e,t,n,i){var r,o=[],a=0,s=t.length;for(r=0;r<s;r++){var u=t[r],l=t[(r+1)%s];u=k.m(u,l),u=Math.sqrt(u),o.push(u),a+=u}n=i*(n+.5*i*a/s),a={};var c={},h={};for(r=0;r<s;r++){u=t[r],l=t[(r+1)%s],i=t[(r+2)%s];var f=o[(r+1)%s];f=Math.min(.5,n/f),k.sa(1-f,l,i,c),k.sa(f,l,i,h),0==r&&(k.sa(Math.min(.5,n/o[0]),u,l,a),e.moveTo(a.x,a.y)),e.quadraticCurveTo(l.x,l.y,c.x,c.y),e.lineTo(h.x,h.y)}return!0};function f(e){function t(){return"embedded"===r.getAttribute("data-foamtree")}function n(e){h[e]&&(h[e].style.opacity=d*f[e])}function i(e){e.width=Math.round(a*e.A),e.height=Math.round(s*e.A)}var r,o,a,s,u,l,c=[],h={},f={},d=0;this.M=function(n){0!==(r=n).clientWidth&&0!==r.clientHeight||I.Ga("element has zero dimensions: "+r.clientWidth+" x "+r.clientHeight+"."),r.innerHTML="",a=r.clientWidth,s=r.clientHeight,u=0!==a?a:void 0,l=0!==s?s:void 0,t()&&I.Ga("visualization already embedded in the element."),r.setAttribute("data-foamtree","embedded"),(o=document.createElement("div")).style.width="100%",o.style.height="100%",o.style.position="relative",r.appendChild(o),e.i.C("stage:initialized",this,o,a,s)},this.$a=function(){t()&&(r.removeAttribute("data-foamtree"),c=[],h={},r.removeChild(o),e.i.C("stage:disposed",this,o))},this.u=function(){if(a=r.clientWidth,s=r.clientHeight,0!==a&&0!==s&&(a!==u||s!==l)){for(var t=c.length-1;0<=t;t--)i(c[t]);e.i.C("stage:resized",u,l,a,s),u=a,l=s}},this.Ui=function(e,t){e.A=t,i(e)},this.hc=function(t,r,a){var s=document.createElement("canvas");return s.setAttribute("style","position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;"),s.A=r,i(s),c.push(s),h[t]=s,f[t]=1,n(t),a||o.appendChild(s),e.i.C("stage:newLayer",t,s),s},this.cc=function(e,t){return A.U(t)||(f[e]=t,n(e)),f[e]},this.m=function(e){return A.U(e)||(d=e,A.za(h,function(e,t){n(t)})),d}}function d(e){function t(e,t,n){return m=!0,p.x=0,p.y=0,v.x=0,v.y=0,a=f,s.x=d.x,s.y=d.y,t(),u*=e,!((l=n?u/a:e)<(e=.25/a))||(l=e,!1)}function n(e,t){return t.x=e.x/f+d.x,t.y=e.y/f+d.y,t}function i(e,t,n,i,r,o,a,s,u){var l=(e-n)*(o-s)-(t-i)*(r-a);return!(1e-5>Math.abs(l))&&(u.x=((e*i-t*n)*(r-a)-(e-n)*(r*s-o*a))/l,u.y=((e*i-t*n)*(o-s)-(t-i)*(r*s-o*a))/l,!0)}var r,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},v={x:0,y:0},g={x:0,y:0,w:0,o:0},b={x:0,y:0,w:0,o:0,scale:1},m=!0;e.i.subscribe("stage:initialized",function(e,t,n,i){r=n,o=i,g.x=0,g.y=0,g.w=n,g.o=i,b.x=0,b.y=0,b.w=n,b.o=i,b.scale=1}),e.i.subscribe("stage:resized",function(e,t,n,i){function a(e){e.x*=l,e.y*=c}function u(e){a(e),e.w*=l,e.o*=c}r=n,o=i;var l=n/e,c=i/t;a(s),a(d),a(h),a(p),a(v),u(g),u(b)}),this.Qb=function(e,i){return t(i,function(){n(e,h)},!0)},this.ia=function(e,n){if(1==Math.round(1e4*n)/1e4){n=g.x-d.x;var r=g.y-d.y;return t(1,function(){},!0),this.m(-n,-r)}return t(n,function(){for(var t=!1;!t;){t=Math.random();var n=Math.random(),r=Math.random(),o=Math.random();t=i(e.x+t*e.w,e.y+n*e.o,g.x+t*g.w,g.y+n*g.o,e.x+r*e.w,e.y+o*e.o,g.x+r*g.w,g.y+o*g.o,h)}},!0)},this.lc=function(e,n){var a=e.w/e.o,s=r/o;if(a<s){var u=e.o*s,l=e.o;a=e.x-.5*(u-e.w),s=e.y}else a>s?(u=e.w,l=e.w*o/r,a=e.x,s=e.y-.5*(l-e.o)):(a=e.x,s=e.y,u=e.w,l=e.o);return a-=u*n,u*=1+2*n,i(a,s-=l*n,d.x,d.y,a+u,s,d.x+r/f,d.y,h)?t(r/f/u,A.oa,!1):(m=!1,this.m(f*(d.x-a),f*(d.y-s)))},this.m=function(e,t){return e=Math.round(1e4*e)/1e4,t=Math.round(1e4*t)/1e4,v.x+=e/f,v.y+=t/f,0!==e||0!==t},this.reset=function(e){return e&&this.content(0,0,r,o),this.ia({x:g.x+d.x,y:g.y+d.y,w:g.w/f,o:g.o/f},c/u)},this.Gb=function(e){c=Math.min(1,Math.round(1e4*(e||u))/1e4)},this.u=function(){return d.x<g.x?(g.x-d.x)*f:d.x+r/f>g.x+g.w?-(d.x+r/f-g.x-g.w)*f:0},this.I=function(){return d.y<g.y?(g.y-d.y)*f:d.y+o/f>g.y+g.o?-(d.y+o/f-g.y-g.o)*f:0},this.update=function(e){var t=Math.abs(Math.log(l));6>t?t=2:(t/=4,t+=3*t*(1<l?e:1-e)),t=1<l?Math.pow(e,t):1-Math.pow(1-e,t),f=a*(t=(m?t:1)*(l-1)+1),d.x=h.x-(h.x-s.x)/t,d.y=h.y-(h.y-s.y)/t,d.x-=p.x*(1-e)+v.x*e,d.y-=p.y*(1-e)+v.y*e,1===e&&(p.x=v.x,p.y=v.y),b.x=d.x,b.y=d.y,b.w=r/f,b.o=o/f,b.scale=f},this.T=function(e){return e.x=b.x,e.y=b.y,e.scale=b.scale,e},this.absolute=function(e,t){return n(e,t||{})},this.$c=function(e,t){return(t=t||{}).x=(e.x-d.x)*f,t.y=(e.y-d.y)*f,t},this.wc=function(e){return this.scale()<c/e},this.Ed=function(){return A.td(f,1)},this.scale=function(){return Math.round(1e4*f)/1e4},this.content=function(e,t,n,i){g.x=e,g.y=t,g.w=n,g.o=i},this.yc=function(e,t){var n;for(n=e.length-1;0<=n;n--){var i=e[n];i.save(),i.scale(f,f),i.translate(-d.x,-d.y)}for(t(b),n=e.length-1;0<=n;n--)(i=e[n]).restore()}}var p=new function(){function e(e){if("hsl"==e.model||"hsla"==e.model)return e;var t=e.r/=255,n=e.g/=255,i=e.b/=255,r=Math.max(t,n,i),o=Math.min(t,n,i),a=(r+o)/2;if(r==o)var s=o=0;else{var u=r-o;switch(o=.5<a?u/(2-r-o):u/(r+o),r){case t:s=(n-i)/u+(n<i?6:0);break;case n:s=(i-t)/u+2;break;case i:s=(t-n)/u+4}s/=6}return e.h=360*s,e.s=100*o,e.l=100*a,e.model="hsl",e}var t={h:0,s:0,l:0,a:1,model:"hsla"};this.ta=function(n){return A.Hc(n)?e(p.tg(n)):A.xb(n)?e(n):t},this.tg=function(e){var n;return(n=/rgba\(\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*\)/.exec(e))&&5==n.length?{r:parseFloat(n[1]),g:parseFloat(n[2]),b:parseFloat(n[3]),a:parseFloat(n[4]),model:"rgba"}:(n=/hsla\(\s*([^,\s]+)\s*,\s*([^,%\s]+)%\s*,\s*([^,\s%]+)%\s*,\s*([^,\s]+)\s*\)/.exec(e))&&5==n.length?{h:parseFloat(n[1]),s:parseFloat(n[2]),l:parseFloat(n[3]),a:parseFloat(n[4]),model:"hsla"}:(n=/rgb\(\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*\)/.exec(e))&&4==n.length?{r:parseFloat(n[1]),g:parseFloat(n[2]),b:parseFloat(n[3]),a:1,model:"rgb"}:(n=/hsl\(\s*([^,\s]+)\s*,\s*([^,\s%]+)%\s*,\s*([^,\s%]+)%\s*\)/.exec(e))&&4==n.length?{h:parseFloat(n[1]),s:parseFloat(n[2]),l:parseFloat(n[3]),a:1,model:"hsl"}:(n=/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(e))&&4==n.length?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16),a:1,model:"rgb"}:(n=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(e))&&4==n.length?{r:17*parseInt(n[1],16),g:17*parseInt(n[2],16),b:17*parseInt(n[3],16),a:1,model:"rgb"}:t},this.pg=function(e){function t(e,t,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:.5>n?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function n(e,t,n){return Math.sqrt(e*e*.241+t*t*.691+n*n*.068)/255}if("rgb"==e.model||"rgba"==e.model)return n(e.r,e.g,e.b);var i=e.l/100,r=e.s/100,o=e.h/360;if(0==e.Nj)i=e=o=i;else{var a=2*i-(r=.5>i?i*(1+r):i+r-i*r);i=t(a,r,o+1/3),e=t(a,r,o),o=t(a,r,o-1/3)}return n(255*i,255*e,255*o)},this.Fg=function(e){if(A.Hc(e))return e;if(!A.xb(e))return"#000";switch(e.model){case"hsla":return p.ug(e);case"hsl":return p.qc(e);case"rgba":return p.wg(e);case"rgb":return p.ng(e);default:return"#000"}},this.wg=function(e){return"rgba("+(.5+e.r|0)+","+(.5+e.g|0)+","+(.5+e.b|0)+","+e.a+")"},this.ng=function(e){return"rgba("+(.5+e.r|0)+","+(.5+e.g|0)+","+(.5+e.b|0)+")"},this.ug=function(e){return"hsla("+(.5+e.h|0)+","+(.5+e.s|0)+"%,"+(.5+e.l|0)+"%,"+e.a+")"},this.qc=function(e){return"hsl("+(.5+e.h|0)+","+(.5+e.s|0)+"%,"+(.5+e.l|0)+"%)"},this.ia=function(e,t,n){return"hsl("+(.5+e|0)+","+(.5+t|0)+"%,"+(.5+n|0)+"%)"}};function v(){var e,t=!1,n=[],i=this,r=new function(){this.then=function(r){return r&&(t?r.apply(i,e):n.push(r)),this},this.Rg=function(e){return i=e,{then:this.then}}};this.resolve=function(){e=arguments;for(var r=0;r<n.length;r++)n[r].apply(i,e);return t=!0,this},this.promise=function(){return r}}function g(e){var t=new v,n=e.length;if(0<e.length)for(var i=e.length-1;0<=i;i--)e[i].then(function(){0===--n&&t.resolve()});else t.resolve();return t.promise()}function b(e){var t=0;this.m=function(){t++},this.u=function(){0===--t&&e()},this.clear=function(){t=0},this.initial=function(){return 0===t}}var m={ue:function(e,t,n,i){i=i||{};try{var r=e.getBoundingClientRect()}catch(a){if(!m.Th){m.Th=!0,window.console.log("getBoundingClientRect() failed."),window.console.log("Element",e);for(var o=(r=window.console).log;null!==e.parentElement;)e=e.parentElement;o.call(r,"Attached to DOM",e===document.body.parentElement)}r={left:0,top:0}}return i.x=t-r.left,i.y=n-r.top,i}};function _(){var e=document,t={};this.addEventListener=function(n,i,r){var o=t[n];o||(o=[],t[n]=o),o.push(i),e.addEventListener(n,i,r)},this.m=function(){A.za(t,function(t,n){for(var i=t.length-1;0<=i;i--)e.removeEventListener(n,t[i])})}}function y(e){function t(e){return function(t){n(t)&&e.apply(this,arguments)}}function n(t){for(t=t.target;t;){if(t===e)return!0;t=t.parentElement}return!1}function i(e,t,n){r(e,n=n||{});for(var i=0;i<t.length;i++)t[i].call(e.target,n);return r(e,n),(void 0===n.Eb&&n.mi||"prevent"===n.Eb)&&e.preventDefault(),n}function r(t,n){return m.ue(e,t.clientX,t.clientY,n),n.altKey=t.altKey,n.metaKey=t.metaKey,n.ctrlKey=t.ctrlKey,n.shiftKey=t.shiftKey,n.nb=3===t.which,n}var o=new _,a=[],s=[],u=[],l=[],c=[],h=[],f=[],d=[],p=[],v=[],g=[];this.m=function(e){a.push(e)},this.u=function(e){c.push(e)},this.va=function(e){s.push(e)},this.ta=function(e){u.push(e)},this.Ga=function(e){l.push(e)},this.sa=function(e){g.push(e)},this.ra=function(e){h.push(e)},this.wa=function(e){f.push(e)},this.ia=function(e){d.push(e)},this.I=function(e){p.push(e)},this.T=function(e){v.push(e)},this.$a=function(){o.m()};var b,y,C,A,x={x:0,y:0},w={x:0,y:0},S=!1,M=!1;o.addEventListener("mousedown",t(function(t){if(t.target!==e){var n=i(t,u);w.x=n.x,w.y=n.y,x.x=n.x,x.y=n.y,S=!0,i(t,d),y=!1,b=window.setTimeout(function(){100>k.m(x,n)&&(window.clearTimeout(A),i(t,s),y=!0)},400)}})),o.addEventListener("mouseup",function(e){var t=i(e,l);S&&(M&&i(e,v),window.clearTimeout(b),y||M||!n(e)||(t={x:t.x,y:t.y},C&&100>k.m(t,C)?i(e,c):i(e,a),C=t,A=window.setTimeout(function(){C=null},350)),M=S=!1)}),o.addEventListener("mousemove",function(e){var t=r(e,{});n(e)&&i(e,h,{type:"move"}),x.x=t.x,x.y=t.y,S&&!M&&100<k.m(w,x)&&(M=!0),M&&i(e,p,t)}),o.addEventListener("mouseout",t(function(e){i(e,f,{type:"out"})})),o.addEventListener("wheel",t(function(e){if("deltaY"in e)var t=e.deltaY;else t=0,"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=0),t*=10;t&&e.deltaMode&&(t=1===e.deltaMode?67*t:800*t),i(e,g,{kd:-t/200,mi:!0})}),{passive:!1}),o.addEventListener("contextmenu",t(function(e){e.preventDefault()}))}var C=function(){function e(e){return function(t){return Math.pow(t,e)}}function t(e){return function(t){return 1-Math.pow(1-t,e)}}function n(e){return function(t){return 1>(t*=2)?.5*Math.pow(t,e):1-.5*Math.abs(Math.pow(2-t,e))}}function i(e){return function(t){for(var n=0;n<e.length;n++)t=(0,e[n])(t);return t}}return{ba:function(e){switch(e){case"linear":default:return C.Bb;case"bounce":return C.Eg;case"squareIn":return C.ag;case"squareOut":return C.Hb;case"squareInOut":return C.bg;case"cubicIn":return C.Ig;case"cubicOut":return C.me;case"cubicInOut":return C.Jg;case"quadIn":return C.Fi;case"quadOut":return C.Hi;case"quadInOut":return C.Gi}},Bb:function(e){return e},Eg:i([n(2),function(e){return 0===e?0:1===e?1:e*(e*(e*(e*(25.9425*e-85.88)+105.78)-58.69)+13.8475)}]),ag:e(2),Hb:t(2),bg:n(2),Ig:e(3),me:t(3),Jg:n(3),Fi:e(2),Hi:t(2),Gi:n(2),Cj:i}}(),A={U:function(e){return void 0===e},Ye:function(e){return null===e},Gc:function(e){return"[object Number]"===Object.prototype.toString.call(e)},Hc:function(e){return"[object String]"===Object.prototype.toString.call(e)},We:function(e){return"function"==typeof e},xb:function(e){return e===Object(e)},td:function(e,t){return 1e-6>e-t&&-1e-6<e-t},Ue:function(e){return A.U(e)||A.Ye(e)||A.Hc(e)&&!/\S/.test(e)},has:function(e,t){return e&&e.hasOwnProperty(t)},cb:function(e,t){if(e)for(var n=t.length-1;0<=n;n--)if(e.hasOwnProperty(t[n]))return!0;return!1},extend:function(e){return A.Ng(Array.prototype.slice.call(arguments,1),function(t){if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}),e},Lj:function(e,t){return e.map(function(e){return e[t]},[])},Ng:function(e,t,n){null!=e&&(e.forEach?e.forEach(t,n):A.za(e,t,n))},za:function(e,t,n){for(var i in e)if(e.hasOwnProperty(i)&&!1===t.call(n,e[i],i,e))break},G:function(){for(var e=0;e<arguments.length;e++){var t=arguments[e];if(!(A.U(t)||A.Gc(t)&&isNaN(t)||A.Hc(t)&&A.Ue(t)))return t}},Pf:function(e,t){0<=(t=e.indexOf(t))&&e.splice(t,1)},Kg:function(e,t,n){var i;return function(){var r=this,o=arguments,a=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||e.apply(r,o)},t),a&&e.apply(r,o)}},defer:function(e){setTimeout(e,1)},Jj:function(e){return e},oa:function(){}},x=function(e,t){function n(){var n=[];if(Array.isArray(e))for(var i=0;i<e.length;i++){var r=e[i];r&&n.push(r.apply(t,arguments))}else e&&n.push(e.apply(t,arguments));return n}return n.empty=function(){return 0===e.length&&!A.We(e)},n};function w(){var e={};this.subscribe=function(t,n){var i=e[t];i||(i=[],e[t]=i),i.push(n)},this.C=function(t,n){var i=e[t];if(i)for(var r=Array.prototype.slice.call(arguments,1),o=0;o<i.length;o++)i[o].apply(this,r)}}var S=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(1^e.charCodeAt(n));return t};function M(e){function t(t,a,u){var l,c=this,h=0;this.id=r++,this.name=u||"{unnamed on "+t+"}",this.target=function(){return t},this.yb=function(){return-1!=s.indexOf(c)},this.start=function(){if(!c.yb()){if(-1==s.indexOf(c)){var t=o.now();!0===c.gf(t)&&(s=s.slice()).push(c)}0<s.length&&e.repeat(n)}return this},this.stop=function(){for(i(c);l<a.length;l++){var e=a[l];e.Ya&&e.hb.call()}return this},this.gf=function(e){if(h++,0!==a.length){if(A.U(l)){var t=a[l=0];t.before&&t.before.call(t,e,h,c)}else t=a[l];for(;l<a.length;){if(t.hb&&t.hb.call(t,e,h,c))return!0;t.after&&t.after.call(t,e,h,c),A.U(l)&&(l=-1),++l<a.length&&((t=a[l]).before&&t.before.call(t,e,h,c))}}return!1}}function n(){var t;t=o.now(),s.forEach(function(e){!0!==e.gf(t)&&i(e)}),0==s.length&&e.cancel(n)}function i(e){s=s.filter(function(t){return t!==e})}var r=0,o=a.create(),s=[];this.m=function(){for(var e=s.length-1;0<=e;e--)s[e].stop();s=[]},this.J=function(){function e(){}function n(e){function t(e){return A.We(e)?e.call(void 0):e}var n,i,r=e.target,a=e.duration,s=e.aa;this.before=function(){for(var a in n={},e.P)r.hasOwnProperty(a)&&(n[a]={start:A.U(e.P[a].start)?r[a]:t(e.P[a].start),end:A.U(e.P[a].end)?r[a]:t(e.P[a].end),easing:A.U(e.P[a].easing)?C.Bb:e.P[a].easing});i=o.now()},this.hb=function(){var e=o.now()-i;for(var t in e=0===a?1:Math.min(a,e)/a,n){var u=n[t];r[t]=u.start+(u.end-u.start)*u.easing(e)}return s&&s.call(r,e),1>e}}function i(e,t,n){this.Ya=n,this.hb=function(){return e.call(t),!1}}function r(e){var t;this.before=function(n,i){t=i+e},this.hb=function(e,n){return n<t}}function a(e){var t;this.before=function(n){t=n+e},this.hb=function(e){return e<t}}function u(e){this.before=function(){e.forEach(function(e){e.start()})},this.hb=function(){for(var t=0;t<e.length;t++)if(e[t].yb())return!0;return!1}}return e.v=function(e,o){return new function(){function s(t,n,r,o){return n?(A.U(r)&&(r=e),t.Pb(new i(n,r,o))):t}var l=[];this.Pb=function(e){return l.push(e),this},this.wait=function(e){return this.Pb(new a(e))},this.be=function(e){return this.Pb(new r(e||1))},this.call=function(e,t){return s(this,e,t,!1)},this.Ya=function(e,t){return s(this,e,t,!0)},this.ea=function(t){return A.U(t.target)&&(t.target=e),this.Pb(new n(t))},this.Qa=function(e){return this.Pb(new u(e))},this.done=function(){return new t(e,l,o)},this.start=function(){return this.done().start()},this.sg=function(){var e=new v;return this.be().call(e.resolve).done(),e.promise()},this.Ta=function(){var e=this.sg();return this.start(),e}}},e.mc=function(t){return function(e){return A.U(e)?s.slice():s.filter(function(t){return t.target()===e})}(t).forEach(function(e){e.stop()}),e.v(t,void 0)},e}()}var T=function(){var e={te:function(e,t){if(e.j){e=e.j;for(var n=0;n<e.length;n++)t(e[n],n)}},zc:function(t,n){if(t.j){t=t.j;for(var i=0;i<t.length;i++)if(!1===e.zc(t[i],n)||!1===n(t[i],i))return!1}}};return e.K=e.zc,e.Ac=function(t,n){if(t.j){t=t.j;for(var i=0;i<t.length;i++)if(!1===n(t[i],i)||!1===e.Ac(t[i],n))return!1}},e.ya=function(t,n){if(t.j)for(var i=t.j,r=0;r<i.length;r++)if(!1===e.ya(i[r],n))return!1;return n(t)},e.Dj=e.ya,e.ld=function(t,n){!1!==n(t)&&e.Ac(t,n)},e.Bc=function(t,n){var i=[];return e.Ac(t,function(e){i.push(e)}),n?i.filter(n):i},e.se=function(e,t){for(e=e.parent;e&&!1!==t(e);)e=e.parent},e.Uh=function(e,t){for(e=e.parent;e&&e!==t;)e=e.parent;return!!e},e}(),k=new function(){function e(e,t){var n=e.x-t.x;return n*n+(e=e.y-t.y)*e}function t(e,t,n){for(var i=0;i<e.length;i++){var r=k.ra(e[i],e[i+1]||e[0],t,n,!0);if(r)return r}}return this.ra=function(e,t,n,i,r){var o=e.x;e=e.y;var a=t.x-o;t=t.y-e;var s=n.x,u=n.y;n=i.x-s;var l=i.y-u;if(!(1e-12>=(i=a*l-n*t)&&-1e-12<=i)&&(n=((s-=o)*l-n*(u-=e))/i,0<=(i=(s*t-a*u)/i)&&(r||1>=i)&&0<=n&&1>=n))return{x:o+a*n,y:e+t*n}},this.vg=function(e,t,n,i){var r=e.x;e=e.y;var o=t.x-r;t=t.y-e;var a=n.x;n=n.y;var s=i.x-a,u=o*(i=i.y-n)-s*t;if(!(1e-12>=u&&-1e-12<=u)&&(0<=(i=((a-r)*i-s*(n-e))/u)&&1>=i))return{x:r+o*i,y:e+t*i}},this.rc=function(e,n,i){var r=k.u(n,{}),o=k.u(i,{}),a=o.x-r.x,s=o.y-r.y,u=[];for(o=0;o<i.length;o++){var l=i[o];u.push({x:l.x-a,y:l.y-s})}for(i=[],l=[],o=0;o<e.length;o++){var c=e[o],h=t(n,r,c);h?(i.push(h),l.push(t(u,r,c))):(i.push(null),l.push(null))}for(o=0;o<e.length;o++)if(h=i[o],c=l[o],h&&c){n=e[o],u=r;var f=h.x-r.x;if(h=h.y-r.y,1e-12<(h=Math.sqrt(f*f+h*h))){f=n.x-r.x;var d=n.y-r.y;h=Math.sqrt(f*f+d*d)/h,n.x=u.x+h*(c.x-u.x),n.y=u.y+h*(c.y-u.y)}else n.x=u.x,n.y=u.y}for(o=0;o<e.length;o++)(l=e[o]).x+=a,l.y+=s},this.D=function(e,t){if(0!==e.length){for(var n,i,r=n=e[0].x,o=i=e[0].y,a=e.length;0<--a;)r=Math.min(r,e[a].x),n=Math.max(n,e[a].x),o=Math.min(o,e[a].y),i=Math.max(i,e[a].y);return t.x=r,t.y=o,t.w=n-r,t.o=i-o,t}},this.I=function(e){return[{x:e.x,y:e.y},{x:e.x+e.w,y:e.y},{x:e.x+e.w,y:e.y+e.o},{x:e.x,y:e.y+e.o}]},this.u=function(e,t){for(var n=0,i=0,r=e.length,o=e[0],a=0,s=1;s<r-1;s++){var u=e[s],l=e[s+1],c=o.y+u.y+l.y,h=(u.x-o.x)*(l.y-o.y)-(l.x-o.x)*(u.y-o.y);n+=h*(o.x+u.x+l.x),i+=h*c,a+=h}return t.x=n/(3*a),t.y=i/(3*a),t.fa=a/2,t},this.sc=function(e,t){this.u(e,t),t.r=Math.sqrt(t.fa/Math.PI)},this.Wa=function(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=e[n+1]||e[0];if(0>(t.y-i.y)*(r.x-i.x)-(t.x-i.x)*(r.y-i.y))return!1}return!0},this.Dg=function(e,t,n){var i=e.x,r=t.x;if(e.x>t.x&&(i=t.x,r=e.x),r>n.x+n.w&&(r=n.x+n.w),i<n.x&&(i=n.x),i>r)return!1;var o=e.y,a=t.y,s=t.x-e.x;return 1e-7<Math.abs(s)&&(o=(a=(t.y-e.y)/s)*i+(e=e.y-a*e.x),a=a*r+e),o>a&&(i=a,a=o,o=i),a>n.y+n.o&&(a=n.y+n.o),o<n.y&&(o=n.y),o<=a},this.de=function(n,i,r,o,a){var s;function u(r,o,a){if(i.x===h.x&&i.y===h.y)return a;var u=t(n,i,h),f=Math.sqrt(e(u,i)/(r*r+o*o));return f<l?(l=f,s=u.x,c=u.y,0!==o?Math.abs(c-i.y)/Math.abs(o):Math.abs(s-i.x)/Math.abs(r)):a}o=A.G(o,.5),a=A.G(a,.5),r=A.G(r,1);var l=Number.MAX_VALUE,c=s=0,h={x:0,y:0},f=o*r;r*=1-o,o=1-a,h.x=i.x-f,h.y=i.y-a;var d=u(f,a,d);return h.x=i.x+r,h.y=i.y-a,d=u(r,a,d),h.x=i.x-f,h.y=i.y+o,d=u(f,o,d),h.x=i.x+r,h.y=i.y+o,u(r,o,d)},this.rg=function(e,t){function n(e,t,n){var i=t.x,r=n.x;t=t.y;var o=r-i,a=(n=n.y)-t;return Math.abs(a*e.x-o*e.y-i*n+r*t)/Math.sqrt(o*o+a*a)}for(var i=e.length,r=n(t,e[i-1],e[0]),o=0;o<i-1;o++){var a=n(t,e[o],e[o+1]);a<r&&(r=a)}return r},this.Nb=function(e,t,n){var i;n={x:t.x+Math.cos(n),y:t.y-Math.sin(n)};var r=[],o=[],a=e.length;for(i=0;i<a;i++){var s=k.vg(e[i],e[(i+1)%a],t,n);if(s&&(r.push(s),2==o.push(i)))break}if(2==r.length){s=r[0],r=r[1];var u=o[0];o=o[1];var l=[r,s];for(i=u+1;i<=o;i++)l.push(e[i]);for(i=[s,r];o!=u;)o=(o+1)%a,i.push(e[o]);return e=[l,i],a=n.x-t.x,i=r.x-s.x,0===a&&(a=n.y-t.y,i=r.y-s.y),(0>a?-1:0<a?1:0)!=(0>i?-1:0<i?1:0)&&e.reverse(),e}},this.sa=function(e,t,n,i){return i.x=e*(t.x-n.x)+n.x,i.y=e*(t.y-n.y)+n.y,i},this.m=e,this.Lb=function(e,n,i){if(A.Gc(n))var r=2*Math.PI*n/360;else switch(r=k.D(e,{}),n){case"random":r=Math.random()*Math.PI*2;break;case"top":r=Math.atan2(-r.o,0);break;case"bottom":r=Math.atan2(r.o,0);break;case"left":r=Math.atan2(0,-r.w);break;case"right":r=Math.atan2(0,r.w);break;case"topleft":r=Math.atan2(-r.o,-r.w);break;case"topright":r=Math.atan2(-r.o,r.w);break;case"bottomleft":r=Math.atan2(r.o,-r.w);break;default:r=Math.atan2(r.o,r.w)}return e=t(e,n=k.u(e,{}),{x:n.x+Math.cos(r),y:n.y+Math.sin(r)}),k.sa(i,e,n,{})},this},z=new function(){function e(e,t){this.face=e,this.Xc=t,this.ic=this.Rc=null}function t(e,t,n){this.ja=[e,t,n],this.H=Array(3);var i=t.y-e.y,r=n.z-e.z,o=t.x-e.x;t=t.z-e.z;var a=n.x-e.x;e=n.y-e.y,this.Ia={x:i*r-t*e,y:t*a-o*r,z:o*e-i*a},this.Za=[],this.fd=this.visible=!1}this.T=function(i){function o(t,n,i){var r=t.ja[0],o=t.Ia,a=o.x,l=o.y;o=o.z;var c=Array(u),h=(n=n.Za).length;for(s=0;s<h;s++){var f=n[s].Xc;c[f.index]=!0,0>a*(f.x-r.x)+l*(f.y-r.y)+o*(f.z-r.z)&&e.add(t,f)}for(h=(n=i.Za).length,s=0;s<h;s++)!0!==c[(f=n[s].Xc).index]&&0>a*(f.x-r.x)+l*(f.y-r.y)+o*(f.z-r.z)&&e.add(t,f)}var a,s,u=i.length;for(a=0;a<u;a++)i[a].index=a,i[a].Sb=null;var l,c=[];if(0<(l=function(){function n(e,n,i,r){var o={x:n.x-e.x,y:n.y-e.y,z:n.z-e.z},a=i.x-e.x,s=i.y-e.y,u=i.z-e.z,l=o.y*u-o.z*s,c=o.z*a-o.x*u;return o=o.x*s-o.y*a,l*r.x+c*r.y+o*r.z>l*e.x+c*e.y+o*e.z?new t(e,n,i):new t(i,n,e)}function r(e,t,n,i){function r(e,t,n){return(e=e.ja)[((t=e[0]==t?0:e[1]==t?1:2)+1)%3]!=n?(t+2)%3:t}t.H[r(t,n,i)]=e,e.H[r(e,i,n)]=t}if(4>u)return 0;var o=i[0],a=i[1],s=i[2],l=i[3],h=n(o,a,s,l),f=n(o,s,l,a),d=n(o,a,l,s),p=n(a,s,l,o);for(r(h,f,s,o),r(h,d,o,a),r(h,p,a,s),r(f,d,l,o),r(f,p,s,l),r(d,p,l,a),c.push(h,f,d,p),o=4;o<u;o++)for(a=i[o],s=0;4>s;s++)h=(l=c[s]).ja[0],0>(f=l.Ia).x*(a.x-h.x)+f.y*(a.y-h.y)+f.z*(a.z-h.z)&&e.add(l,a);return 4}())){for(;l<u;){var h=i[l];if(h.Sb){for(a=h.Sb;null!==a;)a.face.visible=!0,a=a.ic;a=0;e:for(;a<c.length;a++){var f=c[a];if(!1===f.visible){var d=f.H;for(s=0;3>s;s++)if(!0===d[s].visible){var p=f,v=s;break e}}}f=[],d=[];var g=p,b=v;do{if(f.push(g),d.push(b),b=(b+1)%3,!1===g.H[b].visible)do{for(a=g.ja[b],g=g.H[b],s=0;3>s;s++)g.ja[s]==a&&(b=s)}while(!1===g.H[b].visible&&(g!==p||b!==v))}while(g!==p||b!==v);var m=null,_=null;for(a=0;a<f.length;a++){g=f[a],b=d[a];var y=g.H[b],C=g.ja[(b+1)%3],A=g.ja[b],x=C.y-h.y,w=A.z-h.z,S=C.x-h.x,M=C.z-h.z,T=A.x-h.x,k=A.y-h.y;if(0<r.length){var z=r.pop();z.ja[0]=h,z.ja[1]=C,z.ja[2]=A,z.Ia.x=x*w-M*k,z.Ia.y=M*T-S*w,z.Ia.z=S*k-x*T,z.Za.length=0,z.visible=!1,z.fd=!0}else z={ja:[h,C,A],H:Array(3),Ia:{x:x*w-M*k,y:M*T-S*w,z:S*k-x*T},Za:[],visible:!1};c.push(z),g.H[b]=z,z.H[1]=g,null!==_&&(_.H[0]=z,z.H[2]=_),_=z,null===m&&(m=z),o(z,g,y)}for(_.H[0]=m,m.H[2]=_,a=[],s=0;s<c.length;s++)if(!0===(f=c[s]).visible){for(g=(d=f.Za).length,h=0;h<g;h++)m=(b=d[h]).Rc,_=b.ic,null!==m&&(m.ic=_),null!==_&&(_.Rc=m),null===m&&(b.Xc.Sb=_),n.push(b);f.fd&&r.push(f)}else a.push(f);c=a}l++}for(a=0;a<c.length;a++)(f=c[a]).fd&&r.push(f)}return{ve:c}},e.add=function(t,i){if(0<n.length){var r=n.pop();r.face=t,r.Xc=i,r.ic=null,r.Rc=null}else r=new e(t,i);t.Za.push(r),null!==(t=i.Sb)&&(t.Rc=r),r.ic=t,i.Sb=r};for(var n=Array(2e3),i=0;i<n.length;i++)n[i]=new e(null,null);var r=Array(1e3);for(i=0;i<r.length;i++)r[i]={ja:Array(3),H:Array(3),Ia:{x:0,y:0,z:0},Za:[],visible:!1}},B=new function(){function e(e,t,n,i,r,o,a,s){var u=(e-n)*(o-s)-(t-i)*(r-a);if(!(1e-12>Math.abs(u)))return{x:((e*i-t*n)*(r-a)-(e-n)*(r*s-o*a))/u,y:((e*i-t*n)*(o-s)-(t-i)*(r*s-o*a))/u}}return this.Na=function(t,n){for(var i=t[0],r=i.x,o=i.y,a=i.x,s=i.y,u=t.length-1;0<u;u--)i=t[u],r=Math.min(r,i.x),o=Math.min(o,i.y),a=Math.max(a,i.x),s=Math.max(s,i.y);if(!(a-r<3*n||s-o<3*n)){e:{for(null==(i=!0)&&(i=!1),r=[],o=t.length,a=0;a<=o;a++){s=t[a%o],u=t[(a+1)%o];var l=t[(a+2)%o],c=u.x-s.x,h=u.y-s.y,f=Math.sqrt(c*c+h*h),d=n*c/f,p=n*h/f;if(c=l.x-u.x,h=l.y-u.y,c=n*c/(f=Math.sqrt(c*c+h*h)),h=n*h/f,(s=e(s.x-p,s.y+d,u.x-p,u.y+d,u.x-h,u.y+c,l.x-h,l.y+c))&&(r.push(s),l=r.length,i&&3<=l&&(s=r[l-3],u=r[l-2],l=r[l-1],0>(u.x-s.x)*(l.y-s.y)-(l.x-s.x)*(u.y-s.y)))){i=void 0;break e}}r.shift(),i=3>r.length?void 0:r}if(!i)e:{for(r=t.slice(0),i=0;i<t.length;i++){if(a=t[i%t.length],l=(u=t[(i+1)%t.length]).x-a.x,o=u.y-a.y,l=n*l/(s=Math.sqrt(l*l+o*o)),s=n*o/s,o=a.x-s,a=a.y+l,s=u.x-s,l=u.y+l,0!=r.length){for(p=o-s,h=a-l,d=[],c=f=!0,u=0;u<r.length;u++){var v=p*(a-r[u].y)-(o-r[u].x)*h;1e-12>=v&&-1e-12<=v&&(v=0),d.push(v),0<v&&(f=!1),0>v&&(c=!1)}if(f)r=[];else if(!c){for(p=[],u=0;u<r.length;u++)h=(u+1)%r.length,f=d[u],c=d[h],0<=f&&p.push(r[u]),(0<f&&0>c||0>f&&0<c)&&p.push(e(r[u].x,r[u].y,r[h].x,r[h].y,o,a,s,l));r=p}}if(3>r.length){i=void 0;break e}}i=r}return i}},this},D=new function(){function e(e){for(var t=e[0].x,n=e[0].y,i=t,r=n,o=1;o<e.length;o++){var a=e[o];t=Math.min(t,a.x),n=Math.min(n,a.y),i=Math.max(i,a.x),r=Math.max(r,a.y)}return[{x:t+2*(e=i-t),y:n+2*(r-=n),w:0},{x:t+2*e,y:n-2*r,w:0},{x:t-2*e,y:n+2*r,w:0}]}this.T=function(t,n){function i(e){var t=[e[0]],n=e[0][0],i=e[0][1],r=e.length,o=1;e:for(;o<r;o++)for(var a=1;a<r;a++){var s=e[a];if(null!==s){if(s[1]===n){if(t.unshift(s),n=s[0],e[a]=null,t.length===r)break e;continue}if(s[0]===i&&(t.push(s),i=s[1],e[a]=null,t.length===r))break e}}return t[0][0]!=t[r-1][1]&&t.push([t[r-1][1],t[0][0]]),t}function r(e,t,n,i){var r,o,a=[],s=[],u=n.length,l=t.length,c=0,h=-1,f=-1,d=i;for(i=0;i<u;i++){var p=(d+1)%u,v=n[d][0],g=n[p][0];if(1e-12<k.m(v.da,g.da))if(v.kb&&g.kb){var b=[],m=[];for(r=0;r<l;r++){var _=(c+1)%l;if((o=k.ra(t[c],t[_],v.da,g.da,!1))&&(m.push(c),2===b.push(o)))break;c=_}if(2===b.length){if(r=b[1],v=(o=k.m(v.da,b[0]))<(r=k.m(v.da,r))?0:1,o=o<r?1:0,r=m[v],-1===h&&(h=r),-1!==f)for(;r!=f;)f=(f+1)%l,a.push(t[f]),s.push(null);a.push(b[v],b[o]),s.push(n[d][2],null),f=m[o]}}else if(v.kb&&!g.kb)for(r=0;r<l;r++){if(_=(c+1)%l,o=k.ra(t[c],t[_],v.da,g.da,!1)){if(-1!==f)for(b=f;c!=b;)b=(b+1)%l,a.push(t[b]),s.push(null);a.push(o),s.push(n[d][2]),-1===h&&(h=c);break}c=_}else if(!v.kb&&g.kb)for(r=0;r<l;r++){if(_=(c+1)%l,o=k.ra(t[c],t[_],v.da,g.da,!1)){a.push(v.da,o),s.push(n[d][2],null),f=c;break}c=_}else a.push(v.da),s.push(n[d][2]);d=p}if(0==a.length)s=a=null;else if(-1!==f)for(;h!=f;)f=(f+1)%l,a.push(t[f]),s.push(null);e.B=a,e.H=s}if(1===t.length)t[0].B=n.slice(0),t[0].H=[];else{var o,a=e(n),s=[];for(o=0;o<a.length;o++){var u=a[o];s.push({x:u.x,y:u.y,z:u.x*u.x+u.y*u.y-u.w})}for(o=0;o<t.length;o++)(u=t[o]).B=null,s.push({x:u.x,y:u.y,z:u.x*u.x+u.y*u.y-u.w});var l=z.T(s).ve;for(function(){for(o=0;o<l.length;o++){var e=l[o],t=e.ja,n=t[0],i=t[1],r=t[2];t=n.x;var a=n.y;n=n.z;var s=i.x,u=i.y;i=i.z;var c=r.x,h=r.y;r=r.z;var f=t*(u-h)+s*(h-a)+c*(a-u);e.da={x:-(a*(i-r)+u*(r-n)+h*(n-i))/f/2,y:-(n*(s-c)+i*(c-t)+r*(t-s))/f/2}}}(),function(e){for(o=0;o<l.length;o++){var t=l[o];t.kb=!k.Wa(e,t.da)}}(n),s=function(e,t){var n,i=Array(t.length);for(n=0;n<i.length;n++)i[n]=[];for(n=0;n<e.length;n++){var r=e[n];if(!(0>r.Ia.z))for(var o=r.H,a=0;a<o.length;a++){var s=o[a];if(!(0>s.Ia.z)){var u=r.ja,l=u[(a+1)%3].index;u=u[a].index,2<l&&i[l-3].push([r,s,2<u?t[u-3]:null])}}}return i}(l,t),o=0;o<t.length;o++)if(0!==(u=s[o]).length){var c=t[o],h=(u=i(u)).length,f=-1;for(a=0;a<h;a++)u[a][0].kb&&(f=a);if(0<=f)r(c,n,u,f);else{f=[];var d=[];for(a=0;a<h;a++)1e-12<k.m(u[a][0].da,u[(a+1)%h][0].da)&&(f.push(u[a][0].da),d.push(u[a][2]));c.B=f,c.H=d}c.B&&3>c.B.length&&(c.B=null,c.H=null)}}},this.pc=function(t,n){var i,r=!1,o=t.length;for(i=0;i<o;i++){var a=t[i];null===a.B&&(r=!0),a.ce=a.w}if(r){r=e(n);var s=[];for(i=t.length,a=0;a<r.length;a++){var u=r[a];s.push({x:u.x,y:u.y,z:u.x*u.x+u.y*u.y})}for(a=0;a<i;a++)u=t[a],s.push({x:u.x,y:u.y,z:u.x*u.x+u.y*u.y});for(u=z.T(s).ve,r=Array(i),a=0;a<i;a++)r[a]={};for(s=u.length,a=0;a<s;a++){var l=u[a];if(0<l.Ia.z){var c=l.ja,h=c.length;for(l=0;l<h-1;l++){var f=c[l].index-3,d=c[l+1].index-3;0<=f&&0<=d&&(r[f][d]=!0,r[d][f]=!0)}l=c[0].index-3,0<=d&&0<=l&&(r[d][l]=!0,r[l][d]=!0)}}for(a=0;a<i;a++){for(var p in l=r[a],u=t[a],d=Number.MAX_VALUE,s=null,l)l=t[p],d>(c=k.m(u,l))&&(d=c,s=l);u.Kj=s,u.ef=Math.sqrt(d)}for(i=0;i<o;i++)a=t[i],p=Math.min(Math.sqrt(a.w),.95*a.ef),a.w=p*p;for(this.T(t,n),i=0;i<o;i++)(a=t[i]).ce!==a.w&&0<a.nc&&(n=Math.min(a.nc,a.ce-a.w),a.w+=n,a.nc-=n)}}},E=new function(){this.qg=function(e){for(var t=0,n=(e=e.j).length,i=0;i<n;i++){var r=e[i];if(r.B){var o=r.x,a=r.y;k.u(r.B,r),t<(r=(0<(o-=r.x)?o:-o)+(0<(r=a-r.y)?r:-r))&&(t=r)}}return t},this.va=function(e,t){var n=e.j;switch(t){case"random":return e.j[Math.floor(n.length*Math.random())];case"topleft":var i=(e=n[0]).x+e.y;for(t=1;t<n.length;t++){var r=n[t],o=r.x+r.y;o<i&&(i=o,e=r)}return e;case"bottomright":for(i=(e=n[0]).x+e.y,t=1;t<n.length;t++)(o=(r=n[t]).x+r.y)>i&&(i=o,e=r);return e;default:for(r=n[0],i=o=k.m(e,r),t=n.length-1;1<=t;t--){var a=n[t];(o=k.m(e,a))<i&&(i=o,r=a)}return r}},this.wa=function(e,t,n){var i=e.j;if(i[0].H){var r,o=i.length;for(e=0;e<o;e++)i[e].Yc=!1,i[e].bc=0;var a=r=0;for((o=[])[r++]=t||i[0],t=t.bc=0;a<r;)if(!(i=o[a++]).Yc&&i.H){n(i,t++,i.bc),i.Yc=!0;var s=i.H,u=s.length;for(e=0;e<u;e++){var l=s[e];l&&!0!==l.Yc&&(0===l.bc&&(l.bc=i.bc+1),o[r++]=l)}}}else for(e=0;e<i.length;e++)n(i[e],e,1)}},j=function(){function e(e,s,u,l,c,d,p,v){var g=A.extend({},o,e);1>e.lineHeight&&(e.lineHeight=1),e=g.fontFamily;var b=g.fontStyle+" "+g.fontVariant+" "+g.fontWeight,m=g.ib,_=g.Mc,y=b+" "+e;g.ze=y;var C={ha:!1,ec:0,fontSize:0};if(s.save(),s.font=b+" 100px "+e,s.textBaseline="middle",s.textAlign="center",function(e,t){t=t.ze;var n=a[t];void 0===n&&(n={},a[t]=n),n[" "]=e.measureText(" ").width,n["…"]=e.measureText("…").width}(s,g),u=u.trim(),h.text=u,function(e,t,n,i){for(var r,o,a=0;a<e.length;a++)e[a].y===t.y&&(void 0===r?r=a:o=a);void 0===o&&(o=r),r!==o&&e[o].x<e[r].x&&(a=r,r=o,o=a),i.B=e,i.D=t,i.hd=n,i.cf=r,i.df=o}(l,c,d,f),/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/.test(u)?(n(h),t(s,h,y),i(g,h,f,_,m,!0,C)):(t(s,h,y),i(g,h,f,_,m,!1,C),!C.ha&&(p&&(n(h),t(s,h,y)),v||p)&&(v&&(C.Xb=!0),i(g,h,f,_,_,!0,C))),C.ha){var x="",w=0,S=Number.MAX_VALUE,M=Number.MIN_VALUE;r(g,h,C.ec,C.fontSize,f,C.Xb,function(e,t){0<x.length&&" "===t&&(x+=" "),x+=e},function(e,t,n,i,r){""===i&&(x+="‐"),s.save(),s.translate(d.x,t),e=C.fontSize/100,s.scale(e,e),s.fillText(x,0,0),s.restore(),x=n,w<r&&(w=r),S>t&&(S=t),M<t&&(M=t)}),C.box={x:d.x-w/2,y:S-C.fontSize/2,w,o:M-S+C.fontSize},s.restore()}else s.clear&&s.clear();return C}function t(e,t,n){var i,r=t.text.split(/(\n|[ \f\r\t\v\u2028\u2029]+|\u00ad+|\u200b+)/),o=[],s=[],u=r.length>>>1;for(i=0;i<u;i++)o.push(r[2*i]),s.push(r[2*i+1]);for(2*i<r.length&&(o.push(r[2*i]),s.push(void 0)),n=a[n],i=0;i<o.length;i++)void 0===(u=n[r=o[i]])&&(u=e.measureText(r).width,n[r]=u);t.Zc=o,t.Xf=s}function n(e){for(var t=e.text.split(/\s+/),n=[],i={".":!0,",":!0,";":!0,"?":!0,"!":!0,":":!0,"。":!0},r=0;r<t.length;r++){var o=t[r];if(3<o.length){var a="";a+=o.charAt(0),a+=o.charAt(1);for(var s=2;s<o.length-2;s++){var u=o.charAt(s);i[u]||(a+=""),a+=u}a+="",a+=o.charAt(o.length-2),a+=o.charAt(o.length-1),n.push(a)}else n.push(o)}e.text=n.join(" ")}function i(e,t,n,i,o,a,s){var u=e.lineHeight,l=Math.max(e.Ua,.001),c=e.jb,h=t.Zc,f=n.hd,d=n.D,p=void 0,v=void 0;switch(e.verticalAlign){case"top":f=d.y+d.o-f.y;break;case"bottom":f=f.y-d.y;break;default:f=2*Math.min(f.y-d.y,d.y+d.o-f.y)}if(!(0>=(c=Math.min(f,c*n.D.o)))){f=i,o=Math.min(o,c),d=Math.min(1,c/Math.max(20,t.Zc.length));do{var g=(f+o)/2,b=Math.min(h.length,Math.floor((c+g*(u-1-2*l))/(g*u))),m=void 0;if(0<b)for(var _=1,y=b;;){var C=Math.floor((_+y)/2);if(r(e,t,C,g,n,a&&g===i&&C===b,null,null)){if(_===(y=p=m=C))break}else if((_=C+1)>y)break}void 0!==m?f=v=g:o=g}while(o-f>d);return void 0===v?(s.ha=!1,s.fontSize=0):(s.ha=!0,s.fontSize=v,s.ec=p,s.Xb=a&&g===f),s}s.ha=!1}function r(e,t,n,i,r,o,u,h){var f=e.eb,d=i*(e.lineHeight-1),p=Math.max(e.Ua,.001),v=a[e.ze],g=t.Zc;t=t.Xf;var b=r.B,m=r.hd,_=r.cf,y=r.df;switch(e.verticalAlign){case"top":r=m.y+i/2+i*p;var C=1;break;case"bottom":r=m.y-(i*n+d*(n-1))+i/2-i*p,C=-1;break;default:r=m.y-(i*(n-1)/2+d*(n-1)/2),C=1}for(e=r,p=0;p<n;p++)s[2*p]=r-i/2,s[2*p+1]=r+i/2,r+=C*i,r+=C*d;for(;l.length<s.length;)l.push(Array(2));p=s,r=2*n,C=l;var A=b.length,x=_;_=(_-1+A)%A;var w=y;y=(y+1)%A;for(var S=0;S<r;){for(var M=p[S],T=b[_];T.y<M;)x=_,T=b[_=(_-1+A)%A];for(var k=b[y];k.y<M;)w=y,k=b[y=(y+1)%A];var z=b[x],B=b[w];k=B.x+(k.x-B.x)*(M-B.y)/(k.y-B.y),C[S][0]=z.x+(T.x-z.x)*(M-z.y)/(T.y-z.y),C[S][1]=k,S++}for(p=0;p<n;p++)b=2*p,C=(C=(r=m.x)-l[b][0])<(A=l[b][1]-r)?C:A,b=(A=r-l[b+1][0])<(b=l[b+1][1]-r)?A:b,c[p]=2*(C<b?C:b)-f*i;for(x=v[" "]*i/100,C=v["…"]*i/100,_=c[f=0],m=0,b=void 0,p=0;p<g.length;p++){if(r=g[p],w=t[p],m+(A=v[r]*i/100)<_&&g.length-p>=n-f&&"\n"!=b)m+=A," "===w&&(m+=x),u&&u(r,b);else{if(A>_&&(f!==n-1||!o))return!1;if(f+1>=n)return!!o&&(((n=_-m-C)>C||A>C)&&(0<(n=Math.floor(r.length*n/A))&&u&&u(r.substring(0,n),b)),u&&u("…",void 0),h&&h(f,e,r,b,m),!0);if(f++,h&&h(f,e,r,b,m),e+=i,e+=d,m=A," "===w&&(m+=x),A>(_=c[f])&&(f!==n||!o))return!1}b=w}return h&&h(f,e,void 0,void 0,m),!0}var o={ib:72,Mc:0,lineHeight:1.05,eb:1,Ua:.5,jb:.9,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",verticalAlign:"center"},a={},s=[],l=[],c=[],h={text:"",Zc:void 0,Xf:void 0},f={B:void 0,D:void 0,hd:void 0,cf:0,df:0};return{xe:e,ke:function(t,n,i,r,o,a,s,u,l,c,h,f){var d=0,p=0;if(i=i.toString().trim(),!f&&l.result&&i===l.eg&&Math.abs(c-l.fe)/c<=h){var v=l.result;v.ha&&(d=a.x-l.lg,p=a.y-l.mg,h=l.Wc,n.save(),n.translate(d,p),h.La(n),n.restore())}return v||((h=l.Wc).clear(),(v=e(t,h,i,r,o,a,s,u)).ha&&h.La(n),l.fe=c,l.lg=a.x,l.mg=a.y,l.result=v,l.eg=i),v.ha?{ha:!0,ec:v.ec,fontSize:v.fontSize,box:{x:v.box.x+d,y:v.box.y+p,w:v.box.w,o:v.box.o},Xb:v.Xb}:{ha:!1}},li:function(){return{fe:0,lg:0,mg:0,result:void 0,Wc:new u,eg:void 0}},xa:o}}(),L=new function(){function e(e,t){return function(i,r,o,a){function s(e,t,n,i,r){e.B=[{x:t,y:n},{x:t+i,y:n},{x:t+i,y:n+r},{x:t,y:n+r}]}var u=r.x,l=r.y,c=r.w;if(r=r.o,0!=i.length)if(1==i.length)i[0].x=u+c/2,i[0].y=l+r/2,i[0].sd=0,o&&s(i[0],u,l,c,r);else{i=i.slice(0);for(var h=0,f=0;f<i.length;f++)h+=i[f].weight;for(h=c*r/h,f=0;f<i.length;f++)i[f].oc=i[f].weight*h;(function e(i,r,a,u,l){if(0!=i.length){var c=i.shift(),h=n(c);if(t(u,l)){var f=r,d=h/u;do{var p=(h=c.shift()).oc,v=p/d,g=a,b=d;(p=h).x=f+v/2,p.y=g+b/2,o&&s(h,f,a,v,d),f+=v}while(0<c.length);return e(i,r,a+d,u,l-d)}f=a,v=h/l;do{g=f,b=d=(p=(h=c.shift()).oc)/v,(p=h).x=r+v/2,p.y=g+b/2,o&&s(h,r,f,v,d),f+=d}while(0<c.length);return e(i,r+v,a,u-v,l)}})(a=e(i,c,r,[[i.shift()]],a),u,l,c,r)}}}function t(e,t,i,r){function o(e){return Math.max(Math.pow(u*e/s,i),Math.pow(s/(u*e),r))}var a=n(e),s=a*a,u=t*t;for(t=o(e[0].oc),a=1;a<e.length;a++)t=Math.max(t,o(e[a].oc));return t}function n(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].oc;return t}this.ee=e(function(e,i,r,o,a){for(var s=1/(a=Math.pow(2,a)),u=i<r;0<e.length;){var l=o[o.length-1],c=e.shift(),h=u?i:r,f=u?a:s,d=u?s:a,p=t(l,h,f,d);l.push(c),p<(h=t(l,h,f,d))&&(l.pop(),o.push([c]),u?r-=n(l)/i:i-=n(l)/r,u=i<r)}return o},function(e,t){return e<t}),this.Ob=e(function(e,n,i,r,o){function a(e){if(1<r.length){for(var i=r[r.length-1],o=r[r.length-2].slice(0),a=0;a<i.length;a++)o.push(i[a]);t(o,n,s,u)<e&&r.splice(-2,2,o)}}for(var s=Math.pow(2,o),u=1/s;0<e.length;){if(o=t(i=r[r.length-1],n,s,u),0==e.length)return;var l=e.shift();i.push(l),o<t(i,n,s,u)&&(i.pop(),a(o),r.push([l]))}return a(t(r[r.length-1],n,s,u)),r},function(){return!0})};function O(e){var t,n={},i=e.Hd;e.i.subscribe("model:loaded",function(e){t=e}),this.M=function(){e.i.C("api:initialized",this)},this.uc=function(e,t,r,o){this.bd(n,t),this.cd(n,t),this.ad(n,t,!1),o&&o(n),e(i,n,r)},this.gd=function(e,n,i,r,o,a,s){if(e){for(e=n.length-1;0<=e;e--){var u=n[e],l=A.extend({group:u.group},o);l[i]=r(u),a(l)}0<n.length&&s(A.extend({groups:T.Bc(t,r).map(function(e){return e.group})},o))}},this.cd=function(e,t){return e.selected=t.selected,e.hovered=t.vb,e.open=t.open,e.openness=t.Db,e.exposed=t.S,e.exposure=t.ga,e.transitionProgress=t.pa,e.revealed=!t.W.Aa(),e.browseable=t.Da?t.N:void 0,e.visible=t.Y,e.labelDrawn=t.ma&&t.ma.ha,e},this.bd=function(e,t){var n=t.parent;return e.group=t.group,e.parent=n&&n.group,e.weightNormalized=t.jg,e.level=t.level-1,e.siblingCount=n&&n.j.length,e.hasChildren=!t.empty(),e.index=t.index,e.indexByWeight=t.sd,e.description=t.description,e.attribution=t.attribution,e},this.ad=function(e,t,n){if(e.polygonCenterX=t.O.x,e.polygonCenterY=t.O.y,e.polygonArea=t.O.fa,e.boxLeft=t.D.x,e.boxTop=t.D.y,e.boxWidth=t.D.w,e.boxHeight=t.D.o,t.ma&&t.ma.ha){var i=t.ma.box;e.labelBoxLeft=i.x,e.labelBoxTop=i.y,e.labelBoxWidth=i.w,e.labelBoxHeight=i.o,e.labelFontSize=t.ma.fontSize}return n&&t.$&&(e.polygon=t.$.map(function(e){return{x:e.x,y:e.y}}),e.neighbors=t.H&&t.H.map(function(e){return e&&e.group})),e}}var I=new function(){var e=window.console;this.Ga=function(e){throw"FoamTree: "+e},this.info=function(t){e.info("FoamTree: "+t)},this.warn=function(t){e.warn("FoamTree: "+t)}};function P(e){function t(t,i){t.j=[],t.Fa=!0;var o=r(i),a=0;if(("flattened"===e.ob||"always"===e.Lg&&t.group&&t.group.description)&&0<i.length&&0<t.level){var s=i.reduce(function(e,t){return e+A.G(t.weight,1)},0),u=n(t.group,!1);u.description=!0,u.weight=s*e.Vb,u.index=a++,u.parent=t,u.level=t.level+1,u.id=u.id+"_d",t.j.push(u)}for(s=0;s<i.length;s++){var l=i[s];if(0>=(u=A.G(l.weight,1))){if(!e.jj)continue;u=.9*o}(l=n(l,!0)).weight=u,l.index=a,l.parent=t,l.level=t.level+1,t.j.push(l),a++}}function n(e,t){var n=new ne;return i(e),n.id=e.__id,n.group=e,t&&(l[e.__id]=n),n}function i(e){A.has(e,"__id")||(Object.defineProperty(e,"__id",{enumerable:!1,configurable:!1,writable:!1,value:u}),u++)}function r(e){for(var t=Number.MAX_VALUE,n=0;n<e.length;n++){var i=e[n].weight;0<i&&t>i&&(t=i)}return t===Number.MAX_VALUE&&(t=1),t}function o(e){if(!e.empty()){var t,n=0;for(t=(e=e.j).length-1;0<=t;t--){var i=e[t].weight;n<i&&(n=i)}for(t=e.length-1;0<=t;t--)(i=e[t]).jg=i.weight/n}}function a(e){if(!e.empty()){e=e.j.slice(0).sort(function(e,t){return e.weight<t.weight?1:e.weight>t.weight?-1:e.index-t.index});for(var t=0;t<e.length;t++)e[t].sd=t}}function s(){for(var t=p.j.reduce(function(e,t){return e+t.weight},0),n=0;n<p.j.length;n++){var i=p.j[n];i.attribution&&(i.weight=Math.max(.025,e.Cg)*t)}}var u,l,c,h,f,d=this,p=new ne;this.M=function(){return p},this.T=function(n){var i=n.group.groups,r=e.di;return!!(!n.j&&!n.description&&i&&0<i.length&&f+i.length<=r)&&(f+=i.length,t(n,i),o(n),a(n),!0)},this.load=function(e){p.group=e,p.ua=!1,p.N=!1,p.Da=!1,p.open=!0,p.Db=1,u=function e(t,n){if(!t)return n;if(n=Math.max(n,t.__id||0),(t=t.groups)&&0<t.length)for(var i=t.length-1;0<=i;i--)n=e(t[i],n);return n}(e,0)+1,l={},c={},h={},f=0,e&&(i(e),l[e.__id]=p,A.U(e.id)||(c[e.id]=e),function e(t){var n=t.groups;if(n)for(var r=0;r<n.length;r++){var o=n[r];i(o);var a=o.__id;l[a]=null,h[a]=t,a=o.id,A.U(a)||(c[a]=o),e(o)}}(e)),t(p,e&&e.groups||[]),function(e){if(!e.empty()){var t=n({attribution:!0});t.index=e.j.length,t.parent=e,t.level=e.level+1,t.attribution=!0,e.j.push(t)}}(p),o(p),s(),a(p)},this.update=function(e){e.forEach(function(e){T.ya(e,function(e){if(!e.empty())for(var t=r((e=e.j).map(function(e){return e.group})),n=0;n<e.length;n++){var i=e[n];i.weight=0<i.group.weight?i.group.weight:.9*t}}),o(e),e===p&&s(),a(e)})},this.u=function(e){return function(){if(A.U(e)||A.Ye(e))return[];if(Array.isArray(e))return e.map(d.m,d);if(A.xb(e)){if(A.has(e,"__id"))return[d.m(e)];if(A.has(e,"all")){var t=[];return T.K(p,function(e){t.push(e)}),t}if(A.has(e,"groups"))return d.u(e.groups)}return[d.m(e)]}().filter(function(e){return void 0!==e})},this.m=function(e){if(A.xb(e)&&A.has(e,"__id")){if(e=e.__id,A.has(l,e)){if(null===l[e]){for(var t=h[e],n=[];t&&(t=t.__id,n.push(t),!l[t]);)t=h[t];for(t=n.length-1;0<=t;t--)this.T(l[n[t]])}return l[e]}}else if(A.has(c,e))return this.m(c[e])},this.I=function(e,t,n){return{j:d.u(e),Ca:A.G(e&&e[t],!0),Ba:A.G(e&&e.keepPrevious,n)}}}function N(e,t,n){var i={};t.Ba&&T.K(e,function(e){n(e)&&(i[e.id]=e)}),e=t.j,t=t.Ca;for(var r=e.length-1;0<=r;r--){var o=e[r];i[o.id]=t?o:void 0}var a=[];return A.za(i,function(e){void 0!==e&&a.push(e)}),a}function R(e){function t(e,t){e=e.ga,t.opacity=1,t.Ea=1,t.qa=0>e?1-w.Ph/100*e:1,t.saturation=0>e?1-w.Qh/100*e:1,t.ca=0>e?1+.5*e:1}function n(e){return e=e.ga,Math.max(.001,0===e?1:1+e*(w.Pa-1))}function i(t,n,i,u){var l=o();if(0===t.length&&!l)return(new v).resolve().promise();var b=t.reduce(function(e,t){return e[t.id]=!0,e},{}),A=[];if(t=[],m.reduce(function(e,t){return e||b[t.id]&&(!t.S||1!==t.ga)||!b[t.id]&&!t.parent.S&&(t.S||-1!==t.ga)},!1)){var S=[],M={};m.forEach(function(e){b[e.id]&&(e.S||A.push(e),e.S=!0,T.ya(e,function(e){S.push(a(e,1)),M[e.id]=!0}))}),0<S.length?(T.K(c,function(e){b[e.id]||(e.S&&A.push(e),e.S=!1),M[e.id]||S.push(a(e,-1))}),t.push(p.J.v({}).Qa(S).call(s).Ta()),r(b),t.push(function(t){return t||!d.Ed()?p.J.v(h).ea({duration:.7*w.Oa,P:{x:{end:_.x+_.w/2,easing:C.ba(w.Zb)},y:{end:_.y+_.o/2,easing:C.ba(w.Zb)}},aa:function(){e.i.C("foamtree:dirty",!0)}}).Ta():(h.x=_.x+_.w/2,h.y=_.y+_.o/2,(new v).resolve().promise())}(l)),i&&(d.lc(_,w.ac,w.Oa,C.ba(w.Zb)),d.Gb())):(t.push(function(e){var t=[],n=[];return T.K(c,function(e){0!==e.ga&&n.push(a(e,0,function(){this.S=!1}))}),t.push(p.J.v({}).Qa(n).Ta()),d.content(0,0,y,x),e&&(t.push(d.reset(w.Oa,C.ba(w.Zb))),d.Gb()),g(t)}(i)),n&&T.K(c,function(e){e.S&&A.push(e)}))}return g(t).then(function(){f.gd(n,A,"exposed",function(e){return e.S},{indirect:u},e.options.pf,e.options.nf)})}function r(e){m.reduce(u(!0,void 0,function(t){return t.S||e[t.id]}),l(_)),_.x-=_.w*(w.Pa-1)/2,_.y-=_.o*(w.Pa-1)/2,_.w*=w.Pa,_.o*=w.Pa}function o(){return!!m&&m.reduce(function(e,t){return e||0!==t.ga},!1)}function a(n,i,r){var o=p.J.v(n);return 0===n.ga&&0!==i&&o.call(function(){this.tc(S),this.rb(t)}),o.ea({duration:w.Oa,P:{ga:{end:i,easing:C.ba(w.Zb)}},aa:function(){c.L=!0,c.Ha=!0,e.i.C("foamtree:dirty",!0)}}),0===i&&o.call(function(){this.Ad(),this.fc(),this.Tc(S),this.Sc(t)}),o.call(r).done()}function s(){var e=c.j.reduce(u(!1,S.transformPoint,void 0),l({})).box,t=w.ac,n=Math.min(e.x,_.x-_.w*t),i=Math.min(e.y,_.y-_.o*t);d.content(n,i,Math.max(e.x+e.w,_.x+_.w*(1+t))-n,Math.max(e.y+e.o,_.y+_.o*(1+t))-i)}function u(e,t,n){var i={};return function(r,o){if(!n||n(o)){for(var a,s=e&&o.$||o.B,u=s.length-1;0<=u;u--)a=void 0!==t?t(o,s[u],i):s[u],r.Nc=Math.min(r.Nc,a.x),r.Bd=Math.max(r.Bd,a.x),r.Oc=Math.min(r.Oc,a.y),r.Cd=Math.max(r.Cd,a.y);r.box.x=r.Nc,r.box.y=r.Oc,r.box.w=r.Bd-r.Nc,r.box.o=r.Cd-r.Oc}return r}}function l(e){return{Nc:Number.MAX_VALUE,Bd:Number.MIN_VALUE,Oc:Number.MAX_VALUE,Cd:Number.MIN_VALUE,box:e}}var c,h,f,d,p,b,m,_,y,x,w=e.options,S={af:function(e,t){return t.scale=n(e),!1},Jb:function(e,t){e=n(e);var i=h.x,r=h.y;t.translate(i,r),t.scale(e,e),t.translate(-i,-r)},Kb:function(e,t,i){e=n(e);var r=h.x,o=h.y;i.x=(t.x-r)/e+r,i.y=(t.y-o)/e+o},transformPoint:function(e,t,i){e=n(e);var r=h.x,o=h.y;return i.x=(t.x-r)*e+r,i.y=(t.y-o)*e+o,i}};e.i.subscribe("stage:initialized",function(e,t,n,i){h={x:n/2,y:i/2},_={x:0,y:0,w:y=n,o:x=i}}),e.i.subscribe("stage:resized",function(e,t,n,i){h.x*=n/e,h.y*=i/t,y=n,x=i}),e.i.subscribe("api:initialized",function(e){f=e}),e.i.subscribe("zoom:initialized",function(e){d=e}),e.i.subscribe("model:loaded",function(e,t){c=e,m=t}),e.i.subscribe("model:childrenAttached",function(e){m=e}),e.i.subscribe("timeline:initialized",function(e){p=e}),e.i.subscribe("openclose:initialized",function(e){b=e});var M=["groupExposureScale","groupUnexposureScale","groupExposureZoomMargin"];e.i.subscribe("options:changed",function(e){A.cb(e,M)&&o()&&(r({}),d.qj(_,w.ac),d.Gb())}),this.M=function(){e.i.C("expose:initialized",this)},this.Yb=function(e,t,n,r){var o=e.j.reduce(function(e,t){for(;t=t.parent;)e[t.id]=!0;return e},{}),a=N(c,e,function(e){return e.S&&!e.open&&!o[e.id]}),s=new v;return function(e,t){for(var n=e.reduce(function(e,t){return e[t.id]=t,e},{}),i=e.length-1;0<=i;i--)T.K(e[i],function(e){n[e.id]=void 0});var r=[];A.za(n,function(e){e&&T.se(e,function(e){e.open||r.push(e)})});var o=[];return A.za(n,function(e){e&&e.open&&o.push(e)}),e=[],0!==r.length&&e.push(b.Cb({j:r,Ca:!0,Ba:!0},t,!0)),g(e)}(a,t).then(function(){i(a.filter(function(e){return e.B&&e.$}),t,n,r).then(s.resolve)}),s.promise()}}function F(e){var t,n,i=[],r=new b(A.oa);e.i.subscribe("stage:initialized",function(){}),e.i.subscribe("stage:resized",function(){}),e.i.subscribe("stage:newLayer",function(e,t){i.push(t)}),e.i.subscribe("model:loaded",function(e){t=e,r.clear()}),e.i.subscribe("zoom:initialized",function(){}),e.i.subscribe("timeline:initialized",function(e){n=e});var o=!1;e.i.subscribe("render:renderers:resolved",function(e){o=e.labelPlainFill||!1});var a=new function(){var e=0,t=0,n=0,i=0,r=0,o=0;this.Mb=function(a,s,u,l,c){t=1-(e=1+s),n=u,i=l,r=c,o=a},this.af=function(o,a){return a.scale=e+t*o.pa,0!==r||0!==n||0!==i},this.Jb=function(a,s){var u=e+t*a.pa,l=a.parent,c=o*a.x+(1-o)*l.x,h=o*a.y+(1-o)*l.y;s.translate(c,h),s.scale(u,u),a=1-a.pa,s.rotate(r*Math.PI*a),s.translate(-c,-h),s.translate(l.D.w*n*a,l.D.o*i*a)},this.Kb=function(r,a,s){var u=e+t*r.pa,l=o*r.x+(1-o)*r.parent.x,c=o*r.y+(1-o)*r.parent.y,h=1-r.pa;r=r.parent,s.x=(a.x-l)/u+l-r.D.w*n*h,s.y=(a.y-c)/u+c-r.D.o*i*h},this.transformPoint=function(r,a,s){var u=e+t*r.pa,l=o*r.x+(1-o)*r.parent.x,c=o*r.y+(1-o)*r.parent.y,h=1-r.pa;r=r.parent,s.x=(a.x-l)*u+l-r.D.w*n*h,s.y=(a.y-c)*u+c-r.D.o*i*h}};this.M=function(){},this.u=function(){function i(e,t){var n=Math.min(1,Math.max(0,e.pa));t.opacity=n,t.qa=1,t.saturation=n,t.Ea=n,t.ca=e.zb}function s(e,t){var n=Math.min(1,Math.max(0,e.Md));t.opacity=n,t.Ea=n,t.qa=1,t.saturation=1,t.ca=e.zb}var u=e.options,l=u.Ld,c=u.wi,h=u.xi,f=u.yi,d=u.si,p=u.ti,v=u.ui,g=u.ni,b=u.oi,m=u.pi,_=d+p+v+g+b+m+c+h+f,y=0<_?l/_:0,A=[];return r.initial()?a.Mb(u.Ci,u.Ai,u.Di,u.Ei,u.zi):a.Mb(u.Tf,u.Sf,u.Uf,u.Vf,u.Rf),E.wa(t,E.va(t,e.options.Bi),function(t,r,l){var _="groups"===e.options.vi?l:r;A.push(n.J.v(t).call(function(){this.rb(i)}).wait(o?y*(d+_*p):0).ea({duration:o?y*v:0,P:{zb:{end:0,easing:C.Bb}},aa:function(){this.L=!0,e.i.C("foamtree:dirty",!0)}}).done()),T.K(t,function(t){A.push(n.J.v(t).call(function(){this.tc(a),this.rb(s)}).wait(y*(g+b*_)).ea({duration:y*m,P:{Md:{end:0,easing:C.Bb}},aa:function(){this.L=!0,e.i.C("foamtree:dirty",!0)}}).Ya(function(){this.selected=!1,this.Tc(a)}).done())}),A.push(n.J.v(t).call(function(){this.tc(a)}).wait(y*(c+h*_)).ea({duration:y*f,P:{pa:{end:0,easing:C.ba(u.ri)}},aa:function(){this.L=!0,e.i.C("foamtree:dirty",!0)}}).Ya(function(){this.selected=!1,this.Tc(a)}).done())}),n.J.v({}).Qa(A).Ta()},this.m=function(t){return function(t){function i(e,t){var n=Math.min(1,Math.max(0,e.pa));t.opacity=n,t.qa=1,t.saturation=n,t.Ea=n,t.ca=e.zb}var s=e.options,u=s.ej,l=s.fj,c=s.bj,h=s.cj,f=s.dj,d=s.Td,p=u+l+c+h+f,g=0<p?d/p:0,b=[];if(a.Mb(s.Tf,s.Sf,s.Uf,s.Vf,s.Rf),0===g&&t.j&&t.N){for(d=t.j,p=0;p<d.length;p++){var m=d[p];m.pa=1,m.zb=1,m.rb(i),m.fc(),m.Sc(i)}return t.L=!0,e.i.C("foamtree:dirty",0<g),(new v).resolve().promise()}if(t.j&&t.N){E.wa(t,E.va(t,e.options.Vd),function(t,r,d){t.tc(a),t.rb(i),d="groups"===e.options.Ud?d:r,r=n.J.v(t).wait(d*g*u).ea({duration:g*l,P:{pa:{end:1,easing:C.ba(s.aj)}},aa:function(){this.L=!0,e.i.C("foamtree:dirty",0<g)}}).done(),d=n.J.v(t).wait(o?g*(c+d*h):0).ea({duration:o?g*f:0,P:{zb:{end:1,easing:C.Bb}},aa:function(){this.L=!0,e.i.C("foamtree:dirty",0<g)}}).done(),t=n.J.v(t).Qa([r,d]).be().Ya(function(){this.Ad(),this.fc(),this.Tc(a),this.Sc(i)}).done(),b.push(t)}),r.m();var _=new v;return n.J.v({}).Qa(b).call(function(){r.u(),_.resolve()}).start(),_.promise()}return(new v).resolve().promise()}(t)}}function G(e){function t(t,r,s){function u(e,t){t.opacity=1-e.Db,t.qa=1,t.saturation=1,t.ca=1,t.Ea=1}var l=[],c=[];return T.K(o,function(r){if(r.N&&r.X){var o=A.has(t,r.id),a=n[r.id];if(a&&a.yb())a.stop();else if(r.open===o)return;r.Va=o,o||(r.open=o,r.Gd=!1),c.push(r),l.push(function(t,r){t.rb(u);var o=i.J.v(t).ea({duration:e.options.Qc,P:{Db:{end:r?1:0,easing:C.me}},aa:function(){this.L=!0,e.i.C("foamtree:dirty",!0)}}).call(function(){this.open=r,t.Va=!1}).Ya(function(){this.fc(),this.Sc(u),delete n[this.id]}).done();return n[t.id]=o}(r,o))}}),0<l.length?(e.i.C("openclose:changing"),i.J.v({}).Qa(l).Ta().then(function(){a.gd(r,c,"open",function(e){return e.open},{indirect:s},e.options.xf,e.options.wf)})):(new v).resolve().promise()}var n,i,r,o,a;e.i.subscribe("api:initialized",function(e){a=e}),e.i.subscribe("model:loaded",function(e){o=e,n={}}),e.i.subscribe("timeline:initialized",function(e){i=e}),e.i.subscribe("expose:initialized",function(e){r=e}),this.M=function(){e.i.C("openclose:initialized",this)},this.Cb=function(n,i,a){if("flattened"==e.options.ob)return(new v).resolve().promise();n=N(o,n,function(e){return e.open||e.Va});for(var s=new v,u=0;u<n.length;u++)n[u].Va=!0;0<n.length&&e.i.C("foamtree:attachChildren",n);var l=n.reduce(function(e,t){return e[t.id]=!0,e},{});return function(e,t){var n,i=[];if(T.K(o,function(t){if(t.j){var n=A.has(e,t.id);t.open!==n&&(n||t.S||T.K(t,function(e){if(e.S)return i.push(t),!1}))}}),0===i.length)return(new v).resolve().promise();for(n=i.length-1;0<=n;n--)i[n].open=!1;for(t=r.Yb({j:i,Ca:!0,Ba:!0},t,!0,!0),n=i.length-1;0<=n;n--)i[n].open=!0;return t}(l,i).then(function(){t(l,i,a).then(s.resolve)}),s.promise()}}function q(e){var t,n;e.i.subscribe("api:initialized",function(e){n=e}),e.i.subscribe("model:loaded",function(e){t=e}),this.M=function(){e.i.C("select:initialized",this)},this.select=function(i,r){return function(i,r){var o;for(i=N(t,i,function(e){return e.selected}),T.K(t,function(e){!0===e.selected&&(e.selected=!e.selected,e.L=!e.L,e.Sa=!e.Sa)}),o=i.length-1;0<=o;o--){var a=i[o];a.selected=!a.selected,a.L=!a.L,a.Sa=!a.Sa}var s=[];T.K(t,function(e){e.L&&s.push(e)}),0<s.length&&e.i.C("foamtree:dirty",!1),n.gd(r,s,"selected",function(e){return e.selected},{},e.options.zf,e.options.yf)}(i,r)}}function U(e){function t(e){return function(t){e.call(this,{x:t.x,y:t.y,scale:t.scale,kd:t.delta,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,shiftKey:t.shiftKey,nb:t.secondary,touches:t.touches})}}function n(){u.wc(2)?e.i.C("interaction:reset"):u.normalize(P.Ma,C.ba(P.qb))}function i(e){return function(){p.empty()||e.apply(this,arguments)}}function r(e,t,n){var i={},r={};return function(o){switch(e){case"click":var s=P.hf;break;case"doubleclick":s=P.jf;break;case"hold":s=P.qf;break;case"hover":s=P.rf;break;case"mousemove":s=P.tf;break;case"mousewheel":s=P.vf;break;case"mousedown":s=P.sf;break;case"mouseup":s=P.uf;break;case"dragstart":s=P.mf;break;case"drag":s=P.kf;break;case"dragend":s=P.lf;break;case"transformstart":s=P.Cf;break;case"transform":s=P.Af;break;case"transformend":s=P.Bf}var l=!1,c=!s.empty(),h=u.absolute(o,i),f=(t||c)&&a(h),d=(t||c)&&function(e){var t=void 0,n=0;return T.zc(p,function(i){!0===i.open&&i.Y&&i.scale>n&&U(i,e)&&(t=i,n=i.scale)}),t}(h);c&&(c=f?f.group:null,h=f?f.Kb(h,r):h,o.Eb=void 0,s=s({type:e,group:c,topmostClosedGroup:c,bottommostOpenGroup:d?d.group:null,x:o.x,y:o.y,xAbsolute:h.x,yAbsolute:h.y,scale:A.G(o.scale,1),secondary:o.nb,touches:A.G(o.touches,1),delta:A.G(o.kd,0),ctrlKey:o.ctrlKey,metaKey:o.metaKey,altKey:o.altKey,shiftKey:o.shiftKey,preventDefault:function(){l=!0},preventOriginalEventDefault:function(){o.Eb="prevent"},allowOriginalEventDefault:function(){o.Eb="allow"}}),l=l||0<=s.indexOf(!1),f&&f.attribution&&"click"===e&&(l=!1)),l||n&&n({jd:f,Gg:d},o)}}function a(e,t){if("flattened"===P.ob)e=function(e){function t(e,n){var i=n.j;if(i){for(var r,o=-Number.MAX_VALUE,a=0;a<i.length;a++){var s=i[a];!s.description&&s.Y&&U(s,e)&&s.scale>o&&(r=s,o=s.scale)}var u;return r&&(u=t(e,r)),u||r||n}return n}for(var n=L.length,i=L[0].scale,r=L[0].scale,o=0;o<n;o++){var a=L[o];(a=a.scale)<i&&(i=a),a>r&&(r=a)}if(i!==r)for(o=0;o<n;o++)if((a=L[o]).scale===r&&a.Y&&U(a,e))return t(e,a);return t(e,p)}(e);else{t=t||0;for(var n=L.length,i=void 0,r=0;r<n;r++){var o=L[r];o.scale>t&&!1===o.open&&o.Y&&U(o,e)&&(i=o,t=o.scale)}e=i}return e&&e.description&&(e=e.parent),e}var s,u,l,c,h,f,d,p,v,g,b,x,w,M,z,B,D,E,j,L,O=o.Wh(),I=this,P=e.options,N=!1;e.i.subscribe("stage:initialized",function(t,n,i,r){s=n,E=i,j=r,function(){function t(e){return function(t){return t.x*=E/s.clientWidth,t.y*=j/s.clientHeight,e(t)}}"external"!==P.Te&&("hammerjs"===P.Te&&A.has(window,"Hammer")&&(q.M(s),q.v("tap",t(I.m),!0),q.v("doubletap",t(I.u),!0),q.v("hold",t(I.va),!0),q.v("touch",t(I.sa),!0),q.v("release",t(I.ta),!1),q.v("dragstart",t(I.ia),!0),q.v("drag",t(I.I),!0),q.v("dragend",t(I.T),!0),q.v("transformstart",t(I.Na),!0),q.v("transform",t(I.transform),!0),q.v("transformend",t(I.Ga),!0)),B=new y(s),D=new _,B.m(t(I.m)),B.u(t(I.u)),B.va(t(I.va)),B.ta(t(I.sa)),B.Ga(t(I.ta)),B.ia(t(I.ia)),B.I(t(I.I)),B.T(t(I.T)),B.ra(t(I.ra)),B.wa(t(I.ra)),B.sa(t(I.wa)),D.addEventListener("keyup",function(t){var n=!1,i=void 0,r=P.Df({keyCode:t.keyCode,preventDefault:function(){n=!0},preventOriginalEventDefault:function(){i="prevent"},allowOriginalEventDefault:function(){i="allow"}});"prevent"===i&&t.preventDefault(),(n=n||0<=r.indexOf(!1))||27===t.keyCode&&e.i.C("interaction:reset")}))}()}),e.i.subscribe("stage:resized",function(e,t,n,i){E=n,j=i}),e.i.subscribe("stage:disposed",function(){B.$a(),q.$a(),D.m()}),e.i.subscribe("expose:initialized",function(e){c=e}),e.i.subscribe("zoom:initialized",function(e){u=e}),e.i.subscribe("openclose:initialized",function(e){h=e}),e.i.subscribe("select:initialized",function(e){f=e}),e.i.subscribe("titlebar:initialized",function(e){d=e}),e.i.subscribe("timeline:initialized",function(e){l=e}),e.i.subscribe("model:loaded",function(e,t){p=e,L=t}),e.i.subscribe("model:childrenAttached",function(e){L=e}),this.M=function(){},this.sa=i(r("mousedown",!1,function(){u.ii()})),this.ta=i(r("mouseup",!1,void 0)),this.m=i(r("click",!0,function(e,t){t.nb||t.shiftKey||!(e=e.jd)||(e.attribution?t.ctrlKey?document.location.href=S("iuuqr;..b`ssnurd`sbi/bnl.gn`lusdd"):(t=C.ba(P.qb),e.ie?(u.reset(P.Ma,t),e.ie=!1):(u.ig(e,P.ac,P.Ma,t),e.ie=!0)):f.select({j:[e],Ca:!e.selected,Ba:t.metaKey||t.ctrlKey},!0))})),this.u=i(r("doubleclick",!0,function(t,n){var i=t.jd;i&&i.attribution||(n.nb||n.shiftKey?i&&(i.parent.S&&(i=i.parent),t={j:i.parent!==p?[i.parent]:[],Ca:!0,Ba:!1},f.select(t,!0),c.Yb(t,!0,!0,!1)):i&&(t={j:[i],Ca:!0,Ba:!1},i.Va=!0,e.i.C("foamtree:attachChildren",[i]),c.Yb(t,!0,!0,!1)),i&&l.J.v({}).wait(P.Oa/2).call(function(){h.Cb({j:T.Bc(p,function(e){return e.Gd&&!T.Uh(i,e)}),Ca:!1,Ba:!0},!0,!0),i.Gd=!0,h.Cb({j:[i],Ca:!(n.nb||n.shiftKey),Ba:!0},!0,!0)}).start())})),this.va=i(r("hold",!0,function(e,t){(e=(t=!(t.metaKey||t.ctrlKey||t.shiftKey||t.nb))?e.jd:e.Gg)&&e!==p&&h.Cb({j:[e],Ca:t,Ba:!0},!0,!1)})),this.ia=i(r("dragstart",!1,function(e,t){v=t.x,g=t.y,b=Date.now(),N=!0})),this.I=i(r("drag",!1,function(e,t){if(N){e=Date.now(),M=Math.min(1,e-b),b=e,e=t.x-v;var n=t.y-g;u.gi(e,n),x=e,w=n,v=t.x,g=t.y}})),this.T=i(r("dragend",!1,function(){if(N){N=!1;var e=Math.sqrt(x*x+w*w)/M;4<=e?u.hi(e,x,w):u.ff()}})),this.Na=i(r("transformstart",!1,function(e,t){z=1,v=t.x,g=t.y}));var R,F=1,G=!1;this.transform=i(r("transform",!1,function(e,t){e=t.scale-.01,u.zg(t,e/z,t.x-v,t.y-g),z=e,v=t.x,g=t.y,F=z,G=G||2<t.touches})),this.Ga=i(r("transformend",!1,function(){G&&.8>F?e.i.C("interaction:reset"):n(),G=!1})),this.wa=i(r("mousewheel",!1,(R=A.Kg(n,P.Ma+10),function(e,t){1!==(e=P.wj)&&(e=Math.pow(e,t.kd),O?u.Ag(t,e)&&R():u.Qb(t,e,P.Ma,C.ba(P.qb)).then(n))}))),this.ra=i(function(){var t,n=void 0,i={},o=!1,s=r("hover",!1,function(){n&&(n.vb=!1,0<n.level&&(n.L=!0)),t&&(t.vb=!0,0<t.level&&(t.L=!0)),d.update(t),e.i.C("foamtree:dirty",!1)}),l=r("mousemove",!1,void 0);return function(e){if("out"===e.type)o=(t=void 0)!==n;else if(u.absolute(e,i),n&&!n.open&&U(n,i)){var r=a(i,n.scale);r&&r!==n?(o=!0,t=r):o=!1}else t=a(i),o=t!==n;o&&(s(e),n=t,o=!1),n&&l(e)}}()),this.Wa={click:t(this.m),doubleclick:t(this.u),hold:t(this.va),mouseup:t(this.ta),mousedown:t(this.sa),dragstart:t(this.ia),drag:t(this.I),dragend:t(this.T),transformstart:t(this.Na),transform:t(this.transform),transformend:t(this.Ga),hover:t(this.ra),mousewheel:t(this.wa)};var q=function(){var e,t={};return{M:function(t){e=window.Hammer(t,{doubletap_interval:350,hold_timeout:400,doubletap_distance:10})},v:function(n,i,r){t[n]=i,e.on(n,function(e,t){return function(n){var i=(n=n.gesture).center;(i=m.ue(s,i.pageX,i.pageY,{})).scale=n.scale,i.nb=1<n.touches.length,i.touches=n.touches.length,e.call(s,i),(void 0===i.Eb&&t||"prevent"===i.Eb)&&n.preventDefault()}}(i,r))},$a:function(){e&&A.za(t,function(t,n){e.off(n,t)})}}}(),U=function(){var e={};return function(t,n){return t.Kb(n,e),t.$&&k.Wa(t.$,e)}}()}function V(e){function t(e,t,n,i){var r,o=0,a=[];for(r=0;r<t.length;r++){var s=Math.sqrt(k.m(t[r],t[(r+1)%t.length]));a.push(s),o+=s}for(r=0;r<a.length;r++)a[r]/=o;e[0].x=n.x,e[0].y=n.y;var u=s=o=0;for(r=1;r<e.length;r++){var l=e[r],c=.95*Math.pow(r/e.length,i);for(o+=.3819;s<o;)s+=a[u],u=(u+1)%a.length;var h=(u-1+a.length)%a.length,f=1-(s-o)/a[h],d=t[h].x;h=t[h].y;var p=t[u].x,v=t[u].y;d=(d-n.x)*c+n.x,h=(h-n.y)*c+n.y,p=(p-n.x)*c+n.x,v=(v-n.y)*c+n.y,l.x=d*(1-f)+p*f,l.y=h*(1-f)+v*f}}var n={random:{wb:function(e,t){for(var n=0;n<e.length;n++){var i=e[n];i.x=t.x+Math.random()*t.w,i.y=t.y+Math.random()*t.o}},Rb:"box"},ordered:{wb:function(e,t){e=e.slice(0),i.dc&&e.sort(ie),L.Ob(e,t,!1,i.Qd)},Rb:"box"},squarified:{wb:function(e,t){e=e.slice(0),i.dc&&e.sort(ie),L.ee(e,t,!1,i.Qd)},Rb:"box"},fisheye:{wb:function(e,n,r){e=e.slice(0),i.dc&&e.sort(ie),t(e,n,r,.25)},Rb:"polygon"},blackhole:{wb:function(e,n,r){e=e.slice(0),i.dc&&e.sort(ie).reverse(),t(e,n,r,1)},Rb:"polygon"}};n.order=n.ordered,n.treemap=n.squarified;var i=e.options;this.m=function(e,t,r){if(0<e.length){if("box"===(r=n[r.relaxationInitializer||r.initializer||i.Vi||"random"]).Rb){var o=k.D(t,{});r.wb(e,o),k.rc(e,k.I(o),t)}else r.wb(e,t,k.u(t,{}));for(r=e.length-1;0<=r;r--){if((o=e[r]).description){var a=k.Lb(t,i.xc,i.Mg);o.x=a.x,o.y=a.y}o.attribution&&(a=k.Lb(t,i.ge,i.Bg),o.x=a.x,o.y=a.y),A.xb(o.group.initialPosition)&&(a=o.group.initialPosition,a=k.Lb(t,a.position||"bottomright",a.distanceFromCenter||1),o.x=a.x,o.y=a.y)}}}}function H(e){var t,n=e.options,i=new W(e,this),r=new K(e,this),o={relaxed:i,ordered:r,squarified:r},a=o[e.options.layout]||i;this.og=5e-5,e.i.subscribe("model:loaded",function(e){t=e}),e.i.subscribe("options:changed",function(e){e.layout&&A.has(o,n.layout)&&(a=o[n.layout])}),this.step=function(e,t,n,i){return a.step(e,t,n,i)},this.complete=function(e){a.complete(e)},this.Ve=function(e){return e===t||2*Math.sqrt(e.O.fa/(Math.PI*e.j.length))>=Math.max(n.Ie,5e-5)},this.md=function(e,t){var i=Math.pow(n.Ja,e.level),r=n.ab*i;i*=n.od;for(var o=(e=e.j).length-1;0<=o;o--){var s=e[o];a.je(s,i);var u=s;u.$=0<r?B.Na(u.B,r):u.B,u.$&&(k.D(u.$,u.D),k.sc(u.$,u.O)),s.j&&t.push(s)}},this.jc=function(e){a.jc(e)},this.Fb=function(e){a.Fb(e)}}function W(e,t){function n(e){if(e.j){e=e.j;for(var t=0;t<e.length;t++){var n=e[t];n.nc=n.kc*c.Bh}}}function i(e,i){t.Ve(e)&&(e.F||(e.F=B.Na(e.B,c.od*Math.pow(c.Ja,e.level-1)),e.F&&e.j[0]&&e.j[0].description&&"stab"==c.Wb&&s(e)),e.F&&(l.Fb(e),h.m(r(e),e.F,e.group),e.N=!0,i(e)),n(e))}function r(e){return"stab"===c.Wb&&0<e.j.length&&e.j[0].description?e.j.slice(1):e.j}function o(e){var t=r(e);return D.T(t,e.F),D.pc(t,e.F),E.qg(e)*Math.sqrt(u.O.fa/e.O.fa)}function a(e){return e<c.Of||1e-4>e}function s(e){var t=c.Vb/(1+c.Vb),n=k.D(e.F,{}),i={x:n.x,y:0},r=n.y,o=n.o,a=c.pe*Math.pow(c.Ja,e.level-1),s=o*c.oe,u=c.xc;"bottom"==u||0<=u&&180>u?(u=Math.PI,r+=o,o=-1):(u=0,o=1);var l=e.F,h=u,f=0,d=1,p=k.u(l,{}),v=p.fa;t*=v;for(var g=0;f<d&&20>g++;){var b=(f+d)/2;i.y=n.y+n.o*b;var m=k.Nb(l,i,h);k.u(m[0],p);var _=p.fa-t;if(.01>=Math.abs(_)/v)break;0<(0==h?1:-1)*_?d=b:f=b}k.D(m[0],n),(n.o<a||n.o>s)&&(i.y=n.o<a?r+o*Math.min(a,s):r+o*s,m=k.Nb(e.F,i,u)),e.j[0].B=m[0],e.F=m[1]}var u,l=this,c=e.options,h=new V(e),f=0;e.i.subscribe("model:loaded",function(e){u=e,f=0}),this.step=function(e,n,s,l){function h(n){if(n.N&&n.ua?function(e){e!==u&&2*Math.sqrt(e.O.fa/(Math.PI*e.j.length))<Math.max(.85*c.Ie,t.og)&&(e.N=!1,e.ua=!1,e.Da=!0,e.F=null)}(n):n.Da&&n.B&&i(n,function(){var t=r(n);D.T(t,n.F),D.pc(t,n.F),e(n)}),!n.F||!n.N)return 0;if(n.parent&&n.parent.Z||n.Fa){var h=o(n);l&&l(n),n.Fa=!a(h)&&!s,n.Z=!0}else h=0;return t.md(n,p),h}for(var d=0,p=[u];0<p.length;)d=Math.max(d,h(p.shift()));var v=a(d);return n&&function(e,t,n){f<e&&(f=e);var i=c.Of;c.Fd(t?1:1-(e-i)/(f-i||1),t,n),t&&(f=0)}(d,v,s),v},this.complete=function(e){for(var n=[u];0<n.length;){var r=n.shift();if(!r.N&&r.Da&&r.B&&i(r,e),r.F){if(r.parent&&r.parent.Z||r.Fa){for(var s=1e-4>r.O.fa,l=0;!(a(o(r))||s&&32<l++););r.Z=!0,r.Fa=!1}t.md(r,n)}}},this.jc=function(e){T.K(e,n)},this.je=function(e,t){if(e.N){var n=e.F;n&&(e.Kd=n),e.F=B.Na(e.B,t),e.F&&e.j[0]&&e.j[0].description&&"stab"==c.Wb&&s(e),n&&!e.F&&(e.Z=!0),e.F&&e.Kd&&k.rc(r(e),e.Kd,e.F)}},this.Fb=function(e){for(var t,n=r(e),i=e.fa,o=t=0;o<n.length;o++)t+=n[o].weight;for(e.Rj=t,e=0;e<n.length;e++)(o=n[e]).cg=o.w,o.kc=i/Math.PI*(0<t?o.weight/t:1/n.length)}}function K(e,t){function n(e,n){if(t.Ve(e)){if(!e.F||e.parent&&e.parent.Z){var i=a.od*Math.pow(a.Ja,e.level-1);e.F=k.I(function(e,t){var n=2*t;return e.x+=t,e.y+=t,e.w-=n,e.o-=n,e}(k.D(e.B,{}),i))}e.F&&(e.N=!0,n(e))}else e.N=!1,T.ya(e,function(e){e.F=null})}function i(e){if("stab"==a.Wb&&0<e.j.length&&e.j[0].description){var t=e.j.slice(1);!function(e){function t(){i.B=k.I(r),i.x=r.x+r.w/2,i.y=r.y+r.o/2}var n=a.Vb/(1+a.Vb),i=e.j[0],r=k.D(e.F,{}),o=r.o;n=Math.min(Math.max(o*n,a.pe*Math.pow(a.Ja,e.level-1)),o*a.oe);var s=a.xc;"bottom"==s||0<=s&&180>s?(r.o=o-n,e.F=k.I(r),r.y+=o-n,r.o=n,t()):(r.o=n,t(),r.y+=n,r.o=o-n,e.F=k.I(r))}(e)}else t=e.j;a.dc&&t.sort(ie),"floating"==a.Wb&&r(t,a.xc,function(e){return e.description}),r(t,a.ge,function(e){return e.attribution});var n=k.D(e.F,{});(s[a.layout]||L.Ob)(t,n,!0,a.Qd),e.Fa=!1,e.Z=!0,e.L=!0,e.Ha=!0}function r(e,t,n){for(var i=0;i<e.length;i++){var r=e[i];if(n(r)){e.splice(i,1),"topleft"==t||135<=t&&315>t?e.unshift(r):e.push(r);break}}}var o,a=e.options,s={squarified:L.ee,ordered:L.Ob};e.i.subscribe("model:loaded",function(e){o=e}),this.step=function(e,t,n){return this.complete(e),t&&a.Fd(1,!0,n),!0},this.complete=function(e){for(var r=[o];0<r.length;){var a=r.shift();(!a.N||a.parent&&a.parent.Z)&&a.Da&&a.B&&n(a,e),a.F&&((a.parent&&a.parent.Z||a.Fa)&&i(a),t.md(a,r))}},this.Fb=this.jc=this.je=A.oa}var Y,Z,X,$,Q=new function(){this.Sg=function(e,t){var n=e.globalAlpha;e.fillStyle="dark"===t?"white":"#1d3557",e.globalAlpha=1*n,e.save(),e.translate(-78.54,-58),e.scale(.94115,.94247),e.beginPath(),e.moveTo(86.47,533.3),e.bezierCurveTo(83.52,531.5,83.45,530.6,83.45,488.3),e.bezierCurveTo(83.45,444.6,83.35,445.7,87.34,443.7),e.bezierCurveTo(88.39,443.1,90.5,442.5,92.02,442.4),e.bezierCurveTo(93.54,442.2,113,441.7,135.3,441.4),e.bezierCurveTo(177.9,440.7,179.3,440.7,182.7,443.4),e.bezierCurveTo(185.9,445.9,185.6,445,206.2,510.7),e.bezierCurveTo(207.8,515.8,209.5,521.3,210.1,522.9),e.bezierCurveTo(211.7,528,211.9,531.3,210.6,532.7),e.bezierCurveTo(209.5,534,208.4,534,148.5,534),e.bezierCurveTo(106.4,533.9,87.3,533.7,86.47,533.2),e.closePath(),e.fill(),e.globalAlpha=.8*n,e.beginPath(),e.moveTo(237.3,533.3),e.bezierCurveTo(234.8,532.5,233.1,530.9,231.7,528.1),e.bezierCurveTo(231,526.8,224.6,507,217.4,484.1),e.bezierCurveTo(203.1,438.8,202.6,436.7,205,431.4),e.bezierCurveTo(206.3,428.5,239.2,383.2,242.9,379.3),e.bezierCurveTo(245,377,246.9,376.7,249.7,378.2),e.bezierCurveTo(250.6,378.7,263.1,390.8,277.3,405.2),e.bezierCurveTo(301.1,429.2,303.4,431.6,305.1,435.5),e.bezierCurveTo(306.7,439,306.9,440.4,306.9,445.2),e.bezierCurveTo(306.8,455.3,302.2,526.4,301.5,528.9),e.bezierCurveTo(300.2,533.7,301,533.6,268.3,533.7),e.bezierCurveTo(252.2,533.8,238.3,533.6,237.3,533.3),e.closePath(),e.fill(),e.beginPath(),e.globalAlpha=.05*n,e.moveTo(329,533.3),e.bezierCurveTo(326.2,532.5,323.1,528.8,322.6,525.8),e.bezierCurveTo(322,521.6,327.2,446.1,328.4,442.2),e.bezierCurveTo(330.6,434.9,332.8,432.8,368.5,402.4),e.bezierCurveTo(387,386.7,403.9,372.8,406,371.4),e.bezierCurveTo(413.1,366.7,416,366.2,436.5,365.7),e.bezierCurveTo(456.8,365.2,463.6,365.6,470.2,367.6),e.bezierCurveTo(476.2,369.5,546.1,402.8,549.1,405.3),e.bezierCurveTo(550.4,406.3,552.2,408.7,553.2,410.5),e.lineTo(555,413.9),e.lineTo(555.2,459.5),e.bezierCurveTo(555.3,484.6,555.2,505.8,555,506.5),e.bezierCurveTo(554.4,509.1,548.1,517.9,543.8,522.2),e.bezierCurveTo(537.7,528.3,534.2,530.5,527.8,532.4),e.lineTo(522.3,534),e.lineTo(426.6,533.9),e.bezierCurveTo(371.1,533.9,330.1,533.6,328.9,533.3),e.closePath(),e.fill(),e.globalAlpha=.8*n,e.beginPath(),e.moveTo(87.66,423),e.bezierCurveTo(86.23,422.4,85.02,422,84.97,422),e.bezierCurveTo(84.91,422,84.55,421.1,84.16,419.9),e.bezierCurveTo(83.67,418.6,83.45,404.7,83.45,375.9),e.bezierCurveTo(83.45,328.4,83.27,330.3,88.12,328.1),e.bezierCurveTo(90.22,327.2,101.7,325.6,135.4,321.7),e.bezierCurveTo(159.9,318.8,181.1,316.5,182.5,316.5),e.bezierCurveTo(183.9,316.5,187,317.3,189.4,318.2),e.bezierCurveTo(193.5,319.8,194.7,320.8,210.1,336.2),e.bezierCurveTo(226.6,352.7,229.1,355.7,229.1,360),e.bezierCurveTo(229.1,363,226.8,366.5,212.9,385.4),e.bezierCurveTo(187.3,420.2,189.3,417.7,183.4,420.5),e.lineTo(179.5,422.3),e.lineTo(155.3,422.7),e.bezierCurveTo(89.91,424,90.39,423.9,87.65,423),e.closePath(),e.fill(),e.globalAlpha=.6*n,e.beginPath(),e.moveTo(314.6,415),e.bezierCurveTo(311.4,413.4,213.2,314.6,210.9,310.7),e.bezierCurveTo(208.9,307.2,208.5,303.4,209.9,300),e.bezierCurveTo(211.2,297,241.3,257,244.2,254.4),e.bezierCurveTo(247.3,251.7,252.9,249.7,257.4,249.7),e.bezierCurveTo(261.1,249.7,344.7,255.2,350.8,255.8),e.bezierCurveTo(358.5,256.6,363.1,259.5,366,265.1),e.bezierCurveTo(368.7,270.5,394.3,343.7,394.7,347.2),e.bezierCurveTo(395.1,351.6,393.6,356.1,390.5,359.5),e.bezierCurveTo(389.1,361,375.7,372.6,360.5,385.4),e.bezierCurveTo(326.7,414,327,413.7,324.5,415),e.bezierCurveTo(321.8,416.4,317.4,416.3,314.6,414.9),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(547.9,383.4),e.bezierCurveTo(547.1,383.2,533,376.6,516.5,368.7),e.bezierCurveTo(497.2,359.5,485.7,353.7,484.3,352.4),e.bezierCurveTo(481.6,349.8,480.2,346.5,480.2,342.5),e.bezierCurveTo(480.2,339.2,499.2,237,500.4,233.9),e.bezierCurveTo(502.2,229.1,506.2,225.8,511.3,224.9),e.bezierCurveTo(516.2,224,545.8,222.2,548.2,222.6),e.bezierCurveTo(551.5,223.2,553.7,224.7,555.1,227.3),e.bezierCurveTo(556.2,229.3,556.3,234,556.5,301.9),e.bezierCurveTo(556.6,341.8,556.5,375.7,556.3,377.2),e.bezierCurveTo(555.6,381.8,552,384.4,547.8,383.4),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(418.7,347),e.bezierCurveTo(416,346.1,413.6,344.3,412.3,342.1),e.bezierCurveTo(411.6,341,404.4,321.3,396.3,298.3),e.bezierCurveTo(382,258.1,381.5,256.4,381.5,251.7),e.bezierCurveTo(381.5,248.2,381.8,246.2,382.7,244.7),e.bezierCurveTo(383.4,243.4,389.5,233.9,396.5,223.4),e.bezierCurveTo(412.6,199,411.3,199.9,430.6,198.6),e.bezierCurveTo(445,197.6,449.5,197.9,454.2,200.4),e.bezierCurveTo(460.5,203.7,479.6,217.5,481.3,220.1),e.bezierCurveTo(484.3,224.6,484.3,224.6,473.1,284),e.bezierCurveTo(465.3,325.9,462.4,339.9,461.3,341.8),e.bezierCurveTo(458.7,346.4,457.1,346.7,437.5,347.1),e.bezierCurveTo(428.1,347.3,419.6,347.3,418.7,347),e.closePath(),e.fill(),e.globalAlpha=.05*n,e.beginPath(),e.moveTo(89.33,308.2),e.bezierCurveTo(88.1,307.5,86.5,306.2,85.77,305.2),e.bezierCurveTo(84.42,303.4,84.42,303.4,84.24,202.6),e.bezierCurveTo(84.11,131.7,84.27,100.2,84.77,96.34),e.bezierCurveTo(85.65,89.58,87.91,84.64,92.77,78.81),e.bezierCurveTo(96.86,73.9,103.2,68.42,107.1,66.53),e.bezierCurveTo(108.6,65.81,112.8,64.64,116.5,63.92),e.bezierCurveTo(122.7,62.73,125.4,62.64,148.5,62.81),e.lineTo(173.7,63),e.lineTo(177.4,64.82),e.bezierCurveTo(179.5,65.82,182.1,67.75,183.3,69.12),e.bezierCurveTo(185.6,71.9,228.8,145.1,231.3,150.7),e.bezierCurveTo(234.5,157.7,234.9,160.8,234.9,176.9),e.bezierCurveTo(234.8,201.7,233.8,229.6,232.8,233.2),e.bezierCurveTo(232.3,235,231.1,238.1,230.2,240),e.bezierCurveTo(228.3,243.9,196.9,286.6,192.7,290.9),e.bezierCurveTo(189.8,293.9,184.3,297.1,180.2,298.2),e.bezierCurveTo(177.6,298.9,95.84,309.3,93.04,309.3),e.bezierCurveTo(92.22,309.3,90.55,308.8,89.33,308.1),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(305.7,235.6),e.bezierCurveTo(254.5,232,256.5,232.3,253.9,227.1),e.lineTo(252.4,224.2),e.lineTo(253.1,196.7),e.bezierCurveTo(253.8,170.5,253.8,169.1,255.2,166.3),e.bezierCurveTo(257.7,161.2,256.9,161.4,309.3,151.9),e.bezierCurveTo(354.1,143.8,356.8,143.4,359.7,144.2),e.bezierCurveTo(361.4,144.6,363.8,145.8,365,146.8),e.bezierCurveTo(367.3,148.6,389,179.6,391.9,185.2),e.bezierCurveTo(393.8,188.7,394.1,193.5,392.6,196.9),e.bezierCurveTo(391.5,199.6,370.6,231.4,368.4,233.8),e.bezierCurveTo(365.4,237,362,238.3,356.3,238.5),e.bezierCurveTo(353.5,238.6,330.7,237.3,305.7,235.5),e.closePath(),e.fill(),e.globalAlpha=.2*n,e.beginPath(),e.moveTo(497.1,207.1),e.bezierCurveTo(496.2,206.8,494.4,206,493.2,205.4),e.bezierCurveTo(490,203.8,472.7,191.6,469.7,189),e.bezierCurveTo(467,186.6,465.7,183.2,466.2,180.2),e.bezierCurveTo(466.5,178.1,482.4,138.6,484.9,133.5),e.bezierCurveTo(486.5,130.3,488.4,128.2,490.9,126.8),e.bezierCurveTo(492.6,125.9,496.3,125.7,522.2,125.6),e.lineTo(551.5,125.4),e.lineTo(553.7,127.6),e.bezierCurveTo(555.2,129.1,556,130.5,556.3,132.6),e.bezierCurveTo(556.5,134.2,556.6,149.6,556.5,166.9),e.bezierCurveTo(556.3,195.4,556.2,198.5,555.1,200.4),e.bezierCurveTo(553.1,204.1,551.7,204.4,529.8,206.1),e.bezierCurveTo(509.2,207.7,499.9,207.9,497,207.1),e.closePath(),e.fill(),e.globalAlpha=.2*n,e.beginPath(),e.moveTo(412.5,180.5),e.bezierCurveTo(410.9,179.7,408.7,177.9,407.5,176.4),e.bezierCurveTo(403.5,171.3,380.5,137.2,379.2,134.3),e.bezierCurveTo(377.2,129.6,377.1,126.1,378.9,116.8),e.bezierCurveTo(386.5,77.56,388.4,68.28,389.5,66.46),e.bezierCurveTo(390.1,65.34,391.7,63.83,392.9,63.1),e.bezierCurveTo(395.1,61.84,396.2,61.78,419.4,61.78),e.bezierCurveTo(443.4,61.78,443.7,61.8,446.5,63.25),e.bezierCurveTo(448,64.06,449.9,65.81,450.7,67.14),e.bezierCurveTo(452.3,69.73,468,105.5,470,111.1),e.bezierCurveTo(471.4,114.9,471.6,119.1,470.5,122.3),e.bezierCurveTo(470.1,123.5,465.2,135.8,459.7,149.5),e.bezierCurveTo(446.7,181.4,448.1,179.8,431.5,181.2),e.bezierCurveTo(419,182.2,415.7,182,412.5,180.5),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(253.6,142.8),e.bezierCurveTo(250.2,141.8,246.6,139.4,244.7,136.7),e.bezierCurveTo(242.1,132.9,207.4,73.28,206.2,70.42),e.bezierCurveTo(205.1,67.89,205,67.1,205.7,65.54),e.bezierCurveTo(207.3,61.54,202.3,61.8,284.4,61.59),e.bezierCurveTo(325.7,61.48,360.8,61.58,362.4,61.81),e.bezierCurveTo(366,62.32,369.3,65.36,369.9,68.75),e.bezierCurveTo(370.4,71.55,362.4,113.9,360.5,118.1),e.bezierCurveTo(359.1,121.3,355,125,351.4,126.4),e.bezierCurveTo(348.9,127.3,267.1,142.3,259.5,143.2),e.bezierCurveTo(257.9,143.4,255.2,143.2,253.6,142.7),e.closePath(),e.fill(),e.globalAlpha=.1*n,e.beginPath(),e.moveTo(493.4,106.8),e.bezierCurveTo(490.3,106,488.2,104.5,486.5,101.7),e.bezierCurveTo(483.8,97.43,471.8,68.81,471.8,66.76),e.bezierCurveTo(471.8,62.64,470.7,62.76,512.1,62.76),e.bezierCurveTo(553.3,62.76,552.3,62.67,554.4,66.68),e.bezierCurveTo(555.2,68.34,555.3,71.23,555.2,85.75),e.lineTo(555,102.8),e.lineTo(551.4,106.4),e.lineTo(534.1,106.8),e.bezierCurveTo(510.7,107.4,495.9,107.4,493.3,106.8),e.closePath(),e.fill(),e.restore(),e.translate(-88.65,443.2),e.scale(.15905,.15905),e.globalAlpha=1*n,e.save(),e.beginPath(),e.moveTo(557.4,564.9),e.lineTo(557.4,98),e.lineTo(885.8,98),e.lineTo(885.8,185.1),e.lineTo(650.8,185.1),e.lineTo(650.8,284.7),e.lineTo(824.1,284.7),e.lineTo(824.1,371.6),e.lineTo(650.8,371.6),e.lineTo(650.8,564.9),e.lineTo(557.4,564.9),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1029,568),e.quadraticCurveTo(961.1,568,915.7,522.5),e.quadraticCurveTo(870.2,476.7,870.2,409.2),e.quadraticCurveTo(870.2,341.3,915.7,295.9),e.quadraticCurveTo(961.1,250.4,1029,250.4),e.quadraticCurveTo(1096.8,250.4,1142.3,295.9),e.quadraticCurveTo(1187.7,341.3,1187.7,409.2),e.quadraticCurveTo(1187.7,477.1,1142.3,522.5),e.quadraticCurveTo(1097.3,568.1,1029.3,568.1),e.closePath(),e.moveTo(1028.6,492.6),e.quadraticCurveTo(1064.1,492.6,1086.2,469),e.quadraticCurveTo(1108.3,445,1108.3,409.5),e.quadraticCurveTo(1108.3,374,1086.2,350),e.quadraticCurveTo(1064.1,326.1,1028.3,326.1),e.quadraticCurveTo(993.1,326.1,971,350),e.quadraticCurveTo(948.9,374,948.9,409.5),e.quadraticCurveTo(948.9,445,971,469),e.quadraticCurveTo(993.1,492.6,1028.6,492.6),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1253,291),e.quadraticCurveTo(1312.1,253.6,1390,253.6),e.quadraticCurveTo(1446,253.6,1478.7,284.7),e.quadraticCurveTo(1511.4,315.9,1511.4,378.1),e.lineTo(1511.4,564.9),e.lineTo(1424.2,564.9),e.lineTo(1424.2,540),e.quadraticCurveTo(1386.2,564.9,1355.7,564.9),e.quadraticCurveTo(1293.5,564.9,1262.3,538.5),e.quadraticCurveTo(1231.2,512,1231.2,465.3),e.quadraticCurveTo(1231.2,421.7,1260.4,387.5),e.quadraticCurveTo(1290,353.3,1355.7,353.3),e.quadraticCurveTo(1385.9,353.3,1424.2,371.9),e.lineTo(1424.2,362.6),e.quadraticCurveTo(1423.6,328.4,1374.4,325.2),e.quadraticCurveTo(1318.3,325.2,1287.2,343.9),e.lineTo(1253,291),e.closePath(),e.moveTo(1424.2,471.5),e.lineTo(1424.2,436.3),e.quadraticCurveTo(1411.7,412.3,1365,412.3),e.quadraticCurveTo(1309,418.5,1305.9,455.9),e.quadraticCurveTo(1309,492.9,1365,496),e.quadraticCurveTo(1411.7,496,1424.2,471.5),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1675,365.7),e.lineTo(1675,564.9),e.lineTo(1587.8,564.9),e.lineTo(1587.8,262.5),e.lineTo(1675,253.2),e.lineTo(1675,280.9),e.quadraticCurveTo(1704.2,253.5,1749.7,253.5),e.quadraticCurveTo(1808.8,253.5,1839.9,289.3),e.quadraticCurveTo(1874.2,253.5,1942.6,253.5),e.quadraticCurveTo(2001.8,253.5,2032.9,289.3),e.quadraticCurveTo(2064,325.1,2064,371.8),e.lineTo(2064,564.8),e.lineTo(1976.9,564.8),e.lineTo(1976.9,393.6),e.quadraticCurveTo(1976.9,362.5,1962.9,345.4),e.quadraticCurveTo(1948.8,328.2,1917.4,327.3),e.quadraticCurveTo(1891.6,329.2,1872.6,361.6),e.quadraticCurveTo(1871,371.2,1871,381.2),e.lineTo(1871,564.9),e.lineTo(1783.9,564.9),e.lineTo(1783.9,393.7),e.quadraticCurveTo(1783.9,362.5,1769.9,345.4),e.quadraticCurveTo(1755.9,328.3,1724.4,327.4),e.quadraticCurveTo(1695.8,329.2,1674.9,365.7),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2058,97.96),e.lineTo(2058,185.1),e.lineTo(2213.6,185.1),e.lineTo(2213.6,564.9),e.lineTo(2306.9,564.9),e.lineTo(2306.9,185.1),e.lineTo(2462.5,185.1),e.lineTo(2462.5,97.96),e.lineTo(2057.8,97.96),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2549,287.8),e.quadraticCurveTo(2582.3,253.5,2630.2,253.5),e.quadraticCurveTo(2645.5,253.5,2659.2,256),e.lineTo(2645.5,341.9),e.quadraticCurveTo(2630.2,328.2,2601.9,327.3),e.quadraticCurveTo(2570.1,329.5,2549,373.4),e.lineTo(2549,564.8),e.lineTo(2461.8,564.8),e.lineTo(2461.8,262.5),e.lineTo(2549,253.1),e.lineTo(2549,287.7),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2694,409.2),e.quadraticCurveTo(2694,340.7,2737.5,297.1),e.quadraticCurveTo(2781.1,253.5,2849.6,253.5),e.quadraticCurveTo(2918.1,253.5,2958.5,297.1),e.quadraticCurveTo(2999,340.6,2999,409.2),e.lineTo(2999,440.3),e.lineTo(2784.2,440.3),e.quadraticCurveTo(2787.3,465.2,2806,479.2),e.quadraticCurveTo(2824.7,493.2,2849.6,493.2),e.quadraticCurveTo(2893.1,493.2,2927.4,468.3),e.lineTo(2977.2,518.1),e.quadraticCurveTo(2943,564.8,2849.6,564.8),e.quadraticCurveTo(2781.1,564.8,2737.5,521.2),e.quadraticCurveTo(2693.9,477.6,2693.9,409.1),e.closePath(),e.moveTo(2911.9,378),e.quadraticCurveTo(2911.9,353.1,2893.2,339.1),e.quadraticCurveTo(2874.5,325.1,2849.6,325.1),e.quadraticCurveTo(2824.7,325.1,2806,339.1),e.quadraticCurveTo(2787.3,353.1,2787.3,378),e.lineTo(2911.8,378),e.closePath(),e.fill(),e.beginPath(),e.moveTo(3052,409.2),e.quadraticCurveTo(3052,340.7,3095.5,297.1),e.quadraticCurveTo(3139.1,253.5,3207.6,253.5),e.quadraticCurveTo(3276.1,253.5,3316.5,297.1),e.quadraticCurveTo(3357,340.6,3357,409.2),e.lineTo(3357,440.3),e.lineTo(3142.2,440.3),e.quadraticCurveTo(3145.3,465.2,3164,479.2),e.quadraticCurveTo(3182.7,493.2,3207.6,493.2),e.quadraticCurveTo(3251.1,493.2,3285.4,468.3),e.lineTo(3335.2,518.1),e.quadraticCurveTo(3301,564.8,3207.6,564.8),e.quadraticCurveTo(3139.1,564.8,3095.5,521.2),e.quadraticCurveTo(3051.9,477.6,3051.9,409.1),e.closePath(),e.moveTo(3269.9,378),e.quadraticCurveTo(3269.9,353.1,3251.2,339.1),e.quadraticCurveTo(3232.5,325.1,3207.6,325.1),e.quadraticCurveTo(3182.7,325.1,3164,339.1),e.quadraticCurveTo(3145.3,353.1,3145.3,378),e.lineTo(3269.8,378),e.closePath(),e.fill(),e.restore()}};function J(e,t){function n(e,t){var n=e.O.r,i=n/15,r=.5*n/15;n/=5;var o=e.O.x;e=e.O.y,t.fillRect(o-r,e-r,i,i),t.fillRect(o-r-n,e-r,i,i),t.fillRect(o-r+n,e-r,i,i)}function i(e,t,n,i){null===e&&n.clearRect(0,0,z,B);var r,o=Array(ne.length);for(r=ne.length-1;0<=r;r--)o[r]=ne[r].la(n,i);for(r=ne.length-1;0<=r;r--)o[r]&&ne[r].before(n,i);for(E.yc([n,M],function(i){var r;if(null!==e){for(n.save(),n.globalCompositeOperation="destination-out",n.fillStyle=n.strokeStyle="rgba(255, 255, 255, 1)",r=e.length-1;0<=r;r--){var a=e[r],s=a.B;s&&(n.save(),n.beginPath(),a.Jb(n),c(n,s),n.fill(),0<(a=U.ab*Math.pow(U.Ja,a.level-1))&&(n.lineWidth=a/2,n.stroke()),n.restore())}n.restore()}if(i=i.scale,0!==t.length){for(r={},s=ne.length-1;0<=s;s--)ne[s].xg(r);for(a=J.length-1;0<=a;a--)if(r[(s=J[a]).id]){var u=s.Pd;for(s=0;s<t.length;s++){var l=t[s];!l.parent||l.parent.ua&&l.parent.N?u(l,i):l.W.clear()}}}for(r=ne.length-1;0<=r;r--)a=ne[r],o[r]&&a.Sd(t,n,i)}),r=ne.length-1;0<=r;r--)o[r]&&ne[r].after(n);U.dd&&(n.canvas.style.opacity=.99,setTimeout(function(){n.canvas.style.opacity=1},1))}function r(){function e(t,n,i){t.tb=Math.floor(1e3*t.scale)-i*n,0<t.opacity&&!t.open&&n++;var r=t.j;if(r)for(var o=r.length-1;0<=o;o--)t.V&&e(r[o],n,i)}var t,n=null,i=null,r=null;return E.yc([],function(t){!function(e){g===m?e<.9*F&&(g=b,y=x,s()):e>=F&&(g=m,y=w,s())}(t.scale);var o=!1;T.K(O,function(e){e.V&&(o=e.Ad()||o,e.fc(),e.Ka=G.m(e)||e.Ka)}),o&&(O.L=!0);var u="onSurfaceDirty"===U.Yg;T.ld(O,function(e){e.parent&&e.parent.Z&&(e.W.clear(),e.Ka=!0,u||(e.vc=!0,e.Tb.clear())),u&&(e.vc=!0,e.Tb.clear())});var l=t.scale*t.scale;if(T.ld(O,function(e){if(e.N){for(var t=e.j,n=0;n<t.length;n++)if(5<t[n].O.fa*l)return void(e.X=!0);e.X=!1}}),function(e){O.Y=!0,T.ld(O,function(t){if(t.V&&t.X&&t.ua&&t.N&&(O.L||t.Z||t.Zd)){t.Zd=!1;var n=t.j,i={x:0,y:0,w:0,o:0},r=!!t.F;if(1<z/e.w){var o,a=!1;for(o=n.length-1;0<=o;o--)n[o].Y=!1,a|=n[o].S;if((t.Y||a)&&r)for(o=n.length-1;0<=o;o--)if(1!==(t=n[o]).scale&&(t.Kb(e,i),i.w=e.w/t.scale,i.o=e.o/t.scale),!1===t.Y&&t.B)if(a=(r=t.B).length,k.Wa(t.B,1===t.scale?e:i))t.Y=!0;else for(var s=0;s<a;s++)if(k.Dg(r[s],r[(s+1)%a],1===t.scale?e:i)){t.Y=!0,t.H&&(t=t.H[s])&&(n[t.index].Y=!0);break}}else for(o=0;o<n.length;o++)n[o].Y=r}})}(t),r=[],T.Ac(O,function(e){if(e.parent.X&&e.Y&&e.V){r.push(e);for(var t=e.parent;t!==O&&(t.open||0===t.opacity);)t=t.parent;t!==O&&.02>Math.abs(t.scale-e.scale)&&(e.scale=Math.min(e.scale,t.scale))}}),e(O,0,"flattened"===U.ob?-1:1),r.sort(function(e,t){return e.tb-t.tb}),a())n=r,i=null;else{var c={},h={},f="none"!=U.qd&&U.ab<U.bb/2,d=U.ab<U.Fc/2+U.pd*U.Ke.a;T.K(O,function(e){if(e.V&&!e.description&&(e.Z||e.L||e.Lc&&e.parent.X&&e.Ka)){var t,n,i,r=[e],o=e.H||e.parent.j;if(f)for(t=0;t<o.length;t++)(n=o[t])&&r.push(n);else if(d)if(!e.selected&&e.Sa){for(n=!0,t=0;t<o.length;t++)o[t]?r.push(o[t]):n=!1;!n&&1<e.level&&r.push(e.parent)}else for(t=0;t<o.length;t++)(n=o[t])&&n.selected&&r.push(n);for(t=e.parent;t!=O;)t.selected&&(i=t),t=t.parent;for(i&&r.push(i),t=0;t<r.length;t++){for(e=(i=r[t]).parent;e&&e!==O;)0<e.opacity&&(i=e),e=e.parent;h[i.id]=!0,T.ya(i,function(e){c[e.id]=!0})}}}),n=r.filter(function(e){return c[e.id]}),i=n.filter(function(e){return h[e.id]})}}),t=!1,U.Nf&&T.K(O,function(e){if(e.V&&0!==e.na.a&&1!==e.na.a)return t=!0,!1}),t?(T.zc(O,function(e){if(e.V&&(e.opacity!==e.Pc||e.Ha)){var t=e.j;if(t){for(var n=0,i=t.length-1;0<=i;i--)n=Math.max(n,t[i].Kc);e.Kc=n+e.opacity*e.na.a}else e.Kc=e.opacity*e.na.a}}),T.K(O,function(e){if(e.V&&(e.opacity!==e.Pc||e.Ha)){for(var t=e.Kc,n=e;(n=n.parent)&&n!==O;)t+=n.opacity*n.na.a*U.Lf;e.ed=0<t?1-Math.pow(1-e.na.a,1/t):0,e.Pc=e.opacity}})):T.K(O,function(e){e.V&&(e.ed=1,e.Pc=-1)}),{ae:n,hg:i,Y:r}}function a(){var e=O.Z||O.L||"none"==U.Re;if(!e&&!O.empty()){var t=O.j[0].scale;T.K(O,function(n){if(n.V&&n.Y&&n.scale!==t)return e=!0,!1})}return!e&&0<U.Ee&&1!=U.Pa&&T.K(O,function(t){if(t.V&&0<t.ga)return e=!0,!1}),"accurate"===U.Re&&(!(e=(e=e||0===U.ab)||"none"!=U.qd&&U.ab<U.bb/2)&&U.ab<U.Fc/2+U.pd*U.Ke.a&&T.K(O,function(t){if(t.V&&(t.selected&&!t.Sa||!t.selected&&t.Sa))return e=!0,!1})),e}function s(){function e(e,n,i,r,o){function a(e,t,n,i,r){return e[i]&&(t-=n*d[i],e[i]=!1,r&&(t+=n*d[r],e[r]=!0)),t}switch(e=A.extend({},e),i){case"never":e.labelPlainFill=!1;break;case"always":case"auto":e.labelPlainFill=!0}if(U.Ec)switch(r){case"never":e.contentDecoration=!1;break;case"always":case"auto":e.contentDecoration=!0}else e.contentDecoration=!1;var s=0;return A.za(e,function(e,t){e&&(s+=n*d["contentDecoration"===t?"labelPlainFill":t])}),e.polygonExposureShadow=t,(s+=2*d.polygonExposureShadow)<=o||(s=a(e,s,2,"polygonExposureShadow"))<=o||(s=a(e,s,n,"polygonGradientFill","polygonPlainFill"))<=o||(s=a(e,s,n,"polygonGradientStroke"))<=o||(s=a(e,s,n,"polygonPlainStroke"))<=o||"auto"===r&&(s=a(e,s,n,"contentDecoration"))<=o||"auto"===i&&(s=a(e,s,n,"labelPlainFill")),e}var t=g===b,n=0,i=0;T.te(O,function(e){var t=1;T.K(e,function(){t++}),n+=t,i=Math.max(i,t)});var r={};switch(U.hh){case"plain":r.polygonPlainFill=!0;break;case"gradient":r.polygonPlainFill=!t,r.polygonGradientFill=t}switch(U.qd){case"plain":r.polygonPlainStroke=!0;break;case"gradient":r.polygonPlainStroke=!t,r.polygonGradientStroke=t}P=e(r,n,U.uj,U.sj,U.tj),R=e(r,2*i,"always","always",U.Qg),N=e(r,n,"always","always",U.Pg)}function u(e){return function(t,n){return t===g?!0===P[e]:!0===(n?R:N)[e]}}function f(e,t){return function(n,i){return e(n,i)&&t(n,i)}}var d,v,g,b,m,_,y,x,w,S,M,z,B,D,E,j,L,O,I,P,N,R,F=o.Xh()?50:1e4,G=new ee(e),q=new te(e),U=e.options;e.i.subscribe("stage:initialized",function(e,t,n,i){z=n,B=i,v=(D=e).hc("wireframe",U.pb,!1),b=v.getContext("2d"),m=new l(b),_=D.hc("hifi",U.A,!1),x=_.getContext("2d"),w=new l(x),g=b,y=x,b.A=U.pb,m.A=U.pb,x.A=U.A,w.A=U.A,S=D.hc("tmp",Math.max(U.A,U.pb),!0),(M=S.getContext("2d")).A=1,[b,x,M].forEach(function(e){e.scale(e.A,e.A)})}),e.i.subscribe("stage:resized",function(e,t,n,i){z=n,B=i,[b,x,M].forEach(function(e){e.scale(e.A,e.A)})}),e.i.subscribe("model:loaded",function(t){I=!0,function e(t){var n=0;if(!t.empty()){for(var i=t.j,r=i.length-1;0<=r;r--)n=Math.max(n,e(i[r]));n+=1}return t.$f=n}(O=t),s(),e.i.C("render:renderers:resolved",P,R,N)});var V="groupFillType groupStrokeType wireframeDrawMaxDuration wireframeLabelDrawing wireframeContentDecorationDrawing finalCompleteDrawMaxDuration finalIncrementalDrawMaxDuration groupContentDecorator".split(" "),H=["groupLabelLightColor","groupLabelDarkColor","groupLabelColorThreshold","groupUnexposureLabelColorThreshold"];e.i.subscribe("options:changed",function(e){function t(e,t,n,i){D.Ui(e,n),t.A=n,i&&t.scale(n,n)}e.dataObject||(A.cb(e,V)&&s(),A.cb(e,H)&&T.K(O,function(e){e.nd=-1}));var n=A.has(e,"pixelRatio");e=A.has(e,"wireframePixelRatio"),(n||e)&&(n&&t(_,y,U.A,!0),e&&t(v,g,U.pb,!0),t(S,M,Math.max(U.A,U.pb),!1))}),e.i.subscribe("zoom:initialized",function(e){E=e}),e.i.subscribe("timeline:initialized",function(e){j=e}),e.i.subscribe("api:initialized",function(e){L=e});var W,K,J=[{id:"offsetPolygon",Pd:function(e){if((e.selected||0<e.opacity&&!1===e.open||!e.X)&&e.W.Aa()){var t=e.W;if(t.clear(),e.$){var n=e.$,i=U.Tg;0<i?h(t,n,e.parent.O.r/32,Math.min(1,i*Math.pow(1-U.Ug*i,e.$f))):c(t,n)}e.Id=!0}}},{id:"label",Pd:function(e){e.Ka&&e.Lc&&G.u(e)}},{id:"custom",Pd:function(t,n){if(t.$&&(0<t.opacity&&(!1===t.open||!0===t.selected)||!t.X)&&t.vc&&e.options.Ec&&!t.attribution){var i={};L.bd(i,t),L.cd(i,t),L.ad(i,t,!0),i.context=t.Tb,i.polygonContext=t.W,i.labelContext=t.Ic,i.shapeDirty=t.Id,i.viewportScale=n,n={groupLabelDrawn:!0,groupPolygonDrawn:!0},e.options.Xg(e.Hd,i,n),t.Ze=n.groupLabelDrawn,t.Jd=n.groupPolygonDrawn,t.Id=!1,t.vc=!1}}}].reverse(),ne=[new function(e){var t=Array(e.length);this.Sd=function(n,i,r){if(0!==n.length){var o,a=[],s=n[0].tb;for(o=0;o<n.length;o++){var u=n[o];u.tb!==s&&(a.push(o),s=u.tb)}a.push(o);for(var l=s=0;l<a.length;l++){for(var c=a[l],h=e.length-1;0<=h;h--)if(t[h]){var f=e[h],d=Array(c-s),p=!1;for(o=s;o<c;o++)u=n[o],p|=u=!f.lb||f.lb.call(f,u,i,r),d[o-s]=u;if(p){for(i.save(),o=s;o<c;o++)u=n[o],d[o-s]&&(i.save(),u.Jb(i),f.mb.call(f,u,i,r),i.restore());f.Xa.call(f,i,r),i.restore()}}s=c}}},this.la=function(n,i){for(var r=!1,o=e.length-1;0<=o;o--)t[o]=e[o].la(n,i),r|=t[o];return r},this.before=function(n,i){for(var r=e.length-1;0<=r;r--)if(t[r]){var o=e[r];o.before.call(o,n,i)}},this.after=function(n){for(var i=e.length-1;0<=i;i--)if(t[i]){var r=e[i];r.after.call(r,n)}},this.xg=function(n){for(var i=e.length-1;0<=i;i--){var r=e[i];if(t[i])for(var o=r.Ra.length-1;0<=o;o--)n[r.Ra[o]]=!0}}}([{Ra:["offsetPolygon"],la:u("polygonExposureShadow"),before:function(e){M.save(),M.scale(e.A,e.A)},after:function(){M.restore()},sb:function(){},Xa:function(e){this.Yf&&(this.Yf=!1,e.save(),e.setTransform(1,0,0,1,0,0),e.drawImage(S,0,0,e.canvas.width,e.canvas.height,0,0,e.canvas.width,e.canvas.height),e.restore(),M.save(),M.setTransform(1,0,0,1,0,0),M.clearRect(0,0,S.width,S.height),M.restore())},Be:function(e){return U.Ee*e.opacity*e.ga*("flattened"===U.ob?1-e.parent.ga:(1-e.Db)*e.parent.Db)*(1.1<=U.Pa?1:(U.Pa-1)/.1)},lb:function(e){return!(e.open&&e.X||e.W.Aa())&&0<this.Be(e)},mb:function(e,t,n){var i=this.Be(e);0<i&&(M.save(),M.beginPath(),e.Jb(M),e.W.La(M),M.shadowBlur=n*t.A*i,M.shadowColor=U.Zg,M.fillStyle="rgba(0, 0, 0, 1)",M.globalCompositeOperation="source-over",M.globalAlpha=e.opacity,M.fill(),M.shadowBlur=0,M.shadowColor="transparent",M.globalCompositeOperation="destination-out",M.fill(),M.restore(),this.Yf=!0)}},{Ra:["offsetPolygon"],la:function(){return!0},before:function(){function e(e){var n=e.na,i=e.vb,r=e.selected,o=(n.h+(i?U.lh:0)+(r?U.Ch:0))%360,a=t(n.l*e.qa+(i?U.mh:0)+(r?U.Dh:0));return n=t(n.s*e.saturation+(i?U.nh:0)+(r?U.Eh:0)),(e=e.De).h=o,e.s=n,e.l=a,e}function t(e){return 100<e?100:0>e?0:e}var n=[{type:"fill",la:u("polygonPlainFill"),Vc:function(t,n){n.fillStyle=p.qc(e(t))}},{type:"fill",la:u("polygonGradientFill"),Vc:function(n,i){var r=n.O.r,o=e(n);r=i.createRadialGradient(n.x,n.y,0,n.x,n.y,r*U.dh);var a=o.l,s=U.ah;r.addColorStop(0,p.ia((o.h+U.$g)%360,t(o.s+U.bh),t(a+s))),a=o.l,s=U.fh,r.addColorStop(1,p.ia((o.h+U.eh)%360,t(o.s+U.gh),t(a+s))),n.W.La(i),i.fillStyle=r}},{type:"stroke",la:f(u("polygonPlainStroke"),function(){return 0<U.bb}),Vc:function(e,n){var i=e.na,r=e.vb,o=e.selected,a=(i.h+U.Oe+(r?U.Fe:0)+(o?U.Le:0))%360,s=t(i.s*e.saturation+U.Qe+(r?U.He:0)+(o?U.Ne:0));i=t(i.l*e.qa+U.Pe+(r?U.Ge:0)+(o?U.Me:0)),n.strokeStyle=p.ia(a,s,i),n.lineWidth=U.bb*Math.pow(U.Ja,e.level-1)}},{type:"stroke",la:f(u("polygonGradientStroke"),function(){return 0<U.bb}),Vc:function(e,n){var i=e.O.r*U.Kh,r=e.na,o=Math.PI*U.Gh/180;i=n.createLinearGradient(e.x+i*Math.cos(o),e.y+i*Math.sin(o),e.x+i*Math.cos(o+Math.PI),e.y+i*Math.sin(o+Math.PI));var a=e.vb,s=e.selected;o=(r.h+U.Oe+(a?U.Fe:0)+(s?U.Le:0))%360;var u=t(r.s*e.saturation+U.Qe+(a?U.He:0)+(s?U.Ne:0));r=t(r.l*e.qa+U.Pe+(a?U.Ge:0)+(s?U.Me:0)),a=U.Ih,i.addColorStop(0,p.ia((o+U.Hh)%360,t(u+U.Jh),t(r+a))),a=U.Mh,i.addColorStop(1,p.ia((o+U.Lh)%360,t(u+U.Nh),t(r+a))),n.strokeStyle=i,n.lineWidth=U.bb*Math.pow(U.Ja,e.level-1)}}],i=Array(n.length);return function(e,t){for(var r=n.length-1;0<=r;r--)i[r]=n[r].la(e,t);this.kj=n,this.Hg=i}}(),after:function(){},sb:function(){},Xa:function(){},lb:function(e){return e.Jd&&(0!==e.opacity&&!e.open||!e.X)&&!e.W.Aa()&&(U.qe||!e.description)},mb:function(e,t){var n=this.kj,i=this.Hg;t.beginPath(),e.W.La(t);for(var r=!1,o=!1,a=n.length-1;0<=a;a--){var s=n[a];if(i[a])switch(s.Vc(e,t),s.type){case"fill":r=!0;break;case"stroke":o=!0}}n=(e.X?e.opacity:1)*e.na.a,i=!e.empty(),a=U.Nf?e.ed:1,r&&(e=i&&e.X&&e.N&&e.j[0].V?1-e.j.reduce(function(e,t){return e+t.pa*t.Md},0)/e.j.length*(1-U.Lf):1,t.globalAlpha=n*e*a,Y(t)),o&&(t.globalAlpha=n*(i?U.ji:1)*a,t.closePath(),Z(t),t.stroke())}},{Ra:["offsetPolygon"],la:function(){return 0<U.Fc},before:function(){},after:function(){},sb:function(){},Xa:function(){},lb:function(e){return e.Jd&&e.selected&&!e.W.Aa()},mb:function(e,t,n){t.globalAlpha=e.Ea,t.beginPath();var i=Math.pow(U.Ja,e.level-1);t.lineWidth=U.Fc*i,t.strokeStyle=U.Fh;var r=U.pd;0<r&&(t.shadowBlur=r*i*n*t.A,t.shadowColor=U.Je),e.W.La(t),t.closePath(),t.stroke()}},{Ra:[],la:function(){return!0},before:function(){},after:function(){},sb:function(){},Xa:function(){},ai:Q,lb:function(e){return!(!e.attribution||e.W.Aa())},mb:function(e,t){var n,i,r,o,a=this.ai;e.attribution&&!e.W.Aa()&&(n=a.re.width,i=a.re.height,r=function(e){a.Sg(e,U.he)},o=k.de(e.$,e.O,n/i),o=Math.min(Math.min(.9*o,.5*e.D.o)/i,.5*e.D.w/n),t.save(),t.translate(e.x,e.y),t.globalAlpha=e.opacity*e.ca,t.scale(o,o),t.translate(-n/2,-i/2),r(t),t.restore())}},{Ra:[],la:(W=u("labelPlainFill"),K=f(u("contentDecoration"),function(){return U.Ec}),function(e,t){return W(e,t)||K(e,t)}),before:function(){},after:function(){},sb:function(){},Xa:function(){},mb:function(e,t,n){(0<e.opacity&&0<e.ca&&!e.open||!e.X)&&!e.W.Aa()&&(e.Jc=e.ma&&e.ma.ha&&U.A*e.ma.fontSize*e.scale*n>=U.zh,"auto"===e.ud?!U.qe&&e.description?e.gb=e.parent.gb:(t=(n=e.De).h+(n.s<<9)+(n.l<<16),e.nd!==t&&(n=p.pg(n),e.gb=n>(0>e.ga?U.Oh:U.oh)?U.ph:U.yh,e.nd=t)):e.gb=e.ud)}},{Ra:["custom"],la:f(u("contentDecoration"),function(){return U.Ec}),before:function(){},after:function(){},sb:function(){},Xa:function(){},lb:function(e){return(0<e.opacity&&0<e.ca&&!e.open||!e.X)&&!e.Tb.Aa()&&!e.W.Aa()},mb:function(e,t){e.Jc||void 0===e.ma?(t.globalAlpha=e.ca*(e.X?e.opacity:1)*(e.empty()?1:U.Mf),t.fillStyle=e.gb,t.strokeStyle=e.gb,e.Tb.La(t)):n(e,t)}},{Ra:["label"],la:u("labelPlainFill"),before:function(){},after:function(){},sb:function(){},Xa:function(){},lb:function(e){return e.Ze&&e.Lc&&(0<e.opacity&&0<e.ca&&!e.open||!e.X)&&!e.W.Aa()&&!!e.ma},mb:function(e,t,i){t.fillStyle=e.gb,t.globalAlpha=e.ca*(e.X?e.opacity:1)*(e.empty()?1:U.Mf),e.Jc?$(e,t,i):n(e,t)}}].reverse())];this.M=function(){d=o.Vh()||o.Xe()?{polygonPlainFill:.005,polygonPlainStroke:.01,polygonGradientFill:.2,polygonGradientStroke:.2,polygonExposureShadow:20,labelPlainFill:.04}:{polygonPlainFill:.001,polygonPlainStroke:.001,polygonGradientFill:.05,polygonGradientStroke:.02,polygonExposureShadow:20,labelPlainFill:.02},q.M()},this.clear=function(){g.clearRect(0,0,z,B),y.clearRect(0,0,z,B)};var ie=!1,re=void 0;this.I=function(e){ie?re=e:e()},this.Sd=function(){function e(){window.clearTimeout(n),ie=!0,n=setTimeout(function(){if(ie=!1,function(){if(U.A!==U.pb)return!0;var e="polygonPlainFill polygonPlainStroke polygonGradientFill polygonGradientStroke labelPlainFill contentDecoration".split(" ");T.K(O,function(t){if(t.V&&t.S)return e.push("polygonExposureShadow"),!1});for(var t=e.length-1;0<=t;t--){var n=e[t];if(!!P[n]!=!!R[n])return!0}return!1}()){var e=!a();i(null,o.Y,y,e),A.defer(function(){oe.hj(),re&&(re(),re=void 0)})}else re&&(re(),re=void 0)},Math.max(U.vj,3*t.dg.xd,3*t.dg.wd))}var n,o;return function(t){X(q);var n=null!==(o=r()).hg,a=0<D.cc("hifi"),s=a&&(n||!t);t=n||I||!t,I=!1,a&&!s&&oe.ij(),i(o.hg,o.ae,s?y:g,t),T.ya(O,function(e){e.Z=!1,e.L=!1,e.Sa=!1}),s||e(),U.Gf(n)}}(),this.m=function(e){X(q),O.L=!0,i(null,r().ae,e,!1)},this.u=function(e){e=e||{},X(q),O.L=!0;var t=r(),n=U.A;try{var o=A.G(e.pixelRatio,U.A);U.A=o;var a=D.hc("export",o,!0),s=a.getContext("2d");g===m&&(s=new l(s)),s.scale(o,o);var u=A.has(e,"backgroundColor");u&&(s.save(),s.fillStyle=e.backgroundColor,s.fillRect(0,0,z,B),s.restore()),i(u?[]:null,t.ae,s,!0)}finally{U.A=n}return a.toDataURL(A.G(e.format,"image/png"),A.G(e.quality,.8))};var oe=function(){function e(e,t,i,r,o,a){function s(e,t,n,i){return j.J.v({opacity:D.cc(e)}).ea({duration:n,P:{opacity:{end:t,easing:i}},aa:function(){D.cc(e,this.opacity)}}).done()}var u=A.td(D.cc(e),t),l=A.td(D.cc(r),o);if(!u||!l){for(var c=n.length-1;0<=c;c--)n[c].stop();return n=[],u||n.push(s(e,t,i,C.Hb)),l||n.push(s(r,o,a,C.ag)),j.J.v({}).Qa(n).start()}}var t,n=[];return{ij:function(){U.dd?1!==v.style.opacity&&(v.style.visibility="visible",_.style.visibility="hidden",v.style.opacity=1,_.style.opacity=0):t&&t.yb()||(t=e("wireframe",1,U.ye,"hifi",0,U.ye))},hj:function(){U.dd?(_.style.visibility="visible",v.style.visibility="hidden",v.style.opacity=0,_.style.opacity=1):e("hifi",1,U.kg,"wireframe",0,U.kg)}}}();return X=function(e){e.apply()},Y=function(e){e.fill()},Z=function(e){e.stroke()},this}function ee(e){function t(e){void 0!==e.groupLabelFontFamily&&(r.fontFamily=e.groupLabelFontFamily),void 0!==e.groupLabelFontStyle&&(r.fontStyle=e.groupLabelFontStyle),void 0!==e.groupLabelFontVariant&&(r.fontVariant=e.groupLabelFontVariant),void 0!==e.groupLabelFontWeight&&(r.fontWeight=e.groupLabelFontWeight),void 0!==e.groupLabelLineHeight&&(r.lineHeight=e.groupLabelLineHeight),void 0!==e.groupLabelHorizontalPadding&&(r.eb=e.groupLabelHorizontalPadding),void 0!==e.groupLabelVerticalPadding&&(r.Ua=e.groupLabelVerticalPadding),void 0!==e.groupLabelMaxTotalHeight&&(r.jb=e.groupLabelMaxTotalHeight),void 0!==e.groupLabelMaxFontSize&&(r.ib=e.groupLabelMaxFontSize)}var n,i=e.options,r={},o={},a={groupLabel:""},s={};e.i.subscribe("api:initialized",function(e){n=e}),e.i.subscribe("options:changed",t),t(e.Hd),this.m=function(e){if(!e.$)return!1;var t=e.group.label;return i.rh&&!e.attribution&&(a.labelText=t,n.uc(i.qh,e,a),t=a.labelText),e.$e=t,e.vd!==t},this.u=function(e){var t=e.$e;if(e.vd=t,e.Ic.clear(),e.ma=void 0,e.$&&!A.Ue(t)&&("flattened"!==i.ob||e.empty()||!e.N||!e.j[0].V)){var a=j,u=a.ke;if(i.xh){s.fontFamily=r.fontFamily,s.fontStyle=r.fontStyle,s.fontVariant=r.fontVariant,s.fontWeight=r.fontWeight,s.lineHeight=r.lineHeight,s.horizontalPadding=r.eb,s.verticalPadding=r.Ua,s.maxTotalTextHeight=r.jb,s.maxFontSize=r.ib,n.uc(i.wh,e,s),o.fontFamily=s.fontFamily,o.fontStyle=s.fontStyle,o.fontVariant=s.fontVariant,o.fontWeight=s.fontWeight,o.lineHeight=s.lineHeight,o.eb=s.horizontalPadding,o.Ua=s.verticalPadding,o.jb=s.maxTotalTextHeight,o.ib=s.maxFontSize;var l=o}else l=r;e.ma=u.call(a,l,e.Ic,t,e.$,e.D,e.O,!1,!1,e.Yh,e.O.fa,i.Ah,e.Ka)}e.Ka=!1},$=this.I=function(e,t){e.Ic.La(t)}}function te(e){function t(e,t){var n,i=e.j,r=i.length,a=o.O.r;for(n=0;n<r;n++){var s=i[n];s.ub=(180*(Math.atan2(s.x-e.x,s.y-e.y)+t)/Math.PI+180)/360,s.Dc=Math.min(1,Math.sqrt(k.m(s,e))/a)}}function n(e,t){var n=(e=e.j).length;if(1===n||2===n&&e[0].description)e[0].ub=.5;else{var i=0,r=Number.MAX_VALUE,o=Math.sin(t),a=Math.cos(t);for(t=0;t<n;t++){var s=e[t],u=s.x*o+s.y*a;i<u&&(i=u),r>u&&(r=u),s.ub=u,s.Dc=1}for(t=0;t<n;t++)(s=e[t]).ub=(s.ub-r)/(i-r)}}function i(e,t,n,i){return(t=t[i])+(n[i]-t)*e}var r,o,a={radial:t,linear:n},s=e.options,u={groupColor:null,labelColor:null};return e.i.subscribe("model:loaded",function(e){o=e}),e.i.subscribe("api:initialized",function(e){r=e}),this.M=function(){},this.apply=function(){function e(e,t,n,i){var r=l(e+n*i);return r+t*((e=l(e-n*(1-i)))-r)}function l(e){return 0>e?0:100<e?100:e}var c=a[s.Ii]||t,h=n,f=s.Si,d=s.Li,v=s.Vg,g=s.Wg,b=s.Mi,m=s.Qi;!function t(n){if(n.N&&n.ua){var o,a=n.j;if(n.Z||n.Ha||g){for(0===n.level?c(n,s.Ji*Math.PI/180):h(n,s.Ni*Math.PI/180),o=a.length-1;0<=o;o--){var l=a[o];l.Ha=!0;var _=l.ub,y=l.Ce;if(0===n.level)var C=i(_,f,d,"h"),x=(m+(1-m)*l.Dc)*i(_,f,d,"s"),w=(1+(0>l.ga?b*(l.ga+1):b)*(1-l.Dc))*i(_,f,d,"l"),S=i(_,f,d,"a");else C=(w=n.na).h,x=w.s,w=e(w.l,_,s.Oi,s.Pi),S=n.Ce.a;y.h=C,y.s=x,y.l=w,y.a=S,C=l.na,l.attribution?(C.h=0,C.s=0,C.l="light"==s.he?90:10,C.a=1):(C.h=y.h,C.s=y.s,C.l=y.l,C.a=y.a),g&&!l.attribution&&(u.groupColor=C,u.labelColor="auto",r.uc(v,l,u,function(e){e.ratio=_}),l.na=p.ta(u.groupColor),l.na.a=A.has(u.groupColor,"a")?u.groupColor.a:1,"auto"!==u.labelColor&&(l.ud=p.Fg(u.labelColor)))}n.Ha=!1}for(o=a.length-1;0<=o;o--)t(a[o])}}(o)},this}function ne(){this.nc=this.ce=this.kc=this.cg=this.w=this.jg=this.weight=this.y=this.x=this.id=0,this.B=this.parent=this.j=null,this.D={x:0,y:0,w:0,o:0},this.H=null,this.vd=this.$e=void 0,this.Yc=!1,this.Dc=this.ub=0,this.Ce={h:0,s:0,l:0,a:0,model:"hsla"},this.na={h:0,s:0,l:0,a:0,model:"hsla"},this.De={h:0,s:0,l:0,model:"hsl"},this.nd=-1,this.ud="auto",this.gb="#000",this.$f=this.level=this.sd=this.index=0,this.attribution=!1,this.fa=this.ef=0,this.Y=!1,this.$=null,this.O={x:0,y:0,fa:0,r:0},this.Kd=this.F=null,this.Lc=this.V=this.Sa=this.vc=this.Zd=this.Id=this.Ka=this.Ha=this.L=this.Z=this.Fa=this.ua=this.N=this.Da=!1,this.saturation=this.qa=this.Ea=this.ca=this.opacity=this.scale=1,this.pa=0,this.Md=1,this.Db=this.ga=this.zb=0,this.description=this.selected=this.vb=this.Gd=this.open=this.S=!1,this.tb=0,this.Ze=this.Jd=this.X=!0,this.ma=void 0,this.Jc=!1,this.Ic=new u,this.W=new u,this.Tb=new u,this.Yh=j.li(),this.Kc=0,this.ed=1,this.Pc=-1,this.empty=function(){return!this.j||0===this.j.length};var e=[];this.tc=function(t){e.push(t)},this.Tc=function(t){A.Pf(e,t)};var t={scale:1};this.Ad=function(){var n=!1;this.scale=1;for(var i=0;i<e.length;i++)n=e[i].af(this,t)||n,this.scale*=t.scale;return n},this.Jb=function(t){for(var n=0;n<e.length;n++)e[n].Jb(this,t)},this.transformPoint=function(t,n){for(n.x=t.x,n.y=t.y,t=0;t<e.length;t++)e[t].transformPoint(this,n,n);return n},this.Kb=function(t,n){for(n.x=t.x,n.y=t.y,t=0;t<e.length;t++)e[t].Kb(this,n,n);return n};var n=[];this.rb=function(e){n.push(e)},this.Sc=function(e){A.Pf(n,e)};var i={opacity:1,saturation:1,qa:1,ca:1,Ea:1};this.fc=function(){if(0!==n.length){this.Ea=this.ca=this.qa=this.saturation=this.opacity=1;for(var e=n.length-1;0<=e;e--)(0,n[e])(this,i),this.opacity*=i.opacity,this.qa*=i.qa,this.saturation*=i.saturation,this.ca*=i.ca,this.Ea*=i.Ea}}}function ie(e,t){return t.weight>e.weight?1:t.weight<e.weight?-1:e.index-t.index}function re(e){var t,n,i,r,o,a,s=this,u=e.options;e.i.subscribe("stage:initialized",function(o,a,l,c){i=l,r=c,t=o.hc("titlebar",u.A,!1),(n=t.getContext("2d")).A=u.A,n.scale(n.A,n.A),e.i.C("titlebar:initialized",s)}),e.i.subscribe("stage:resized",function(e,t,o,a){i=o,r=a,n.scale(n.A,n.A)}),e.i.subscribe("zoom:initialized",function(e){a=e}),e.i.subscribe("api:initialized",function(e){o=e}),e.i.subscribe("model:loaded",function(){n.clearRect(0,0,i,r)}),this.update=function(e){if(n.clearRect(0,0,i,r),e){!e.empty()&&e.j[0].description&&(e=e.j[0]);var t=u.pj,s=u.oj,l=Math.min(r/2,u.$d+2*t),c=l-2*t,h=i-2*s;if(!(0>=c||0>=h)){var f=e.Jc?e.ma.fontSize*e.scale*a.scale():0,d={titleBarText:e.vd,titleBarTextColor:u.gg,titleBarBackgroundColor:u.fg,titleBarMaxFontSize:u.$d,titleBarShown:f<u.ei};if(e.attribution)var p=S("B`ssnu!Rd`sbi!Gn`lUsdd!whrt`mh{`uhno/!Busm,bmhbj!uid!mnfn!un!fn!un!iuuqr;..b`ssnurd`sbi/bnl.gn`lusdd!gns!lnsd!edu`hmr/");else o.uc(u.lj,e,d,function(e){e.titleBarWidth=h,e.titleBarHeight=c,e.labelFontSize=f,e.viewportScale=a.scale()}),p=d.titleBarText;p&&0!==p.length&&d.titleBarShown&&(t={x:s,y:(e=a.$c(e.transformPoint(e,{}),{}).y>r/2)?t:r-l+t,w:h,o:c},s=k.I(t),n.fillStyle=u.fg,n.fillRect(0,e?0:r-l,i,l),n.fillStyle=u.gg,j.xe({fontFamily:u.mj||u.sh,fontStyle:u.Oj||u.th,fontWeight:u.Qj||u.vh,fontVariant:u.Pj||u.uh,ib:u.$d,Mc:u.nj,eb:0,Ua:0,jb:1},n,p,s,t,{x:t.x+t.w/2,y:t.y+t.o/2},!0,!0).ha||n.clearRect(0,0,i,r))}}}}function oe(e){function t(e,t,n){return _=!0,u&&u.stop(),l&&l.stop(),a(f.reset(e),t,n).then(function(){_=!1})}function n(t){f.update(t),c.L=!0,e.i.C("foamtree:dirty",!0)}function i(e,t){return f.m((0!==f.u()?.35:1)*e,(0!==f.I()?.35:1)*t)}function r(){if(1===p.ratio){var e=Math.round(1e4*f.u())/1e4;0!==e&&(g.Nd=e,u=h.J.mc(g).ea({duration:500,P:{x:{start:e,end:0,easing:C.Hb}},aa:function(){f.m(g.x-g.Nd,0),n(1),g.Nd=g.x}}).start())}}function o(){if(1===p.ratio){var e=Math.round(1e4*f.I())/1e4;0!==e&&(b.Od=e,l=h.J.mc(b).ea({duration:500,P:{y:{start:e,end:0,easing:C.Hb}},aa:function(){f.m(0,b.y-b.Od),n(1),b.Od=b.y}}).start())}}function a(e,t,i){return e?h.J.mc(p).ea({duration:void 0===t?700:t,P:{ratio:{start:0,end:1,easing:i||C.bg}},aa:function(){n(p.ratio)}}).Ta():(new v).resolve().promise()}function s(e){return function(){return _?(new v).resolve().promise():e.apply(this,arguments)}}var u,l,c,h,f=new d(e),p={ratio:1},g={dx:0,x:0,Nd:0},b={dy:0,y:0,Od:0},m=this,_=!1;e.i.subscribe("model:loaded",function(e){c=e,f.reset(!1),f.update(1)}),e.i.subscribe("timeline:initialized",function(e){h=e}),this.M=function(){e.i.C("zoom:initialized",this)},this.reset=function(e,n){return f.Gb(1),t(!0,e,n)},this.normalize=s(function(e,n){f.wc(1)?t(!1,e,n):m.ff()}),this.ff=function(){r(),o()},this.ig=s(function(e,t,n,i){return m.lc(e.D,t,n,i)}),this.Qb=s(function(e,t,n,i){return a(f.Qb(e,t),n,i)}),this.lc=s(function(e,t,n,i){return a(f.lc(e,t),n,i)}),this.qj=s(function(e,t){f.lc(e,t)&&n(1)}),this.gi=s(function(e,t){1===p.ratio&&i(e,t)&&n(1)}),this.Ag=s(function(e,t){return(e=f.Qb(e,t))&&n(1),e}),this.zg=s(function(e,t,r,o){e=0|f.Qb(e,t),(e|=i(r,o))&&n(1)}),this.hi=s(function(e,t,a){1===p.ratio&&(u=h.J.mc(g).ea({duration:e/.03,P:{dx:{start:t,end:0,easing:C.Hb}},aa:function(){f.m(g.dx,0)&&n(1),r()}}).start(),l=h.J.mc(b).ea({duration:e/.03,P:{dy:{start:a,end:0,easing:C.Hb}},aa:function(){i(0,b.dy)&&n(1),o()}}).start())}),this.ii=function(){u&&0===f.u()&&u.stop(),l&&0===f.I()&&l.stop()},this.yc=function(e,t){f.yc(e,t)},this.Gb=function(e){return f.Gb(e)},this.wc=function(e){return f.wc(e)},this.Ed=function(){return f.Ed()},this.absolute=function(e,t){return f.absolute(e,t)},this.$c=function(e,t){return f.$c(e,t)},this.scale=function(){return f.scale()},this.m=function(e){return f.T(e)},this.content=function(e,t,n,i){f.content(e,t,n,i)}}function ae(e,t,n){function i(e){var t=[];return T.K(p,function(n){e(n)&&t.push(n.group)}),{groups:t}}function o(e,t){var n=_.options,i=n.$i,r=n.Zi;n=n.Td;var o=0<i+r?n:0,a=[];return E.wa(e,E.va(e,_.options.Vd),function(e,n,s){n="groups"===_.options.Ud?s:n,e.j&&(e=x.J.v(e).wait(o*(r+i*n)).call(t).done(),a.push(e))}),x.J.v({}).Qa(a).Ta()}function u(e){he||(he=!0,y.once(function(){he=!1,_.i.C("repaint:before"),I.Sd(this.yg)},{yg:e}))}function l(e){function t(e,r){var o=e.V;if(e.V=r<=n,e.Lc=r<=i,e.V!==o&&T.se(e,function(e){e.Zd=!0}),e.open||e.Va||r++,e=e.j)for(o=0;o<e.length;o++)t(e[o],r)}var n=_.options.bf,i=Math.min(_.options.bf,_.options.bi);if(e)for(var r=0;r<e.length;r++){var o=e[r];t(o,d(o))}else t(p,0)}function c(e,t){var n=[];for((e=h(e,t)).fi&&_.i.C("model:childrenAttached",T.Bc(p)),e.Ti&&L.complete(function(e){le.fb(e),n.push(e)}),t=e=0;t<n.length;t++){var i=n[t];i.j&&(e+=i.j.length),i.ua=!0,W.m(i)}return e}function h(e,n){function i(e,t){var n=!e.attribution&&t-(e.Va?1:0)<o;s=s||n,e.Da=e.Da||n,e.open||e.Va||t++;var i=e.j;if(!i&&n&&(a=j.T(e)||a,i=e.j,u&&(e.Ka=!0)),i)for(e=0;e<i.length;e++)r.push(i[e],t)}var r,o=n||_.options.ci,a=!1,s=!1,u="flattened"===t.ob;for(r=e?e.reduce(function(e,t){return e.push(t,1),e},[]):[p,1];0<r.length;)i(r.shift(),r.shift());return{fi:a,Ti:s}}function d(e){for(var t=0;e.parent;)e.open||e.Va||t++,e=e.parent;return t}var p,m=this,_={i:new w,options:t,Hd:n},y=new s,x=new M(y),S=a.create(),z=new f(_),B=new oe(_),D=new O(_),j=new P(_.options),L=new H(_),I=new J(_,y),N=new U(_);new re(_);var V=new R(_),W=new F(_),K=new G(_),Y=new q(_);_.i.subscribe("stage:initialized",function(e,t,n,i){ie.Se(n,i)}),_.i.subscribe("stage:resized",function(e,t,n,i){ie.Xi(e,t,n,i)}),_.i.subscribe("foamtree:attachChildren",c),_.i.subscribe("openclose:changing",l),_.i.subscribe("interaction:reset",function(){var e=!1;t.Kf({preventDefault:function(){e=!0}}),e?B.reset(t.Ma,C.ba(t.qb)):ce(!0)}),_.i.subscribe("foamtree:dirty",u),this.M=function(){_.i.C("timeline:initialized",x),p=j.M(),z.M(e),D.M(),I.M(),N.M(),V.M(),W.M(),B.M(),K.M(),Y.M()},this.$a=function(){x.m(),ue.stop(),y.m(),z.$a()};var Z,X="groupLabelFontFamily groupLabelFontStyle groupLabelFontVariant groupLabelFontWeight groupLabelLineHeight groupLabelHorizontalPadding groupLabelVerticalPadding groupLabelDottingThreshold groupLabelMaxTotalHeight groupLabelMinFontSize groupLabelMaxFontSize groupLabelDecorator".split(" "),$="rainbowColorDistribution rainbowLightnessDistribution rainbowColorDistributionAngle rainbowLightnessDistributionAngle rainbowColorModelStartPoint rainbowLightnessCorrection rainbowSaturationCorrection rainbowStartColor rainbowEndColor rainbowHueShift rainbowHueShiftCenter rainbowSaturationShift rainbowSaturationShiftCenter rainbowLightnessShift rainbowLightnessShiftCenter attributionTheme".split(" "),Q=!1,ee=["groupBorderRadius","groupBorderRadiusCorrection","groupBorderWidth","groupInsetWidth","groupBorderWidthScaling"],te=["maxGroupLevelsDrawn","maxGroupLabelLevelsDrawn"];this.Ob=function(e){_.i.C("options:changed",e),A.cb(e,X)&&T.K(p,function(e){e.Ka=!0}),A.cb(e,$)&&(p.Ha=!0),A.cb(e,ee)&&(Q=!0),A.cb(e,te)&&(l(),c())},this.reload=function(){ae.reload()},this.pc=function(e,t){A.defer(function(){if(Q)ie.Zh(e),Q=!1;else{if(t)for(var n=j.u(t),i=n.length-1;0<=i;i--)n[i].L=!0;else p.L=!0;u(e)}})},this.va=function(){z.u()},this.update=function(e){var t=(e=e?j.u(e):[p]).reduce(function(e,t){return e[t.id]=t,e},{});e=e.filter(function(e){for(e=e.parent;e;){if(A.has(t,e.id))return!1;e=e.parent}return!0}),j.update(e),ie.rj(e)},this.reset=function(){return ce(!1)},this.ia=I.u,this.T=I.m,this.Ga=(Z={},function(e,t){return(e=j.m(e))?D.ad(Z,e,t):null}),this.wa=function(){var e={x:0,y:0},t={x:0,y:0};return function(n,i){return(n=j.m(n))?(e.x=i.x,e.y=i.y,n.transformPoint(e,e),B.$c(e,e),t.x=e.x,t.y=e.y,t):null}}(),this.ra=function(){var e={};return function(t){return(t=j.m(t))?D.cd(e,t):null}}(),this.Nb=function(){var e={};return function(t){return(t=j.m(t))?D.bd(e,t):null}}(),this.sa=function(){var e={};return function(){return B.m(e)}}(),this.qc=function(){this.I({groups:i(function(e){return e.group.selected}),newState:!0,keepPrevious:!1}),this.u({groups:i(function(e){return e.group.open}),newState:!0,keepPrevious:!1}),this.m({groups:i(function(e){return e.group.exposed}),newState:!0,keepPrevious:!1})},this.Na=function(){return i(function(e){return e.S})},this.m=function(e){return ae.submit(function(){return V.Yb(j.I(e,"exposed",!1),!1,!0,!1)})},this.Wa=function(){return i(function(e){return e.open})},this.u=function(e){return ae.submit(function(){return K.Cb(j.I(e,"open",!0),!1,!1)})},this.Lb=function(){return i(function(e){return e.selected})},this.I=function(e){return ae.submit(function(){return Y.select(j.I(e,"selected",!0),!1),(new v).resolve().promise()})},this.sc=function(e){return(e=j.m(e))?e===p?B.reset(t.Ma,C.ba(t.qb)):B.ig(e,t.ac,t.Ma,C.ba(t.qb)):(new v).resolve().promise()},this.ta=function(e,t){return(e=j.u(e))?(t=c(e,t),l(e),t):0},this.Mb=function(e){return N.Wa[e]},this.rc=function(){var e=r;return{frames:e.frames,totalTime:e.totalTime,lastFrameTime:e.wd,lastInterFrameTime:e.xd,fps:e.Ae}};var ne,ie=function(){function e(e,i){var a=e||r,s=i||o;r=a,o=s,(e=t.Ub&&t.Ub.boundary)&&2<e.length?p.B=e.map(function(e){return{x:a*e.x,y:s*e.y}}):p.B=[{x:0,y:0},{x:a,y:0},{x:a,y:s},{x:0,y:s}],n()}function n(){p.Z=!0,p.F=p.B,p.D=k.D(p.B,p.D),p.O=p,k.sc(p.B,p.O)}function i(){L.jc(p),_.options.Rd?(u(!1),ue.Qf(),ue.Uc()):(L.complete(le.fb),p.Ha=!0,u(!1))}var r,o;return{Se:e,Xi:function(n,r,o,a){if("initialize"===t.Yi)le.stop(),e(o,a),p.empty()||(p.N=!1,p.Da=!0,i());else!function(t,n,r,o){le.stop();var a=r/t,s=o/n;T.te(p,function(e){e.x=e.x*a+(Math.random()-.5)*r/1e3,e.y=e.y*s+(Math.random()-.5)*o/1e3}),e(r,o),p.Fa=!0,L.step(le.fb,!0,!1,function(e){var t=e.j;if(t){L.Fb(e);for(var n=t.length-1;0<=n;n--){var i=t[n];i.w=i.kc}e.Fa=!0}})?u(!1):i()}(n,r,o,a)},Zh:function(e){var t=!1;return p.empty()||(n(),ue.yb()||(t=L.step(le.fb,!1,!1),u(e))),t},rj:function(e){e.forEach(function(e){T.ya(e,function(e){e.empty()||L.Fb(e)}),L.jc(e),_.options.Rd?(ue.Qf(),T.ya(e,function(e){e.empty()||le.grow(e)})):(T.ya(e,function(e){e.empty()||le.fb(e)}),L.complete(le.fb),e.Ha=!0,u(!1))})}}}(),ae=function(){function e(){if(0===t.Ld&&B.reset(0),_.options.Ff(t.Ub),ie.Se(),j.load(t.Ub),h(),l(),_.i.C("model:loaded",p,T.Bc(p)),!p.empty()){if(p.open=!0,p.Da=!0,t.Rd)var e=ue.Uc();else ue.ki(),e=function(){T.ya(p,function(e){e.ua=!1});var e=new v,t=new b(e.resolve);return t.m(),p.ua=!0,W.m(p).then(t.u),o(p,function e(){this.N&&this.B&&(this.Z=this.ua=!0,t.m(),W.m(this).then(t.u),t.m(),o(this,e).then(t.u))}),e.promise()}();!function(){var e=t.Oa,n=t.Qc;t.Oa=0,t.Qc=0,m.qc(),t.Oa=e,t.Qc=n}(),0<t.Td?(I.clear(),z.m(1)):e=g([e,n(1)])}_.options.Ef(t.Ub),e&&(_.options.If(),e.then(function(){I.I(function(){y.once(_.options.Hf)})}))}function n(e,n){return 0===t.we||n?(z.m(e),(new v).resolve().promise()):x.J.v({opacity:z.m()}).be(2).ea({duration:t.we,P:{opacity:{end:e,easing:C.ba(t.Og)}},aa:function(){z.m(this.opacity)}}).Ta()}function i(){for(var e=0;e<a.length;e++){var t=a[e],n=t.action();A.has(n,"then")?n.then(t.ne.resolve):t.ne.resolve()}a=[]}var r=!1,a=[];return{reload:function(){r||(p.empty()?e():(le.stop(),x.m(),ue.stop(),r=!0,g(0<t.Ld?[W.u(),ce(!1)]:[n(0)]).then(function(){n(0,!0),r=!1,e(),A.defer(i)})))},submit:function(e){if(r){var t=new v;return a.push({action:e,ne:t}),t.promise()}return e()}}}(),se=new b(function(){ne.resolve()}),ue=function(){function e(){return a||(se.initial()&&(ne=new v),se.m(),n(),a=!0,y.repeat(i)),ne.promise()}function n(){r=S.now()}function i(){var n=S.now()-r>t.Wi;return n=L.step(function(t){t.ua=!0,le.grow(t),se.m(),W.m(t).then(se.u),se.m(),o(t,function(){this.Da=!0,e()}).then(se.u)},!0,n)||n,u(!0),n&&(a=!1,se.u()),n}var r,a=!1;return{ki:function(){L.complete(le.fb)},Uc:e,Qf:n,yb:function(){return!se.initial()},stop:function(){y.cancel(i),a=!1,se.clear()}}}(),le=function(){function e(e){var t=!e.empty();if(e.ua=!0,t){for(var n=e.j,i=n.length-1;0<=i;i--){var r=n[i];r.w=r.kc}e.Fa=!0}return t}var t=[];return{grow:function(n){var i=_.options,r=i.jh;0<r?E.wa(n,E.va(n,_.options.Vd),function(e,n,o){n="groups"===_.options.Ud?o:n,se.m(),t.push(x.J.v(e).wait(n*i.ih*r).ea({duration:r,P:{w:{start:e.cg,end:e.kc,easing:C.ba(i.kh)}},aa:function(){this.w=Math.max(0,this.w),this.parent.Fa=!0,ue.Uc()}}).Ya(se.u).start())}):e(n)&&ue.Uc()},fb:e,stop:function(){for(var e=t.length-1;0<=e;e--)t[e].stop();t=[]}}}(),ce=function(){var e=!1;return function(n){if(e)return(new v).resolve().promise();e=!0;var i=[];i.push(B.reset(t.Ma,C.ba(t.qb)));var r=new v;return V.Yb({j:[],Ca:!1,Ba:!1},n,!1,!0).then(function(){K.Cb({j:[],Ca:!1,Ba:!1},n,!1).then(r.resolve)}),i.push(r.promise()),g(i).then(function(){e=!1,n&&t.Jf()})}}(),he=!1}function se(){return{version:"3.5.7",build:"bugfix/3.5.x/83c8d550",brandingAllowed:!1}}Q.re={width:445.2,height:533.5},o.rd(function(){window.CarrotSearchFoamTree=function(e){function t(e){function t(e,t){return A.has(n,e)?(t(n[e]),delete n[e],1):0}if(0===arguments.length)return 0;if(1===arguments.length)var n=A.extend({},arguments[0]);else 2===arguments.length&&((n={})[arguments[0]]=arguments[1]);a&&a.validate(n,u.$h);var r=0;l&&(r+=t("selection",l.I),r+=t("open",l.u),r+=t("exposure",l.m));var o={};return A.za(n,function(e,t){(s[t]!==e||A.xb(e))&&(o[t]=e,r++),s[t]=e}),0<r&&i(o),r}function n(e,t){e="on"+e.charAt(0).toUpperCase()+e.slice(1);var n=s[e];s[e]=t(Array.isArray(n)?n:[n]),(t={})[e]=s[e],i(t)}function i(e){!function(){function t(t,n){return A.has(e,t)||void 0===n?x(s[t],o):n}u.$h=s.logging,u.Ub=s.dataObject,u.A=s.pixelRatio,u.pb=s.wireframePixelRatio,u.ob=s.stacking,u.Lg=s.descriptionGroup,u.Wb=s.descriptionGroupType,u.xc=s.descriptionGroupPosition,u.Mg=s.descriptionGroupDistanceFromCenter,u.Vb=s.descriptionGroupSize,u.pe=s.descriptionGroupMinHeight,u.oe=s.descriptionGroupMaxHeight,u.qe=s.descriptionGroupPolygonDrawn,u.layout=s.layout,u.dc=s.layoutByWeightOrder,u.jj=s.showZeroWeightGroups,u.Ie=s.groupMinDiameter,u.Qd=s.rectangleAspectRatioPreference,u.Vi=s.initializer||s.relaxationInitializer,u.Wi=s.relaxationMaxDuration,u.Rd=s.relaxationVisible,u.Of=s.relaxationQualityThreshold,u.Yi=s.resizeTransform,u.Bh=s.groupResizingBudget,u.jh=s.groupGrowingDuration,u.ih=s.groupGrowingDrag,u.kh=s.groupGrowingEasing,u.Tg=s.groupBorderRadius,u.ab=s.groupBorderWidth,u.Ja=s.groupBorderWidthScaling,u.od=s.groupInsetWidth,u.Ug=s.groupBorderRadiusCorrection,u.bb=s.groupStrokeWidth,u.Fc=s.groupSelectionOutlineWidth,u.Fh=s.groupSelectionOutlineColor,u.pd=s.groupSelectionOutlineShadowSize,u.Je=s.groupSelectionOutlineShadowColor,u.Ch=s.groupSelectionFillHueShift,u.Eh=s.groupSelectionFillSaturationShift,u.Dh=s.groupSelectionFillLightnessShift,u.Le=s.groupSelectionStrokeHueShift,u.Ne=s.groupSelectionStrokeSaturationShift,u.Me=s.groupSelectionStrokeLightnessShift,u.hh=s.groupFillType,u.dh=s.groupFillGradientRadius,u.$g=s.groupFillGradientCenterHueShift,u.bh=s.groupFillGradientCenterSaturationShift,u.ah=s.groupFillGradientCenterLightnessShift,u.eh=s.groupFillGradientRimHueShift,u.gh=s.groupFillGradientRimSaturationShift,u.fh=s.groupFillGradientRimLightnessShift,u.qd=s.groupStrokeType,u.bb=s.groupStrokeWidth,u.Oe=s.groupStrokePlainHueShift,u.Qe=s.groupStrokePlainSaturationShift,u.Pe=s.groupStrokePlainLightnessShift,u.Kh=s.groupStrokeGradientRadius,u.Gh=s.groupStrokeGradientAngle,u.Lh=s.groupStrokeGradientUpperHueShift,u.Nh=s.groupStrokeGradientUpperSaturationShift,u.Mh=s.groupStrokeGradientUpperLightnessShift,u.Hh=s.groupStrokeGradientLowerHueShift,u.Jh=s.groupStrokeGradientLowerSaturationShift,u.Ih=s.groupStrokeGradientLowerLightnessShift,u.lh=s.groupHoverFillHueShift,u.nh=s.groupHoverFillSaturationShift,u.mh=s.groupHoverFillLightnessShift,u.Fe=s.groupHoverStrokeHueShift,u.He=s.groupHoverStrokeSaturationShift,u.Ge=s.groupHoverStrokeLightnessShift,u.Pa=s.groupExposureScale,u.Zg=s.groupExposureShadowColor,u.Ee=s.groupExposureShadowSize,u.ac=s.groupExposureZoomMargin,u.Ph=s.groupUnexposureLightnessShift,u.Qh=s.groupUnexposureSaturationShift,u.Oh=s.groupUnexposureLabelColorThreshold,u.Oa=s.exposeDuration,u.Zb=s.exposeEasing,u.Qc=s.openCloseDuration,u.Vg=x(s.groupColorDecorator,o),u.Wg=s.groupColorDecorator!==A.oa,u.qh=x(s.groupLabelDecorator,o),u.rh=s.groupLabelDecorator!==A.oa,u.wh=x(s.groupLabelLayoutDecorator,o),u.xh=s.groupLabelLayoutDecorator!==A.oa,u.Xg=x(s.groupContentDecorator,o),u.Ec=s.groupContentDecorator!==A.oa,u.Yg=s.groupContentDecoratorTriggering,u.Ri=s.rainbowStartColor,u.Ki=s.rainbowEndColor,u.Ii=s.rainbowColorDistribution,u.Ji=s.rainbowColorDistributionAngle,u.Ni=s.rainbowLightnessDistributionAngle,u.Oi=s.rainbowLightnessShift,u.Pi=s.rainbowLightnessShiftCenter,u.Qi=s.rainbowSaturationCorrection,u.Mi=s.rainbowLightnessCorrection,u.Lf=s.parentFillOpacity,u.ji=s.parentStrokeOpacity,u.Mf=s.parentLabelOpacity,u.Nf=s.parentOpacityBalancing,u.Ah=s.groupLabelUpdateThreshold,u.sh=s.groupLabelFontFamily,u.th=s.groupLabelFontStyle,u.uh=s.groupLabelFontVariant,u.vh=s.groupLabelFontWeight,u.zh=s.groupLabelMinFontSize,u.Gj=s.groupLabelMaxFontSize,u.Fj=s.groupLabelLineHeight,u.Ej=s.groupLabelHorizontalPadding,u.Ij=s.groupLabelVerticalPadding,u.Hj=s.groupLabelMaxTotalHeight,u.ph=s.groupLabelDarkColor,u.yh=s.groupLabelLightColor,u.oh=s.groupLabelColorThreshold,u.tj=s.wireframeDrawMaxDuration,u.uj=s.wireframeLabelDrawing,u.sj=s.wireframeContentDecorationDrawing,u.kg=s.wireframeToFinalFadeDuration,u.vj=s.wireframeToFinalFadeDelay,u.Pg=s.finalCompleteDrawMaxDuration,u.Qg=s.finalIncrementalDrawMaxDuration,u.ye=s.finalToWireframeFadeDuration,u.dd=s.androidStockBrowserWorkaround,u.Re=s.incrementalDraw,u.di=s.maxGroups,u.ci=s.maxGroupLevelsAttached,u.bf=s.maxGroupLevelsDrawn,u.bi=s.maxGroupLabelLevelsDrawn,u.Vd=s.rolloutStartPoint,u.Ud=s.rolloutMethod,u.aj=s.rolloutEasing,u.Td=s.rolloutDuration,u.Sf=s.rolloutScalingStrength,u.Uf=s.rolloutTranslationXStrength,u.Vf=s.rolloutTranslationYStrength,u.Rf=s.rolloutRotationStrength,u.Tf=s.rolloutTransformationCenter,u.ej=s.rolloutPolygonDrag,u.fj=s.rolloutPolygonDuration,u.bj=s.rolloutLabelDelay,u.cj=s.rolloutLabelDrag,u.dj=s.rolloutLabelDuration,u.$i=s.rolloutChildGroupsDrag,u.Zi=s.rolloutChildGroupsDelay,u.Bi=s.pullbackStartPoint,u.vi=s.pullbackMethod,u.ri=s.pullbackEasing,u.Mj=s.pullbackType,u.Ld=s.pullbackDuration,u.Ai=s.pullbackScalingStrength,u.Di=s.pullbackTranslationXStrength,u.Ei=s.pullbackTranslationYStrength,u.zi=s.pullbackRotationStrength,u.Ci=s.pullbackTransformationCenter,u.wi=s.pullbackPolygonDelay,u.xi=s.pullbackPolygonDrag,u.yi=s.pullbackPolygonDuration,u.si=s.pullbackLabelDelay,u.ti=s.pullbackLabelDrag,u.ui=s.pullbackLabelDuration,u.ni=s.pullbackChildGroupsDelay,u.oi=s.pullbackChildGroupsDrag,u.pi=s.pullbackChildGroupsDuration,u.we=s.fadeDuration,u.Og=s.fadeEasing,u.wj=s.zoomMouseWheelFactor,u.Ma=s.zoomMouseWheelDuration,u.qb=s.zoomMouseWheelEasing,u.ei=s.maxLabelSizeForTitleBar,u.mj=s.titleBarFontFamily,u.fg=s.titleBarBackgroundColor,u.gg=s.titleBarTextColor,u.nj=s.titleBarMinFontSize,u.$d=s.titleBarMaxFontSize,u.oj=s.titleBarTextPaddingLeftRight,u.pj=s.titleBarTextPaddingTopBottom,u.lj=s.titleBarDecorator,u.Aj=s.attributionText,u.xj=s.attributionLogo,u.zj=s.attributionLogoScale,u.Bj=s.attributionUrl,u.ge=s.attributionPosition,u.Bg=s.attributionDistanceFromCenter,u.Cg=s.attributionWeight,u.he=s.attributionTheme,u.Te=s.interactionHandler,u.Ff=t("onModelChanging",u.Ff),u.Ef=t("onModelChanged",u.Ef),u.Gf=t("onRedraw",u.Gf),u.If=t("onRolloutStart",u.If),u.Hf=t("onRolloutComplete",u.Hf),u.Fd=t("onRelaxationStep",u.Fd),u.Kf=t("onViewResetting",u.Kf),u.Jf=t("onViewReset",u.Jf),u.xf=t("onGroupOpenOrCloseChanging",u.xf),u.wf=t("onGroupOpenOrCloseChanged",u.wf),u.pf=t("onGroupExposureChanging",u.pf),u.nf=t("onGroupExposureChanged",u.nf),u.zf=t("onGroupSelectionChanging",u.zf),u.yf=t("onGroupSelectionChanged",u.yf),u.rf=t("onGroupHover",u.rf),u.tf=t("onGroupMouseMove",u.tf),u.hf=t("onGroupClick",u.hf),u.jf=t("onGroupDoubleClick",u.jf),u.qf=t("onGroupHold",u.qf),u.vf=t("onGroupMouseWheel",u.vf),u.uf=t("onGroupMouseUp",u.uf),u.sf=t("onGroupMouseDown",u.sf),u.mf=t("onGroupDragStart",u.mf),u.kf=t("onGroupDrag",u.kf),u.lf=t("onGroupDragEnd",u.lf),u.Cf=t("onGroupTransformStart",u.Cf),u.Af=t("onGroupTransform",u.Af),u.Bf=t("onGroupTransformEnd",u.Bf),u.Df=t("onKeyUp",u.Df)}(),u.Si=p.ta(u.Ri),u.Li=p.ta(u.Ki),u.Ke=p.ta(u.Je),u.yj=null,l&&(l.Ob(e),A.has(e,"dataObject")&&l.reload())}function r(e){return function(){return e.apply(this,arguments).Rg(o)}}var o=this,a=window.CarrotSearchFoamTree.asserts,s=A.extend({},window.CarrotSearchFoamTree.defaults),u={};t(e),(e=s.element||document.getElementById(s.id))||I.Ga("Element to embed FoamTree in not found."),s.element=e;var l=new ae(e,u,s);l.M();var c={get:function(e){return 0===arguments.length?A.extend({},s):function(e,t){if(!a||a.exists(e))switch(e){case"selection":return l.Lb();case"open":return l.Wa();case"exposure":return l.Na();case"state":return l.ra.apply(this,t);case"geometry":return l.Ga.apply(this,t);case"hierarchy":return l.Nb.apply(this,t);case"containerCoordinates":return l.wa.apply(this,t);case"imageData":return l.ia.apply(this,t);case"viewport":return l.sa();case"times":return l.rc();case"onModelChanged":case"onRedraw":case"onRolloutStart":case"onRolloutComplete":case"onRelaxationStep":case"onGroupHover":case"onGroupOpenOrCloseChanging":case"onGroupExposureChanging":case"onGroupSelectionChanging":case"onGroupSelectionChanged":case"onGroupClick":case"onGroupDoubleClick":case"onGroupHold":return e=s[e],Array.isArray(e)?e:[e];default:return s[e]}}(arguments[0],Array.prototype.slice.call(arguments,1))},set:t,on:function(e,t){n(e,function(e){return e.push(t),e})},off:function(e,t){n(e,function(e){return e.filter(function(e){return e!==t})})},resize:l.va,redraw:l.pc,drawTo:l.T,update:l.update,attach:l.ta,select:r(l.I),expose:r(l.m),open:r(l.u),reset:r(l.reset),zoom:r(l.sc),trigger:function(e,t){(e=l.Mb(e))&&e(t)},dispose:function(){function e(){throw"FoamTree instance disposed"}l.$a(),A.za(c,function(t,n){"dispose"!==n&&(o[n]=e)})}};A.za(c,function(e,t){o[t]=e}),l.reload()},window["CarrotSearchFoamTree.asserts"]&&(window.CarrotSearchFoamTree.asserts=window["CarrotSearchFoamTree.asserts"],delete window["CarrotSearchFoamTree.asserts"]),window.CarrotSearchFoamTree.supported=!0,window.CarrotSearchFoamTree.version=se,window.CarrotSearchFoamTree.defaults=Object.freeze({id:void 0,element:void 0,logging:!1,dataObject:void 0,pixelRatio:1,wireframePixelRatio:1,layout:"relaxed",layoutByWeightOrder:!0,showZeroWeightGroups:!0,groupMinDiameter:10,rectangleAspectRatioPreference:-1,relaxationInitializer:"fisheye",relaxationMaxDuration:3e3,relaxationVisible:!1,relaxationQualityThreshold:1,resizeTransform:"morph",stacking:"hierarchical",descriptionGroup:"auto",descriptionGroupType:"stab",descriptionGroupPosition:225,descriptionGroupDistanceFromCenter:1,descriptionGroupSize:.125,descriptionGroupMinHeight:35,descriptionGroupMaxHeight:.5,descriptionGroupPolygonDrawn:!1,maxGroups:5e4,maxGroupLevelsAttached:4,maxGroupLevelsDrawn:4,maxGroupLabelLevelsDrawn:3,groupGrowingDuration:0,groupGrowingEasing:"bounce",groupGrowingDrag:0,groupResizingBudget:2,groupBorderRadius:.15,groupBorderWidth:4,groupBorderWidthScaling:.6,groupInsetWidth:6,groupBorderRadiusCorrection:1,groupSelectionOutlineWidth:5,groupSelectionOutlineColor:"#222",groupSelectionOutlineShadowSize:0,groupSelectionOutlineShadowColor:"#fff",groupSelectionFillHueShift:0,groupSelectionFillSaturationShift:0,groupSelectionFillLightnessShift:0,groupSelectionStrokeHueShift:0,groupSelectionStrokeSaturationShift:0,groupSelectionStrokeLightnessShift:-10,groupFillType:"gradient",groupFillGradientRadius:1,groupFillGradientCenterHueShift:0,groupFillGradientCenterSaturationShift:0,groupFillGradientCenterLightnessShift:20,groupFillGradientRimHueShift:0,groupFillGradientRimSaturationShift:0,groupFillGradientRimLightnessShift:-5,groupStrokeType:"plain",groupStrokeWidth:1.5,groupStrokePlainHueShift:0,groupStrokePlainSaturationShift:0,groupStrokePlainLightnessShift:-10,groupStrokeGradientRadius:1,groupStrokeGradientAngle:45,groupStrokeGradientUpperHueShift:0,groupStrokeGradientUpperSaturationShift:0,groupStrokeGradientUpperLightnessShift:20,groupStrokeGradientLowerHueShift:0,groupStrokeGradientLowerSaturationShift:0,groupStrokeGradientLowerLightnessShift:-20,groupHoverFillHueShift:0,groupHoverFillSaturationShift:0,groupHoverFillLightnessShift:20,groupHoverStrokeHueShift:0,groupHoverStrokeSaturationShift:0,groupHoverStrokeLightnessShift:-10,groupExposureScale:1.15,groupExposureShadowColor:"rgba(0, 0, 0, 0.5)",groupExposureShadowSize:50,groupExposureZoomMargin:.1,groupUnexposureLightnessShift:65,groupUnexposureSaturationShift:-65,groupUnexposureLabelColorThreshold:.35,exposeDuration:700,exposeEasing:"squareInOut",groupColorDecorator:A.oa,groupLabelDecorator:A.oa,groupLabelLayoutDecorator:A.oa,groupContentDecorator:A.oa,groupContentDecoratorTriggering:"onLayoutDirty",openCloseDuration:500,rainbowColorDistribution:"radial",rainbowColorDistributionAngle:-45,rainbowLightnessDistributionAngle:45,rainbowSaturationCorrection:.1,rainbowLightnessCorrection:.4,rainbowStartColor:"hsla(0, 100%, 55%, 1)",rainbowEndColor:"hsla(359, 100%, 55%, 1)",rainbowLightnessShift:30,rainbowLightnessShiftCenter:.4,parentFillOpacity:.7,parentStrokeOpacity:1,parentLabelOpacity:1,parentOpacityBalancing:!0,wireframeDrawMaxDuration:15,wireframeLabelDrawing:"auto",wireframeContentDecorationDrawing:"auto",wireframeToFinalFadeDuration:500,wireframeToFinalFadeDelay:300,finalCompleteDrawMaxDuration:80,finalIncrementalDrawMaxDuration:100,finalToWireframeFadeDuration:200,androidStockBrowserWorkaround:!1,incrementalDraw:"fast",groupLabelFontFamily:"sans-serif",groupLabelFontStyle:"normal",groupLabelFontWeight:"normal",groupLabelFontVariant:"normal",groupLabelLineHeight:1.05,groupLabelHorizontalPadding:1,groupLabelVerticalPadding:1,groupLabelMinFontSize:6,groupLabelMaxFontSize:160,groupLabelMaxTotalHeight:.9,groupLabelUpdateThreshold:.05,groupLabelDarkColor:"#000",groupLabelLightColor:"#fff",groupLabelColorThreshold:.35,rolloutStartPoint:"center",rolloutEasing:"squareOut",rolloutMethod:"groups",rolloutDuration:2e3,rolloutScalingStrength:-.7,rolloutTranslationXStrength:0,rolloutTranslationYStrength:0,rolloutRotationStrength:-.7,rolloutTransformationCenter:.7,rolloutPolygonDrag:.1,rolloutPolygonDuration:.5,rolloutLabelDelay:.8,rolloutLabelDrag:.1,rolloutLabelDuration:.5,rolloutChildGroupsDrag:.1,rolloutChildGroupsDelay:.2,pullbackStartPoint:"center",pullbackEasing:"squareIn",pullbackMethod:"groups",pullbackDuration:1500,pullbackScalingStrength:-.7,pullbackTranslationXStrength:0,pullbackTranslationYStrength:0,pullbackRotationStrength:-.7,pullbackTransformationCenter:.7,pullbackPolygonDelay:.3,pullbackPolygonDrag:.1,pullbackPolygonDuration:.8,pullbackLabelDelay:0,pullbackLabelDrag:.1,pullbackLabelDuration:.3,pullbackChildGroupsDelay:.1,pullbackChildGroupsDrag:.1,pullbackChildGroupsDuration:.3,fadeDuration:700,fadeEasing:"cubicInOut",zoomMouseWheelFactor:1.5,zoomMouseWheelDuration:500,zoomMouseWheelEasing:"squareOut",maxLabelSizeForTitleBar:8,titleBarFontFamily:null,titleBarFontStyle:"normal",titleBarFontWeight:"normal",titleBarFontVariant:"normal",titleBarBackgroundColor:"rgba(0, 0, 0, 0.5)",titleBarTextColor:"rgba(255, 255, 255, 1)",titleBarMinFontSize:10,titleBarMaxFontSize:40,titleBarTextPaddingLeftRight:20,titleBarTextPaddingTopBottom:15,titleBarDecorator:A.oa,attributionText:null,attributionLogo:null,attributionLogoScale:.5,attributionUrl:"http://carrotsearch.com/foamtree",attributionPosition:"bottomright",attributionDistanceFromCenter:1,attributionWeight:.025,attributionTheme:"light",interactionHandler:o.Sh()?"hammerjs":"builtin",onModelChanging:[],onModelChanged:[],onRedraw:[],onRolloutStart:[],onRolloutComplete:[],onRelaxationStep:[],onViewReset:[],onViewResetting:[],onGroupOpenOrCloseChanging:[],onGroupOpenOrCloseChanged:[],onGroupExposureChanging:[],onGroupExposureChanged:[],onGroupSelectionChanging:[],onGroupSelectionChanged:[],onGroupHover:[],onGroupMouseMove:[],onGroupClick:[],onGroupDoubleClick:[],onGroupHold:[],onGroupMouseWheel:[],onGroupMouseUp:[],onGroupMouseDown:[],onGroupDragStart:[],onGroupDrag:[],onGroupDragEnd:[],onGroupTransformStart:[],onGroupTransform:[],onGroupTransformEnd:[],onKeyUp:[],selection:null,open:null,exposure:null,imageData:null,hierarchy:null,geometry:null,containerCoordinates:null,state:null,viewport:null,times:null}),window.CarrotSearchFoamTree.geometry=Object.freeze({rectangleInPolygon:function(e,t,n,i,r,o,a){return r=A.G(r,1),o=A.G(o,.5),a=A.G(a,.5),{x:t-(e=k.de(e,{x:t,y:n},i,o,a)*r)*i*o,y:n-e*a,w:e*i,h:e}},circleInPolygon:function(e,t,n){return k.rg(e,{x:t,y:n})},stabPolygon:function(e,t,n,i){return k.Nb(e,{x:t,y:n},i)},polygonCentroid:function(e){return{x:(e=k.u(e,{})).x,y:e.y,area:e.fa}},boundingBox:function(e){for(var t=e[0].x,n=e[0].y,i=e[0].x,r=e[0].y,o=1;o<e.length;o++){var a=e[o];a.x<t&&(t=a.x),a.y<n&&(n=a.y),a.x>i&&(i=a.x),a.y>r&&(r=a.y)}return{x:t,y:n,w:i-t,h:r-n}}})},function(){window.CarrotSearchFoamTree=function(){window.console.error("FoamTree is not supported on this browser.")},window.CarrotSearchFoamTree.supported=!1})}();const Jo=window.CarrotSearchFoamTree;function ea(e){e.preventDefault()}class ta extends t.uA{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,this.findChunkNamePartIndex()}componentDidMount(){this.treemap=this.createTreemap(),window.addEventListener("resize",this.resize)}componentWillReceiveProps(e){e.data!==this.props.data?(this.findChunkNamePartIndex(),this.treemap.set({dataObject:this.getTreemapDataObject(e.data)})):e.highlightGroups!==this.props.highlightGroups&&setTimeout(()=>this.treemap.redraw())}shouldComponentUpdate(){return!1}componentWillUnmount(){window.removeEventListener("resize",this.resize),this.treemap.dispose()}render(){return qr("div",{...this.props,ref:this.saveNodeRef})}getTreemapDataObject(e=this.props.data){return{groups:e}}createTreemap(){const e=this,{props:t}=this;return new Jo({element:this.node,layout:"squarified",stacking:"flattened",pixelRatio:window.devicePixelRatio||1,maxGroups:1/0,maxGroupLevelsDrawn:1/0,maxGroupLabelLevelsDrawn:1/0,maxGroupLevelsAttached:1/0,wireframeLabelDrawing:"always",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,i){const r=e.getGroupRoot(n.group),o=e.getChunkNamePart(r.label),a=/[^0-9]/u.test(o)?function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}(o):Number.parseInt(o,10)/1e3*360;i.groupColor={model:"hsla",h:Math.round(Math.abs(a)%360),s:60,l:50,a:.9};const{highlightGroups:s}=e.props,u=n.group;s&&s.has(u)?i.groupColor={model:"rgba",r:255,g:0,b:0,a:.8}:s&&s.size>0&&(i.groupColor.s=10)},onGroupClick(n){ea(n),(n.ctrlKey||n.secondary)&&t.onGroupSecondaryClick?t.onGroupSecondaryClick.call(e,n):(e.zoomOutDisabled=!1,this.zoom(n.group))},onGroupDoubleClick:ea,onGroupHover(n){if(n.group&&(n.group.attribution||n.group===this.get("dataObject")))return n.preventDefault(),void(t.onMouseLeave&&t.onMouseLeave.call(e,n));t.onGroupHover&&t.onGroupHover.call(e,n)},onGroupMouseWheel(t){const{scale:n}=this.get("viewport");if(t.delta<0){if(e.zoomOutDisabled)return ea(t);n<1&&(e.zoomOutDisabled=!0,ea(t))}else e.zoomOutDisabled=!1}})}getGroupRoot(e){let t;for(;!e.isAsset&&(t=this.treemap.get("hierarchy",e).parent);)e=t;return e}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 Boolean(t)&&t.revealed}update(){this.treemap.update()}findChunkNamePartIndex(){const e=this.props.data.map(e=>e.label.split(/[^a-z0-9]/iu)),t={index:0,votes:0};for(let n=Math.max(...e.map(e=>e.length))-1;n>=0;n--){const i={name:0,hash:0,ext:0};let r="";for(const t of e){const e=t[n];void 0!==e&&""!==e&&(e===r?i.ext++:/[a-z]/u.test(e)&&/[0-9]/u.test(e)&&e.length===r.length?i.hash++:(/^[a-z]+$/iu.test(e)||/^[0-9]+$/u.test(e))&&i.name++,r=e)}i.name>=t.votes&&(t.index=n,t.votes=i.name)}this.chunkNamePartIndex=t.index}getChunkNamePart(e){return e.split(/[^a-z0-9]/iu)[this.chunkNamePartIndex]||e}}function na(){const e=[{label:"Stat",prop:"statSize"},{label:"Parsed",prop:"parsedSize"}];return"gzip"===globalThis.compressionAlgorithm&&e.push({label:"Gzipped",prop:"gzipSize"}),"brotli"===globalThis.compressionAlgorithm&&e.push({label:"Brotli",prop:"brotliSize"}),"zstd"===globalThis.compressionAlgorithm&&e.push({label:"Zstandard",prop:"zstdSize"}),e}ta.propTypes={classname:Mr().string,data:Xr.isRequired,highlightGroups:Mr().instanceOf(Set).isRequired,weightProp:Qr.isRequired,onGroupHover:Mr().func,onGroupSecondaryClick:Mr().func,onMouseLeave:Mr().func,onResize:Mr().func};class ia extends t.uA{constructor(){super(),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 n=e===no.ALL_ITEM,i=n?"All":e.label,r=n?Ar.totalChunksSize:e[Ar.activeSize];return qr(t.FK,{children:[i," (",qr("strong",{children:A(r)}),")"]})},this.handleSelectionChange=e=>{e?Ar.setSelectedChunks(Ar.allChunks.filter(t=>t.isInitialByEntrypoint[e]??!1)):Ar.setSelectedChunks(Ar.allChunks)},this.handleConcatenatedModulesContentToggle=e=>{Ar.showConcatenatedModulesContent=e,e?_r.setItem("showConcatenatedModulesContent",!0):_r.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=>{Ar.setSelectedSize(e.prop)},this.handleQueryChange=e=>{Ar.setSearchQuery(e)},this.handleSelectedChunksChange=e=>{Ar.setSelectedSize(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,Nn(this,{sizeSwitchItems:at,activeSizeItem:at,chunkItems:at,highlightedModules:at,foundModulesInfo:at})}componentDidMount(){document.addEventListener("mousemove",this.handleMouseMove,!0)}componentWillUnmount(){document.removeEventListener("mousemove",this.handleMouseMove,!0)}render(){const{selectedChunk:e,selectedMouseCoords:t,sidebarPinned:n,showChunkContextMenu:i,showTooltip:r,tooltipContent:o}=this.state;return qr("div",{className:Mo.kL,children:[qr(Ho,{pinned:n,onToggle:this.handleSidebarToggle,onPinStateChange:this.handleSidebarPinStateChange,onResize:this.handleSidebarResize,children:[qr("div",{className:Mo.Us,children:[qr(Zo,{label:"Treemap sizes",items:this.sizeSwitchItems,activeItem:this.activeSizeItem,onSwitch:this.handleSizeSwitch}),Ar.hasConcatenatedModules&&qr("div",{className:Mo.D7,children:qr(Ur,{checked:Ar.showConcatenatedModulesContent,onChange:this.handleConcatenatedModulesContentToggle,children:"Show content of concatenated modules"+("statSize"===Ar.activeSize?"":" (inaccurate)")})})]}),qr("div",{className:Mo.Us,children:qr(fo,{label:"Filter to initial chunks",options:Ar.entrypoints,onSelectionChange:this.handleSelectionChange})}),qr("div",{className:Mo.Us,children:[qr(jo,{label:"Search modules",query:Ar.searchQuery,autofocus:!0,onQueryChange:this.handleQueryChange}),qr("div",{className:Mo.as,children:this.foundModulesInfo}),Ar.isSearching&&Ar.hasFoundModules&&qr("div",{className:Mo.Nr,children:Ar.foundModulesByChunk.map(({chunk:e,modules:t})=>qr("div",{className:Mo.DB,children:[qr("div",{className:Mo.oE,onClick:()=>this.treemap.zoomToGroup(e),children:e.label}),qr(So,{className:Mo.Qb,modules:t,showSize:Ar.activeSize,highlightedText:Ar.searchQueryRegexp,isModuleVisible:this.isModuleVisible,onModuleClick:this.handleFoundModuleClick})]},e.cid))})]}),this.chunkItems.length>1&&qr("div",{className:Mo.Us,children:qr(no,{label:"Show chunks",items:this.chunkItems,checkedItems:Ar.selectedChunks,renderLabel:this.renderChunkItemLabel,onChange:this.handleSelectedChunksChange})})]}),qr(ta,{ref:this.saveTreemapRef,className:Mo.Tj,data:Ar.visibleChunks,highlightGroups:this.highlightedModules,weightProp:Ar.activeSize,onMouseLeave:this.handleMouseLeaveTreemap,onGroupHover:this.handleTreemapGroupHover,onGroupSecondaryClick:this.handleTreemapGroupSecondaryClick,onResize:this.handleResize}),o&&qr(Qo,{visible:r,children:o}),qr(lo,{visible:i,chunk:e,coords:t,onHide:this.handleChunkContextMenuHide})]})}renderModuleSize(e,t){const n=`${t}Size`,i=e[n],r=na().find(e=>e.prop===n).label,o=Ar.activeSize===n;return"number"==typeof i?qr("div",{className:o?Mo.ON:"",children:[r," size: ",qr("strong",{children:A(i)})]}):null}get sizeSwitchItems(){return Ar.hasParsedSizes?na():na().slice(0,1)}get activeSizeItem(){return this.sizeSwitchItems.find(e=>e.prop===Ar.activeSize)}get chunkItems(){const{allChunks:e,activeSize:t}=Ar;let n=[...e];return"statSize"!==t&&(n=n.filter(yr)),n.sort((e,n)=>n[t]-e[t]),n}get highlightedModules(){return new Set(Ar.foundModules)}get foundModulesInfo(){return Ar.isSearching?Ar.hasFoundModules?qr(t.FK,{children:[qr("div",{className:Mo.Xi,children:["Count: ",qr("strong",{children:Ar.foundModules.length})]}),qr("div",{className:Mo.Xi,children:["Total size: ",qr("strong",{children:A(Ar.foundModulesSize)})]})]}):"Nothing found"+(Ar.allChunksSelected?"":" in selected chunks"):" "}getTooltipContent(e){return e?qr("div",{children:[qr("div",{children:qr("strong",{children:e.label})}),qr("br",{}),this.renderModuleSize(e,"stat"),!e.inaccurateSizes&&this.renderModuleSize(e,"parsed"),!e.inaccurateSizes&&this.renderModuleSize(e,globalThis.compressionAlgorithm),e.path&&qr("div",{children:["Path: ",qr("strong",{children:e.path})]}),e.isAsset&&qr("div",{children:[qr("br",{}),qr("strong",{children:qr("em",{children:"Right-click to view options related to this chunk"})})]})]}):null}}const ra=br(ia);var oa=n(99),aa={};aa.styleTagTransform=Nr(),aa.setAttributes=Lr(),aa.insert=Er().bind(null,"head"),aa.domAPI=Br(),aa.insertStyleElement=Ir();kr()(oa.A,aa);oa.A&&oa.A.locals&&oa.A.locals;let sa;try{globalThis.enableWebSocket&&(sa=new WebSocket(`ws://${location.host}`))}catch{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",()=>{Ar.defaultSize=`${globalThis.defaultSizes}Size`,Ar.setModules(globalThis.chartData),Ar.setEntrypoints(globalThis.entrypoints),Ar.updateTheme(),(0,t.XX)(qr(ra,{}),document.querySelector("#app")),sa&&sa.addEventListener("message",e=>{const t=JSON.parse(e.data);"chartDataUpdated"===t.event&&Ar.setModules(t.data)})},!1)})()})();
|
|
16
67
|
//# sourceMappingURL=viewer.js.map
|