diff --git a/CHANGELOG_OLD.md b/CHANGELOG_OLD.md index 0623f5b34..06b931e18 100644 --- a/CHANGELOG_OLD.md +++ b/CHANGELOG_OLD.md @@ -1,4 +1,10 @@ The newest change log is in README.md +## 7.11.1 (2024-03-28) + +* (klein0r) Added exec result blockly block +* (klein0r) Protect iobroker-data/files to avoid direct writes with node:fs +* (klein0r) Escape single quotes in blockly obj attributes + ## 7.11.0 (2024-03-26) * (klein0r) Added blockly block for read and write file diff --git a/README.md b/README.md index 579054b28..338fde8e8 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Since v5.5.0 of the JavaScript adapter the following locations (relative to the -### **WORK IN PROGRESS** +### 8.1.0 (2024-05-03) * (bluefox) Updated admin config to jsonConfig (dropped materialize) @@ -73,12 +73,6 @@ NodeJS >= 18.x and js-controller >= 5 is required * (klein0r) Fixed parenthesis insertion in blockly for multi and/or * (PeterVoronov) Added setStateChanged / setStateChangedAsync -### 7.11.1 (2024-03-28) - -* (klein0r) Added exec result blockly block -* (klein0r) Protect iobroker-data/files to avoid direct writes with node:fs -* (klein0r) Escape single quotes in blockly obj attributes - ## License The MIT License (MIT) diff --git a/admin/asset-manifest.json b/admin/asset-manifest.json index dd97de54d..d20e7db0f 100644 --- a/admin/asset-manifest.json +++ b/admin/asset-manifest.json @@ -1,29 +1,38 @@ { "files": { - "main.js": "/static/js/main.0a39f6ad.js", - "static/css/864.4c85ffd6.chunk.css": "/static/css/864.4c85ffd6.chunk.css", - "static/js/864.6038b1e5.chunk.js": "/static/js/864.6038b1e5.chunk.js", - "static/js/805.545a2f63.chunk.js": "/static/js/805.545a2f63.chunk.js", - "static/js/837.963b0a6a.chunk.js": "/static/js/837.963b0a6a.chunk.js", - "static/js/281.6af18b40.chunk.js": "/static/js/281.6af18b40.chunk.js", - "static/js/7.647eff54.chunk.js": "/static/js/7.647eff54.chunk.js", - "static/js/666.a71c4c86.chunk.js": "/static/js/666.a71c4c86.chunk.js", - "static/js/791.58c8138c.chunk.js": "/static/js/791.58c8138c.chunk.js", - "static/js/164.d2d05c2a.chunk.js": "/static/js/164.d2d05c2a.chunk.js", - "static/js/365.ca2eed4c.chunk.js": "/static/js/365.ca2eed4c.chunk.js", - "static/js/147.2004630a.chunk.js": "/static/js/147.2004630a.chunk.js", - "static/js/122.405c394f.chunk.js": "/static/js/122.405c394f.chunk.js", - "static/js/675.a9c6d34a.chunk.js": "/static/js/675.a9c6d34a.chunk.js", - "static/js/880.e4029d50.chunk.js": "/static/js/880.e4029d50.chunk.js", - "static/js/399.00833193.chunk.js": "/static/js/399.00833193.chunk.js", - "static/js/223.cf2258ef.chunk.js": "/static/js/223.cf2258ef.chunk.js", - "static/js/802.de0e367f.chunk.js": "/static/js/802.de0e367f.chunk.js", - "static/js/709.88d87b7c.chunk.js": "/static/js/709.88d87b7c.chunk.js", - "static/js/102.23e64034.chunk.js": "/static/js/102.23e64034.chunk.js", - "static/js/377.0d1e5d68.chunk.js": "/static/js/377.0d1e5d68.chunk.js", - "static/js/838.d7036a05.chunk.js": "/static/js/838.d7036a05.chunk.js", - "static/js/93.ef546eb8.chunk.js": "/static/js/93.ef546eb8.chunk.js", - "static/js/139.52cd9c26.chunk.js": "/static/js/139.52cd9c26.chunk.js", + "main.js": "/static/js/main.c1ff39cf.js", + "static/css/184.7463f8b6.chunk.css": "/static/css/184.7463f8b6.chunk.css", + "static/js/184.8afcb7e1.chunk.js": "/static/js/184.8afcb7e1.chunk.js", + "static/js/966.088c1225.chunk.js": "/static/js/966.088c1225.chunk.js", + "static/js/30.8bf17a3b.chunk.js": "/static/js/30.8bf17a3b.chunk.js", + "static/js/704.4ede9892.chunk.js": "/static/js/704.4ede9892.chunk.js", + "static/js/586.cfd14ef3.chunk.js": "/static/js/586.cfd14ef3.chunk.js", + "static/js/173.4e774f7f.chunk.js": "/static/js/173.4e774f7f.chunk.js", + "static/js/146.6a8cfa64.chunk.js": "/static/js/146.6a8cfa64.chunk.js", + "static/js/43.e64c0f8f.chunk.js": "/static/js/43.e64c0f8f.chunk.js", + "static/js/950.90994e9b.chunk.js": "/static/js/950.90994e9b.chunk.js", + "static/js/972.193715b2.chunk.js": "/static/js/972.193715b2.chunk.js", + "static/js/765.0c5ed962.chunk.js": "/static/js/765.0c5ed962.chunk.js", + "static/js/892.01fa21a3.chunk.js": "/static/js/892.01fa21a3.chunk.js", + "static/js/61.54b23816.chunk.js": "/static/js/61.54b23816.chunk.js", + "static/js/68.2a2f8109.chunk.js": "/static/js/68.2a2f8109.chunk.js", + "static/js/585.35111b99.chunk.js": "/static/js/585.35111b99.chunk.js", + "static/js/674.eb172e03.chunk.js": "/static/js/674.eb172e03.chunk.js", + "static/js/869.9f712f3c.chunk.js": "/static/js/869.9f712f3c.chunk.js", + "static/js/424.ae779d44.chunk.js": "/static/js/424.ae779d44.chunk.js", + "static/js/462.3871f0a4.chunk.js": "/static/js/462.3871f0a4.chunk.js", + "static/js/894.49a00423.chunk.js": "/static/js/894.49a00423.chunk.js", + "static/js/152.4318951d.chunk.js": "/static/js/152.4318951d.chunk.js", + "static/js/734.ee435db8.chunk.js": "/static/js/734.ee435db8.chunk.js", + "static/js/63.0ce6c42b.chunk.js": "/static/js/63.0ce6c42b.chunk.js", + "static/js/826.549b32d7.chunk.js": "/static/js/826.549b32d7.chunk.js", + "static/js/982.a80cd517.chunk.js": "/static/js/982.a80cd517.chunk.js", + "static/js/721.08eb88a4.chunk.js": "/static/js/721.08eb88a4.chunk.js", + "static/js/335.9591bd2c.chunk.js": "/static/js/335.9591bd2c.chunk.js", + "static/js/9.1974e3b5.chunk.js": "/static/js/9.1974e3b5.chunk.js", + "static/js/310.13fa5162.chunk.js": "/static/js/310.13fa5162.chunk.js", + "static/js/823.dfc6b5cf.chunk.js": "/static/js/823.dfc6b5cf.chunk.js", + "static/js/516.837647f3.chunk.js": "/static/js/516.837647f3.chunk.js", "static/media/tileRules.png": "/static/media/tileRules.7ed5885a66686cc288b1.png", "static/media/docs.md": "/static/media/docs.1f96bec81cf08933d921.md", "static/media/back.jpg": "/static/media/back.bda2bbe51be338a0f657.jpg", @@ -151,32 +160,41 @@ "static/media/Garage Doors.svg": "/static/media/Garage Doors.0c2a1cfca7ad1ea59625.svg", "static/media/Outdoor Blinds.svg": "/static/media/Outdoor Blinds.37b85a9c060a4af48da9.svg", "static/media/Upstairs.svg": "/static/media/Upstairs.441813e54e0daca0882d.svg", - "main.0a39f6ad.js.map": "/static/js/main.0a39f6ad.js.map", - "864.4c85ffd6.chunk.css.map": "/static/css/864.4c85ffd6.chunk.css.map", - "864.6038b1e5.chunk.js.map": "/static/js/864.6038b1e5.chunk.js.map", - "805.545a2f63.chunk.js.map": "/static/js/805.545a2f63.chunk.js.map", - "837.963b0a6a.chunk.js.map": "/static/js/837.963b0a6a.chunk.js.map", - "281.6af18b40.chunk.js.map": "/static/js/281.6af18b40.chunk.js.map", - "7.647eff54.chunk.js.map": "/static/js/7.647eff54.chunk.js.map", - "666.a71c4c86.chunk.js.map": "/static/js/666.a71c4c86.chunk.js.map", - "791.58c8138c.chunk.js.map": "/static/js/791.58c8138c.chunk.js.map", - "164.d2d05c2a.chunk.js.map": "/static/js/164.d2d05c2a.chunk.js.map", - "365.ca2eed4c.chunk.js.map": "/static/js/365.ca2eed4c.chunk.js.map", - "147.2004630a.chunk.js.map": "/static/js/147.2004630a.chunk.js.map", - "122.405c394f.chunk.js.map": "/static/js/122.405c394f.chunk.js.map", - "675.a9c6d34a.chunk.js.map": "/static/js/675.a9c6d34a.chunk.js.map", - "880.e4029d50.chunk.js.map": "/static/js/880.e4029d50.chunk.js.map", - "399.00833193.chunk.js.map": "/static/js/399.00833193.chunk.js.map", - "223.cf2258ef.chunk.js.map": "/static/js/223.cf2258ef.chunk.js.map", - "802.de0e367f.chunk.js.map": "/static/js/802.de0e367f.chunk.js.map", - "709.88d87b7c.chunk.js.map": "/static/js/709.88d87b7c.chunk.js.map", - "102.23e64034.chunk.js.map": "/static/js/102.23e64034.chunk.js.map", - "377.0d1e5d68.chunk.js.map": "/static/js/377.0d1e5d68.chunk.js.map", - "838.d7036a05.chunk.js.map": "/static/js/838.d7036a05.chunk.js.map", - "93.ef546eb8.chunk.js.map": "/static/js/93.ef546eb8.chunk.js.map", - "139.52cd9c26.chunk.js.map": "/static/js/139.52cd9c26.chunk.js.map" + "main.c1ff39cf.js.map": "/static/js/main.c1ff39cf.js.map", + "184.7463f8b6.chunk.css.map": "/static/css/184.7463f8b6.chunk.css.map", + "184.8afcb7e1.chunk.js.map": "/static/js/184.8afcb7e1.chunk.js.map", + "966.088c1225.chunk.js.map": "/static/js/966.088c1225.chunk.js.map", + "30.8bf17a3b.chunk.js.map": "/static/js/30.8bf17a3b.chunk.js.map", + "704.4ede9892.chunk.js.map": "/static/js/704.4ede9892.chunk.js.map", + "586.cfd14ef3.chunk.js.map": "/static/js/586.cfd14ef3.chunk.js.map", + "173.4e774f7f.chunk.js.map": "/static/js/173.4e774f7f.chunk.js.map", + "146.6a8cfa64.chunk.js.map": "/static/js/146.6a8cfa64.chunk.js.map", + "43.e64c0f8f.chunk.js.map": "/static/js/43.e64c0f8f.chunk.js.map", + "950.90994e9b.chunk.js.map": "/static/js/950.90994e9b.chunk.js.map", + "972.193715b2.chunk.js.map": "/static/js/972.193715b2.chunk.js.map", + "765.0c5ed962.chunk.js.map": "/static/js/765.0c5ed962.chunk.js.map", + "892.01fa21a3.chunk.js.map": "/static/js/892.01fa21a3.chunk.js.map", + "61.54b23816.chunk.js.map": "/static/js/61.54b23816.chunk.js.map", + "68.2a2f8109.chunk.js.map": "/static/js/68.2a2f8109.chunk.js.map", + "585.35111b99.chunk.js.map": "/static/js/585.35111b99.chunk.js.map", + "674.eb172e03.chunk.js.map": "/static/js/674.eb172e03.chunk.js.map", + "869.9f712f3c.chunk.js.map": "/static/js/869.9f712f3c.chunk.js.map", + "424.ae779d44.chunk.js.map": "/static/js/424.ae779d44.chunk.js.map", + "462.3871f0a4.chunk.js.map": "/static/js/462.3871f0a4.chunk.js.map", + "894.49a00423.chunk.js.map": "/static/js/894.49a00423.chunk.js.map", + "152.4318951d.chunk.js.map": "/static/js/152.4318951d.chunk.js.map", + "734.ee435db8.chunk.js.map": "/static/js/734.ee435db8.chunk.js.map", + "63.0ce6c42b.chunk.js.map": "/static/js/63.0ce6c42b.chunk.js.map", + "826.549b32d7.chunk.js.map": "/static/js/826.549b32d7.chunk.js.map", + "982.a80cd517.chunk.js.map": "/static/js/982.a80cd517.chunk.js.map", + "721.08eb88a4.chunk.js.map": "/static/js/721.08eb88a4.chunk.js.map", + "335.9591bd2c.chunk.js.map": "/static/js/335.9591bd2c.chunk.js.map", + "9.1974e3b5.chunk.js.map": "/static/js/9.1974e3b5.chunk.js.map", + "310.13fa5162.chunk.js.map": "/static/js/310.13fa5162.chunk.js.map", + "823.dfc6b5cf.chunk.js.map": "/static/js/823.dfc6b5cf.chunk.js.map", + "516.837647f3.chunk.js.map": "/static/js/516.837647f3.chunk.js.map" }, "entrypoints": [ - "static/js/main.0a39f6ad.js" + "static/js/main.c1ff39cf.js" ] } \ No newline at end of file diff --git a/admin/custom/customComponents.js b/admin/custom/customComponents.js index 85b1c66d3..45f659631 100644 --- a/admin/custom/customComponents.js +++ b/admin/custom/customComponents.js @@ -1,5 +1,5 @@ -var ConfigCustomJavascriptSet;(()=>{"use strict";var M={23009:(n,f,s)=>{var l={"./Components":()=>Promise.all([s.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),s.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17"),s.e("vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js"),s.e("vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_react-dom_react-dom"),s.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1"),s.e("src_Astro_jsx"),s.e("src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f")]).then(()=>()=>s(8060))},u=(i,p)=>(s.R=p,p=s.o(l,i)?l[i]():Promise.resolve().then(()=>{throw new Error('Module "'+i+'" does not exist in container.')}),s.R=void 0,p),v=(i,p)=>{if(s.S){var m="default",c=s.S[m];if(c&&c!==i)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return s.S[m]=i,s.I(m,p)}};s.d(f,{get:()=>u,init:()=>v})}},F={};function e(n){var f=F[n];if(f!==void 0)return f.exports;var s=F[n]={id:n,loaded:!1,exports:{}};return M[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}e.m=M,e.c=F,e.amdD=function(){throw new Error("define cannot be used indirect")},e.n=n=>{var f=n&&n.__esModule?()=>n.default:()=>n;return e.d(f,{a:f}),f},e.d=(n,f)=>{for(var s in f)e.o(f,s)&&!e.o(n,s)&&Object.defineProperty(n,s,{enumerable:!0,get:f[s]})},e.f={},e.e=n=>Promise.all(Object.keys(e.f).reduce((f,s)=>(e.f[s](n,f),f),[])),e.u=n=>"static/js/"+n+"."+{"vendors-node_modules_mui_material_utils_createSvgIcon_js":"1ee0c356","vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js":"a7d08526","vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17":"28452bdd","vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e":"7e440045","vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js":"9338fd8d","vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca":"c5d88970","vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06":"e75cfa16",webpack_sharing_consume_default_react_react:"9749d585","webpack_sharing_consume_default_prop-types_prop-types":"0e28b347","webpack_sharing_consume_default_react-dom_react-dom":"1f2f2a35","webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180":"7777ed59","webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1":"3a3c8999","node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110":"56f0526e","vendors-node_modules_mui_icons-material_esm_index_js":"ba802a11","vendors-node_modules_mui_material_index_js":"64921a35","vendors-node_modules_mui_styles_withStyles_withStyles_js":"62e73a99","node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d":"9fa5e55a","node_modules_prop-types_index_js":"7e14cd38","vendors-node_modules_react-dom_index_js":"0e0a77e9",node_modules_react_index_js:"e90c6dbd","vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc":"4b57a780",src_Astro_jsx:"8ae1b92e","src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f":"2a898f56",node_modules_mui_styles_index_js:"6d06b621","node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111":"10cec9b6"}[n]+".chunk.js",e.miniCssF=n=>"static/css/"+n+".a4116d7f.chunk.css",e.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(n){if(typeof window=="object")return window}}(),e.o=(n,f)=>Object.prototype.hasOwnProperty.call(n,f),(()=>{var n={},f="iobroker-admin-component-backitup:";e.l=(s,l,u,v)=>{if(n[s]){n[s].push(l);return}var i,p;if(u!==void 0)for(var m=document.getElementsByTagName("script"),c=0;c{i.onerror=i.onload=null,clearTimeout(j);var C=n[s];if(delete n[s],i.parentNode&&i.parentNode.removeChild(i),C&&C.forEach(k=>k(w)),x)return x(w)},j=setTimeout(b.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=b.bind(null,i.onerror),i.onload=b.bind(null,i.onload),p&&document.head.appendChild(i)}})(),e.r=n=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.nmd=n=>(n.paths=[],n.children||(n.children=[]),n),(()=>{e.S={};var n={},f={};e.I=(s,l)=>{l||(l=[]);var u=f[s];if(u||(u=f[s]={}),!(l.indexOf(u)>=0)){if(l.push(u),n[s])return n[s];e.o(e.S,s)||(e.S[s]={});var v=e.S[s],i=b=>{typeof console!="undefined"&&console.warn&&console.warn(b)},p="iobroker-admin-component-backitup",m=(b,j,x,w)=>{var C=v[b]=v[b]||{},k=C[j];(!k||!k.loaded&&(!w!=!k.eager?w:p>k.from))&&(C[j]={get:x,from:p,eager:!!w})},c=b=>{var j=k=>i("Initialization of sharing external failed: "+k);try{var x=e(b);if(!x)return;var w=k=>k&&k.init&&k.init(e.S[s],l);if(x.then)return h.push(x.then(w,j));var C=w(x);if(C&&C.then)return h.push(C.catch(j))}catch(k){j(k)}},h=[];switch(s){case"default":m("@iobroker/adapter-react-v5","4.13.8",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e"),e.e("vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js"),e.e("vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca"),e.e("vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("webpack_sharing_consume_default_react-dom_react-dom"),e.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180"),e.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1"),e.e("node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110")]).then(()=>()=>e(64620))),m("@mui/icons-material","5.15.15",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_icons-material_esm_index_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types")]).then(()=>()=>e(58597))),m("@mui/material","5.14.14",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e"),e.e("vendors-node_modules_mui_material_index_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("webpack_sharing_consume_default_react-dom_react-dom")]).then(()=>()=>e(83709))),m("@mui/styles","5.14.14",()=>Promise.all([e.e("vendors-node_modules_mui_styles_withStyles_withStyles_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d")]).then(()=>()=>e(92183))),m("prop-types","15.8.1",()=>e.e("node_modules_prop-types_index_js").then(()=>()=>e(75826))),m("react-dom","18.2.0",()=>Promise.all([e.e("vendors-node_modules_react-dom_index_js"),e.e("webpack_sharing_consume_default_react_react")]).then(()=>()=>e(22483))),m("react","18.2.0",()=>e.e("node_modules_react_index_js").then(()=>()=>e(77810)));break}return h.length?n[s]=Promise.all(h).then(()=>n[s]=1):n[s]=1}}})(),(()=>{var n;e.g.importScripts&&(n=e.g.location+"");var f=e.g.document;if(!n&&f&&(f.currentScript&&(n=f.currentScript.src),!n)){var s=f.getElementsByTagName("script");if(s.length)for(var l=s.length-1;l>-1&&(!n||!/^http(s?):/.test(n));)n=s[l--].src}if(!n)throw new Error("Automatic publicPath is not supported in this browser");n=n.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=n})(),(()=>{var n=t=>{var o=_=>_.split(".").map(d=>+d==d?+d:d),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(t),a=r[1]?o(r[1]):[];return r[2]&&(a.length++,a.push.apply(a,o(r[2]))),r[3]&&(a.push([]),a.push.apply(a,o(r[3]))),a},f=(t,o)=>{t=n(t),o=n(o);for(var r=0;;){if(r>=t.length)return r=o.length)return _=="u";var d=o[r],g=(typeof d)[0];if(_!=g)return _=="o"&&g=="n"||g=="s"||_=="u";if(_!="o"&&_!="u"&&a!=d)return a{var o=t[0],r="";if(t.length===1)return"*";if(o+.5){r+=o==0?">=":o==-1?"<":o==1?"^":o==2?"~":o>0?"=":"!=";for(var a=1,_=1;_0?".":"")+(a=2,g);return r}var d=[];for(_=1;_{if(0 in t){o=n(o);var r=t[0],a=r<0;a&&(r=-r-1);for(var _=0,d=1,g=!0;;d++,_++){var y,L,P=d=o.length||(L=(typeof(y=o[_]))[0])=="o")return!g||(P=="u"?d>r&&!a:P==""!=a);if(L=="u"){if(!g||P!="u")return!1}else if(g)if(P==L)if(d<=r){if(y!=t[d])return!1}else{if(a?y>t[d]:y{var r=e.S[t];if(!r||!e.o(r,o))throw new Error("Shared module "+o+" doesn't exist in shared scope "+t);return r},v=(t,a)=>{var r=t[a],a=Object.keys(r).reduce((_,d)=>!_||f(_,d)?d:_,0);return a&&r[a]},i=(t,o)=>{var r=t[o];return Object.keys(r).reduce((a,_)=>!a||!r[a].loaded&&f(a,_)?_:a,0)},p=(t,o,r,a)=>"Unsatisfied version "+r+" from "+(r&&t[o][r].from)+" of shared singleton module "+o+" (required "+s(a)+")",m=(t,o,r,a)=>{var _=i(t,r);return k(t[r][_])},c=(t,o,r,a)=>{var _=i(t,r);return l(a,_)||w(p(t,r,_,a)),k(t[r][_])},h=(t,o,r,a)=>{var _=i(t,r);if(!l(a,_))throw new Error(p(t,r,_,a));return k(t[r][_])},b=(t,_,r)=>{var a=t[_],_=Object.keys(a).reduce((d,g)=>l(r,g)&&(!d||f(d,g))?g:d,0);return _&&a[_]},j=(t,o,r,a)=>{var _=t[r];return"No satisfying version ("+s(a)+") of shared module "+r+" found in shared scope "+o+`. -Available versions: `+Object.keys(_).map(d=>d+" from "+_[d].from).join(", ")},x=(t,o,r,a)=>{var _=b(t,r,a);if(_)return k(_);throw new Error(j(t,o,r,a))},w=t=>{typeof console!="undefined"&&console.warn&&console.warn(t)},C=(t,o,r,a)=>{w(j(t,o,r,a))},k=t=>(t.loaded=1,t.get()),S=t=>function(o,r,a,_){var d=e.I(o);return d&&d.then?d.then(t.bind(t,o,e.S[o],r,a,_)):t(o,e.S[o],r,a,_)},D=S((t,o,r)=>(u(t,r),k(v(o,r)))),J=S((t,o,r,a)=>o&&e.o(o,r)?k(v(o,r)):a()),U=S((t,o,r,a)=>(u(t,r),k(b(o,r,a)||C(o,t,r,a)||v(o,r)))),K=S((t,o,r)=>(u(t,r),m(o,t,r))),G=S((t,o,r,a)=>(u(t,r),c(o,t,r,a))),H=S((t,o,r,a)=>(u(t,r),x(o,t,r,a))),W=S((t,o,r,a)=>(u(t,r),h(o,t,r,a))),Q=S((t,o,r,a,_)=>!o||!e.o(o,r)?_():k(b(o,r,a)||C(o,t,r,a)||v(o,r))),R=S((t,o,r,a)=>!o||!e.o(o,r)?a():m(o,t,r)),E=S((t,o,r,a,_)=>!o||!e.o(o,r)?_():c(o,t,r,a)),X=S((t,o,r,a,_)=>{var d=o&&e.o(o,r)&&b(o,r,a);return d?k(d):_()}),Y=S((t,o,r,a,_)=>!o||!e.o(o,r)?_():h(o,t,r,a)),V={},$={28437:()=>E("default","react",[0],()=>e.e("node_modules_react_index_js").then(()=>()=>e(77810))),95973:()=>E("default","prop-types",[0],()=>e.e("node_modules_prop-types_index_js").then(()=>()=>e(75826))),23479:()=>E("default","react-dom",[0],()=>e.e("vendors-node_modules_react-dom_index_js").then(()=>()=>e(22483))),21839:()=>E("default","@mui/icons-material",[0],()=>e.e("vendors-node_modules_mui_icons-material_esm_index_js").then(()=>()=>e(58597))),70143:()=>E("default","@mui/styles",[0],()=>Promise.all([e.e("vendors-node_modules_mui_styles_withStyles_withStyles_js"),e.e("node_modules_mui_styles_index_js")]).then(()=>()=>e(92183))),37449:()=>E("default","@iobroker/adapter-react-v5",[0],()=>Promise.all([e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e"),e.e("vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca"),e.e("vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06"),e.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180"),e.e("node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111")]).then(()=>()=>e(64620))),67085:()=>E("default","@mui/material",[0],()=>Promise.all([e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e"),e.e("vendors-node_modules_mui_material_index_js")]).then(()=>()=>e(83709)))},O={webpack_sharing_consume_default_react_react:[28437],"webpack_sharing_consume_default_prop-types_prop-types":[95973],"webpack_sharing_consume_default_react-dom_react-dom":[23479],"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180":[21839,70143],"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1":[37449,67085]},N={};e.f.consumes=(t,o)=>{e.o(O,t)&&O[t].forEach(r=>{if(e.o(V,r))return o.push(V[r]);if(!N[r]){var a=g=>{V[r]=0,e.m[r]=y=>{delete e.c[r],y.exports=g()}};N[r]=!0;var _=g=>{delete V[r],e.m[r]=y=>{throw delete e.c[r],g}};try{var d=$[r]();d.then?o.push(V[r]=d.then(a).catch(_)):a(d)}catch(g){_(g)}}})}})(),(()=>{if(typeof document!="undefined"){var n=(u,v,i,p,m)=>{var c=document.createElement("link");c.rel="stylesheet",c.type="text/css",e.nc&&(c.nonce=e.nc);var h=b=>{if(c.onerror=c.onload=null,b.type==="load")p();else{var j=b&&b.type,x=b&&b.target&&b.target.href||v,w=new Error("Loading CSS chunk "+u+` failed. +var ConfigCustomJavascriptSet;(()=>{"use strict";var L={23009:(n,f,s)=>{var l={"./Components":()=>Promise.all([s.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),s.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f"),s.e("vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js"),s.e("vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_react-dom_react-dom"),s.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1"),s.e("src_Astro_jsx"),s.e("src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f")]).then(()=>()=>s(8060))},u=(i,p)=>(s.R=p,p=s.o(l,i)?l[i]():Promise.resolve().then(()=>{throw new Error('Module "'+i+'" does not exist in container.')}),s.R=void 0,p),v=(i,p)=>{if(s.S){var m="default",c=s.S[m];if(c&&c!==i)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return s.S[m]=i,s.I(m,p)}};s.d(f,{get:()=>u,init:()=>v})}},B={};function e(n){var f=B[n];if(f!==void 0)return f.exports;var s=B[n]={id:n,loaded:!1,exports:{}};return L[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}e.m=L,e.c=B,e.amdD=function(){throw new Error("define cannot be used indirect")},e.n=n=>{var f=n&&n.__esModule?()=>n.default:()=>n;return e.d(f,{a:f}),f},e.d=(n,f)=>{for(var s in f)e.o(f,s)&&!e.o(n,s)&&Object.defineProperty(n,s,{enumerable:!0,get:f[s]})},e.f={},e.e=n=>Promise.all(Object.keys(e.f).reduce((f,s)=>(e.f[s](n,f),f),[])),e.u=n=>"static/js/"+n+"."+{"vendors-node_modules_mui_material_utils_createSvgIcon_js":"35fe98fd","vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js":"a7d08526","vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f":"556fd1d3","vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a":"53d19b01","vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js":"9338fd8d","vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca":"c5d88970","vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06":"4cfb8b1d",webpack_sharing_consume_default_react_react:"9749d585","webpack_sharing_consume_default_prop-types_prop-types":"0e28b347","webpack_sharing_consume_default_react-dom_react-dom":"1f2f2a35","webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180":"7777ed59","webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1":"3a3c8999","node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110":"56f0526e","vendors-node_modules_mui_icons-material_esm_index_js":"ba802a11","vendors-node_modules_mui_material_index_js":"64921a35","vendors-node_modules_mui_styles_withStyles_withStyles_js":"62e73a99","node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d":"da33c2b3","node_modules_prop-types_index_js":"7e14cd38","vendors-node_modules_react-dom_index_js":"fbaeb7bd",node_modules_react_index_js:"ca0c923d","vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc":"4b57a780",src_Astro_jsx:"8ae1b92e","src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f":"2a898f56",node_modules_mui_styles_index_js:"6d06b621","node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111":"10cec9b6"}[n]+".chunk.js",e.miniCssF=n=>"static/css/"+n+".a4116d7f.chunk.css",e.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(n){if(typeof window=="object")return window}}(),e.o=(n,f)=>Object.prototype.hasOwnProperty.call(n,f),(()=>{var n={},f="iobroker-admin-component-backitup:";e.l=(s,l,u,v)=>{if(n[s]){n[s].push(l);return}var i,p;if(u!==void 0)for(var m=document.getElementsByTagName("script"),c=0;c{i.onerror=i.onload=null,clearTimeout(j);var C=n[s];if(delete n[s],i.parentNode&&i.parentNode.removeChild(i),C&&C.forEach(k=>k(w)),x)return x(w)},j=setTimeout(b.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=b.bind(null,i.onerror),i.onload=b.bind(null,i.onload),p&&document.head.appendChild(i)}})(),e.r=n=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.nmd=n=>(n.paths=[],n.children||(n.children=[]),n),(()=>{e.S={};var n={},f={};e.I=(s,l)=>{l||(l=[]);var u=f[s];if(u||(u=f[s]={}),!(l.indexOf(u)>=0)){if(l.push(u),n[s])return n[s];e.o(e.S,s)||(e.S[s]={});var v=e.S[s],i=b=>{typeof console!="undefined"&&console.warn&&console.warn(b)},p="iobroker-admin-component-backitup",m=(b,j,x,w)=>{var C=v[b]=v[b]||{},k=C[j];(!k||!k.loaded&&(!w!=!k.eager?w:p>k.from))&&(C[j]={get:x,from:p,eager:!!w})},c=b=>{var j=k=>i("Initialization of sharing external failed: "+k);try{var x=e(b);if(!x)return;var w=k=>k&&k.init&&k.init(e.S[s],l);if(x.then)return h.push(x.then(w,j));var C=w(x);if(C&&C.then)return h.push(C.catch(j))}catch(k){j(k)}},h=[];switch(s){case"default":m("@iobroker/adapter-react-v5","4.13.11",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a"),e.e("vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js"),e.e("vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca"),e.e("vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("webpack_sharing_consume_default_react-dom_react-dom"),e.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180"),e.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1"),e.e("node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110")]).then(()=>()=>e(64620))),m("@mui/icons-material","5.15.16",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_icons-material_esm_index_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types")]).then(()=>()=>e(58597))),m("@mui/material","5.14.14",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a"),e.e("vendors-node_modules_mui_material_index_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("webpack_sharing_consume_default_react-dom_react-dom")]).then(()=>()=>e(83709))),m("@mui/styles","5.14.14",()=>Promise.all([e.e("vendors-node_modules_mui_styles_withStyles_withStyles_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d")]).then(()=>()=>e(92183))),m("prop-types","15.8.1",()=>e.e("node_modules_prop-types_index_js").then(()=>()=>e(75826))),m("react-dom","18.3.1",()=>Promise.all([e.e("vendors-node_modules_react-dom_index_js"),e.e("webpack_sharing_consume_default_react_react")]).then(()=>()=>e(22483))),m("react","18.3.1",()=>e.e("node_modules_react_index_js").then(()=>()=>e(77810)));break}return h.length?n[s]=Promise.all(h).then(()=>n[s]=1):n[s]=1}}})(),(()=>{var n;e.g.importScripts&&(n=e.g.location+"");var f=e.g.document;if(!n&&f&&(f.currentScript&&(n=f.currentScript.src),!n)){var s=f.getElementsByTagName("script");if(s.length)for(var l=s.length-1;l>-1&&(!n||!/^http(s?):/.test(n));)n=s[l--].src}if(!n)throw new Error("Automatic publicPath is not supported in this browser");n=n.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=n})(),(()=>{var n=t=>{var a=_=>_.split(".").map(d=>+d==d?+d:d),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(t),o=r[1]?a(r[1]):[];return r[2]&&(o.length++,o.push.apply(o,a(r[2]))),r[3]&&(o.push([]),o.push.apply(o,a(r[3]))),o},f=(t,a)=>{t=n(t),a=n(a);for(var r=0;;){if(r>=t.length)return r=a.length)return _=="u";var d=a[r],g=(typeof d)[0];if(_!=g)return _=="o"&&g=="n"||g=="s"||_=="u";if(_!="o"&&_!="u"&&o!=d)return o{var a=t[0],r="";if(t.length===1)return"*";if(a+.5){r+=a==0?">=":a==-1?"<":a==1?"^":a==2?"~":a>0?"=":"!=";for(var o=1,_=1;_0?".":"")+(o=2,g);return r}var d=[];for(_=1;_{if(0 in t){a=n(a);var r=t[0],o=r<0;o&&(r=-r-1);for(var _=0,d=1,g=!0;;d++,_++){var y,A,P=d=a.length||(A=(typeof(y=a[_]))[0])=="o")return!g||(P=="u"?d>r&&!o:P==""!=o);if(A=="u"){if(!g||P!="u")return!1}else if(g)if(P==A)if(d<=r){if(y!=t[d])return!1}else{if(o?y>t[d]:y{var r=e.S[t];if(!r||!e.o(r,a))throw new Error("Shared module "+a+" doesn't exist in shared scope "+t);return r},v=(t,o)=>{var r=t[o],o=Object.keys(r).reduce((_,d)=>!_||f(_,d)?d:_,0);return o&&r[o]},i=(t,a)=>{var r=t[a];return Object.keys(r).reduce((o,_)=>!o||!r[o].loaded&&f(o,_)?_:o,0)},p=(t,a,r,o)=>"Unsatisfied version "+r+" from "+(r&&t[a][r].from)+" of shared singleton module "+a+" (required "+s(o)+")",m=(t,a,r,o)=>{var _=i(t,r);return k(t[r][_])},c=(t,a,r,o)=>{var _=i(t,r);return l(o,_)||w(p(t,r,_,o)),k(t[r][_])},h=(t,a,r,o)=>{var _=i(t,r);if(!l(o,_))throw new Error(p(t,r,_,o));return k(t[r][_])},b=(t,_,r)=>{var o=t[_],_=Object.keys(o).reduce((d,g)=>l(r,g)&&(!d||f(d,g))?g:d,0);return _&&o[_]},j=(t,a,r,o)=>{var _=t[r];return"No satisfying version ("+s(o)+") of shared module "+r+" found in shared scope "+a+`. +Available versions: `+Object.keys(_).map(d=>d+" from "+_[d].from).join(", ")},x=(t,a,r,o)=>{var _=b(t,r,o);if(_)return k(_);throw new Error(j(t,a,r,o))},w=t=>{typeof console!="undefined"&&console.warn&&console.warn(t)},C=(t,a,r,o)=>{w(j(t,a,r,o))},k=t=>(t.loaded=1,t.get()),S=t=>function(a,r,o,_){var d=e.I(a);return d&&d.then?d.then(t.bind(t,a,e.S[a],r,o,_)):t(a,e.S[a],r,o,_)},D=S((t,a,r)=>(u(t,r),k(v(a,r)))),J=S((t,a,r,o)=>a&&e.o(a,r)?k(v(a,r)):o()),U=S((t,a,r,o)=>(u(t,r),k(b(a,r,o)||C(a,t,r,o)||v(a,r)))),K=S((t,a,r)=>(u(t,r),m(a,t,r))),G=S((t,a,r,o)=>(u(t,r),c(a,t,r,o))),H=S((t,a,r,o)=>(u(t,r),x(a,t,r,o))),W=S((t,a,r,o)=>(u(t,r),h(a,t,r,o))),Q=S((t,a,r,o,_)=>!a||!e.o(a,r)?_():k(b(a,r,o)||C(a,t,r,o)||v(a,r))),R=S((t,a,r,o)=>!a||!e.o(a,r)?o():m(a,t,r)),E=S((t,a,r,o,_)=>!a||!e.o(a,r)?_():c(a,t,r,o)),X=S((t,a,r,o,_)=>{var d=a&&e.o(a,r)&&b(a,r,o);return d?k(d):_()}),Y=S((t,a,r,o,_)=>!a||!e.o(a,r)?_():h(a,t,r,o)),V={},$={28437:()=>E("default","react",[0],()=>e.e("node_modules_react_index_js").then(()=>()=>e(77810))),95973:()=>E("default","prop-types",[0],()=>e.e("node_modules_prop-types_index_js").then(()=>()=>e(75826))),23479:()=>E("default","react-dom",[0],()=>e.e("vendors-node_modules_react-dom_index_js").then(()=>()=>e(22483))),21839:()=>E("default","@mui/icons-material",[0],()=>e.e("vendors-node_modules_mui_icons-material_esm_index_js").then(()=>()=>e(58597))),70143:()=>E("default","@mui/styles",[0],()=>Promise.all([e.e("vendors-node_modules_mui_styles_withStyles_withStyles_js"),e.e("node_modules_mui_styles_index_js")]).then(()=>()=>e(92183))),37449:()=>E("default","@iobroker/adapter-react-v5",[0],()=>Promise.all([e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a"),e.e("vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca"),e.e("vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06"),e.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180"),e.e("node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111")]).then(()=>()=>e(64620))),67085:()=>E("default","@mui/material",[0],()=>Promise.all([e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a"),e.e("vendors-node_modules_mui_material_index_js")]).then(()=>()=>e(83709)))},O={webpack_sharing_consume_default_react_react:[28437],"webpack_sharing_consume_default_prop-types_prop-types":[95973],"webpack_sharing_consume_default_react-dom_react-dom":[23479],"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180":[21839,70143],"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1":[37449,67085]},N={};e.f.consumes=(t,a)=>{e.o(O,t)&&O[t].forEach(r=>{if(e.o(V,r))return a.push(V[r]);if(!N[r]){var o=g=>{V[r]=0,e.m[r]=y=>{delete e.c[r],y.exports=g()}};N[r]=!0;var _=g=>{delete V[r],e.m[r]=y=>{throw delete e.c[r],g}};try{var d=$[r]();d.then?a.push(V[r]=d.then(o).catch(_)):o(d)}catch(g){_(g)}}})}})(),(()=>{if(typeof document!="undefined"){var n=(u,v,i,p,m)=>{var c=document.createElement("link");c.rel="stylesheet",c.type="text/css",e.nc&&(c.nonce=e.nc);var h=b=>{if(c.onerror=c.onload=null,b.type==="load")p();else{var j=b&&b.type,x=b&&b.target&&b.target.href||v,w=new Error("Loading CSS chunk "+u+` failed. (`+j+": "+x+")");w.name="ChunkLoadError",w.code="CSS_CHUNK_LOAD_FAILED",w.type=j,w.request=x,c.parentNode&&c.parentNode.removeChild(c),m(w)}};return c.onerror=c.onload=h,c.href=v,i?i.parentNode.insertBefore(c,i.nextSibling):document.head.appendChild(c),c},f=(u,v)=>{for(var i=document.getElementsByTagName("link"),p=0;pnew Promise((v,i)=>{var p=e.miniCssF(u),m=e.p+p;if(f(p,m))return v();n(u,m,null,v,i)}),l={ConfigCustomJavascriptSet:0};e.f.miniCss=(u,v)=>{var i={"src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f":1};l[u]?v.push(l[u]):l[u]!==0&&i[u]&&v.push(l[u]=s(u).then(()=>{l[u]=0},p=>{throw delete l[u],p}))}}})(),(()=>{var n={ConfigCustomJavascriptSet:0};e.f.j=(l,u)=>{var v=e.o(n,l)?n[l]:void 0;if(v!==0)if(v)u.push(v[2]);else if(/^webpack_sharing_consume_default_(react(\-dom_react\-dom|_react)|iobroker_adapter\-react\-v5_iobroker_adapter\-react\-v5\-webpack_s\-9b5bf1|mui_icons\-material_mui_icons\-material\-webpack_sharing_consume\-2e0180|prop\-types_prop\-types)$/.test(l))n[l]=0;else{var i=new Promise((h,b)=>v=n[l]=[h,b]);u.push(v[2]=i);var p=e.p+e.u(l),m=new Error,c=h=>{if(e.o(n,l)&&(v=n[l],v!==0&&(n[l]=void 0),v)){var b=h&&(h.type==="load"?"missing":h.type),j=h&&h.target&&h.target.src;m.message="Loading chunk "+l+` failed. (`+b+": "+j+")",m.name="ChunkLoadError",m.type=b,m.request=j,v[1](m)}};e.l(p,c,"chunk-"+l,l)}};var f=(l,u)=>{var v=u[0],i=u[1],p=u[2],m,c,h=0;if(v.some(j=>n[j]!==0)){for(m in i)e.o(i,m)&&(e.m[m]=i[m]);if(p)var b=p(e)}for(l&&l(u);h {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17\"), __webpack_require__.e(\"vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js\"), __webpack_require__.e(\"vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\"), __webpack_require__.e(\"src_Astro_jsx\"), __webpack_require__.e(\"src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f\")]).then(() => (() => ((__webpack_require__(8060)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","__webpack_require__.amdD = function () {\n\tthrow new Error('define cannot be used indirect');\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"vendors-node_modules_mui_material_utils_createSvgIcon_js\":\"1ee0c356\",\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\":\"a7d08526\",\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17\":\"28452bdd\",\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e\":\"7e440045\",\"vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js\":\"9338fd8d\",\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\":\"c5d88970\",\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\":\"e75cfa16\",\"webpack_sharing_consume_default_react_react\":\"9749d585\",\"webpack_sharing_consume_default_prop-types_prop-types\":\"0e28b347\",\"webpack_sharing_consume_default_react-dom_react-dom\":\"1f2f2a35\",\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\":\"7777ed59\",\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\":\"3a3c8999\",\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110\":\"56f0526e\",\"vendors-node_modules_mui_icons-material_esm_index_js\":\"ba802a11\",\"vendors-node_modules_mui_material_index_js\":\"64921a35\",\"vendors-node_modules_mui_styles_withStyles_withStyles_js\":\"62e73a99\",\"node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d\":\"9fa5e55a\",\"node_modules_prop-types_index_js\":\"7e14cd38\",\"vendors-node_modules_react-dom_index_js\":\"0e0a77e9\",\"node_modules_react_index_js\":\"e90c6dbd\",\"vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc\":\"4b57a780\",\"src_Astro_jsx\":\"8ae1b92e\",\"src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f\":\"2a898f56\",\"node_modules_mui_styles_index_js\":\"6d06b621\",\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111\":\"10cec9b6\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/css/\" + chunkId + \".\" + \"a4116d7f\" + \".chunk.css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker-admin-component-backitup:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker-admin-component-backitup\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@iobroker/adapter-react-v5\", \"4.13.8\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e\"), __webpack_require__.e(\"vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\"), __webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110\")]).then(() => (() => (__webpack_require__(64620))))));\n\t\t\tregister(\"@mui/icons-material\", \"5.15.15\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(58597))))));\n\t\t\tregister(\"@mui/material\", \"5.14.14\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\")]).then(() => (() => (__webpack_require__(83709))))));\n\t\t\tregister(\"@mui/styles\", \"5.14.14\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styles_withStyles_withStyles_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d\")]).then(() => (() => (__webpack_require__(92183))))));\n\t\t\tregister(\"prop-types\", \"15.8.1\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(75826))))));\n\t\t\tregister(\"react-dom\", \"18.2.0\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(22483))))));\n\t\t\tregister(\"react\", \"18.2.0\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(77810))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warn = (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t28437: () => (loadSingletonVersionCheckFallback(\"default\", \"react\", [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(77810))))))),\n\t95973: () => (loadSingletonVersionCheckFallback(\"default\", \"prop-types\", [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(75826))))))),\n\t23479: () => (loadSingletonVersionCheckFallback(\"default\", \"react-dom\", [0], () => (__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\").then(() => (() => (__webpack_require__(22483))))))),\n\t21839: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/icons-material\", [0], () => (__webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\").then(() => (() => (__webpack_require__(58597))))))),\n\t70143: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/styles\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styles_withStyles_withStyles_js\"), __webpack_require__.e(\"node_modules_mui_styles_index_js\")]).then(() => (() => (__webpack_require__(92183))))))),\n\t37449: () => (loadSingletonVersionCheckFallback(\"default\", \"@iobroker/adapter-react-v5\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\"), __webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111\")]).then(() => (() => (__webpack_require__(64620))))))),\n\t67085: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/material\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControlLabe-d0ff1e\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\")]).then(() => (() => (__webpack_require__(83709)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t28437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t95973\n\t],\n\t\"webpack_sharing_consume_default_react-dom_react-dom\": [\n\t\t23479\n\t],\n\t\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\": [\n\t\t21839,\n\t\t70143\n\t],\n\t\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\": [\n\t\t37449,\n\t\t67085\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t\"ConfigCustomJavascriptSet\": 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"ConfigCustomJavascriptSet\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(react(\\-dom_react\\-dom|_react)|iobroker_adapter\\-react\\-v5_iobroker_adapter\\-react\\-v5\\-webpack_s\\-9b5bf1|mui_icons\\-material_mui_icons\\-material\\-webpack_sharing_consume\\-2e0180|prop\\-types_prop\\-types)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_admin_component_backitup\"] = self[\"webpackChunkiobroker_admin_component_backitup\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(23009);\n"],"names":["moduleMap","__webpack_require__","get","module","getScope","init","shareScope","initScope","name","oldScope","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","getter","definition","key","chunkId","promises","e","obj","prop","inProgress","dataWebpackPrefix","url","done","script","needAttach","scripts","i","s","onScriptComplete","prev","event","timeout","doneFns","fn","initPromises","initTokens","initToken","scope","warn","msg","uniqueName","register","version","factory","eager","versions","activeVersion","initExternal","id","handleError","err","initFn","initResult","scriptUrl","document","parseVersion","str","p","n","r","versionLt","a","b","t","f","rangeToString","range","g","o","satisfy","u","ensureExistence","scopeName","findVersion","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","getSingleton","getSingletonVersion","getStrictSingletonVersion","findValidVersion","getInvalidVersionMessage","getValidVersion","entry","warnInvalidVersion","c","promise","load","loadFallback","fallback","loadVersionCheck","loadSingleton","loadSingletonVersionCheck","loadStrictVersionCheck","loadStrictSingletonVersionCheck","loadVersionCheckFallback","loadSingletonFallback","loadSingletonVersionCheckFallback","loadStrictVersionCheckFallback","loadStrictSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","onFactory","onError","error","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","onLinkComplete","errorType","realHref","findStylesheet","href","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","cssChunks","installedChunks","installedChunkData","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","result","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"customComponents.js","mappings":"wEAAA,IAAIA,EAAY,CACf,eAAgB,IACR,QAAQ,IAAI,CAACC,EAAoB,EAAE,0DAA0D,EAAGA,EAAoB,EAAE,sGAAsG,EAAGA,EAAoB,EAAE,kEAAkE,EAAGA,EAAoB,EAAE,sGAAsG,EAAGA,EAAoB,EAAE,6CAA6C,EAAGA,EAAoB,EAAE,uDAAuD,EAAGA,EAAoB,EAAE,qDAAqD,EAAGA,EAAoB,EAAE,sGAAsG,EAAGA,EAAoB,EAAE,eAAe,EAAGA,EAAoB,EAAE,sGAAsG,CAAC,CAAC,EAAE,KAAK,IAAO,IAAQA,EAAoB,IAAI,CAAI,CAE7/B,EACIC,EAAM,CAACC,EAAQC,KAClBH,EAAoB,EAAIG,EACxBA,EACCH,EAAoB,EAAED,EAAWG,CAAM,EACpCH,EAAUG,CAAM,EAAE,EAClB,QAAQ,QAAQ,EAAE,KAAK,IAAM,CAC9B,MAAM,IAAI,MAAM,WAAaA,EAAS,gCAAgC,CACvE,CAA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KAAK,+CAAoD,CAAC,EAC3IA,EAAmB,QAAQP,EAAqB,KAAK,KAAM,CAAC,CAAC,EAC7DO,EAAmB,KAAOP,EAAqB,KAAK,KAAMO,EAAmB,KAAK,KAAKA,CAAkB,CAAC,C,KCvF1G3I,EAAoB,GAAK,OCGzB,IAAI4I,EAAsB5I,EAAoB,KAAK,E","sources":["../webpack/container-entry","../webpack/bootstrap","../webpack/runtime/amd define","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/node module decorator","../webpack/runtime/sharing","../webpack/runtime/publicPath","../webpack/runtime/consumes","../webpack/runtime/css loading","../webpack/runtime/jsonp chunk loading","../webpack/runtime/nonce","../webpack/startup"],"sourcesContent":["var moduleMap = {\n\t\"./Components\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f\"), __webpack_require__.e(\"vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js\"), __webpack_require__.e(\"vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\"), __webpack_require__.e(\"src_Astro_jsx\"), __webpack_require__.e(\"src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f\")]).then(() => (() => ((__webpack_require__(8060)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","__webpack_require__.amdD = function () {\n\tthrow new Error('define cannot be used indirect');\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"vendors-node_modules_mui_material_utils_createSvgIcon_js\":\"35fe98fd\",\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\":\"a7d08526\",\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f\":\"556fd1d3\",\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\":\"53d19b01\",\"vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js\":\"9338fd8d\",\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\":\"c5d88970\",\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\":\"4cfb8b1d\",\"webpack_sharing_consume_default_react_react\":\"9749d585\",\"webpack_sharing_consume_default_prop-types_prop-types\":\"0e28b347\",\"webpack_sharing_consume_default_react-dom_react-dom\":\"1f2f2a35\",\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\":\"7777ed59\",\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\":\"3a3c8999\",\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110\":\"56f0526e\",\"vendors-node_modules_mui_icons-material_esm_index_js\":\"ba802a11\",\"vendors-node_modules_mui_material_index_js\":\"64921a35\",\"vendors-node_modules_mui_styles_withStyles_withStyles_js\":\"62e73a99\",\"node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d\":\"da33c2b3\",\"node_modules_prop-types_index_js\":\"7e14cd38\",\"vendors-node_modules_react-dom_index_js\":\"fbaeb7bd\",\"node_modules_react_index_js\":\"ca0c923d\",\"vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc\":\"4b57a780\",\"src_Astro_jsx\":\"8ae1b92e\",\"src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f\":\"2a898f56\",\"node_modules_mui_styles_index_js\":\"6d06b621\",\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111\":\"10cec9b6\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/css/\" + chunkId + \".\" + \"a4116d7f\" + \".chunk.css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker-admin-component-backitup:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker-admin-component-backitup\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@iobroker/adapter-react-v5\", \"4.13.11\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\"), __webpack_require__.e(\"vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\"), __webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110\")]).then(() => (() => (__webpack_require__(64620))))));\n\t\t\tregister(\"@mui/icons-material\", \"5.15.16\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(58597))))));\n\t\t\tregister(\"@mui/material\", \"5.14.14\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\")]).then(() => (() => (__webpack_require__(83709))))));\n\t\t\tregister(\"@mui/styles\", \"5.14.14\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styles_withStyles_withStyles_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d\")]).then(() => (() => (__webpack_require__(92183))))));\n\t\t\tregister(\"prop-types\", \"15.8.1\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(75826))))));\n\t\t\tregister(\"react-dom\", \"18.3.1\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(22483))))));\n\t\t\tregister(\"react\", \"18.3.1\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(77810))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warn = (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t28437: () => (loadSingletonVersionCheckFallback(\"default\", \"react\", [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(77810))))))),\n\t95973: () => (loadSingletonVersionCheckFallback(\"default\", \"prop-types\", [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(75826))))))),\n\t23479: () => (loadSingletonVersionCheckFallback(\"default\", \"react-dom\", [0], () => (__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\").then(() => (() => (__webpack_require__(22483))))))),\n\t21839: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/icons-material\", [0], () => (__webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\").then(() => (() => (__webpack_require__(58597))))))),\n\t70143: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/styles\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styles_withStyles_withStyles_js\"), __webpack_require__.e(\"node_modules_mui_styles_index_js\")]).then(() => (() => (__webpack_require__(92183))))))),\n\t37449: () => (loadSingletonVersionCheckFallback(\"default\", \"@iobroker/adapter-react-v5\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\"), __webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111\")]).then(() => (() => (__webpack_require__(64620))))))),\n\t67085: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/material\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\")]).then(() => (() => (__webpack_require__(83709)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t28437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t95973\n\t],\n\t\"webpack_sharing_consume_default_react-dom_react-dom\": [\n\t\t23479\n\t],\n\t\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\": [\n\t\t21839,\n\t\t70143\n\t],\n\t\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\": [\n\t\t37449,\n\t\t67085\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t\"ConfigCustomJavascriptSet\": 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"src_Components_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css-node_modules_babel_run-15869f\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"ConfigCustomJavascriptSet\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(react(\\-dom_react\\-dom|_react)|iobroker_adapter\\-react\\-v5_iobroker_adapter\\-react\\-v5\\-webpack_s\\-9b5bf1|mui_icons\\-material_mui_icons\\-material\\-webpack_sharing_consume\\-2e0180|prop\\-types_prop\\-types)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_admin_component_backitup\"] = self[\"webpackChunkiobroker_admin_component_backitup\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(23009);\n"],"names":["moduleMap","__webpack_require__","get","module","getScope","init","shareScope","initScope","name","oldScope","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","getter","definition","key","chunkId","promises","e","obj","prop","inProgress","dataWebpackPrefix","url","done","script","needAttach","scripts","i","s","onScriptComplete","prev","event","timeout","doneFns","fn","initPromises","initTokens","initToken","scope","warn","msg","uniqueName","register","version","factory","eager","versions","activeVersion","initExternal","id","handleError","err","initFn","initResult","scriptUrl","document","parseVersion","str","p","n","r","versionLt","a","b","t","f","rangeToString","range","g","o","satisfy","u","ensureExistence","scopeName","findVersion","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","getSingleton","getSingletonVersion","getStrictSingletonVersion","findValidVersion","getInvalidVersionMessage","getValidVersion","entry","warnInvalidVersion","c","promise","load","loadFallback","fallback","loadVersionCheck","loadSingleton","loadSingletonVersionCheck","loadStrictVersionCheck","loadStrictSingletonVersionCheck","loadVersionCheckFallback","loadSingletonFallback","loadSingletonVersionCheckFallback","loadStrictVersionCheckFallback","loadStrictSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","onFactory","onError","error","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","onLinkComplete","errorType","realHref","findStylesheet","href","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","cssChunks","installedChunks","installedChunkData","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","result","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/admin/custom/static/js/main.c8c94d2e.js b/admin/custom/static/js/main.c8c94d2e.js new file mode 100644 index 000000000..27e249faf --- /dev/null +++ b/admin/custom/static/js/main.c8c94d2e.js @@ -0,0 +1,6 @@ +(()=>{var L={56046:(a,c,s)=>{Promise.all([s.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),s.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),s.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f"),s.e("vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js"),s.e("vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca"),s.e("vendors-node_modules_mui_styles_withStyles_withStyles_js"),s.e("vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc"),s.e("vendors-node_modules_iobroker_adapter-react-v5_GenericApp_js-node_modules_react-dom_client_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_react-dom_react-dom"),s.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180"),s.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1"),s.e("src_Astro_jsx"),s.e("src_bootstrap_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css")]).then(s.bind(s,66750))}},O={};function e(a){var c=O[a];if(c!==void 0)return c.exports;var s=O[a]={id:a,loaded:!1,exports:{}};return L[a].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}e.m=L,e.c=O,e.amdD=function(){throw new Error("define cannot be used indirect")},e.n=a=>{var c=a&&a.__esModule?()=>a.default:()=>a;return e.d(c,{a:c}),c},e.d=(a,c)=>{for(var s in c)e.o(c,s)&&!e.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:c[s]})},e.f={},e.e=a=>Promise.all(Object.keys(e.f).reduce((c,s)=>(e.f[s](a,c),c),[])),e.u=a=>"static/js/"+a+"."+{"vendors-node_modules_mui_material_utils_createSvgIcon_js":"35fe98fd","vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js":"a7d08526","vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f":"556fd1d3","vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js":"9338fd8d","vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca":"c5d88970","vendors-node_modules_mui_styles_withStyles_withStyles_js":"62e73a99","vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc":"4b57a780","vendors-node_modules_iobroker_adapter-react-v5_GenericApp_js-node_modules_react-dom_client_js":"32b8ee88",webpack_sharing_consume_default_react_react:"9749d585","webpack_sharing_consume_default_prop-types_prop-types":"0e28b347","webpack_sharing_consume_default_react-dom_react-dom":"1f2f2a35","webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180":"7777ed59","webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1":"3a3c8999",src_Astro_jsx:"8ae1b92e","src_bootstrap_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css":"bca59fea","vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a":"53d19b01","vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06":"4cfb8b1d","node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110":"56f0526e","vendors-node_modules_mui_icons-material_esm_index_js":"ba802a11","vendors-node_modules_mui_material_index_js":"64921a35","node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d":"da33c2b3","node_modules_prop-types_index_js":"7e14cd38","vendors-node_modules_react-dom_index_js":"fbaeb7bd",node_modules_react_index_js:"ca0c923d",node_modules_mui_styles_index_js:"6d06b621","node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111":"10cec9b6"}[a]+".chunk.js",e.miniCssF=a=>"static/css/"+a+".a4116d7f.chunk.css",e.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(a){if(typeof window=="object")return window}}(),e.hmd=a=>(a=Object.create(a),a.children||(a.children=[]),Object.defineProperty(a,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+a.id)}}),a),e.o=(a,c)=>Object.prototype.hasOwnProperty.call(a,c),(()=>{var a={},c="iobroker-admin-component-backitup:";e.l=(s,u,l,p)=>{if(a[s]){a[s].push(u);return}var d,h;if(l!==void 0)for(var m=document.getElementsByTagName("script"),f=0;f{d.onerror=d.onload=null,clearTimeout(j);var S=a[s];if(delete a[s],d.parentNode&&d.parentNode.removeChild(d),S&&S.forEach(k=>k(w)),x)return x(w)},j=setTimeout(b.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=b.bind(null,d.onerror),d.onload=b.bind(null,d.onload),h&&document.head.appendChild(d)}})(),e.r=a=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},e.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{e.S={};var a={},c={};e.I=(s,u)=>{u||(u=[]);var l=c[s];if(l||(l=c[s]={}),!(u.indexOf(l)>=0)){if(u.push(l),a[s])return a[s];e.o(e.S,s)||(e.S[s]={});var p=e.S[s],d=b=>{typeof console!="undefined"&&console.warn&&console.warn(b)},h="iobroker-admin-component-backitup",m=(b,j,x,w)=>{var S=p[b]=p[b]||{},k=S[j];(!k||!k.loaded&&(!w!=!k.eager?w:h>k.from))&&(S[j]={get:x,from:h,eager:!!w})},f=b=>{var j=k=>d("Initialization of sharing external failed: "+k);try{var x=e(b);if(!x)return;var w=k=>k&&k.init&&k.init(e.S[s],u);if(x.then)return v.push(x.then(w,j));var S=w(x);if(S&&S.then)return v.push(S.catch(j))}catch(k){j(k)}},v=[];switch(s){case"default":m("@iobroker/adapter-react-v5","4.13.11",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a"),e.e("vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js"),e.e("vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca"),e.e("vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("webpack_sharing_consume_default_react-dom_react-dom"),e.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180"),e.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1"),e.e("node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110")]).then(()=>()=>e(64620))),m("@mui/icons-material","5.15.16",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_icons-material_esm_index_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types")]).then(()=>()=>e(58597))),m("@mui/material","5.14.14",()=>Promise.all([e.e("vendors-node_modules_mui_material_utils_createSvgIcon_js"),e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a"),e.e("vendors-node_modules_mui_material_index_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("webpack_sharing_consume_default_react-dom_react-dom")]).then(()=>()=>e(83709))),m("@mui/styles","5.14.14",()=>Promise.all([e.e("vendors-node_modules_mui_styles_withStyles_withStyles_js"),e.e("webpack_sharing_consume_default_react_react"),e.e("webpack_sharing_consume_default_prop-types_prop-types"),e.e("node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d")]).then(()=>()=>e(92183))),m("prop-types","15.8.1",()=>e.e("node_modules_prop-types_index_js").then(()=>()=>e(75826))),m("react-dom","18.3.1",()=>Promise.all([e.e("vendors-node_modules_react-dom_index_js"),e.e("webpack_sharing_consume_default_react_react")]).then(()=>()=>e(22483))),m("react","18.3.1",()=>e.e("node_modules_react_index_js").then(()=>()=>e(77810)));break}return v.length?a[s]=Promise.all(v).then(()=>a[s]=1):a[s]=1}}})(),(()=>{var a;e.g.importScripts&&(a=e.g.location+"");var c=e.g.document;if(!a&&c&&(c.currentScript&&(a=c.currentScript.src),!a)){var s=c.getElementsByTagName("script");if(s.length)for(var u=s.length-1;u>-1&&(!a||!/^http(s?):/.test(a));)a=s[u--].src}if(!a)throw new Error("Automatic publicPath is not supported in this browser");a=a.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=a+"../../"})(),(()=>{var a=t=>{var o=n=>n.split(".").map(i=>+i==i?+i:i),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(t),_=r[1]?o(r[1]):[];return r[2]&&(_.length++,_.push.apply(_,o(r[2]))),r[3]&&(_.push([]),_.push.apply(_,o(r[3]))),_},c=(t,o)=>{t=a(t),o=a(o);for(var r=0;;){if(r>=t.length)return r=o.length)return n=="u";var i=o[r],g=(typeof i)[0];if(n!=g)return n=="o"&&g=="n"||g=="s"||n=="u";if(n!="o"&&n!="u"&&_!=i)return _{var o=t[0],r="";if(t.length===1)return"*";if(o+.5){r+=o==0?">=":o==-1?"<":o==1?"^":o==2?"~":o>0?"=":"!=";for(var _=1,n=1;n0?".":"")+(_=2,g);return r}var i=[];for(n=1;n{if(0 in t){o=a(o);var r=t[0],_=r<0;_&&(r=-r-1);for(var n=0,i=1,g=!0;;i++,n++){var y,A,P=i=o.length||(A=(typeof(y=o[n]))[0])=="o")return!g||(P=="u"?i>r&&!_:P==""!=_);if(A=="u"){if(!g||P!="u")return!1}else if(g)if(P==A)if(i<=r){if(y!=t[i])return!1}else{if(_?y>t[i]:y{var r=e.S[t];if(!r||!e.o(r,o))throw new Error("Shared module "+o+" doesn't exist in shared scope "+t);return r},p=(t,_)=>{var r=t[_],_=Object.keys(r).reduce((n,i)=>!n||c(n,i)?i:n,0);return _&&r[_]},d=(t,o)=>{var r=t[o];return Object.keys(r).reduce((_,n)=>!_||!r[_].loaded&&c(_,n)?n:_,0)},h=(t,o,r,_)=>"Unsatisfied version "+r+" from "+(r&&t[o][r].from)+" of shared singleton module "+o+" (required "+s(_)+")",m=(t,o,r,_)=>{var n=d(t,r);return k(t[r][n])},f=(t,o,r,_)=>{var n=d(t,r);return u(_,n)||w(h(t,r,n,_)),k(t[r][n])},v=(t,o,r,_)=>{var n=d(t,r);if(!u(_,n))throw new Error(h(t,r,n,_));return k(t[r][n])},b=(t,n,r)=>{var _=t[n],n=Object.keys(_).reduce((i,g)=>u(r,g)&&(!i||c(i,g))?g:i,0);return n&&_[n]},j=(t,o,r,_)=>{var n=t[r];return"No satisfying version ("+s(_)+") of shared module "+r+" found in shared scope "+o+`. +Available versions: `+Object.keys(n).map(i=>i+" from "+n[i].from).join(", ")},x=(t,o,r,_)=>{var n=b(t,r,_);if(n)return k(n);throw new Error(j(t,o,r,_))},w=t=>{typeof console!="undefined"&&console.warn&&console.warn(t)},S=(t,o,r,_)=>{w(j(t,o,r,_))},k=t=>(t.loaded=1,t.get()),C=t=>function(o,r,_,n){var i=e.I(o);return i&&i.then?i.then(t.bind(t,o,e.S[o],r,_,n)):t(o,e.S[o],r,_,n)},z=C((t,o,r)=>(l(t,r),k(p(o,r)))),U=C((t,o,r,_)=>o&&e.o(o,r)?k(p(o,r)):_()),G=C((t,o,r,_)=>(l(t,r),k(b(o,r,_)||S(o,t,r,_)||p(o,r)))),K=C((t,o,r)=>(l(t,r),m(o,t,r))),H=C((t,o,r,_)=>(l(t,r),f(o,t,r,_))),J=C((t,o,r,_)=>(l(t,r),x(o,t,r,_))),W=C((t,o,r,_)=>(l(t,r),v(o,t,r,_))),Q=C((t,o,r,_,n)=>!o||!e.o(o,r)?n():k(b(o,r,_)||S(o,t,r,_)||p(o,r))),X=C((t,o,r,_)=>!o||!e.o(o,r)?_():m(o,t,r)),E=C((t,o,r,_,n)=>!o||!e.o(o,r)?n():f(o,t,r,_)),Y=C((t,o,r,_,n)=>{var i=o&&e.o(o,r)&&b(o,r,_);return i?k(i):n()}),Z=C((t,o,r,_,n)=>!o||!e.o(o,r)?n():v(o,t,r,_)),V={},$={28437:()=>E("default","react",[0],()=>e.e("node_modules_react_index_js").then(()=>()=>e(77810))),95973:()=>E("default","prop-types",[0],()=>e.e("node_modules_prop-types_index_js").then(()=>()=>e(75826))),23479:()=>E("default","react-dom",[0],()=>e.e("vendors-node_modules_react-dom_index_js").then(()=>()=>e(22483))),21839:()=>E("default","@mui/icons-material",[0],()=>e.e("vendors-node_modules_mui_icons-material_esm_index_js").then(()=>()=>e(58597))),70143:()=>E("default","@mui/styles",[0],()=>Promise.all([e.e("vendors-node_modules_mui_styles_withStyles_withStyles_js"),e.e("node_modules_mui_styles_index_js")]).then(()=>()=>e(92183))),37449:()=>E("default","@iobroker/adapter-react-v5",[0],()=>Promise.all([e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a"),e.e("vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca"),e.e("vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06"),e.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180"),e.e("node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111")]).then(()=>()=>e(64620))),67085:()=>E("default","@mui/material",[0],()=>Promise.all([e.e("vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js"),e.e("vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a"),e.e("vendors-node_modules_mui_material_index_js")]).then(()=>()=>e(83709)))},M={webpack_sharing_consume_default_react_react:[28437],"webpack_sharing_consume_default_prop-types_prop-types":[95973],"webpack_sharing_consume_default_react-dom_react-dom":[23479],"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180":[21839,70143],"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1":[37449,67085]},N={};e.f.consumes=(t,o)=>{e.o(M,t)&&M[t].forEach(r=>{if(e.o(V,r))return o.push(V[r]);if(!N[r]){var _=g=>{V[r]=0,e.m[r]=y=>{delete e.c[r],y.exports=g()}};N[r]=!0;var n=g=>{delete V[r],e.m[r]=y=>{throw delete e.c[r],g}};try{var i=$[r]();i.then?o.push(V[r]=i.then(_).catch(n)):_(i)}catch(g){n(g)}}})}})(),(()=>{if(typeof document!="undefined"){var a=(l,p,d,h,m)=>{var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",e.nc&&(f.nonce=e.nc);var v=b=>{if(f.onerror=f.onload=null,b.type==="load")h();else{var j=b&&b.type,x=b&&b.target&&b.target.href||p,w=new Error("Loading CSS chunk "+l+` failed. +(`+j+": "+x+")");w.name="ChunkLoadError",w.code="CSS_CHUNK_LOAD_FAILED",w.type=j,w.request=x,f.parentNode&&f.parentNode.removeChild(f),m(w)}};return f.onerror=f.onload=v,f.href=p,d?d.parentNode.insertBefore(f,d.nextSibling):document.head.appendChild(f),f},c=(l,p)=>{for(var d=document.getElementsByTagName("link"),h=0;hnew Promise((p,d)=>{var h=e.miniCssF(l),m=e.p+h;if(c(h,m))return p();a(l,m,null,p,d)}),u={main:0};e.f.miniCss=(l,p)=>{var d={"src_bootstrap_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css":1};u[l]?p.push(u[l]):u[l]!==0&&d[l]&&p.push(u[l]=s(l).then(()=>{u[l]=0},h=>{throw delete u[l],h}))}}})(),(()=>{var a={main:0};e.f.j=(u,l)=>{var p=e.o(a,u)?a[u]:void 0;if(p!==0)if(p)l.push(p[2]);else if(/^webpack_sharing_consume_default_(react(\-dom_react\-dom|_react)|iobroker_adapter\-react\-v5_iobroker_adapter\-react\-v5\-webpack_s\-9b5bf1|mui_icons\-material_mui_icons\-material\-webpack_sharing_consume\-2e0180|prop\-types_prop\-types)$/.test(u))a[u]=0;else{var d=new Promise((v,b)=>p=a[u]=[v,b]);l.push(p[2]=d);var h=e.p+e.u(u),m=new Error,f=v=>{if(e.o(a,u)&&(p=a[u],p!==0&&(a[u]=void 0),p)){var b=v&&(v.type==="load"?"missing":v.type),j=v&&v.target&&v.target.src;m.message="Loading chunk "+u+` failed. +(`+b+": "+j+")",m.name="ChunkLoadError",m.type=b,m.request=j,p[1](m)}};e.l(h,f,"chunk-"+u,u)}};var c=(u,l)=>{var p=l[0],d=l[1],h=l[2],m,f,v=0;if(p.some(j=>a[j]!==0)){for(m in d)e.o(d,m)&&(e.m[m]=d[m]);if(h)var b=h(e)}for(u&&u(l);v {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"vendors-node_modules_mui_material_utils_createSvgIcon_js\":\"35fe98fd\",\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\":\"a7d08526\",\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f\":\"556fd1d3\",\"vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js\":\"9338fd8d\",\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\":\"c5d88970\",\"vendors-node_modules_mui_styles_withStyles_withStyles_js\":\"62e73a99\",\"vendors-node_modules_leaflet_dist_leaflet_css-node_modules_mui_x-date-pickers_AdapterDateFns_-872ffc\":\"4b57a780\",\"vendors-node_modules_iobroker_adapter-react-v5_GenericApp_js-node_modules_react-dom_client_js\":\"32b8ee88\",\"webpack_sharing_consume_default_react_react\":\"9749d585\",\"webpack_sharing_consume_default_prop-types_prop-types\":\"0e28b347\",\"webpack_sharing_consume_default_react-dom_react-dom\":\"1f2f2a35\",\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\":\"7777ed59\",\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\":\"3a3c8999\",\"src_Astro_jsx\":\"8ae1b92e\",\"src_bootstrap_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css\":\"bca59fea\",\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\":\"53d19b01\",\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\":\"4cfb8b1d\",\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110\":\"56f0526e\",\"vendors-node_modules_mui_icons-material_esm_index_js\":\"ba802a11\",\"vendors-node_modules_mui_material_index_js\":\"64921a35\",\"node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d\":\"da33c2b3\",\"node_modules_prop-types_index_js\":\"7e14cd38\",\"vendors-node_modules_react-dom_index_js\":\"fbaeb7bd\",\"node_modules_react_index_js\":\"ca0c923d\",\"node_modules_mui_styles_index_js\":\"6d06b621\",\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111\":\"10cec9b6\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/css/\" + chunkId + \".\" + \"a4116d7f\" + \".chunk.css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker-admin-component-backitup:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker-admin-component-backitup\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@iobroker/adapter-react-v5\", \"4.13.11\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\"), __webpack_require__.e(\"vendors-node_modules_mui_x-date-pickers_TimePicker_TimePicker_js\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\"), __webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110\")]).then(() => (() => (__webpack_require__(64620))))));\n\t\t\tregister(\"@mui/icons-material\", \"5.15.16\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(58597))))));\n\t\t\tregister(\"@mui/material\", \"5.14.14\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_utils_createSvgIcon_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\")]).then(() => (() => (__webpack_require__(83709))))));\n\t\t\tregister(\"@mui/styles\", \"5.14.14\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styles_withStyles_withStyles_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d\")]).then(() => (() => (__webpack_require__(92183))))));\n\t\t\tregister(\"prop-types\", \"15.8.1\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(75826))))));\n\t\t\tregister(\"react-dom\", \"18.3.1\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(22483))))));\n\t\t\tregister(\"react\", \"18.3.1\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(77810))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl + \"../../\";","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warn = (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t28437: () => (loadSingletonVersionCheckFallback(\"default\", \"react\", [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(77810))))))),\n\t95973: () => (loadSingletonVersionCheckFallback(\"default\", \"prop-types\", [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(75826))))))),\n\t23479: () => (loadSingletonVersionCheckFallback(\"default\", \"react-dom\", [0], () => (__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\").then(() => (() => (__webpack_require__(22483))))))),\n\t21839: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/icons-material\", [0], () => (__webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\").then(() => (() => (__webpack_require__(58597))))))),\n\t70143: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/styles\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styles_withStyles_withStyles_js\"), __webpack_require__.e(\"node_modules_mui_styles_index_js\")]).then(() => (() => (__webpack_require__(92183))))))),\n\t37449: () => (loadSingletonVersionCheckFallback(\"default\", \"@iobroker/adapter-react-v5\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_Components_Loader_js-node_modules_iobroker_ada-6c96ca\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\"), __webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111\")]).then(() => (() => (__webpack_require__(64620))))))),\n\t67085: () => (loadSingletonVersionCheckFallback(\"default\", \"@mui/material\", [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_material_colors_index_js-node_modules_mui_material_styles_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Checkbox_index_js-node_modules_mui_material_FormControl_ind-f3ac5a\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\")]).then(() => (() => (__webpack_require__(83709)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t28437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t95973\n\t],\n\t\"webpack_sharing_consume_default_react-dom_react-dom\": [\n\t\t23479\n\t],\n\t\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material-webpack_sharing_consume-2e0180\": [\n\t\t21839,\n\t\t70143\n\t],\n\t\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5-webpack_s-9b5bf1\": [\n\t\t37449,\n\t\t67085\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t\"main\": 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"src_bootstrap_jsx-node_modules_leaflet_dist_leaflet_css-src_index_css\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"main\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(react(\\-dom_react\\-dom|_react)|iobroker_adapter\\-react\\-v5_iobroker_adapter\\-react\\-v5\\-webpack_s\\-9b5bf1|mui_icons\\-material_mui_icons\\-material\\-webpack_sharing_consume\\-2e0180|prop\\-types_prop\\-types)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_admin_component_backitup\"] = self[\"webpackChunkiobroker_admin_component_backitup\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(56046);\n"],"names":["__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","module","__webpack_modules__","getter","exports","definition","key","chunkId","promises","e","obj","prop","inProgress","dataWebpackPrefix","url","done","script","needAttach","scripts","i","s","onScriptComplete","prev","event","timeout","doneFns","fn","initPromises","initTokens","name","initScope","initToken","scope","warn","msg","uniqueName","register","version","factory","eager","versions","activeVersion","initExternal","id","handleError","err","initFn","initResult","scriptUrl","document","parseVersion","str","p","n","r","versionLt","a","b","t","f","rangeToString","range","g","o","satisfy","u","ensureExistence","scopeName","findVersion","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","getSingleton","get","getSingletonVersion","getStrictSingletonVersion","findValidVersion","getInvalidVersionMessage","getValidVersion","entry","warnInvalidVersion","init","c","promise","load","loadFallback","fallback","loadVersionCheck","loadSingleton","loadSingletonVersionCheck","loadStrictVersionCheck","loadStrictSingletonVersionCheck","loadVersionCheckFallback","loadSingletonFallback","loadSingletonVersionCheckFallback","loadStrictVersionCheckFallback","loadStrictSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","onFactory","onError","error","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","onLinkComplete","errorType","realHref","findStylesheet","href","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","cssChunks","installedChunks","installedChunkData","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","result","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/admin/custom/static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110.56f0526e.chunk.js.map b/admin/custom/static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110.56f0526e.chunk.js.map index 616583f20..71ae2feed 100644 --- a/admin/custom/static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110.56f0526e.chunk.js.map +++ b/admin/custom/static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110.56f0526e.chunk.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110.56f0526e.chunk.js","mappings":"qVAAA,IAAIA,EAAM,CACT,sBAAuB,MACvB,kBAAmB,MACnB,gBAAiB,KACjB,uBAAwB,MACxB,2BAA4B,MAC5B,mBAAoB,MACpB,gBAAiB,MACjB,sBAAuB,MACvB,mBAAoB,MACpB,iBAAkB,KAClB,oBAAqB,KACrB,iBAAkB,MAClB,oBAAqB,KACrB,cAAe,MACf,iBAAkB,MAClB,cAAe,MACf,YAAa,MACb,oBAAqB,MACrB,qBAAsB,MACtB,cAAe,MACf,kBAAmB,MACnB,eAAgB,MAChB,sBAAuB,KACvB,eAAgB,MAChB,cAAe,MACf,kBAAmB,MACnB,iBAAkB,MAClB,aAAc,MACd,mBAAoB,MACpB,kBAAmB,MACnB,cAAe,MACf,kBAAmB,KACnB,aAAc,MACd,eAAgB,MAChB,uBAAwB,MACxB,cAAe,MACf,uBAAwB,IACxB,eAAgB,MAChB,aAAc,MACd,0BAA2B,MAC3B,gBAAiB,MACjB,aAAc,MACd,iBAAkB,MAClB,gBAAiB,MACjB,iBAAkB,MAClB,gBAAiB,MACjB,iBAAkB,K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BAAkB,MAClB,iBAAkB,MAClB,aAAc,MACd,kBAAmB,MACnB,qBAAsB,MACtB,aAAc,MACd,sBAAuB,MACvB,iBAAkB,MAClB,kBAAmB,KACnB,kBAAmB,MACnB,qBAAsB,MACtB,sBAAuB,MACvB,gBAAiB,MACjB,eAAgB,MAChB,iBAAkB,MAClB,iBAAkB,MAClB,iBAAkB,MAClB,WAAY,MACZ,mBAAoB,MACpB,iBAAkB,MAClB,kBAAmB,MACnB,SAAU,MACV,cAAe,MACf,cAAe,KACf,eAAgB,MAChB,oBAAqB,MACrB,kBAAmB,KACpB,EAGA,SAASC,EAAeC,EAAK,CAC5B,IAAIC,EAAKC,EAAsBF,CAAG,EAClC,OAAOG,EAAoBF,CAAE,CAC9B,CACA,SAASC,EAAsBF,EAAK,CACnC,GAAG,CAACG,EAAoB,EAAEL,EAAKE,CAAG,EAAG,CACpC,IAAII,EAAI,IAAI,MAAM,uBAAyBJ,EAAM,GAAG,EACpD,MAAAI,EAAE,KAAO,mBACHA,CACP,CACA,OAAON,EAAIE,CAAG,CACf,CACAD,EAAe,KAAO,UAA8B,CACnD,OAAO,OAAO,KAAKD,CAAG,CACvB,EACAC,EAAe,QAAUG,EACzBG,EAAO,QAAUN,EACjBA,EAAe,GAAK,K","sources":["../node_modules/@iobroker/adapter-react-v5/assets/devices|sync|/^/.*$","../node_modules/@iobroker/adapter-react-v5/assets/rooms|sync|/^/.*$"],"sourcesContent":["var map = {\n\t\"./Alarm Systems.svg\": 99593,\n\t\"./Amplifier.svg\": 65537,\n\t\"./Awnings.svg\": 7757,\n\t\"./Battery Status.svg\": 64087,\n\t\"./Ceiling Spotlights.svg\": 12776,\n\t\"./Chandelier.svg\": 85901,\n\t\"./Climate.svg\": 22097,\n\t\"./Coffee Makers.svg\": 81403,\n\t\"./Cold Water.svg\": 83087,\n\t\"./Computer.svg\": 7119,\n\t\"./Consumption.svg\": 7041,\n\t\"./Curtains.svg\": 71133,\n\t\"./Dishwashers.svg\": 1367,\n\t\"./Doors.svg\": 50495,\n\t\"./Doorstep.svg\": 17154,\n\t\"./Dryer.svg\": 91826,\n\t\"./Fan.svg\": 89555,\n\t\"./Floor Lamps.svg\": 12699,\n\t\"./Garage Doors.svg\": 48792,\n\t\"./Gates.svg\": 42760,\n\t\"./Hairdryer.svg\": 31398,\n\t\"./Handle.svg\": 94046,\n\t\"./Hanging Lamps.svg\": 8549,\n\t\"./Heater.svg\": 24195,\n\t\"./Hoods.svg\": 15761,\n\t\"./Hot Water.svg\": 34336,\n\t\"./Humidity.svg\": 38507,\n\t\"./Iron.svg\": 82862,\n\t\"./Irrigation.svg\": 73156,\n\t\"./Led Strip.svg\": 29769,\n\t\"./Light.svg\": 79504,\n\t\"./Lightings.svg\": 7179,\n\t\"./Lock.svg\": 27521,\n\t\"./Louvre.svg\": 44997,\n\t\"./Mowing Machine.svg\": 73098,\n\t\"./Music.svg\": 59077,\n\t\"./Outdoor Blinds.svg\": 196,\n\t\"./People.svg\": 46301,\n\t\"./Pool.svg\": 78702,\n\t\"./Power Consumption.svg\": 51142,\n\t\"./Printer.svg\": 38888,\n\t\"./Pump.svg\": 28250,\n\t\"./Receiver.svg\": 49347,\n\t\"./Sconces.svg\": 60932,\n\t\"./Security.svg\": 12422,\n\t\"./Shading.svg\": 74018,\n\t\"./Shutters.svg\": 9290,\n\t\"./SmokeDetector.svg\": 74781,\n\t\"./Sockets.svg\": 41766,\n\t\"./Speaker.svg\": 62263,\n\t\"./Stove.svg\": 42939,\n\t\"./Table Lamps.svg\": 31761,\n\t\"./Temperature Sensors.svg\": 2863,\n\t\"./Tv.svg\": 36150,\n\t\"./Vacuum Cleaner.svg\": 93483,\n\t\"./Ventilation.svg\": 65645,\n\t\"./Washing Machines.svg\": 68711,\n\t\"./Water Consumption.svg\": 76384,\n\t\"./Water Heater.svg\": 96132,\n\t\"./Water.svg\": 50697,\n\t\"./Weather.svg\": 90368,\n\t\"./Window.svg\": 32944,\n\t\"./list\": 27723,\n\t\"./list.json\": 27723,\n\t\"./names.txt\": 79662,\n\t\"./parseNames\": 76407,\n\t\"./parseNames.d.ts\": 93623,\n\t\"./parseNames.js\": 76407\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 58072;","var map = {\n\t\"./Anteroom.svg\": 26442,\n\t\"./Attic.svg\": 37956,\n\t\"./Balcony.svg\": 96573,\n\t\"./Barn.svg\": 70052,\n\t\"./Basement.svg\": 7940,\n\t\"./Bathroom.svg\": 41305,\n\t\"./Bedroom.svg\": 67485,\n\t\"./Boiler Room.svg\": 75681,\n\t\"./Carport.svg\": 63126,\n\t\"./Cellar.svg\": 52318,\n\t\"./Chamber.svg\": 63907,\n\t\"./Corridor.svg\": 59213,\n\t\"./Dining Area.svg\": 21427,\n\t\"./Dining Room.svg\": 86913,\n\t\"./Dining.svg\": 53920,\n\t\"./Dressing Room.svg\": 38929,\n\t\"./Driveway.svg\": 73458,\n\t\"./Entrance.svg\": 2793,\n\t\"./Equipment Room.svg\": 61150,\n\t\"./Front Yard.svg\": 8368,\n\t\"./Gallery.svg\": 95343,\n\t\"./Garage.svg\": 83364,\n\t\"./Garden.svg\": 21084,\n\t\"./Ground Floor.svg\": 82988,\n\t\"./Guest Bathroom.svg\": 67389,\n\t\"./Guest Room.svg\": 84570,\n\t\"./Gym.svg\": 37032,\n\t\"./Hall.svg\": 83862,\n\t\"./Home Theater.svg\": 30441,\n\t\"./Kitchen.svg\": 37765,\n\t\"./Laundry Room.svg\": 51955,\n\t\"./Living Area.svg\": 29283,\n\t\"./Living Room.svg\": 53201,\n\t\"./Locker Room.svg\": 38064,\n\t\"./Nursery.svg\": 8905,\n\t\"./Office.svg\": 24675,\n\t\"./Outdoors.svg\": 12340,\n\t\"./Playroom.svg\": 60476,\n\t\"./Pool.svg\": 68393,\n\t\"./Rear Wall.svg\": 49523,\n\t\"./Second Floor.svg\": 84161,\n\t\"./Shed.svg\": 45717,\n\t\"./Sleeping Area.svg\": 14795,\n\t\"./Stairway.svg\": 78303,\n\t\"./Stairwell.svg\": 8374,\n\t\"./Storeroom.svg\": 53127,\n\t\"./Summer House.svg\": 71320,\n\t\"./Swimming Pool.svg\": 59562,\n\t\"./Terrace.svg\": 13511,\n\t\"./Toilet.svg\": 28720,\n\t\"./Upstairs.svg\": 70418,\n\t\"./Wardrobe.svg\": 21191,\n\t\"./Washroom.svg\": 12503,\n\t\"./Wc.svg\": 52373,\n\t\"./Windscreen.svg\": 64657,\n\t\"./Workshop.svg\": 98820,\n\t\"./Workspace.svg\": 51610,\n\t\"./list\": 21558,\n\t\"./list.json\": 21558,\n\t\"./names.txt\": 1395,\n\t\"./parseNames\": 96862,\n\t\"./parseNames.d.ts\": 50410,\n\t\"./parseNames.js\": 96862\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 82581;"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","e","module"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694110.56f0526e.chunk.js","mappings":"qVAA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EAAM,GAAG,EACpD,MAAAI,EAAE,KAAO,mBACHA,CACP,CACA,OAAON,EAAIE,CAAG,CACf,CACAD,EAAe,KAAO,UAA8B,CACnD,OAAO,OAAO,KAAKD,CAAG,CACvB,EACAC,EAAe,QAAUG,EACzBG,EAAO,QAAUN,EACjBA,EAAe,GAAK,K","sources":["../node_modules/@iobroker/adapter-react-v5/assets/devices|sync|/^/.//.*$","../node_modules/@iobroker/adapter-react-v5/assets/rooms|sync|/^/.//.*$"],"sourcesContent":["var map = {\n\t\"./Alarm Systems.svg\": 99593,\n\t\"./Amplifier.svg\": 65537,\n\t\"./Awnings.svg\": 7757,\n\t\"./Battery Status.svg\": 64087,\n\t\"./Ceiling Spotlights.svg\": 12776,\n\t\"./Chandelier.svg\": 85901,\n\t\"./Climate.svg\": 22097,\n\t\"./Coffee Makers.svg\": 81403,\n\t\"./Cold Water.svg\": 83087,\n\t\"./Computer.svg\": 7119,\n\t\"./Consumption.svg\": 7041,\n\t\"./Curtains.svg\": 71133,\n\t\"./Dishwashers.svg\": 1367,\n\t\"./Doors.svg\": 50495,\n\t\"./Doorstep.svg\": 17154,\n\t\"./Dryer.svg\": 91826,\n\t\"./Fan.svg\": 89555,\n\t\"./Floor Lamps.svg\": 12699,\n\t\"./Garage Doors.svg\": 48792,\n\t\"./Gates.svg\": 42760,\n\t\"./Hairdryer.svg\": 31398,\n\t\"./Handle.svg\": 94046,\n\t\"./Hanging Lamps.svg\": 8549,\n\t\"./Heater.svg\": 24195,\n\t\"./Hoods.svg\": 15761,\n\t\"./Hot Water.svg\": 34336,\n\t\"./Humidity.svg\": 38507,\n\t\"./Iron.svg\": 82862,\n\t\"./Irrigation.svg\": 73156,\n\t\"./Led Strip.svg\": 29769,\n\t\"./Light.svg\": 79504,\n\t\"./Lightings.svg\": 7179,\n\t\"./Lock.svg\": 27521,\n\t\"./Louvre.svg\": 44997,\n\t\"./Mowing Machine.svg\": 73098,\n\t\"./Music.svg\": 59077,\n\t\"./Outdoor Blinds.svg\": 196,\n\t\"./People.svg\": 46301,\n\t\"./Pool.svg\": 78702,\n\t\"./Power Consumption.svg\": 51142,\n\t\"./Printer.svg\": 38888,\n\t\"./Pump.svg\": 28250,\n\t\"./Receiver.svg\": 49347,\n\t\"./Sconces.svg\": 60932,\n\t\"./Security.svg\": 12422,\n\t\"./Shading.svg\": 74018,\n\t\"./Shutters.svg\": 9290,\n\t\"./SmokeDetector.svg\": 74781,\n\t\"./Sockets.svg\": 41766,\n\t\"./Speaker.svg\": 62263,\n\t\"./Stove.svg\": 42939,\n\t\"./Table Lamps.svg\": 31761,\n\t\"./Temperature Sensors.svg\": 2863,\n\t\"./Tv.svg\": 36150,\n\t\"./Vacuum Cleaner.svg\": 93483,\n\t\"./Ventilation.svg\": 65645,\n\t\"./Washing Machines.svg\": 68711,\n\t\"./Water Consumption.svg\": 76384,\n\t\"./Water Heater.svg\": 96132,\n\t\"./Water.svg\": 50697,\n\t\"./Weather.svg\": 90368,\n\t\"./Window.svg\": 32944,\n\t\"./list\": 27723,\n\t\"./list.json\": 27723,\n\t\"./names.txt\": 79662,\n\t\"./parseNames\": 76407,\n\t\"./parseNames.d.ts\": 93623,\n\t\"./parseNames.js\": 76407\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 58072;","var map = {\n\t\"./Anteroom.svg\": 26442,\n\t\"./Attic.svg\": 37956,\n\t\"./Balcony.svg\": 96573,\n\t\"./Barn.svg\": 70052,\n\t\"./Basement.svg\": 7940,\n\t\"./Bathroom.svg\": 41305,\n\t\"./Bedroom.svg\": 67485,\n\t\"./Boiler Room.svg\": 75681,\n\t\"./Carport.svg\": 63126,\n\t\"./Cellar.svg\": 52318,\n\t\"./Chamber.svg\": 63907,\n\t\"./Corridor.svg\": 59213,\n\t\"./Dining Area.svg\": 21427,\n\t\"./Dining Room.svg\": 86913,\n\t\"./Dining.svg\": 53920,\n\t\"./Dressing Room.svg\": 38929,\n\t\"./Driveway.svg\": 73458,\n\t\"./Entrance.svg\": 2793,\n\t\"./Equipment Room.svg\": 61150,\n\t\"./Front Yard.svg\": 8368,\n\t\"./Gallery.svg\": 95343,\n\t\"./Garage.svg\": 83364,\n\t\"./Garden.svg\": 21084,\n\t\"./Ground Floor.svg\": 82988,\n\t\"./Guest Bathroom.svg\": 67389,\n\t\"./Guest Room.svg\": 84570,\n\t\"./Gym.svg\": 37032,\n\t\"./Hall.svg\": 83862,\n\t\"./Home Theater.svg\": 30441,\n\t\"./Kitchen.svg\": 37765,\n\t\"./Laundry Room.svg\": 51955,\n\t\"./Living Area.svg\": 29283,\n\t\"./Living Room.svg\": 53201,\n\t\"./Locker Room.svg\": 38064,\n\t\"./Nursery.svg\": 8905,\n\t\"./Office.svg\": 24675,\n\t\"./Outdoors.svg\": 12340,\n\t\"./Playroom.svg\": 60476,\n\t\"./Pool.svg\": 68393,\n\t\"./Rear Wall.svg\": 49523,\n\t\"./Second Floor.svg\": 84161,\n\t\"./Shed.svg\": 45717,\n\t\"./Sleeping Area.svg\": 14795,\n\t\"./Stairway.svg\": 78303,\n\t\"./Stairwell.svg\": 8374,\n\t\"./Storeroom.svg\": 53127,\n\t\"./Summer House.svg\": 71320,\n\t\"./Swimming Pool.svg\": 59562,\n\t\"./Terrace.svg\": 13511,\n\t\"./Toilet.svg\": 28720,\n\t\"./Upstairs.svg\": 70418,\n\t\"./Wardrobe.svg\": 21191,\n\t\"./Washroom.svg\": 12503,\n\t\"./Wc.svg\": 52373,\n\t\"./Windscreen.svg\": 64657,\n\t\"./Workshop.svg\": 98820,\n\t\"./Workspace.svg\": 51610,\n\t\"./list\": 21558,\n\t\"./list.json\": 21558,\n\t\"./names.txt\": 1395,\n\t\"./parseNames\": 96862,\n\t\"./parseNames.d.ts\": 50410,\n\t\"./parseNames.js\": 96862\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 82581;"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","e","module"],"sourceRoot":""} \ No newline at end of file diff --git a/admin/custom/static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111.10cec9b6.chunk.js.map b/admin/custom/static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111.10cec9b6.chunk.js.map index 3cd9744e8..ce626607b 100644 --- a/admin/custom/static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111.10cec9b6.chunk.js.map +++ b/admin/custom/static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111.10cec9b6.chunk.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111.10cec9b6.chunk.js","mappings":"qVAAA,IAAIA,EAAM,CACT,sBAAuB,MACvB,kBAAmB,MACnB,gBAAiB,KACjB,uBAAwB,MACxB,2BAA4B,MAC5B,mBAAoB,MACpB,gBAAiB,MACjB,sBAAuB,MACvB,mBAAoB,MACpB,iBAAkB,KAClB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G,EAAO,QAAUN,EACjBA,EAAe,GAAK,K","sources":["../node_modules/@iobroker/adapter-react-v5/assets/devices|sync|/^/.*$","../node_modules/@iobroker/adapter-react-v5/assets/rooms|sync|/^/.*$"],"sourcesContent":["var map = {\n\t\"./Alarm Systems.svg\": 99593,\n\t\"./Amplifier.svg\": 65537,\n\t\"./Awnings.svg\": 7757,\n\t\"./Battery Status.svg\": 64087,\n\t\"./Ceiling Spotlights.svg\": 12776,\n\t\"./Chandelier.svg\": 85901,\n\t\"./Climate.svg\": 22097,\n\t\"./Coffee Makers.svg\": 81403,\n\t\"./Cold Water.svg\": 83087,\n\t\"./Computer.svg\": 7119,\n\t\"./Consumption.svg\": 7041,\n\t\"./Curtains.svg\": 71133,\n\t\"./Dishwashers.svg\": 1367,\n\t\"./Doors.svg\": 50495,\n\t\"./Doorstep.svg\": 17154,\n\t\"./Dryer.svg\": 91826,\n\t\"./Fan.svg\": 89555,\n\t\"./Floor Lamps.svg\": 12699,\n\t\"./Garage Doors.svg\": 48792,\n\t\"./Gates.svg\": 42760,\n\t\"./Hairdryer.svg\": 31398,\n\t\"./Handle.svg\": 94046,\n\t\"./Hanging Lamps.svg\": 8549,\n\t\"./Heater.svg\": 24195,\n\t\"./Hoods.svg\": 15761,\n\t\"./Hot Water.svg\": 34336,\n\t\"./Humidity.svg\": 38507,\n\t\"./Iron.svg\": 82862,\n\t\"./Irrigation.svg\": 73156,\n\t\"./Led Strip.svg\": 29769,\n\t\"./Light.svg\": 79504,\n\t\"./Lightings.svg\": 7179,\n\t\"./Lock.svg\": 27521,\n\t\"./Louvre.svg\": 44997,\n\t\"./Mowing Machine.svg\": 73098,\n\t\"./Music.svg\": 59077,\n\t\"./Outdoor Blinds.svg\": 196,\n\t\"./People.svg\": 46301,\n\t\"./Pool.svg\": 78702,\n\t\"./Power Consumption.svg\": 51142,\n\t\"./Printer.svg\": 38888,\n\t\"./Pump.svg\": 28250,\n\t\"./Receiver.svg\": 49347,\n\t\"./Sconces.svg\": 60932,\n\t\"./Security.svg\": 12422,\n\t\"./Shading.svg\": 74018,\n\t\"./Shutters.svg\": 9290,\n\t\"./SmokeDetector.svg\": 74781,\n\t\"./Sockets.svg\": 41766,\n\t\"./Speaker.svg\": 62263,\n\t\"./Stove.svg\": 42939,\n\t\"./Table Lamps.svg\": 31761,\n\t\"./Temperature Sensors.svg\": 2863,\n\t\"./Tv.svg\": 36150,\n\t\"./Vacuum Cleaner.svg\": 93483,\n\t\"./Ventilation.svg\": 65645,\n\t\"./Washing Machines.svg\": 68711,\n\t\"./Water Consumption.svg\": 76384,\n\t\"./Water Heater.svg\": 96132,\n\t\"./Water.svg\": 50697,\n\t\"./Weather.svg\": 90368,\n\t\"./Window.svg\": 32944,\n\t\"./list\": 27723,\n\t\"./list.json\": 27723,\n\t\"./names.txt\": 79662,\n\t\"./parseNames\": 76407,\n\t\"./parseNames.d.ts\": 93623,\n\t\"./parseNames.js\": 76407\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 58072;","var map = {\n\t\"./Anteroom.svg\": 26442,\n\t\"./Attic.svg\": 37956,\n\t\"./Balcony.svg\": 96573,\n\t\"./Barn.svg\": 70052,\n\t\"./Basement.svg\": 7940,\n\t\"./Bathroom.svg\": 41305,\n\t\"./Bedroom.svg\": 67485,\n\t\"./Boiler Room.svg\": 75681,\n\t\"./Carport.svg\": 63126,\n\t\"./Cellar.svg\": 52318,\n\t\"./Chamber.svg\": 63907,\n\t\"./Corridor.svg\": 59213,\n\t\"./Dining Area.svg\": 21427,\n\t\"./Dining Room.svg\": 86913,\n\t\"./Dining.svg\": 53920,\n\t\"./Dressing Room.svg\": 38929,\n\t\"./Driveway.svg\": 73458,\n\t\"./Entrance.svg\": 2793,\n\t\"./Equipment Room.svg\": 61150,\n\t\"./Front Yard.svg\": 8368,\n\t\"./Gallery.svg\": 95343,\n\t\"./Garage.svg\": 83364,\n\t\"./Garden.svg\": 21084,\n\t\"./Ground Floor.svg\": 82988,\n\t\"./Guest Bathroom.svg\": 67389,\n\t\"./Guest Room.svg\": 84570,\n\t\"./Gym.svg\": 37032,\n\t\"./Hall.svg\": 83862,\n\t\"./Home Theater.svg\": 30441,\n\t\"./Kitchen.svg\": 37765,\n\t\"./Laundry Room.svg\": 51955,\n\t\"./Living Area.svg\": 29283,\n\t\"./Living Room.svg\": 53201,\n\t\"./Locker Room.svg\": 38064,\n\t\"./Nursery.svg\": 8905,\n\t\"./Office.svg\": 24675,\n\t\"./Outdoors.svg\": 12340,\n\t\"./Playroom.svg\": 60476,\n\t\"./Pool.svg\": 68393,\n\t\"./Rear Wall.svg\": 49523,\n\t\"./Second Floor.svg\": 84161,\n\t\"./Shed.svg\": 45717,\n\t\"./Sleeping Area.svg\": 14795,\n\t\"./Stairway.svg\": 78303,\n\t\"./Stairwell.svg\": 8374,\n\t\"./Storeroom.svg\": 53127,\n\t\"./Summer House.svg\": 71320,\n\t\"./Swimming Pool.svg\": 59562,\n\t\"./Terrace.svg\": 13511,\n\t\"./Toilet.svg\": 28720,\n\t\"./Upstairs.svg\": 70418,\n\t\"./Wardrobe.svg\": 21191,\n\t\"./Washroom.svg\": 12503,\n\t\"./Wc.svg\": 52373,\n\t\"./Windscreen.svg\": 64657,\n\t\"./Workshop.svg\": 98820,\n\t\"./Workspace.svg\": 51610,\n\t\"./list\": 21558,\n\t\"./list.json\": 21558,\n\t\"./names.txt\": 1395,\n\t\"./parseNames\": 96862,\n\t\"./parseNames.d.ts\": 50410,\n\t\"./parseNames.js\": 96862\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 82581;"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","e","module"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/node_modules_iobroker_adapter-react-v5_assets_devices_sync_recursive_-node_modules_iobroker_a-b694111.10cec9b6.chunk.js","mappings":"qVAAA,IAAIA,EAAM,CACT,sBAAuB,MACvB,kBAAmB,MACnB,gBAAiB,KACjB,uBAAwB,MACxB,2BAA4B,MAC5B,mBAAoB,MACpB,gBAAiB,MACjB,sBAAuB,MACvB,mBAAoB,MACpB,iBAAkB,KAClB,oBAAqB,KACrB,iBAAkB,MAClB,oBAAqB,KACrB,cAAe,MACf,iBAAkB,MAClB,cAAe,MACf,YAAa,MACb,oBAAqB,MACrB,qBAAsB,MACtB,cAAe,MACf,kBAAmB,MACnB,eAAgB,MAChB,sBAAuB,KACvB,eAAgB,MAChB,cAAe,MACf,kBAAmB,MACnB,iBAAkB,MAClB,aAAc,MACd,mBAAoB,MACpB,kBAAmB,MACnB,cAAe,MACf,kBAAmB,KACnB,aAAc,MACd,eAAgB,MAChB,uBAAwB,MACxB,cAAe,MACf,uBAAwB,IACxB,eAAgB,MAChB,aAAc,MACd,0BAA2B,MAC3B,gBAAiB,MACjB,aAAc,MACd,iBAAkB,MAClB,gBAAiB,MACjB,iBAAkB,MAClB,gBAAiB,MACjB,iBAAkB,KAClB,sBAAuB,MACvB,gBAAiB,MACjB,gBAAiB,MACjB,cAAe,MACf,oBAAqB,MACrB,4BAA6B,KAC7B,WA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,iBAAkB,MAClB,kBAAmB,KACnB,kBAAmB,MACnB,qBAAsB,MACtB,sBAAuB,MACvB,gBAAiB,MACjB,eAAgB,MAChB,iBAAkB,MAClB,iBAAkB,MAClB,iBAAkB,MAClB,WAAY,MACZ,mBAAoB,MACpB,iBAAkB,MAClB,kBAAmB,MACnB,SAAU,MACV,cAAe,MACf,cAAe,KACf,eAAgB,MAChB,oBAAqB,MACrB,kBAAmB,KACpB,EAGA,SAASC,EAAeC,EAAK,CAC5B,IAAIC,EAAKC,EAAsBF,CAAG,EAClC,OAAOG,EAAoBF,CAAE,CAC9B,CACA,SAASC,EAAsBF,EAAK,CACnC,GAAG,CAACG,EAAoB,EAAEL,EAAKE,CAAG,EAAG,CACpC,IAAII,EAAI,IAAI,MAAM,uBAAyBJ,EAAM,GAAG,EACpD,MAAAI,EAAE,KAAO,mBACHA,CACP,CACA,OAAON,EAAIE,CAAG,CACf,CACAD,EAAe,KAAO,UAA8B,CACnD,OAAO,OAAO,KAAKD,CAAG,CACvB,EACAC,EAAe,QAAUG,EACzBG,EAAO,QAAUN,EACjBA,EAAe,GAAK,K","sources":["../node_modules/@iobroker/adapter-react-v5/assets/devices|sync|/^/.//.*$","../node_modules/@iobroker/adapter-react-v5/assets/rooms|sync|/^/.//.*$"],"sourcesContent":["var map = {\n\t\"./Alarm Systems.svg\": 99593,\n\t\"./Amplifier.svg\": 65537,\n\t\"./Awnings.svg\": 7757,\n\t\"./Battery Status.svg\": 64087,\n\t\"./Ceiling Spotlights.svg\": 12776,\n\t\"./Chandelier.svg\": 85901,\n\t\"./Climate.svg\": 22097,\n\t\"./Coffee Makers.svg\": 81403,\n\t\"./Cold Water.svg\": 83087,\n\t\"./Computer.svg\": 7119,\n\t\"./Consumption.svg\": 7041,\n\t\"./Curtains.svg\": 71133,\n\t\"./Dishwashers.svg\": 1367,\n\t\"./Doors.svg\": 50495,\n\t\"./Doorstep.svg\": 17154,\n\t\"./Dryer.svg\": 91826,\n\t\"./Fan.svg\": 89555,\n\t\"./Floor Lamps.svg\": 12699,\n\t\"./Garage Doors.svg\": 48792,\n\t\"./Gates.svg\": 42760,\n\t\"./Hairdryer.svg\": 31398,\n\t\"./Handle.svg\": 94046,\n\t\"./Hanging Lamps.svg\": 8549,\n\t\"./Heater.svg\": 24195,\n\t\"./Hoods.svg\": 15761,\n\t\"./Hot Water.svg\": 34336,\n\t\"./Humidity.svg\": 38507,\n\t\"./Iron.svg\": 82862,\n\t\"./Irrigation.svg\": 73156,\n\t\"./Led Strip.svg\": 29769,\n\t\"./Light.svg\": 79504,\n\t\"./Lightings.svg\": 7179,\n\t\"./Lock.svg\": 27521,\n\t\"./Louvre.svg\": 44997,\n\t\"./Mowing Machine.svg\": 73098,\n\t\"./Music.svg\": 59077,\n\t\"./Outdoor Blinds.svg\": 196,\n\t\"./People.svg\": 46301,\n\t\"./Pool.svg\": 78702,\n\t\"./Power Consumption.svg\": 51142,\n\t\"./Printer.svg\": 38888,\n\t\"./Pump.svg\": 28250,\n\t\"./Receiver.svg\": 49347,\n\t\"./Sconces.svg\": 60932,\n\t\"./Security.svg\": 12422,\n\t\"./Shading.svg\": 74018,\n\t\"./Shutters.svg\": 9290,\n\t\"./SmokeDetector.svg\": 74781,\n\t\"./Sockets.svg\": 41766,\n\t\"./Speaker.svg\": 62263,\n\t\"./Stove.svg\": 42939,\n\t\"./Table Lamps.svg\": 31761,\n\t\"./Temperature Sensors.svg\": 2863,\n\t\"./Tv.svg\": 36150,\n\t\"./Vacuum Cleaner.svg\": 93483,\n\t\"./Ventilation.svg\": 65645,\n\t\"./Washing Machines.svg\": 68711,\n\t\"./Water Consumption.svg\": 76384,\n\t\"./Water Heater.svg\": 96132,\n\t\"./Water.svg\": 50697,\n\t\"./Weather.svg\": 90368,\n\t\"./Window.svg\": 32944,\n\t\"./list\": 27723,\n\t\"./list.json\": 27723,\n\t\"./names.txt\": 79662,\n\t\"./parseNames\": 76407,\n\t\"./parseNames.d.ts\": 93623,\n\t\"./parseNames.js\": 76407\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 58072;","var map = {\n\t\"./Anteroom.svg\": 26442,\n\t\"./Attic.svg\": 37956,\n\t\"./Balcony.svg\": 96573,\n\t\"./Barn.svg\": 70052,\n\t\"./Basement.svg\": 7940,\n\t\"./Bathroom.svg\": 41305,\n\t\"./Bedroom.svg\": 67485,\n\t\"./Boiler Room.svg\": 75681,\n\t\"./Carport.svg\": 63126,\n\t\"./Cellar.svg\": 52318,\n\t\"./Chamber.svg\": 63907,\n\t\"./Corridor.svg\": 59213,\n\t\"./Dining Area.svg\": 21427,\n\t\"./Dining Room.svg\": 86913,\n\t\"./Dining.svg\": 53920,\n\t\"./Dressing Room.svg\": 38929,\n\t\"./Driveway.svg\": 73458,\n\t\"./Entrance.svg\": 2793,\n\t\"./Equipment Room.svg\": 61150,\n\t\"./Front Yard.svg\": 8368,\n\t\"./Gallery.svg\": 95343,\n\t\"./Garage.svg\": 83364,\n\t\"./Garden.svg\": 21084,\n\t\"./Ground Floor.svg\": 82988,\n\t\"./Guest Bathroom.svg\": 67389,\n\t\"./Guest Room.svg\": 84570,\n\t\"./Gym.svg\": 37032,\n\t\"./Hall.svg\": 83862,\n\t\"./Home Theater.svg\": 30441,\n\t\"./Kitchen.svg\": 37765,\n\t\"./Laundry Room.svg\": 51955,\n\t\"./Living Area.svg\": 29283,\n\t\"./Living Room.svg\": 53201,\n\t\"./Locker Room.svg\": 38064,\n\t\"./Nursery.svg\": 8905,\n\t\"./Office.svg\": 24675,\n\t\"./Outdoors.svg\": 12340,\n\t\"./Playroom.svg\": 60476,\n\t\"./Pool.svg\": 68393,\n\t\"./Rear Wall.svg\": 49523,\n\t\"./Second Floor.svg\": 84161,\n\t\"./Shed.svg\": 45717,\n\t\"./Sleeping Area.svg\": 14795,\n\t\"./Stairway.svg\": 78303,\n\t\"./Stairwell.svg\": 8374,\n\t\"./Storeroom.svg\": 53127,\n\t\"./Summer House.svg\": 71320,\n\t\"./Swimming Pool.svg\": 59562,\n\t\"./Terrace.svg\": 13511,\n\t\"./Toilet.svg\": 28720,\n\t\"./Upstairs.svg\": 70418,\n\t\"./Wardrobe.svg\": 21191,\n\t\"./Washroom.svg\": 12503,\n\t\"./Wc.svg\": 52373,\n\t\"./Windscreen.svg\": 64657,\n\t\"./Workshop.svg\": 98820,\n\t\"./Workspace.svg\": 51610,\n\t\"./list\": 21558,\n\t\"./list.json\": 21558,\n\t\"./names.txt\": 1395,\n\t\"./parseNames\": 96862,\n\t\"./parseNames.d.ts\": 50410,\n\t\"./parseNames.js\": 96862\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 82581;"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","e","module"],"sourceRoot":""} \ No newline at end of file diff --git a/admin/custom/static/js/node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d.9fa5e55a.chunk.js b/admin/custom/static/js/node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d.9fa5e55a.chunk.js deleted file mode 100644 index 3138593d6..000000000 --- a/admin/custom/static/js/node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d.9fa5e55a.chunk.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict";(self.webpackChunkiobroker_admin_component_backitup=self.webpackChunkiobroker_admin_component_backitup||[]).push([["node_modules_mui_styles_index_js-node_modules_mui_utils_capitalize_capitalize_js-node_modules-280e7d","node_modules_mui_styles_index_js"],{69846:(m,t,e)=>{e.d(t,{A:()=>S});var s=e(58168),u=e(28437),i=e.n(u),n=e(95973),o=e.n(n),a=e(53768),f=e(87012),c=e(81995),l=e(64922);function h(y,p){return typeof p=="function"?p(y):(0,s.A)({},y,p)}function _(y){const{children:p,theme:A}=y,E=(0,f.A)(),g=u.useMemo(()=>{const b=E===null?A:h(E,A);return b!=null&&(b[c.A]=E!==null),b},[A,E]);return(0,l.jsx)(a.A.Provider,{value:g,children:p})}const S=_},81995:(m,t,e)=>{e.d(t,{A:()=>u});const u=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},53768:(m,t,e)=>{e.d(t,{A:()=>n});var s=e(28437),u=e.n(s);const n=s.createContext(null)},87012:(m,t,e)=>{e.d(t,{A:()=>n});var s=e(28437),u=e.n(s),i=e(53768);function n(){return s.useContext(i.A)}},92183:(m,t,e)=>{e.r(t),e.d(t,{ServerStyleSheets:()=>S,StylesContext:()=>h.si,StylesProvider:()=>h.Ay,ThemeProvider:()=>j.A,createGenerateClassName:()=>s.A,createStyles:()=>u,getThemeProps:()=>i.A,jssPreset:()=>n.A,makeStyles:()=>o.A,mergeClasses:()=>a.A,propsToClassKey:()=>N.A,sheetsManager:()=>h.Az,styled:()=>r,useTheme:()=>M.A,useThemeVariants:()=>X,withStyles:()=>G.A,withTheme:()=>H,withThemeCreator:()=>x});var s=e(16598);function u(O){return O}var i=e(19822),n=e(89864),o=e(41028),a=e(9504),f=e(58168),c=e(28437),l=e(25387),h=e(89070),_=e(64922);class S{constructor(T={}){this.options=T}collect(T){const v=new Map;this.sheetsRegistry=new l.SN;const P=(0,s.A)();return(0,_.jsx)(h.Ay,(0,f.A)({sheetsManager:v,serverGenerateClassName:P,sheetsRegistry:this.sheetsRegistry},this.options,{children:T}))}toString(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}getStyleElement(T){return c.createElement("style",(0,f.A)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},T))}}var y=e(98587),p=e(74984),A=e(95973),E=e(1880),g=e.n(E);const b=["name"],d=["children","className","clone","component"];function D(O,T){const v={};return Object.keys(O).forEach(P=>{T.indexOf(P)===-1&&(v[P]=O[P])}),v}function r(O){return(v,P={})=>{const{name:C}=P,K=(0,y.A)(P,b);let R=C;const $=typeof v=="function"?z=>({root:L=>v((0,f.A)({theme:z},L))}):{root:v},w=(0,o.A)($,(0,f.A)({Component:O,name:C||O.displayName,classNamePrefix:R},K));let U,Y={};v.filterProps&&(U=v.filterProps,delete v.filterProps),v.propTypes&&(Y=v.propTypes,delete v.propTypes);const F=c.forwardRef(function(L,Q){const{children:I,className:J,clone:Z,component:k}=L,q=(0,y.A)(L,d),ee=w(L),B=(0,p.A)(ee.root,J);let W=q;if(U&&(W=D(W,U)),Z)return c.cloneElement(I,(0,f.A)({className:(0,p.A)(I.props.className,B)},W));if(typeof I=="function")return I((0,f.A)({className:B},W));const te=k||O;return(0,_.jsx)(te,(0,f.A)({ref:Q,className:B},W,{children:I}))});return g()(F,O),F}}var j=e(69846),M=e(31994),N=e(18698);const X=(O,T)=>{const{classes:v={}}=O,P=(0,M.A)();let C="";return P&&P.components&&P.components[T]&&P.components[T].variants&&P.components[T].variants.forEach(R=>{let $=!0;Object.keys(R.props).forEach(w=>{O[w]!==R.props[w]&&($=!1)}),$&&(C=`${C}${v[(0,N.A)(R.props)]} `)}),C};var G=e(2212);function x(O={}){const{defaultTheme:T}=O;return P=>{const C=c.forwardRef(function(R,$){const w=(0,M.A)()||T;return(0,_.jsx)(P,(0,f.A)({theme:w,ref:$},R))});return g()(C,P),C}}const H=x();/** - * @mui/styles v5.14.14 - * - * @license MIT - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */},62917:(m,t,e)=>{e.d(t,{A:()=>u});var s=e(22571);function u(i){if(typeof i!="string")throw new Error((0,s.A)(7));return i.charAt(0).toUpperCase()+i.slice(1)}},53107:(m,t,e)=>{e.d(t,{A:()=>n,Q:()=>u});var s=e(58168);function u(o){if(typeof o!="object"||o===null)return!1;const a=Object.getPrototypeOf(o);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)}function i(o){if(!u(o))return o;const a={};return Object.keys(o).forEach(f=>{a[f]=i(o[f])}),a}function n(o,a,f={clone:!0}){const c=f.clone?(0,s.A)({},o):o;return u(o)&&u(a)&&Object.keys(a).forEach(l=>{l!=="__proto__"&&(u(a[l])&&l in o&&u(o[l])?c[l]=n(o[l],a[l],f):f.clone?c[l]=u(a[l])?i(a[l]):a[l]:c[l]=a[l])}),c}},22571:(m,t,e)=>{e.d(t,{A:()=>s});function s(u){let i="https://mui.com/production-error/?code="+u;for(let n=1;n{var s=e(41178),u={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[s.ForwardRef]=n,a[s.Memo]=o;function f(A){return s.isMemo(A)?o:a[A.$$typeof]||u}var c=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,_=Object.getOwnPropertyDescriptor,S=Object.getPrototypeOf,y=Object.prototype;function p(A,E,g){if(typeof E!="string"){if(y){var b=S(E);b&&b!==y&&p(A,b,g)}var d=l(E);h&&(d=d.concat(h(E)));for(var D=f(A),r=f(E),j=0;j{/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var e=typeof Symbol=="function"&&Symbol.for,s=e?Symbol.for("react.element"):60103,u=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,_=e?Symbol.for("react.suspense"):60113,S=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function d(r){if(typeof r=="object"&&r!==null){var j=r.$$typeof;switch(j){case s:switch(r=r.type,r){case c:case l:case i:case o:case n:case _:return r;default:switch(r=r&&r.$$typeof,r){case f:case h:case p:case y:case a:return r;default:return j}}case u:return j}}}function D(r){return d(r)===l}t.AsyncMode=c,t.ConcurrentMode=l,t.ContextConsumer=f,t.ContextProvider=a,t.Element=s,t.ForwardRef=h,t.Fragment=i,t.Lazy=p,t.Memo=y,t.Portal=u,t.Profiler=o,t.StrictMode=n,t.Suspense=_,t.isAsyncMode=function(r){return D(r)||d(r)===c},t.isConcurrentMode=D,t.isContextConsumer=function(r){return d(r)===f},t.isContextProvider=function(r){return d(r)===a},t.isElement=function(r){return typeof r=="object"&&r!==null&&r.$$typeof===s},t.isForwardRef=function(r){return d(r)===h},t.isFragment=function(r){return d(r)===i},t.isLazy=function(r){return d(r)===p},t.isMemo=function(r){return d(r)===y},t.isPortal=function(r){return d(r)===u},t.isProfiler=function(r){return d(r)===o},t.isStrictMode=function(r){return d(r)===n},t.isSuspense=function(r){return d(r)===_},t.isValidElementType=function(r){return typeof r=="string"||typeof r=="function"||r===i||r===l||r===o||r===n||r===_||r===S||typeof r=="object"&&r!==null&&(r.$$typeof===p||r.$$typeof===y||r.$$typeof===a||r.$$typeof===f||r.$$typeof===h||r.$$typeof===E||r.$$typeof===g||r.$$typeof===b||r.$$typeof===A)},t.typeOf=d},41178:(m,t,e)=>{m.exports=e(32950)},13394:(m,t,e)=>{/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var s=e(28437),u=Symbol.for("react.element"),i=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function f(c,l,h){var _,S={},y=null,p=null;h!==void 0&&(y=""+h),l.key!==void 0&&(y=""+l.key),l.ref!==void 0&&(p=l.ref);for(_ in l)n.call(l,_)&&!a.hasOwnProperty(_)&&(S[_]=l[_]);if(c&&c.defaultProps)for(_ in l=c.defaultProps,l)S[_]===void 0&&(S[_]=l[_]);return{$$typeof:u,type:c,key:y,ref:p,props:S,_owner:o.current}}t.Fragment=i,t.jsx=f,t.jsxs=f},64922:(m,t,e)=>{m.exports=e(13394)},9417:(m,t,e)=>{e.d(t,{A:()=>s});function s(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}},58168:(m,t,e)=>{e.d(t,{A:()=>s});function s(){return s=Object.assign?Object.assign.bind():function(u){for(var i=1;i{e.d(t,{A:()=>u});var s=e(63662);function u(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,(0,s.A)(i,n)}},98587:(m,t,e)=>{e.d(t,{A:()=>s});function s(u,i){if(u==null)return{};var n={},o=Object.keys(u),a,f;for(f=0;f=0)&&(n[a]=u[a]);return n}},63662:(m,t,e)=>{e.d(t,{A:()=>s});function s(u,i){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,a){return o.__proto__=a,o},s(u,i)}},20816:(m,t,e)=>{e.d(t,{A:()=>i});var s=e(82284);function u(n,o){if((0,s.A)(n)!="object"||!n)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var f=a.call(n,o||"default");if((0,s.A)(f)!="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(n)}function i(n){var o=u(n,"string");return(0,s.A)(o)=="symbol"?o:o+""}},82284:(m,t,e)=>{e.d(t,{A:()=>s});function s(u){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},s(u)}},74984:(m,t,e)=>{e.d(t,{A:()=>i});function s(n){var o,a,f="";if(typeof n=="string"||typeof n=="number")f+=n;else if(typeof n=="object")if(Array.isArray(n)){var c=n.length;for(o=0;o ({})} />'].join('\\n'));\n }\n }\n return mergedTheme;\n }\n return _extends({}, outerTheme, localTheme);\n}\n\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme\n } = props;\n const outerTheme = useTheme();\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const theme = React.useMemo(() => {\n const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/_jsx(ThemeContext.Provider, {\n value: theme,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;","import * as React from 'react';\nimport ThemeContext from './ThemeContext';\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme;\n}","export default function createStyles(styles) {\n return styles;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { SheetsRegistry } from 'jss';\nimport StylesProvider from '../StylesProvider';\nimport createGenerateClassName from '../createGenerateClassName';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default class ServerStyleSheets {\n constructor(options = {}) {\n this.options = options;\n }\n collect(children) {\n // This is needed in order to deduplicate the injection of CSS in the page.\n const sheetsManager = new Map();\n // This is needed in order to inject the critical CSS.\n this.sheetsRegistry = new SheetsRegistry();\n // A new class name generator\n const generateClassName = createGenerateClassName();\n return /*#__PURE__*/_jsx(StylesProvider, _extends({\n sheetsManager: sheetsManager,\n serverGenerateClassName: generateClassName,\n sheetsRegistry: this.sheetsRegistry\n }, this.options, {\n children: children\n }));\n }\n toString() {\n return this.sheetsRegistry ? this.sheetsRegistry.toString() : '';\n }\n getStyleElement(props) {\n return /*#__PURE__*/React.createElement('style', _extends({\n id: 'jss-server-side',\n key: 'jss-server-side',\n dangerouslySetInnerHTML: {\n __html: this.toString()\n }\n }, props));\n }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"name\"],\n _excluded2 = [\"children\", \"className\", \"clone\", \"component\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes, getDisplayName } from '@mui/utils';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport makeStyles from '../makeStyles';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction omit(input, fields) {\n const output = {};\n Object.keys(input).forEach(prop => {\n if (fields.indexOf(prop) === -1) {\n output[prop] = input[prop];\n }\n });\n return output;\n}\n\n// styled-components's API removes the mapping between components and styles.\n// Using components as a low-level styling construct can be simpler.\nexport default function styled(Component) {\n const componentCreator = (style, options = {}) => {\n const {\n name\n } = options,\n stylesOptions = _objectWithoutPropertiesLoose(options, _excluded);\n if (process.env.NODE_ENV !== 'production' && Component === undefined) {\n throw new Error(['You are calling styled(Component)(style) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n let classNamePrefix = name;\n if (process.env.NODE_ENV !== 'production') {\n if (!name) {\n // Provide a better DX outside production.\n const displayName = getDisplayName(Component);\n if (displayName !== undefined) {\n classNamePrefix = displayName;\n }\n }\n }\n const stylesOrCreator = typeof style === 'function' ? theme => ({\n root: props => style(_extends({\n theme\n }, props))\n }) : {\n root: style\n };\n const useStyles = makeStyles(stylesOrCreator, _extends({\n Component,\n name: name || Component.displayName,\n classNamePrefix\n }, stylesOptions));\n let filterProps;\n let propTypes = {};\n if (style.filterProps) {\n filterProps = style.filterProps;\n delete style.filterProps;\n }\n\n /* eslint-disable react/forbid-foreign-prop-types */\n if (style.propTypes) {\n propTypes = style.propTypes;\n delete style.propTypes;\n }\n /* eslint-enable react/forbid-foreign-prop-types */\n\n const StyledComponent = /*#__PURE__*/React.forwardRef(function StyledComponent(props, ref) {\n const {\n children,\n className: classNameProp,\n clone,\n component: ComponentProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded2);\n const classes = useStyles(props);\n const className = clsx(classes.root, classNameProp);\n let spread = other;\n if (filterProps) {\n spread = omit(spread, filterProps);\n }\n if (clone) {\n return /*#__PURE__*/React.cloneElement(children, _extends({\n className: clsx(children.props.className, className)\n }, spread));\n }\n if (typeof children === 'function') {\n return children(_extends({\n className\n }, spread));\n }\n const FinalComponent = ComponentProp || Component;\n return /*#__PURE__*/_jsx(FinalComponent, _extends({\n ref: ref,\n className: className\n }, spread, {\n children: children\n }));\n });\n process.env.NODE_ENV !== \"production\" ? StyledComponent.propTypes = _extends({\n /**\n * A render function or node.\n */\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the component will recycle it's children HTML element.\n * It's using `React.cloneElement` internally.\n *\n * This prop will be deprecated and removed in v5\n */\n clone: chainPropTypes(PropTypes.bool, props => {\n if (props.clone && props.component) {\n return new Error('You can not use the clone and component prop at the same time.');\n }\n return null;\n }),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes /* @typescript-to-proptypes-ignore */.elementType\n }, propTypes) : void 0;\n if (process.env.NODE_ENV !== 'production') {\n StyledComponent.displayName = `Styled(${classNamePrefix})`;\n }\n hoistNonReactStatics(StyledComponent, Component);\n return StyledComponent;\n };\n return componentCreator;\n}","import useTheme from '../useTheme';\nimport propsToClassKey from '../propsToClassKey';\nconst useThemeVariants = (props, name) => {\n const {\n classes = {}\n } = props;\n const theme = useTheme();\n let variantsClasses = '';\n if (theme && theme.components && theme.components[name] && theme.components[name].variants) {\n const themeVariants = theme.components[name].variants;\n themeVariants.forEach(themeVariant => {\n let isMatch = true;\n Object.keys(themeVariant.props).forEach(key => {\n if (props[key] !== themeVariant.props[key]) {\n isMatch = false;\n }\n });\n if (isMatch) {\n variantsClasses = `${variantsClasses}${classes[propsToClassKey(themeVariant.props)]} `;\n }\n });\n }\n return variantsClasses;\n};\nexport default useThemeVariants;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport { getDisplayName } from '@mui/utils';\nimport useTheme from '../useTheme';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function withThemeCreator(options = {}) {\n const {\n defaultTheme\n } = options;\n const withTheme = Component => {\n if (process.env.NODE_ENV !== 'production') {\n if (Component === undefined) {\n throw new Error(['You are calling withTheme(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n }\n const WithTheme = /*#__PURE__*/React.forwardRef(function WithTheme(props, ref) {\n const theme = useTheme() || defaultTheme;\n return /*#__PURE__*/_jsx(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n });\n if (process.env.NODE_ENV !== 'production') {\n WithTheme.displayName = `WithTheme(${getDisplayName(Component)})`;\n }\n hoistNonReactStatics(WithTheme, Component);\n if (process.env.NODE_ENV !== 'production') {\n // Exposed for test purposes.\n WithTheme.Naked = Component;\n }\n return WithTheme;\n };\n return withTheme;\n}\n\n// Provide the theme object as a prop to the input component.\n// It's an alternative API to useTheme().\n// We encourage the usage of useTheme() where possible.\nconst withTheme = withThemeCreator();\nexport default withTheme;","/**\n * @mui/styles v5.14.14\n *\n * @license MIT\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/* eslint-disable import/export */\nimport { ponyfillGlobal } from '@mui/utils';\n\n/* Warning if there are several instances of @mui/styles */\nif (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {\n ponyfillGlobal['__@mui/styles-init__'] = ponyfillGlobal['__@mui/styles-init__'] || 0;\n if (ponyfillGlobal['__@mui/styles-init__'] === 1) {\n console.warn(['It looks like there are several instances of `@mui/styles` initialized in this application.', 'This may cause theme propagation issues, broken class names, ' + 'specificity issues, and makes your application bigger without a good reason.', '', 'See https://mui.com/r/styles-instance-warning for more info.'].join('\\n'));\n }\n ponyfillGlobal['__@mui/styles-init__'] += 1;\n}\nexport { default as createGenerateClassName } from './createGenerateClassName';\nexport * from './createGenerateClassName';\nexport { default as createStyles } from './createStyles';\nexport * from './createStyles';\nexport { default as getThemeProps } from './getThemeProps';\nexport * from './getThemeProps';\nexport { default as jssPreset } from './jssPreset';\nexport * from './jssPreset';\nexport { default as makeStyles } from './makeStyles';\nexport * from './makeStyles';\nexport { default as mergeClasses } from './mergeClasses';\nexport * from './mergeClasses';\nexport { default as ServerStyleSheets } from './ServerStyleSheets';\nexport * from './ServerStyleSheets';\nexport { default as styled } from './styled';\nexport * from './styled';\nexport { default as StylesProvider } from './StylesProvider';\nexport * from './StylesProvider';\nexport { default as ThemeProvider } from './ThemeProvider';\nexport * from './ThemeProvider';\nexport { default as useTheme } from './useTheme';\nexport * from './useTheme';\nexport { default as useThemeVariants } from './useThemeVariants';\nexport * from './useThemeVariants';\nexport { default as propsToClassKey } from './propsToClassKey';\nexport * from './propsToClassKey';\nexport { default as withStyles } from './withStyles';\nexport * from './withStyles';\nexport { default as withTheme } from './withTheme';\nexport * from './withTheme';","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (typeof string !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`capitalize(string)\\` expects a string argument.` : _formatMuiErrorMessage(7));\n }\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js\nexport function isPlainObject(item) {\n if (typeof item !== 'object' || item === null) {\n return false;\n }\n const prototype = Object.getPrototypeOf(item);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);\n}\nfunction deepClone(source) {\n if (!isPlainObject(source)) {\n return source;\n }\n const output = {};\n Object.keys(source).forEach(key => {\n output[key] = deepClone(source[key]);\n });\n return output;\n}\nexport default function deepmerge(target, source, options = {\n clone: true\n}) {\n const output = options.clone ? _extends({}, target) : target;\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(key => {\n // Avoid prototype pollution\n if (key === '__proto__') {\n return;\n }\n if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {\n // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.\n output[key] = deepmerge(target[key], source[key], options);\n } else if (options.clone) {\n output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];\n } else {\n output[key] = source[key];\n }\n });\n }\n return output;\n}","/**\n * WARNING: Don't import this directly.\n * Use `MuiError` from `@mui/internal-babel-macros/MuiError.macro` instead.\n * @param {number} code\n */\nexport default function formatMuiErrorMessage(code) {\n // Apply babel-plugin-transform-template-literals in loose mode\n // loose mode is safe if we're concatenating primitives\n // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose\n /* eslint-disable prefer-template */\n let url = 'https://mui.com/production-error/?code=' + code;\n for (let i = 1; i < arguments.length; i += 1) {\n // rest params over-transpile for this case\n // eslint-disable-next-line prefer-rest-params\n url += '&args[]=' + encodeURIComponent(arguments[i]);\n }\n return 'Minified MUI error #' + code + '; visit ' + url + ' for the full message.';\n /* eslint-enable prefer-template */\n}","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t{e.d(t,{A:()=>S});var s=e(58168),a=e(28437),f=e.n(a),n=e(95973),o=e.n(n),i=e(53768),u=e(87012),c=e(81995),l=e(64922);function h(p,y){return typeof y=="function"?y(p):(0,s.A)({},p,y)}function _(p){const{children:y,theme:A}=p,E=(0,u.A)(),M=a.useMemo(()=>{const b=E===null?A:h(E,A);return b!=null&&(b[c.A]=E!==null),b},[A,E]);return(0,l.jsx)(i.A.Provider,{value:M,children:y})}const S=_},81995:(m,t,e)=>{e.d(t,{A:()=>a});const a=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},53768:(m,t,e)=>{e.d(t,{A:()=>n});var s=e(28437),a=e.n(s);const n=s.createContext(null)},87012:(m,t,e)=>{e.d(t,{A:()=>n});var s=e(28437),a=e.n(s),f=e(53768);function n(){return s.useContext(f.A)}},92183:(m,t,e)=>{e.r(t),e.d(t,{ServerStyleSheets:()=>S,StylesContext:()=>h.si,StylesProvider:()=>h.Ay,ThemeProvider:()=>j.A,createGenerateClassName:()=>s.A,createStyles:()=>a,getThemeProps:()=>f.A,jssPreset:()=>n.A,makeStyles:()=>o.A,mergeClasses:()=>i.A,propsToClassKey:()=>N.A,sheetsManager:()=>h.Az,styled:()=>r,useTheme:()=>g.A,useThemeVariants:()=>X,withStyles:()=>G.A,withTheme:()=>H,withThemeCreator:()=>x});var s=e(16598);function a(O){return O}var f=e(19822),n=e(89864),o=e(41028),i=e(9504),u=e(58168),c=e(28437),l=e(25387),h=e(89070),_=e(64922);class S{constructor(T={}){this.options=T}collect(T){const v=new Map;this.sheetsRegistry=new l.SN;const P=(0,s.A)();return(0,_.jsx)(h.Ay,(0,u.A)({sheetsManager:v,serverGenerateClassName:P,sheetsRegistry:this.sheetsRegistry},this.options,{children:T}))}toString(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}getStyleElement(T){return c.createElement("style",(0,u.A)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},T))}}var p=e(98587),y=e(74984),A=e(95973),E=e(1880),M=e.n(E);const b=["name"],d=["children","className","clone","component"];function D(O,T){const v={};return Object.keys(O).forEach(P=>{T.indexOf(P)===-1&&(v[P]=O[P])}),v}function r(O){return(v,P={})=>{const{name:C}=P,U=(0,p.A)(P,b);let R=C;const $=typeof v=="function"?z=>({root:L=>v((0,u.A)({theme:z},L))}):{root:v},w=(0,o.A)($,(0,u.A)({Component:O,name:C||O.displayName,classNamePrefix:R},U));let K,Y={};v.filterProps&&(K=v.filterProps,delete v.filterProps),v.propTypes&&(Y=v.propTypes,delete v.propTypes);const F=c.forwardRef(function(L,Q){const{children:I,className:J,clone:Z,component:k}=L,q=(0,p.A)(L,d),ee=w(L),B=(0,y.A)(ee.root,J);let W=q;if(K&&(W=D(W,K)),Z)return c.cloneElement(I,(0,u.A)({className:(0,y.A)(I.props.className,B)},W));if(typeof I=="function")return I((0,u.A)({className:B},W));const te=k||O;return(0,_.jsx)(te,(0,u.A)({ref:Q,className:B},W,{children:I}))});return M()(F,O),F}}var j=e(69846),g=e(31994),N=e(18698);const X=(O,T)=>{const{classes:v={}}=O,P=(0,g.A)();let C="";return P&&P.components&&P.components[T]&&P.components[T].variants&&P.components[T].variants.forEach(R=>{let $=!0;Object.keys(R.props).forEach(w=>{O[w]!==R.props[w]&&($=!1)}),$&&(C=`${C}${v[(0,N.A)(R.props)]} `)}),C};var G=e(2212);function x(O={}){const{defaultTheme:T}=O;return P=>{const C=c.forwardRef(function(R,$){const w=(0,g.A)()||T;return(0,_.jsx)(P,(0,u.A)({theme:w,ref:$},R))});return M()(C,P),C}}const H=x();/** + * @mui/styles v5.14.14 + * + * @license MIT + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */},62917:(m,t,e)=>{e.d(t,{A:()=>a});var s=e(22571);function a(f){if(typeof f!="string")throw new Error((0,s.A)(7));return f.charAt(0).toUpperCase()+f.slice(1)}},53107:(m,t,e)=>{e.d(t,{A:()=>n,Q:()=>a});var s=e(58168);function a(o){if(typeof o!="object"||o===null)return!1;const i=Object.getPrototypeOf(o);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)}function f(o){if(!a(o))return o;const i={};return Object.keys(o).forEach(u=>{i[u]=f(o[u])}),i}function n(o,i,u={clone:!0}){const c=u.clone?(0,s.A)({},o):o;return a(o)&&a(i)&&Object.keys(i).forEach(l=>{l!=="__proto__"&&(a(i[l])&&l in o&&a(o[l])?c[l]=n(o[l],i[l],u):u.clone?c[l]=a(i[l])?f(i[l]):i[l]:c[l]=i[l])}),c}},22571:(m,t,e)=>{e.d(t,{A:()=>s});function s(a){let f="https://mui.com/production-error/?code="+a;for(let n=1;n{var s=e(41178),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},f={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[s.ForwardRef]=n,i[s.Memo]=o;function u(A){return s.isMemo(A)?o:i[A.$$typeof]||a}var c=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,_=Object.getOwnPropertyDescriptor,S=Object.getPrototypeOf,p=Object.prototype;function y(A,E,M){if(typeof E!="string"){if(p){var b=S(E);b&&b!==p&&y(A,b,M)}var d=l(E);h&&(d=d.concat(h(E)));for(var D=u(A),r=u(E),j=0;j{/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var e=typeof Symbol=="function"&&Symbol.for,s=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,f=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,_=e?Symbol.for("react.suspense"):60113,S=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,M=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function d(r){if(typeof r=="object"&&r!==null){var j=r.$$typeof;switch(j){case s:switch(r=r.type,r){case c:case l:case f:case o:case n:case _:return r;default:switch(r=r&&r.$$typeof,r){case u:case h:case y:case p:case i:return r;default:return j}}case a:return j}}}function D(r){return d(r)===l}t.AsyncMode=c,t.ConcurrentMode=l,t.ContextConsumer=u,t.ContextProvider=i,t.Element=s,t.ForwardRef=h,t.Fragment=f,t.Lazy=y,t.Memo=p,t.Portal=a,t.Profiler=o,t.StrictMode=n,t.Suspense=_,t.isAsyncMode=function(r){return D(r)||d(r)===c},t.isConcurrentMode=D,t.isContextConsumer=function(r){return d(r)===u},t.isContextProvider=function(r){return d(r)===i},t.isElement=function(r){return typeof r=="object"&&r!==null&&r.$$typeof===s},t.isForwardRef=function(r){return d(r)===h},t.isFragment=function(r){return d(r)===f},t.isLazy=function(r){return d(r)===y},t.isMemo=function(r){return d(r)===p},t.isPortal=function(r){return d(r)===a},t.isProfiler=function(r){return d(r)===o},t.isStrictMode=function(r){return d(r)===n},t.isSuspense=function(r){return d(r)===_},t.isValidElementType=function(r){return typeof r=="string"||typeof r=="function"||r===f||r===l||r===o||r===n||r===_||r===S||typeof r=="object"&&r!==null&&(r.$$typeof===y||r.$$typeof===p||r.$$typeof===i||r.$$typeof===u||r.$$typeof===h||r.$$typeof===E||r.$$typeof===M||r.$$typeof===b||r.$$typeof===A)},t.typeOf=d},41178:(m,t,e)=>{m.exports=e(32950)},13394:(m,t,e)=>{/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var s=e(28437),a=Symbol.for("react.element"),f=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function u(c,l,h){var _,S={},p=null,y=null;h!==void 0&&(p=""+h),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(y=l.ref);for(_ in l)n.call(l,_)&&!i.hasOwnProperty(_)&&(S[_]=l[_]);if(c&&c.defaultProps)for(_ in l=c.defaultProps,l)S[_]===void 0&&(S[_]=l[_]);return{$$typeof:a,type:c,key:p,ref:y,props:S,_owner:o.current}}t.Fragment=f,t.jsx=u,t.jsxs=u},64922:(m,t,e)=>{m.exports=e(13394)},9417:(m,t,e)=>{e.d(t,{A:()=>s});function s(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}},58168:(m,t,e)=>{e.d(t,{A:()=>s});function s(){return s=Object.assign?Object.assign.bind():function(a){for(var f=1;f{e.d(t,{A:()=>a});var s=e(63662);function a(f,n){f.prototype=Object.create(n.prototype),f.prototype.constructor=f,(0,s.A)(f,n)}},98587:(m,t,e)=>{e.d(t,{A:()=>s});function s(a,f){if(a==null)return{};var n={};for(var o in a)if(Object.prototype.hasOwnProperty.call(a,o)){if(f.indexOf(o)>=0)continue;n[o]=a[o]}return n}},63662:(m,t,e)=>{e.d(t,{A:()=>s});function s(a,f){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},s(a,f)}},20816:(m,t,e)=>{e.d(t,{A:()=>f});var s=e(82284);function a(n,o){if((0,s.A)(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,o||"default");if((0,s.A)(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(n)}function f(n){var o=a(n,"string");return(0,s.A)(o)=="symbol"?o:o+""}},82284:(m,t,e)=>{e.d(t,{A:()=>s});function s(a){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},s(a)}},74984:(m,t,e)=>{e.d(t,{A:()=>f});function s(n){var o,i,u="";if(typeof n=="string"||typeof n=="number")u+=n;else if(typeof n=="object")if(Array.isArray(n)){var c=n.length;for(o=0;o ({})} />'].join('\\n'));\n }\n }\n return mergedTheme;\n }\n return _extends({}, outerTheme, localTheme);\n}\n\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme\n } = props;\n const outerTheme = useTheme();\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const theme = React.useMemo(() => {\n const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/_jsx(ThemeContext.Provider, {\n value: theme,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;","import * as React from 'react';\nimport ThemeContext from './ThemeContext';\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme;\n}","export default function createStyles(styles) {\n return styles;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { SheetsRegistry } from 'jss';\nimport StylesProvider from '../StylesProvider';\nimport createGenerateClassName from '../createGenerateClassName';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default class ServerStyleSheets {\n constructor(options = {}) {\n this.options = options;\n }\n collect(children) {\n // This is needed in order to deduplicate the injection of CSS in the page.\n const sheetsManager = new Map();\n // This is needed in order to inject the critical CSS.\n this.sheetsRegistry = new SheetsRegistry();\n // A new class name generator\n const generateClassName = createGenerateClassName();\n return /*#__PURE__*/_jsx(StylesProvider, _extends({\n sheetsManager: sheetsManager,\n serverGenerateClassName: generateClassName,\n sheetsRegistry: this.sheetsRegistry\n }, this.options, {\n children: children\n }));\n }\n toString() {\n return this.sheetsRegistry ? this.sheetsRegistry.toString() : '';\n }\n getStyleElement(props) {\n return /*#__PURE__*/React.createElement('style', _extends({\n id: 'jss-server-side',\n key: 'jss-server-side',\n dangerouslySetInnerHTML: {\n __html: this.toString()\n }\n }, props));\n }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"name\"],\n _excluded2 = [\"children\", \"className\", \"clone\", \"component\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes, getDisplayName } from '@mui/utils';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport makeStyles from '../makeStyles';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction omit(input, fields) {\n const output = {};\n Object.keys(input).forEach(prop => {\n if (fields.indexOf(prop) === -1) {\n output[prop] = input[prop];\n }\n });\n return output;\n}\n\n// styled-components's API removes the mapping between components and styles.\n// Using components as a low-level styling construct can be simpler.\nexport default function styled(Component) {\n const componentCreator = (style, options = {}) => {\n const {\n name\n } = options,\n stylesOptions = _objectWithoutPropertiesLoose(options, _excluded);\n if (process.env.NODE_ENV !== 'production' && Component === undefined) {\n throw new Error(['You are calling styled(Component)(style) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n let classNamePrefix = name;\n if (process.env.NODE_ENV !== 'production') {\n if (!name) {\n // Provide a better DX outside production.\n const displayName = getDisplayName(Component);\n if (displayName !== undefined) {\n classNamePrefix = displayName;\n }\n }\n }\n const stylesOrCreator = typeof style === 'function' ? theme => ({\n root: props => style(_extends({\n theme\n }, props))\n }) : {\n root: style\n };\n const useStyles = makeStyles(stylesOrCreator, _extends({\n Component,\n name: name || Component.displayName,\n classNamePrefix\n }, stylesOptions));\n let filterProps;\n let propTypes = {};\n if (style.filterProps) {\n filterProps = style.filterProps;\n delete style.filterProps;\n }\n\n /* eslint-disable react/forbid-foreign-prop-types */\n if (style.propTypes) {\n propTypes = style.propTypes;\n delete style.propTypes;\n }\n /* eslint-enable react/forbid-foreign-prop-types */\n\n const StyledComponent = /*#__PURE__*/React.forwardRef(function StyledComponent(props, ref) {\n const {\n children,\n className: classNameProp,\n clone,\n component: ComponentProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded2);\n const classes = useStyles(props);\n const className = clsx(classes.root, classNameProp);\n let spread = other;\n if (filterProps) {\n spread = omit(spread, filterProps);\n }\n if (clone) {\n return /*#__PURE__*/React.cloneElement(children, _extends({\n className: clsx(children.props.className, className)\n }, spread));\n }\n if (typeof children === 'function') {\n return children(_extends({\n className\n }, spread));\n }\n const FinalComponent = ComponentProp || Component;\n return /*#__PURE__*/_jsx(FinalComponent, _extends({\n ref: ref,\n className: className\n }, spread, {\n children: children\n }));\n });\n process.env.NODE_ENV !== \"production\" ? StyledComponent.propTypes = _extends({\n /**\n * A render function or node.\n */\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the component will recycle it's children HTML element.\n * It's using `React.cloneElement` internally.\n *\n * This prop will be deprecated and removed in v5\n */\n clone: chainPropTypes(PropTypes.bool, props => {\n if (props.clone && props.component) {\n return new Error('You can not use the clone and component prop at the same time.');\n }\n return null;\n }),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes /* @typescript-to-proptypes-ignore */.elementType\n }, propTypes) : void 0;\n if (process.env.NODE_ENV !== 'production') {\n StyledComponent.displayName = `Styled(${classNamePrefix})`;\n }\n hoistNonReactStatics(StyledComponent, Component);\n return StyledComponent;\n };\n return componentCreator;\n}","import useTheme from '../useTheme';\nimport propsToClassKey from '../propsToClassKey';\nconst useThemeVariants = (props, name) => {\n const {\n classes = {}\n } = props;\n const theme = useTheme();\n let variantsClasses = '';\n if (theme && theme.components && theme.components[name] && theme.components[name].variants) {\n const themeVariants = theme.components[name].variants;\n themeVariants.forEach(themeVariant => {\n let isMatch = true;\n Object.keys(themeVariant.props).forEach(key => {\n if (props[key] !== themeVariant.props[key]) {\n isMatch = false;\n }\n });\n if (isMatch) {\n variantsClasses = `${variantsClasses}${classes[propsToClassKey(themeVariant.props)]} `;\n }\n });\n }\n return variantsClasses;\n};\nexport default useThemeVariants;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport { getDisplayName } from '@mui/utils';\nimport useTheme from '../useTheme';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function withThemeCreator(options = {}) {\n const {\n defaultTheme\n } = options;\n const withTheme = Component => {\n if (process.env.NODE_ENV !== 'production') {\n if (Component === undefined) {\n throw new Error(['You are calling withTheme(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n }\n const WithTheme = /*#__PURE__*/React.forwardRef(function WithTheme(props, ref) {\n const theme = useTheme() || defaultTheme;\n return /*#__PURE__*/_jsx(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n });\n if (process.env.NODE_ENV !== 'production') {\n WithTheme.displayName = `WithTheme(${getDisplayName(Component)})`;\n }\n hoistNonReactStatics(WithTheme, Component);\n if (process.env.NODE_ENV !== 'production') {\n // Exposed for test purposes.\n WithTheme.Naked = Component;\n }\n return WithTheme;\n };\n return withTheme;\n}\n\n// Provide the theme object as a prop to the input component.\n// It's an alternative API to useTheme().\n// We encourage the usage of useTheme() where possible.\nconst withTheme = withThemeCreator();\nexport default withTheme;","/**\n * @mui/styles v5.14.14\n *\n * @license MIT\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/* eslint-disable import/export */\nimport { ponyfillGlobal } from '@mui/utils';\n\n/* Warning if there are several instances of @mui/styles */\nif (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {\n ponyfillGlobal['__@mui/styles-init__'] = ponyfillGlobal['__@mui/styles-init__'] || 0;\n if (ponyfillGlobal['__@mui/styles-init__'] === 1) {\n console.warn(['It looks like there are several instances of `@mui/styles` initialized in this application.', 'This may cause theme propagation issues, broken class names, ' + 'specificity issues, and makes your application bigger without a good reason.', '', 'See https://mui.com/r/styles-instance-warning for more info.'].join('\\n'));\n }\n ponyfillGlobal['__@mui/styles-init__'] += 1;\n}\nexport { default as createGenerateClassName } from './createGenerateClassName';\nexport * from './createGenerateClassName';\nexport { default as createStyles } from './createStyles';\nexport * from './createStyles';\nexport { default as getThemeProps } from './getThemeProps';\nexport * from './getThemeProps';\nexport { default as jssPreset } from './jssPreset';\nexport * from './jssPreset';\nexport { default as makeStyles } from './makeStyles';\nexport * from './makeStyles';\nexport { default as mergeClasses } from './mergeClasses';\nexport * from './mergeClasses';\nexport { default as ServerStyleSheets } from './ServerStyleSheets';\nexport * from './ServerStyleSheets';\nexport { default as styled } from './styled';\nexport * from './styled';\nexport { default as StylesProvider } from './StylesProvider';\nexport * from './StylesProvider';\nexport { default as ThemeProvider } from './ThemeProvider';\nexport * from './ThemeProvider';\nexport { default as useTheme } from './useTheme';\nexport * from './useTheme';\nexport { default as useThemeVariants } from './useThemeVariants';\nexport * from './useThemeVariants';\nexport { default as propsToClassKey } from './propsToClassKey';\nexport * from './propsToClassKey';\nexport { default as withStyles } from './withStyles';\nexport * from './withStyles';\nexport { default as withTheme } from './withTheme';\nexport * from './withTheme';","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (typeof string !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`capitalize(string)\\` expects a string argument.` : _formatMuiErrorMessage(7));\n }\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js\nexport function isPlainObject(item) {\n if (typeof item !== 'object' || item === null) {\n return false;\n }\n const prototype = Object.getPrototypeOf(item);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);\n}\nfunction deepClone(source) {\n if (!isPlainObject(source)) {\n return source;\n }\n const output = {};\n Object.keys(source).forEach(key => {\n output[key] = deepClone(source[key]);\n });\n return output;\n}\nexport default function deepmerge(target, source, options = {\n clone: true\n}) {\n const output = options.clone ? _extends({}, target) : target;\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(key => {\n // Avoid prototype pollution\n if (key === '__proto__') {\n return;\n }\n if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {\n // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.\n output[key] = deepmerge(target[key], source[key], options);\n } else if (options.clone) {\n output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];\n } else {\n output[key] = source[key];\n }\n });\n }\n return output;\n}","/**\n * WARNING: Don't import this directly.\n * Use `MuiError` from `@mui/internal-babel-macros/MuiError.macro` instead.\n * @param {number} code\n */\nexport default function formatMuiErrorMessage(code) {\n // Apply babel-plugin-transform-template-literals in loose mode\n // loose mode is safe if we're concatenating primitives\n // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose\n /* eslint-disable prefer-template */\n let url = 'https://mui.com/production-error/?code=' + code;\n for (let i = 1; i < arguments.length; i += 1) {\n // rest params over-transpile for this case\n // eslint-disable-next-line prefer-rest-params\n url += '&args[]=' + encodeURIComponent(arguments[i]);\n }\n return 'Minified MUI error #' + code + '; visit ' + url + ' for the full message.';\n /* eslint-enable prefer-template */\n}","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t{/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var y=Symbol.for("react.element"),A=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),L=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),E=Symbol.iterator;function H(e){return e===null||typeof e!="object"?null:(e=E&&e[E]||e["@@iterator"],typeof e=="function"?e:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,C={};function p(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||R}p.prototype.isReactComponent={},p.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function j(){}j.prototype=p.prototype;function m(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||R}var v=m.prototype=new j;v.constructor=m,$(v,p.prototype),v.isPureReactComponent=!0;var O=Array.isArray,g=Object.prototype.hasOwnProperty,k={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,r){var o,u={},i=null,l=null;if(t!=null)for(o in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)g.call(t,o)&&!P.hasOwnProperty(o)&&(u[o]=t[o]);var f=arguments.length-2;if(f===1)u.children=r;else if(1{w.exports=y(55677)}}]); + +//# sourceMappingURL=node_modules_react_index_js.ca0c923d.chunk.js.map \ No newline at end of file diff --git a/admin/custom/static/js/node_modules_react_index_js.ca0c923d.chunk.js.map b/admin/custom/static/js/node_modules_react_index_js.ca0c923d.chunk.js.map new file mode 100644 index 000000000..c83acfc31 --- /dev/null +++ b/admin/custom/static/js/node_modules_react_index_js.ca0c923d.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/node_modules_react_index_js.ca0c923d.chunk.js","mappings":"8KAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASa,IAAIA,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,cAAc,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,SAAS,SAASC,EAAEC,EAAE,CAAC,OAAUA,IAAP,MAAqB,OAAOA,GAAlB,SAA2B,MAAKA,EAAEF,GAAGE,EAAEF,CAAC,GAAGE,EAAE,YAAY,EAAqB,OAAOA,GAApB,WAAsBA,EAAE,KAAI,CAC1e,IAAIC,EAAE,CAAC,UAAU,UAAU,CAAC,MAAM,EAAE,EAAE,mBAAmB,UAAU,CAAC,EAAE,oBAAoB,UAAU,CAAC,EAAE,gBAAgB,UAAU,CAAC,CAAC,EAAEC,EAAE,OAAO,OAAOC,EAAE,CA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AASlC,EAAEK,EAAEC,EAAE,CAAC,OAAOwB,EAAE,QAAQ,qBAAqB9B,EAAEK,EAAEC,CAAC,CAAC,EAAE4B,EAAQ,cAAc,UAAU,CAAC,OAAOJ,EAAE,QAAQ,cAAc,CAAC,EAAEI,EAAQ,QAAQ,Q,kBCtBlaC,EAAO,QAAU,EAAjB,M","sources":["../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js"],"sourcesContent":["/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1{/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var y=Symbol.for("react.element"),V=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),F=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),N=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),E=Symbol.iterator;function B(e){return e===null||typeof e!="object"?null:(e=E&&e[E]||e["@@iterator"],typeof e=="function"?e:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,C={};function p(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||R}p.prototype.isReactComponent={},p.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function j(){}j.prototype=p.prototype;function m(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||R}var v=m.prototype=new j;v.constructor=m,$(v,p.prototype),v.isPureReactComponent=!0;var O=Array.isArray,g=Object.prototype.hasOwnProperty,k={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,r){var o,u={},c=null,l=null;if(t!=null)for(o in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(c=""+t.key),t)g.call(t,o)&&!P.hasOwnProperty(o)&&(u[o]=t[o]);var f=arguments.length-2;if(f===1)u.children=r;else if(1{w.exports=y(55677)}}]); - -//# sourceMappingURL=node_modules_react_index_js.e90c6dbd.chunk.js.map \ No newline at end of file diff --git a/admin/custom/static/js/node_modules_react_index_js.e90c6dbd.chunk.js.map b/admin/custom/static/js/node_modules_react_index_js.e90c6dbd.chunk.js.map deleted file mode 100644 index 250247787..000000000 --- a/admin/custom/static/js/node_modules_react_index_js.e90c6dbd.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/node_modules_react_index_js.e90c6dbd.chunk.js","mappings":"8KAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASa,IAAIA,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,cAAc,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,SAAS,SAASC,EAAEC,EAAE,CAAC,OAAUA,IAAP,MAAqB,OAAOA,GAAlB,SAA2B,MAAKA,EAAEF,GAAGE,EAAEF,CAAC,GAAGE,EAAE,YAAY,EAAqB,OAAOA,GAApB,WAAsBA,EAAE,KAAI,CAC1e,IAAIC,EAAE,CAAC,UAAU,UAAU,CAAC,MAAM,EAAE,EAAE,mBAAmB,UAAU,CAAC,EAAE,oBAAoB,UAAU,CAAC,EAAE,gBAAgB,UAAU,CAAC,CAAC,EAAEC,EAAE,OAAO,OAAOC,EAAE,CAAC,EAAE,SAASC,EAAEJ,EAAEK,EAAEC,EAAE,CAAC,KAAK,MAAMN,EAAE,KAAK,QAAQK,EAA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AC,OAAOH,EAAE,QAAQ,cAAc,CAAC,EAAEG,EAAQ,QAAQ,Q,kBCtBjFC,EAAO,QAAU,EAAjB,M","sources":["../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js"],"sourcesContent":["/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1{i.d(w,{A:()=>at});var C=i(28437),t=i.n(C),M=i(95973),u=i.n(M),b=i(36229),O=i(40467),f=i(58714),R=i(40805),a=i(67085),A=i(80076),D=i(15680),k=i(69551),F=i(47497),N=i(14660),P=i(53887),$=i(66382),H=i(50115),j=i(95024),B=i(26376),G=i(24092),z=i(5910),n=i(37449),U=i(90598),J=i(31976),W=i(20275),lt=i(12964),Z=i(37024),V=i(91071),K=i(18249),Q=Object.defineProperty,X=(r,e,s)=>e in r?Q(r,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[e]=s,T=(r,e,s)=>(X(r,typeof e!="symbol"?e+"":e,s),s);function Y(r){const e=(0,W.ko)();return r.addMap&&r.addMap(e),null}class q extends C.Component{constructor(e){super(e),T(this,"onMap",s=>{if(!this.map||this.map!==s){this.map=s;const d=[parseFloat(this.state.latitude!==void 0?this.state.latitude:50)||0,parseFloat(this.state.longitude!==void 0?this.state.longitude:10)||0],o=window.L.icon({iconUrl:Z,iconRetinaUrl:K,shadowUrl:V,iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]});this.marker=window.L.marker(d,{draggable:!0,title:"Resource location",alt:"Resource Location",riseOnHover:!0,icon:o}).addTo(s).bindPopup("Popup for any custom information.").on({dragend:c=>this.onMarkerDragend(c)})}}),T(this,"onMarkerDragend",s=>{if(this.props.readOnly){this.map.flyTo([this.state.latitude,this.state.longitude]),this.marker.setLatLng([this.state.latitude,this.state.longitude]);return}const d=JSON.parse(JSON.stringify(s.target._latlng));this.setState({latitude:d.lat,longitude:d.lng},()=>this.props.onChange(this.state.latitude,this.state.longitude))}),this.state={zoom:14,latitude:this.props.latitude,longitude:this.props.longitude,width:0,height:0},this.divRef=t().createRef(),this.marker=null}componentDidUpdate(){this.map&&this.marker&&(this.props.latitude!==this.state.latitude||this.props.longitude!==this.state.longitude)&&this.setState({latitude:this.props.latitude,longitude:this.props.longitude},()=>{this.latLongTimer&&clearTimeout(this.latLongTimer),this.latLongTimer=setTimeout(()=>{this.latLongTimer=null,this.map.flyTo([this.state.latitude,this.state.longitude]),this.marker.setLatLng([this.state.latitude,this.state.longitude])},500)}),this.divRef.current&&(this.state.width!==this.divRef.current.clientWidth||this.state.height!==this.divRef.current.clientHeight)&&setTimeout(()=>{this.setState({width:this.divRef.current.clientWidth,height:this.divRef.current.clientHeight})},100)}render(){const e=[parseFloat(this.props.latitude!==void 0?this.props.latitude:50)||0,parseFloat(this.props.longitude!==void 0?this.props.longitude:10)||0],{zoom:s}=this.state;return console.log(this.state.width,this.state.height),t().createElement("div",{style:{width:"100%",height:"100%",minHeight:350},ref:this.divRef},this.state.width&&this.state.height?t().createElement(U.W,{style:{width:"100%",height:"100%",minHeight:350,borderRadius:5},center:e,zoom:s,maxZoom:18,attributionControl:!1,zoomControl:!0,doubleClickZoom:!0,scrollWheelZoom:!0,dragging:!this.props.readOnly,animate:!0,easeLinearity:.35},t().createElement(J.e,{url:"http://{s}.tile.osm.org/{z}/{x}/{y}.png"}),t().createElement(Y,{addMap:d=>this.onMap(d)})):null)}}const _=q,dt={};var tt=Object.getPrototypeOf,et=Reflect.get,st=(r,e,s)=>et(tt(r),s,e),I=(r,e,s)=>new Promise((d,o)=>{var c=m=>{try{g(s.next(m))}catch(v){o(v)}},h=m=>{try{g(s.throw(m))}catch(v){o(v)}},g=m=>m.done?d(m.value):Promise.resolve(m.value).then(c,h);g((s=s.apply(r,e)).next())});const nt={en:A.A,fr:D.A,ru:k.A,de:F.A,es:N.A,br:P.A,nl:$.A,it:H.A,pt:j.A,pl:B.A,uk:G.A,"zh-cn":z.A},x=["useSystemGPS","latitude","longitude","sunriseEvent","sunriseOffset","sunriseLimitStart","sunriseLimitEnd","sunsetEvent","sunsetOffset","sunsetLimitStart","sunsetLimitEnd"];function E(r){if(!r)return new Date;const e=r.split(":");return new Date(2e3,0,1,parseInt(e[0],10),parseInt(e[1],10))}function S(r){return r?`${r.getHours().toString().padStart(2,"0")}:${r.getMinutes().toString().padStart(2,"0")}`:""}function L(r){const e=r.getHours().toString().padStart(2,"0"),s=r.getMinutes().toString().padStart(2,"0"),d=r.getSeconds().toString().padStart(2,"0");return`${e}:${s}:${d}`}class y extends n.ConfigGeneric{constructor(e){super(e),this.state.theme=(0,n.Theme)(this.props.themeName)}componentDidMount(){return I(this,null,function*(){st(y.prototype,this,"componentDidMount").call(this);const e={};x.forEach(s=>{e[s]=n.ConfigGeneric.getValue(this.props.data,s)}),e.sunsetOffset=e.sunsetOffset||0,e.sunriseOffset=e.sunriseOffset||0,e.sunriseLimitStart=E(e.sunriseLimitStart),e.sunriseLimitEnd=E(e.sunriseLimitEnd),e.sunsetLimitStart=E(e.sunsetLimitStart),e.sunsetLimitEnd=E(e.sunsetLimitEnd),e.useSystemGPS&&(e.latitude=this.props.systemConfig.latitude,e.longitude=this.props.systemConfig.longitude),e.ampm=this.props.systemConfig.dateFormat.includes("/"),this.setState(e,()=>this.onChange())})}renderMap(){return t().createElement(_,{longitude:this.state.longitude,latitude:this.state.latitude,readOnly:!!this.state.useSystemGPS,onChange:(e,s)=>this.setState({latitude:e,longitude:s})})}onChange(e,s){let d;typeof e=="object"?d=e:e!==void 0&&(d={[e]:s}),this.setState(d,()=>{const o={};x.forEach(h=>o[h]=this.state[h]),o.sunriseLimitStart=S(o.sunriseLimitStart),o.sunriseLimitEnd=S(o.sunriseLimitEnd),o.sunsetLimitStart=S(o.sunsetLimitStart),o.sunsetLimitEnd=S(o.sunsetLimitEnd),o.sunsetOffset=parseInt(o.sunsetOffset,10)||0,o.sunriseOffset=parseInt(o.sunriseOffset,10)||0,this.calculateRiseSet(o);const c=JSON.parse(JSON.stringify(this.props.data));x.forEach(h=>c[h]=o[h]),e!==void 0&&this.props.onChange(c)})}calculateRiseSet(e){this.props.alive&&this.lastCalc!==JSON.stringify(e)&&(this.lastCalc=JSON.stringify(e),this.calcTimeout&&clearTimeout(this.calcTimeout),this.calcTimeout=setTimeout(()=>I(this,null,function*(){this.calcTimeout=null;const s=yield this.props.socket.sendTo(`${this.props.adapterName}.${this.props.instance}`,"calcAstro",e);if(!s||s.error){console.error(`Cannot calculate astro times: ${JSON.stringify(s.error)}`);return}const d=L(new Date(s.nextSunrise.date)),o=L(new Date(s.nextSunset.date));this.setState({nextSunrise:d,nextSunset:o,nextSunriseServer:s.nextSunrise.serverTime,nextSunsetServer:s.nextSunset.serverTime})}),300))}renderItem(){const{useSystemGPS:e,latitude:s,longitude:d,sunriseEvent:o,sunriseOffset:c,sunriseLimitStart:h,sunriseLimitEnd:g,sunsetEvent:m,sunsetOffset:v,sunsetLimitStart:it,sunsetLimitEnd:rt}=this.state,p=window.innerWidth<800;return t().createElement("div",{style:{width:"100%",display:p?void 0:"flex",gap:10}},t().createElement("div",{style:{width:p?"100%":"calc(50% - 5px)",display:p?"block":"inline-block"}},t().createElement(O.$,{dateAdapter:b.h,adapterLocale:nt[n.I18n.getLanguage()]},t().createElement(R.A,{theme:this.state.theme},t().createElement(a.FormControlLabel,{style:{width:"calc(100% - 10px)"},control:t().createElement(a.Checkbox,{checked:!!e,onChange:l=>{l.target.checked?this.onChange({useSystemGPS:!0,latitude:this.props.systemConfig.latitude,longitude:this.props.systemConfig.longitude}):this.onChange({useSystemGPS:!1,latitude:s||this.props.systemConfig.latitude,longitude:d||this.props.systemConfig.longitude})}}),label:n.I18n.t("Use system settings")}),e?null:t().createElement(a.TextField,{variant:"standard",type:"text",style:{width:150,marginRight:10},label:n.I18n.t("Latitude \xB0"),value:(s||"").toString(),onChange:l=>this.onChange("latitude",l.target.value)}),e?null:t().createElement(a.TextField,{variant:"standard",style:{width:150},type:"text",label:n.I18n.t("Longitude \xB0"),value:(d||"").toString(),onChange:l=>this.onChange("longitude",l.target.value)}),e?null:t().createElement("div",{style:{width:"calc(100% - 10px)"}},n.I18n.t("Help")),t().createElement("h2",{style:{width:"calc(100% - 10px)",marginTop:20,backgroundColor:this.props.themeType==="dark"?"#333":"#ccc",color:this.props.themeType==="dark"?"#FFF":"#000",padding:"2px 8px",borderRadius:3}},n.I18n.t("Day time settings")),t().createElement("div",{style:{width:"calc(100% - 10px)",display:"flex",gap:8,flexWrap:"wrap",backgroundColor:this.props.themeType==="dark"?"#333":"#ccc",paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:0,borderRadius:"5px 5px 0 0"}},t().createElement(a.FormControl,{variant:"standard",style:{width:250}},t().createElement(a.InputLabel,{shrink:!0},n.I18n.t("Time event")),t().createElement(a.Select,{variant:"standard",value:o||"_",onChange:l=>this.onChange("sunriseEvent",l.target.value==="_"?"":l.target.value)},t().createElement(a.MenuItem,{value:"_"},n.I18n.t("none")),t().createElement(a.MenuItem,{value:"nightEnd"},n.I18n.t("sch_astro_nightEnd")),t().createElement(a.MenuItem,{value:"nauticalDawn"},n.I18n.t("sch_astro_nauticalDawn")),t().createElement(a.MenuItem,{value:"dawn"},n.I18n.t("sch_astro_dawn")),t().createElement(a.MenuItem,{value:"sunrise"},n.I18n.t("sch_astro_sunrise")),t().createElement(a.MenuItem,{value:"sunriseEnd"},n.I18n.t("sch_astro_sunriseEnd")),t().createElement(a.MenuItem,{value:"goldenHourEnd"},n.I18n.t("sch_astro_goldenHourEnd"))),t().createElement(a.FormHelperText,null,n.I18n.t("Used as start of the daytime"))),t().createElement(a.TextField,{style:{width:80},variant:"standard",disabled:!this.state.sunriseEvent,label:n.I18n.t("Offset"),value:c||0,helperText:n.I18n.t("in minutes"),onChange:l=>this.onChange("sunriseOffset",l.target.value)}),t().createElement(a.FormControl,{variant:"standard",style:{width:150}},t().createElement(a.InputLabel,{shrink:!0},n.I18n.t("But not earlier")),t().createElement(f.A,{className:`astroToolbarTime ${this.props.themeType}`,disabled:!this.state.sunriseEvent,ampm:!!this.state.ampm,views:["hours","minutes"],value:h||new Date(2e3,0,1,0,0),onChange:l=>this.onChange("sunriseLimitStart",new Date(l))})),t().createElement(a.FormControl,{variant:"standard",style:{width:150}},t().createElement(a.InputLabel,{shrink:!0},n.I18n.t("And not later")),t().createElement(f.A,{className:`astroToolbarTime ${this.props.themeType}`,disabled:!this.state.sunriseEvent,ampm:!!this.state.ampm,views:["hours","minutes"],value:g||new Date(2e3,0,1,0,0),onChange:l=>this.onChange("sunriseLimitEnd",new Date(l))}))),this.props.alive?t().createElement("div",{style:{backgroundColor:this.props.themeType==="dark"?"#333":"#ccc",width:"calc(100% - 10px)",paddingTop:20,paddingLeft:8,paddingRight:8,paddingBottom:8,borderRadius:"0 0 5px 5px"}},t().createElement("span",{style:{marginRight:8}},n.I18n.t("Next sunrise")),t().createElement("span",null,this.state.nextSunriseServer,this.state.nextSunrise!==this.state.nextSunriseServer?` ${n.I18n.t("Local time")}: ${this.state.nextSunrise}`:"")):null,t().createElement("div",{style:{width:"calc(100% - 10px)",display:"flex",gap:8,marginTop:30,flexWrap:"wrap",backgroundColor:this.props.themeType==="dark"?"#333":"#ccc",paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:0,borderRadius:"5px 5px 0 0"}},t().createElement(a.FormControl,{variant:"standard",style:{width:250}},t().createElement(a.InputLabel,{shrink:!0},n.I18n.t("Time event")),t().createElement(a.Select,{variant:"standard",value:m||"_",onChange:l=>this.onChange("sunsetEvent",l.target.value==="_"?"":l.target.value)},t().createElement(a.MenuItem,{value:"_"},n.I18n.t("none")),t().createElement(a.MenuItem,{value:"goldenHour"},n.I18n.t("sch_astro_goldenHour")),t().createElement(a.MenuItem,{value:"sunsetStart"},n.I18n.t("sch_astro_sunsetStart")),t().createElement(a.MenuItem,{value:"sunset"},n.I18n.t("sch_astro_sunset")),t().createElement(a.MenuItem,{value:"dusk"},n.I18n.t("sch_astro_dusk")),t().createElement(a.MenuItem,{value:"nauticalDusk"},n.I18n.t("sch_astro_nauticalDusk")),t().createElement(a.MenuItem,{value:"night"},n.I18n.t("sch_astro_night"))),t().createElement(a.FormHelperText,null,n.I18n.t("Used as end of the daytime"))),t().createElement(a.TextField,{style:{width:80},variant:"standard",disabled:!this.state.sunsetEvent,label:n.I18n.t("Offset"),value:v||0,helperText:n.I18n.t("in minutes"),onChange:l=>this.onChange("sunsetOffset",l.target.value)}),t().createElement(a.FormControl,{variant:"standard",style:{width:150}},t().createElement(a.InputLabel,{shrink:!0},n.I18n.t("But not earlier")),t().createElement(f.A,{className:`astroToolbarTime ${this.props.themeType}`,disabled:!this.state.sunsetEvent,ampm:!!this.state.ampm,views:["hours","minutes"],value:it||new Date(2e3,0,1,0,0),onChange:l=>this.onChange("sunsetLimitStart",new Date(l))})),t().createElement(a.FormControl,{variant:"standard",style:{width:150}},t().createElement(a.InputLabel,{shrink:!0},n.I18n.t("And not later")),t().createElement(f.A,{className:`astroToolbarTime ${this.props.themeType}`,disabled:!this.state.sunsetEvent,ampm:!!this.state.ampm,views:["hours","minutes"],value:rt||new Date(2e3,0,1,0,0),onChange:l=>this.onChange("sunsetLimitEnd",new Date(l))}))),this.props.alive?t().createElement("div",{style:{backgroundColor:this.props.themeType==="dark"?"#333":"#ccc",width:"calc(100% - 10px)",paddingTop:20,paddingLeft:8,paddingRight:8,paddingBottom:8,borderRadius:"0 0 5px 5px",marginBottom:p?20:0}},t().createElement("span",{style:{marginRight:8}},n.I18n.t("Next sunset")),t().createElement("span",null,this.state.nextSunsetServer,this.state.nextSunset!==this.state.nextSunsetServer?` ${n.I18n.t("Local time")}: ${this.state.nextSunset}`:"")):null))),t().createElement("div",{style:{width:p?"100%":"calc(50% - 5px)",display:p?"block":"inline-block",minHeight:350}},this.renderMap()))}}y.propTypes={socket:u().object.isRequired,themeType:u().string,themeName:u().string,style:u().object,className:u().string,data:u().object.isRequired,attr:u().string,schema:u().object,onError:u().func,onChange:u().func};const at=y}}]); + +//# sourceMappingURL=src_Astro_jsx.8ae1b92e.chunk.js.map \ No newline at end of file diff --git a/admin/custom/static/js/src_Astro_jsx.8ae1b92e.chunk.js.map b/admin/custom/static/js/src_Astro_jsx.8ae1b92e.chunk.js.map new file mode 100644 index 000000000..d0422ceb8 --- /dev/null +++ b/admin/custom/static/js/src_Astro_jsx.8ae1b92e.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/src_Astro_jsx.8ae1b92e.chunk.js","mappings":"gpBAUA,SAASA,EAAeC,EAAO,CAC3B,MAAMC,KAAM,MAAO,EACnB,OAAAD,EAAM,QAAUA,EAAM,OAAOC,CAAG,EACzB,IACX,CAEA,MAAMC,UAAY,WAAU,CACxB,YAAYF,EAAO,CACf,MAAMA,CAAK,EAYf,eAAQC,GAAO,CACX,GAAI,CAAC,KAAK,KAAO,KAAK,MAAQA,EAAK,CAC/B,KAAK,IAAMA,EACX,MAAME,EAAS,CACX,WAAW,KAAK,MAAM,WAAc,OAAY,KAAK,MAAM,SAAY,EAAE,GAAK,EAC9E,WAAW,KAAK,MAAM,YAAc,OAAY,KAAK,MAAM,UAAY,EAAE,GAAK,CAClF,EACMC,EAAa,OAAO,EAAE,KAAK,CAC7B,QAAS,EACT,cAAe,EACf,UAAW,EAEX,SAAa,CAAC,GAAI,EAAE,EACpB,WAAa,CAAC,GAAI,EAAE,EACpB,YAAa,CAAC,EAAG,GAAG,EACpB,cAAe,CAAC,GAAI,GAAG,EACvB,WAAa,CAAC,GAAI,EAAE,CACxB,CAAC,EAED,KAAK,OAAS,OAAO,EAAE,OACnBD,EACA,CACI,UAAW,GACX,MAAO,oBACP,IAAK,oBACL,YAAa,GACb,KAAMC,CACV,CACJ,EACK,MAAMH,CAAG,EACT,UAAU,mCAAmC,EAC7C,GAAG,CAAE,QAASI,GAAO,KAAK,gBAAgBA,CAAG,CAAE,CAAC,CACzD,CACJ,CAAC,EAuBD,yBAAkBA,GAAO,CACrB,GAAI,KAAK,MAAM,SAAU,CACrB,KAAK,IAAI,MAAM,CAAC,KAAK,MAAM,SAAU,KAAK,MAAM,SAAS,CAAC,EAC1D,KAAK,OAAO,UAAU,CAAC,KAAK,MAAM,SAAU,KAAK,MAAM,SA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M,YACtB,KAAM,CAAC,CAAC,KAAK,MAAM,KACnB,MAAO,CAAC,QAAS,SAAS,EAC1B,MAAON,IAAkB,IAAI,KAAK,IAAM,EAAG,EAAG,EAAG,CAAC,EAClD,SAAUf,GACN,KAAK,SAAS,iBAAkB,IAAI,KAAKA,CAAK,CAAC,EACvD,CACJ,CACJ,EACC,KAAK,MAAM,MAAQ,kBAAC,OACjB,MAAO,CACH,gBAAiB,KAAK,MAAM,YAAc,OAAS,OAAS,OAC5D,MAAO,oBACP,WAAY,GACZ,YAAa,EACb,aAAc,EACd,cAAe,EACf,aAAc,cACd,aAAcgB,EAAW,GAAK,CAClC,GAEA,kBAAC,QAAK,MAAO,CAAE,YAAa,CAAE,GAAI,OAAK,EAAE,aAAa,CAAE,EACxD,kBAAC,YACI,KAAK,MAAM,iBACX,KAAK,MAAM,aAAe,KAAK,MAAM,iBAAmB,IAAI,OAAK,EAAE,YAAY,CAAC,KAAK,KAAK,MAAM,UAAU,GAAK,EACpH,CACJ,EAAS,IACb,CACJ,CACJ,EACA,kBAAC,OACG,MAAO,CACH,MAAOA,EAAW,OAAS,kBAC3B,QAASA,EAAW,QAAU,eAC9B,UAAW,GACf,GAEC,KAAK,UAAU,CACpB,CACJ,CACJ,CACJ,CAEArB,EAAM,UAAY,CACd,OAAQ,WAAiB,WACzB,UAAW,WACX,UAAW,WACX,MAAO,WACP,UAAW,WACX,KAAM,WAAiB,WACvB,KAAM,WACN,OAAQ,WACR,QAAS,SACT,SAAU,QACd,EAEA,SAAeA,C","sources":["Components/Map.jsx","webpack://iobroker-admin-component-backitup/./src/index.css?449b","Astro.jsx"],"sourcesContent":["import React, { Component } from 'react';\nimport { MapContainer, TileLayer } from 'react-leaflet';\n// eslint-disable-next-line import/no-unresolved\nimport { useMap } from 'react-leaflet/hooks';\n// import { OpenStreetMapProvider } from 'leaflet-geosearch';\nimport 'leaflet/dist/leaflet.css';\nimport markerIcon from 'leaflet/dist/images/marker-icon.png';\nimport markerShadow from 'leaflet/dist/images/marker-shadow.png';\nimport markerRetinaIcon from 'leaflet/dist/images/marker-icon-2x.png';\n\nfunction MyMapComponent(props) {\n const map = useMap();\n props.addMap && props.addMap(map);\n return null;\n}\n\nclass Map extends Component {\n constructor(props) {\n super(props);\n this.state = {\n zoom: 14,\n latitude: this.props.latitude,\n longitude: this.props.longitude,\n width: 0,\n height: 0,\n };\n this.divRef = React.createRef();\n this.marker = null;\n }\n\n onMap = map => {\n if (!this.map || this.map !== map) {\n this.map = map;\n const center = [\n parseFloat(this.state.latitude !== undefined ? this.state.latitude : 50) || 0,\n parseFloat(this.state.longitude !== undefined ? this.state.longitude : 10) || 0,\n ];\n const customIcon = window.L.icon({\n iconUrl: markerIcon,\n iconRetinaUrl: markerRetinaIcon,\n shadowUrl: markerShadow,\n\n iconSize: [25, 41],\n iconAnchor: [12, 41],\n popupAnchor: [1, -34],\n tooltipAnchor: [16, -28],\n shadowSize: [41, 41],\n });\n\n this.marker = window.L.marker(\n center,\n {\n draggable: true,\n title: 'Resource location',\n alt: 'Resource Location',\n riseOnHover: true,\n icon: customIcon,\n },\n )\n .addTo(map)\n .bindPopup('Popup for any custom information.')\n .on({ dragend: evt => this.onMarkerDragend(evt) });\n }\n };\n\n componentDidUpdate() {\n if (this.map && this.marker &&\n (this.props.latitude !== this.state.latitude || this.props.longitude !== this.state.longitude)\n ) {\n this.setState({ latitude: this.props.latitude, longitude: this.props.longitude }, () => {\n this.latLongTimer && clearTimeout(this.latLongTimer);\n this.latLongTimer = setTimeout(() => {\n this.latLongTimer = null;\n this.map.flyTo([this.state.latitude, this.state.longitude]);\n this.marker.setLatLng([this.state.latitude, this.state.longitude]);\n }, 500);\n });\n }\n\n if (this.divRef.current && (this.state.width !== this.divRef.current.clientWidth || this.state.height !== this.divRef.current.clientHeight)) {\n setTimeout(() => {\n this.setState({ width: this.divRef.current.clientWidth, height: this.divRef.current.clientHeight });\n }, 100);\n }\n }\n\n onMarkerDragend = evt => {\n if (this.props.readOnly) {\n this.map.flyTo([this.state.latitude, this.state.longitude]);\n this.marker.setLatLng([this.state.latitude, this.state.longitude]);\n return;\n }\n const ll = JSON.parse(JSON.stringify(evt.target._latlng));\n this.setState({ latitude: ll.lat, longitude: ll.lng }, () =>\n this.props.onChange(this.state.latitude, this.state.longitude));\n };\n\n render() {\n const center = [\n parseFloat(this.props.latitude !== undefined ? this.props.latitude : 50) || 0,\n parseFloat(this.props.longitude !== undefined ? this.props.longitude : 10) || 0,\n ];\n const { zoom } = this.state;\n\n console.log(this.state.width, this.state.height);\n return
\n {this.state.width && this.state.height ? \n \n this.onMap(map)} />\n : null}\n
;\n }\n}\n\nexport default Map;\n","// extracted by mini-css-extract-plugin\nexport default {};","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';\nimport { LocalizationProvider, TimePicker } from '@mui/x-date-pickers';\nimport { ThemeProvider } from '@mui/material/styles';\n\nimport {\n FormControl, FormHelperText,\n MenuItem, Select, TextField,\n Checkbox, FormControlLabel, InputLabel,\n} from '@mui/material';\n\nimport {\n fr as frLocale,\n ru as ruLocale,\n enUS as enLocale,\n es as esLocale,\n pl as plLocale,\n pt as ptLocale,\n it as itLocale,\n zhCN as cnLocale,\n ptBR as brLocale,\n de as deLocale,\n uk as ukLocale,\n nl as nlLocale,\n} from 'date-fns/locale';\n\nimport { ConfigGeneric, I18n, Theme } from '@iobroker/adapter-react-v5';\n\nimport Map from './Components/Map';\nimport './index.css';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const localeMap = {\n en: enLocale,\n fr: frLocale,\n ru: ruLocale,\n de: deLocale,\n es: esLocale,\n br: brLocale,\n nl: nlLocale,\n it: itLocale,\n pt: ptLocale,\n pl: plLocale,\n uk: ukLocale,\n 'zh-cn': cnLocale,\n};\n\nconst ATTRIBUTES = [\n 'useSystemGPS',\n 'latitude',\n 'longitude',\n 'sunriseEvent',\n 'sunriseOffset',\n 'sunriseLimitStart',\n 'sunriseLimitEnd',\n 'sunsetEvent',\n 'sunsetOffset',\n 'sunsetLimitStart',\n 'sunsetLimitEnd',\n];\n\nfunction text2Date(text) {\n if (!text) {\n return new Date();\n }\n const parts = text.split(':');\n return new Date(2000, 0, 1, parseInt(parts[0], 10), parseInt(parts[1], 10));\n}\n\nfunction date2Text(date) {\n return date ? `${date.getHours().toString().padStart(2, '0')}:${date.getMinutes().toString().padStart(2, '0')}` : '';\n}\n\nfunction formatTime(date) {\n const h = date.getHours().toString().padStart(2, '0');\n const m = date.getMinutes().toString().padStart(2, '0');\n const s = date.getSeconds().toString().padStart(2, '0');\n\n return `${h}:${m}:${s}`;\n}\n\nclass Astro extends ConfigGeneric {\n constructor(props) {\n super(props);\n this.state.theme = Theme(this.props.themeName);\n }\n\n async componentDidMount() {\n super.componentDidMount();\n const newState = {};\n ATTRIBUTES.forEach(attr => {\n newState[attr] = ConfigGeneric.getValue(this.props.data, attr);\n });\n newState.sunsetOffset = newState.sunsetOffset || 0;\n newState.sunriseOffset = newState.sunriseOffset || 0;\n newState.sunriseLimitStart = text2Date(newState.sunriseLimitStart);\n newState.sunriseLimitEnd = text2Date(newState.sunriseLimitEnd);\n newState.sunsetLimitStart = text2Date(newState.sunsetLimitStart);\n newState.sunsetLimitEnd = text2Date(newState.sunsetLimitEnd);\n if (newState.useSystemGPS) {\n newState.latitude = this.props.systemConfig.latitude;\n newState.longitude = this.props.systemConfig.longitude;\n }\n\n newState.ampm = this.props.systemConfig.dateFormat.includes('/');\n\n this.setState(newState, () => this.onChange());\n }\n\n renderMap() {\n return this.setState({ latitude, longitude })}\n />;\n }\n\n onChange(attr, value) {\n let newState;\n if (typeof attr === 'object') {\n newState = attr;\n } else if (attr !== undefined) {\n newState = { [attr]: value };\n }\n this.setState(newState, () => {\n const data = {};\n ATTRIBUTES.forEach(_attr => data[_attr] = this.state[_attr]);\n data.sunriseLimitStart = date2Text(data.sunriseLimitStart);\n data.sunriseLimitEnd = date2Text(data.sunriseLimitEnd);\n data.sunsetLimitStart = date2Text(data.sunsetLimitStart);\n data.sunsetLimitEnd = date2Text(data.sunsetLimitEnd);\n data.sunsetOffset = parseInt(data.sunsetOffset, 10) || 0;\n data.sunriseOffset = parseInt(data.sunriseOffset, 10) || 0;\n\n this.calculateRiseSet(data);\n const allData = JSON.parse(JSON.stringify(this.props.data));\n ATTRIBUTES.forEach(_attr => allData[_attr] = data[_attr]);\n attr !== undefined && this.props.onChange(allData);\n });\n }\n\n calculateRiseSet(data) {\n if (this.props.alive && this.lastCalc !== JSON.stringify(data)) {\n this.lastCalc = JSON.stringify(data);\n this.calcTimeout && clearTimeout(this.calcTimeout);\n this.calcTimeout = setTimeout(async () => {\n this.calcTimeout = null;\n const times = await this.props.socket.sendTo(`${this.props.adapterName}.${this.props.instance}`, 'calcAstro', data);\n if (!times || times.error) {\n console.error(`Cannot calculate astro times: ${JSON.stringify(times.error)}`);\n return;\n }\n const nextSunrise = formatTime(new Date(times.nextSunrise.date));\n const nextSunset = formatTime(new Date(times.nextSunset.date));\n this.setState({\n nextSunrise,\n nextSunset,\n nextSunriseServer: times.nextSunrise.serverTime,\n nextSunsetServer: times.nextSunset.serverTime,\n });\n }, 300);\n }\n }\n\n renderItem() {\n const {\n useSystemGPS,\n latitude,\n longitude,\n sunriseEvent,\n sunriseOffset,\n sunriseLimitStart,\n sunriseLimitEnd,\n sunsetEvent,\n sunsetOffset,\n sunsetLimitStart,\n sunsetLimitEnd,\n } = this.state;\n\n const isMobile = window.innerWidth < 800;\n\n return
\n
\n \n \n {\n if (!e.target.checked) {\n this.onChange({\n useSystemGPS: false,\n latitude: latitude || this.props.systemConfig.latitude,\n longitude: longitude || this.props.systemConfig.longitude,\n });\n } else {\n this.onChange({\n useSystemGPS: true,\n latitude: this.props.systemConfig.latitude,\n longitude: this.props.systemConfig.longitude,\n });\n }\n }}\n />}\n label={I18n.t('Use system settings')}\n />\n {useSystemGPS ? null : this.onChange('latitude', e.target.value)}\n />}\n {useSystemGPS ? null : this.onChange('longitude', e.target.value)}\n />}\n {useSystemGPS ? null :
{I18n.t('Help')}
}\n \n {I18n.t('Day time settings')}\n \n \n \n {I18n.t('Time event')}\n \n this.onChange('sunriseEvent', e.target.value === '_' ? '' : e.target.value)}\n >\n {I18n.t('none')}\n {I18n.t('sch_astro_nightEnd')}\n {I18n.t('sch_astro_nauticalDawn')}\n {I18n.t('sch_astro_dawn')}\n {I18n.t('sch_astro_sunrise')}\n {I18n.t('sch_astro_sunriseEnd')}\n {I18n.t('sch_astro_goldenHourEnd')}\n \n {I18n.t('Used as start of the daytime')}\n \n this.onChange('sunriseOffset', e.target.value)}\n />\n \n {I18n.t('But not earlier')}\n \n this.onChange('sunriseLimitStart', new Date(value))}\n />\n \n \n {I18n.t('And not later')}\n \n this.onChange('sunriseLimitEnd', new Date(value))}\n />\n \n
\n {this.props.alive ? \n {I18n.t('Next sunrise')}\n \n {this.state.nextSunriseServer}\n {this.state.nextSunrise !== this.state.nextSunriseServer ? ` ${I18n.t('Local time')}: ${this.state.nextSunrise}` : ''}\n \n
: null}\n \n \n {I18n.t('Time event')}\n \n this.onChange('sunsetEvent', e.target.value === '_' ? '' : e.target.value)}\n >\n {I18n.t('none')}\n {I18n.t('sch_astro_goldenHour')}\n {I18n.t('sch_astro_sunsetStart')}\n {I18n.t('sch_astro_sunset')}\n {I18n.t('sch_astro_dusk')}\n {I18n.t('sch_astro_nauticalDusk')}\n {I18n.t('sch_astro_night')}\n \n {I18n.t('Used as end of the daytime')}\n \n this.onChange('sunsetOffset', e.target.value)}\n />\n \n {I18n.t('But not earlier')}\n \n this.onChange('sunsetLimitStart', new Date(value))}\n />\n \n \n {I18n.t('And not later')}\n \n this.onChange('sunsetLimitEnd', new Date(value))}\n />\n \n \n {this.props.alive ? \n {I18n.t('Next sunset')}\n \n {this.state.nextSunsetServer}\n {this.state.nextSunset !== this.state.nextSunsetServer ? ` ${I18n.t('Local time')}: ${this.state.nextSunset}` : ''}\n \n : null}\n
\n \n \n \n {this.renderMap()}\n \n ;\n }\n}\n\nAstro.propTypes = {\n socket: PropTypes.object.isRequired,\n themeType: PropTypes.string,\n themeName: PropTypes.string,\n style: PropTypes.object,\n className: PropTypes.string,\n data: PropTypes.object.isRequired,\n attr: PropTypes.string,\n schema: PropTypes.object,\n onError: PropTypes.func,\n onChange: PropTypes.func,\n};\n\nexport default Astro;\n"],"names":["MyMapComponent","props","map","Map","center","customIcon","evt","ll","zoom","MapContainer","TileLayer","localeMap","fr","ru","de","es","nl","it","pt","pl","uk","ATTRIBUTES","text2Date","text","parts","date2Text","date","formatTime","h","m","s","Astro","newState","attr","latitude","longitude","value","data","_attr","allData","times","nextSunrise","nextSunset","useSystemGPS","sunriseEvent","sunriseOffset","sunriseLimitStart","sunriseLimitEnd","sunsetEvent","sunsetOffset","sunsetLimitStart","sunsetLimitEnd","isMobile","LocalizationProvider","AdapterDateFns","ThemeProvider","e","TimePicker"],"sourceRoot":""} \ No newline at end of file diff --git a/admin/custom/static/js/vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f.556fd1d3.chunk.js b/admin/custom/static/js/vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f.556fd1d3.chunk.js new file mode 100644 index 000000000..891a8e4c6 --- /dev/null +++ b/admin/custom/static/js/vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f.556fd1d3.chunk.js @@ -0,0 +1,92 @@ +"use strict";var Ve=Math.pow;(self.webpackChunkiobroker_admin_component_backitup=self.webpackChunkiobroker_admin_component_backitup||[]).push([["vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f"],{10519:($,c,t)=>{t.d(c,{AH:()=>y,i7:()=>O,mL:()=>g});var s=t(58871),n=t(28437),e=t.n(n),M=t(5555),E=t(3673),C=t(10438),x=t(92661),F=t(1880),B=t.n(F),b={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},K=function(a,A){var i=arguments;if(A==null||!hasOwn.call(A,"css"))return React.createElement.apply(void 0,i);var v=i.length,L=new Array(v);L[0]=Emotion,L[1]=createEmotionProps(a,A);for(var R=2;R{t.d(c,{s:()=>y});var s=t(28437),n=t.n(s),e=t(95973),M=t.n(e),E=t(33769),C=t(41011),x=t(64922);const F=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function B(O){const p=parseInt(O.getAttribute("tabindex")||"",10);return Number.isNaN(p)?O.contentEditable==="true"||(O.nodeName==="AUDIO"||O.nodeName==="VIDEO"||O.nodeName==="DETAILS")&&O.getAttribute("tabindex")===null?0:O.tabIndex:p}function b(O){if(O.tagName!=="INPUT"||O.type!=="radio"||!O.name)return!1;const p=h=>O.ownerDocument.querySelector(`input[type="radio"]${h}`);let P=p(`[name="${O.name}"]:checked`);return P||(P=p(`[name="${O.name}"]`)),P!==O}function K(O){return!(O.disabled||O.tagName==="INPUT"&&O.type==="hidden"||b(O))}function T(O){const p=[],P=[];return Array.from(O.querySelectorAll(F)).forEach((h,m)=>{const l=B(h);l===-1||!K(h)||(l===0?p.push(h):P.push({documentOrder:m,tabIndex:l,node:h}))}),P.sort((h,m)=>h.tabIndex===m.tabIndex?h.documentOrder-m.documentOrder:h.tabIndex-m.tabIndex).map(h=>h.node).concat(p)}function g(){return!0}function y(O){const{children:p,disableAutoFocus:P=!1,disableEnforceFocus:h=!1,disableRestoreFocus:m=!1,getTabbable:l=T,isEnabled:r=g,open:d}=O,_=s.useRef(!1),o=s.useRef(null),a=s.useRef(null),A=s.useRef(null),i=s.useRef(null),v=s.useRef(!1),L=s.useRef(null),R=(0,E.A)(p.ref,L),I=s.useRef(null);s.useEffect(()=>{!d||!L.current||(v.current=!P)},[P,d]),s.useEffect(()=>{if(!d||!L.current)return;const U=(0,C.A)(L.current);return L.current.contains(U.activeElement)||(L.current.hasAttribute("tabIndex")||L.current.setAttribute("tabIndex","-1"),v.current&&L.current.focus()),()=>{m||(A.current&&A.current.focus&&(_.current=!0,A.current.focus()),A.current=null)}},[d]),s.useEffect(()=>{if(!d||!L.current)return;const U=(0,C.A)(L.current),W=G=>{I.current=G,!(h||!r()||G.key!=="Tab")&&U.activeElement===L.current&&G.shiftKey&&(_.current=!0,a.current&&a.current.focus())},V=()=>{const G=L.current;if(G===null)return;if(!U.hasFocus()||!r()||_.current){_.current=!1;return}if(G.contains(U.activeElement)||h&&U.activeElement!==o.current&&U.activeElement!==a.current)return;if(U.activeElement!==i.current)i.current=null;else if(i.current!==null)return;if(!v.current)return;let N=[];if((U.activeElement===o.current||U.activeElement===a.current)&&(N=l(L.current)),N.length>0){var Q,H;const w=!!((Q=I.current)!=null&&Q.shiftKey&&((H=I.current)==null?void 0:H.key)==="Tab"),nt=N[0],lt=N[N.length-1];typeof nt!="string"&&typeof lt!="string"&&(w?lt.focus():nt.focus())}else G.focus()};U.addEventListener("focusin",V),U.addEventListener("keydown",W,!0);const Y=setInterval(()=>{U.activeElement&&U.activeElement.tagName==="BODY"&&V()},50);return()=>{clearInterval(Y),U.removeEventListener("focusin",V),U.removeEventListener("keydown",W,!0)}},[P,h,m,r,d,l]);const j=U=>{A.current===null&&(A.current=U.relatedTarget),v.current=!0,i.current=U.target;const W=p.props.onFocus;W&&W(U)},S=U=>{A.current===null&&(A.current=U.relatedTarget),v.current=!0};return(0,x.jsxs)(s.Fragment,{children:[(0,x.jsx)("div",{tabIndex:d?0:-1,onFocus:S,ref:o,"data-testid":"sentinelStart"}),s.cloneElement(p,{ref:R,onFocus:j}),(0,x.jsx)("div",{tabIndex:d?0:-1,onFocus:S,ref:a,"data-testid":"sentinelEnd"})]})}},75415:($,c,t)=>{t.d(c,{Z:()=>T});var s=t(28437),n=t.n(s),e=t(23479),M=t.n(e),E=t(95973),C=t.n(E),x=t(33769),F=t(55791),B=t(83259),b=t(64922);function K(g){return typeof g=="function"?g():g}const T=s.forwardRef(function(y,O){const{children:p,container:P,disablePortal:h=!1}=y,[m,l]=s.useState(null),r=(0,x.A)(s.isValidElement(p)?p.ref:null,O);if((0,F.A)(()=>{h||l(K(P)||document.body)},[P,h]),(0,F.A)(()=>{if(m&&!h)return(0,B.A)(O,m),()=>{(0,B.A)(O,null)}},[O,m,h]),h){if(s.isValidElement(p)){const d={ref:r};return s.cloneElement(p,d)}return(0,b.jsx)(s.Fragment,{children:p})}return(0,b.jsx)(s.Fragment,{children:m&&e.createPortal(p,m)})})},21715:($,c,t)=>{t.d(c,{h:()=>h});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(23479),F=t.n(x),B=t(33769),b=t(81619),K=t(55791),T=t(97599),g=t(64922);const y=["onChange","maxRows","minRows","style","value"];function O(m){return parseInt(m,10)||0}const p={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function P(m){return m==null||Object.keys(m).length===0||m.outerHeightStyle===0&&!m.overflow}const h=e.forwardRef(function(l,r){const{onChange:d,maxRows:_,minRows:o=1,style:a,value:A}=l,i=(0,n.A)(l,y),{current:v}=e.useRef(A!=null),L=e.useRef(null),R=(0,B.A)(r,L),I=e.useRef(null),j=e.useRef(0),[S,U]=e.useState({outerHeightStyle:0}),W=e.useCallback(()=>{const N=L.current,H=(0,b.A)(N).getComputedStyle(N);if(H.width==="0px")return{outerHeightStyle:0};const w=I.current;w.style.width=H.width,w.value=N.value||l.placeholder||"x",w.value.slice(-1)===` +`&&(w.value+=" ");const nt=H.boxSizing,lt=O(H.paddingBottom)+O(H.paddingTop),tt=O(H.borderBottomWidth)+O(H.borderTopWidth),ut=w.scrollHeight;w.value="x";const Z=w.scrollHeight;let J=ut;o&&(J=Math.max(Number(o)*Z,J)),_&&(J=Math.min(Number(_)*Z,J)),J=Math.max(J,Z);const et=J+(nt==="border-box"?lt+tt:0),rt=Math.abs(J-ut)<=1;return{outerHeightStyle:et,overflow:rt}},[_,o,l.placeholder]),V=(N,Q)=>{const{outerHeightStyle:H,overflow:w}=Q;return j.current<20&&(H>0&&Math.abs((N.outerHeightStyle||0)-H)>1||N.overflow!==w)?(j.current+=1,{overflow:w,outerHeightStyle:H}):N},Y=e.useCallback(()=>{const N=W();P(N)||U(Q=>V(Q,N))},[W]);(0,K.A)(()=>{const N=()=>{const Z=W();P(Z)||x.flushSync(()=>{U(J=>V(J,Z))})},Q=()=>{j.current=0,N()};let H;const w=()=>{cancelAnimationFrame(H),H=requestAnimationFrame(()=>{Q()})},nt=(0,T.A)(Q),lt=L.current,tt=(0,b.A)(lt);tt.addEventListener("resize",nt);let ut;return typeof ResizeObserver!="undefined"&&(ut=new ResizeObserver(Q),ut.observe(lt)),()=>{nt.clear(),cancelAnimationFrame(H),tt.removeEventListener("resize",nt),ut&&ut.disconnect()}},[W]),(0,K.A)(()=>{Y()}),e.useEffect(()=>{j.current=0},[A]);const G=N=>{j.current=0,v||Y(),d&&d(N)};return(0,g.jsxs)(e.Fragment,{children:[(0,g.jsx)("textarea",(0,s.A)({value:A,onChange:G,ref:R,rows:o,style:(0,s.A)({height:S.outerHeightStyle,overflow:S.overflow?"hidden":void 0},a)},i)),(0,g.jsx)("textarea",{"aria-hidden":!0,className:l.className,readOnly:!0,ref:I,tabIndex:-1,style:(0,s.A)({},p.shadow,a,{paddingTop:0,paddingBottom:0})})]})})},38354:($,c,t)=>{t.d(c,{M:()=>E,P:()=>T});var s=t(41011),n=t(81619),e=t(40451);function M(g){const y=(0,s.A)(g);return y.body===g?(0,n.A)(g).innerWidth>y.documentElement.clientWidth:g.scrollHeight>g.clientHeight}function E(g,y){y?g.setAttribute("aria-hidden","true"):g.removeAttribute("aria-hidden")}function C(g){return parseInt((0,n.A)(g).getComputedStyle(g).paddingRight,10)||0}function x(g){const O=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(g.tagName)!==-1,p=g.tagName==="INPUT"&&g.getAttribute("type")==="hidden";return O||p}function F(g,y,O,p,P){const h=[y,O,...p];[].forEach.call(g.children,m=>{const l=h.indexOf(m)===-1,r=!x(m);l&&r&&E(m,P)})}function B(g,y){let O=-1;return g.some((p,P)=>y(p)?(O=P,!0):!1),O}function b(g,y){const O=[],p=g.container;if(!y.disableScrollLock){if(M(p)){const m=(0,e.A)((0,s.A)(p));O.push({value:p.style.paddingRight,property:"padding-right",el:p}),p.style.paddingRight=`${C(p)+m}px`;const l=(0,s.A)(p).querySelectorAll(".mui-fixed");[].forEach.call(l,r=>{O.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${C(r)+m}px`})}let h;if(p.parentNode instanceof DocumentFragment)h=(0,s.A)(p).body;else{const m=p.parentElement,l=(0,n.A)(p);h=(m==null?void 0:m.nodeName)==="HTML"&&l.getComputedStyle(m).overflowY==="scroll"?m:p}O.push({value:h.style.overflow,property:"overflow",el:h},{value:h.style.overflowX,property:"overflow-x",el:h},{value:h.style.overflowY,property:"overflow-y",el:h}),h.style.overflow="hidden"}return()=>{O.forEach(({value:h,el:m,property:l})=>{h?m.style.setProperty(l,h):m.style.removeProperty(l)})}}function K(g){const y=[];return[].forEach.call(g.children,O=>{O.getAttribute("aria-hidden")==="true"&&y.push(O)}),y}class T{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(y,O){let p=this.modals.indexOf(y);if(p!==-1)return p;p=this.modals.length,this.modals.push(y),y.modalRef&&E(y.modalRef,!1);const P=K(O);F(O,y.mount,y.modalRef,P,!0);const h=B(this.containers,m=>m.container===O);return h!==-1?(this.containers[h].modals.push(y),p):(this.containers.push({modals:[y],container:O,restore:null,hiddenSiblings:P}),p)}mount(y,O){const p=B(this.containers,h=>h.modals.indexOf(y)!==-1),P=this.containers[p];P.restore||(P.restore=b(P,O))}remove(y,O=!0){const p=this.modals.indexOf(y);if(p===-1)return p;const P=B(this.containers,m=>m.modals.indexOf(y)!==-1),h=this.containers[P];if(h.modals.splice(h.modals.indexOf(y),1),this.modals.splice(p,1),h.modals.length===0)h.restore&&h.restore(),y.modalRef&&E(y.modalRef,O),F(h.container,y.mount,y.modalRef,h.hiddenSiblings,!1),this.containers.splice(P,1);else{const m=h.modals[h.modals.length-1];m.modalRef&&E(m.modalRef,!1)}return p}isTopModal(y){return this.modals.length>0&&this.modals[this.modals.length-1]===y}}},88546:($,c,t)=>{t.d(c,{X:()=>e});var s=t(58168),n=t(61809);function e(M,E,C){return M===void 0||(0,n.g)(M)?E:(0,s.A)({},E,{ownerState:(0,s.A)({},E.ownerState,C)})}},12924:($,c,t)=>{t.d(c,{h:()=>s});function s(n,e=[]){if(n===void 0)return{};const M={};return Object.keys(n).filter(E=>E.match(/^on[A-Z]/)&&typeof n[E]=="function"&&!e.includes(E)).forEach(E=>{M[E]=n[E]}),M}},61809:($,c,t)=>{t.d(c,{g:()=>s});function s(n){return typeof n=="string"}},67388:($,c,t)=>{t.d(c,{Q:()=>K});var s=t(58168),n=t(98587),e=t(33769),M=t(88546),E=t(74984),C=t(12924);function x(T){if(T===void 0)return{};const g={};return Object.keys(T).filter(y=>!(y.match(/^on[A-Z]/)&&typeof T[y]=="function")).forEach(y=>{g[y]=T[y]}),g}function F(T){const{getSlotProps:g,additionalProps:y,externalSlotProps:O,externalForwardedProps:p,className:P}=T;if(!g){const a=(0,E.A)(p==null?void 0:p.className,O==null?void 0:O.className,P,y==null?void 0:y.className),A=(0,s.A)({},y==null?void 0:y.style,p==null?void 0:p.style,O==null?void 0:O.style),i=(0,s.A)({},y,p,O);return a.length>0&&(i.className=a),Object.keys(A).length>0&&(i.style=A),{props:i,internalRef:void 0}}const h=(0,C.h)((0,s.A)({},p,O)),m=x(O),l=x(p),r=g(h),d=(0,E.A)(r==null?void 0:r.className,y==null?void 0:y.className,P,p==null?void 0:p.className,O==null?void 0:O.className),_=(0,s.A)({},r==null?void 0:r.style,y==null?void 0:y.style,p==null?void 0:p.style,O==null?void 0:O.style),o=(0,s.A)({},r,y,l,m);return d.length>0&&(o.className=d),Object.keys(_).length>0&&(o.style=_),{props:o,internalRef:r.ref}}function B(T,g,y){return typeof T=="function"?T(g,y):T}const b=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function K(T){var g;const{elementType:y,externalSlotProps:O,ownerState:p,skipResolvingSlotProps:P=!1}=T,h=(0,n.A)(T,b),m=P?{}:B(O,p),{props:l,internalRef:r}=F((0,s.A)({},h,{externalSlotProps:m})),d=(0,e.A)(r,m==null?void 0:m.ref,(g=T.additionalProps)==null?void 0:g.ref);return(0,M.X)(y,(0,s.A)({},l,{ref:d}),p)}},51739:($,c,t)=>{t.d(c,{A:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(67987),T=t(26447),g=t(64922);const y=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],O=m=>{const{classes:l,invisible:r}=m,d={root:["root",r&&"invisible"]};return(0,F.A)(d,T.R,l)},p=(0,B.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(m,l)=>{const{ownerState:r}=m;return[l.root,r.invisible&&l.invisible]}})(({ownerState:m})=>(0,n.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},m.invisible&&{backgroundColor:"transparent"})),h=e.forwardRef(function(l,r){var d,_,o;const a=(0,b.A)({props:l,name:"MuiBackdrop"}),{children:A,className:i,component:v="div",components:L={},componentsProps:R={},invisible:I=!1,open:j,slotProps:S={},slots:U={},TransitionComponent:W=K.A,transitionDuration:V}=a,Y=(0,s.A)(a,y),G=(0,n.A)({},a,{component:v,invisible:I}),N=O(G),Q=(d=S.root)!=null?d:R.root;return(0,g.jsx)(W,(0,n.A)({in:j,timeout:V},Y,{children:(0,g.jsx)(p,(0,n.A)({"aria-hidden":!0},Q,{as:(_=(o=U.root)!=null?o:L.Root)!=null?_:v,className:(0,x.A)(N.root,i,Q==null?void 0:Q.className),ownerState:(0,n.A)({},G,Q==null?void 0:Q.ownerState),classes:N,ref:r,children:A}))}))})},26447:($,c,t)=>{t.d(c,{A:()=>E,R:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiBackdrop",C)}const E=(0,s.A)("MuiBackdrop",["root","invisible"])},12811:($,c,t)=>{t.d(c,{A:()=>A});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(11289),B=t(86249),b=t(42118),K=t(46186),T=t(48399),g=t(64571),y=t(10016),O=t(87263),p=t(84774),P=t(48454),h=t(64922);const m=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],l=i=>{const{color:v,disableElevation:L,fullWidth:R,size:I,variant:j,classes:S}=i,U={root:["root",j,`${j}${(0,y.A)(v)}`,`size${(0,y.A)(I)}`,`${j}Size${(0,y.A)(I)}`,v==="inherit"&&"colorInherit",L&&"disableElevation",R&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,y.A)(I)}`],endIcon:["endIcon",`iconSize${(0,y.A)(I)}`]},W=(0,B.A)(U,O.B,S);return(0,n.A)({},S,W)},r=i=>(0,n.A)({},i.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},i.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},i.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),d=(0,K.Ay)(g.A,{shouldForwardProp:i=>(0,K.ep)(i)||i==="classes",name:"MuiButton",slot:"Root",overridesResolver:(i,v)=>{const{ownerState:L}=i;return[v.root,v[L.variant],v[`${L.variant}${(0,y.A)(L.color)}`],v[`size${(0,y.A)(L.size)}`],v[`${L.variant}Size${(0,y.A)(L.size)}`],L.color==="inherit"&&v.colorInherit,L.disableElevation&&v.disableElevation,L.fullWidth&&v.fullWidth]}})(({theme:i,ownerState:v})=>{var L,R;const I=i.palette.mode==="light"?i.palette.grey[300]:i.palette.grey[800],j=i.palette.mode==="light"?i.palette.grey.A100:i.palette.grey[700];return(0,n.A)({},i.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(i.vars||i).shape.borderRadius,transition:i.transitions.create(["background-color","box-shadow","border-color","color"],{duration:i.transitions.duration.short}),"&:hover":(0,n.A)({textDecoration:"none",backgroundColor:i.vars?`rgba(${i.vars.palette.text.primaryChannel} / ${i.vars.palette.action.hoverOpacity})`:(0,b.X4)(i.palette.text.primary,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},v.variant==="text"&&v.color!=="inherit"&&{backgroundColor:i.vars?`rgba(${i.vars.palette[v.color].mainChannel} / ${i.vars.palette.action.hoverOpacity})`:(0,b.X4)(i.palette[v.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},v.variant==="outlined"&&v.color!=="inherit"&&{border:`1px solid ${(i.vars||i).palette[v.color].main}`,backgroundColor:i.vars?`rgba(${i.vars.palette[v.color].mainChannel} / ${i.vars.palette.action.hoverOpacity})`:(0,b.X4)(i.palette[v.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},v.variant==="contained"&&{backgroundColor:i.vars?i.vars.palette.Button.inheritContainedHoverBg:j,boxShadow:(i.vars||i).shadows[4],"@media (hover: none)":{boxShadow:(i.vars||i).shadows[2],backgroundColor:(i.vars||i).palette.grey[300]}},v.variant==="contained"&&v.color!=="inherit"&&{backgroundColor:(i.vars||i).palette[v.color].dark,"@media (hover: none)":{backgroundColor:(i.vars||i).palette[v.color].main}}),"&:active":(0,n.A)({},v.variant==="contained"&&{boxShadow:(i.vars||i).shadows[8]}),[`&.${O.A.focusVisible}`]:(0,n.A)({},v.variant==="contained"&&{boxShadow:(i.vars||i).shadows[6]}),[`&.${O.A.disabled}`]:(0,n.A)({color:(i.vars||i).palette.action.disabled},v.variant==="outlined"&&{border:`1px solid ${(i.vars||i).palette.action.disabledBackground}`},v.variant==="contained"&&{color:(i.vars||i).palette.action.disabled,boxShadow:(i.vars||i).shadows[0],backgroundColor:(i.vars||i).palette.action.disabledBackground})},v.variant==="text"&&{padding:"6px 8px"},v.variant==="text"&&v.color!=="inherit"&&{color:(i.vars||i).palette[v.color].main},v.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},v.variant==="outlined"&&v.color!=="inherit"&&{color:(i.vars||i).palette[v.color].main,border:i.vars?`1px solid rgba(${i.vars.palette[v.color].mainChannel} / 0.5)`:`1px solid ${(0,b.X4)(i.palette[v.color].main,.5)}`},v.variant==="contained"&&{color:i.vars?i.vars.palette.text.primary:(L=(R=i.palette).getContrastText)==null?void 0:L.call(R,i.palette.grey[300]),backgroundColor:i.vars?i.vars.palette.Button.inheritContainedBg:I,boxShadow:(i.vars||i).shadows[2]},v.variant==="contained"&&v.color!=="inherit"&&{color:(i.vars||i).palette[v.color].contrastText,backgroundColor:(i.vars||i).palette[v.color].main},v.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},v.size==="small"&&v.variant==="text"&&{padding:"4px 5px",fontSize:i.typography.pxToRem(13)},v.size==="large"&&v.variant==="text"&&{padding:"8px 11px",fontSize:i.typography.pxToRem(15)},v.size==="small"&&v.variant==="outlined"&&{padding:"3px 9px",fontSize:i.typography.pxToRem(13)},v.size==="large"&&v.variant==="outlined"&&{padding:"7px 21px",fontSize:i.typography.pxToRem(15)},v.size==="small"&&v.variant==="contained"&&{padding:"4px 10px",fontSize:i.typography.pxToRem(13)},v.size==="large"&&v.variant==="contained"&&{padding:"8px 22px",fontSize:i.typography.pxToRem(15)},v.fullWidth&&{width:"100%"})},({ownerState:i})=>i.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${O.A.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${O.A.disabled}`]:{boxShadow:"none"}}),_=(0,K.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(i,v)=>{const{ownerState:L}=i;return[v.startIcon,v[`iconSize${(0,y.A)(L.size)}`]]}})(({ownerState:i})=>(0,n.A)({display:"inherit",marginRight:8,marginLeft:-4},i.size==="small"&&{marginLeft:-2},r(i))),o=(0,K.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(i,v)=>{const{ownerState:L}=i;return[v.endIcon,v[`iconSize${(0,y.A)(L.size)}`]]}})(({ownerState:i})=>(0,n.A)({display:"inherit",marginRight:-4,marginLeft:8},i.size==="small"&&{marginRight:-2},r(i))),A=e.forwardRef(function(v,L){const R=e.useContext(p.A),I=e.useContext(P.A),j=(0,F.A)(R,v),S=(0,T.A)({props:j,name:"MuiButton"}),{children:U,color:W="primary",component:V="button",className:Y,disabled:G=!1,disableElevation:N=!1,disableFocusRipple:Q=!1,endIcon:H,focusVisibleClassName:w,fullWidth:nt=!1,size:lt="medium",startIcon:tt,type:ut,variant:Z="text"}=S,J=(0,s.A)(S,m),et=(0,n.A)({},S,{color:W,component:V,disabled:G,disableElevation:N,disableFocusRipple:Q,fullWidth:nt,size:lt,type:ut,variant:Z}),rt=l(et),it=tt&&(0,h.jsx)(_,{className:rt.startIcon,ownerState:et,children:tt}),pt=H&&(0,h.jsx)(o,{className:rt.endIcon,ownerState:et,children:H}),ct=I||"";return(0,h.jsxs)(d,(0,n.A)({ownerState:et,className:(0,x.A)(R.className,rt.root,Y,ct),component:V,disabled:G,focusRipple:!Q,focusVisibleClassName:(0,x.A)(rt.focusVisible,w),ref:L,type:ut},J,{classes:rt,children:[it,U,pt]}))})},87263:($,c,t)=>{t.d(c,{A:()=>E,B:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiButton",C)}const E=(0,s.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},64571:($,c,t)=>{t.d(c,{A:()=>G});var s=t(58168),n=t(98587),e=t(28437),M=t(95973),E=t(74984),C=t(86249),x=t(46186),F=t(48399),B=t(48942),b=t(94924),K=t(28617),T=t(89449),g=t(10519),y=t(64922);function O(N){const{className:Q,classes:H,pulsate:w=!1,rippleX:nt,rippleY:lt,rippleSize:tt,in:ut,onExited:Z,timeout:J}=N,[et,rt]=e.useState(!1),it=(0,E.A)(Q,H.ripple,H.rippleVisible,w&&H.ripplePulsate),pt={width:tt,height:tt,top:-(tt/2)+lt,left:-(tt/2)+nt},ct=(0,E.A)(H.child,et&&H.childLeaving,w&&H.childPulsate);return!ut&&!et&&rt(!0),e.useEffect(()=>{if(!ut&&Z!=null){const ft=setTimeout(Z,J);return()=>{clearTimeout(ft)}}},[Z,ut,J]),(0,y.jsx)("span",{className:it,style:pt,children:(0,y.jsx)("span",{className:ct})})}const p=O;var P=t(52847);const h=["center","classes","className"];let m=N=>N,l,r,d,_;const o=550,a=80,A=(0,g.i7)(l||(l=m` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),i=(0,g.i7)(r||(r=m` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),v=(0,g.i7)(d||(d=m` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),L=(0,x.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),R=(0,x.Ay)(p,{name:"MuiTouchRipple",slot:"Ripple"})(_||(_=m` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),P.A.rippleVisible,A,o,({theme:N})=>N.transitions.easing.easeInOut,P.A.ripplePulsate,({theme:N})=>N.transitions.duration.shorter,P.A.child,P.A.childLeaving,i,o,({theme:N})=>N.transitions.easing.easeInOut,P.A.childPulsate,v,({theme:N})=>N.transitions.easing.easeInOut),j=e.forwardRef(function(Q,H){const w=(0,F.A)({props:Q,name:"MuiTouchRipple"}),{center:nt=!1,classes:lt={},className:tt}=w,ut=(0,n.A)(w,h),[Z,J]=e.useState([]),et=e.useRef(0),rt=e.useRef(null);e.useEffect(()=>{rt.current&&(rt.current(),rt.current=null)},[Z]);const it=e.useRef(!1),pt=e.useRef(0),ct=e.useRef(null),ft=e.useRef(null);e.useEffect(()=>()=>{pt.current&&clearTimeout(pt.current)},[]);const Tt=e.useCallback(st=>{const{pulsate:xt,rippleX:Bt,rippleY:Rt,rippleSize:vt,cb:_t}=st;J(Pt=>[...Pt,(0,y.jsx)(R,{classes:{ripple:(0,E.A)(lt.ripple,P.A.ripple),rippleVisible:(0,E.A)(lt.rippleVisible,P.A.rippleVisible),ripplePulsate:(0,E.A)(lt.ripplePulsate,P.A.ripplePulsate),child:(0,E.A)(lt.child,P.A.child),childLeaving:(0,E.A)(lt.childLeaving,P.A.childLeaving),childPulsate:(0,E.A)(lt.childPulsate,P.A.childPulsate)},timeout:o,pulsate:xt,rippleX:Bt,rippleY:Rt,rippleSize:vt},et.current)]),et.current+=1,rt.current=_t},[lt]),Wt=e.useCallback((st={},xt={},Bt=()=>{})=>{const{pulsate:Rt=!1,center:vt=nt||xt.pulsate,fakeElement:_t=!1}=xt;if((st==null?void 0:st.type)==="mousedown"&&it.current){it.current=!1;return}(st==null?void 0:st.type)==="touchstart"&&(it.current=!0);const Pt=_t?null:ft.current,It=Pt?Pt.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Ot,wt,Vt;if(vt||st===void 0||st.clientX===0&&st.clientY===0||!st.clientX&&!st.touches)Ot=Math.round(It.width/2),wt=Math.round(It.height/2);else{const{clientX:jt,clientY:$t}=st.touches&&st.touches.length>0?st.touches[0]:st;Ot=Math.round(jt-It.left),wt=Math.round($t-It.top)}if(vt)Vt=Math.sqrt((2*Ve(It.width,2)+Ve(It.height,2))/3),Vt%2===0&&(Vt+=1);else{const jt=Math.max(Math.abs((Pt?Pt.clientWidth:0)-Ot),Ot)*2+2,$t=Math.max(Math.abs((Pt?Pt.clientHeight:0)-wt),wt)*2+2;Vt=Math.sqrt(Ve(jt,2)+Ve($t,2))}st!=null&&st.touches?ct.current===null&&(ct.current=()=>{Tt({pulsate:Rt,rippleX:Ot,rippleY:wt,rippleSize:Vt,cb:Bt})},pt.current=setTimeout(()=>{ct.current&&(ct.current(),ct.current=null)},a)):Tt({pulsate:Rt,rippleX:Ot,rippleY:wt,rippleSize:Vt,cb:Bt})},[nt,Tt]),Mt=e.useCallback(()=>{Wt({},{pulsate:!0})},[Wt]),yt=e.useCallback((st,xt)=>{if(clearTimeout(pt.current),(st==null?void 0:st.type)==="touchend"&&ct.current){ct.current(),ct.current=null,pt.current=setTimeout(()=>{yt(st,xt)});return}ct.current=null,J(Bt=>Bt.length>0?Bt.slice(1):Bt),rt.current=xt},[]);return e.useImperativeHandle(H,()=>({pulsate:Mt,start:Wt,stop:yt}),[Mt,Wt,yt]),(0,y.jsx)(L,(0,s.A)({className:(0,E.A)(P.A.root,lt.root,tt),ref:ft},ut,{children:(0,y.jsx)(T.A,{component:null,exit:!0,children:Z})}))});var S=t(41957);const U=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],W=N=>{const{disabled:Q,focusVisible:H,focusVisibleClassName:w,classes:nt}=N,lt={root:["root",Q&&"disabled",H&&"focusVisible"]},tt=(0,C.A)(lt,S.W,nt);return H&&w&&(tt.root+=` ${w}`),tt},V=(0,x.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(N,Q)=>Q.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${S.A.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),G=e.forwardRef(function(Q,H){const w=(0,F.A)({props:Q,name:"MuiButtonBase"}),{action:nt,centerRipple:lt=!1,children:tt,className:ut,component:Z="button",disabled:J=!1,disableRipple:et=!1,disableTouchRipple:rt=!1,focusRipple:it=!1,LinkComponent:pt="a",onBlur:ct,onClick:ft,onContextMenu:Tt,onDragLeave:Wt,onFocus:Mt,onFocusVisible:yt,onKeyDown:st,onKeyUp:xt,onMouseDown:Bt,onMouseLeave:Rt,onMouseUp:vt,onTouchEnd:_t,onTouchMove:Pt,onTouchStart:It,tabIndex:Ot=0,TouchRippleProps:wt,touchRippleRef:Vt,type:jt}=w,$t=(0,n.A)(w,U),Nt=e.useRef(null),Yt=e.useRef(null),ve=(0,B.A)(Yt,Vt),{isFocusVisibleRef:ne,onFocus:ae,onBlur:ie,ref:fe}=(0,K.A)(),[se,gt]=e.useState(!1);J&&se&>(!1),e.useImperativeHandle(nt,()=>({focusVisible:()=>{gt(!0),Nt.current.focus()}}),[]);const[Dt,ge]=e.useState(!1);e.useEffect(()=>{ge(!0)},[]);const Ht=Dt&&!et&&!J;e.useEffect(()=>{se&&it&&!et&&Dt&&Yt.current.pulsate()},[et,it,se,Dt]);function Ft(At,je,Ue=rt){return(0,b.A)(Be=>(je&&je(Be),!Ue&&Yt.current&&Yt.current[At](Be),!0))}const re=Ft("start",Bt),Ae=Ft("stop",Tt),de=Ft("stop",Wt),me=Ft("stop",vt),Pe=Ft("stop",At=>{se&&At.preventDefault(),Rt&&Rt(At)}),ce=Ft("start",It),Te=Ft("stop",_t),Ce=Ft("stop",Pt),ye=Ft("stop",At=>{ie(At),ne.current===!1&>(!1),ct&&ct(At)},!1),te=(0,b.A)(At=>{Nt.current||(Nt.current=At.currentTarget),ae(At),ne.current===!0&&(gt(!0),yt&&yt(At)),Mt&&Mt(At)}),Oe=()=>{const At=Nt.current;return Z&&Z!=="button"&&!(At.tagName==="A"&&At.href)},xe=e.useRef(!1),kt=(0,b.A)(At=>{it&&!xe.current&&se&&Yt.current&&At.key===" "&&(xe.current=!0,Yt.current.stop(At,()=>{Yt.current.start(At)})),At.target===At.currentTarget&&Oe()&&At.key===" "&&At.preventDefault(),st&&st(At),At.target===At.currentTarget&&Oe()&&At.key==="Enter"&&!J&&(At.preventDefault(),ft&&ft(At))}),Le=(0,b.A)(At=>{it&&At.key===" "&&Yt.current&&se&&!At.defaultPrevented&&(xe.current=!1,Yt.current.stop(At,()=>{Yt.current.pulsate(At)})),xt&&xt(At),ft&&At.target===At.currentTarget&&Oe()&&At.key===" "&&!At.defaultPrevented&&ft(At)});let Re=Z;Re==="button"&&($t.href||$t.to)&&(Re=pt);const Ie={};Re==="button"?(Ie.type=jt===void 0?"button":jt,Ie.disabled=J):(!$t.href&&!$t.to&&(Ie.role="button"),J&&(Ie["aria-disabled"]=J));const He=(0,B.A)(H,fe,Nt),he=(0,s.A)({},w,{centerRipple:lt,component:Z,disabled:J,disableRipple:et,disableTouchRipple:rt,focusRipple:it,tabIndex:Ot,focusVisible:se}),Qe=W(he);return(0,y.jsxs)(V,(0,s.A)({as:Re,className:(0,E.A)(Qe.root,ut),ownerState:he,onBlur:ye,onClick:ft,onContextMenu:Ae,onFocus:te,onKeyDown:kt,onKeyUp:Le,onMouseDown:re,onMouseLeave:Pe,onMouseUp:me,onDragLeave:de,onTouchEnd:Te,onTouchMove:Ce,onTouchStart:ce,ref:He,tabIndex:J?-1:Ot,type:jt},Ie,$t,{children:[tt,Ht?(0,y.jsx)(j,(0,s.A)({ref:ve,center:lt},wt)):null]}))})},41957:($,c,t)=>{t.d(c,{A:()=>E,W:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiButtonBase",C)}const E=(0,s.A)("MuiButtonBase",["root","disabled","focusVisible"])},52847:($,c,t)=>{t.d(c,{A:()=>E,O:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiTouchRipple",C)}const E=(0,s.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"])},48454:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext(void 0)},84774:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext({})},49813:($,c,t)=>{t.d(c,{A:()=>_});var s=t(98587),n=t(58168),e=t(28437),M=t(95973),E=t(74984),C=t(86249),x=t(42118),F=t(35131),B=t(64922);const b=(0,F.A)((0,B.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var K=t(48942),T=t(10016),g=t(64571),y=t(48399),O=t(46186),p=t(86975);const P=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],h=o=>{const{classes:a,disabled:A,size:i,color:v,iconColor:L,onDelete:R,clickable:I,variant:j}=o,S={root:["root",j,A&&"disabled",`size${(0,T.A)(i)}`,`color${(0,T.A)(v)}`,I&&"clickable",I&&`clickableColor${(0,T.A)(v)}`,R&&"deletable",R&&`deletableColor${(0,T.A)(v)}`,`${j}${(0,T.A)(v)}`],label:["label",`label${(0,T.A)(i)}`],avatar:["avatar",`avatar${(0,T.A)(i)}`,`avatarColor${(0,T.A)(v)}`],icon:["icon",`icon${(0,T.A)(i)}`,`iconColor${(0,T.A)(L)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,T.A)(i)}`,`deleteIconColor${(0,T.A)(v)}`,`deleteIcon${(0,T.A)(j)}Color${(0,T.A)(v)}`]};return(0,C.A)(S,p.f,a)},m=(0,O.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(o,a)=>{const{ownerState:A}=o,{color:i,iconColor:v,clickable:L,onDelete:R,size:I,variant:j}=A;return[{[`& .${p.A.avatar}`]:a.avatar},{[`& .${p.A.avatar}`]:a[`avatar${(0,T.A)(I)}`]},{[`& .${p.A.avatar}`]:a[`avatarColor${(0,T.A)(i)}`]},{[`& .${p.A.icon}`]:a.icon},{[`& .${p.A.icon}`]:a[`icon${(0,T.A)(I)}`]},{[`& .${p.A.icon}`]:a[`iconColor${(0,T.A)(v)}`]},{[`& .${p.A.deleteIcon}`]:a.deleteIcon},{[`& .${p.A.deleteIcon}`]:a[`deleteIcon${(0,T.A)(I)}`]},{[`& .${p.A.deleteIcon}`]:a[`deleteIconColor${(0,T.A)(i)}`]},{[`& .${p.A.deleteIcon}`]:a[`deleteIcon${(0,T.A)(j)}Color${(0,T.A)(i)}`]},a.root,a[`size${(0,T.A)(I)}`],a[`color${(0,T.A)(i)}`],L&&a.clickable,L&&i!=="default"&&a[`clickableColor${(0,T.A)(i)})`],R&&a.deletable,R&&i!=="default"&&a[`deletableColor${(0,T.A)(i)}`],a[j],a[`${j}${(0,T.A)(i)}`]]}})(({theme:o,ownerState:a})=>{const A=o.palette.mode==="light"?o.palette.grey[700]:o.palette.grey[300];return(0,n.A)({maxWidth:"100%",fontFamily:o.typography.fontFamily,fontSize:o.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(o.vars||o).palette.text.primary,backgroundColor:(o.vars||o).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:o.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${p.A.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${p.A.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:o.vars?o.vars.palette.Chip.defaultAvatarColor:A,fontSize:o.typography.pxToRem(12)},[`& .${p.A.avatarColorPrimary}`]:{color:(o.vars||o).palette.primary.contrastText,backgroundColor:(o.vars||o).palette.primary.dark},[`& .${p.A.avatarColorSecondary}`]:{color:(o.vars||o).palette.secondary.contrastText,backgroundColor:(o.vars||o).palette.secondary.dark},[`& .${p.A.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:o.typography.pxToRem(10)},[`& .${p.A.icon}`]:(0,n.A)({marginLeft:5,marginRight:-6},a.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},a.iconColor===a.color&&(0,n.A)({color:o.vars?o.vars.palette.Chip.defaultIconColor:A},a.color!=="default"&&{color:"inherit"})),[`& .${p.A.deleteIcon}`]:(0,n.A)({WebkitTapHighlightColor:"transparent",color:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / 0.26)`:(0,x.X4)(o.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / 0.4)`:(0,x.X4)(o.palette.text.primary,.4)}},a.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},a.color!=="default"&&{color:o.vars?`rgba(${o.vars.palette[a.color].contrastTextChannel} / 0.7)`:(0,x.X4)(o.palette[a.color].contrastText,.7),"&:hover, &:active":{color:(o.vars||o).palette[a.color].contrastText}})},a.size==="small"&&{height:24},a.color!=="default"&&{backgroundColor:(o.vars||o).palette[a.color].main,color:(o.vars||o).palette[a.color].contrastText},a.onDelete&&{[`&.${p.A.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.action.selectedChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.focusOpacity}))`:(0,x.X4)(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)}},a.onDelete&&a.color!=="default"&&{[`&.${p.A.focusVisible}`]:{backgroundColor:(o.vars||o).palette[a.color].dark}})},({theme:o,ownerState:a})=>(0,n.A)({},a.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.selectedChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:(0,x.X4)(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity)},[`&.${p.A.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.action.selectedChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.focusOpacity}))`:(0,x.X4)(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)},"&:active":{boxShadow:(o.vars||o).shadows[1]}},a.clickable&&a.color!=="default"&&{[`&:hover, &.${p.A.focusVisible}`]:{backgroundColor:(o.vars||o).palette[a.color].dark}}),({theme:o,ownerState:a})=>(0,n.A)({},a.variant==="outlined"&&{backgroundColor:"transparent",border:o.vars?`1px solid ${o.vars.palette.Chip.defaultBorder}`:`1px solid ${o.palette.mode==="light"?o.palette.grey[400]:o.palette.grey[700]}`,[`&.${p.A.clickable}:hover`]:{backgroundColor:(o.vars||o).palette.action.hover},[`&.${p.A.focusVisible}`]:{backgroundColor:(o.vars||o).palette.action.focus},[`& .${p.A.avatar}`]:{marginLeft:4},[`& .${p.A.avatarSmall}`]:{marginLeft:2},[`& .${p.A.icon}`]:{marginLeft:4},[`& .${p.A.iconSmall}`]:{marginLeft:2},[`& .${p.A.deleteIcon}`]:{marginRight:5},[`& .${p.A.deleteIconSmall}`]:{marginRight:3}},a.variant==="outlined"&&a.color!=="default"&&{color:(o.vars||o).palette[a.color].main,border:`1px solid ${o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / 0.7)`:(0,x.X4)(o.palette[a.color].main,.7)}`,[`&.${p.A.clickable}:hover`]:{backgroundColor:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,x.X4)(o.palette[a.color].main,o.palette.action.hoverOpacity)},[`&.${p.A.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.focusOpacity})`:(0,x.X4)(o.palette[a.color].main,o.palette.action.focusOpacity)},[`& .${p.A.deleteIcon}`]:{color:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / 0.7)`:(0,x.X4)(o.palette[a.color].main,.7),"&:hover, &:active":{color:(o.vars||o).palette[a.color].main}}})),l=(0,O.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(o,a)=>{const{ownerState:A}=o,{size:i}=A;return[a.label,a[`label${(0,T.A)(i)}`]]}})(({ownerState:o})=>(0,n.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},o.variant==="outlined"&&{paddingLeft:11,paddingRight:11},o.size==="small"&&{paddingLeft:8,paddingRight:8},o.size==="small"&&o.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function r(o){return o.key==="Backspace"||o.key==="Delete"}const _=e.forwardRef(function(a,A){const i=(0,y.A)({props:a,name:"MuiChip"}),{avatar:v,className:L,clickable:R,color:I="default",component:j,deleteIcon:S,disabled:U=!1,icon:W,label:V,onClick:Y,onDelete:G,onKeyDown:N,onKeyUp:Q,size:H="medium",variant:w="filled",tabIndex:nt,skipFocusWhenDisabled:lt=!1}=i,tt=(0,s.A)(i,P),ut=e.useRef(null),Z=(0,K.A)(ut,A),J=st=>{st.stopPropagation(),G&&G(st)},et=st=>{st.currentTarget===st.target&&r(st)&&st.preventDefault(),N&&N(st)},rt=st=>{st.currentTarget===st.target&&(G&&r(st)?G(st):st.key==="Escape"&&ut.current&&ut.current.blur()),Q&&Q(st)},it=R!==!1&&Y?!0:R,pt=it||G?g.A:j||"div",ct=(0,n.A)({},i,{component:pt,disabled:U,size:H,color:I,iconColor:e.isValidElement(W)&&W.props.color||I,onDelete:!!G,clickable:it,variant:w}),ft=h(ct),Tt=pt===g.A?(0,n.A)({component:j||"div",focusVisibleClassName:ft.focusVisible},G&&{disableRipple:!0}):{};let Wt=null;G&&(Wt=S&&e.isValidElement(S)?e.cloneElement(S,{className:(0,E.A)(S.props.className,ft.deleteIcon),onClick:J}):(0,B.jsx)(b,{className:(0,E.A)(ft.deleteIcon),onClick:J}));let Mt=null;v&&e.isValidElement(v)&&(Mt=e.cloneElement(v,{className:(0,E.A)(ft.avatar,v.props.className)}));let yt=null;return W&&e.isValidElement(W)&&(yt=e.cloneElement(W,{className:(0,E.A)(ft.icon,W.props.className)})),(0,B.jsxs)(m,(0,n.A)({as:pt,className:(0,E.A)(ft.root,L),disabled:it&&U?!0:void 0,onClick:Y,onKeyDown:et,onKeyUp:rt,ref:Z,tabIndex:lt&&U?-1:nt,ownerState:ct},Tt,tt,{children:[Mt||yt,(0,B.jsx)(l,{className:(0,E.A)(ft.label),ownerState:ct,children:V}),Wt]}))})},86975:($,c,t)=>{t.d(c,{A:()=>E,f:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiChip",C)}const E=(0,s.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"])},85747:($,c,t)=>{t.d(c,{A:()=>v});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(81019),b=t(10016),K=t(10083),T=t(67987),g=t(21593),y=t(48399),O=t(46186),p=t(30311),P=t(11308),h=t(51739),m=t(89437),l=t(64922);const r=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],d=(0,O.Ay)(h.A,{name:"MuiDialog",slot:"Backdrop",overrides:(L,R)=>R.backdrop})({zIndex:-1}),_=L=>{const{classes:R,scroll:I,maxWidth:j,fullWidth:S,fullScreen:U}=L,W={root:["root"],container:["container",`scroll${(0,b.A)(I)}`],paper:["paper",`paperScroll${(0,b.A)(I)}`,`paperWidth${(0,b.A)(String(j))}`,S&&"paperFullWidth",U&&"paperFullScreen"]};return(0,F.A)(W,p.f,R)},o=(0,O.Ay)(K.A,{name:"MuiDialog",slot:"Root",overridesResolver:(L,R)=>R.root})({"@media print":{position:"absolute !important"}}),a=(0,O.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(L,R)=>{const{ownerState:I}=L;return[R.container,R[`scroll${(0,b.A)(I.scroll)}`]]}})(({ownerState:L})=>(0,n.A)({height:"100%","@media print":{height:"auto"},outline:0},L.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},L.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),A=(0,O.Ay)(g.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(L,R)=>{const{ownerState:I}=L;return[R.paper,R[`scrollPaper${(0,b.A)(I.scroll)}`],R[`paperWidth${(0,b.A)(String(I.maxWidth))}`],I.fullWidth&&R.paperFullWidth,I.fullScreen&&R.paperFullScreen]}})(({theme:L,ownerState:R})=>(0,n.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},R.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},R.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!R.maxWidth&&{maxWidth:"calc(100% - 64px)"},R.maxWidth==="xs"&&{maxWidth:L.breakpoints.unit==="px"?Math.max(L.breakpoints.values.xs,444):`max(${L.breakpoints.values.xs}${L.breakpoints.unit}, 444px)`,[`&.${p.A.paperScrollBody}`]:{[L.breakpoints.down(Math.max(L.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},R.maxWidth&&R.maxWidth!=="xs"&&{maxWidth:`${L.breakpoints.values[R.maxWidth]}${L.breakpoints.unit}`,[`&.${p.A.paperScrollBody}`]:{[L.breakpoints.down(L.breakpoints.values[R.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},R.fullWidth&&{width:"calc(100% - 64px)"},R.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${p.A.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),v=e.forwardRef(function(R,I){const j=(0,y.A)({props:R,name:"MuiDialog"}),S=(0,m.A)(),U={enter:S.transitions.duration.enteringScreen,exit:S.transitions.duration.leavingScreen},{"aria-describedby":W,"aria-labelledby":V,BackdropComponent:Y,BackdropProps:G,children:N,className:Q,disableEscapeKeyDown:H=!1,fullScreen:w=!1,fullWidth:nt=!1,maxWidth:lt="sm",onBackdropClick:tt,onClose:ut,open:Z,PaperComponent:J=g.A,PaperProps:et={},scroll:rt="paper",TransitionComponent:it=T.A,transitionDuration:pt=U,TransitionProps:ct}=j,ft=(0,s.A)(j,r),Tt=(0,n.A)({},j,{disableEscapeKeyDown:H,fullScreen:w,fullWidth:nt,maxWidth:lt,scroll:rt}),Wt=_(Tt),Mt=e.useRef(),yt=Rt=>{Mt.current=Rt.target===Rt.currentTarget},st=Rt=>{Mt.current&&(Mt.current=null,tt&&tt(Rt),ut&&ut(Rt,"backdropClick"))},xt=(0,B.A)(V),Bt=e.useMemo(()=>({titleId:xt}),[xt]);return(0,l.jsx)(o,(0,n.A)({className:(0,x.A)(Wt.root,Q),closeAfterTransition:!0,components:{Backdrop:d},componentsProps:{backdrop:(0,n.A)({transitionDuration:pt,as:Y},G)},disableEscapeKeyDown:H,onClose:ut,open:Z,ref:I,onClick:st,ownerState:Tt},ft,{children:(0,l.jsx)(it,(0,n.A)({appear:!0,in:Z,timeout:pt,role:"presentation"},ct,{children:(0,l.jsx)(a,{className:(0,x.A)(Wt.container),onMouseDown:yt,ownerState:Tt,children:(0,l.jsx)(A,(0,n.A)({as:J,elevation:24,role:"dialog","aria-describedby":W,"aria-labelledby":xt},et,{className:(0,x.A)(Wt.paper,et.className),ownerState:Tt,children:(0,l.jsx)(P.A.Provider,{value:Bt,children:N})}))})}))}))})},11308:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext({})},30311:($,c,t)=>{t.d(c,{A:()=>E,f:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDialog",C)}const E=(0,s.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"])},59589:($,c,t)=>{t.d(c,{A:()=>P});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(85309),T=t(64922);const g=["className","disableSpacing"],y=h=>{const{classes:m,disableSpacing:l}=h,r={root:["root",!l&&"spacing"]};return(0,F.A)(r,K.C,m)},O=(0,B.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(h,m)=>{const{ownerState:l}=h;return[m.root,!l.disableSpacing&&m.spacing]}})(({ownerState:h})=>(0,n.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!h.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),P=e.forwardRef(function(m,l){const r=(0,b.A)({props:m,name:"MuiDialogActions"}),{className:d,disableSpacing:_=!1}=r,o=(0,s.A)(r,g),a=(0,n.A)({},r,{disableSpacing:_}),A=y(a);return(0,T.jsx)(O,(0,n.A)({className:(0,x.A)(A.root,d),ownerState:a,ref:l},o))})},85309:($,c,t)=>{t.d(c,{A:()=>E,C:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDialogActions",C)}const E=(0,s.A)("MuiDialogActions",["root","spacing"])},63437:($,c,t)=>{t.d(c,{A:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(46725),T=t(98933),g=t(64922);const y=["className","dividers"],O=m=>{const{classes:l,dividers:r}=m,d={root:["root",r&&"dividers"]};return(0,F.A)(d,K.E,l)},p=(0,B.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(m,l)=>{const{ownerState:r}=m;return[l.root,r.dividers&&l.dividers]}})(({theme:m,ownerState:l})=>(0,n.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},l.dividers?{padding:"16px 24px",borderTop:`1px solid ${(m.vars||m).palette.divider}`,borderBottom:`1px solid ${(m.vars||m).palette.divider}`}:{[`.${T.A.root} + &`]:{paddingTop:0}})),h=e.forwardRef(function(l,r){const d=(0,b.A)({props:l,name:"MuiDialogContent"}),{className:_,dividers:o=!1}=d,a=(0,s.A)(d,y),A=(0,n.A)({},d,{dividers:o}),i=O(A);return(0,g.jsx)(p,(0,n.A)({className:(0,x.A)(i.root,_),ownerState:A,ref:r},a))})},46725:($,c,t)=>{t.d(c,{A:()=>E,E:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDialogContent",C)}const E=(0,s.A)("MuiDialogContent",["root","dividers"])},98933:($,c,t)=>{t.d(c,{A:()=>E,t:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDialogTitle",C)}const E=(0,s.A)("MuiDialogTitle",["root"])},72733:($,c,t)=>{t.d(c,{A:()=>E,K:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDivider",C)}const E=(0,s.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},67987:($,c,t)=>{t.d(c,{A:()=>O});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(39878),F=t(89437),B=t(86476),b=t(48942),K=t(64922);const T=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],g={entering:{opacity:1},entered:{opacity:1}},O=e.forwardRef(function(P,h){const m=(0,F.A)(),l={enter:m.transitions.duration.enteringScreen,exit:m.transitions.duration.leavingScreen},{addEndListener:r,appear:d=!0,children:_,easing:o,in:a,onEnter:A,onEntered:i,onEntering:v,onExit:L,onExited:R,onExiting:I,style:j,timeout:S=l,TransitionComponent:U=x.Ay}=P,W=(0,n.A)(P,T),V=!0,Y=e.useRef(null),G=(0,b.A)(Y,_.ref,h),N=Z=>J=>{if(Z){const et=Y.current;J===void 0?Z(et):Z(et,J)}},Q=N(v),H=N((Z,J)=>{(0,B.q)(Z);const et=(0,B.c)({style:j,timeout:S,easing:o},{mode:"enter"});Z.style.webkitTransition=m.transitions.create("opacity",et),Z.style.transition=m.transitions.create("opacity",et),A&&A(Z,J)}),w=N(i),nt=N(I),lt=N(Z=>{const J=(0,B.c)({style:j,timeout:S,easing:o},{mode:"exit"});Z.style.webkitTransition=m.transitions.create("opacity",J),Z.style.transition=m.transitions.create("opacity",J),L&&L(Z)}),tt=N(R),ut=Z=>{r&&r(Y.current,Z)};return(0,K.jsx)(U,(0,s.A)({appear:d,in:a,nodeRef:V?Y:void 0,onEnter:H,onEntered:w,onEntering:Q,onExit:lt,onExited:tt,onExiting:nt,addEndListener:ut,timeout:S},W,{children:(Z,J)=>e.cloneElement(_,(0,s.A)({style:(0,s.A)({opacity:0,visibility:Z==="exited"&&!a?"hidden":void 0},g[Z],j,_.props.style),ref:G},J))}))})},98625:($,c,t)=>{t.d(c,{A:()=>m});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(53107),C=t(95973),x=t.n(C),F=t(86249),B=t(14073),b=t(46186),K=t(48399),T=t(40369),g=t(64922);const y=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],O=l=>{const{classes:r,disableUnderline:d}=l,_={root:["root",!d&&"underline"],input:["input"]},o=(0,F.A)(_,T.N,r);return(0,n.A)({},r,o)},p=(0,b.Ay)(B.Sh,{shouldForwardProp:l=>(0,b.ep)(l)||l==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(l,r)=>{const{ownerState:d}=l;return[...(0,B.WC)(l,r),!d.disableUnderline&&r.underline]}})(({theme:l,ownerState:r})=>{var d;const _=l.palette.mode==="light",o=_?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=_?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",A=_?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=_?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,n.A)({position:"relative",backgroundColor:l.vars?l.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(l.vars||l).shape.borderRadius,borderTopRightRadius:(l.vars||l).shape.borderRadius,transition:l.transitions.create("background-color",{duration:l.transitions.duration.shorter,easing:l.transitions.easing.easeOut}),"&:hover":{backgroundColor:l.vars?l.vars.palette.FilledInput.hoverBg:A,"@media (hover: none)":{backgroundColor:l.vars?l.vars.palette.FilledInput.bg:a}},[`&.${T.A.focused}`]:{backgroundColor:l.vars?l.vars.palette.FilledInput.bg:a},[`&.${T.A.disabled}`]:{backgroundColor:l.vars?l.vars.palette.FilledInput.disabledBg:i}},!r.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(d=(l.vars||l).palette[r.color||"primary"])==null?void 0:d.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:l.transitions.create("transform",{duration:l.transitions.duration.shorter,easing:l.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${T.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${T.A.error}`]:{"&:before, &:after":{borderBottomColor:(l.vars||l).palette.error.main}},"&:before":{borderBottom:`1px solid ${l.vars?`rgba(${l.vars.palette.common.onBackgroundChannel} / ${l.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:l.transitions.create("border-bottom-color",{duration:l.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${T.A.disabled}, .${T.A.error}):before`]:{borderBottom:`1px solid ${(l.vars||l).palette.text.primary}`},[`&.${T.A.disabled}:before`]:{borderBottomStyle:"dotted"}},r.startAdornment&&{paddingLeft:12},r.endAdornment&&{paddingRight:12},r.multiline&&(0,n.A)({padding:"25px 12px 8px"},r.size==="small"&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),P=(0,b.Ay)(B.f3,{name:"MuiFilledInput",slot:"Input",overridesResolver:B.Oj})(({theme:l,ownerState:r})=>(0,n.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!l.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:l.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:l.palette.mode==="light"?null:"#fff",caretColor:l.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},l.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[l.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},r.size==="small"&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0},r.hiddenLabel&&r.size==="small"&&{paddingTop:8,paddingBottom:9})),h=e.forwardRef(function(r,d){var _,o,a,A;const i=(0,K.A)({props:r,name:"MuiFilledInput"}),{components:v={},componentsProps:L,fullWidth:R=!1,inputComponent:I="input",multiline:j=!1,slotProps:S,slots:U={},type:W="text"}=i,V=(0,s.A)(i,y),Y=(0,n.A)({},i,{fullWidth:R,inputComponent:I,multiline:j,type:W}),G=O(i),N={root:{ownerState:Y},input:{ownerState:Y}},Q=(S!=null?S:L)?(0,E.A)(S!=null?S:L,N):N,H=(_=(o=U.root)!=null?o:v.Root)!=null?_:p,w=(a=(A=U.input)!=null?A:v.Input)!=null?a:P;return(0,g.jsx)(B.Ay,(0,n.A)({slots:{root:H,input:w},componentsProps:Q,fullWidth:R,inputComponent:I,multiline:j,ref:d,type:W},V,{classes:G}))});h.muiName="Input";const m=h},40369:($,c,t)=>{t.d(c,{A:()=>x,N:()=>E});var s=t(58168),n=t(95227),e=t(35583),M=t(3721);function E(F){return(0,e.Ay)("MuiFilledInput",F)}const x=(0,s.A)({},M.A,(0,n.A)("MuiFilledInput",["root","underline","input"]))},48845:($,c,t)=>{t.d(c,{A:()=>r});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(48399),b=t(46186),K=t(1769),T=t(10016),g=t(27229),y=t(74502),O=t(23141),p=t(64922);const P=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],h=d=>{const{classes:_,margin:o,fullWidth:a}=d,A={root:["root",o!=="none"&&`margin${(0,T.A)(o)}`,a&&"fullWidth"]};return(0,F.A)(A,O.c,_)},m=(0,b.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:d},_)=>(0,n.A)({},_.root,_[`margin${(0,T.A)(d.margin)}`],d.fullWidth&&_.fullWidth)})(({ownerState:d})=>(0,n.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},d.margin==="normal"&&{marginTop:16,marginBottom:8},d.margin==="dense"&&{marginTop:8,marginBottom:4},d.fullWidth&&{width:"100%"})),r=e.forwardRef(function(_,o){const a=(0,B.A)({props:_,name:"MuiFormControl"}),{children:A,className:i,color:v="primary",component:L="div",disabled:R=!1,error:I=!1,focused:j,fullWidth:S=!1,hiddenLabel:U=!1,margin:W="none",required:V=!1,size:Y="medium",variant:G="outlined"}=a,N=(0,s.A)(a,P),Q=(0,n.A)({},a,{color:v,component:L,disabled:R,error:I,fullWidth:S,hiddenLabel:U,margin:W,required:V,size:Y,variant:G}),H=h(Q),[w,nt]=e.useState(()=>{let it=!1;return A&&e.Children.forEach(A,pt=>{if(!(0,g.A)(pt,["Input","Select"]))return;const ct=(0,g.A)(pt,["Select"])?pt.props.input:pt;ct&&(0,K.gr)(ct.props)&&(it=!0)}),it}),[lt,tt]=e.useState(()=>{let it=!1;return A&&e.Children.forEach(A,pt=>{(0,g.A)(pt,["Input","Select"])&&((0,K.lq)(pt.props,!0)||(0,K.lq)(pt.props.inputProps,!0))&&(it=!0)}),it}),[ut,Z]=e.useState(!1);R&&ut&&Z(!1);const J=j!==void 0&&!R?j:ut;let et;const rt=e.useMemo(()=>({adornedStart:w,setAdornedStart:nt,color:v,disabled:R,error:I,filled:lt,focused:J,fullWidth:S,hiddenLabel:U,size:Y,onBlur:()=>{Z(!1)},onEmpty:()=>{tt(!1)},onFilled:()=>{tt(!0)},onFocus:()=>{Z(!0)},registerEffect:et,required:V,variant:G}),[w,v,R,I,lt,J,S,U,et,V,Y,G]);return(0,p.jsx)(y.A.Provider,{value:rt,children:(0,p.jsx)(m,(0,n.A)({as:L,ownerState:Q,className:(0,x.A)(H.root,i),ref:o},N,{children:A}))})})},74502:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext(void 0)},23141:($,c,t)=>{t.d(c,{A:()=>E,c:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiFormControl",C)}const E=(0,s.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"])},65900:($,c,t)=>{t.d(c,{A:()=>s});function s({props:n,states:e,muiFormControl:M}){return e.reduce((E,C)=>(E[C]=n[C],M&&typeof n[C]=="undefined"&&(E[C]=M[C]),E),{})}},64186:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s),e=t(74502);function M(){return s.useContext(e.A)}},11085:($,c,t)=>{t.d(c,{A:()=>r});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(65900),b=t(64186),K=t(46186),T=t(10016),g=t(9413),y=t(48399),O=t(64922),p;const P=["children","className","component","disabled","error","filled","focused","margin","required","variant"],h=d=>{const{classes:_,contained:o,size:a,disabled:A,error:i,filled:v,focused:L,required:R}=d,I={root:["root",A&&"disabled",i&&"error",a&&`size${(0,T.A)(a)}`,o&&"contained",L&&"focused",v&&"filled",R&&"required"]};return(0,F.A)(I,g.h,_)},m=(0,K.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(d,_)=>{const{ownerState:o}=d;return[_.root,o.size&&_[`size${(0,T.A)(o.size)}`],o.contained&&_.contained,o.filled&&_.filled]}})(({theme:d,ownerState:_})=>(0,n.A)({color:(d.vars||d).palette.text.secondary},d.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${g.A.disabled}`]:{color:(d.vars||d).palette.text.disabled},[`&.${g.A.error}`]:{color:(d.vars||d).palette.error.main}},_.size==="small"&&{marginTop:4},_.contained&&{marginLeft:14,marginRight:14})),r=e.forwardRef(function(_,o){const a=(0,y.A)({props:_,name:"MuiFormHelperText"}),{children:A,className:i,component:v="p"}=a,L=(0,s.A)(a,P),R=(0,b.A)(),I=(0,B.A)({props:a,muiFormControl:R,states:["variant","size","disabled","error","filled","focused","required"]}),j=(0,n.A)({},a,{component:v,contained:I.variant==="filled"||I.variant==="outlined",variant:I.variant,size:I.size,disabled:I.disabled,error:I.error,filled:I.filled,focused:I.focused,required:I.required}),S=h(j);return(0,O.jsx)(m,(0,n.A)({as:v,ownerState:j,className:(0,x.A)(S.root,i),ref:o},L,{children:A===" "?p||(p=(0,O.jsx)("span",{className:"notranslate",children:"\u200B"})):A}))})},9413:($,c,t)=>{t.d(c,{A:()=>E,h:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiFormHelperText",C)}const E=(0,s.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"])},80777:($,c,t)=>{t.d(c,{A:()=>r,d:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(65900),b=t(64186),K=t(10016),T=t(48399),g=t(46186),y=t(21625),O=t(64922);const p=["children","className","color","component","disabled","error","filled","focused","required"],P=d=>{const{classes:_,color:o,focused:a,disabled:A,error:i,filled:v,required:L}=d,R={root:["root",`color${(0,K.A)(o)}`,A&&"disabled",i&&"error",v&&"filled",a&&"focused",L&&"required"],asterisk:["asterisk",i&&"error"]};return(0,F.A)(R,y.Z,_)},h=(0,g.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:d},_)=>(0,n.A)({},_.root,d.color==="secondary"&&_.colorSecondary,d.filled&&_.filled)})(({theme:d,ownerState:_})=>(0,n.A)({color:(d.vars||d).palette.text.secondary},d.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${y.A.focused}`]:{color:(d.vars||d).palette[_.color].main},[`&.${y.A.disabled}`]:{color:(d.vars||d).palette.text.disabled},[`&.${y.A.error}`]:{color:(d.vars||d).palette.error.main}})),m=(0,g.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(d,_)=>_.asterisk})(({theme:d})=>({[`&.${y.A.error}`]:{color:(d.vars||d).palette.error.main}})),r=e.forwardRef(function(_,o){const a=(0,T.A)({props:_,name:"MuiFormLabel"}),{children:A,className:i,component:v="label"}=a,L=(0,s.A)(a,p),R=(0,b.A)(),I=(0,B.A)({props:a,muiFormControl:R,states:["color","required","focused","disabled","error","filled"]}),j=(0,n.A)({},a,{color:I.color||"primary",component:v,disabled:I.disabled,error:I.error,filled:I.filled,focused:I.focused,required:I.required}),S=P(j);return(0,O.jsxs)(h,(0,n.A)({as:v,ownerState:j,className:(0,x.A)(S.root,i),ref:o},L,{children:[A,I.required&&(0,O.jsxs)(m,{ownerState:j,"aria-hidden":!0,className:S.asterisk,children:["\u2009","*"]})]}))})},21625:($,c,t)=>{t.d(c,{A:()=>E,Z:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiFormLabel",C)}const E=(0,s.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},32586:($,c,t)=>{t.d(c,{A:()=>T});var s=t(58168),n=t(28437),e=t(95973),M=t(22394),E=t(86568),C=t(64922);function x({styles:g,themeId:y,defaultTheme:O={}}){const p=(0,E.A)(O),P=typeof g=="function"?g(y&&p[y]||p):g;return(0,C.jsx)(M.A,{styles:P})}const F=x;var B=t(40007),b=t(92066);function K(g){return(0,C.jsx)(F,(0,s.A)({},g,{defaultTheme:B.A,themeId:b.A}))}const T=K},86193:($,c,t)=>{t.d(c,{A:()=>P});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(39878),F=t(89437),B=t(86476),b=t(48942),K=t(64922);const T=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function g(h){return`scale(${h}, ${Ve(h,2)})`}const y={entering:{opacity:1,transform:g(1)},entered:{opacity:1,transform:"none"}},O=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),p=e.forwardRef(function(m,l){const{addEndListener:r,appear:d=!0,children:_,easing:o,in:a,onEnter:A,onEntered:i,onEntering:v,onExit:L,onExited:R,onExiting:I,style:j,timeout:S="auto",TransitionComponent:U=x.Ay}=m,W=(0,n.A)(m,T),V=e.useRef(),Y=e.useRef(),G=(0,F.A)(),N=e.useRef(null),Q=(0,b.A)(N,_.ref,l),H=et=>rt=>{if(et){const it=N.current;rt===void 0?et(it):et(it,rt)}},w=H(v),nt=H((et,rt)=>{(0,B.q)(et);const{duration:it,delay:pt,easing:ct}=(0,B.c)({style:j,timeout:S,easing:o},{mode:"enter"});let ft;S==="auto"?(ft=G.transitions.getAutoHeightDuration(et.clientHeight),Y.current=ft):ft=it,et.style.transition=[G.transitions.create("opacity",{duration:ft,delay:pt}),G.transitions.create("transform",{duration:O?ft:ft*.666,delay:pt,easing:ct})].join(","),A&&A(et,rt)}),lt=H(i),tt=H(I),ut=H(et=>{const{duration:rt,delay:it,easing:pt}=(0,B.c)({style:j,timeout:S,easing:o},{mode:"exit"});let ct;S==="auto"?(ct=G.transitions.getAutoHeightDuration(et.clientHeight),Y.current=ct):ct=rt,et.style.transition=[G.transitions.create("opacity",{duration:ct,delay:it}),G.transitions.create("transform",{duration:O?ct:ct*.666,delay:O?it:it||ct*.333,easing:pt})].join(","),et.style.opacity=0,et.style.transform=g(.75),L&&L(et)}),Z=H(R),J=et=>{S==="auto"&&(V.current=setTimeout(et,Y.current||0)),r&&r(N.current,et)};return e.useEffect(()=>()=>{clearTimeout(V.current)},[]),(0,K.jsx)(U,(0,s.A)({appear:d,in:a,nodeRef:N,onEnter:nt,onEntered:lt,onEntering:w,onExit:ut,onExited:Z,onExiting:tt,addEndListener:J,timeout:S==="auto"?null:S},W,{children:(et,rt)=>e.cloneElement(_,(0,s.A)({style:(0,s.A)({opacity:0,transform:g(.75),visibility:et==="exited"&&!a?"hidden":void 0},y[et],j,_.props.style),ref:Q},rt))}))});p.muiSupportAuto=!0;const P=p},25325:($,c,t)=>{t.d(c,{A:()=>l});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(42118),b=t(46186),K=t(48399),T=t(64571),g=t(10016),y=t(18373),O=t(64922);const p=["edge","children","className","color","disabled","disableFocusRipple","size"],P=r=>{const{classes:d,disabled:_,color:o,edge:a,size:A}=r,i={root:["root",_&&"disabled",o!=="default"&&`color${(0,g.A)(o)}`,a&&`edge${(0,g.A)(a)}`,`size${(0,g.A)(A)}`]};return(0,F.A)(i,y.G,d)},h=(0,b.Ay)(T.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(r,d)=>{const{ownerState:_}=r;return[d.root,_.color!=="default"&&d[`color${(0,g.A)(_.color)}`],_.edge&&d[`edge${(0,g.A)(_.edge)}`],d[`size${(0,g.A)(_.size)}`]]}})(({theme:r,ownerState:d})=>(0,n.A)({textAlign:"center",flex:"0 0 auto",fontSize:r.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(r.vars||r).palette.action.active,transition:r.transitions.create("background-color",{duration:r.transitions.duration.shortest})},!d.disableRipple&&{"&:hover":{backgroundColor:r.vars?`rgba(${r.vars.palette.action.activeChannel} / ${r.vars.palette.action.hoverOpacity})`:(0,B.X4)(r.palette.action.active,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},d.edge==="start"&&{marginLeft:d.size==="small"?-3:-12},d.edge==="end"&&{marginRight:d.size==="small"?-3:-12}),({theme:r,ownerState:d})=>{var _;const o=(_=(r.vars||r).palette)==null?void 0:_[d.color];return(0,n.A)({},d.color==="inherit"&&{color:"inherit"},d.color!=="inherit"&&d.color!=="default"&&(0,n.A)({color:o==null?void 0:o.main},!d.disableRipple&&{"&:hover":(0,n.A)({},o&&{backgroundColor:r.vars?`rgba(${o.mainChannel} / ${r.vars.palette.action.hoverOpacity})`:(0,B.X4)(o.main,r.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),d.size==="small"&&{padding:5,fontSize:r.typography.pxToRem(18)},d.size==="large"&&{padding:12,fontSize:r.typography.pxToRem(28)},{[`&.${y.A.disabled}`]:{backgroundColor:"transparent",color:(r.vars||r).palette.action.disabled}})}),l=e.forwardRef(function(d,_){const o=(0,K.A)({props:d,name:"MuiIconButton"}),{edge:a=!1,children:A,className:i,color:v="default",disabled:L=!1,disableFocusRipple:R=!1,size:I="medium"}=o,j=(0,s.A)(o,p),S=(0,n.A)({},o,{edge:a,color:v,disabled:L,disableFocusRipple:R,size:I}),U=P(S);return(0,O.jsx)(h,(0,n.A)({className:(0,x.A)(U.root,i),centerRipple:!0,focusRipple:!R,disabled:L,ref:_,ownerState:S},j,{children:A}))})},18373:($,c,t)=>{t.d(c,{A:()=>E,G:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiIconButton",C)}const E=(0,s.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"])},24893:($,c,t)=>{t.d(c,{A:()=>m});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(86249),F=t(53107),B=t(14073),b=t(46186),K=t(48399),T=t(86581),g=t(64922);const y=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],O=l=>{const{classes:r,disableUnderline:d}=l,_={root:["root",!d&&"underline"],input:["input"]},o=(0,x.A)(_,T.B,r);return(0,n.A)({},r,o)},p=(0,b.Ay)(B.Sh,{shouldForwardProp:l=>(0,b.ep)(l)||l==="classes",name:"MuiInput",slot:"Root",overridesResolver:(l,r)=>{const{ownerState:d}=l;return[...(0,B.WC)(l,r),!d.disableUnderline&&r.underline]}})(({theme:l,ownerState:r})=>{let _=l.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return l.vars&&(_=`rgba(${l.vars.palette.common.onBackgroundChannel} / ${l.vars.opacity.inputUnderline})`),(0,n.A)({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(l.vars||l).palette[r.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:l.transitions.create("transform",{duration:l.transitions.duration.shorter,easing:l.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${T.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${T.A.error}`]:{"&:before, &:after":{borderBottomColor:(l.vars||l).palette.error.main}},"&:before":{borderBottom:`1px solid ${_}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:l.transitions.create("border-bottom-color",{duration:l.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${T.A.disabled}, .${T.A.error}):before`]:{borderBottom:`2px solid ${(l.vars||l).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${_}`}},[`&.${T.A.disabled}:before`]:{borderBottomStyle:"dotted"}})}),P=(0,b.Ay)(B.f3,{name:"MuiInput",slot:"Input",overridesResolver:B.Oj})({}),h=e.forwardRef(function(r,d){var _,o,a,A;const i=(0,K.A)({props:r,name:"MuiInput"}),{disableUnderline:v,components:L={},componentsProps:R,fullWidth:I=!1,inputComponent:j="input",multiline:S=!1,slotProps:U,slots:W={},type:V="text"}=i,Y=(0,s.A)(i,y),G=O(i),Q={root:{ownerState:{disableUnderline:v}}},H=(U!=null?U:R)?(0,F.A)(U!=null?U:R,Q):Q,w=(_=(o=W.root)!=null?o:L.Root)!=null?_:p,nt=(a=(A=W.input)!=null?A:L.Input)!=null?a:P;return(0,g.jsx)(B.Ay,(0,n.A)({slots:{root:w,input:nt},slotProps:H,fullWidth:I,inputComponent:j,multiline:S,ref:d,type:V},Y,{classes:G}))});h.muiName="Input";const m=h},86581:($,c,t)=>{t.d(c,{A:()=>x,B:()=>E});var s=t(58168),n=t(95227),e=t(35583),M=t(3721);function E(F){return(0,e.Ay)("MuiInput",F)}const x=(0,s.A)({},M.A,(0,n.A)("MuiInput",["root","underline","input"]))},82735:($,c,t)=>{t.d(c,{A:()=>_});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(10016),b=t(55437),K=t(74502),T=t(64186),g=t(46186),y=t(44379),O=t(48399),p=t(64922),P;const h=["children","className","component","disablePointerEvents","disableTypography","position","variant"],m=(o,a)=>{const{ownerState:A}=o;return[a.root,a[`position${(0,B.A)(A.position)}`],A.disablePointerEvents===!0&&a.disablePointerEvents,a[A.variant]]},l=o=>{const{classes:a,disablePointerEvents:A,hiddenLabel:i,position:v,size:L,variant:R}=o,I={root:["root",A&&"disablePointerEvents",v&&`position${(0,B.A)(v)}`,R,i&&"hiddenLabel",L&&`size${(0,B.A)(L)}`]};return(0,F.A)(I,y.P,a)},r=(0,g.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:m})(({theme:o,ownerState:a})=>(0,n.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(o.vars||o).palette.action.active},a.variant==="filled"&&{[`&.${y.A.positionStart}&:not(.${y.A.hiddenLabel})`]:{marginTop:16}},a.position==="start"&&{marginRight:8},a.position==="end"&&{marginLeft:8},a.disablePointerEvents===!0&&{pointerEvents:"none"})),_=e.forwardRef(function(a,A){const i=(0,O.A)({props:a,name:"MuiInputAdornment"}),{children:v,className:L,component:R="div",disablePointerEvents:I=!1,disableTypography:j=!1,position:S,variant:U}=i,W=(0,s.A)(i,h),V=(0,T.A)()||{};let Y=U;U&&V.variant,V&&!Y&&(Y=V.variant);const G=(0,n.A)({},i,{hiddenLabel:V.hiddenLabel,size:V.size,disablePointerEvents:I,position:S,variant:Y}),N=l(G);return(0,p.jsx)(K.A.Provider,{value:null,children:(0,p.jsx)(r,(0,n.A)({as:R,ownerState:G,className:(0,x.A)(N.root,L),ref:A},W,{children:typeof v=="string"&&!j?(0,p.jsx)(b.A,{color:"text.secondary",children:v}):(0,p.jsxs)(e.Fragment,{children:[S==="start"?P||(P=(0,p.jsx)("span",{className:"notranslate",children:"\u200B"})):null,v]})}))})})},44379:($,c,t)=>{t.d(c,{A:()=>E,P:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiInputAdornment",C)}const E=(0,s.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"])},14073:($,c,t)=>{t.d(c,{Ay:()=>j,Oj:()=>A,Sh:()=>v,WC:()=>a,f3:()=>L});var s=t(98587),n=t(58168),e=t(22571),M=t(28437),E=t.n(M),C=t(95973),x=t.n(C),F=t(74984),B=t(86249),b=t(21715),K=t(61809),T=t(65900),g=t(74502),y=t(64186),O=t(46186),p=t(48399),P=t(10016),h=t(48942),m=t(55432),l=t(32586),r=t(1769),d=t(3721),_=t(64922);const o=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],a=(S,U)=>{const{ownerState:W}=S;return[U.root,W.formControl&&U.formControl,W.startAdornment&&U.adornedStart,W.endAdornment&&U.adornedEnd,W.error&&U.error,W.size==="small"&&U.sizeSmall,W.multiline&&U.multiline,W.color&&U[`color${(0,P.A)(W.color)}`],W.fullWidth&&U.fullWidth,W.hiddenLabel&&U.hiddenLabel]},A=(S,U)=>{const{ownerState:W}=S;return[U.input,W.size==="small"&&U.inputSizeSmall,W.multiline&&U.inputMultiline,W.type==="search"&&U.inputTypeSearch,W.startAdornment&&U.inputAdornedStart,W.endAdornment&&U.inputAdornedEnd,W.hiddenLabel&&U.inputHiddenLabel]},i=S=>{const{classes:U,color:W,disabled:V,error:Y,endAdornment:G,focused:N,formControl:Q,fullWidth:H,hiddenLabel:w,multiline:nt,readOnly:lt,size:tt,startAdornment:ut,type:Z}=S,J={root:["root",`color${(0,P.A)(W)}`,V&&"disabled",Y&&"error",H&&"fullWidth",N&&"focused",Q&&"formControl",tt&&tt!=="medium"&&`size${(0,P.A)(tt)}`,nt&&"multiline",ut&&"adornedStart",G&&"adornedEnd",w&&"hiddenLabel",lt&&"readOnly"],input:["input",V&&"disabled",Z==="search"&&"inputTypeSearch",nt&&"inputMultiline",tt==="small"&&"inputSizeSmall",w&&"inputHiddenLabel",ut&&"inputAdornedStart",G&&"inputAdornedEnd",lt&&"readOnly"]};return(0,B.A)(J,d.g,U)},v=(0,O.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:a})(({theme:S,ownerState:U})=>(0,n.A)({},S.typography.body1,{color:(S.vars||S).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${d.A.disabled}`]:{color:(S.vars||S).palette.text.disabled,cursor:"default"}},U.multiline&&(0,n.A)({padding:"4px 0 5px"},U.size==="small"&&{paddingTop:1}),U.fullWidth&&{width:"100%"})),L=(0,O.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:A})(({theme:S,ownerState:U})=>{const W=S.palette.mode==="light",V=(0,n.A)({color:"currentColor"},S.vars?{opacity:S.vars.opacity.inputPlaceholder}:{opacity:W?.42:.5},{transition:S.transitions.create("opacity",{duration:S.transitions.duration.shorter})}),Y={opacity:"0 !important"},G=S.vars?{opacity:S.vars.opacity.inputPlaceholder}:{opacity:W?.42:.5};return(0,n.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":V,"&::-moz-placeholder":V,"&:-ms-input-placeholder":V,"&::-ms-input-placeholder":V,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${d.A.formControl} &`]:{"&::-webkit-input-placeholder":Y,"&::-moz-placeholder":Y,"&:-ms-input-placeholder":Y,"&::-ms-input-placeholder":Y,"&:focus::-webkit-input-placeholder":G,"&:focus::-moz-placeholder":G,"&:focus:-ms-input-placeholder":G,"&:focus::-ms-input-placeholder":G},[`&.${d.A.disabled}`]:{opacity:1,WebkitTextFillColor:(S.vars||S).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},U.size==="small"&&{paddingTop:1},U.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},U.type==="search"&&{MozAppearance:"textfield"})}),R=(0,_.jsx)(l.A,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),j=M.forwardRef(function(U,W){var V;const Y=(0,p.A)({props:U,name:"MuiInputBase"}),{"aria-describedby":G,autoComplete:N,autoFocus:Q,className:H,components:w={},componentsProps:nt={},defaultValue:lt,disabled:tt,disableInjectingGlobalStyles:ut,endAdornment:Z,fullWidth:J=!1,id:et,inputComponent:rt="input",inputProps:it={},inputRef:pt,maxRows:ct,minRows:ft,multiline:Tt=!1,name:Wt,onBlur:Mt,onChange:yt,onClick:st,onFocus:xt,onKeyDown:Bt,onKeyUp:Rt,placeholder:vt,readOnly:_t,renderSuffix:Pt,rows:It,slotProps:Ot={},slots:wt={},startAdornment:Vt,type:jt="text",value:$t}=Y,Nt=(0,s.A)(Y,o),Yt=it.value!=null?it.value:$t,{current:ve}=M.useRef(Yt!=null),ne=M.useRef(),ae=M.useCallback(kt=>{},[]),ie=(0,h.A)(ne,pt,it.ref,ae),[fe,se]=M.useState(!1),gt=(0,y.A)(),Dt=(0,T.A)({props:Y,muiFormControl:gt,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Dt.focused=gt?gt.focused:fe,M.useEffect(()=>{!gt&&tt&&fe&&(se(!1),Mt&&Mt())},[gt,tt,fe,Mt]);const ge=gt&>.onFilled,Ht=gt&>.onEmpty,Ft=M.useCallback(kt=>{(0,r.lq)(kt)?ge&&ge():Ht&&Ht()},[ge,Ht]);(0,m.A)(()=>{ve&&Ft({value:Yt})},[Yt,Ft,ve]);const re=kt=>{if(Dt.disabled){kt.stopPropagation();return}xt&&xt(kt),it.onFocus&&it.onFocus(kt),gt&>.onFocus?gt.onFocus(kt):se(!0)},Ae=kt=>{Mt&&Mt(kt),it.onBlur&&it.onBlur(kt),gt&>.onBlur?gt.onBlur(kt):se(!1)},de=(kt,...Le)=>{if(!ve){const Re=kt.target||ne.current;if(Re==null)throw new Error((0,e.A)(1));Ft({value:Re.value})}it.onChange&&it.onChange(kt,...Le),yt&&yt(kt,...Le)};M.useEffect(()=>{Ft(ne.current)},[]);const me=kt=>{ne.current&&kt.currentTarget===kt.target&&ne.current.focus(),st&&st(kt)};let Pe=rt,ce=it;Tt&&Pe==="input"&&(It?ce=(0,n.A)({type:void 0,minRows:It,maxRows:It},ce):ce=(0,n.A)({type:void 0,maxRows:ct,minRows:ft},ce),Pe=b.h);const Te=kt=>{Ft(kt.animationName==="mui-auto-fill-cancel"?ne.current:{value:"x"})};M.useEffect(()=>{gt&>.setAdornedStart(!!Vt)},[gt,Vt]);const Ce=(0,n.A)({},Y,{color:Dt.color||"primary",disabled:Dt.disabled,endAdornment:Z,error:Dt.error,focused:Dt.focused,formControl:gt,fullWidth:J,hiddenLabel:Dt.hiddenLabel,multiline:Tt,size:Dt.size,startAdornment:Vt,type:jt}),ye=i(Ce),te=wt.root||w.Root||v,Oe=Ot.root||nt.root||{},xe=wt.input||w.Input||L;return ce=(0,n.A)({},ce,(V=Ot.input)!=null?V:nt.input),(0,_.jsxs)(M.Fragment,{children:[!ut&&R,(0,_.jsxs)(te,(0,n.A)({},Oe,!(0,K.g)(te)&&{ownerState:(0,n.A)({},Ce,Oe.ownerState)},{ref:W,onClick:me},Nt,{className:(0,F.A)(ye.root,Oe.className,H,_t&&"MuiInputBase-readOnly"),children:[Vt,(0,_.jsx)(g.A.Provider,{value:null,children:(0,_.jsx)(xe,(0,n.A)({ownerState:Ce,"aria-invalid":Dt.error,"aria-describedby":G,autoComplete:N,autoFocus:Q,defaultValue:lt,disabled:Dt.disabled,id:et,onAnimationStart:Te,name:Wt,placeholder:vt,readOnly:_t,required:Dt.required,rows:It,value:Yt,onKeyDown:Bt,onKeyUp:Rt,type:jt},ce,!(0,K.g)(xe)&&{as:Pe,ownerState:(0,n.A)({},Ce,ce.ownerState)},{ref:ie,className:(0,F.A)(ye.input,ce.className,_t&&"MuiInputBase-readOnly"),onBlur:Ae,onChange:de,onFocus:re}))}),Z,Pt?Pt((0,n.A)({},Dt,{startAdornment:Vt})):null]}))]})})},3721:($,c,t)=>{t.d(c,{A:()=>E,g:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiInputBase",C)}const E=(0,s.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},1769:($,c,t)=>{t.d(c,{gr:()=>e,lq:()=>n});function s(M){return M!=null&&!(Array.isArray(M)&&M.length===0)}function n(M,E=!1){return M&&(s(M.value)&&M.value!==""||E&&s(M.defaultValue)&&M.defaultValue!=="")}function e(M){return M.startAdornment}},10743:($,c,t)=>{t.d(c,{A:()=>d});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(86249),F=t(74984),B=t(65900),b=t(64186),K=t(80777),T=t(21625),g=t(48399),y=t(10016),O=t(46186),p=t(16035),P=t(64922);const h=["disableAnimation","margin","shrink","variant","className"],m=_=>{const{classes:o,formControl:a,size:A,shrink:i,disableAnimation:v,variant:L,required:R}=_,I={root:["root",a&&"formControl",!v&&"animated",i&&"shrink",A&&A!=="normal"&&`size${(0,y.A)(A)}`,L],asterisk:[R&&"asterisk"]},j=(0,x.A)(I,p.R,o);return(0,n.A)({},o,j)},l=(0,O.Ay)(K.A,{shouldForwardProp:_=>(0,O.ep)(_)||_==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(_,o)=>{const{ownerState:a}=_;return[{[`& .${T.A.asterisk}`]:o.asterisk},o.root,a.formControl&&o.formControl,a.size==="small"&&o.sizeSmall,a.shrink&&o.shrink,!a.disableAnimation&&o.animated,o[a.variant]]}})(({theme:_,ownerState:o})=>(0,n.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},o.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},o.size==="small"&&{transform:"translate(0, 17px) scale(1)"},o.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!o.disableAnimation&&{transition:_.transitions.create(["color","transform","max-width"],{duration:_.transitions.duration.shorter,easing:_.transitions.easing.easeOut})},o.variant==="filled"&&(0,n.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},o.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},o.shrink&&(0,n.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},o.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),o.variant==="outlined"&&(0,n.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},o.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},o.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),d=e.forwardRef(function(o,a){const A=(0,g.A)({name:"MuiInputLabel",props:o}),{disableAnimation:i=!1,shrink:v,className:L}=A,R=(0,s.A)(A,h),I=(0,b.A)();let j=v;typeof j=="undefined"&&I&&(j=I.filled||I.focused||I.adornedStart);const S=(0,B.A)({props:A,muiFormControl:I,states:["size","variant","required"]}),U=(0,n.A)({},A,{disableAnimation:i,formControl:I,shrink:j,size:S.size,variant:S.variant,required:S.required}),W=m(U);return(0,P.jsx)(l,(0,n.A)({"data-shrink":j,ownerState:U,ref:a,className:(0,F.A)(W.root,L)},R,{classes:W}))})},16035:($,c,t)=>{t.d(c,{A:()=>E,R:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiInputLabel",C)}const E=(0,s.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"])},6319:($,c,t)=>{t.d(c,{A:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(74024),T=t(8891),g=t(64922);const y=["children","className","component","dense","disablePadding","subheader"],O=m=>{const{classes:l,disablePadding:r,dense:d,subheader:_}=m,o={root:["root",!r&&"padding",d&&"dense",_&&"subheader"]};return(0,F.A)(o,T.H,l)},p=(0,B.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(m,l)=>{const{ownerState:r}=m;return[l.root,!r.disablePadding&&l.padding,r.dense&&l.dense,r.subheader&&l.subheader]}})(({ownerState:m})=>(0,n.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!m.disablePadding&&{paddingTop:8,paddingBottom:8},m.subheader&&{paddingTop:0})),h=e.forwardRef(function(l,r){const d=(0,b.A)({props:l,name:"MuiList"}),{children:_,className:o,component:a="ul",dense:A=!1,disablePadding:i=!1,subheader:v}=d,L=(0,s.A)(d,y),R=e.useMemo(()=>({dense:A}),[A]),I=(0,n.A)({},d,{component:a,dense:A,disablePadding:i}),j=O(I);return(0,g.jsx)(K.A.Provider,{value:R,children:(0,g.jsxs)(p,(0,n.A)({as:a,className:(0,x.A)(j.root,o),ref:r,ownerState:I},L,{children:[v,_]}))})})},74024:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext({})},8891:($,c,t)=>{t.d(c,{A:()=>E,H:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiList",C)}const E=(0,s.A)("MuiList",["root","padding","dense","subheader"])},28677:($,c,t)=>{t.d(c,{Ay:()=>L});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(61809),b=t(42118),K=t(46186),T=t(48399),g=t(64571),y=t(27229),O=t(55432),p=t(48942),P=t(74024),h=t(37917),m=t(10217),l=t(18297),r=t(64922);const d=["className"],_=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],o=(R,I)=>{const{ownerState:j}=R;return[I.root,j.dense&&I.dense,j.alignItems==="flex-start"&&I.alignItemsFlexStart,j.divider&&I.divider,!j.disableGutters&&I.gutters,!j.disablePadding&&I.padding,j.button&&I.button,j.hasSecondaryAction&&I.secondaryAction]},a=R=>{const{alignItems:I,button:j,classes:S,dense:U,disabled:W,disableGutters:V,disablePadding:Y,divider:G,hasSecondaryAction:N,selected:Q}=R,H={root:["root",U&&"dense",!V&&"gutters",!Y&&"padding",G&&"divider",W&&"disabled",j&&"button",I==="flex-start"&&"alignItemsFlexStart",N&&"secondaryAction",Q&&"selected"],container:["container"]};return(0,F.A)(H,h._,S)},A=(0,K.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:o})(({theme:R,ownerState:I})=>(0,n.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!I.disablePadding&&(0,n.A)({paddingTop:8,paddingBottom:8},I.dense&&{paddingTop:4,paddingBottom:4},!I.disableGutters&&{paddingLeft:16,paddingRight:16},!!I.secondaryAction&&{paddingRight:48}),!!I.secondaryAction&&{[`& > .${m.A.root}`]:{paddingRight:48}},{[`&.${h.A.focusVisible}`]:{backgroundColor:(R.vars||R).palette.action.focus},[`&.${h.A.selected}`]:{backgroundColor:R.vars?`rgba(${R.vars.palette.primary.mainChannel} / ${R.vars.palette.action.selectedOpacity})`:(0,b.X4)(R.palette.primary.main,R.palette.action.selectedOpacity),[`&.${h.A.focusVisible}`]:{backgroundColor:R.vars?`rgba(${R.vars.palette.primary.mainChannel} / calc(${R.vars.palette.action.selectedOpacity} + ${R.vars.palette.action.focusOpacity}))`:(0,b.X4)(R.palette.primary.main,R.palette.action.selectedOpacity+R.palette.action.focusOpacity)}},[`&.${h.A.disabled}`]:{opacity:(R.vars||R).palette.action.disabledOpacity}},I.alignItems==="flex-start"&&{alignItems:"flex-start"},I.divider&&{borderBottom:`1px solid ${(R.vars||R).palette.divider}`,backgroundClip:"padding-box"},I.button&&{transition:R.transitions.create("background-color",{duration:R.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(R.vars||R).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${h.A.selected}:hover`]:{backgroundColor:R.vars?`rgba(${R.vars.palette.primary.mainChannel} / calc(${R.vars.palette.action.selectedOpacity} + ${R.vars.palette.action.hoverOpacity}))`:(0,b.X4)(R.palette.primary.main,R.palette.action.selectedOpacity+R.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:R.vars?`rgba(${R.vars.palette.primary.mainChannel} / ${R.vars.palette.action.selectedOpacity})`:(0,b.X4)(R.palette.primary.main,R.palette.action.selectedOpacity)}}},I.hasSecondaryAction&&{paddingRight:48})),i=(0,K.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(R,I)=>I.container})({position:"relative"}),L=e.forwardRef(function(I,j){const S=(0,T.A)({props:I,name:"MuiListItem"}),{alignItems:U="center",autoFocus:W=!1,button:V=!1,children:Y,className:G,component:N,components:Q={},componentsProps:H={},ContainerComponent:w="li",ContainerProps:{className:nt}={},dense:lt=!1,disabled:tt=!1,disableGutters:ut=!1,disablePadding:Z=!1,divider:J=!1,focusVisibleClassName:et,secondaryAction:rt,selected:it=!1,slotProps:pt={},slots:ct={}}=S,ft=(0,s.A)(S.ContainerProps,d),Tt=(0,s.A)(S,_),Wt=e.useContext(P.A),Mt=e.useMemo(()=>({dense:lt||Wt.dense||!1,alignItems:U,disableGutters:ut}),[U,Wt.dense,lt,ut]),yt=e.useRef(null);(0,O.A)(()=>{W&&yt.current&&yt.current.focus()},[W]);const st=e.Children.toArray(Y),xt=st.length&&(0,y.A)(st[st.length-1],["ListItemSecondaryAction"]),Bt=(0,n.A)({},S,{alignItems:U,autoFocus:W,button:V,dense:Mt.dense,disabled:tt,disableGutters:ut,disablePadding:Z,divider:J,hasSecondaryAction:xt,selected:it}),Rt=a(Bt),vt=(0,p.A)(yt,j),_t=ct.root||Q.Root||A,Pt=pt.root||H.root||{},It=(0,n.A)({className:(0,x.A)(Rt.root,Pt.className,G),disabled:tt},Tt);let Ot=N||"li";return V&&(It.component=N||"div",It.focusVisibleClassName=(0,x.A)(h.A.focusVisible,et),Ot=g.A),xt?(Ot=!It.component&&!N?"div":Ot,w==="li"&&(Ot==="li"?Ot="div":It.component==="li"&&(It.component="div")),(0,r.jsx)(P.A.Provider,{value:Mt,children:(0,r.jsxs)(i,(0,n.A)({as:w,className:(0,x.A)(Rt.container,nt),ref:vt,ownerState:Bt},ft,{children:[(0,r.jsx)(_t,(0,n.A)({},Pt,!(0,B.g)(_t)&&{as:Ot,ownerState:(0,n.A)({},Bt,Pt.ownerState)},It,{children:st})),st.pop()]}))})):(0,r.jsx)(P.A.Provider,{value:Mt,children:(0,r.jsxs)(_t,(0,n.A)({},Pt,{as:Ot,ref:vt},!(0,B.g)(_t)&&{ownerState:(0,n.A)({},Bt,Pt.ownerState)},It,{children:[st,rt&&(0,r.jsx)(l.A,{children:rt})]}))})})},37917:($,c,t)=>{t.d(c,{A:()=>E,_:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItem",C)}const E=(0,s.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"])},10217:($,c,t)=>{t.d(c,{A:()=>E,Y:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItemButton",C)}const E=(0,s.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},89883:($,c,t)=>{t.d(c,{A:()=>E,f:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItemIcon",C)}const E=(0,s.A)("MuiListItemIcon",["root","alignItemsFlexStart"])},18297:($,c,t)=>{t.d(c,{A:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(74024),T=t(52201),g=t(64922);const y=["className"],O=m=>{const{disableGutters:l,classes:r}=m,d={root:["root",l&&"disableGutters"]};return(0,F.A)(d,T.g,r)},p=(0,B.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(m,l)=>{const{ownerState:r}=m;return[l.root,r.disableGutters&&l.disableGutters]}})(({ownerState:m})=>(0,n.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},m.disableGutters&&{right:0})),P=e.forwardRef(function(l,r){const d=(0,b.A)({props:l,name:"MuiListItemSecondaryAction"}),{className:_}=d,o=(0,s.A)(d,y),a=e.useContext(K.A),A=(0,n.A)({},d,{disableGutters:a.disableGutters}),i=O(A);return(0,g.jsx)(p,(0,n.A)({className:(0,x.A)(i.root,_),ownerState:A,ref:r},o))});P.muiName="ListItemSecondaryAction";const h=P},52201:($,c,t)=>{t.d(c,{A:()=>E,g:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItemSecondaryAction",C)}const E=(0,s.A)("MuiListItemSecondaryAction",["root","disableGutters"])},86019:($,c,t)=>{t.d(c,{A:()=>E,b:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItemText",C)}const E=(0,s.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},87189:($,c,t)=>{t.d(c,{A:()=>i});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(98529),C=t(95973),x=t.n(C),F=t(74984),B=t(86249),b=t(67388),K=t(80705),T=t(2933),g=t(46186),y=t(89437),O=t(48399),p=t(37581),P=t(64922);const h=["onEntering"],m=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],l={vertical:"top",horizontal:"right"},r={vertical:"top",horizontal:"left"},d=v=>{const{classes:L}=v,R={root:["root"],paper:["paper"],list:["list"]};return(0,B.A)(R,p.e,L)},_=(0,g.Ay)(T.Ay,{shouldForwardProp:v=>(0,g.ep)(v)||v==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(v,L)=>L.root})({}),o=(0,g.Ay)(T.IJ,{name:"MuiMenu",slot:"Paper",overridesResolver:(v,L)=>L.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),a=(0,g.Ay)(K.A,{name:"MuiMenu",slot:"List",overridesResolver:(v,L)=>L.list})({outline:0}),i=e.forwardRef(function(L,R){var I,j;const S=(0,O.A)({props:L,name:"MuiMenu"}),{autoFocus:U=!0,children:W,className:V,disableAutoFocusItem:Y=!1,MenuListProps:G={},onClose:N,open:Q,PaperProps:H={},PopoverClasses:w,transitionDuration:nt="auto",TransitionProps:{onEntering:lt}={},variant:tt="selectedMenu",slots:ut={},slotProps:Z={}}=S,J=(0,n.A)(S.TransitionProps,h),et=(0,n.A)(S,m),rt=(0,y.A)(),it=rt.direction==="rtl",pt=(0,s.A)({},S,{autoFocus:U,disableAutoFocusItem:Y,MenuListProps:G,onEntering:lt,PaperProps:H,transitionDuration:nt,TransitionProps:J,variant:tt}),ct=d(pt),ft=U&&!Y&&Q,Tt=e.useRef(null),Wt=(vt,_t)=>{Tt.current&&Tt.current.adjustStyleForScrollbar(vt,rt),lt&<(vt,_t)},Mt=vt=>{vt.key==="Tab"&&(vt.preventDefault(),N&&N(vt,"tabKeyDown"))};let yt=-1;e.Children.map(W,(vt,_t)=>{e.isValidElement(vt)&&(vt.props.disabled||(tt==="selectedMenu"&&vt.props.selected||yt===-1)&&(yt=_t))});const st=(I=ut.paper)!=null?I:o,xt=(j=Z.paper)!=null?j:H,Bt=(0,b.Q)({elementType:ut.root,externalSlotProps:Z.root,ownerState:pt,className:[ct.root,V]}),Rt=(0,b.Q)({elementType:st,externalSlotProps:xt,ownerState:pt,className:ct.paper});return(0,P.jsx)(_,(0,s.A)({onClose:N,anchorOrigin:{vertical:"bottom",horizontal:it?"right":"left"},transformOrigin:it?l:r,slots:{paper:st,root:ut.root},slotProps:{root:Bt,paper:Rt},open:Q,ref:R,transitionDuration:nt,TransitionProps:(0,s.A)({onEntering:Wt},J),ownerState:pt},et,{classes:w,children:(0,P.jsx)(a,(0,s.A)({onKeyDown:Mt,actions:Tt,autoFocus:U&&(yt===-1||Y),autoFocusItem:ft,variant:tt},G,{className:(0,F.A)(ct.list,G.className),children:W}))}))})},37581:($,c,t)=>{t.d(c,{A:()=>E,e:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiMenu",C)}const E=(0,s.A)("MuiMenu",["root","paper","list"])},25471:($,c,t)=>{t.d(c,{A:()=>A});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(42118),b=t(46186),K=t(48399),T=t(74024),g=t(64571),y=t(55432),O=t(48942),p=t(72733),P=t(89883),h=t(86019),m=t(96363),l=t(64922);const r=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],d=(i,v)=>{const{ownerState:L}=i;return[v.root,L.dense&&v.dense,L.divider&&v.divider,!L.disableGutters&&v.gutters]},_=i=>{const{disabled:v,dense:L,divider:R,disableGutters:I,selected:j,classes:S}=i,U={root:["root",L&&"dense",v&&"disabled",!I&&"gutters",R&&"divider",j&&"selected"]},W=(0,F.A)(U,m.Z,S);return(0,n.A)({},S,W)},o=(0,b.Ay)(g.A,{shouldForwardProp:i=>(0,b.ep)(i)||i==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:d})(({theme:i,ownerState:v})=>(0,n.A)({},i.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!v.disableGutters&&{paddingLeft:16,paddingRight:16},v.divider&&{borderBottom:`1px solid ${(i.vars||i).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(i.vars||i).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.A.selected}`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / ${i.vars.palette.action.selectedOpacity})`:(0,B.X4)(i.palette.primary.main,i.palette.action.selectedOpacity),[`&.${m.A.focusVisible}`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / calc(${i.vars.palette.action.selectedOpacity} + ${i.vars.palette.action.focusOpacity}))`:(0,B.X4)(i.palette.primary.main,i.palette.action.selectedOpacity+i.palette.action.focusOpacity)}},[`&.${m.A.selected}:hover`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / calc(${i.vars.palette.action.selectedOpacity} + ${i.vars.palette.action.hoverOpacity}))`:(0,B.X4)(i.palette.primary.main,i.palette.action.selectedOpacity+i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / ${i.vars.palette.action.selectedOpacity})`:(0,B.X4)(i.palette.primary.main,i.palette.action.selectedOpacity)}},[`&.${m.A.focusVisible}`]:{backgroundColor:(i.vars||i).palette.action.focus},[`&.${m.A.disabled}`]:{opacity:(i.vars||i).palette.action.disabledOpacity},[`& + .${p.A.root}`]:{marginTop:i.spacing(1),marginBottom:i.spacing(1)},[`& + .${p.A.inset}`]:{marginLeft:52},[`& .${h.A.root}`]:{marginTop:0,marginBottom:0},[`& .${h.A.inset}`]:{paddingLeft:36},[`& .${P.A.root}`]:{minWidth:36}},!v.dense&&{[i.breakpoints.up("sm")]:{minHeight:"auto"}},v.dense&&(0,n.A)({minHeight:32,paddingTop:4,paddingBottom:4},i.typography.body2,{[`& .${P.A.root} svg`]:{fontSize:"1.25rem"}}))),A=e.forwardRef(function(v,L){const R=(0,K.A)({props:v,name:"MuiMenuItem"}),{autoFocus:I=!1,component:j="li",dense:S=!1,divider:U=!1,disableGutters:W=!1,focusVisibleClassName:V,role:Y="menuitem",tabIndex:G,className:N}=R,Q=(0,s.A)(R,r),H=e.useContext(T.A),w=e.useMemo(()=>({dense:S||H.dense||!1,disableGutters:W}),[H.dense,S,W]),nt=e.useRef(null);(0,y.A)(()=>{I&&nt.current&&nt.current.focus()},[I]);const lt=(0,n.A)({},R,{dense:w.dense,divider:U,disableGutters:W}),tt=_(R),ut=(0,O.A)(nt,L);let Z;return R.disabled||(Z=G!==void 0?G:-1),(0,l.jsx)(T.A.Provider,{value:w,children:(0,l.jsx)(o,(0,n.A)({ref:ut,role:Y,tabIndex:Z,component:j,focusVisibleClassName:(0,x.A)(tt.focusVisible,V),className:(0,x.A)(tt.root,N)},Q,{ownerState:lt,classes:tt}))})})},96363:($,c,t)=>{t.d(c,{A:()=>E,Z:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiMenuItem",C)}const E=(0,s.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"])},80705:($,c,t)=>{t.d(c,{A:()=>m});var s=t(58168),n=t(98587),e=t(28437),M=t(98529),E=t(95973),C=t(97862),x=t(6319),F=t(40451);const B=F.A;var b=t(48942),K=t(55432),T=t(64922);const g=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function y(l,r,d){return l===r?l.firstChild:r&&r.nextElementSibling?r.nextElementSibling:d?null:l.firstChild}function O(l,r,d){return l===r?d?l.firstChild:l.lastChild:r&&r.previousElementSibling?r.previousElementSibling:d?null:l.lastChild}function p(l,r){if(r===void 0)return!0;let d=l.innerText;return d===void 0&&(d=l.textContent),d=d.trim().toLowerCase(),d.length===0?!1:r.repeating?d[0]===r.keys[0]:d.indexOf(r.keys.join(""))===0}function P(l,r,d,_,o,a){let A=!1,i=o(l,r,r?d:!1);for(;i;){if(i===l.firstChild){if(A)return!1;A=!0}const v=_?!1:i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||!p(i,a)||v)i=o(l,i,d);else return i.focus(),!0}return!1}const m=e.forwardRef(function(r,d){const{actions:_,autoFocus:o=!1,autoFocusItem:a=!1,children:A,className:i,disabledItemsFocusable:v=!1,disableListWrap:L=!1,onKeyDown:R,variant:I="selectedMenu"}=r,j=(0,n.A)(r,g),S=e.useRef(null),U=e.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,K.A)(()=>{o&&S.current.focus()},[o]),e.useImperativeHandle(_,()=>({adjustStyleForScrollbar:(N,Q)=>{const H=!S.current.style.width;if(N.clientHeight{const Q=S.current,H=N.key,w=(0,C.A)(Q).activeElement;if(H==="ArrowDown")N.preventDefault(),P(Q,w,L,v,y);else if(H==="ArrowUp")N.preventDefault(),P(Q,w,L,v,O);else if(H==="Home")N.preventDefault(),P(Q,null,L,v,y);else if(H==="End")N.preventDefault(),P(Q,null,L,v,O);else if(H.length===1){const nt=U.current,lt=H.toLowerCase(),tt=performance.now();nt.keys.length>0&&(tt-nt.lastTime>500?(nt.keys=[],nt.repeating=!0,nt.previousKeyMatched=!0):nt.repeating&<!==nt.keys[0]&&(nt.repeating=!1)),nt.lastTime=tt,nt.keys.push(lt);const ut=w&&!nt.repeating&&p(w,nt);nt.previousKeyMatched&&(ut||P(Q,w,!1,v,y,nt))?N.preventDefault():nt.previousKeyMatched=!1}R&&R(N)},V=(0,b.A)(S,d);let Y=-1;e.Children.forEach(A,(N,Q)=>{if(!e.isValidElement(N)){Y===Q&&(Y+=1,Y>=A.length&&(Y=-1));return}N.props.disabled||(I==="selectedMenu"&&N.props.selected||Y===-1)&&(Y=Q),Y===Q&&(N.props.disabled||N.props.muiSkipListHighlight||N.type.muiSkipListHighlight)&&(Y+=1,Y>=A.length&&(Y=-1))});const G=e.Children.map(A,(N,Q)=>{if(Q===Y){const H={};return a&&(H.autoFocus=!0),N.props.tabIndex===void 0&&I==="selectedMenu"&&(H.tabIndex=0),e.cloneElement(N,H)}return N});return(0,T.jsx)(x.A,(0,s.A)({role:"menu",ref:V,className:i,onKeyDown:W,tabIndex:o?0:-1},j,{children:G}))})},10083:($,c,t)=>{t.d(c,{A:()=>R});var s=t(98587),n=t(58168),e=t(28437),M=t(95973),E=t(74984),C=t(67388),x=t(33769),F=t(41011),B=t(16745),b=t(64639),K=t(12924),T=t(38354);function g(I){return typeof I=="function"?I():I}function y(I){return I?I.props.hasOwnProperty("in"):!1}const O=new T.P;function p(I){const{container:j,disableEscapeKeyDown:S=!1,disableScrollLock:U=!1,manager:W=O,closeAfterTransition:V=!1,onTransitionEnter:Y,onTransitionExited:G,children:N,onClose:Q,open:H,rootRef:w}=I,nt=e.useRef({}),lt=e.useRef(null),tt=e.useRef(null),ut=(0,x.A)(tt,w),[Z,J]=e.useState(!H),et=y(N);let rt=!0;(I["aria-hidden"]==="false"||I["aria-hidden"]===!1)&&(rt=!1);const it=()=>(0,F.A)(lt.current),pt=()=>(nt.current.modalRef=tt.current,nt.current.mount=lt.current,nt.current),ct=()=>{W.mount(pt(),{disableScrollLock:U}),tt.current&&(tt.current.scrollTop=0)},ft=(0,B.A)(()=>{const vt=g(j)||it().body;W.add(pt(),vt),tt.current&&ct()}),Tt=e.useCallback(()=>W.isTopModal(pt()),[W]),Wt=(0,B.A)(vt=>{lt.current=vt,vt&&(H&&Tt()?ct():tt.current&&(0,T.M)(tt.current,rt))}),Mt=e.useCallback(()=>{W.remove(pt(),rt)},[rt,W]);e.useEffect(()=>()=>{Mt()},[Mt]),e.useEffect(()=>{H?ft():(!et||!V)&&Mt()},[H,Mt,et,V,ft]);const yt=vt=>_t=>{var Pt;(Pt=vt.onKeyDown)==null||Pt.call(vt,_t),!(_t.key!=="Escape"||!Tt())&&(S||(_t.stopPropagation(),Q&&Q(_t,"escapeKeyDown")))},st=vt=>_t=>{var Pt;(Pt=vt.onClick)==null||Pt.call(vt,_t),_t.target===_t.currentTarget&&Q&&Q(_t,"backdropClick")};return{getRootProps:(vt={})=>{const _t=(0,K.h)(I);delete _t.onTransitionEnter,delete _t.onTransitionExited;const Pt=(0,n.A)({},_t,vt);return(0,n.A)({role:"presentation"},Pt,{onKeyDown:yt(Pt),ref:ut})},getBackdropProps:(vt={})=>{const _t=vt;return(0,n.A)({"aria-hidden":!0},_t,{onClick:st(_t),open:H})},getTransitionProps:()=>{const vt=()=>{J(!1),Y&&Y()},_t=()=>{J(!0),G&&G(),V&&Mt()};return{onEnter:(0,b.A)(vt,N==null?void 0:N.props.onEnter),onExited:(0,b.A)(_t,N==null?void 0:N.props.onExited)}},rootRef:ut,portalRef:Wt,isTopModal:Tt,exited:Z,hasTransition:et}}var P=t(86249),h=t(58289),m=t(75415),l=t(46186),r=t(48399),d=t(51739),_=t(809),o=t(64922);const a=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],A=I=>{const{open:j,exited:S,classes:U}=I,W={root:["root",!j&&S&&"hidden"],backdrop:["backdrop"]};return(0,P.A)(W,_.M,U)},i=(0,l.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(I,j)=>{const{ownerState:S}=I;return[j.root,!S.open&&S.exited&&j.hidden]}})(({theme:I,ownerState:j})=>(0,n.A)({position:"fixed",zIndex:(I.vars||I).zIndex.modal,right:0,bottom:0,top:0,left:0},!j.open&&j.exited&&{visibility:"hidden"})),v=(0,l.Ay)(d.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(I,j)=>j.backdrop})({zIndex:-1}),R=e.forwardRef(function(j,S){var U,W,V,Y,G,N;const Q=(0,r.A)({name:"MuiModal",props:j}),{BackdropComponent:H=v,BackdropProps:w,className:nt,closeAfterTransition:lt=!1,children:tt,container:ut,component:Z,components:J={},componentsProps:et={},disableAutoFocus:rt=!1,disableEnforceFocus:it=!1,disableEscapeKeyDown:pt=!1,disablePortal:ct=!1,disableRestoreFocus:ft=!1,disableScrollLock:Tt=!1,hideBackdrop:Wt=!1,keepMounted:Mt=!1,onBackdropClick:yt,open:st,slotProps:xt,slots:Bt}=Q,Rt=(0,s.A)(Q,a),vt=(0,n.A)({},Q,{closeAfterTransition:lt,disableAutoFocus:rt,disableEnforceFocus:it,disableEscapeKeyDown:pt,disablePortal:ct,disableRestoreFocus:ft,disableScrollLock:Tt,hideBackdrop:Wt,keepMounted:Mt}),{getRootProps:_t,getBackdropProps:Pt,getTransitionProps:It,portalRef:Ot,isTopModal:wt,exited:Vt,hasTransition:jt}=p((0,n.A)({},vt,{rootRef:S})),$t=(0,n.A)({},vt,{exited:Vt}),Nt=A($t),Yt={};if(tt.props.tabIndex===void 0&&(Yt.tabIndex="-1"),jt){const{onEnter:gt,onExited:Dt}=It();Yt.onEnter=gt,Yt.onExited=Dt}const ve=(U=(W=Bt==null?void 0:Bt.root)!=null?W:J.Root)!=null?U:i,ne=(V=(Y=Bt==null?void 0:Bt.backdrop)!=null?Y:J.Backdrop)!=null?V:H,ae=(G=xt==null?void 0:xt.root)!=null?G:et.root,ie=(N=xt==null?void 0:xt.backdrop)!=null?N:et.backdrop,fe=(0,C.Q)({elementType:ve,externalSlotProps:ae,externalForwardedProps:Rt,getSlotProps:_t,additionalProps:{ref:S,as:Z},ownerState:$t,className:(0,E.A)(nt,ae==null?void 0:ae.className,Nt==null?void 0:Nt.root,!$t.open&&$t.exited&&(Nt==null?void 0:Nt.hidden))}),se=(0,C.Q)({elementType:ne,externalSlotProps:ie,additionalProps:w,getSlotProps:gt=>Pt((0,n.A)({},gt,{onClick:Dt=>{yt&&yt(Dt),gt!=null&>.onClick&>.onClick(Dt)}})),className:(0,E.A)(ie==null?void 0:ie.className,w==null?void 0:w.className,Nt==null?void 0:Nt.backdrop),ownerState:$t});return!Mt&&!st&&(!jt||Vt)?null:(0,o.jsx)(m.Z,{ref:Ot,container:ut,disablePortal:ct,children:(0,o.jsxs)(ve,(0,n.A)({},fe,{children:[!Wt&&H?(0,o.jsx)(ne,(0,n.A)({},se)):null,(0,o.jsx)(h.s,{disableEnforceFocus:it,disableAutoFocus:rt,disableRestoreFocus:ft,isEnabled:wt,open:st,children:e.cloneElement(tt,Yt)})]}))})})},809:($,c,t)=>{t.d(c,{A:()=>E,M:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiModal",C)}const E=(0,s.A)("MuiModal",["root","hidden","backdrop"])},33157:($,c,t)=>{t.d(c,{Ay:()=>l,Ku:()=>O,XV:()=>P});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(10016),b=t(49401),K=t(46186),T=t(64922);const g=["className","disabled","error","IconComponent","inputRef","variant"],y=r=>{const{classes:d,variant:_,disabled:o,multiple:a,open:A,error:i}=r,v={select:["select",_,o&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${(0,B.A)(_)}`,A&&"iconOpen",o&&"disabled"]};return(0,F.A)(v,b.w,d)},O=({ownerState:r,theme:d})=>(0,n.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,n.A)({},d.vars?{backgroundColor:`rgba(${d.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:d.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${b.A.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(d.vars||d).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},r.variant==="filled"&&{"&&&":{paddingRight:32}},r.variant==="outlined"&&{borderRadius:(d.vars||d).shape.borderRadius,"&:focus":{borderRadius:(d.vars||d).shape.borderRadius},"&&&":{paddingRight:32}}),p=(0,K.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:K.ep,overridesResolver:(r,d)=>{const{ownerState:_}=r;return[d.select,d[_.variant],_.error&&d.error,{[`&.${b.A.multiple}`]:d.multiple}]}})(O),P=({ownerState:r,theme:d})=>(0,n.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(d.vars||d).palette.action.active,[`&.${b.A.disabled}`]:{color:(d.vars||d).palette.action.disabled}},r.open&&{transform:"rotate(180deg)"},r.variant==="filled"&&{right:7},r.variant==="outlined"&&{right:7}),h=(0,K.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(r,d)=>{const{ownerState:_}=r;return[d.icon,_.variant&&d[`icon${(0,B.A)(_.variant)}`],_.open&&d.iconOpen]}})(P),l=e.forwardRef(function(d,_){const{className:o,disabled:a,error:A,IconComponent:i,inputRef:v,variant:L="standard"}=d,R=(0,s.A)(d,g),I=(0,n.A)({},d,{disabled:a,variant:L,error:A}),j=y(I);return(0,T.jsxs)(e.Fragment,{children:[(0,T.jsx)(p,(0,n.A)({ownerState:I,className:(0,x.A)(j.select,o),disabled:a,ref:v||_},R)),d.multiple?null:(0,T.jsx)(h,{as:i,ownerState:I,className:j.icon})]})})},49401:($,c,t)=>{t.d(c,{A:()=>E,w:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiNativeSelect",C)}const E=(0,s.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},64926:($,c,t)=>{t.d(c,{A:()=>o});var s=t(98587),n=t(58168),e=t(28437),M=t(95973),E=t(86249),C=t(46186),x=t(64922),F;const B=["children","classes","className","label","notched"],b=(0,C.Ay)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),K=(0,C.Ay)("legend")(({ownerState:a,theme:A})=>(0,n.A)({float:"unset",width:"auto",overflow:"hidden"},!a.withLabel&&{padding:0,lineHeight:"11px",transition:A.transitions.create("width",{duration:150,easing:A.transitions.easing.easeOut})},a.withLabel&&(0,n.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:A.transitions.create("max-width",{duration:50,easing:A.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},a.notched&&{maxWidth:"100%",transition:A.transitions.create("max-width",{duration:100,easing:A.transitions.easing.easeOut,delay:50})})));function T(a){const{className:A,label:i,notched:v}=a,L=(0,s.A)(a,B),R=i!=null&&i!=="",I=(0,n.A)({},a,{notched:v,withLabel:R});return(0,x.jsx)(b,(0,n.A)({"aria-hidden":!0,className:A,ownerState:I},L,{children:(0,x.jsx)(K,{ownerState:I,children:R?(0,x.jsx)("span",{children:i}):F||(F=(0,x.jsx)("span",{className:"notranslate",children:"\u200B"}))})}))}var g=t(64186),y=t(65900),O=t(73393),p=t(14073),P=t(48399);const h=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],m=a=>{const{classes:A}=a,i={root:["root"],notchedOutline:["notchedOutline"],input:["input"]},v=(0,E.A)(i,O.v,A);return(0,n.A)({},A,v)},l=(0,C.Ay)(p.Sh,{shouldForwardProp:a=>(0,C.ep)(a)||a==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:p.WC})(({theme:a,ownerState:A})=>{const i=a.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,n.A)({position:"relative",borderRadius:(a.vars||a).shape.borderRadius,[`&:hover .${O.A.notchedOutline}`]:{borderColor:(a.vars||a).palette.text.primary},"@media (hover: none)":{[`&:hover .${O.A.notchedOutline}`]:{borderColor:a.vars?`rgba(${a.vars.palette.common.onBackgroundChannel} / 0.23)`:i}},[`&.${O.A.focused} .${O.A.notchedOutline}`]:{borderColor:(a.vars||a).palette[A.color].main,borderWidth:2},[`&.${O.A.error} .${O.A.notchedOutline}`]:{borderColor:(a.vars||a).palette.error.main},[`&.${O.A.disabled} .${O.A.notchedOutline}`]:{borderColor:(a.vars||a).palette.action.disabled}},A.startAdornment&&{paddingLeft:14},A.endAdornment&&{paddingRight:14},A.multiline&&(0,n.A)({padding:"16.5px 14px"},A.size==="small"&&{padding:"8.5px 14px"}))}),r=(0,C.Ay)(T,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(a,A)=>A.notchedOutline})(({theme:a})=>{const A=a.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:a.vars?`rgba(${a.vars.palette.common.onBackgroundChannel} / 0.23)`:A}}),d=(0,C.Ay)(p.f3,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:p.Oj})(({theme:a,ownerState:A})=>(0,n.A)({padding:"16.5px 14px"},!a.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:a.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:a.palette.mode==="light"?null:"#fff",caretColor:a.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},a.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[a.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},A.size==="small"&&{padding:"8.5px 14px"},A.multiline&&{padding:0},A.startAdornment&&{paddingLeft:0},A.endAdornment&&{paddingRight:0})),_=e.forwardRef(function(A,i){var v,L,R,I,j;const S=(0,P.A)({props:A,name:"MuiOutlinedInput"}),{components:U={},fullWidth:W=!1,inputComponent:V="input",label:Y,multiline:G=!1,notched:N,slots:Q={},type:H="text"}=S,w=(0,s.A)(S,h),nt=m(S),lt=(0,g.A)(),tt=(0,y.A)({props:S,muiFormControl:lt,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),ut=(0,n.A)({},S,{color:tt.color||"primary",disabled:tt.disabled,error:tt.error,focused:tt.focused,formControl:lt,fullWidth:W,hiddenLabel:tt.hiddenLabel,multiline:G,size:tt.size,type:H}),Z=(v=(L=Q.root)!=null?L:U.Root)!=null?v:l,J=(R=(I=Q.input)!=null?I:U.Input)!=null?R:d;return(0,x.jsx)(p.Ay,(0,n.A)({slots:{root:Z,input:J},renderSuffix:et=>(0,x.jsx)(r,{ownerState:ut,className:nt.notchedOutline,label:Y!=null&&Y!==""&&tt.required?j||(j=(0,x.jsxs)(e.Fragment,{children:[Y,"\u2009","*"]})):Y,notched:typeof N!="undefined"?N:!!(et.startAdornment||et.filled||et.focused)}),fullWidth:W,inputComponent:V,multiline:G,ref:i,type:H},w,{classes:(0,n.A)({},nt,{notchedOutline:null})}))});_.muiName="Input";const o=_},73393:($,c,t)=>{t.d(c,{A:()=>x,v:()=>E});var s=t(58168),n=t(95227),e=t(35583),M=t(3721);function E(F){return(0,e.Ay)("MuiOutlinedInput",F)}const x=(0,s.A)({},M.A,(0,n.A)("MuiOutlinedInput",["root","notchedOutline","input"]))},21593:($,c,t)=>{t.d(c,{A:()=>m});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(42118),b=t(46186),K=t(65417),T=t(48399),g=t(81161),y=t(64922);const O=["className","component","elevation","square","variant"],p=l=>{const{square:r,elevation:d,variant:_,classes:o}=l,a={root:["root",_,!r&&"rounded",_==="elevation"&&`elevation${d}`]};return(0,F.A)(a,g.j,o)},P=(0,b.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(l,r)=>{const{ownerState:d}=l;return[r.root,r[d.variant],!d.square&&r.rounded,d.variant==="elevation"&&r[`elevation${d.elevation}`]]}})(({theme:l,ownerState:r})=>{var d;return(0,n.A)({backgroundColor:(l.vars||l).palette.background.paper,color:(l.vars||l).palette.text.primary,transition:l.transitions.create("box-shadow")},!r.square&&{borderRadius:l.shape.borderRadius},r.variant==="outlined"&&{border:`1px solid ${(l.vars||l).palette.divider}`},r.variant==="elevation"&&(0,n.A)({boxShadow:(l.vars||l).shadows[r.elevation]},!l.vars&&l.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${(0,B.X4)("#fff",(0,K.A)(r.elevation))}, ${(0,B.X4)("#fff",(0,K.A)(r.elevation))})`},l.vars&&{backgroundImage:(d=l.vars.overlays)==null?void 0:d[r.elevation]}))}),m=e.forwardRef(function(r,d){const _=(0,T.A)({props:r,name:"MuiPaper"}),{className:o,component:a="div",elevation:A=1,square:i=!1,variant:v="elevation"}=_,L=(0,s.A)(_,O),R=(0,n.A)({},_,{component:a,elevation:A,square:i,variant:v}),I=p(R);return(0,y.jsx)(P,(0,n.A)({as:a,ownerState:R,className:(0,x.A)(I.root,o),ref:d},L))})},81161:($,c,t)=>{t.d(c,{A:()=>E,j:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiPaper",C)}const E=(0,s.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"])},2933:($,c,t)=>{t.d(c,{Ay:()=>S,Dy:()=>a,IJ:()=>I,fB:()=>A,yt:()=>R});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(67388),b=t(61809),K=t(46186),T=t(48399),g=t(91429),y=t(97862),O=t(94311),p=t(48942),P=t(86193),h=t(10083),m=t(21593),l=t(38765),r=t(64922);const d=["onEntering"],_=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],o=["slotProps"];function a(U,W){let V=0;return typeof W=="number"?V=W:W==="center"?V=U.height/2:W==="bottom"&&(V=U.height),V}function A(U,W){let V=0;return typeof W=="number"?V=W:W==="center"?V=U.width/2:W==="right"&&(V=U.width),V}function i(U){return[U.horizontal,U.vertical].map(W=>typeof W=="number"?`${W}px`:W).join(" ")}function v(U){return typeof U=="function"?U():U}const L=U=>{const{classes:W}=U,V={root:["root"],paper:["paper"]};return(0,F.A)(V,l.K,W)},R=(0,K.Ay)(h.A,{name:"MuiPopover",slot:"Root",overridesResolver:(U,W)=>W.root})({}),I=(0,K.Ay)(m.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(U,W)=>W.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),S=e.forwardRef(function(W,V){var Y,G,N;const Q=(0,T.A)({props:W,name:"MuiPopover"}),{action:H,anchorEl:w,anchorOrigin:nt={vertical:"top",horizontal:"left"},anchorPosition:lt,anchorReference:tt="anchorEl",children:ut,className:Z,container:J,elevation:et=8,marginThreshold:rt=16,open:it,PaperProps:pt={},slots:ct,slotProps:ft,transformOrigin:Tt={vertical:"top",horizontal:"left"},TransitionComponent:Wt=P.A,transitionDuration:Mt="auto",TransitionProps:{onEntering:yt}={},disableScrollLock:st=!1}=Q,xt=(0,n.A)(Q.TransitionProps,d),Bt=(0,n.A)(Q,_),Rt=(Y=ft==null?void 0:ft.paper)!=null?Y:pt,vt=e.useRef(),_t=(0,p.A)(vt,Rt.ref),Pt=(0,s.A)({},Q,{anchorOrigin:nt,anchorReference:tt,elevation:et,marginThreshold:rt,externalPaperSlotProps:Rt,transformOrigin:Tt,TransitionComponent:Wt,transitionDuration:Mt,TransitionProps:xt}),It=L(Pt),Ot=e.useCallback(()=>{if(tt==="anchorPosition")return lt;const Ht=v(w),re=(Ht&&Ht.nodeType===1?Ht:(0,y.A)(vt.current).body).getBoundingClientRect();return{top:re.top+a(re,nt.vertical),left:re.left+A(re,nt.horizontal)}},[w,nt.horizontal,nt.vertical,lt,tt]),wt=e.useCallback(Ht=>({vertical:a(Ht,Tt.vertical),horizontal:A(Ht,Tt.horizontal)}),[Tt.horizontal,Tt.vertical]),Vt=e.useCallback(Ht=>{const Ft={width:Ht.offsetWidth,height:Ht.offsetHeight},re=wt(Ft);if(tt==="none")return{top:null,left:null,transformOrigin:i(re)};const Ae=Ot();let de=Ae.top-re.vertical,me=Ae.left-re.horizontal;const Pe=de+Ft.height,ce=me+Ft.width,Te=(0,O.A)(v(w)),Ce=Te.innerHeight-rt,ye=Te.innerWidth-rt;if(rt!==null&&deCe){const te=Pe-Ce;de-=te,re.vertical+=te}if(rt!==null&&meye){const te=ce-ye;me-=te,re.horizontal+=te}return{top:`${Math.round(de)}px`,left:`${Math.round(me)}px`,transformOrigin:i(re)}},[w,tt,Ot,wt,rt]),[jt,$t]=e.useState(it),Nt=e.useCallback(()=>{const Ht=vt.current;if(!Ht)return;const Ft=Vt(Ht);Ft.top!==null&&(Ht.style.top=Ft.top),Ft.left!==null&&(Ht.style.left=Ft.left),Ht.style.transformOrigin=Ft.transformOrigin,$t(!0)},[Vt]);e.useEffect(()=>(st&&window.addEventListener("scroll",Nt),()=>window.removeEventListener("scroll",Nt)),[w,st,Nt]);const Yt=(Ht,Ft)=>{yt&&yt(Ht,Ft),Nt()},ve=()=>{$t(!1)};e.useEffect(()=>{it&&Nt()}),e.useImperativeHandle(H,()=>it?{updatePosition:()=>{Nt()}}:null,[it,Nt]),e.useEffect(()=>{if(!it)return;const Ht=(0,g.A)(()=>{Nt()}),Ft=(0,O.A)(w);return Ft.addEventListener("resize",Ht),()=>{Ht.clear(),Ft.removeEventListener("resize",Ht)}},[w,it,Nt]);let ne=Mt;Mt==="auto"&&!Wt.muiSupportAuto&&(ne=void 0);const ae=J||(w?(0,y.A)(v(w)).body:void 0),ie=(G=ct==null?void 0:ct.root)!=null?G:R,fe=(N=ct==null?void 0:ct.paper)!=null?N:I,se=(0,B.Q)({elementType:fe,externalSlotProps:(0,s.A)({},Rt,{style:jt?Rt.style:(0,s.A)({},Rt.style,{opacity:0})}),additionalProps:{elevation:et,ref:_t},ownerState:Pt,className:(0,x.A)(It.paper,Rt==null?void 0:Rt.className)}),gt=(0,B.Q)({elementType:ie,externalSlotProps:(ft==null?void 0:ft.root)||{},externalForwardedProps:Bt,additionalProps:{ref:V,slotProps:{backdrop:{invisible:!0}},container:ae,open:it},ownerState:Pt,className:(0,x.A)(It.root,Z)}),{slotProps:Dt}=gt,ge=(0,n.A)(gt,o);return(0,r.jsx)(ie,(0,s.A)({},ge,!(0,b.g)(ie)&&{slotProps:Dt,disableScrollLock:st},{children:(0,r.jsx)(Wt,(0,s.A)({appear:!0,in:it,onEntering:Yt,onExited:ve,timeout:ne},xt,{children:(0,r.jsx)(fe,(0,s.A)({},se,{children:ut}))}))}))})},38765:($,c,t)=>{t.d(c,{A:()=>E,K:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiPopover",C)}const E=(0,s.A)("MuiPopover",["root","paper"])},78176:($,c,t)=>{t.d(c,{A:()=>Yo});var s=t(58168),n=t(98587),e=t(28437),M=t(33769),E=t(55791),C=t(41011);function x(u){if(u==null)return window;if(u.toString()!=="[object Window]"){var f=u.ownerDocument;return f&&f.defaultView||window}return u}function F(u){var f=x(u).Element;return u instanceof f||u instanceof Element}function B(u){var f=x(u).HTMLElement;return u instanceof f||u instanceof HTMLElement}function b(u){if(typeof ShadowRoot=="undefined")return!1;var f=x(u).ShadowRoot;return u instanceof f||u instanceof ShadowRoot}var K=Math.max,T=Math.min,g=Math.round;function y(){var u=navigator.userAgentData;return u!=null&&u.brands&&Array.isArray(u.brands)?u.brands.map(function(f){return f.brand+"/"+f.version}).join(" "):navigator.userAgent}function O(){return!/^((?!chrome|android).)*safari/i.test(y())}function p(u,f,D){f===void 0&&(f=!1),D===void 0&&(D=!1);var z=u.getBoundingClientRect(),X=1,k=1;f&&B(u)&&(X=u.offsetWidth>0&&g(z.width)/u.offsetWidth||1,k=u.offsetHeight>0&&g(z.height)/u.offsetHeight||1);var dt=F(u)?x(u):window,ot=dt.visualViewport,q=!O()&&D,Et=(z.left+(q&&ot?ot.offsetLeft:0))/X,at=(z.top+(q&&ot?ot.offsetTop:0))/k,bt=z.width/X,zt=z.height/k;return{width:bt,height:zt,top:at,right:Et+bt,bottom:at+zt,left:Et,x:Et,y:at}}function P(u){var f=x(u),D=f.pageXOffset,z=f.pageYOffset;return{scrollLeft:D,scrollTop:z}}function h(u){return{scrollLeft:u.scrollLeft,scrollTop:u.scrollTop}}function m(u){return u===x(u)||!B(u)?P(u):h(u)}function l(u){return u?(u.nodeName||"").toLowerCase():null}function r(u){return((F(u)?u.ownerDocument:u.document)||window.document).documentElement}function d(u){return p(r(u)).left+P(u).scrollLeft}function _(u){return x(u).getComputedStyle(u)}function o(u){var f=_(u),D=f.overflow,z=f.overflowX,X=f.overflowY;return/auto|scroll|overlay|hidden/.test(D+X+z)}function a(u){var f=u.getBoundingClientRect(),D=g(f.width)/u.offsetWidth||1,z=g(f.height)/u.offsetHeight||1;return D!==1||z!==1}function A(u,f,D){D===void 0&&(D=!1);var z=B(f),X=B(f)&&a(f),k=r(f),dt=p(u,X,D),ot={scrollLeft:0,scrollTop:0},q={x:0,y:0};return(z||!z&&!D)&&((l(f)!=="body"||o(k))&&(ot=m(f)),B(f)?(q=p(f,!0),q.x+=f.clientLeft,q.y+=f.clientTop):k&&(q.x=d(k))),{x:dt.left+ot.scrollLeft-q.x,y:dt.top+ot.scrollTop-q.y,width:dt.width,height:dt.height}}function i(u){var f=p(u),D=u.offsetWidth,z=u.offsetHeight;return Math.abs(f.width-D)<=1&&(D=f.width),Math.abs(f.height-z)<=1&&(z=f.height),{x:u.offsetLeft,y:u.offsetTop,width:D,height:z}}function v(u){return l(u)==="html"?u:u.assignedSlot||u.parentNode||(b(u)?u.host:null)||r(u)}function L(u){return["html","body","#document"].indexOf(l(u))>=0?u.ownerDocument.body:B(u)&&o(u)?u:L(v(u))}function R(u,f){var D;f===void 0&&(f=[]);var z=L(u),X=z===((D=u.ownerDocument)==null?void 0:D.body),k=x(z),dt=X?[k].concat(k.visualViewport||[],o(z)?z:[]):z,ot=f.concat(dt);return X?ot:ot.concat(R(v(dt)))}function I(u){return["table","td","th"].indexOf(l(u))>=0}function j(u){return!B(u)||_(u).position==="fixed"?null:u.offsetParent}function S(u){var f=/firefox/i.test(y()),D=/Trident/i.test(y());if(D&&B(u)){var z=_(u);if(z.position==="fixed")return null}var X=v(u);for(b(X)&&(X=X.host);B(X)&&["html","body"].indexOf(l(X))<0;){var k=_(X);if(k.transform!=="none"||k.perspective!=="none"||k.contain==="paint"||["transform","perspective"].indexOf(k.willChange)!==-1||f&&k.willChange==="filter"||f&&k.filter&&k.filter!=="none")return X;X=X.parentNode}return null}function U(u){for(var f=x(u),D=j(u);D&&I(D)&&_(D).position==="static";)D=j(D);return D&&(l(D)==="html"||l(D)==="body"&&_(D).position==="static")?f:D||S(u)||f}var W="top",V="bottom",Y="right",G="left",N="auto",Q=[W,V,Y,G],H="start",w="end",nt="clippingParents",lt="viewport",tt="popper",ut="reference",Z=Q.reduce(function(u,f){return u.concat([f+"-"+H,f+"-"+w])},[]),J=[].concat(Q,[N]).reduce(function(u,f){return u.concat([f,f+"-"+H,f+"-"+w])},[]),et="beforeRead",rt="read",it="afterRead",pt="beforeMain",ct="main",ft="afterMain",Tt="beforeWrite",Wt="write",Mt="afterWrite",yt=[et,rt,it,pt,ct,ft,Tt,Wt,Mt];function st(u){var f=new Map,D=new Set,z=[];u.forEach(function(k){f.set(k.name,k)});function X(k){D.add(k.name);var dt=[].concat(k.requires||[],k.requiresIfExists||[]);dt.forEach(function(ot){if(!D.has(ot)){var q=f.get(ot);q&&X(q)}}),z.push(k)}return u.forEach(function(k){D.has(k.name)||X(k)}),z}function xt(u){var f=st(u);return yt.reduce(function(D,z){return D.concat(f.filter(function(X){return X.phase===z}))},[])}function Bt(u){var f;return function(){return f||(f=new Promise(function(D){Promise.resolve().then(function(){f=void 0,D(u())})})),f}}function Rt(u){var f=u.reduce(function(D,z){var X=D[z.name];return D[z.name]=X?Object.assign({},X,z,{options:Object.assign({},X.options,z.options),data:Object.assign({},X.data,z.data)}):z,D},{});return Object.keys(f).map(function(D){return f[D]})}var vt={placement:"bottom",modifiers:[],strategy:"absolute"};function _t(){for(var u=arguments.length,f=new Array(u),D=0;D=0?"x":"y"}function Yt(u){var f=u.reference,D=u.element,z=u.placement,X=z?jt(z):null,k=z?$t(z):null,dt=f.x+f.width/2-D.width/2,ot=f.y+f.height/2-D.height/2,q;switch(X){case W:q={x:dt,y:f.y-D.height};break;case V:q={x:dt,y:f.y+f.height};break;case Y:q={x:f.x+f.width,y:ot};break;case G:q={x:f.x-D.width,y:ot};break;default:q={x:f.x,y:f.y}}var Et=X?Nt(X):null;if(Et!=null){var at=Et==="y"?"height":"width";switch(k){case H:q[Et]=q[Et]-(f[at]/2-D[at]/2);break;case w:q[Et]=q[Et]+(f[at]/2-D[at]/2);break;default:}}return q}function ve(u){var f=u.state,D=u.name;f.modifiersData[D]=Yt({reference:f.rects.reference,element:f.rects.popper,strategy:"absolute",placement:f.placement})}const ne={name:"popperOffsets",enabled:!0,phase:"read",fn:ve,data:{}};var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(u,f){var D=u.x,z=u.y,X=f.devicePixelRatio||1;return{x:g(D*X)/X||0,y:g(z*X)/X||0}}function fe(u){var f,D=u.popper,z=u.popperRect,X=u.placement,k=u.variation,dt=u.offsets,ot=u.position,q=u.gpuAcceleration,Et=u.adaptive,at=u.roundOffsets,bt=u.isFixed,zt=dt.x,ht=zt===void 0?0:zt,Qt=dt.y,Lt=Qt===void 0?0:Qt,Ut=typeof at=="function"?at({x:ht,y:Lt}):{x:ht,y:Lt};ht=Ut.x,Lt=Ut.y;var Gt=dt.hasOwnProperty("x"),qt=dt.hasOwnProperty("y"),Xt=G,Ct=W,Kt=window;if(Et){var St=U(D),Zt="clientHeight",le="clientWidth";if(St===x(D)&&(St=r(D),_(St).position!=="static"&&ot==="absolute"&&(Zt="scrollHeight",le="scrollWidth")),St=St,X===W||(X===G||X===Y)&&k===w){Ct=V;var oe=bt&&St===Kt&&Kt.visualViewport?Kt.visualViewport.height:St[Zt];Lt-=oe-z.height,Lt*=q?1:-1}if(X===G||(X===W||X===V)&&k===w){Xt=Y;var ee=bt&&St===Kt&&Kt.visualViewport?Kt.visualViewport.width:St[le];ht-=ee-z.width,ht*=q?1:-1}}var ue=Object.assign({position:ot},Et&&ae),De=at===!0?ie({x:ht,y:Lt},x(D)):{x:ht,y:Lt};if(ht=De.x,Lt=De.y,q){var Ee;return Object.assign({},ue,(Ee={},Ee[Ct]=qt?"0":"",Ee[Xt]=Gt?"0":"",Ee.transform=(Kt.devicePixelRatio||1)<=1?"translate("+ht+"px, "+Lt+"px)":"translate3d("+ht+"px, "+Lt+"px, 0)",Ee))}return Object.assign({},ue,(f={},f[Ct]=qt?Lt+"px":"",f[Xt]=Gt?ht+"px":"",f.transform="",f))}function se(u){var f=u.state,D=u.options,z=D.gpuAcceleration,X=z===void 0?!0:z,k=D.adaptive,dt=k===void 0?!0:k,ot=D.roundOffsets,q=ot===void 0?!0:ot,Et={placement:jt(f.placement),variation:$t(f.placement),popper:f.elements.popper,popperRect:f.rects.popper,gpuAcceleration:X,isFixed:f.options.strategy==="fixed"};f.modifiersData.popperOffsets!=null&&(f.styles.popper=Object.assign({},f.styles.popper,fe(Object.assign({},Et,{offsets:f.modifiersData.popperOffsets,position:f.options.strategy,adaptive:dt,roundOffsets:q})))),f.modifiersData.arrow!=null&&(f.styles.arrow=Object.assign({},f.styles.arrow,fe(Object.assign({},Et,{offsets:f.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:q})))),f.attributes.popper=Object.assign({},f.attributes.popper,{"data-popper-placement":f.placement})}const gt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:se,data:{}};function Dt(u){var f=u.state;Object.keys(f.elements).forEach(function(D){var z=f.styles[D]||{},X=f.attributes[D]||{},k=f.elements[D];!B(k)||!l(k)||(Object.assign(k.style,z),Object.keys(X).forEach(function(dt){var ot=X[dt];ot===!1?k.removeAttribute(dt):k.setAttribute(dt,ot===!0?"":ot)}))})}function ge(u){var f=u.state,D={popper:{position:f.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(f.elements.popper.style,D.popper),f.styles=D,f.elements.arrow&&Object.assign(f.elements.arrow.style,D.arrow),function(){Object.keys(f.elements).forEach(function(z){var X=f.elements[z],k=f.attributes[z]||{},dt=Object.keys(f.styles.hasOwnProperty(z)?f.styles[z]:D[z]),ot=dt.reduce(function(q,Et){return q[Et]="",q},{});!B(X)||!l(X)||(Object.assign(X.style,ot),Object.keys(k).forEach(function(q){X.removeAttribute(q)}))})}}const Ht={name:"applyStyles",enabled:!0,phase:"write",fn:Dt,effect:ge,requires:["computeStyles"]};function Ft(u,f,D){var z=jt(u),X=[G,W].indexOf(z)>=0?-1:1,k=typeof D=="function"?D(Object.assign({},f,{placement:u})):D,dt=k[0],ot=k[1];return dt=dt||0,ot=(ot||0)*X,[G,Y].indexOf(z)>=0?{x:ot,y:dt}:{x:dt,y:ot}}function re(u){var f=u.state,D=u.options,z=u.name,X=D.offset,k=X===void 0?[0,0]:X,dt=J.reduce(function(at,bt){return at[bt]=Ft(bt,f.rects,k),at},{}),ot=dt[f.placement],q=ot.x,Et=ot.y;f.modifiersData.popperOffsets!=null&&(f.modifiersData.popperOffsets.x+=q,f.modifiersData.popperOffsets.y+=Et),f.modifiersData[z]=dt}const Ae={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:re};var de={left:"right",right:"left",bottom:"top",top:"bottom"};function me(u){return u.replace(/left|right|bottom|top/g,function(f){return de[f]})}var Pe={start:"end",end:"start"};function ce(u){return u.replace(/start|end/g,function(f){return Pe[f]})}function Te(u,f){var D=x(u),z=r(u),X=D.visualViewport,k=z.clientWidth,dt=z.clientHeight,ot=0,q=0;if(X){k=X.width,dt=X.height;var Et=O();(Et||!Et&&f==="fixed")&&(ot=X.offsetLeft,q=X.offsetTop)}return{width:k,height:dt,x:ot+d(u),y:q}}function Ce(u){var f,D=r(u),z=P(u),X=(f=u.ownerDocument)==null?void 0:f.body,k=K(D.scrollWidth,D.clientWidth,X?X.scrollWidth:0,X?X.clientWidth:0),dt=K(D.scrollHeight,D.clientHeight,X?X.scrollHeight:0,X?X.clientHeight:0),ot=-z.scrollLeft+d(u),q=-z.scrollTop;return _(X||D).direction==="rtl"&&(ot+=K(D.clientWidth,X?X.clientWidth:0)-k),{width:k,height:dt,x:ot,y:q}}function ye(u,f){var D=f.getRootNode&&f.getRootNode();if(u.contains(f))return!0;if(D&&b(D)){var z=f;do{if(z&&u.isSameNode(z))return!0;z=z.parentNode||z.host}while(z)}return!1}function te(u){return Object.assign({},u,{left:u.x,top:u.y,right:u.x+u.width,bottom:u.y+u.height})}function Oe(u,f){var D=p(u,!1,f==="fixed");return D.top=D.top+u.clientTop,D.left=D.left+u.clientLeft,D.bottom=D.top+u.clientHeight,D.right=D.left+u.clientWidth,D.width=u.clientWidth,D.height=u.clientHeight,D.x=D.left,D.y=D.top,D}function xe(u,f,D){return f===lt?te(Te(u,D)):F(f)?Oe(f,D):te(Ce(r(u)))}function kt(u){var f=R(v(u)),D=["absolute","fixed"].indexOf(_(u).position)>=0,z=D&&B(u)?U(u):u;return F(z)?f.filter(function(X){return F(X)&&ye(X,z)&&l(X)!=="body"}):[]}function Le(u,f,D,z){var X=f==="clippingParents"?kt(u):[].concat(f),k=[].concat(X,[D]),dt=k[0],ot=k.reduce(function(q,Et){var at=xe(u,Et,z);return q.top=K(at.top,q.top),q.right=T(at.right,q.right),q.bottom=T(at.bottom,q.bottom),q.left=K(at.left,q.left),q},xe(u,dt,z));return ot.width=ot.right-ot.left,ot.height=ot.bottom-ot.top,ot.x=ot.left,ot.y=ot.top,ot}function Re(){return{top:0,right:0,bottom:0,left:0}}function Ie(u){return Object.assign({},Re(),u)}function He(u,f){return f.reduce(function(D,z){return D[z]=u,D},{})}function he(u,f){f===void 0&&(f={});var D=f,z=D.placement,X=z===void 0?u.placement:z,k=D.strategy,dt=k===void 0?u.strategy:k,ot=D.boundary,q=ot===void 0?nt:ot,Et=D.rootBoundary,at=Et===void 0?lt:Et,bt=D.elementContext,zt=bt===void 0?tt:bt,ht=D.altBoundary,Qt=ht===void 0?!1:ht,Lt=D.padding,Ut=Lt===void 0?0:Lt,Gt=Ie(typeof Ut!="number"?Ut:He(Ut,Q)),qt=zt===tt?ut:tt,Xt=u.rects.popper,Ct=u.elements[Qt?qt:zt],Kt=Le(F(Ct)?Ct:Ct.contextElement||r(u.elements.popper),q,at,dt),St=p(u.elements.reference),Zt=Yt({reference:St,element:Xt,strategy:"absolute",placement:X}),le=te(Object.assign({},Xt,Zt)),oe=zt===tt?le:St,ee={top:Kt.top-oe.top+Gt.top,bottom:oe.bottom-Kt.bottom+Gt.bottom,left:Kt.left-oe.left+Gt.left,right:oe.right-Kt.right+Gt.right},ue=u.modifiersData.offset;if(zt===tt&&ue){var De=ue[X];Object.keys(ee).forEach(function(Ee){var be=[Y,V].indexOf(Ee)>=0?1:-1,We=[W,V].indexOf(Ee)>=0?"y":"x";ee[Ee]+=De[We]*be})}return ee}function Qe(u,f){f===void 0&&(f={});var D=f,z=D.placement,X=D.boundary,k=D.rootBoundary,dt=D.padding,ot=D.flipVariations,q=D.allowedAutoPlacements,Et=q===void 0?J:q,at=$t(z),bt=at?ot?Z:Z.filter(function(Qt){return $t(Qt)===at}):Q,zt=bt.filter(function(Qt){return Et.indexOf(Qt)>=0});zt.length===0&&(zt=bt);var ht=zt.reduce(function(Qt,Lt){return Qt[Lt]=he(u,{placement:Lt,boundary:X,rootBoundary:k,padding:dt})[jt(Lt)],Qt},{});return Object.keys(ht).sort(function(Qt,Lt){return ht[Qt]-ht[Lt]})}function At(u){if(jt(u)===N)return[];var f=me(u);return[ce(u),f,ce(f)]}function je(u){var f=u.state,D=u.options,z=u.name;if(!f.modifiersData[z]._skip){for(var X=D.mainAxis,k=X===void 0?!0:X,dt=D.altAxis,ot=dt===void 0?!0:dt,q=D.fallbackPlacements,Et=D.padding,at=D.boundary,bt=D.rootBoundary,zt=D.altBoundary,ht=D.flipVariations,Qt=ht===void 0?!0:ht,Lt=D.allowedAutoPlacements,Ut=f.options.placement,Gt=jt(Ut),qt=Gt===Ut,Xt=q||(qt||!Qt?[me(Ut)]:At(Ut)),Ct=[Ut].concat(Xt).reduce(function(Ye,$e){return Ye.concat(jt($e)===N?Qe(f,{placement:$e,boundary:at,rootBoundary:bt,padding:Et,flipVariations:Qt,allowedAutoPlacements:Lt}):$e)},[]),Kt=f.rects.reference,St=f.rects.popper,Zt=new Map,le=!0,oe=Ct[0],ee=0;ee=0,We=be?"width":"height",pe=he(f,{placement:ue,boundary:at,rootBoundary:bt,altBoundary:zt,padding:Et}),Me=be?Ee?Y:G:Ee?V:W;Kt[We]>St[We]&&(Me=me(Me));var Fe=me(Me),Ne=[];if(k&&Ne.push(pe[De]<=0),ot&&Ne.push(pe[Me]<=0,pe[Fe]<=0),Ne.every(function(Ye){return Ye})){oe=ue,le=!1;break}Zt.set(ue,Ne)}if(le)for(var ro=Qt?3:1,po=function($e){var to=Ct.find(function(io){var ze=Zt.get(io);if(ze)return ze.slice(0,$e).every(function(fo){return fo})});if(to)return oe=to,"break"},qe=ro;qe>0;qe--){var ao=po(qe);if(ao==="break")break}f.placement!==oe&&(f.modifiersData[z]._skip=!0,f.placement=oe,f.reset=!0)}}const Ue={name:"flip",enabled:!0,phase:"main",fn:je,requiresIfExists:["offset"],data:{_skip:!1}};function Be(u){return u==="x"?"y":"x"}function Ke(u,f,D){return K(u,T(f,D))}function co(u,f,D){var z=Ke(u,f,D);return z>D?D:z}function eo(u){var f=u.state,D=u.options,z=u.name,X=D.mainAxis,k=X===void 0?!0:X,dt=D.altAxis,ot=dt===void 0?!1:dt,q=D.boundary,Et=D.rootBoundary,at=D.altBoundary,bt=D.padding,zt=D.tether,ht=zt===void 0?!0:zt,Qt=D.tetherOffset,Lt=Qt===void 0?0:Qt,Ut=he(f,{boundary:q,rootBoundary:Et,padding:bt,altBoundary:at}),Gt=jt(f.placement),qt=$t(f.placement),Xt=!qt,Ct=Nt(Gt),Kt=Be(Ct),St=f.modifiersData.popperOffsets,Zt=f.rects.reference,le=f.rects.popper,oe=typeof Lt=="function"?Lt(Object.assign({},f.rects,{placement:f.placement})):Lt,ee=typeof oe=="number"?{mainAxis:oe,altAxis:oe}:Object.assign({mainAxis:0,altAxis:0},oe),ue=f.modifiersData.offset?f.modifiersData.offset[f.placement]:null,De={x:0,y:0};if(St){if(k){var Ee,be=Ct==="y"?W:G,We=Ct==="y"?V:Y,pe=Ct==="y"?"height":"width",Me=St[Ct],Fe=Me+Ut[be],Ne=Me-Ut[We],ro=ht?-le[pe]/2:0,po=qt===H?Zt[pe]:le[pe],qe=qt===H?-le[pe]:-Zt[pe],ao=f.elements.arrow,Ye=ht&&ao?i(ao):{width:0,height:0},$e=f.modifiersData["arrow#persistent"]?f.modifiersData["arrow#persistent"].padding:Re(),to=$e[be],io=$e[We],ze=Ke(0,Zt[pe],Ye[pe]),fo=Xt?Zt[pe]/2-ro-ze-to-ee.mainAxis:po-ze-to-ee.mainAxis,Qo=Xt?-Zt[pe]/2+ro+ze+io+ee.mainAxis:qe+ze+io+ee.mainAxis,_o=f.elements.arrow&&U(f.elements.arrow),Zo=_o?Ct==="y"?_o.clientTop||0:_o.clientLeft||0:0,Ao=(Ee=ue==null?void 0:ue[Ct])!=null?Ee:0,Jo=Me+fo-Ao-Zo,wo=Me+Qo-Ao,Po=Ke(ht?T(Fe,Jo):Fe,Me,ht?K(Ne,wo):Ne);St[Ct]=Po,De[Ct]=Po-Me}if(ot){var Oo,ko=Ct==="x"?W:G,qo=Ct==="x"?V:Y,Xe=St[Kt],lo=Kt==="y"?"height":"width",Mo=Xe+Ut[ko],Co=Xe-Ut[qo],Eo=[W,G].indexOf(Gt)!==-1,ho=(Oo=ue==null?void 0:ue[Kt])!=null?Oo:0,Do=Eo?Mo:Xe-Zt[lo]-le[lo]-ho+ee.altAxis,go=Eo?Xe+Zt[lo]+le[lo]-ho-ee.altAxis:Co,yo=ht&&Eo?co(Do,Xe,go):Ke(ht?Do:Mo,Xe,ht?go:Co);St[Kt]=yo,De[Kt]=yo-Xe}f.modifiersData[z]=De}}const Ze={name:"preventOverflow",enabled:!0,phase:"main",fn:eo,requiresIfExists:["offset"]};var oo=function(f,D){return f=typeof f=="function"?f(Object.assign({},D.rects,{placement:D.placement})):f,Ie(typeof f!="number"?f:He(f,Q))};function Ge(u){var f,D=u.state,z=u.name,X=u.options,k=D.elements.arrow,dt=D.modifiersData.popperOffsets,ot=jt(D.placement),q=Nt(ot),Et=[G,Y].indexOf(ot)>=0,at=Et?"height":"width";if(!(!k||!dt)){var bt=oo(X.padding,D),zt=i(k),ht=q==="y"?W:G,Qt=q==="y"?V:Y,Lt=D.rects.reference[at]+D.rects.reference[q]-dt[q]-D.rects.popper[at],Ut=dt[q]-D.rects.reference[q],Gt=U(k),qt=Gt?q==="y"?Gt.clientHeight||0:Gt.clientWidth||0:0,Xt=Lt/2-Ut/2,Ct=bt[ht],Kt=qt-zt[at]-bt[Qt],St=qt/2-zt[at]/2+Xt,Zt=Ke(Ct,St,Kt),le=q;D.modifiersData[z]=(f={},f[le]=Zt,f.centerOffset=Zt-St,f)}}function Je(u){var f=u.state,D=u.options,z=D.element,X=z===void 0?"[data-popper-arrow]":z;X!=null&&(typeof X=="string"&&(X=f.elements.popper.querySelector(X),!X)||ye(f.elements.popper,X)&&(f.elements.arrow=X))}const we={name:"arrow",enabled:!0,phase:"main",fn:Ge,effect:Je,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ke(u,f,D){return D===void 0&&(D={x:0,y:0}),{top:u.top-f.height-D.y,right:u.right-f.width+D.x,bottom:u.bottom-f.height+D.y,left:u.left-f.width-D.x}}function mt(u){return[W,Y,V,G].some(function(f){return u[f]>=0})}function Jt(u){var f=u.state,D=u.name,z=f.rects.reference,X=f.rects.popper,k=f.modifiersData.preventOverflow,dt=he(f,{elementContext:"reference"}),ot=he(f,{altBoundary:!0}),q=ke(dt,z),Et=ke(ot,X,k),at=mt(q),bt=mt(Et);f.modifiersData[D]={referenceClippingOffsets:q,popperEscapeOffsets:Et,isReferenceHidden:at,hasPopperEscaped:bt},f.attributes.popper=Object.assign({},f.attributes.popper,{"data-popper-reference-hidden":at,"data-popper-escaped":bt})}var Se=[Vt,ne,gt,Ht,Ae,Ue,Ze,we,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Jt}],no=Pt({defaultModifiers:Se}),tn=t(95973),Ro=t(86249),To=t(75415),xo=t(35583),Io=t(95227);function Lo(u){return(0,xo.Ay)("MuiPopper",u)}const en=(0,Io.A)("MuiPopper",["root"]);var Bo=t(67388),so=t(64922);const bo={disableDefaultClasses:!1},vo=e.createContext(bo);function Wo(u){const{disableDefaultClasses:f}=e.useContext(vo);return D=>f?"":u(D)}function on(u){const{disableDefaultClasses:f,children:D}=u,z=React.useMemo(()=>({disableDefaultClasses:f!=null?f:!1}),[f]);return _jsx(vo.Provider,{value:z,children:D})}const Uo=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ko=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function So(u,f){if(f==="ltr")return u;switch(u){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return u}}function uo(u){return typeof u=="function"?u():u}function mo(u){return u.nodeType!==void 0}function nn(u){return!mo(u)}const Fo=()=>{const u={root:["root"]};return(0,Ro.A)(u,Wo(Lo))},$o={},jo=e.forwardRef(function(f,D){var z;const{anchorEl:X,children:k,direction:dt,disablePortal:ot,modifiers:q,open:Et,placement:at,popperOptions:bt,popperRef:zt,slotProps:ht={},slots:Qt={},TransitionProps:Lt}=f,Ut=(0,n.A)(f,Uo),Gt=e.useRef(null),qt=(0,M.A)(Gt,D),Xt=e.useRef(null),Ct=(0,M.A)(Xt,zt),Kt=e.useRef(Ct);(0,E.A)(()=>{Kt.current=Ct},[Ct]),e.useImperativeHandle(zt,()=>Xt.current,[]);const St=So(at,dt),[Zt,le]=e.useState(St),[oe,ee]=e.useState(uo(X));e.useEffect(()=>{Xt.current&&Xt.current.forceUpdate()}),e.useEffect(()=>{X&&ee(uo(X))},[X]),(0,E.A)(()=>{if(!oe||!Et)return;const We=Fe=>{le(Fe.placement)};let pe=[{name:"preventOverflow",options:{altBoundary:ot}},{name:"flip",options:{altBoundary:ot}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Fe})=>{We(Fe)}}];q!=null&&(pe=pe.concat(q)),bt&&bt.modifiers!=null&&(pe=pe.concat(bt.modifiers));const Me=no(oe,Gt.current,(0,s.A)({placement:St},bt,{modifiers:pe}));return Kt.current(Me),()=>{Me.destroy(),Kt.current(null)}},[oe,ot,q,Et,bt,St]);const ue={placement:Zt};Lt!==null&&(ue.TransitionProps=Lt);const De=Fo(),Ee=(z=Qt.root)!=null?z:"div",be=(0,Bo.Q)({elementType:Ee,externalSlotProps:ht.root,externalForwardedProps:Ut,additionalProps:{role:"tooltip",ref:qt},ownerState:f,className:De.root});return(0,so.jsx)(Ee,(0,s.A)({},be,{children:typeof k=="function"?k(ue):k}))}),No=e.forwardRef(function(f,D){const{anchorEl:z,children:X,container:k,direction:dt="ltr",disablePortal:ot=!1,keepMounted:q=!1,modifiers:Et,open:at,placement:bt="bottom",popperOptions:zt=$o,popperRef:ht,style:Qt,transition:Lt=!1,slotProps:Ut={},slots:Gt={}}=f,qt=(0,n.A)(f,Ko),[Xt,Ct]=e.useState(!0),Kt=()=>{Ct(!1)},St=()=>{Ct(!0)};if(!q&&!at&&(!Lt||Xt))return null;let Zt;if(k)Zt=k;else if(z){const ee=uo(z);Zt=ee&&mo(ee)?(0,C.A)(ee).body:(0,C.A)(null).body}const le=!at&&q&&(!Lt||Xt)?"none":void 0,oe=Lt?{in:at,onEnter:Kt,onExited:St}:void 0;return(0,so.jsx)(To.Z,{disablePortal:ot,container:Zt,children:(0,so.jsx)(jo,(0,s.A)({anchorEl:z,direction:dt,disablePortal:ot,modifiers:Et,ref:D,open:Lt?!Xt:at,placement:bt,popperOptions:zt,popperRef:ht,slotProps:Ut,slots:Gt},qt,{style:(0,s.A)({position:"fixed",top:0,left:0,display:le},Qt),TransitionProps:oe,children:X}))})});var zo=t(67193),Xo=t(46186),Vo=t(48399);const Ho=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Go=(0,Xo.Ay)(No,{name:"MuiPopper",slot:"Root",overridesResolver:(u,f)=>f.root})({}),Yo=e.forwardRef(function(f,D){var z;const X=(0,zo.A)(),k=(0,Vo.A)({props:f,name:"MuiPopper"}),{anchorEl:dt,component:ot,components:q,componentsProps:Et,container:at,disablePortal:bt,keepMounted:zt,modifiers:ht,open:Qt,placement:Lt,popperOptions:Ut,popperRef:Gt,transition:qt,slots:Xt,slotProps:Ct}=k,Kt=(0,n.A)(k,Ho),St=(z=Xt==null?void 0:Xt.root)!=null?z:q==null?void 0:q.Root,Zt=(0,s.A)({anchorEl:dt,container:at,disablePortal:bt,keepMounted:zt,modifiers:ht,open:Qt,placement:Lt,popperOptions:Ut,popperRef:Gt,transition:qt},Kt);return(0,so.jsx)(Go,(0,s.A)({as:ot,direction:X==null?void 0:X.direction,slots:{root:St},slotProps:Ct!=null?Ct:Et},Zt,{ref:D}))})},2954:($,c,t)=>{t.d(c,{A:()=>ut});var s=t(58168),n=t(98587),e=t(28437),M=t(95973),E=t(74984),C=t(53107),x=t(22571),F=t(98529),B=t(86249),b=t(81019),K=t(97862),T=t(10016),g=t(87189),y=t(33157),O=t(1769),p=t(46186),P=t(48942),h=t(5809),m=t(32659),l=t(64922),r;const d=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],_=(0,p.Ay)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(Z,J)=>{const{ownerState:et}=Z;return[{[`&.${m.A.select}`]:J.select},{[`&.${m.A.select}`]:J[et.variant]},{[`&.${m.A.error}`]:J.error},{[`&.${m.A.multiple}`]:J.multiple}]}})(y.Ku,{[`&.${m.A.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),o=(0,p.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(Z,J)=>{const{ownerState:et}=Z;return[J.icon,et.variant&&J[`icon${(0,T.A)(et.variant)}`],et.open&&J.iconOpen]}})(y.XV),a=(0,p.Ay)("input",{shouldForwardProp:Z=>(0,p._n)(Z)&&Z!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(Z,J)=>J.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function A(Z,J){return typeof J=="object"&&J!==null?Z===J:String(Z)===String(J)}function i(Z){return Z==null||typeof Z=="string"&&!Z.trim()}const v=Z=>{const{classes:J,variant:et,disabled:rt,multiple:it,open:pt,error:ct}=Z,ft={select:["select",et,rt&&"disabled",it&&"multiple",ct&&"error"],icon:["icon",`icon${(0,T.A)(et)}`,pt&&"iconOpen",rt&&"disabled"],nativeInput:["nativeInput"]};return(0,B.A)(ft,m.T,J)},R=e.forwardRef(function(J,et){var rt;const{"aria-describedby":it,"aria-label":pt,autoFocus:ct,autoWidth:ft,children:Tt,className:Wt,defaultOpen:Mt,defaultValue:yt,disabled:st,displayEmpty:xt,error:Bt=!1,IconComponent:Rt,inputRef:vt,labelId:_t,MenuProps:Pt={},multiple:It,name:Ot,onBlur:wt,onChange:Vt,onClose:jt,onFocus:$t,onOpen:Nt,open:Yt,readOnly:ve,renderValue:ne,SelectDisplayProps:ae={},tabIndex:ie,value:fe,variant:se="standard"}=J,gt=(0,n.A)(J,d),[Dt,ge]=(0,h.A)({controlled:fe,default:yt,name:"Select"}),[Ht,Ft]=(0,h.A)({controlled:Yt,default:Mt,name:"Select"}),re=e.useRef(null),Ae=e.useRef(null),[de,me]=e.useState(null),{current:Pe}=e.useRef(Yt!=null),[ce,Te]=e.useState(),Ce=(0,P.A)(et,vt),ye=e.useCallback(mt=>{Ae.current=mt,mt&&me(mt)},[]),te=de==null?void 0:de.parentNode;e.useImperativeHandle(Ce,()=>({focus:()=>{Ae.current.focus()},node:re.current,value:Dt}),[Dt]),e.useEffect(()=>{Mt&&Ht&&de&&!Pe&&(Te(ft?null:te.clientWidth),Ae.current.focus())},[de,ft]),e.useEffect(()=>{ct&&Ae.current.focus()},[ct]),e.useEffect(()=>{if(!_t)return;const mt=(0,K.A)(Ae.current).getElementById(_t);if(mt){const Jt=()=>{getSelection().isCollapsed&&Ae.current.focus()};return mt.addEventListener("click",Jt),()=>{mt.removeEventListener("click",Jt)}}},[_t]);const Oe=(mt,Jt)=>{mt?Nt&&Nt(Jt):jt&&jt(Jt),Pe||(Te(ft?null:te.clientWidth),Ft(mt))},xe=mt=>{mt.button===0&&(mt.preventDefault(),Ae.current.focus(),Oe(!0,mt))},kt=mt=>{Oe(!1,mt)},Le=e.Children.toArray(Tt),Re=mt=>{const Jt=Le.find(_e=>_e.props.value===mt.target.value);Jt!==void 0&&(ge(Jt.props.value),Vt&&Vt(mt,Jt))},Ie=mt=>Jt=>{let _e;if(Jt.currentTarget.hasAttribute("tabindex")){if(It){_e=Array.isArray(Dt)?Dt.slice():[];const Se=Dt.indexOf(mt.props.value);Se===-1?_e.push(mt.props.value):_e.splice(Se,1)}else _e=mt.props.value;if(mt.props.onClick&&mt.props.onClick(Jt),Dt!==_e&&(ge(_e),Vt)){const Se=Jt.nativeEvent||Jt,no=new Se.constructor(Se.type,Se);Object.defineProperty(no,"target",{writable:!0,value:{value:_e,name:Ot}}),Vt(no,mt)}It||Oe(!1,Jt)}},He=mt=>{ve||[" ","ArrowUp","ArrowDown","Enter"].indexOf(mt.key)!==-1&&(mt.preventDefault(),Oe(!0,mt))},he=de!==null&&Ht,Qe=mt=>{!he&&wt&&(Object.defineProperty(mt,"target",{writable:!0,value:{value:Dt,name:Ot}}),wt(mt))};delete gt["aria-invalid"];let At,je;const Ue=[];let Be=!1,Ke=!1;((0,O.lq)({value:Dt})||xt)&&(ne?At=ne(Dt):Be=!0);const co=Le.map(mt=>{if(!e.isValidElement(mt))return null;let Jt;if(It){if(!Array.isArray(Dt))throw new Error((0,x.A)(2));Jt=Dt.some(_e=>A(_e,mt.props.value)),Jt&&Be&&Ue.push(mt.props.children)}else Jt=A(Dt,mt.props.value),Jt&&Be&&(je=mt.props.children);return Jt&&(Ke=!0),e.cloneElement(mt,{"aria-selected":Jt?"true":"false",onClick:Ie(mt),onKeyUp:_e=>{_e.key===" "&&_e.preventDefault(),mt.props.onKeyUp&&mt.props.onKeyUp(_e)},role:"option",selected:Jt,value:void 0,"data-value":mt.props.value})});Be&&(It?Ue.length===0?At=null:At=Ue.reduce((mt,Jt,_e)=>(mt.push(Jt),_e{const{classes:J}=Z;return J},H={name:"MuiSelect",overridesResolver:(Z,J)=>J.root,shouldForwardProp:Z=>(0,p.ep)(Z)&&Z!=="variant",slot:"Root"},w=(0,p.Ay)(U.A,H)(""),nt=(0,p.Ay)(V.A,H)(""),lt=(0,p.Ay)(W.A,H)(""),tt=e.forwardRef(function(J,et){const rt=(0,Y.A)({name:"MuiSelect",props:J}),{autoWidth:it=!1,children:pt,classes:ct={},className:ft,defaultOpen:Tt=!1,displayEmpty:Wt=!1,IconComponent:Mt=S.A,id:yt,input:st,inputProps:xt,label:Bt,labelId:Rt,MenuProps:vt,multiple:_t=!1,native:Pt=!1,onClose:It,onOpen:Ot,open:wt,renderValue:Vt,SelectDisplayProps:jt,variant:$t="outlined"}=rt,Nt=(0,n.A)(rt,G),Yt=Pt?y.Ay:R,ve=(0,j.A)(),ne=(0,I.A)({props:rt,muiFormControl:ve,states:["variant","error"]}),ae=ne.variant||$t,ie=(0,s.A)({},rt,{variant:ae,classes:ct}),fe=Q(ie),se=(0,n.A)(fe,N),gt=st||{standard:(0,l.jsx)(w,{ownerState:ie}),outlined:(0,l.jsx)(nt,{label:Bt,ownerState:ie}),filled:(0,l.jsx)(lt,{ownerState:ie})}[ae],Dt=(0,P.A)(et,gt.ref);return(0,l.jsx)(e.Fragment,{children:e.cloneElement(gt,(0,s.A)({inputComponent:Yt,inputProps:(0,s.A)({children:pt,error:ne.error,IconComponent:Mt,variant:ae,type:void 0,multiple:_t},Pt?{id:yt}:{autoWidth:it,defaultOpen:Tt,displayEmpty:Wt,labelId:Rt,MenuProps:vt,onClose:It,onOpen:Ot,open:wt,renderValue:Vt,SelectDisplayProps:(0,s.A)({id:yt},jt)},xt,{classes:xt?(0,C.A)(se,xt.classes):se},st?st.props.inputProps:{})},_t&&Pt&&ae==="outlined"?{notched:!0}:{},{ref:Dt,className:(0,E.A)(gt.props.className,ft,fe.root)},!st&&{variant:ae},Nt))})});tt.muiName="Select";const ut=tt},32659:($,c,t)=>{t.d(c,{A:()=>E,T:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiSelect",C)}const E=(0,s.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},24273:($,c,t)=>{t.d(c,{A:()=>A});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(81019),b=t(46186),K=t(48399),T=t(24893),g=t(98625),y=t(64926),O=t(10743),p=t(48845),P=t(11085),h=t(2954),m=t(39201),l=t(64922);const r=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],d={standard:T.A,filled:g.A,outlined:y.A},_=i=>{const{classes:v}=i,L={root:["root"]};return(0,F.A)(L,m._,v)},o=(0,b.Ay)(p.A,{name:"MuiTextField",slot:"Root",overridesResolver:(i,v)=>v.root})({}),A=e.forwardRef(function(v,L){const R=(0,K.A)({props:v,name:"MuiTextField"}),{autoComplete:I,autoFocus:j=!1,children:S,className:U,color:W="primary",defaultValue:V,disabled:Y=!1,error:G=!1,FormHelperTextProps:N,fullWidth:Q=!1,helperText:H,id:w,InputLabelProps:nt,inputProps:lt,InputProps:tt,inputRef:ut,label:Z,maxRows:J,minRows:et,multiline:rt=!1,name:it,onBlur:pt,onChange:ct,onFocus:ft,placeholder:Tt,required:Wt=!1,rows:Mt,select:yt=!1,SelectProps:st,type:xt,value:Bt,variant:Rt="outlined"}=R,vt=(0,n.A)(R,r),_t=(0,s.A)({},R,{autoFocus:j,color:W,disabled:Y,error:G,fullWidth:Q,multiline:rt,required:Wt,select:yt,variant:Rt}),Pt=_(_t),It={};Rt==="outlined"&&(nt&&typeof nt.shrink!="undefined"&&(It.notched=nt.shrink),It.label=Z),yt&&((!st||!st.native)&&(It.id=void 0),It["aria-describedby"]=void 0);const Ot=(0,B.A)(w),wt=H&&Ot?`${Ot}-helper-text`:void 0,Vt=Z&&Ot?`${Ot}-label`:void 0,jt=d[Rt],$t=(0,l.jsx)(jt,(0,s.A)({"aria-describedby":wt,autoComplete:I,autoFocus:j,defaultValue:V,fullWidth:Q,multiline:rt,name:it,rows:Mt,maxRows:J,minRows:et,type:xt,value:Bt,id:Ot,inputRef:ut,onBlur:pt,onChange:ct,onFocus:ft,placeholder:Tt,inputProps:lt},It,tt));return(0,l.jsxs)(o,(0,s.A)({className:(0,x.A)(Pt.root,U),disabled:Y,error:G,fullWidth:Q,ref:L,required:Wt,color:W,variant:Rt,ownerState:_t},vt,{children:[Z!=null&&Z!==""&&(0,l.jsx)(O.A,(0,s.A)({htmlFor:Ot,id:Vt},nt,{children:Z})),yt?(0,l.jsx)(h.A,(0,s.A)({"aria-describedby":wt,id:Ot,labelId:Vt,value:Bt,input:$t},st,{children:S})):$t,H&&(0,l.jsx)(P.A,(0,s.A)({id:wt},N,{children:H}))]}))})},39201:($,c,t)=>{t.d(c,{A:()=>E,_:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiTextField",C)}const E=(0,s.A)("MuiTextField",["root"])},55437:($,c,t)=>{t.d(c,{A:()=>d});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(96121),B=t(86249),b=t(46186),K=t(48399),T=t(10016),g=t(57861),y=t(64922);const O=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],p=_=>{const{align:o,gutterBottom:a,noWrap:A,paragraph:i,variant:v,classes:L}=_,R={root:["root",v,_.align!=="inherit"&&`align${(0,T.A)(o)}`,a&&"gutterBottom",A&&"noWrap",i&&"paragraph"]};return(0,B.A)(R,g.y,L)},P=(0,b.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(_,o)=>{const{ownerState:a}=_;return[o.root,a.variant&&o[a.variant],a.align!=="inherit"&&o[`align${(0,T.A)(a.align)}`],a.noWrap&&o.noWrap,a.gutterBottom&&o.gutterBottom,a.paragraph&&o.paragraph]}})(({theme:_,ownerState:o})=>(0,n.A)({margin:0},o.variant==="inherit"&&{font:"inherit"},o.variant!=="inherit"&&_.typography[o.variant],o.align!=="inherit"&&{textAlign:o.align},o.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},o.gutterBottom&&{marginBottom:"0.35em"},o.paragraph&&{marginBottom:16})),h={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},m={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},l=_=>m[_]||_,d=e.forwardRef(function(o,a){const A=(0,K.A)({props:o,name:"MuiTypography"}),i=l(A.color),v=(0,F.A)((0,n.A)({},A,{color:i})),{align:L="inherit",className:R,component:I,gutterBottom:j=!1,noWrap:S=!1,paragraph:U=!1,variant:W="body1",variantMapping:V=h}=v,Y=(0,s.A)(v,O),G=(0,n.A)({},v,{align:L,color:i,className:R,component:I,gutterBottom:j,noWrap:S,paragraph:U,variant:W,variantMapping:V}),N=I||(U?"p":V[W]||h[W])||"span",Q=p(G);return(0,y.jsx)(P,(0,n.A)({as:N,ref:a,ownerState:G,className:(0,x.A)(Q.root,R)},Y))})},57861:($,c,t)=>{t.d(c,{A:()=>E,y:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiTypography",C)}const E=(0,s.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},11172:($,c,t)=>{t.d(c,{A:()=>E});var s=t(28437),n=t.n(s),e=t(35131),M=t(64922);const E=(0,e.A)((0,M.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},40805:($,c,t)=>{t.d(c,{A:()=>K});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(20664),F=t(92066),B=t(64922);const b=["theme"];function K(T){let{theme:g}=T,y=(0,n.A)(T,b);const O=g[F.A];return(0,B.jsx)(x.A,(0,s.A)({},y,{themeId:O?F.A:void 0,theme:O||g}))}},65417:($,c,t)=>{t.d(c,{A:()=>n});const n=e=>{let M;return e<1?M=5.11916*Ve(e,2):M=4.5*Math.log(e+1)+2,(M/100).toFixed(2)}},89437:($,c,t)=>{t.d(c,{A:()=>C});var s=t(28437),n=t.n(s),e=t(86568),M=t(40007),E=t(92066);function C(){const x=(0,e.A)(M.A);return x[E.A]||x}},86476:($,c,t)=>{t.d(c,{c:()=>n,q:()=>s});const s=e=>e.scrollTop;function n(e,M){var E,C;const{timeout:x,easing:F,style:B={}}=e;return{duration:(E=B.transitionDuration)!=null?E:typeof x=="number"?x:x[M.mode]||0,easing:(C=B.transitionTimingFunction)!=null?C:typeof F=="object"?F[M.mode]:F,delay:B.transitionDelay}}},85437:($,c,t)=>{t.d(c,{A:()=>B});var s=t(28437),n=t.n(s),e=t(67193),M=t(67910),E=t(55432);function C(b,K,T,g,y){const[O,p]=s.useState(()=>y&&T?T(b).matches:g?g(b).matches:K);return(0,E.A)(()=>{let P=!0;if(!T)return;const h=T(b),m=()=>{P&&p(h.matches)};return m(),h.addListener(m),()=>{P=!1,h.removeListener(m)}},[b,T]),O}const x=s.useSyncExternalStore;function F(b,K,T,g,y){const O=s.useCallback(()=>K,[K]),p=s.useMemo(()=>{if(y&&T)return()=>T(b).matches;if(g!==null){const{matches:l}=g(b);return()=>l}return O},[O,b,g,y,T]),[P,h]=s.useMemo(()=>{if(T===null)return[O,()=>()=>{}];const l=T(b);return[()=>l.matches,r=>(l.addListener(r),()=>{l.removeListener(r)})]},[O,T,b]);return x(h,P,p)}function B(b,K={}){const T=(0,e.A)(),g=typeof window!="undefined"&&typeof window.matchMedia!="undefined",{defaultMatches:y=!1,matchMedia:O=g?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:P=!1}=(0,M.A)({name:"MuiUseMediaQuery",props:K,theme:T});let h=typeof b=="function"?b(T):b;return h=h.replace(/^@media( ?)/m,""),(x!==void 0?F:C)(h,y,O,p,P)}},91429:($,c,t)=>{t.d(c,{A:()=>n});var s=t(97599);const n=s.A},27229:($,c,t)=>{t.d(c,{A:()=>n});var s=t(14095);const n=s.A},97862:($,c,t)=>{t.d(c,{A:()=>n});var s=t(41011);const n=s.A},94311:($,c,t)=>{t.d(c,{A:()=>n});var s=t(81619);const n=s.A},5809:($,c,t)=>{t.d(c,{A:()=>n});var s=t(40243);const n=s.A},55432:($,c,t)=>{t.d(c,{A:()=>n});var s=t(55791);const n=s.A},94924:($,c,t)=>{t.d(c,{A:()=>n});var s=t(16745);const n=s.A},48942:($,c,t)=>{t.d(c,{A:()=>n});var s=t(33769);const n=s.A},28617:($,c,t)=>{t.d(c,{A:()=>n});var s=t(10718);const n=s.A},69846:($,c,t)=>{t.d(c,{A:()=>T});var s=t(58168),n=t(28437),e=t.n(n),M=t(95973),E=t.n(M),C=t(53768),x=t(87012),F=t(81995),B=t(64922);function b(g,y){return typeof y=="function"?y(g):(0,s.A)({},g,y)}function K(g){const{children:y,theme:O}=g,p=(0,x.A)(),P=n.useMemo(()=>{const h=p===null?O:b(p,O);return h!=null&&(h[F.A]=p!==null),h},[O,p]);return(0,B.jsx)(C.A.Provider,{value:P,children:y})}const T=K},81995:($,c,t)=>{t.d(c,{A:()=>n});const n=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},53768:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext(null)},87012:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s),e=t(53768);function M(){return s.useContext(e.A)}},22394:($,c,t)=>{t.d(c,{A:()=>F});var s=t(28437),n=t.n(s),e=t(95973),M=t.n(e),E=t(10519),C=t(64922);function x(B){return B==null||Object.keys(B).length===0}function F(B){const{styles:b,defaultTheme:K={}}=B,T=typeof b=="function"?g=>b(x(g)?K:g):b;return(0,C.jsx)(E.mL,{styles:T})}},20664:($,c,t)=>{t.d(c,{A:()=>h});var s=t(58168),n=t(28437),e=t(95973),M=t(87012),E=t(69846),C=t(58871),x=t(67193),F=t(98587),B=t(64922);const b=["value"],K=n.createContext();function T(m){let{value:l}=m,r=(0,F.A)(m,b);return(0,B.jsx)(K.Provider,(0,s.A)({value:l!=null?l:!0},r))}const g=()=>{const m=React.useContext(K);return m!=null?m:!1},y=T,O={};function p(m,l,r,d=!1){return n.useMemo(()=>{const _=m&&l[m]||l;if(typeof r=="function"){const o=r(_),a=m?(0,s.A)({},l,{[m]:o}):o;return d?()=>a:a}return m?(0,s.A)({},l,{[m]:r}):(0,s.A)({},l,r)},[m,l,r,d])}function P(m){const{children:l,theme:r,themeId:d}=m,_=(0,x.A)(O),o=(0,M.A)()||O,a=p(d,_,r),A=p(d,o,r,!0),i=a.direction==="rtl";return(0,B.jsx)(E.A,{theme:A,children:(0,B.jsx)(C.T.Provider,{value:a,children:(0,B.jsx)(y,{value:i,children:l})})})}const h=P},96121:($,c,t)=>{t.d(c,{A:()=>x});var s=t(58168),n=t(98587),e=t(53107),M=t(61728);const E=["sx"],C=F=>{var B,b;const K={systemProps:{},otherProps:{}},T=(B=F==null||(b=F.theme)==null?void 0:b.unstable_sxConfig)!=null?B:M.A;return Object.keys(F).forEach(g=>{T[g]?K.systemProps[g]=F[g]:K.otherProps[g]=F[g]}),K};function x(F){const{sx:B}=F,b=(0,n.A)(F,E),{systemProps:K,otherProps:T}=C(b);let g;return Array.isArray(B)?g=[K,...B]:typeof B=="function"?g=(...y)=>{const O=B(...y);return(0,e.Q)(O)?(0,s.A)({},K,O):K}:g=(0,s.A)({},K,B),(0,s.A)({},T,{sx:g})}},64639:($,c,t)=>{t.d(c,{A:()=>s});function s(...n){return n.reduce((e,M)=>M==null?e:function(...C){e.apply(this,C),M.apply(this,C)},()=>{})}},97599:($,c,t)=>{t.d(c,{A:()=>s});function s(n,e=166){let M;function E(...C){const x=()=>{n.apply(this,C)};clearTimeout(M),M=setTimeout(x,e)}return E.clear=()=>{clearTimeout(M)},E}},40451:($,c,t)=>{t.d(c,{A:()=>s});function s(n){const e=n.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}},14095:($,c,t)=>{t.d(c,{A:()=>e});var s=t(28437),n=t.n(s);function e(M,E){var C,x;return s.isValidElement(M)&&E.indexOf((C=M.type.muiName)!=null?C:(x=M.type)==null||(x=x._payload)==null||(x=x.value)==null?void 0:x.muiName)!==-1}},41011:($,c,t)=>{t.d(c,{A:()=>s});function s(n){return n&&n.ownerDocument||document}},81619:($,c,t)=>{t.d(c,{A:()=>n});var s=t(41011);function n(e){return(0,s.A)(e).defaultView||window}},83259:($,c,t)=>{t.d(c,{A:()=>s});function s(n,e){typeof n=="function"?n(e):n&&(n.current=e)}},40243:($,c,t)=>{t.d(c,{A:()=>e});var s=t(28437),n=t.n(s);function e({controlled:M,default:E,name:C,state:x="value"}){const{current:F}=s.useRef(M!==void 0),[B,b]=s.useState(E),K=F?M:B,T=s.useCallback(g=>{F||b(g)},[]);return[K,T]}},55791:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=typeof window!="undefined"?s.useLayoutEffect:s.useEffect},16745:($,c,t)=>{t.d(c,{A:()=>E});var s=t(28437),n=t.n(s),e=t(55791);function M(C){const x=s.useRef(C);return(0,e.A)(()=>{x.current=C}),s.useRef((...F)=>(0,x.current)(...F)).current}const E=M},33769:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s),e=t(83259);function M(...E){return s.useMemo(()=>E.every(C=>C==null)?null:C=>{E.forEach(x=>{(0,e.A)(x,C)})},E)}},81019:($,c,t)=>{t.d(c,{A:()=>C});var s=t(28437),n=t.n(s);let e=0;function M(x){const[F,B]=s.useState(x),b=x||F;return s.useEffect(()=>{F==null&&(e+=1,B(`mui-${e}`))},[F]),b}const E=s.useId;function C(x){if(E!==void 0){const F=E();return x!=null?x:F}return M(x)}},10718:($,c,t)=>{t.d(c,{A:()=>O});var s=t(28437);class n{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new n}start(P,h){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,h()},P)}}function e(){const p=useLazyRef(n.create).current;return useOnMount(p.disposeEffect),p}let M=!0,E=!1;const C=new n,x={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function F(p){const{type:P,tagName:h}=p;return!!(h==="INPUT"&&x[P]&&!p.readOnly||h==="TEXTAREA"&&!p.readOnly||p.isContentEditable)}function B(p){p.metaKey||p.altKey||p.ctrlKey||(M=!0)}function b(){M=!1}function K(){this.visibilityState==="hidden"&&E&&(M=!0)}function T(p){p.addEventListener("keydown",B,!0),p.addEventListener("mousedown",b,!0),p.addEventListener("pointerdown",b,!0),p.addEventListener("touchstart",b,!0),p.addEventListener("visibilitychange",K,!0)}function g(p){p.removeEventListener("keydown",B,!0),p.removeEventListener("mousedown",b,!0),p.removeEventListener("pointerdown",b,!0),p.removeEventListener("touchstart",b,!0),p.removeEventListener("visibilitychange",K,!0)}function y(p){const{target:P}=p;try{return P.matches(":focus-visible")}catch(h){}return M||F(P)}function O(){const p=s.useCallback(l=>{l!=null&&T(l.ownerDocument)},[]),P=s.useRef(!1);function h(){return P.current?(E=!0,C.start(100,()=>{E=!1}),P.current=!1,!0):!1}function m(l){return y(l)?(P.current=!0,!0):!1}return{isFocusVisibleRef:P,onFocus:m,onBlur:h,ref:p}}},34027:($,c,t)=>{t.d(c,{A:()=>n});const n={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},1880:($,c,t)=>{var s=t(41178),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},M={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},E={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},C={};C[s.ForwardRef]=M,C[s.Memo]=E;function x(O){return s.isMemo(O)?E:C[O.$$typeof]||n}var F=Object.defineProperty,B=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,K=Object.getOwnPropertyDescriptor,T=Object.getPrototypeOf,g=Object.prototype;function y(O,p,P){if(typeof p!="string"){if(g){var h=T(p);h&&h!==g&&y(O,h,P)}var m=B(p);b&&(m=m.concat(b(p)));for(var l=x(O),r=x(p),d=0;d{/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var t=typeof Symbol=="function"&&Symbol.for,s=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,e=t?Symbol.for("react.fragment"):60107,M=t?Symbol.for("react.strict_mode"):60108,E=t?Symbol.for("react.profiler"):60114,C=t?Symbol.for("react.provider"):60109,x=t?Symbol.for("react.context"):60110,F=t?Symbol.for("react.async_mode"):60111,B=t?Symbol.for("react.concurrent_mode"):60111,b=t?Symbol.for("react.forward_ref"):60112,K=t?Symbol.for("react.suspense"):60113,T=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,y=t?Symbol.for("react.lazy"):60116,O=t?Symbol.for("react.block"):60121,p=t?Symbol.for("react.fundamental"):60117,P=t?Symbol.for("react.responder"):60118,h=t?Symbol.for("react.scope"):60119;function m(r){if(typeof r=="object"&&r!==null){var d=r.$$typeof;switch(d){case s:switch(r=r.type,r){case F:case B:case e:case E:case M:case K:return r;default:switch(r=r&&r.$$typeof,r){case x:case b:case y:case g:case C:return r;default:return d}}case n:return d}}}function l(r){return m(r)===B}c.AsyncMode=F,c.ConcurrentMode=B,c.ContextConsumer=x,c.ContextProvider=C,c.Element=s,c.ForwardRef=b,c.Fragment=e,c.Lazy=y,c.Memo=g,c.Portal=n,c.Profiler=E,c.StrictMode=M,c.Suspense=K,c.isAsyncMode=function(r){return l(r)||m(r)===F},c.isConcurrentMode=l,c.isContextConsumer=function(r){return m(r)===x},c.isContextProvider=function(r){return m(r)===C},c.isElement=function(r){return typeof r=="object"&&r!==null&&r.$$typeof===s},c.isForwardRef=function(r){return m(r)===b},c.isFragment=function(r){return m(r)===e},c.isLazy=function(r){return m(r)===y},c.isMemo=function(r){return m(r)===g},c.isPortal=function(r){return m(r)===n},c.isProfiler=function(r){return m(r)===E},c.isStrictMode=function(r){return m(r)===M},c.isSuspense=function(r){return m(r)===K},c.isValidElementType=function(r){return typeof r=="string"||typeof r=="function"||r===e||r===B||r===E||r===M||r===K||r===T||typeof r=="object"&&r!==null&&(r.$$typeof===y||r.$$typeof===g||r.$$typeof===C||r.$$typeof===x||r.$$typeof===b||r.$$typeof===p||r.$$typeof===P||r.$$typeof===h||r.$$typeof===O)},c.typeOf=m},41178:($,c,t)=>{$.exports=t(32950)},95373:($,c)=>{var t;/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var s=Symbol.for("react.element"),n=Symbol.for("react.portal"),e=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),x=Symbol.for("react.context"),F=Symbol.for("react.server_context"),B=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),O;O=Symbol.for("react.module.reference");function p(P){if(typeof P=="object"&&P!==null){var h=P.$$typeof;switch(h){case s:switch(P=P.type,P){case e:case E:case M:case b:case K:return P;default:switch(P=P&&P.$$typeof,P){case F:case x:case B:case g:case T:case C:return P;default:return h}}case n:return h}}}t=x,t=C,t=s,t=B,t=e,t=g,t=T,t=n,t=E,t=M,t=b,t=K,t=function(){return!1},t=function(){return!1},t=function(P){return p(P)===x},t=function(P){return p(P)===C},t=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===s},t=function(P){return p(P)===B},t=function(P){return p(P)===e},t=function(P){return p(P)===g},t=function(P){return p(P)===T},t=function(P){return p(P)===n},t=function(P){return p(P)===E},t=function(P){return p(P)===M},t=function(P){return p(P)===b},t=function(P){return p(P)===K},t=function(P){return typeof P=="string"||typeof P=="function"||P===e||P===E||P===M||P===b||P===K||P===y||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===T||P.$$typeof===C||P.$$typeof===x||P.$$typeof===B||P.$$typeof===O||P.getModuleId!==void 0)},t=p},98529:($,c,t)=>{t(95373)},39878:($,c,t)=>{t.d(c,{Ay:()=>h});var s=t(98587),n=t(77387),e=t(95973),M=t(28437),E=t.n(M),C=t(23479),x=t.n(C);const F={disabled:!1};var B=t(53079),b=t(34093),K="unmounted",T="exited",g="entering",y="entered",O="exiting",p=function(m){(0,n.A)(l,m);function l(d,_){var o;o=m.call(this,d,_)||this;var a=_,A=a&&!a.isMounting?d.enter:d.appear,i;return o.appearStatus=null,d.in?A?(i=T,o.appearStatus=g):i=y:d.unmountOnExit||d.mountOnEnter?i=K:i=T,o.state={status:i},o.nextCallback=null,o}l.getDerivedStateFromProps=function(_,o){var a=_.in;return a&&o.status===K?{status:T}:null};var r=l.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(_){var o=null;if(_!==this.props){var a=this.state.status;this.props.in?a!==g&&a!==y&&(o=g):(a===g||a===y)&&(o=O)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var _=this.props.timeout,o,a,A;return o=a=A=_,_!=null&&typeof _!="number"&&(o=_.exit,a=_.enter,A=_.appear!==void 0?_.appear:a),{exit:o,enter:a,appear:A}},r.updateStatus=function(_,o){if(_===void 0&&(_=!1),o!==null)if(this.cancelNextCallback(),o===g){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:x().findDOMNode(this);a&&(0,b.F)(a)}this.performEnter(_)}else this.performExit();else this.props.unmountOnExit&&this.state.status===T&&this.setState({status:K})},r.performEnter=function(_){var o=this,a=this.props.enter,A=this.context?this.context.isMounting:_,i=this.props.nodeRef?[A]:[x().findDOMNode(this),A],v=i[0],L=i[1],R=this.getTimeouts(),I=A?R.appear:R.enter;if(!_&&!a||F.disabled){this.safeSetState({status:y},function(){o.props.onEntered(v)});return}this.props.onEnter(v,L),this.safeSetState({status:g},function(){o.props.onEntering(v,L),o.onTransitionEnd(I,function(){o.safeSetState({status:y},function(){o.props.onEntered(v,L)})})})},r.performExit=function(){var _=this,o=this.props.exit,a=this.getTimeouts(),A=this.props.nodeRef?void 0:x().findDOMNode(this);if(!o||F.disabled){this.safeSetState({status:T},function(){_.props.onExited(A)});return}this.props.onExit(A),this.safeSetState({status:O},function(){_.props.onExiting(A),_.onTransitionEnd(a.exit,function(){_.safeSetState({status:T},function(){_.props.onExited(A)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(_,o){o=this.setNextCallback(o),this.setState(_,o)},r.setNextCallback=function(_){var o=this,a=!0;return this.nextCallback=function(A){a&&(a=!1,o.nextCallback=null,_(A))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(_,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:x().findDOMNode(this),A=_==null&&!this.props.addEndListener;if(!a||A){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],v=i[0],L=i[1];this.props.addEndListener(v,L)}_!=null&&setTimeout(this.nextCallback,_)},r.render=function(){var _=this.state.status;if(_===K)return null;var o=this.props,a=o.children,A=o.in,i=o.mountOnEnter,v=o.unmountOnExit,L=o.appear,R=o.enter,I=o.exit,j=o.timeout,S=o.addEndListener,U=o.onEnter,W=o.onEntering,V=o.onEntered,Y=o.onExit,G=o.onExiting,N=o.onExited,Q=o.nodeRef,H=(0,s.A)(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return E().createElement(B.A.Provider,{value:null},typeof a=="function"?a(_,H):E().cloneElement(E().Children.only(a),H))},l}(E().Component);p.contextType=B.A,p.propTypes={};function P(){}p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:P,onEntering:P,onEntered:P,onExit:P,onExiting:P,onExited:P},p.UNMOUNTED=K,p.EXITED=T,p.ENTERING=g,p.ENTERED=y,p.EXITING=O;const h=p},89449:($,c,t)=>{t.d(c,{A:()=>P});var s=t(98587),n=t(58168),e=t(9417),M=t(77387),E=t(95973),C=t(28437),x=t.n(C),F=t(53079);function B(h,m){var l=function(_){return m&&(0,C.isValidElement)(_)?m(_):_},r=Object.create(null);return h&&C.Children.map(h,function(d){return d}).forEach(function(d){r[d.key]=l(d)}),r}function b(h,m){h=h||{},m=m||{};function l(v){return v in m?m[v]:h[v]}var r=Object.create(null),d=[];for(var _ in h)_ in m?d.length&&(r[_]=d,d=[]):d.push(_);var o,a={};for(var A in m){if(r[A])for(o=0;o{t.d(c,{A:()=>e});var s=t(28437),n=t.n(s);const e=n().createContext(null)},34093:($,c,t)=>{t.d(c,{F:()=>s});var s=function(e){return e.scrollTop}},9417:($,c,t)=>{t.d(c,{A:()=>s});function s(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}},77387:($,c,t)=>{t.d(c,{A:()=>n});var s=t(63662);function n(e,M){e.prototype=Object.create(M.prototype),e.prototype.constructor=e,(0,s.A)(e,M)}},63662:($,c,t)=>{t.d(c,{A:()=>s});function s(n,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,C){return E.__proto__=C,E},s(n,e)}},20816:($,c,t)=>{t.d(c,{A:()=>e});var s=t(82284);function n(M,E){if((0,s.A)(M)!="object"||!M)return M;var C=M[Symbol.toPrimitive];if(C!==void 0){var x=C.call(M,E||"default");if((0,s.A)(x)!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(M)}function e(M){var E=n(M,"string");return(0,s.A)(E)=="symbol"?E:E+""}},82284:($,c,t)=>{t.d(c,{A:()=>s});function s(n){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(n)}}}]); + +//# sourceMappingURL=vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-41d58f.556fd1d3.chunk.js.map \ No newline at end of file diff --git a/admin/custom/static/js/vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17.28452bdd.chunk.js b/admin/custom/static/js/vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17.28452bdd.chunk.js deleted file mode 100644 index 0580e5a72..000000000 --- a/admin/custom/static/js/vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17.28452bdd.chunk.js +++ /dev/null @@ -1,92 +0,0 @@ -"use strict";var Ve=Math.pow;(self.webpackChunkiobroker_admin_component_backitup=self.webpackChunkiobroker_admin_component_backitup||[]).push([["vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17"],{10519:($,c,t)=>{t.d(c,{AH:()=>y,i7:()=>O,mL:()=>g});var s=t(58871),n=t(28437),e=t.n(n),M=t(5555),E=t(3673),C=t(10438),x=t(92661),F=t(1880),B=t.n(F),b={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},K=function(a,A){var i=arguments;if(A==null||!hasOwn.call(A,"css"))return React.createElement.apply(void 0,i);var v=i.length,L=new Array(v);L[0]=Emotion,L[1]=createEmotionProps(a,A);for(var R=2;R{t.d(c,{s:()=>y});var s=t(28437),n=t.n(s),e=t(95973),M=t.n(e),E=t(33769),C=t(41011),x=t(64922);const F=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function B(O){const p=parseInt(O.getAttribute("tabindex")||"",10);return Number.isNaN(p)?O.contentEditable==="true"||(O.nodeName==="AUDIO"||O.nodeName==="VIDEO"||O.nodeName==="DETAILS")&&O.getAttribute("tabindex")===null?0:O.tabIndex:p}function b(O){if(O.tagName!=="INPUT"||O.type!=="radio"||!O.name)return!1;const p=h=>O.ownerDocument.querySelector(`input[type="radio"]${h}`);let P=p(`[name="${O.name}"]:checked`);return P||(P=p(`[name="${O.name}"]`)),P!==O}function K(O){return!(O.disabled||O.tagName==="INPUT"&&O.type==="hidden"||b(O))}function T(O){const p=[],P=[];return Array.from(O.querySelectorAll(F)).forEach((h,m)=>{const l=B(h);l===-1||!K(h)||(l===0?p.push(h):P.push({documentOrder:m,tabIndex:l,node:h}))}),P.sort((h,m)=>h.tabIndex===m.tabIndex?h.documentOrder-m.documentOrder:h.tabIndex-m.tabIndex).map(h=>h.node).concat(p)}function g(){return!0}function y(O){const{children:p,disableAutoFocus:P=!1,disableEnforceFocus:h=!1,disableRestoreFocus:m=!1,getTabbable:l=T,isEnabled:r=g,open:d}=O,_=s.useRef(!1),o=s.useRef(null),a=s.useRef(null),A=s.useRef(null),i=s.useRef(null),v=s.useRef(!1),L=s.useRef(null),R=(0,E.A)(p.ref,L),I=s.useRef(null);s.useEffect(()=>{!d||!L.current||(v.current=!P)},[P,d]),s.useEffect(()=>{if(!d||!L.current)return;const U=(0,C.A)(L.current);return L.current.contains(U.activeElement)||(L.current.hasAttribute("tabIndex")||L.current.setAttribute("tabIndex","-1"),v.current&&L.current.focus()),()=>{m||(A.current&&A.current.focus&&(_.current=!0,A.current.focus()),A.current=null)}},[d]),s.useEffect(()=>{if(!d||!L.current)return;const U=(0,C.A)(L.current),W=G=>{I.current=G,!(h||!r()||G.key!=="Tab")&&U.activeElement===L.current&&G.shiftKey&&(_.current=!0,a.current&&a.current.focus())},V=()=>{const G=L.current;if(G===null)return;if(!U.hasFocus()||!r()||_.current){_.current=!1;return}if(G.contains(U.activeElement)||h&&U.activeElement!==o.current&&U.activeElement!==a.current)return;if(U.activeElement!==i.current)i.current=null;else if(i.current!==null)return;if(!v.current)return;let N=[];if((U.activeElement===o.current||U.activeElement===a.current)&&(N=l(L.current)),N.length>0){var Q,H;const w=!!((Q=I.current)!=null&&Q.shiftKey&&((H=I.current)==null?void 0:H.key)==="Tab"),nt=N[0],lt=N[N.length-1];typeof nt!="string"&&typeof lt!="string"&&(w?lt.focus():nt.focus())}else G.focus()};U.addEventListener("focusin",V),U.addEventListener("keydown",W,!0);const Y=setInterval(()=>{U.activeElement&&U.activeElement.tagName==="BODY"&&V()},50);return()=>{clearInterval(Y),U.removeEventListener("focusin",V),U.removeEventListener("keydown",W,!0)}},[P,h,m,r,d,l]);const j=U=>{A.current===null&&(A.current=U.relatedTarget),v.current=!0,i.current=U.target;const W=p.props.onFocus;W&&W(U)},S=U=>{A.current===null&&(A.current=U.relatedTarget),v.current=!0};return(0,x.jsxs)(s.Fragment,{children:[(0,x.jsx)("div",{tabIndex:d?0:-1,onFocus:S,ref:o,"data-testid":"sentinelStart"}),s.cloneElement(p,{ref:R,onFocus:j}),(0,x.jsx)("div",{tabIndex:d?0:-1,onFocus:S,ref:a,"data-testid":"sentinelEnd"})]})}},75415:($,c,t)=>{t.d(c,{Z:()=>T});var s=t(28437),n=t.n(s),e=t(23479),M=t.n(e),E=t(95973),C=t.n(E),x=t(33769),F=t(55791),B=t(83259),b=t(64922);function K(g){return typeof g=="function"?g():g}const T=s.forwardRef(function(y,O){const{children:p,container:P,disablePortal:h=!1}=y,[m,l]=s.useState(null),r=(0,x.A)(s.isValidElement(p)?p.ref:null,O);if((0,F.A)(()=>{h||l(K(P)||document.body)},[P,h]),(0,F.A)(()=>{if(m&&!h)return(0,B.A)(O,m),()=>{(0,B.A)(O,null)}},[O,m,h]),h){if(s.isValidElement(p)){const d={ref:r};return s.cloneElement(p,d)}return(0,b.jsx)(s.Fragment,{children:p})}return(0,b.jsx)(s.Fragment,{children:m&&e.createPortal(p,m)})})},21715:($,c,t)=>{t.d(c,{h:()=>h});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(23479),F=t.n(x),B=t(33769),b=t(81619),K=t(55791),T=t(97599),g=t(64922);const y=["onChange","maxRows","minRows","style","value"];function O(m){return parseInt(m,10)||0}const p={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function P(m){return m==null||Object.keys(m).length===0||m.outerHeightStyle===0&&!m.overflow}const h=e.forwardRef(function(l,r){const{onChange:d,maxRows:_,minRows:o=1,style:a,value:A}=l,i=(0,n.A)(l,y),{current:v}=e.useRef(A!=null),L=e.useRef(null),R=(0,B.A)(r,L),I=e.useRef(null),j=e.useRef(0),[S,U]=e.useState({outerHeightStyle:0}),W=e.useCallback(()=>{const N=L.current,H=(0,b.A)(N).getComputedStyle(N);if(H.width==="0px")return{outerHeightStyle:0};const w=I.current;w.style.width=H.width,w.value=N.value||l.placeholder||"x",w.value.slice(-1)===` -`&&(w.value+=" ");const nt=H.boxSizing,lt=O(H.paddingBottom)+O(H.paddingTop),tt=O(H.borderBottomWidth)+O(H.borderTopWidth),ut=w.scrollHeight;w.value="x";const Z=w.scrollHeight;let J=ut;o&&(J=Math.max(Number(o)*Z,J)),_&&(J=Math.min(Number(_)*Z,J)),J=Math.max(J,Z);const et=J+(nt==="border-box"?lt+tt:0),rt=Math.abs(J-ut)<=1;return{outerHeightStyle:et,overflow:rt}},[_,o,l.placeholder]),V=(N,Q)=>{const{outerHeightStyle:H,overflow:w}=Q;return j.current<20&&(H>0&&Math.abs((N.outerHeightStyle||0)-H)>1||N.overflow!==w)?(j.current+=1,{overflow:w,outerHeightStyle:H}):N},Y=e.useCallback(()=>{const N=W();P(N)||U(Q=>V(Q,N))},[W]);(0,K.A)(()=>{const N=()=>{const Z=W();P(Z)||x.flushSync(()=>{U(J=>V(J,Z))})},Q=()=>{j.current=0,N()};let H;const w=()=>{cancelAnimationFrame(H),H=requestAnimationFrame(()=>{Q()})},nt=(0,T.A)(Q),lt=L.current,tt=(0,b.A)(lt);tt.addEventListener("resize",nt);let ut;return typeof ResizeObserver!="undefined"&&(ut=new ResizeObserver(Q),ut.observe(lt)),()=>{nt.clear(),cancelAnimationFrame(H),tt.removeEventListener("resize",nt),ut&&ut.disconnect()}},[W]),(0,K.A)(()=>{Y()}),e.useEffect(()=>{j.current=0},[A]);const G=N=>{j.current=0,v||Y(),d&&d(N)};return(0,g.jsxs)(e.Fragment,{children:[(0,g.jsx)("textarea",(0,s.A)({value:A,onChange:G,ref:R,rows:o,style:(0,s.A)({height:S.outerHeightStyle,overflow:S.overflow?"hidden":void 0},a)},i)),(0,g.jsx)("textarea",{"aria-hidden":!0,className:l.className,readOnly:!0,ref:I,tabIndex:-1,style:(0,s.A)({},p.shadow,a,{paddingTop:0,paddingBottom:0})})]})})},38354:($,c,t)=>{t.d(c,{M:()=>E,P:()=>T});var s=t(41011),n=t(81619),e=t(40451);function M(g){const y=(0,s.A)(g);return y.body===g?(0,n.A)(g).innerWidth>y.documentElement.clientWidth:g.scrollHeight>g.clientHeight}function E(g,y){y?g.setAttribute("aria-hidden","true"):g.removeAttribute("aria-hidden")}function C(g){return parseInt((0,n.A)(g).getComputedStyle(g).paddingRight,10)||0}function x(g){const O=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(g.tagName)!==-1,p=g.tagName==="INPUT"&&g.getAttribute("type")==="hidden";return O||p}function F(g,y,O,p,P){const h=[y,O,...p];[].forEach.call(g.children,m=>{const l=h.indexOf(m)===-1,r=!x(m);l&&r&&E(m,P)})}function B(g,y){let O=-1;return g.some((p,P)=>y(p)?(O=P,!0):!1),O}function b(g,y){const O=[],p=g.container;if(!y.disableScrollLock){if(M(p)){const m=(0,e.A)((0,s.A)(p));O.push({value:p.style.paddingRight,property:"padding-right",el:p}),p.style.paddingRight=`${C(p)+m}px`;const l=(0,s.A)(p).querySelectorAll(".mui-fixed");[].forEach.call(l,r=>{O.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${C(r)+m}px`})}let h;if(p.parentNode instanceof DocumentFragment)h=(0,s.A)(p).body;else{const m=p.parentElement,l=(0,n.A)(p);h=(m==null?void 0:m.nodeName)==="HTML"&&l.getComputedStyle(m).overflowY==="scroll"?m:p}O.push({value:h.style.overflow,property:"overflow",el:h},{value:h.style.overflowX,property:"overflow-x",el:h},{value:h.style.overflowY,property:"overflow-y",el:h}),h.style.overflow="hidden"}return()=>{O.forEach(({value:h,el:m,property:l})=>{h?m.style.setProperty(l,h):m.style.removeProperty(l)})}}function K(g){const y=[];return[].forEach.call(g.children,O=>{O.getAttribute("aria-hidden")==="true"&&y.push(O)}),y}class T{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(y,O){let p=this.modals.indexOf(y);if(p!==-1)return p;p=this.modals.length,this.modals.push(y),y.modalRef&&E(y.modalRef,!1);const P=K(O);F(O,y.mount,y.modalRef,P,!0);const h=B(this.containers,m=>m.container===O);return h!==-1?(this.containers[h].modals.push(y),p):(this.containers.push({modals:[y],container:O,restore:null,hiddenSiblings:P}),p)}mount(y,O){const p=B(this.containers,h=>h.modals.indexOf(y)!==-1),P=this.containers[p];P.restore||(P.restore=b(P,O))}remove(y,O=!0){const p=this.modals.indexOf(y);if(p===-1)return p;const P=B(this.containers,m=>m.modals.indexOf(y)!==-1),h=this.containers[P];if(h.modals.splice(h.modals.indexOf(y),1),this.modals.splice(p,1),h.modals.length===0)h.restore&&h.restore(),y.modalRef&&E(y.modalRef,O),F(h.container,y.mount,y.modalRef,h.hiddenSiblings,!1),this.containers.splice(P,1);else{const m=h.modals[h.modals.length-1];m.modalRef&&E(m.modalRef,!1)}return p}isTopModal(y){return this.modals.length>0&&this.modals[this.modals.length-1]===y}}},88546:($,c,t)=>{t.d(c,{X:()=>e});var s=t(58168),n=t(61809);function e(M,E,C){return M===void 0||(0,n.g)(M)?E:(0,s.A)({},E,{ownerState:(0,s.A)({},E.ownerState,C)})}},12924:($,c,t)=>{t.d(c,{h:()=>s});function s(n,e=[]){if(n===void 0)return{};const M={};return Object.keys(n).filter(E=>E.match(/^on[A-Z]/)&&typeof n[E]=="function"&&!e.includes(E)).forEach(E=>{M[E]=n[E]}),M}},61809:($,c,t)=>{t.d(c,{g:()=>s});function s(n){return typeof n=="string"}},67388:($,c,t)=>{t.d(c,{Q:()=>K});var s=t(58168),n=t(98587),e=t(33769),M=t(88546),E=t(74984),C=t(12924);function x(T){if(T===void 0)return{};const g={};return Object.keys(T).filter(y=>!(y.match(/^on[A-Z]/)&&typeof T[y]=="function")).forEach(y=>{g[y]=T[y]}),g}function F(T){const{getSlotProps:g,additionalProps:y,externalSlotProps:O,externalForwardedProps:p,className:P}=T;if(!g){const a=(0,E.A)(p==null?void 0:p.className,O==null?void 0:O.className,P,y==null?void 0:y.className),A=(0,s.A)({},y==null?void 0:y.style,p==null?void 0:p.style,O==null?void 0:O.style),i=(0,s.A)({},y,p,O);return a.length>0&&(i.className=a),Object.keys(A).length>0&&(i.style=A),{props:i,internalRef:void 0}}const h=(0,C.h)((0,s.A)({},p,O)),m=x(O),l=x(p),r=g(h),d=(0,E.A)(r==null?void 0:r.className,y==null?void 0:y.className,P,p==null?void 0:p.className,O==null?void 0:O.className),_=(0,s.A)({},r==null?void 0:r.style,y==null?void 0:y.style,p==null?void 0:p.style,O==null?void 0:O.style),o=(0,s.A)({},r,y,l,m);return d.length>0&&(o.className=d),Object.keys(_).length>0&&(o.style=_),{props:o,internalRef:r.ref}}function B(T,g,y){return typeof T=="function"?T(g,y):T}const b=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function K(T){var g;const{elementType:y,externalSlotProps:O,ownerState:p,skipResolvingSlotProps:P=!1}=T,h=(0,n.A)(T,b),m=P?{}:B(O,p),{props:l,internalRef:r}=F((0,s.A)({},h,{externalSlotProps:m})),d=(0,e.A)(r,m==null?void 0:m.ref,(g=T.additionalProps)==null?void 0:g.ref);return(0,M.X)(y,(0,s.A)({},l,{ref:d}),p)}},51739:($,c,t)=>{t.d(c,{A:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(67987),T=t(26447),g=t(64922);const y=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],O=m=>{const{classes:l,invisible:r}=m,d={root:["root",r&&"invisible"]};return(0,F.A)(d,T.R,l)},p=(0,B.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(m,l)=>{const{ownerState:r}=m;return[l.root,r.invisible&&l.invisible]}})(({ownerState:m})=>(0,n.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},m.invisible&&{backgroundColor:"transparent"})),h=e.forwardRef(function(l,r){var d,_,o;const a=(0,b.A)({props:l,name:"MuiBackdrop"}),{children:A,className:i,component:v="div",components:L={},componentsProps:R={},invisible:I=!1,open:j,slotProps:S={},slots:U={},TransitionComponent:W=K.A,transitionDuration:V}=a,Y=(0,s.A)(a,y),G=(0,n.A)({},a,{component:v,invisible:I}),N=O(G),Q=(d=S.root)!=null?d:R.root;return(0,g.jsx)(W,(0,n.A)({in:j,timeout:V},Y,{children:(0,g.jsx)(p,(0,n.A)({"aria-hidden":!0},Q,{as:(_=(o=U.root)!=null?o:L.Root)!=null?_:v,className:(0,x.A)(N.root,i,Q==null?void 0:Q.className),ownerState:(0,n.A)({},G,Q==null?void 0:Q.ownerState),classes:N,ref:r,children:A}))}))})},26447:($,c,t)=>{t.d(c,{A:()=>E,R:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiBackdrop",C)}const E=(0,s.A)("MuiBackdrop",["root","invisible"])},64571:($,c,t)=>{t.d(c,{A:()=>G});var s=t(58168),n=t(98587),e=t(28437),M=t(95973),E=t(74984),C=t(86249),x=t(46186),F=t(48399),B=t(48942),b=t(94924),K=t(28617),T=t(89449),g=t(10519),y=t(64922);function O(N){const{className:Q,classes:H,pulsate:w=!1,rippleX:nt,rippleY:lt,rippleSize:tt,in:ut,onExited:Z,timeout:J}=N,[et,rt]=e.useState(!1),it=(0,E.A)(Q,H.ripple,H.rippleVisible,w&&H.ripplePulsate),pt={width:tt,height:tt,top:-(tt/2)+lt,left:-(tt/2)+nt},ct=(0,E.A)(H.child,et&&H.childLeaving,w&&H.childPulsate);return!ut&&!et&&rt(!0),e.useEffect(()=>{if(!ut&&Z!=null){const ft=setTimeout(Z,J);return()=>{clearTimeout(ft)}}},[Z,ut,J]),(0,y.jsx)("span",{className:it,style:pt,children:(0,y.jsx)("span",{className:ct})})}const p=O;var P=t(52847);const h=["center","classes","className"];let m=N=>N,l,r,d,_;const o=550,a=80,A=(0,g.i7)(l||(l=m` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),i=(0,g.i7)(r||(r=m` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),v=(0,g.i7)(d||(d=m` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),L=(0,x.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),R=(0,x.Ay)(p,{name:"MuiTouchRipple",slot:"Ripple"})(_||(_=m` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),P.A.rippleVisible,A,o,({theme:N})=>N.transitions.easing.easeInOut,P.A.ripplePulsate,({theme:N})=>N.transitions.duration.shorter,P.A.child,P.A.childLeaving,i,o,({theme:N})=>N.transitions.easing.easeInOut,P.A.childPulsate,v,({theme:N})=>N.transitions.easing.easeInOut),j=e.forwardRef(function(Q,H){const w=(0,F.A)({props:Q,name:"MuiTouchRipple"}),{center:nt=!1,classes:lt={},className:tt}=w,ut=(0,n.A)(w,h),[Z,J]=e.useState([]),et=e.useRef(0),rt=e.useRef(null);e.useEffect(()=>{rt.current&&(rt.current(),rt.current=null)},[Z]);const it=e.useRef(!1),pt=e.useRef(0),ct=e.useRef(null),ft=e.useRef(null);e.useEffect(()=>()=>{pt.current&&clearTimeout(pt.current)},[]);const Tt=e.useCallback(st=>{const{pulsate:xt,rippleX:Bt,rippleY:Rt,rippleSize:vt,cb:_t}=st;J(Pt=>[...Pt,(0,y.jsx)(R,{classes:{ripple:(0,E.A)(lt.ripple,P.A.ripple),rippleVisible:(0,E.A)(lt.rippleVisible,P.A.rippleVisible),ripplePulsate:(0,E.A)(lt.ripplePulsate,P.A.ripplePulsate),child:(0,E.A)(lt.child,P.A.child),childLeaving:(0,E.A)(lt.childLeaving,P.A.childLeaving),childPulsate:(0,E.A)(lt.childPulsate,P.A.childPulsate)},timeout:o,pulsate:xt,rippleX:Bt,rippleY:Rt,rippleSize:vt},et.current)]),et.current+=1,rt.current=_t},[lt]),Wt=e.useCallback((st={},xt={},Bt=()=>{})=>{const{pulsate:Rt=!1,center:vt=nt||xt.pulsate,fakeElement:_t=!1}=xt;if((st==null?void 0:st.type)==="mousedown"&&it.current){it.current=!1;return}(st==null?void 0:st.type)==="touchstart"&&(it.current=!0);const Pt=_t?null:ft.current,It=Pt?Pt.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Ot,wt,Vt;if(vt||st===void 0||st.clientX===0&&st.clientY===0||!st.clientX&&!st.touches)Ot=Math.round(It.width/2),wt=Math.round(It.height/2);else{const{clientX:jt,clientY:$t}=st.touches&&st.touches.length>0?st.touches[0]:st;Ot=Math.round(jt-It.left),wt=Math.round($t-It.top)}if(vt)Vt=Math.sqrt((2*Ve(It.width,2)+Ve(It.height,2))/3),Vt%2===0&&(Vt+=1);else{const jt=Math.max(Math.abs((Pt?Pt.clientWidth:0)-Ot),Ot)*2+2,$t=Math.max(Math.abs((Pt?Pt.clientHeight:0)-wt),wt)*2+2;Vt=Math.sqrt(Ve(jt,2)+Ve($t,2))}st!=null&&st.touches?ct.current===null&&(ct.current=()=>{Tt({pulsate:Rt,rippleX:Ot,rippleY:wt,rippleSize:Vt,cb:Bt})},pt.current=setTimeout(()=>{ct.current&&(ct.current(),ct.current=null)},a)):Tt({pulsate:Rt,rippleX:Ot,rippleY:wt,rippleSize:Vt,cb:Bt})},[nt,Tt]),Mt=e.useCallback(()=>{Wt({},{pulsate:!0})},[Wt]),yt=e.useCallback((st,xt)=>{if(clearTimeout(pt.current),(st==null?void 0:st.type)==="touchend"&&ct.current){ct.current(),ct.current=null,pt.current=setTimeout(()=>{yt(st,xt)});return}ct.current=null,J(Bt=>Bt.length>0?Bt.slice(1):Bt),rt.current=xt},[]);return e.useImperativeHandle(H,()=>({pulsate:Mt,start:Wt,stop:yt}),[Mt,Wt,yt]),(0,y.jsx)(L,(0,s.A)({className:(0,E.A)(P.A.root,lt.root,tt),ref:ft},ut,{children:(0,y.jsx)(T.A,{component:null,exit:!0,children:Z})}))});var S=t(41957);const U=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],W=N=>{const{disabled:Q,focusVisible:H,focusVisibleClassName:w,classes:nt}=N,lt={root:["root",Q&&"disabled",H&&"focusVisible"]},tt=(0,C.A)(lt,S.W,nt);return H&&w&&(tt.root+=` ${w}`),tt},V=(0,x.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(N,Q)=>Q.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${S.A.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),G=e.forwardRef(function(Q,H){const w=(0,F.A)({props:Q,name:"MuiButtonBase"}),{action:nt,centerRipple:lt=!1,children:tt,className:ut,component:Z="button",disabled:J=!1,disableRipple:et=!1,disableTouchRipple:rt=!1,focusRipple:it=!1,LinkComponent:pt="a",onBlur:ct,onClick:ft,onContextMenu:Tt,onDragLeave:Wt,onFocus:Mt,onFocusVisible:yt,onKeyDown:st,onKeyUp:xt,onMouseDown:Bt,onMouseLeave:Rt,onMouseUp:vt,onTouchEnd:_t,onTouchMove:Pt,onTouchStart:It,tabIndex:Ot=0,TouchRippleProps:wt,touchRippleRef:Vt,type:jt}=w,$t=(0,n.A)(w,U),Nt=e.useRef(null),Yt=e.useRef(null),ve=(0,B.A)(Yt,Vt),{isFocusVisibleRef:ne,onFocus:ae,onBlur:ie,ref:fe}=(0,K.A)(),[se,gt]=e.useState(!1);J&&se&>(!1),e.useImperativeHandle(nt,()=>({focusVisible:()=>{gt(!0),Nt.current.focus()}}),[]);const[Dt,ge]=e.useState(!1);e.useEffect(()=>{ge(!0)},[]);const Ht=Dt&&!et&&!J;e.useEffect(()=>{se&&it&&!et&&Dt&&Yt.current.pulsate()},[et,it,se,Dt]);function Ft(At,je,Ue=rt){return(0,b.A)(Be=>(je&&je(Be),!Ue&&Yt.current&&Yt.current[At](Be),!0))}const re=Ft("start",Bt),Ae=Ft("stop",Tt),de=Ft("stop",Wt),me=Ft("stop",vt),Pe=Ft("stop",At=>{se&&At.preventDefault(),Rt&&Rt(At)}),ce=Ft("start",It),Te=Ft("stop",_t),Ce=Ft("stop",Pt),ye=Ft("stop",At=>{ie(At),ne.current===!1&>(!1),ct&&ct(At)},!1),te=(0,b.A)(At=>{Nt.current||(Nt.current=At.currentTarget),ae(At),ne.current===!0&&(gt(!0),yt&&yt(At)),Mt&&Mt(At)}),Oe=()=>{const At=Nt.current;return Z&&Z!=="button"&&!(At.tagName==="A"&&At.href)},xe=e.useRef(!1),kt=(0,b.A)(At=>{it&&!xe.current&&se&&Yt.current&&At.key===" "&&(xe.current=!0,Yt.current.stop(At,()=>{Yt.current.start(At)})),At.target===At.currentTarget&&Oe()&&At.key===" "&&At.preventDefault(),st&&st(At),At.target===At.currentTarget&&Oe()&&At.key==="Enter"&&!J&&(At.preventDefault(),ft&&ft(At))}),Le=(0,b.A)(At=>{it&&At.key===" "&&Yt.current&&se&&!At.defaultPrevented&&(xe.current=!1,Yt.current.stop(At,()=>{Yt.current.pulsate(At)})),xt&&xt(At),ft&&At.target===At.currentTarget&&Oe()&&At.key===" "&&!At.defaultPrevented&&ft(At)});let Re=Z;Re==="button"&&($t.href||$t.to)&&(Re=pt);const Ie={};Re==="button"?(Ie.type=jt===void 0?"button":jt,Ie.disabled=J):(!$t.href&&!$t.to&&(Ie.role="button"),J&&(Ie["aria-disabled"]=J));const He=(0,B.A)(H,fe,Nt),he=(0,s.A)({},w,{centerRipple:lt,component:Z,disabled:J,disableRipple:et,disableTouchRipple:rt,focusRipple:it,tabIndex:Ot,focusVisible:se}),Qe=W(he);return(0,y.jsxs)(V,(0,s.A)({as:Re,className:(0,E.A)(Qe.root,ut),ownerState:he,onBlur:ye,onClick:ft,onContextMenu:Ae,onFocus:te,onKeyDown:kt,onKeyUp:Le,onMouseDown:re,onMouseLeave:Pe,onMouseUp:me,onDragLeave:de,onTouchEnd:Te,onTouchMove:Ce,onTouchStart:ce,ref:He,tabIndex:J?-1:Ot,type:jt},Ie,$t,{children:[tt,Ht?(0,y.jsx)(j,(0,s.A)({ref:ve,center:lt},wt)):null]}))})},41957:($,c,t)=>{t.d(c,{A:()=>E,W:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiButtonBase",C)}const E=(0,s.A)("MuiButtonBase",["root","disabled","focusVisible"])},52847:($,c,t)=>{t.d(c,{A:()=>E,O:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiTouchRipple",C)}const E=(0,s.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"])},48454:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext(void 0)},84774:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext({})},12811:($,c,t)=>{t.d(c,{A:()=>A});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(11289),B=t(86249),b=t(42118),K=t(46186),T=t(48399),g=t(64571),y=t(10016),O=t(87263),p=t(84774),P=t(48454),h=t(64922);const m=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],l=i=>{const{color:v,disableElevation:L,fullWidth:R,size:I,variant:j,classes:S}=i,U={root:["root",j,`${j}${(0,y.A)(v)}`,`size${(0,y.A)(I)}`,`${j}Size${(0,y.A)(I)}`,v==="inherit"&&"colorInherit",L&&"disableElevation",R&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,y.A)(I)}`],endIcon:["endIcon",`iconSize${(0,y.A)(I)}`]},W=(0,B.A)(U,O.B,S);return(0,n.A)({},S,W)},r=i=>(0,n.A)({},i.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},i.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},i.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),d=(0,K.Ay)(g.A,{shouldForwardProp:i=>(0,K.ep)(i)||i==="classes",name:"MuiButton",slot:"Root",overridesResolver:(i,v)=>{const{ownerState:L}=i;return[v.root,v[L.variant],v[`${L.variant}${(0,y.A)(L.color)}`],v[`size${(0,y.A)(L.size)}`],v[`${L.variant}Size${(0,y.A)(L.size)}`],L.color==="inherit"&&v.colorInherit,L.disableElevation&&v.disableElevation,L.fullWidth&&v.fullWidth]}})(({theme:i,ownerState:v})=>{var L,R;const I=i.palette.mode==="light"?i.palette.grey[300]:i.palette.grey[800],j=i.palette.mode==="light"?i.palette.grey.A100:i.palette.grey[700];return(0,n.A)({},i.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(i.vars||i).shape.borderRadius,transition:i.transitions.create(["background-color","box-shadow","border-color","color"],{duration:i.transitions.duration.short}),"&:hover":(0,n.A)({textDecoration:"none",backgroundColor:i.vars?`rgba(${i.vars.palette.text.primaryChannel} / ${i.vars.palette.action.hoverOpacity})`:(0,b.X4)(i.palette.text.primary,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},v.variant==="text"&&v.color!=="inherit"&&{backgroundColor:i.vars?`rgba(${i.vars.palette[v.color].mainChannel} / ${i.vars.palette.action.hoverOpacity})`:(0,b.X4)(i.palette[v.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},v.variant==="outlined"&&v.color!=="inherit"&&{border:`1px solid ${(i.vars||i).palette[v.color].main}`,backgroundColor:i.vars?`rgba(${i.vars.palette[v.color].mainChannel} / ${i.vars.palette.action.hoverOpacity})`:(0,b.X4)(i.palette[v.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},v.variant==="contained"&&{backgroundColor:i.vars?i.vars.palette.Button.inheritContainedHoverBg:j,boxShadow:(i.vars||i).shadows[4],"@media (hover: none)":{boxShadow:(i.vars||i).shadows[2],backgroundColor:(i.vars||i).palette.grey[300]}},v.variant==="contained"&&v.color!=="inherit"&&{backgroundColor:(i.vars||i).palette[v.color].dark,"@media (hover: none)":{backgroundColor:(i.vars||i).palette[v.color].main}}),"&:active":(0,n.A)({},v.variant==="contained"&&{boxShadow:(i.vars||i).shadows[8]}),[`&.${O.A.focusVisible}`]:(0,n.A)({},v.variant==="contained"&&{boxShadow:(i.vars||i).shadows[6]}),[`&.${O.A.disabled}`]:(0,n.A)({color:(i.vars||i).palette.action.disabled},v.variant==="outlined"&&{border:`1px solid ${(i.vars||i).palette.action.disabledBackground}`},v.variant==="contained"&&{color:(i.vars||i).palette.action.disabled,boxShadow:(i.vars||i).shadows[0],backgroundColor:(i.vars||i).palette.action.disabledBackground})},v.variant==="text"&&{padding:"6px 8px"},v.variant==="text"&&v.color!=="inherit"&&{color:(i.vars||i).palette[v.color].main},v.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},v.variant==="outlined"&&v.color!=="inherit"&&{color:(i.vars||i).palette[v.color].main,border:i.vars?`1px solid rgba(${i.vars.palette[v.color].mainChannel} / 0.5)`:`1px solid ${(0,b.X4)(i.palette[v.color].main,.5)}`},v.variant==="contained"&&{color:i.vars?i.vars.palette.text.primary:(L=(R=i.palette).getContrastText)==null?void 0:L.call(R,i.palette.grey[300]),backgroundColor:i.vars?i.vars.palette.Button.inheritContainedBg:I,boxShadow:(i.vars||i).shadows[2]},v.variant==="contained"&&v.color!=="inherit"&&{color:(i.vars||i).palette[v.color].contrastText,backgroundColor:(i.vars||i).palette[v.color].main},v.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},v.size==="small"&&v.variant==="text"&&{padding:"4px 5px",fontSize:i.typography.pxToRem(13)},v.size==="large"&&v.variant==="text"&&{padding:"8px 11px",fontSize:i.typography.pxToRem(15)},v.size==="small"&&v.variant==="outlined"&&{padding:"3px 9px",fontSize:i.typography.pxToRem(13)},v.size==="large"&&v.variant==="outlined"&&{padding:"7px 21px",fontSize:i.typography.pxToRem(15)},v.size==="small"&&v.variant==="contained"&&{padding:"4px 10px",fontSize:i.typography.pxToRem(13)},v.size==="large"&&v.variant==="contained"&&{padding:"8px 22px",fontSize:i.typography.pxToRem(15)},v.fullWidth&&{width:"100%"})},({ownerState:i})=>i.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${O.A.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${O.A.disabled}`]:{boxShadow:"none"}}),_=(0,K.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(i,v)=>{const{ownerState:L}=i;return[v.startIcon,v[`iconSize${(0,y.A)(L.size)}`]]}})(({ownerState:i})=>(0,n.A)({display:"inherit",marginRight:8,marginLeft:-4},i.size==="small"&&{marginLeft:-2},r(i))),o=(0,K.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(i,v)=>{const{ownerState:L}=i;return[v.endIcon,v[`iconSize${(0,y.A)(L.size)}`]]}})(({ownerState:i})=>(0,n.A)({display:"inherit",marginRight:-4,marginLeft:8},i.size==="small"&&{marginRight:-2},r(i))),A=e.forwardRef(function(v,L){const R=e.useContext(p.A),I=e.useContext(P.A),j=(0,F.A)(R,v),S=(0,T.A)({props:j,name:"MuiButton"}),{children:U,color:W="primary",component:V="button",className:Y,disabled:G=!1,disableElevation:N=!1,disableFocusRipple:Q=!1,endIcon:H,focusVisibleClassName:w,fullWidth:nt=!1,size:lt="medium",startIcon:tt,type:ut,variant:Z="text"}=S,J=(0,s.A)(S,m),et=(0,n.A)({},S,{color:W,component:V,disabled:G,disableElevation:N,disableFocusRipple:Q,fullWidth:nt,size:lt,type:ut,variant:Z}),rt=l(et),it=tt&&(0,h.jsx)(_,{className:rt.startIcon,ownerState:et,children:tt}),pt=H&&(0,h.jsx)(o,{className:rt.endIcon,ownerState:et,children:H}),ct=I||"";return(0,h.jsxs)(d,(0,n.A)({ownerState:et,className:(0,x.A)(R.className,rt.root,Y,ct),component:V,disabled:G,focusRipple:!Q,focusVisibleClassName:(0,x.A)(rt.focusVisible,w),ref:L,type:ut},J,{classes:rt,children:[it,U,pt]}))})},87263:($,c,t)=>{t.d(c,{A:()=>E,B:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiButton",C)}const E=(0,s.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},49813:($,c,t)=>{t.d(c,{A:()=>_});var s=t(98587),n=t(58168),e=t(28437),M=t(95973),E=t(74984),C=t(86249),x=t(42118),F=t(35131),B=t(64922);const b=(0,F.A)((0,B.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var K=t(48942),T=t(10016),g=t(64571),y=t(48399),O=t(46186),p=t(86975);const P=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],h=o=>{const{classes:a,disabled:A,size:i,color:v,iconColor:L,onDelete:R,clickable:I,variant:j}=o,S={root:["root",j,A&&"disabled",`size${(0,T.A)(i)}`,`color${(0,T.A)(v)}`,I&&"clickable",I&&`clickableColor${(0,T.A)(v)}`,R&&"deletable",R&&`deletableColor${(0,T.A)(v)}`,`${j}${(0,T.A)(v)}`],label:["label",`label${(0,T.A)(i)}`],avatar:["avatar",`avatar${(0,T.A)(i)}`,`avatarColor${(0,T.A)(v)}`],icon:["icon",`icon${(0,T.A)(i)}`,`iconColor${(0,T.A)(L)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,T.A)(i)}`,`deleteIconColor${(0,T.A)(v)}`,`deleteIcon${(0,T.A)(j)}Color${(0,T.A)(v)}`]};return(0,C.A)(S,p.f,a)},m=(0,O.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(o,a)=>{const{ownerState:A}=o,{color:i,iconColor:v,clickable:L,onDelete:R,size:I,variant:j}=A;return[{[`& .${p.A.avatar}`]:a.avatar},{[`& .${p.A.avatar}`]:a[`avatar${(0,T.A)(I)}`]},{[`& .${p.A.avatar}`]:a[`avatarColor${(0,T.A)(i)}`]},{[`& .${p.A.icon}`]:a.icon},{[`& .${p.A.icon}`]:a[`icon${(0,T.A)(I)}`]},{[`& .${p.A.icon}`]:a[`iconColor${(0,T.A)(v)}`]},{[`& .${p.A.deleteIcon}`]:a.deleteIcon},{[`& .${p.A.deleteIcon}`]:a[`deleteIcon${(0,T.A)(I)}`]},{[`& .${p.A.deleteIcon}`]:a[`deleteIconColor${(0,T.A)(i)}`]},{[`& .${p.A.deleteIcon}`]:a[`deleteIcon${(0,T.A)(j)}Color${(0,T.A)(i)}`]},a.root,a[`size${(0,T.A)(I)}`],a[`color${(0,T.A)(i)}`],L&&a.clickable,L&&i!=="default"&&a[`clickableColor${(0,T.A)(i)})`],R&&a.deletable,R&&i!=="default"&&a[`deletableColor${(0,T.A)(i)}`],a[j],a[`${j}${(0,T.A)(i)}`]]}})(({theme:o,ownerState:a})=>{const A=o.palette.mode==="light"?o.palette.grey[700]:o.palette.grey[300];return(0,n.A)({maxWidth:"100%",fontFamily:o.typography.fontFamily,fontSize:o.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(o.vars||o).palette.text.primary,backgroundColor:(o.vars||o).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:o.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${p.A.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${p.A.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:o.vars?o.vars.palette.Chip.defaultAvatarColor:A,fontSize:o.typography.pxToRem(12)},[`& .${p.A.avatarColorPrimary}`]:{color:(o.vars||o).palette.primary.contrastText,backgroundColor:(o.vars||o).palette.primary.dark},[`& .${p.A.avatarColorSecondary}`]:{color:(o.vars||o).palette.secondary.contrastText,backgroundColor:(o.vars||o).palette.secondary.dark},[`& .${p.A.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:o.typography.pxToRem(10)},[`& .${p.A.icon}`]:(0,n.A)({marginLeft:5,marginRight:-6},a.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},a.iconColor===a.color&&(0,n.A)({color:o.vars?o.vars.palette.Chip.defaultIconColor:A},a.color!=="default"&&{color:"inherit"})),[`& .${p.A.deleteIcon}`]:(0,n.A)({WebkitTapHighlightColor:"transparent",color:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / 0.26)`:(0,x.X4)(o.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / 0.4)`:(0,x.X4)(o.palette.text.primary,.4)}},a.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},a.color!=="default"&&{color:o.vars?`rgba(${o.vars.palette[a.color].contrastTextChannel} / 0.7)`:(0,x.X4)(o.palette[a.color].contrastText,.7),"&:hover, &:active":{color:(o.vars||o).palette[a.color].contrastText}})},a.size==="small"&&{height:24},a.color!=="default"&&{backgroundColor:(o.vars||o).palette[a.color].main,color:(o.vars||o).palette[a.color].contrastText},a.onDelete&&{[`&.${p.A.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.action.selectedChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.focusOpacity}))`:(0,x.X4)(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)}},a.onDelete&&a.color!=="default"&&{[`&.${p.A.focusVisible}`]:{backgroundColor:(o.vars||o).palette[a.color].dark}})},({theme:o,ownerState:a})=>(0,n.A)({},a.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.selectedChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:(0,x.X4)(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity)},[`&.${p.A.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.action.selectedChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.focusOpacity}))`:(0,x.X4)(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)},"&:active":{boxShadow:(o.vars||o).shadows[1]}},a.clickable&&a.color!=="default"&&{[`&:hover, &.${p.A.focusVisible}`]:{backgroundColor:(o.vars||o).palette[a.color].dark}}),({theme:o,ownerState:a})=>(0,n.A)({},a.variant==="outlined"&&{backgroundColor:"transparent",border:o.vars?`1px solid ${o.vars.palette.Chip.defaultBorder}`:`1px solid ${o.palette.mode==="light"?o.palette.grey[400]:o.palette.grey[700]}`,[`&.${p.A.clickable}:hover`]:{backgroundColor:(o.vars||o).palette.action.hover},[`&.${p.A.focusVisible}`]:{backgroundColor:(o.vars||o).palette.action.focus},[`& .${p.A.avatar}`]:{marginLeft:4},[`& .${p.A.avatarSmall}`]:{marginLeft:2},[`& .${p.A.icon}`]:{marginLeft:4},[`& .${p.A.iconSmall}`]:{marginLeft:2},[`& .${p.A.deleteIcon}`]:{marginRight:5},[`& .${p.A.deleteIconSmall}`]:{marginRight:3}},a.variant==="outlined"&&a.color!=="default"&&{color:(o.vars||o).palette[a.color].main,border:`1px solid ${o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / 0.7)`:(0,x.X4)(o.palette[a.color].main,.7)}`,[`&.${p.A.clickable}:hover`]:{backgroundColor:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,x.X4)(o.palette[a.color].main,o.palette.action.hoverOpacity)},[`&.${p.A.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.focusOpacity})`:(0,x.X4)(o.palette[a.color].main,o.palette.action.focusOpacity)},[`& .${p.A.deleteIcon}`]:{color:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / 0.7)`:(0,x.X4)(o.palette[a.color].main,.7),"&:hover, &:active":{color:(o.vars||o).palette[a.color].main}}})),l=(0,O.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(o,a)=>{const{ownerState:A}=o,{size:i}=A;return[a.label,a[`label${(0,T.A)(i)}`]]}})(({ownerState:o})=>(0,n.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},o.variant==="outlined"&&{paddingLeft:11,paddingRight:11},o.size==="small"&&{paddingLeft:8,paddingRight:8},o.size==="small"&&o.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function r(o){return o.key==="Backspace"||o.key==="Delete"}const _=e.forwardRef(function(a,A){const i=(0,y.A)({props:a,name:"MuiChip"}),{avatar:v,className:L,clickable:R,color:I="default",component:j,deleteIcon:S,disabled:U=!1,icon:W,label:V,onClick:Y,onDelete:G,onKeyDown:N,onKeyUp:Q,size:H="medium",variant:w="filled",tabIndex:nt,skipFocusWhenDisabled:lt=!1}=i,tt=(0,s.A)(i,P),ut=e.useRef(null),Z=(0,K.A)(ut,A),J=st=>{st.stopPropagation(),G&&G(st)},et=st=>{st.currentTarget===st.target&&r(st)&&st.preventDefault(),N&&N(st)},rt=st=>{st.currentTarget===st.target&&(G&&r(st)?G(st):st.key==="Escape"&&ut.current&&ut.current.blur()),Q&&Q(st)},it=R!==!1&&Y?!0:R,pt=it||G?g.A:j||"div",ct=(0,n.A)({},i,{component:pt,disabled:U,size:H,color:I,iconColor:e.isValidElement(W)&&W.props.color||I,onDelete:!!G,clickable:it,variant:w}),ft=h(ct),Tt=pt===g.A?(0,n.A)({component:j||"div",focusVisibleClassName:ft.focusVisible},G&&{disableRipple:!0}):{};let Wt=null;G&&(Wt=S&&e.isValidElement(S)?e.cloneElement(S,{className:(0,E.A)(S.props.className,ft.deleteIcon),onClick:J}):(0,B.jsx)(b,{className:(0,E.A)(ft.deleteIcon),onClick:J}));let Mt=null;v&&e.isValidElement(v)&&(Mt=e.cloneElement(v,{className:(0,E.A)(ft.avatar,v.props.className)}));let yt=null;return W&&e.isValidElement(W)&&(yt=e.cloneElement(W,{className:(0,E.A)(ft.icon,W.props.className)})),(0,B.jsxs)(m,(0,n.A)({as:pt,className:(0,E.A)(ft.root,L),disabled:it&&U?!0:void 0,onClick:Y,onKeyDown:et,onKeyUp:rt,ref:Z,tabIndex:lt&&U?-1:nt,ownerState:ct},Tt,tt,{children:[Mt||yt,(0,B.jsx)(l,{className:(0,E.A)(ft.label),ownerState:ct,children:V}),Wt]}))})},86975:($,c,t)=>{t.d(c,{A:()=>E,f:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiChip",C)}const E=(0,s.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"])},59589:($,c,t)=>{t.d(c,{A:()=>P});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(85309),T=t(64922);const g=["className","disableSpacing"],y=h=>{const{classes:m,disableSpacing:l}=h,r={root:["root",!l&&"spacing"]};return(0,F.A)(r,K.C,m)},O=(0,B.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(h,m)=>{const{ownerState:l}=h;return[m.root,!l.disableSpacing&&m.spacing]}})(({ownerState:h})=>(0,n.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!h.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),P=e.forwardRef(function(m,l){const r=(0,b.A)({props:m,name:"MuiDialogActions"}),{className:d,disableSpacing:_=!1}=r,o=(0,s.A)(r,g),a=(0,n.A)({},r,{disableSpacing:_}),A=y(a);return(0,T.jsx)(O,(0,n.A)({className:(0,x.A)(A.root,d),ownerState:a,ref:l},o))})},85309:($,c,t)=>{t.d(c,{A:()=>E,C:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDialogActions",C)}const E=(0,s.A)("MuiDialogActions",["root","spacing"])},63437:($,c,t)=>{t.d(c,{A:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(46725),T=t(98933),g=t(64922);const y=["className","dividers"],O=m=>{const{classes:l,dividers:r}=m,d={root:["root",r&&"dividers"]};return(0,F.A)(d,K.E,l)},p=(0,B.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(m,l)=>{const{ownerState:r}=m;return[l.root,r.dividers&&l.dividers]}})(({theme:m,ownerState:l})=>(0,n.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},l.dividers?{padding:"16px 24px",borderTop:`1px solid ${(m.vars||m).palette.divider}`,borderBottom:`1px solid ${(m.vars||m).palette.divider}`}:{[`.${T.A.root} + &`]:{paddingTop:0}})),h=e.forwardRef(function(l,r){const d=(0,b.A)({props:l,name:"MuiDialogContent"}),{className:_,dividers:o=!1}=d,a=(0,s.A)(d,y),A=(0,n.A)({},d,{dividers:o}),i=O(A);return(0,g.jsx)(p,(0,n.A)({className:(0,x.A)(i.root,_),ownerState:A,ref:r},a))})},46725:($,c,t)=>{t.d(c,{A:()=>E,E:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDialogContent",C)}const E=(0,s.A)("MuiDialogContent",["root","dividers"])},98933:($,c,t)=>{t.d(c,{A:()=>E,t:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDialogTitle",C)}const E=(0,s.A)("MuiDialogTitle",["root"])},85747:($,c,t)=>{t.d(c,{A:()=>v});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(81019),b=t(10016),K=t(10083),T=t(67987),g=t(21593),y=t(48399),O=t(46186),p=t(30311),P=t(11308),h=t(51739),m=t(89437),l=t(64922);const r=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],d=(0,O.Ay)(h.A,{name:"MuiDialog",slot:"Backdrop",overrides:(L,R)=>R.backdrop})({zIndex:-1}),_=L=>{const{classes:R,scroll:I,maxWidth:j,fullWidth:S,fullScreen:U}=L,W={root:["root"],container:["container",`scroll${(0,b.A)(I)}`],paper:["paper",`paperScroll${(0,b.A)(I)}`,`paperWidth${(0,b.A)(String(j))}`,S&&"paperFullWidth",U&&"paperFullScreen"]};return(0,F.A)(W,p.f,R)},o=(0,O.Ay)(K.A,{name:"MuiDialog",slot:"Root",overridesResolver:(L,R)=>R.root})({"@media print":{position:"absolute !important"}}),a=(0,O.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(L,R)=>{const{ownerState:I}=L;return[R.container,R[`scroll${(0,b.A)(I.scroll)}`]]}})(({ownerState:L})=>(0,n.A)({height:"100%","@media print":{height:"auto"},outline:0},L.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},L.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),A=(0,O.Ay)(g.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(L,R)=>{const{ownerState:I}=L;return[R.paper,R[`scrollPaper${(0,b.A)(I.scroll)}`],R[`paperWidth${(0,b.A)(String(I.maxWidth))}`],I.fullWidth&&R.paperFullWidth,I.fullScreen&&R.paperFullScreen]}})(({theme:L,ownerState:R})=>(0,n.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},R.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},R.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!R.maxWidth&&{maxWidth:"calc(100% - 64px)"},R.maxWidth==="xs"&&{maxWidth:L.breakpoints.unit==="px"?Math.max(L.breakpoints.values.xs,444):`max(${L.breakpoints.values.xs}${L.breakpoints.unit}, 444px)`,[`&.${p.A.paperScrollBody}`]:{[L.breakpoints.down(Math.max(L.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},R.maxWidth&&R.maxWidth!=="xs"&&{maxWidth:`${L.breakpoints.values[R.maxWidth]}${L.breakpoints.unit}`,[`&.${p.A.paperScrollBody}`]:{[L.breakpoints.down(L.breakpoints.values[R.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},R.fullWidth&&{width:"calc(100% - 64px)"},R.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${p.A.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),v=e.forwardRef(function(R,I){const j=(0,y.A)({props:R,name:"MuiDialog"}),S=(0,m.A)(),U={enter:S.transitions.duration.enteringScreen,exit:S.transitions.duration.leavingScreen},{"aria-describedby":W,"aria-labelledby":V,BackdropComponent:Y,BackdropProps:G,children:N,className:Q,disableEscapeKeyDown:H=!1,fullScreen:w=!1,fullWidth:nt=!1,maxWidth:lt="sm",onBackdropClick:tt,onClose:ut,open:Z,PaperComponent:J=g.A,PaperProps:et={},scroll:rt="paper",TransitionComponent:it=T.A,transitionDuration:pt=U,TransitionProps:ct}=j,ft=(0,s.A)(j,r),Tt=(0,n.A)({},j,{disableEscapeKeyDown:H,fullScreen:w,fullWidth:nt,maxWidth:lt,scroll:rt}),Wt=_(Tt),Mt=e.useRef(),yt=Rt=>{Mt.current=Rt.target===Rt.currentTarget},st=Rt=>{Mt.current&&(Mt.current=null,tt&&tt(Rt),ut&&ut(Rt,"backdropClick"))},xt=(0,B.A)(V),Bt=e.useMemo(()=>({titleId:xt}),[xt]);return(0,l.jsx)(o,(0,n.A)({className:(0,x.A)(Wt.root,Q),closeAfterTransition:!0,components:{Backdrop:d},componentsProps:{backdrop:(0,n.A)({transitionDuration:pt,as:Y},G)},disableEscapeKeyDown:H,onClose:ut,open:Z,ref:I,onClick:st,ownerState:Tt},ft,{children:(0,l.jsx)(it,(0,n.A)({appear:!0,in:Z,timeout:pt,role:"presentation"},ct,{children:(0,l.jsx)(a,{className:(0,x.A)(Wt.container),onMouseDown:yt,ownerState:Tt,children:(0,l.jsx)(A,(0,n.A)({as:J,elevation:24,role:"dialog","aria-describedby":W,"aria-labelledby":xt},et,{className:(0,x.A)(Wt.paper,et.className),ownerState:Tt,children:(0,l.jsx)(P.A.Provider,{value:Bt,children:N})}))})}))}))})},11308:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext({})},30311:($,c,t)=>{t.d(c,{A:()=>E,f:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDialog",C)}const E=(0,s.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"])},72733:($,c,t)=>{t.d(c,{A:()=>E,K:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiDivider",C)}const E=(0,s.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},67987:($,c,t)=>{t.d(c,{A:()=>O});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(39878),F=t(89437),B=t(86476),b=t(48942),K=t(64922);const T=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],g={entering:{opacity:1},entered:{opacity:1}},O=e.forwardRef(function(P,h){const m=(0,F.A)(),l={enter:m.transitions.duration.enteringScreen,exit:m.transitions.duration.leavingScreen},{addEndListener:r,appear:d=!0,children:_,easing:o,in:a,onEnter:A,onEntered:i,onEntering:v,onExit:L,onExited:R,onExiting:I,style:j,timeout:S=l,TransitionComponent:U=x.Ay}=P,W=(0,n.A)(P,T),V=!0,Y=e.useRef(null),G=(0,b.A)(Y,_.ref,h),N=Z=>J=>{if(Z){const et=Y.current;J===void 0?Z(et):Z(et,J)}},Q=N(v),H=N((Z,J)=>{(0,B.q)(Z);const et=(0,B.c)({style:j,timeout:S,easing:o},{mode:"enter"});Z.style.webkitTransition=m.transitions.create("opacity",et),Z.style.transition=m.transitions.create("opacity",et),A&&A(Z,J)}),w=N(i),nt=N(I),lt=N(Z=>{const J=(0,B.c)({style:j,timeout:S,easing:o},{mode:"exit"});Z.style.webkitTransition=m.transitions.create("opacity",J),Z.style.transition=m.transitions.create("opacity",J),L&&L(Z)}),tt=N(R),ut=Z=>{r&&r(Y.current,Z)};return(0,K.jsx)(U,(0,s.A)({appear:d,in:a,nodeRef:V?Y:void 0,onEnter:H,onEntered:w,onEntering:Q,onExit:lt,onExited:tt,onExiting:nt,addEndListener:ut,timeout:S},W,{children:(Z,J)=>e.cloneElement(_,(0,s.A)({style:(0,s.A)({opacity:0,visibility:Z==="exited"&&!a?"hidden":void 0},g[Z],j,_.props.style),ref:G},J))}))})},98625:($,c,t)=>{t.d(c,{A:()=>m});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(53107),C=t(95973),x=t.n(C),F=t(86249),B=t(14073),b=t(46186),K=t(48399),T=t(40369),g=t(64922);const y=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],O=l=>{const{classes:r,disableUnderline:d}=l,_={root:["root",!d&&"underline"],input:["input"]},o=(0,F.A)(_,T.N,r);return(0,n.A)({},r,o)},p=(0,b.Ay)(B.Sh,{shouldForwardProp:l=>(0,b.ep)(l)||l==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(l,r)=>{const{ownerState:d}=l;return[...(0,B.WC)(l,r),!d.disableUnderline&&r.underline]}})(({theme:l,ownerState:r})=>{var d;const _=l.palette.mode==="light",o=_?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=_?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",A=_?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=_?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,n.A)({position:"relative",backgroundColor:l.vars?l.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(l.vars||l).shape.borderRadius,borderTopRightRadius:(l.vars||l).shape.borderRadius,transition:l.transitions.create("background-color",{duration:l.transitions.duration.shorter,easing:l.transitions.easing.easeOut}),"&:hover":{backgroundColor:l.vars?l.vars.palette.FilledInput.hoverBg:A,"@media (hover: none)":{backgroundColor:l.vars?l.vars.palette.FilledInput.bg:a}},[`&.${T.A.focused}`]:{backgroundColor:l.vars?l.vars.palette.FilledInput.bg:a},[`&.${T.A.disabled}`]:{backgroundColor:l.vars?l.vars.palette.FilledInput.disabledBg:i}},!r.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(d=(l.vars||l).palette[r.color||"primary"])==null?void 0:d.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:l.transitions.create("transform",{duration:l.transitions.duration.shorter,easing:l.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${T.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${T.A.error}`]:{"&:before, &:after":{borderBottomColor:(l.vars||l).palette.error.main}},"&:before":{borderBottom:`1px solid ${l.vars?`rgba(${l.vars.palette.common.onBackgroundChannel} / ${l.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:l.transitions.create("border-bottom-color",{duration:l.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${T.A.disabled}, .${T.A.error}):before`]:{borderBottom:`1px solid ${(l.vars||l).palette.text.primary}`},[`&.${T.A.disabled}:before`]:{borderBottomStyle:"dotted"}},r.startAdornment&&{paddingLeft:12},r.endAdornment&&{paddingRight:12},r.multiline&&(0,n.A)({padding:"25px 12px 8px"},r.size==="small"&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),P=(0,b.Ay)(B.f3,{name:"MuiFilledInput",slot:"Input",overridesResolver:B.Oj})(({theme:l,ownerState:r})=>(0,n.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!l.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:l.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:l.palette.mode==="light"?null:"#fff",caretColor:l.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},l.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[l.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},r.size==="small"&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0},r.hiddenLabel&&r.size==="small"&&{paddingTop:8,paddingBottom:9})),h=e.forwardRef(function(r,d){var _,o,a,A;const i=(0,K.A)({props:r,name:"MuiFilledInput"}),{components:v={},componentsProps:L,fullWidth:R=!1,inputComponent:I="input",multiline:j=!1,slotProps:S,slots:U={},type:W="text"}=i,V=(0,s.A)(i,y),Y=(0,n.A)({},i,{fullWidth:R,inputComponent:I,multiline:j,type:W}),G=O(i),N={root:{ownerState:Y},input:{ownerState:Y}},Q=(S!=null?S:L)?(0,E.A)(S!=null?S:L,N):N,H=(_=(o=U.root)!=null?o:v.Root)!=null?_:p,w=(a=(A=U.input)!=null?A:v.Input)!=null?a:P;return(0,g.jsx)(B.Ay,(0,n.A)({slots:{root:H,input:w},componentsProps:Q,fullWidth:R,inputComponent:I,multiline:j,ref:d,type:W},V,{classes:G}))});h.muiName="Input";const m=h},40369:($,c,t)=>{t.d(c,{A:()=>x,N:()=>E});var s=t(58168),n=t(95227),e=t(35583),M=t(3721);function E(F){return(0,e.Ay)("MuiFilledInput",F)}const x=(0,s.A)({},M.A,(0,n.A)("MuiFilledInput",["root","underline","input"]))},48845:($,c,t)=>{t.d(c,{A:()=>r});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(48399),b=t(46186),K=t(1769),T=t(10016),g=t(27229),y=t(74502),O=t(23141),p=t(64922);const P=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],h=d=>{const{classes:_,margin:o,fullWidth:a}=d,A={root:["root",o!=="none"&&`margin${(0,T.A)(o)}`,a&&"fullWidth"]};return(0,F.A)(A,O.c,_)},m=(0,b.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:d},_)=>(0,n.A)({},_.root,_[`margin${(0,T.A)(d.margin)}`],d.fullWidth&&_.fullWidth)})(({ownerState:d})=>(0,n.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},d.margin==="normal"&&{marginTop:16,marginBottom:8},d.margin==="dense"&&{marginTop:8,marginBottom:4},d.fullWidth&&{width:"100%"})),r=e.forwardRef(function(_,o){const a=(0,B.A)({props:_,name:"MuiFormControl"}),{children:A,className:i,color:v="primary",component:L="div",disabled:R=!1,error:I=!1,focused:j,fullWidth:S=!1,hiddenLabel:U=!1,margin:W="none",required:V=!1,size:Y="medium",variant:G="outlined"}=a,N=(0,s.A)(a,P),Q=(0,n.A)({},a,{color:v,component:L,disabled:R,error:I,fullWidth:S,hiddenLabel:U,margin:W,required:V,size:Y,variant:G}),H=h(Q),[w,nt]=e.useState(()=>{let it=!1;return A&&e.Children.forEach(A,pt=>{if(!(0,g.A)(pt,["Input","Select"]))return;const ct=(0,g.A)(pt,["Select"])?pt.props.input:pt;ct&&(0,K.gr)(ct.props)&&(it=!0)}),it}),[lt,tt]=e.useState(()=>{let it=!1;return A&&e.Children.forEach(A,pt=>{(0,g.A)(pt,["Input","Select"])&&((0,K.lq)(pt.props,!0)||(0,K.lq)(pt.props.inputProps,!0))&&(it=!0)}),it}),[ut,Z]=e.useState(!1);R&&ut&&Z(!1);const J=j!==void 0&&!R?j:ut;let et;const rt=e.useMemo(()=>({adornedStart:w,setAdornedStart:nt,color:v,disabled:R,error:I,filled:lt,focused:J,fullWidth:S,hiddenLabel:U,size:Y,onBlur:()=>{Z(!1)},onEmpty:()=>{tt(!1)},onFilled:()=>{tt(!0)},onFocus:()=>{Z(!0)},registerEffect:et,required:V,variant:G}),[w,v,R,I,lt,J,S,U,et,V,Y,G]);return(0,p.jsx)(y.A.Provider,{value:rt,children:(0,p.jsx)(m,(0,n.A)({as:L,ownerState:Q,className:(0,x.A)(H.root,i),ref:o},N,{children:A}))})})},74502:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext(void 0)},23141:($,c,t)=>{t.d(c,{A:()=>E,c:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiFormControl",C)}const E=(0,s.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"])},65900:($,c,t)=>{t.d(c,{A:()=>s});function s({props:n,states:e,muiFormControl:M}){return e.reduce((E,C)=>(E[C]=n[C],M&&typeof n[C]=="undefined"&&(E[C]=M[C]),E),{})}},64186:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s),e=t(74502);function M(){return s.useContext(e.A)}},11085:($,c,t)=>{t.d(c,{A:()=>r});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(65900),b=t(64186),K=t(46186),T=t(10016),g=t(9413),y=t(48399),O=t(64922),p;const P=["children","className","component","disabled","error","filled","focused","margin","required","variant"],h=d=>{const{classes:_,contained:o,size:a,disabled:A,error:i,filled:v,focused:L,required:R}=d,I={root:["root",A&&"disabled",i&&"error",a&&`size${(0,T.A)(a)}`,o&&"contained",L&&"focused",v&&"filled",R&&"required"]};return(0,F.A)(I,g.h,_)},m=(0,K.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(d,_)=>{const{ownerState:o}=d;return[_.root,o.size&&_[`size${(0,T.A)(o.size)}`],o.contained&&_.contained,o.filled&&_.filled]}})(({theme:d,ownerState:_})=>(0,n.A)({color:(d.vars||d).palette.text.secondary},d.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${g.A.disabled}`]:{color:(d.vars||d).palette.text.disabled},[`&.${g.A.error}`]:{color:(d.vars||d).palette.error.main}},_.size==="small"&&{marginTop:4},_.contained&&{marginLeft:14,marginRight:14})),r=e.forwardRef(function(_,o){const a=(0,y.A)({props:_,name:"MuiFormHelperText"}),{children:A,className:i,component:v="p"}=a,L=(0,s.A)(a,P),R=(0,b.A)(),I=(0,B.A)({props:a,muiFormControl:R,states:["variant","size","disabled","error","filled","focused","required"]}),j=(0,n.A)({},a,{component:v,contained:I.variant==="filled"||I.variant==="outlined",variant:I.variant,size:I.size,disabled:I.disabled,error:I.error,filled:I.filled,focused:I.focused,required:I.required}),S=h(j);return(0,O.jsx)(m,(0,n.A)({as:v,ownerState:j,className:(0,x.A)(S.root,i),ref:o},L,{children:A===" "?p||(p=(0,O.jsx)("span",{className:"notranslate",children:"\u200B"})):A}))})},9413:($,c,t)=>{t.d(c,{A:()=>E,h:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiFormHelperText",C)}const E=(0,s.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"])},80777:($,c,t)=>{t.d(c,{A:()=>r,d:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(65900),b=t(64186),K=t(10016),T=t(48399),g=t(46186),y=t(21625),O=t(64922);const p=["children","className","color","component","disabled","error","filled","focused","required"],P=d=>{const{classes:_,color:o,focused:a,disabled:A,error:i,filled:v,required:L}=d,R={root:["root",`color${(0,K.A)(o)}`,A&&"disabled",i&&"error",v&&"filled",a&&"focused",L&&"required"],asterisk:["asterisk",i&&"error"]};return(0,F.A)(R,y.Z,_)},h=(0,g.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:d},_)=>(0,n.A)({},_.root,d.color==="secondary"&&_.colorSecondary,d.filled&&_.filled)})(({theme:d,ownerState:_})=>(0,n.A)({color:(d.vars||d).palette.text.secondary},d.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${y.A.focused}`]:{color:(d.vars||d).palette[_.color].main},[`&.${y.A.disabled}`]:{color:(d.vars||d).palette.text.disabled},[`&.${y.A.error}`]:{color:(d.vars||d).palette.error.main}})),m=(0,g.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(d,_)=>_.asterisk})(({theme:d})=>({[`&.${y.A.error}`]:{color:(d.vars||d).palette.error.main}})),r=e.forwardRef(function(_,o){const a=(0,T.A)({props:_,name:"MuiFormLabel"}),{children:A,className:i,component:v="label"}=a,L=(0,s.A)(a,p),R=(0,b.A)(),I=(0,B.A)({props:a,muiFormControl:R,states:["color","required","focused","disabled","error","filled"]}),j=(0,n.A)({},a,{color:I.color||"primary",component:v,disabled:I.disabled,error:I.error,filled:I.filled,focused:I.focused,required:I.required}),S=P(j);return(0,O.jsxs)(h,(0,n.A)({as:v,ownerState:j,className:(0,x.A)(S.root,i),ref:o},L,{children:[A,I.required&&(0,O.jsxs)(m,{ownerState:j,"aria-hidden":!0,className:S.asterisk,children:["\u2009","*"]})]}))})},21625:($,c,t)=>{t.d(c,{A:()=>E,Z:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiFormLabel",C)}const E=(0,s.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},32586:($,c,t)=>{t.d(c,{A:()=>T});var s=t(58168),n=t(28437),e=t(95973),M=t(22394),E=t(86568),C=t(64922);function x({styles:g,themeId:y,defaultTheme:O={}}){const p=(0,E.A)(O),P=typeof g=="function"?g(y&&p[y]||p):g;return(0,C.jsx)(M.A,{styles:P})}const F=x;var B=t(40007),b=t(92066);function K(g){return(0,C.jsx)(F,(0,s.A)({},g,{defaultTheme:B.A,themeId:b.A}))}const T=K},86193:($,c,t)=>{t.d(c,{A:()=>P});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(39878),F=t(89437),B=t(86476),b=t(48942),K=t(64922);const T=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function g(h){return`scale(${h}, ${Ve(h,2)})`}const y={entering:{opacity:1,transform:g(1)},entered:{opacity:1,transform:"none"}},O=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),p=e.forwardRef(function(m,l){const{addEndListener:r,appear:d=!0,children:_,easing:o,in:a,onEnter:A,onEntered:i,onEntering:v,onExit:L,onExited:R,onExiting:I,style:j,timeout:S="auto",TransitionComponent:U=x.Ay}=m,W=(0,n.A)(m,T),V=e.useRef(),Y=e.useRef(),G=(0,F.A)(),N=e.useRef(null),Q=(0,b.A)(N,_.ref,l),H=et=>rt=>{if(et){const it=N.current;rt===void 0?et(it):et(it,rt)}},w=H(v),nt=H((et,rt)=>{(0,B.q)(et);const{duration:it,delay:pt,easing:ct}=(0,B.c)({style:j,timeout:S,easing:o},{mode:"enter"});let ft;S==="auto"?(ft=G.transitions.getAutoHeightDuration(et.clientHeight),Y.current=ft):ft=it,et.style.transition=[G.transitions.create("opacity",{duration:ft,delay:pt}),G.transitions.create("transform",{duration:O?ft:ft*.666,delay:pt,easing:ct})].join(","),A&&A(et,rt)}),lt=H(i),tt=H(I),ut=H(et=>{const{duration:rt,delay:it,easing:pt}=(0,B.c)({style:j,timeout:S,easing:o},{mode:"exit"});let ct;S==="auto"?(ct=G.transitions.getAutoHeightDuration(et.clientHeight),Y.current=ct):ct=rt,et.style.transition=[G.transitions.create("opacity",{duration:ct,delay:it}),G.transitions.create("transform",{duration:O?ct:ct*.666,delay:O?it:it||ct*.333,easing:pt})].join(","),et.style.opacity=0,et.style.transform=g(.75),L&&L(et)}),Z=H(R),J=et=>{S==="auto"&&(V.current=setTimeout(et,Y.current||0)),r&&r(N.current,et)};return e.useEffect(()=>()=>{clearTimeout(V.current)},[]),(0,K.jsx)(U,(0,s.A)({appear:d,in:a,nodeRef:N,onEnter:nt,onEntered:lt,onEntering:w,onExit:ut,onExited:Z,onExiting:tt,addEndListener:J,timeout:S==="auto"?null:S},W,{children:(et,rt)=>e.cloneElement(_,(0,s.A)({style:(0,s.A)({opacity:0,transform:g(.75),visibility:et==="exited"&&!a?"hidden":void 0},y[et],j,_.props.style),ref:Q},rt))}))});p.muiSupportAuto=!0;const P=p},25325:($,c,t)=>{t.d(c,{A:()=>l});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(42118),b=t(46186),K=t(48399),T=t(64571),g=t(10016),y=t(18373),O=t(64922);const p=["edge","children","className","color","disabled","disableFocusRipple","size"],P=r=>{const{classes:d,disabled:_,color:o,edge:a,size:A}=r,i={root:["root",_&&"disabled",o!=="default"&&`color${(0,g.A)(o)}`,a&&`edge${(0,g.A)(a)}`,`size${(0,g.A)(A)}`]};return(0,F.A)(i,y.G,d)},h=(0,b.Ay)(T.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(r,d)=>{const{ownerState:_}=r;return[d.root,_.color!=="default"&&d[`color${(0,g.A)(_.color)}`],_.edge&&d[`edge${(0,g.A)(_.edge)}`],d[`size${(0,g.A)(_.size)}`]]}})(({theme:r,ownerState:d})=>(0,n.A)({textAlign:"center",flex:"0 0 auto",fontSize:r.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(r.vars||r).palette.action.active,transition:r.transitions.create("background-color",{duration:r.transitions.duration.shortest})},!d.disableRipple&&{"&:hover":{backgroundColor:r.vars?`rgba(${r.vars.palette.action.activeChannel} / ${r.vars.palette.action.hoverOpacity})`:(0,B.X4)(r.palette.action.active,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},d.edge==="start"&&{marginLeft:d.size==="small"?-3:-12},d.edge==="end"&&{marginRight:d.size==="small"?-3:-12}),({theme:r,ownerState:d})=>{var _;const o=(_=(r.vars||r).palette)==null?void 0:_[d.color];return(0,n.A)({},d.color==="inherit"&&{color:"inherit"},d.color!=="inherit"&&d.color!=="default"&&(0,n.A)({color:o==null?void 0:o.main},!d.disableRipple&&{"&:hover":(0,n.A)({},o&&{backgroundColor:r.vars?`rgba(${o.mainChannel} / ${r.vars.palette.action.hoverOpacity})`:(0,B.X4)(o.main,r.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),d.size==="small"&&{padding:5,fontSize:r.typography.pxToRem(18)},d.size==="large"&&{padding:12,fontSize:r.typography.pxToRem(28)},{[`&.${y.A.disabled}`]:{backgroundColor:"transparent",color:(r.vars||r).palette.action.disabled}})}),l=e.forwardRef(function(d,_){const o=(0,K.A)({props:d,name:"MuiIconButton"}),{edge:a=!1,children:A,className:i,color:v="default",disabled:L=!1,disableFocusRipple:R=!1,size:I="medium"}=o,j=(0,s.A)(o,p),S=(0,n.A)({},o,{edge:a,color:v,disabled:L,disableFocusRipple:R,size:I}),U=P(S);return(0,O.jsx)(h,(0,n.A)({className:(0,x.A)(U.root,i),centerRipple:!0,focusRipple:!R,disabled:L,ref:_,ownerState:S},j,{children:A}))})},18373:($,c,t)=>{t.d(c,{A:()=>E,G:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiIconButton",C)}const E=(0,s.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"])},82735:($,c,t)=>{t.d(c,{A:()=>_});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(10016),b=t(55437),K=t(74502),T=t(64186),g=t(46186),y=t(44379),O=t(48399),p=t(64922),P;const h=["children","className","component","disablePointerEvents","disableTypography","position","variant"],m=(o,a)=>{const{ownerState:A}=o;return[a.root,a[`position${(0,B.A)(A.position)}`],A.disablePointerEvents===!0&&a.disablePointerEvents,a[A.variant]]},l=o=>{const{classes:a,disablePointerEvents:A,hiddenLabel:i,position:v,size:L,variant:R}=o,I={root:["root",A&&"disablePointerEvents",v&&`position${(0,B.A)(v)}`,R,i&&"hiddenLabel",L&&`size${(0,B.A)(L)}`]};return(0,F.A)(I,y.P,a)},r=(0,g.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:m})(({theme:o,ownerState:a})=>(0,n.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(o.vars||o).palette.action.active},a.variant==="filled"&&{[`&.${y.A.positionStart}&:not(.${y.A.hiddenLabel})`]:{marginTop:16}},a.position==="start"&&{marginRight:8},a.position==="end"&&{marginLeft:8},a.disablePointerEvents===!0&&{pointerEvents:"none"})),_=e.forwardRef(function(a,A){const i=(0,O.A)({props:a,name:"MuiInputAdornment"}),{children:v,className:L,component:R="div",disablePointerEvents:I=!1,disableTypography:j=!1,position:S,variant:U}=i,W=(0,s.A)(i,h),V=(0,T.A)()||{};let Y=U;U&&V.variant,V&&!Y&&(Y=V.variant);const G=(0,n.A)({},i,{hiddenLabel:V.hiddenLabel,size:V.size,disablePointerEvents:I,position:S,variant:Y}),N=l(G);return(0,p.jsx)(K.A.Provider,{value:null,children:(0,p.jsx)(r,(0,n.A)({as:R,ownerState:G,className:(0,x.A)(N.root,L),ref:A},W,{children:typeof v=="string"&&!j?(0,p.jsx)(b.A,{color:"text.secondary",children:v}):(0,p.jsxs)(e.Fragment,{children:[S==="start"?P||(P=(0,p.jsx)("span",{className:"notranslate",children:"\u200B"})):null,v]})}))})})},44379:($,c,t)=>{t.d(c,{A:()=>E,P:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiInputAdornment",C)}const E=(0,s.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"])},14073:($,c,t)=>{t.d(c,{Ay:()=>j,Oj:()=>A,Sh:()=>v,WC:()=>a,f3:()=>L});var s=t(98587),n=t(58168),e=t(22571),M=t(28437),E=t.n(M),C=t(95973),x=t.n(C),F=t(74984),B=t(86249),b=t(21715),K=t(61809),T=t(65900),g=t(74502),y=t(64186),O=t(46186),p=t(48399),P=t(10016),h=t(48942),m=t(55432),l=t(32586),r=t(1769),d=t(3721),_=t(64922);const o=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],a=(S,U)=>{const{ownerState:W}=S;return[U.root,W.formControl&&U.formControl,W.startAdornment&&U.adornedStart,W.endAdornment&&U.adornedEnd,W.error&&U.error,W.size==="small"&&U.sizeSmall,W.multiline&&U.multiline,W.color&&U[`color${(0,P.A)(W.color)}`],W.fullWidth&&U.fullWidth,W.hiddenLabel&&U.hiddenLabel]},A=(S,U)=>{const{ownerState:W}=S;return[U.input,W.size==="small"&&U.inputSizeSmall,W.multiline&&U.inputMultiline,W.type==="search"&&U.inputTypeSearch,W.startAdornment&&U.inputAdornedStart,W.endAdornment&&U.inputAdornedEnd,W.hiddenLabel&&U.inputHiddenLabel]},i=S=>{const{classes:U,color:W,disabled:V,error:Y,endAdornment:G,focused:N,formControl:Q,fullWidth:H,hiddenLabel:w,multiline:nt,readOnly:lt,size:tt,startAdornment:ut,type:Z}=S,J={root:["root",`color${(0,P.A)(W)}`,V&&"disabled",Y&&"error",H&&"fullWidth",N&&"focused",Q&&"formControl",tt&&tt!=="medium"&&`size${(0,P.A)(tt)}`,nt&&"multiline",ut&&"adornedStart",G&&"adornedEnd",w&&"hiddenLabel",lt&&"readOnly"],input:["input",V&&"disabled",Z==="search"&&"inputTypeSearch",nt&&"inputMultiline",tt==="small"&&"inputSizeSmall",w&&"inputHiddenLabel",ut&&"inputAdornedStart",G&&"inputAdornedEnd",lt&&"readOnly"]};return(0,B.A)(J,d.g,U)},v=(0,O.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:a})(({theme:S,ownerState:U})=>(0,n.A)({},S.typography.body1,{color:(S.vars||S).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${d.A.disabled}`]:{color:(S.vars||S).palette.text.disabled,cursor:"default"}},U.multiline&&(0,n.A)({padding:"4px 0 5px"},U.size==="small"&&{paddingTop:1}),U.fullWidth&&{width:"100%"})),L=(0,O.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:A})(({theme:S,ownerState:U})=>{const W=S.palette.mode==="light",V=(0,n.A)({color:"currentColor"},S.vars?{opacity:S.vars.opacity.inputPlaceholder}:{opacity:W?.42:.5},{transition:S.transitions.create("opacity",{duration:S.transitions.duration.shorter})}),Y={opacity:"0 !important"},G=S.vars?{opacity:S.vars.opacity.inputPlaceholder}:{opacity:W?.42:.5};return(0,n.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":V,"&::-moz-placeholder":V,"&:-ms-input-placeholder":V,"&::-ms-input-placeholder":V,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${d.A.formControl} &`]:{"&::-webkit-input-placeholder":Y,"&::-moz-placeholder":Y,"&:-ms-input-placeholder":Y,"&::-ms-input-placeholder":Y,"&:focus::-webkit-input-placeholder":G,"&:focus::-moz-placeholder":G,"&:focus:-ms-input-placeholder":G,"&:focus::-ms-input-placeholder":G},[`&.${d.A.disabled}`]:{opacity:1,WebkitTextFillColor:(S.vars||S).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},U.size==="small"&&{paddingTop:1},U.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},U.type==="search"&&{MozAppearance:"textfield"})}),R=(0,_.jsx)(l.A,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),j=M.forwardRef(function(U,W){var V;const Y=(0,p.A)({props:U,name:"MuiInputBase"}),{"aria-describedby":G,autoComplete:N,autoFocus:Q,className:H,components:w={},componentsProps:nt={},defaultValue:lt,disabled:tt,disableInjectingGlobalStyles:ut,endAdornment:Z,fullWidth:J=!1,id:et,inputComponent:rt="input",inputProps:it={},inputRef:pt,maxRows:ct,minRows:ft,multiline:Tt=!1,name:Wt,onBlur:Mt,onChange:yt,onClick:st,onFocus:xt,onKeyDown:Bt,onKeyUp:Rt,placeholder:vt,readOnly:_t,renderSuffix:Pt,rows:It,slotProps:Ot={},slots:wt={},startAdornment:Vt,type:jt="text",value:$t}=Y,Nt=(0,s.A)(Y,o),Yt=it.value!=null?it.value:$t,{current:ve}=M.useRef(Yt!=null),ne=M.useRef(),ae=M.useCallback(kt=>{},[]),ie=(0,h.A)(ne,pt,it.ref,ae),[fe,se]=M.useState(!1),gt=(0,y.A)(),Dt=(0,T.A)({props:Y,muiFormControl:gt,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Dt.focused=gt?gt.focused:fe,M.useEffect(()=>{!gt&&tt&&fe&&(se(!1),Mt&&Mt())},[gt,tt,fe,Mt]);const ge=gt&>.onFilled,Ht=gt&>.onEmpty,Ft=M.useCallback(kt=>{(0,r.lq)(kt)?ge&&ge():Ht&&Ht()},[ge,Ht]);(0,m.A)(()=>{ve&&Ft({value:Yt})},[Yt,Ft,ve]);const re=kt=>{if(Dt.disabled){kt.stopPropagation();return}xt&&xt(kt),it.onFocus&&it.onFocus(kt),gt&>.onFocus?gt.onFocus(kt):se(!0)},Ae=kt=>{Mt&&Mt(kt),it.onBlur&&it.onBlur(kt),gt&>.onBlur?gt.onBlur(kt):se(!1)},de=(kt,...Le)=>{if(!ve){const Re=kt.target||ne.current;if(Re==null)throw new Error((0,e.A)(1));Ft({value:Re.value})}it.onChange&&it.onChange(kt,...Le),yt&&yt(kt,...Le)};M.useEffect(()=>{Ft(ne.current)},[]);const me=kt=>{ne.current&&kt.currentTarget===kt.target&&ne.current.focus(),st&&st(kt)};let Pe=rt,ce=it;Tt&&Pe==="input"&&(It?ce=(0,n.A)({type:void 0,minRows:It,maxRows:It},ce):ce=(0,n.A)({type:void 0,maxRows:ct,minRows:ft},ce),Pe=b.h);const Te=kt=>{Ft(kt.animationName==="mui-auto-fill-cancel"?ne.current:{value:"x"})};M.useEffect(()=>{gt&>.setAdornedStart(!!Vt)},[gt,Vt]);const Ce=(0,n.A)({},Y,{color:Dt.color||"primary",disabled:Dt.disabled,endAdornment:Z,error:Dt.error,focused:Dt.focused,formControl:gt,fullWidth:J,hiddenLabel:Dt.hiddenLabel,multiline:Tt,size:Dt.size,startAdornment:Vt,type:jt}),ye=i(Ce),te=wt.root||w.Root||v,Oe=Ot.root||nt.root||{},xe=wt.input||w.Input||L;return ce=(0,n.A)({},ce,(V=Ot.input)!=null?V:nt.input),(0,_.jsxs)(M.Fragment,{children:[!ut&&R,(0,_.jsxs)(te,(0,n.A)({},Oe,!(0,K.g)(te)&&{ownerState:(0,n.A)({},Ce,Oe.ownerState)},{ref:W,onClick:me},Nt,{className:(0,F.A)(ye.root,Oe.className,H,_t&&"MuiInputBase-readOnly"),children:[Vt,(0,_.jsx)(g.A.Provider,{value:null,children:(0,_.jsx)(xe,(0,n.A)({ownerState:Ce,"aria-invalid":Dt.error,"aria-describedby":G,autoComplete:N,autoFocus:Q,defaultValue:lt,disabled:Dt.disabled,id:et,onAnimationStart:Te,name:Wt,placeholder:vt,readOnly:_t,required:Dt.required,rows:It,value:Yt,onKeyDown:Bt,onKeyUp:Rt,type:jt},ce,!(0,K.g)(xe)&&{as:Pe,ownerState:(0,n.A)({},Ce,ce.ownerState)},{ref:ie,className:(0,F.A)(ye.input,ce.className,_t&&"MuiInputBase-readOnly"),onBlur:Ae,onChange:de,onFocus:re}))}),Z,Pt?Pt((0,n.A)({},Dt,{startAdornment:Vt})):null]}))]})})},3721:($,c,t)=>{t.d(c,{A:()=>E,g:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiInputBase",C)}const E=(0,s.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},1769:($,c,t)=>{t.d(c,{gr:()=>e,lq:()=>n});function s(M){return M!=null&&!(Array.isArray(M)&&M.length===0)}function n(M,E=!1){return M&&(s(M.value)&&M.value!==""||E&&s(M.defaultValue)&&M.defaultValue!=="")}function e(M){return M.startAdornment}},10743:($,c,t)=>{t.d(c,{A:()=>d});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(86249),F=t(74984),B=t(65900),b=t(64186),K=t(80777),T=t(21625),g=t(48399),y=t(10016),O=t(46186),p=t(16035),P=t(64922);const h=["disableAnimation","margin","shrink","variant","className"],m=_=>{const{classes:o,formControl:a,size:A,shrink:i,disableAnimation:v,variant:L,required:R}=_,I={root:["root",a&&"formControl",!v&&"animated",i&&"shrink",A&&A!=="normal"&&`size${(0,y.A)(A)}`,L],asterisk:[R&&"asterisk"]},j=(0,x.A)(I,p.R,o);return(0,n.A)({},o,j)},l=(0,O.Ay)(K.A,{shouldForwardProp:_=>(0,O.ep)(_)||_==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(_,o)=>{const{ownerState:a}=_;return[{[`& .${T.A.asterisk}`]:o.asterisk},o.root,a.formControl&&o.formControl,a.size==="small"&&o.sizeSmall,a.shrink&&o.shrink,!a.disableAnimation&&o.animated,o[a.variant]]}})(({theme:_,ownerState:o})=>(0,n.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},o.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},o.size==="small"&&{transform:"translate(0, 17px) scale(1)"},o.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!o.disableAnimation&&{transition:_.transitions.create(["color","transform","max-width"],{duration:_.transitions.duration.shorter,easing:_.transitions.easing.easeOut})},o.variant==="filled"&&(0,n.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},o.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},o.shrink&&(0,n.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},o.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),o.variant==="outlined"&&(0,n.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},o.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},o.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),d=e.forwardRef(function(o,a){const A=(0,g.A)({name:"MuiInputLabel",props:o}),{disableAnimation:i=!1,shrink:v,className:L}=A,R=(0,s.A)(A,h),I=(0,b.A)();let j=v;typeof j=="undefined"&&I&&(j=I.filled||I.focused||I.adornedStart);const S=(0,B.A)({props:A,muiFormControl:I,states:["size","variant","required"]}),U=(0,n.A)({},A,{disableAnimation:i,formControl:I,shrink:j,size:S.size,variant:S.variant,required:S.required}),W=m(U);return(0,P.jsx)(l,(0,n.A)({"data-shrink":j,ownerState:U,ref:a,className:(0,F.A)(W.root,L)},R,{classes:W}))})},16035:($,c,t)=>{t.d(c,{A:()=>E,R:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiInputLabel",C)}const E=(0,s.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"])},24893:($,c,t)=>{t.d(c,{A:()=>m});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(86249),F=t(53107),B=t(14073),b=t(46186),K=t(48399),T=t(86581),g=t(64922);const y=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],O=l=>{const{classes:r,disableUnderline:d}=l,_={root:["root",!d&&"underline"],input:["input"]},o=(0,x.A)(_,T.B,r);return(0,n.A)({},r,o)},p=(0,b.Ay)(B.Sh,{shouldForwardProp:l=>(0,b.ep)(l)||l==="classes",name:"MuiInput",slot:"Root",overridesResolver:(l,r)=>{const{ownerState:d}=l;return[...(0,B.WC)(l,r),!d.disableUnderline&&r.underline]}})(({theme:l,ownerState:r})=>{let _=l.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return l.vars&&(_=`rgba(${l.vars.palette.common.onBackgroundChannel} / ${l.vars.opacity.inputUnderline})`),(0,n.A)({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(l.vars||l).palette[r.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:l.transitions.create("transform",{duration:l.transitions.duration.shorter,easing:l.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${T.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${T.A.error}`]:{"&:before, &:after":{borderBottomColor:(l.vars||l).palette.error.main}},"&:before":{borderBottom:`1px solid ${_}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:l.transitions.create("border-bottom-color",{duration:l.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${T.A.disabled}, .${T.A.error}):before`]:{borderBottom:`2px solid ${(l.vars||l).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${_}`}},[`&.${T.A.disabled}:before`]:{borderBottomStyle:"dotted"}})}),P=(0,b.Ay)(B.f3,{name:"MuiInput",slot:"Input",overridesResolver:B.Oj})({}),h=e.forwardRef(function(r,d){var _,o,a,A;const i=(0,K.A)({props:r,name:"MuiInput"}),{disableUnderline:v,components:L={},componentsProps:R,fullWidth:I=!1,inputComponent:j="input",multiline:S=!1,slotProps:U,slots:W={},type:V="text"}=i,Y=(0,s.A)(i,y),G=O(i),Q={root:{ownerState:{disableUnderline:v}}},H=(U!=null?U:R)?(0,F.A)(U!=null?U:R,Q):Q,w=(_=(o=W.root)!=null?o:L.Root)!=null?_:p,nt=(a=(A=W.input)!=null?A:L.Input)!=null?a:P;return(0,g.jsx)(B.Ay,(0,n.A)({slots:{root:w,input:nt},slotProps:H,fullWidth:I,inputComponent:j,multiline:S,ref:d,type:V},Y,{classes:G}))});h.muiName="Input";const m=h},86581:($,c,t)=>{t.d(c,{A:()=>x,B:()=>E});var s=t(58168),n=t(95227),e=t(35583),M=t(3721);function E(F){return(0,e.Ay)("MuiInput",F)}const x=(0,s.A)({},M.A,(0,n.A)("MuiInput",["root","underline","input"]))},10217:($,c,t)=>{t.d(c,{A:()=>E,Y:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItemButton",C)}const E=(0,s.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},89883:($,c,t)=>{t.d(c,{A:()=>E,f:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItemIcon",C)}const E=(0,s.A)("MuiListItemIcon",["root","alignItemsFlexStart"])},18297:($,c,t)=>{t.d(c,{A:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(74024),T=t(52201),g=t(64922);const y=["className"],O=m=>{const{disableGutters:l,classes:r}=m,d={root:["root",l&&"disableGutters"]};return(0,F.A)(d,T.g,r)},p=(0,B.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(m,l)=>{const{ownerState:r}=m;return[l.root,r.disableGutters&&l.disableGutters]}})(({ownerState:m})=>(0,n.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},m.disableGutters&&{right:0})),P=e.forwardRef(function(l,r){const d=(0,b.A)({props:l,name:"MuiListItemSecondaryAction"}),{className:_}=d,o=(0,s.A)(d,y),a=e.useContext(K.A),A=(0,n.A)({},d,{disableGutters:a.disableGutters}),i=O(A);return(0,g.jsx)(p,(0,n.A)({className:(0,x.A)(i.root,_),ownerState:A,ref:r},o))});P.muiName="ListItemSecondaryAction";const h=P},52201:($,c,t)=>{t.d(c,{A:()=>E,g:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItemSecondaryAction",C)}const E=(0,s.A)("MuiListItemSecondaryAction",["root","disableGutters"])},86019:($,c,t)=>{t.d(c,{A:()=>E,b:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItemText",C)}const E=(0,s.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},28677:($,c,t)=>{t.d(c,{Ay:()=>L});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(61809),b=t(42118),K=t(46186),T=t(48399),g=t(64571),y=t(27229),O=t(55432),p=t(48942),P=t(74024),h=t(37917),m=t(10217),l=t(18297),r=t(64922);const d=["className"],_=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],o=(R,I)=>{const{ownerState:j}=R;return[I.root,j.dense&&I.dense,j.alignItems==="flex-start"&&I.alignItemsFlexStart,j.divider&&I.divider,!j.disableGutters&&I.gutters,!j.disablePadding&&I.padding,j.button&&I.button,j.hasSecondaryAction&&I.secondaryAction]},a=R=>{const{alignItems:I,button:j,classes:S,dense:U,disabled:W,disableGutters:V,disablePadding:Y,divider:G,hasSecondaryAction:N,selected:Q}=R,H={root:["root",U&&"dense",!V&&"gutters",!Y&&"padding",G&&"divider",W&&"disabled",j&&"button",I==="flex-start"&&"alignItemsFlexStart",N&&"secondaryAction",Q&&"selected"],container:["container"]};return(0,F.A)(H,h._,S)},A=(0,K.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:o})(({theme:R,ownerState:I})=>(0,n.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!I.disablePadding&&(0,n.A)({paddingTop:8,paddingBottom:8},I.dense&&{paddingTop:4,paddingBottom:4},!I.disableGutters&&{paddingLeft:16,paddingRight:16},!!I.secondaryAction&&{paddingRight:48}),!!I.secondaryAction&&{[`& > .${m.A.root}`]:{paddingRight:48}},{[`&.${h.A.focusVisible}`]:{backgroundColor:(R.vars||R).palette.action.focus},[`&.${h.A.selected}`]:{backgroundColor:R.vars?`rgba(${R.vars.palette.primary.mainChannel} / ${R.vars.palette.action.selectedOpacity})`:(0,b.X4)(R.palette.primary.main,R.palette.action.selectedOpacity),[`&.${h.A.focusVisible}`]:{backgroundColor:R.vars?`rgba(${R.vars.palette.primary.mainChannel} / calc(${R.vars.palette.action.selectedOpacity} + ${R.vars.palette.action.focusOpacity}))`:(0,b.X4)(R.palette.primary.main,R.palette.action.selectedOpacity+R.palette.action.focusOpacity)}},[`&.${h.A.disabled}`]:{opacity:(R.vars||R).palette.action.disabledOpacity}},I.alignItems==="flex-start"&&{alignItems:"flex-start"},I.divider&&{borderBottom:`1px solid ${(R.vars||R).palette.divider}`,backgroundClip:"padding-box"},I.button&&{transition:R.transitions.create("background-color",{duration:R.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(R.vars||R).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${h.A.selected}:hover`]:{backgroundColor:R.vars?`rgba(${R.vars.palette.primary.mainChannel} / calc(${R.vars.palette.action.selectedOpacity} + ${R.vars.palette.action.hoverOpacity}))`:(0,b.X4)(R.palette.primary.main,R.palette.action.selectedOpacity+R.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:R.vars?`rgba(${R.vars.palette.primary.mainChannel} / ${R.vars.palette.action.selectedOpacity})`:(0,b.X4)(R.palette.primary.main,R.palette.action.selectedOpacity)}}},I.hasSecondaryAction&&{paddingRight:48})),i=(0,K.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(R,I)=>I.container})({position:"relative"}),L=e.forwardRef(function(I,j){const S=(0,T.A)({props:I,name:"MuiListItem"}),{alignItems:U="center",autoFocus:W=!1,button:V=!1,children:Y,className:G,component:N,components:Q={},componentsProps:H={},ContainerComponent:w="li",ContainerProps:{className:nt}={},dense:lt=!1,disabled:tt=!1,disableGutters:ut=!1,disablePadding:Z=!1,divider:J=!1,focusVisibleClassName:et,secondaryAction:rt,selected:it=!1,slotProps:pt={},slots:ct={}}=S,ft=(0,s.A)(S.ContainerProps,d),Tt=(0,s.A)(S,_),Wt=e.useContext(P.A),Mt=e.useMemo(()=>({dense:lt||Wt.dense||!1,alignItems:U,disableGutters:ut}),[U,Wt.dense,lt,ut]),yt=e.useRef(null);(0,O.A)(()=>{W&&yt.current&&yt.current.focus()},[W]);const st=e.Children.toArray(Y),xt=st.length&&(0,y.A)(st[st.length-1],["ListItemSecondaryAction"]),Bt=(0,n.A)({},S,{alignItems:U,autoFocus:W,button:V,dense:Mt.dense,disabled:tt,disableGutters:ut,disablePadding:Z,divider:J,hasSecondaryAction:xt,selected:it}),Rt=a(Bt),vt=(0,p.A)(yt,j),_t=ct.root||Q.Root||A,Pt=pt.root||H.root||{},It=(0,n.A)({className:(0,x.A)(Rt.root,Pt.className,G),disabled:tt},Tt);let Ot=N||"li";return V&&(It.component=N||"div",It.focusVisibleClassName=(0,x.A)(h.A.focusVisible,et),Ot=g.A),xt?(Ot=!It.component&&!N?"div":Ot,w==="li"&&(Ot==="li"?Ot="div":It.component==="li"&&(It.component="div")),(0,r.jsx)(P.A.Provider,{value:Mt,children:(0,r.jsxs)(i,(0,n.A)({as:w,className:(0,x.A)(Rt.container,nt),ref:vt,ownerState:Bt},ft,{children:[(0,r.jsx)(_t,(0,n.A)({},Pt,!(0,B.g)(_t)&&{as:Ot,ownerState:(0,n.A)({},Bt,Pt.ownerState)},It,{children:st})),st.pop()]}))})):(0,r.jsx)(P.A.Provider,{value:Mt,children:(0,r.jsxs)(_t,(0,n.A)({},Pt,{as:Ot,ref:vt},!(0,B.g)(_t)&&{ownerState:(0,n.A)({},Bt,Pt.ownerState)},It,{children:[st,rt&&(0,r.jsx)(l.A,{children:rt})]}))})})},37917:($,c,t)=>{t.d(c,{A:()=>E,_:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiListItem",C)}const E=(0,s.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"])},6319:($,c,t)=>{t.d(c,{A:()=>h});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(46186),b=t(48399),K=t(74024),T=t(8891),g=t(64922);const y=["children","className","component","dense","disablePadding","subheader"],O=m=>{const{classes:l,disablePadding:r,dense:d,subheader:_}=m,o={root:["root",!r&&"padding",d&&"dense",_&&"subheader"]};return(0,F.A)(o,T.H,l)},p=(0,B.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(m,l)=>{const{ownerState:r}=m;return[l.root,!r.disablePadding&&l.padding,r.dense&&l.dense,r.subheader&&l.subheader]}})(({ownerState:m})=>(0,n.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!m.disablePadding&&{paddingTop:8,paddingBottom:8},m.subheader&&{paddingTop:0})),h=e.forwardRef(function(l,r){const d=(0,b.A)({props:l,name:"MuiList"}),{children:_,className:o,component:a="ul",dense:A=!1,disablePadding:i=!1,subheader:v}=d,L=(0,s.A)(d,y),R=e.useMemo(()=>({dense:A}),[A]),I=(0,n.A)({},d,{component:a,dense:A,disablePadding:i}),j=O(I);return(0,g.jsx)(K.A.Provider,{value:R,children:(0,g.jsxs)(p,(0,n.A)({as:a,className:(0,x.A)(j.root,o),ref:r,ownerState:I},L,{children:[v,_]}))})})},74024:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext({})},8891:($,c,t)=>{t.d(c,{A:()=>E,H:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiList",C)}const E=(0,s.A)("MuiList",["root","padding","dense","subheader"])},25471:($,c,t)=>{t.d(c,{A:()=>A});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(42118),b=t(46186),K=t(48399),T=t(74024),g=t(64571),y=t(55432),O=t(48942),p=t(72733),P=t(89883),h=t(86019),m=t(96363),l=t(64922);const r=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],d=(i,v)=>{const{ownerState:L}=i;return[v.root,L.dense&&v.dense,L.divider&&v.divider,!L.disableGutters&&v.gutters]},_=i=>{const{disabled:v,dense:L,divider:R,disableGutters:I,selected:j,classes:S}=i,U={root:["root",L&&"dense",v&&"disabled",!I&&"gutters",R&&"divider",j&&"selected"]},W=(0,F.A)(U,m.Z,S);return(0,n.A)({},S,W)},o=(0,b.Ay)(g.A,{shouldForwardProp:i=>(0,b.ep)(i)||i==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:d})(({theme:i,ownerState:v})=>(0,n.A)({},i.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!v.disableGutters&&{paddingLeft:16,paddingRight:16},v.divider&&{borderBottom:`1px solid ${(i.vars||i).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(i.vars||i).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.A.selected}`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / ${i.vars.palette.action.selectedOpacity})`:(0,B.X4)(i.palette.primary.main,i.palette.action.selectedOpacity),[`&.${m.A.focusVisible}`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / calc(${i.vars.palette.action.selectedOpacity} + ${i.vars.palette.action.focusOpacity}))`:(0,B.X4)(i.palette.primary.main,i.palette.action.selectedOpacity+i.palette.action.focusOpacity)}},[`&.${m.A.selected}:hover`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / calc(${i.vars.palette.action.selectedOpacity} + ${i.vars.palette.action.hoverOpacity}))`:(0,B.X4)(i.palette.primary.main,i.palette.action.selectedOpacity+i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / ${i.vars.palette.action.selectedOpacity})`:(0,B.X4)(i.palette.primary.main,i.palette.action.selectedOpacity)}},[`&.${m.A.focusVisible}`]:{backgroundColor:(i.vars||i).palette.action.focus},[`&.${m.A.disabled}`]:{opacity:(i.vars||i).palette.action.disabledOpacity},[`& + .${p.A.root}`]:{marginTop:i.spacing(1),marginBottom:i.spacing(1)},[`& + .${p.A.inset}`]:{marginLeft:52},[`& .${h.A.root}`]:{marginTop:0,marginBottom:0},[`& .${h.A.inset}`]:{paddingLeft:36},[`& .${P.A.root}`]:{minWidth:36}},!v.dense&&{[i.breakpoints.up("sm")]:{minHeight:"auto"}},v.dense&&(0,n.A)({minHeight:32,paddingTop:4,paddingBottom:4},i.typography.body2,{[`& .${P.A.root} svg`]:{fontSize:"1.25rem"}}))),A=e.forwardRef(function(v,L){const R=(0,K.A)({props:v,name:"MuiMenuItem"}),{autoFocus:I=!1,component:j="li",dense:S=!1,divider:U=!1,disableGutters:W=!1,focusVisibleClassName:V,role:Y="menuitem",tabIndex:G,className:N}=R,Q=(0,s.A)(R,r),H=e.useContext(T.A),w=e.useMemo(()=>({dense:S||H.dense||!1,disableGutters:W}),[H.dense,S,W]),nt=e.useRef(null);(0,y.A)(()=>{I&&nt.current&&nt.current.focus()},[I]);const lt=(0,n.A)({},R,{dense:w.dense,divider:U,disableGutters:W}),tt=_(R),ut=(0,O.A)(nt,L);let Z;return R.disabled||(Z=G!==void 0?G:-1),(0,l.jsx)(T.A.Provider,{value:w,children:(0,l.jsx)(o,(0,n.A)({ref:ut,role:Y,tabIndex:Z,component:j,focusVisibleClassName:(0,x.A)(tt.focusVisible,V),className:(0,x.A)(tt.root,N)},Q,{ownerState:lt,classes:tt}))})})},96363:($,c,t)=>{t.d(c,{A:()=>E,Z:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiMenuItem",C)}const E=(0,s.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"])},80705:($,c,t)=>{t.d(c,{A:()=>m});var s=t(58168),n=t(98587),e=t(28437),M=t(98529),E=t(95973),C=t(97862),x=t(6319),F=t(40451);const B=F.A;var b=t(48942),K=t(55432),T=t(64922);const g=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function y(l,r,d){return l===r?l.firstChild:r&&r.nextElementSibling?r.nextElementSibling:d?null:l.firstChild}function O(l,r,d){return l===r?d?l.firstChild:l.lastChild:r&&r.previousElementSibling?r.previousElementSibling:d?null:l.lastChild}function p(l,r){if(r===void 0)return!0;let d=l.innerText;return d===void 0&&(d=l.textContent),d=d.trim().toLowerCase(),d.length===0?!1:r.repeating?d[0]===r.keys[0]:d.indexOf(r.keys.join(""))===0}function P(l,r,d,_,o,a){let A=!1,i=o(l,r,r?d:!1);for(;i;){if(i===l.firstChild){if(A)return!1;A=!0}const v=_?!1:i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||!p(i,a)||v)i=o(l,i,d);else return i.focus(),!0}return!1}const m=e.forwardRef(function(r,d){const{actions:_,autoFocus:o=!1,autoFocusItem:a=!1,children:A,className:i,disabledItemsFocusable:v=!1,disableListWrap:L=!1,onKeyDown:R,variant:I="selectedMenu"}=r,j=(0,n.A)(r,g),S=e.useRef(null),U=e.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,K.A)(()=>{o&&S.current.focus()},[o]),e.useImperativeHandle(_,()=>({adjustStyleForScrollbar:(N,Q)=>{const H=!S.current.style.width;if(N.clientHeight{const Q=S.current,H=N.key,w=(0,C.A)(Q).activeElement;if(H==="ArrowDown")N.preventDefault(),P(Q,w,L,v,y);else if(H==="ArrowUp")N.preventDefault(),P(Q,w,L,v,O);else if(H==="Home")N.preventDefault(),P(Q,null,L,v,y);else if(H==="End")N.preventDefault(),P(Q,null,L,v,O);else if(H.length===1){const nt=U.current,lt=H.toLowerCase(),tt=performance.now();nt.keys.length>0&&(tt-nt.lastTime>500?(nt.keys=[],nt.repeating=!0,nt.previousKeyMatched=!0):nt.repeating&<!==nt.keys[0]&&(nt.repeating=!1)),nt.lastTime=tt,nt.keys.push(lt);const ut=w&&!nt.repeating&&p(w,nt);nt.previousKeyMatched&&(ut||P(Q,w,!1,v,y,nt))?N.preventDefault():nt.previousKeyMatched=!1}R&&R(N)},V=(0,b.A)(S,d);let Y=-1;e.Children.forEach(A,(N,Q)=>{if(!e.isValidElement(N)){Y===Q&&(Y+=1,Y>=A.length&&(Y=-1));return}N.props.disabled||(I==="selectedMenu"&&N.props.selected||Y===-1)&&(Y=Q),Y===Q&&(N.props.disabled||N.props.muiSkipListHighlight||N.type.muiSkipListHighlight)&&(Y+=1,Y>=A.length&&(Y=-1))});const G=e.Children.map(A,(N,Q)=>{if(Q===Y){const H={};return a&&(H.autoFocus=!0),N.props.tabIndex===void 0&&I==="selectedMenu"&&(H.tabIndex=0),e.cloneElement(N,H)}return N});return(0,T.jsx)(x.A,(0,s.A)({role:"menu",ref:V,className:i,onKeyDown:W,tabIndex:o?0:-1},j,{children:G}))})},87189:($,c,t)=>{t.d(c,{A:()=>i});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(98529),C=t(95973),x=t.n(C),F=t(74984),B=t(86249),b=t(67388),K=t(80705),T=t(2933),g=t(46186),y=t(89437),O=t(48399),p=t(37581),P=t(64922);const h=["onEntering"],m=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],l={vertical:"top",horizontal:"right"},r={vertical:"top",horizontal:"left"},d=v=>{const{classes:L}=v,R={root:["root"],paper:["paper"],list:["list"]};return(0,B.A)(R,p.e,L)},_=(0,g.Ay)(T.Ay,{shouldForwardProp:v=>(0,g.ep)(v)||v==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(v,L)=>L.root})({}),o=(0,g.Ay)(T.IJ,{name:"MuiMenu",slot:"Paper",overridesResolver:(v,L)=>L.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),a=(0,g.Ay)(K.A,{name:"MuiMenu",slot:"List",overridesResolver:(v,L)=>L.list})({outline:0}),i=e.forwardRef(function(L,R){var I,j;const S=(0,O.A)({props:L,name:"MuiMenu"}),{autoFocus:U=!0,children:W,className:V,disableAutoFocusItem:Y=!1,MenuListProps:G={},onClose:N,open:Q,PaperProps:H={},PopoverClasses:w,transitionDuration:nt="auto",TransitionProps:{onEntering:lt}={},variant:tt="selectedMenu",slots:ut={},slotProps:Z={}}=S,J=(0,n.A)(S.TransitionProps,h),et=(0,n.A)(S,m),rt=(0,y.A)(),it=rt.direction==="rtl",pt=(0,s.A)({},S,{autoFocus:U,disableAutoFocusItem:Y,MenuListProps:G,onEntering:lt,PaperProps:H,transitionDuration:nt,TransitionProps:J,variant:tt}),ct=d(pt),ft=U&&!Y&&Q,Tt=e.useRef(null),Wt=(vt,_t)=>{Tt.current&&Tt.current.adjustStyleForScrollbar(vt,rt),lt&<(vt,_t)},Mt=vt=>{vt.key==="Tab"&&(vt.preventDefault(),N&&N(vt,"tabKeyDown"))};let yt=-1;e.Children.map(W,(vt,_t)=>{e.isValidElement(vt)&&(vt.props.disabled||(tt==="selectedMenu"&&vt.props.selected||yt===-1)&&(yt=_t))});const st=(I=ut.paper)!=null?I:o,xt=(j=Z.paper)!=null?j:H,Bt=(0,b.Q)({elementType:ut.root,externalSlotProps:Z.root,ownerState:pt,className:[ct.root,V]}),Rt=(0,b.Q)({elementType:st,externalSlotProps:xt,ownerState:pt,className:ct.paper});return(0,P.jsx)(_,(0,s.A)({onClose:N,anchorOrigin:{vertical:"bottom",horizontal:it?"right":"left"},transformOrigin:it?l:r,slots:{paper:st,root:ut.root},slotProps:{root:Bt,paper:Rt},open:Q,ref:R,transitionDuration:nt,TransitionProps:(0,s.A)({onEntering:Wt},J),ownerState:pt},et,{classes:w,children:(0,P.jsx)(a,(0,s.A)({onKeyDown:Mt,actions:Tt,autoFocus:U&&(yt===-1||Y),autoFocusItem:ft,variant:tt},G,{className:(0,F.A)(ct.list,G.className),children:W}))}))})},37581:($,c,t)=>{t.d(c,{A:()=>E,e:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiMenu",C)}const E=(0,s.A)("MuiMenu",["root","paper","list"])},10083:($,c,t)=>{t.d(c,{A:()=>R});var s=t(98587),n=t(58168),e=t(28437),M=t(95973),E=t(74984),C=t(67388),x=t(33769),F=t(41011),B=t(16745),b=t(64639),K=t(12924),T=t(38354);function g(I){return typeof I=="function"?I():I}function y(I){return I?I.props.hasOwnProperty("in"):!1}const O=new T.P;function p(I){const{container:j,disableEscapeKeyDown:S=!1,disableScrollLock:U=!1,manager:W=O,closeAfterTransition:V=!1,onTransitionEnter:Y,onTransitionExited:G,children:N,onClose:Q,open:H,rootRef:w}=I,nt=e.useRef({}),lt=e.useRef(null),tt=e.useRef(null),ut=(0,x.A)(tt,w),[Z,J]=e.useState(!H),et=y(N);let rt=!0;(I["aria-hidden"]==="false"||I["aria-hidden"]===!1)&&(rt=!1);const it=()=>(0,F.A)(lt.current),pt=()=>(nt.current.modalRef=tt.current,nt.current.mount=lt.current,nt.current),ct=()=>{W.mount(pt(),{disableScrollLock:U}),tt.current&&(tt.current.scrollTop=0)},ft=(0,B.A)(()=>{const vt=g(j)||it().body;W.add(pt(),vt),tt.current&&ct()}),Tt=e.useCallback(()=>W.isTopModal(pt()),[W]),Wt=(0,B.A)(vt=>{lt.current=vt,vt&&(H&&Tt()?ct():tt.current&&(0,T.M)(tt.current,rt))}),Mt=e.useCallback(()=>{W.remove(pt(),rt)},[rt,W]);e.useEffect(()=>()=>{Mt()},[Mt]),e.useEffect(()=>{H?ft():(!et||!V)&&Mt()},[H,Mt,et,V,ft]);const yt=vt=>_t=>{var Pt;(Pt=vt.onKeyDown)==null||Pt.call(vt,_t),!(_t.key!=="Escape"||!Tt())&&(S||(_t.stopPropagation(),Q&&Q(_t,"escapeKeyDown")))},st=vt=>_t=>{var Pt;(Pt=vt.onClick)==null||Pt.call(vt,_t),_t.target===_t.currentTarget&&Q&&Q(_t,"backdropClick")};return{getRootProps:(vt={})=>{const _t=(0,K.h)(I);delete _t.onTransitionEnter,delete _t.onTransitionExited;const Pt=(0,n.A)({},_t,vt);return(0,n.A)({role:"presentation"},Pt,{onKeyDown:yt(Pt),ref:ut})},getBackdropProps:(vt={})=>{const _t=vt;return(0,n.A)({"aria-hidden":!0},_t,{onClick:st(_t),open:H})},getTransitionProps:()=>{const vt=()=>{J(!1),Y&&Y()},_t=()=>{J(!0),G&&G(),V&&Mt()};return{onEnter:(0,b.A)(vt,N==null?void 0:N.props.onEnter),onExited:(0,b.A)(_t,N==null?void 0:N.props.onExited)}},rootRef:ut,portalRef:Wt,isTopModal:Tt,exited:Z,hasTransition:et}}var P=t(86249),h=t(58289),m=t(75415),l=t(46186),r=t(48399),d=t(51739),_=t(809),o=t(64922);const a=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],A=I=>{const{open:j,exited:S,classes:U}=I,W={root:["root",!j&&S&&"hidden"],backdrop:["backdrop"]};return(0,P.A)(W,_.M,U)},i=(0,l.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(I,j)=>{const{ownerState:S}=I;return[j.root,!S.open&&S.exited&&j.hidden]}})(({theme:I,ownerState:j})=>(0,n.A)({position:"fixed",zIndex:(I.vars||I).zIndex.modal,right:0,bottom:0,top:0,left:0},!j.open&&j.exited&&{visibility:"hidden"})),v=(0,l.Ay)(d.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(I,j)=>j.backdrop})({zIndex:-1}),R=e.forwardRef(function(j,S){var U,W,V,Y,G,N;const Q=(0,r.A)({name:"MuiModal",props:j}),{BackdropComponent:H=v,BackdropProps:w,className:nt,closeAfterTransition:lt=!1,children:tt,container:ut,component:Z,components:J={},componentsProps:et={},disableAutoFocus:rt=!1,disableEnforceFocus:it=!1,disableEscapeKeyDown:pt=!1,disablePortal:ct=!1,disableRestoreFocus:ft=!1,disableScrollLock:Tt=!1,hideBackdrop:Wt=!1,keepMounted:Mt=!1,onBackdropClick:yt,open:st,slotProps:xt,slots:Bt}=Q,Rt=(0,s.A)(Q,a),vt=(0,n.A)({},Q,{closeAfterTransition:lt,disableAutoFocus:rt,disableEnforceFocus:it,disableEscapeKeyDown:pt,disablePortal:ct,disableRestoreFocus:ft,disableScrollLock:Tt,hideBackdrop:Wt,keepMounted:Mt}),{getRootProps:_t,getBackdropProps:Pt,getTransitionProps:It,portalRef:Ot,isTopModal:wt,exited:Vt,hasTransition:jt}=p((0,n.A)({},vt,{rootRef:S})),$t=(0,n.A)({},vt,{exited:Vt}),Nt=A($t),Yt={};if(tt.props.tabIndex===void 0&&(Yt.tabIndex="-1"),jt){const{onEnter:gt,onExited:Dt}=It();Yt.onEnter=gt,Yt.onExited=Dt}const ve=(U=(W=Bt==null?void 0:Bt.root)!=null?W:J.Root)!=null?U:i,ne=(V=(Y=Bt==null?void 0:Bt.backdrop)!=null?Y:J.Backdrop)!=null?V:H,ae=(G=xt==null?void 0:xt.root)!=null?G:et.root,ie=(N=xt==null?void 0:xt.backdrop)!=null?N:et.backdrop,fe=(0,C.Q)({elementType:ve,externalSlotProps:ae,externalForwardedProps:Rt,getSlotProps:_t,additionalProps:{ref:S,as:Z},ownerState:$t,className:(0,E.A)(nt,ae==null?void 0:ae.className,Nt==null?void 0:Nt.root,!$t.open&&$t.exited&&(Nt==null?void 0:Nt.hidden))}),se=(0,C.Q)({elementType:ne,externalSlotProps:ie,additionalProps:w,getSlotProps:gt=>Pt((0,n.A)({},gt,{onClick:Dt=>{yt&&yt(Dt),gt!=null&>.onClick&>.onClick(Dt)}})),className:(0,E.A)(ie==null?void 0:ie.className,w==null?void 0:w.className,Nt==null?void 0:Nt.backdrop),ownerState:$t});return!Mt&&!st&&(!jt||Vt)?null:(0,o.jsx)(m.Z,{ref:Ot,container:ut,disablePortal:ct,children:(0,o.jsxs)(ve,(0,n.A)({},fe,{children:[!Wt&&H?(0,o.jsx)(ne,(0,n.A)({},se)):null,(0,o.jsx)(h.s,{disableEnforceFocus:it,disableAutoFocus:rt,disableRestoreFocus:ft,isEnabled:wt,open:st,children:e.cloneElement(tt,Yt)})]}))})})},809:($,c,t)=>{t.d(c,{A:()=>E,M:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiModal",C)}const E=(0,s.A)("MuiModal",["root","hidden","backdrop"])},33157:($,c,t)=>{t.d(c,{Ay:()=>l,Ku:()=>O,XV:()=>P});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(10016),b=t(49401),K=t(46186),T=t(64922);const g=["className","disabled","error","IconComponent","inputRef","variant"],y=r=>{const{classes:d,variant:_,disabled:o,multiple:a,open:A,error:i}=r,v={select:["select",_,o&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${(0,B.A)(_)}`,A&&"iconOpen",o&&"disabled"]};return(0,F.A)(v,b.w,d)},O=({ownerState:r,theme:d})=>(0,n.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,n.A)({},d.vars?{backgroundColor:`rgba(${d.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:d.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${b.A.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(d.vars||d).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},r.variant==="filled"&&{"&&&":{paddingRight:32}},r.variant==="outlined"&&{borderRadius:(d.vars||d).shape.borderRadius,"&:focus":{borderRadius:(d.vars||d).shape.borderRadius},"&&&":{paddingRight:32}}),p=(0,K.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:K.ep,overridesResolver:(r,d)=>{const{ownerState:_}=r;return[d.select,d[_.variant],_.error&&d.error,{[`&.${b.A.multiple}`]:d.multiple}]}})(O),P=({ownerState:r,theme:d})=>(0,n.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(d.vars||d).palette.action.active,[`&.${b.A.disabled}`]:{color:(d.vars||d).palette.action.disabled}},r.open&&{transform:"rotate(180deg)"},r.variant==="filled"&&{right:7},r.variant==="outlined"&&{right:7}),h=(0,K.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(r,d)=>{const{ownerState:_}=r;return[d.icon,_.variant&&d[`icon${(0,B.A)(_.variant)}`],_.open&&d.iconOpen]}})(P),l=e.forwardRef(function(d,_){const{className:o,disabled:a,error:A,IconComponent:i,inputRef:v,variant:L="standard"}=d,R=(0,s.A)(d,g),I=(0,n.A)({},d,{disabled:a,variant:L,error:A}),j=y(I);return(0,T.jsxs)(e.Fragment,{children:[(0,T.jsx)(p,(0,n.A)({ownerState:I,className:(0,x.A)(j.select,o),disabled:a,ref:v||_},R)),d.multiple?null:(0,T.jsx)(h,{as:i,ownerState:I,className:j.icon})]})})},49401:($,c,t)=>{t.d(c,{A:()=>E,w:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiNativeSelect",C)}const E=(0,s.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},64926:($,c,t)=>{t.d(c,{A:()=>o});var s=t(98587),n=t(58168),e=t(28437),M=t(95973),E=t(86249),C=t(46186),x=t(64922),F;const B=["children","classes","className","label","notched"],b=(0,C.Ay)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),K=(0,C.Ay)("legend")(({ownerState:a,theme:A})=>(0,n.A)({float:"unset",width:"auto",overflow:"hidden"},!a.withLabel&&{padding:0,lineHeight:"11px",transition:A.transitions.create("width",{duration:150,easing:A.transitions.easing.easeOut})},a.withLabel&&(0,n.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:A.transitions.create("max-width",{duration:50,easing:A.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},a.notched&&{maxWidth:"100%",transition:A.transitions.create("max-width",{duration:100,easing:A.transitions.easing.easeOut,delay:50})})));function T(a){const{className:A,label:i,notched:v}=a,L=(0,s.A)(a,B),R=i!=null&&i!=="",I=(0,n.A)({},a,{notched:v,withLabel:R});return(0,x.jsx)(b,(0,n.A)({"aria-hidden":!0,className:A,ownerState:I},L,{children:(0,x.jsx)(K,{ownerState:I,children:R?(0,x.jsx)("span",{children:i}):F||(F=(0,x.jsx)("span",{className:"notranslate",children:"\u200B"}))})}))}var g=t(64186),y=t(65900),O=t(73393),p=t(14073),P=t(48399);const h=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],m=a=>{const{classes:A}=a,i={root:["root"],notchedOutline:["notchedOutline"],input:["input"]},v=(0,E.A)(i,O.v,A);return(0,n.A)({},A,v)},l=(0,C.Ay)(p.Sh,{shouldForwardProp:a=>(0,C.ep)(a)||a==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:p.WC})(({theme:a,ownerState:A})=>{const i=a.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,n.A)({position:"relative",borderRadius:(a.vars||a).shape.borderRadius,[`&:hover .${O.A.notchedOutline}`]:{borderColor:(a.vars||a).palette.text.primary},"@media (hover: none)":{[`&:hover .${O.A.notchedOutline}`]:{borderColor:a.vars?`rgba(${a.vars.palette.common.onBackgroundChannel} / 0.23)`:i}},[`&.${O.A.focused} .${O.A.notchedOutline}`]:{borderColor:(a.vars||a).palette[A.color].main,borderWidth:2},[`&.${O.A.error} .${O.A.notchedOutline}`]:{borderColor:(a.vars||a).palette.error.main},[`&.${O.A.disabled} .${O.A.notchedOutline}`]:{borderColor:(a.vars||a).palette.action.disabled}},A.startAdornment&&{paddingLeft:14},A.endAdornment&&{paddingRight:14},A.multiline&&(0,n.A)({padding:"16.5px 14px"},A.size==="small"&&{padding:"8.5px 14px"}))}),r=(0,C.Ay)(T,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(a,A)=>A.notchedOutline})(({theme:a})=>{const A=a.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:a.vars?`rgba(${a.vars.palette.common.onBackgroundChannel} / 0.23)`:A}}),d=(0,C.Ay)(p.f3,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:p.Oj})(({theme:a,ownerState:A})=>(0,n.A)({padding:"16.5px 14px"},!a.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:a.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:a.palette.mode==="light"?null:"#fff",caretColor:a.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},a.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[a.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},A.size==="small"&&{padding:"8.5px 14px"},A.multiline&&{padding:0},A.startAdornment&&{paddingLeft:0},A.endAdornment&&{paddingRight:0})),_=e.forwardRef(function(A,i){var v,L,R,I,j;const S=(0,P.A)({props:A,name:"MuiOutlinedInput"}),{components:U={},fullWidth:W=!1,inputComponent:V="input",label:Y,multiline:G=!1,notched:N,slots:Q={},type:H="text"}=S,w=(0,s.A)(S,h),nt=m(S),lt=(0,g.A)(),tt=(0,y.A)({props:S,muiFormControl:lt,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),ut=(0,n.A)({},S,{color:tt.color||"primary",disabled:tt.disabled,error:tt.error,focused:tt.focused,formControl:lt,fullWidth:W,hiddenLabel:tt.hiddenLabel,multiline:G,size:tt.size,type:H}),Z=(v=(L=Q.root)!=null?L:U.Root)!=null?v:l,J=(R=(I=Q.input)!=null?I:U.Input)!=null?R:d;return(0,x.jsx)(p.Ay,(0,n.A)({slots:{root:Z,input:J},renderSuffix:et=>(0,x.jsx)(r,{ownerState:ut,className:nt.notchedOutline,label:Y!=null&&Y!==""&&tt.required?j||(j=(0,x.jsxs)(e.Fragment,{children:[Y,"\u2009","*"]})):Y,notched:typeof N!="undefined"?N:!!(et.startAdornment||et.filled||et.focused)}),fullWidth:W,inputComponent:V,multiline:G,ref:i,type:H},w,{classes:(0,n.A)({},nt,{notchedOutline:null})}))});_.muiName="Input";const o=_},73393:($,c,t)=>{t.d(c,{A:()=>x,v:()=>E});var s=t(58168),n=t(95227),e=t(35583),M=t(3721);function E(F){return(0,e.Ay)("MuiOutlinedInput",F)}const x=(0,s.A)({},M.A,(0,n.A)("MuiOutlinedInput",["root","notchedOutline","input"]))},21593:($,c,t)=>{t.d(c,{A:()=>m});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(42118),b=t(46186),K=t(65417),T=t(48399),g=t(81161),y=t(64922);const O=["className","component","elevation","square","variant"],p=l=>{const{square:r,elevation:d,variant:_,classes:o}=l,a={root:["root",_,!r&&"rounded",_==="elevation"&&`elevation${d}`]};return(0,F.A)(a,g.j,o)},P=(0,b.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(l,r)=>{const{ownerState:d}=l;return[r.root,r[d.variant],!d.square&&r.rounded,d.variant==="elevation"&&r[`elevation${d.elevation}`]]}})(({theme:l,ownerState:r})=>{var d;return(0,n.A)({backgroundColor:(l.vars||l).palette.background.paper,color:(l.vars||l).palette.text.primary,transition:l.transitions.create("box-shadow")},!r.square&&{borderRadius:l.shape.borderRadius},r.variant==="outlined"&&{border:`1px solid ${(l.vars||l).palette.divider}`},r.variant==="elevation"&&(0,n.A)({boxShadow:(l.vars||l).shadows[r.elevation]},!l.vars&&l.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${(0,B.X4)("#fff",(0,K.A)(r.elevation))}, ${(0,B.X4)("#fff",(0,K.A)(r.elevation))})`},l.vars&&{backgroundImage:(d=l.vars.overlays)==null?void 0:d[r.elevation]}))}),m=e.forwardRef(function(r,d){const _=(0,T.A)({props:r,name:"MuiPaper"}),{className:o,component:a="div",elevation:A=1,square:i=!1,variant:v="elevation"}=_,L=(0,s.A)(_,O),R=(0,n.A)({},_,{component:a,elevation:A,square:i,variant:v}),I=p(R);return(0,y.jsx)(P,(0,n.A)({as:a,ownerState:R,className:(0,x.A)(I.root,o),ref:d},L))})},81161:($,c,t)=>{t.d(c,{A:()=>E,j:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiPaper",C)}const E=(0,s.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"])},2933:($,c,t)=>{t.d(c,{Ay:()=>S,Dy:()=>a,IJ:()=>I,fB:()=>A,yt:()=>R});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(67388),b=t(61809),K=t(46186),T=t(48399),g=t(91429),y=t(97862),O=t(94311),p=t(48942),P=t(86193),h=t(10083),m=t(21593),l=t(38765),r=t(64922);const d=["onEntering"],_=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],o=["slotProps"];function a(U,W){let V=0;return typeof W=="number"?V=W:W==="center"?V=U.height/2:W==="bottom"&&(V=U.height),V}function A(U,W){let V=0;return typeof W=="number"?V=W:W==="center"?V=U.width/2:W==="right"&&(V=U.width),V}function i(U){return[U.horizontal,U.vertical].map(W=>typeof W=="number"?`${W}px`:W).join(" ")}function v(U){return typeof U=="function"?U():U}const L=U=>{const{classes:W}=U,V={root:["root"],paper:["paper"]};return(0,F.A)(V,l.K,W)},R=(0,K.Ay)(h.A,{name:"MuiPopover",slot:"Root",overridesResolver:(U,W)=>W.root})({}),I=(0,K.Ay)(m.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(U,W)=>W.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),S=e.forwardRef(function(W,V){var Y,G,N;const Q=(0,T.A)({props:W,name:"MuiPopover"}),{action:H,anchorEl:w,anchorOrigin:nt={vertical:"top",horizontal:"left"},anchorPosition:lt,anchorReference:tt="anchorEl",children:ut,className:Z,container:J,elevation:et=8,marginThreshold:rt=16,open:it,PaperProps:pt={},slots:ct,slotProps:ft,transformOrigin:Tt={vertical:"top",horizontal:"left"},TransitionComponent:Wt=P.A,transitionDuration:Mt="auto",TransitionProps:{onEntering:yt}={},disableScrollLock:st=!1}=Q,xt=(0,n.A)(Q.TransitionProps,d),Bt=(0,n.A)(Q,_),Rt=(Y=ft==null?void 0:ft.paper)!=null?Y:pt,vt=e.useRef(),_t=(0,p.A)(vt,Rt.ref),Pt=(0,s.A)({},Q,{anchorOrigin:nt,anchorReference:tt,elevation:et,marginThreshold:rt,externalPaperSlotProps:Rt,transformOrigin:Tt,TransitionComponent:Wt,transitionDuration:Mt,TransitionProps:xt}),It=L(Pt),Ot=e.useCallback(()=>{if(tt==="anchorPosition")return lt;const Ht=v(w),re=(Ht&&Ht.nodeType===1?Ht:(0,y.A)(vt.current).body).getBoundingClientRect();return{top:re.top+a(re,nt.vertical),left:re.left+A(re,nt.horizontal)}},[w,nt.horizontal,nt.vertical,lt,tt]),wt=e.useCallback(Ht=>({vertical:a(Ht,Tt.vertical),horizontal:A(Ht,Tt.horizontal)}),[Tt.horizontal,Tt.vertical]),Vt=e.useCallback(Ht=>{const Ft={width:Ht.offsetWidth,height:Ht.offsetHeight},re=wt(Ft);if(tt==="none")return{top:null,left:null,transformOrigin:i(re)};const Ae=Ot();let de=Ae.top-re.vertical,me=Ae.left-re.horizontal;const Pe=de+Ft.height,ce=me+Ft.width,Te=(0,O.A)(v(w)),Ce=Te.innerHeight-rt,ye=Te.innerWidth-rt;if(rt!==null&&deCe){const te=Pe-Ce;de-=te,re.vertical+=te}if(rt!==null&&meye){const te=ce-ye;me-=te,re.horizontal+=te}return{top:`${Math.round(de)}px`,left:`${Math.round(me)}px`,transformOrigin:i(re)}},[w,tt,Ot,wt,rt]),[jt,$t]=e.useState(it),Nt=e.useCallback(()=>{const Ht=vt.current;if(!Ht)return;const Ft=Vt(Ht);Ft.top!==null&&(Ht.style.top=Ft.top),Ft.left!==null&&(Ht.style.left=Ft.left),Ht.style.transformOrigin=Ft.transformOrigin,$t(!0)},[Vt]);e.useEffect(()=>(st&&window.addEventListener("scroll",Nt),()=>window.removeEventListener("scroll",Nt)),[w,st,Nt]);const Yt=(Ht,Ft)=>{yt&&yt(Ht,Ft),Nt()},ve=()=>{$t(!1)};e.useEffect(()=>{it&&Nt()}),e.useImperativeHandle(H,()=>it?{updatePosition:()=>{Nt()}}:null,[it,Nt]),e.useEffect(()=>{if(!it)return;const Ht=(0,g.A)(()=>{Nt()}),Ft=(0,O.A)(w);return Ft.addEventListener("resize",Ht),()=>{Ht.clear(),Ft.removeEventListener("resize",Ht)}},[w,it,Nt]);let ne=Mt;Mt==="auto"&&!Wt.muiSupportAuto&&(ne=void 0);const ae=J||(w?(0,y.A)(v(w)).body:void 0),ie=(G=ct==null?void 0:ct.root)!=null?G:R,fe=(N=ct==null?void 0:ct.paper)!=null?N:I,se=(0,B.Q)({elementType:fe,externalSlotProps:(0,s.A)({},Rt,{style:jt?Rt.style:(0,s.A)({},Rt.style,{opacity:0})}),additionalProps:{elevation:et,ref:_t},ownerState:Pt,className:(0,x.A)(It.paper,Rt==null?void 0:Rt.className)}),gt=(0,B.Q)({elementType:ie,externalSlotProps:(ft==null?void 0:ft.root)||{},externalForwardedProps:Bt,additionalProps:{ref:V,slotProps:{backdrop:{invisible:!0}},container:ae,open:it},ownerState:Pt,className:(0,x.A)(It.root,Z)}),{slotProps:Dt}=gt,ge=(0,n.A)(gt,o);return(0,r.jsx)(ie,(0,s.A)({},ge,!(0,b.g)(ie)&&{slotProps:Dt,disableScrollLock:st},{children:(0,r.jsx)(Wt,(0,s.A)({appear:!0,in:it,onEntering:Yt,onExited:ve,timeout:ne},xt,{children:(0,r.jsx)(fe,(0,s.A)({},se,{children:ut}))}))}))})},38765:($,c,t)=>{t.d(c,{A:()=>E,K:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiPopover",C)}const E=(0,s.A)("MuiPopover",["root","paper"])},78176:($,c,t)=>{t.d(c,{A:()=>Yo});var s=t(58168),n=t(98587),e=t(28437),M=t(33769),E=t(55791),C=t(41011);function x(u){if(u==null)return window;if(u.toString()!=="[object Window]"){var f=u.ownerDocument;return f&&f.defaultView||window}return u}function F(u){var f=x(u).Element;return u instanceof f||u instanceof Element}function B(u){var f=x(u).HTMLElement;return u instanceof f||u instanceof HTMLElement}function b(u){if(typeof ShadowRoot=="undefined")return!1;var f=x(u).ShadowRoot;return u instanceof f||u instanceof ShadowRoot}var K=Math.max,T=Math.min,g=Math.round;function y(){var u=navigator.userAgentData;return u!=null&&u.brands&&Array.isArray(u.brands)?u.brands.map(function(f){return f.brand+"/"+f.version}).join(" "):navigator.userAgent}function O(){return!/^((?!chrome|android).)*safari/i.test(y())}function p(u,f,D){f===void 0&&(f=!1),D===void 0&&(D=!1);var z=u.getBoundingClientRect(),X=1,k=1;f&&B(u)&&(X=u.offsetWidth>0&&g(z.width)/u.offsetWidth||1,k=u.offsetHeight>0&&g(z.height)/u.offsetHeight||1);var dt=F(u)?x(u):window,ot=dt.visualViewport,q=!O()&&D,Et=(z.left+(q&&ot?ot.offsetLeft:0))/X,at=(z.top+(q&&ot?ot.offsetTop:0))/k,bt=z.width/X,zt=z.height/k;return{width:bt,height:zt,top:at,right:Et+bt,bottom:at+zt,left:Et,x:Et,y:at}}function P(u){var f=x(u),D=f.pageXOffset,z=f.pageYOffset;return{scrollLeft:D,scrollTop:z}}function h(u){return{scrollLeft:u.scrollLeft,scrollTop:u.scrollTop}}function m(u){return u===x(u)||!B(u)?P(u):h(u)}function l(u){return u?(u.nodeName||"").toLowerCase():null}function r(u){return((F(u)?u.ownerDocument:u.document)||window.document).documentElement}function d(u){return p(r(u)).left+P(u).scrollLeft}function _(u){return x(u).getComputedStyle(u)}function o(u){var f=_(u),D=f.overflow,z=f.overflowX,X=f.overflowY;return/auto|scroll|overlay|hidden/.test(D+X+z)}function a(u){var f=u.getBoundingClientRect(),D=g(f.width)/u.offsetWidth||1,z=g(f.height)/u.offsetHeight||1;return D!==1||z!==1}function A(u,f,D){D===void 0&&(D=!1);var z=B(f),X=B(f)&&a(f),k=r(f),dt=p(u,X,D),ot={scrollLeft:0,scrollTop:0},q={x:0,y:0};return(z||!z&&!D)&&((l(f)!=="body"||o(k))&&(ot=m(f)),B(f)?(q=p(f,!0),q.x+=f.clientLeft,q.y+=f.clientTop):k&&(q.x=d(k))),{x:dt.left+ot.scrollLeft-q.x,y:dt.top+ot.scrollTop-q.y,width:dt.width,height:dt.height}}function i(u){var f=p(u),D=u.offsetWidth,z=u.offsetHeight;return Math.abs(f.width-D)<=1&&(D=f.width),Math.abs(f.height-z)<=1&&(z=f.height),{x:u.offsetLeft,y:u.offsetTop,width:D,height:z}}function v(u){return l(u)==="html"?u:u.assignedSlot||u.parentNode||(b(u)?u.host:null)||r(u)}function L(u){return["html","body","#document"].indexOf(l(u))>=0?u.ownerDocument.body:B(u)&&o(u)?u:L(v(u))}function R(u,f){var D;f===void 0&&(f=[]);var z=L(u),X=z===((D=u.ownerDocument)==null?void 0:D.body),k=x(z),dt=X?[k].concat(k.visualViewport||[],o(z)?z:[]):z,ot=f.concat(dt);return X?ot:ot.concat(R(v(dt)))}function I(u){return["table","td","th"].indexOf(l(u))>=0}function j(u){return!B(u)||_(u).position==="fixed"?null:u.offsetParent}function S(u){var f=/firefox/i.test(y()),D=/Trident/i.test(y());if(D&&B(u)){var z=_(u);if(z.position==="fixed")return null}var X=v(u);for(b(X)&&(X=X.host);B(X)&&["html","body"].indexOf(l(X))<0;){var k=_(X);if(k.transform!=="none"||k.perspective!=="none"||k.contain==="paint"||["transform","perspective"].indexOf(k.willChange)!==-1||f&&k.willChange==="filter"||f&&k.filter&&k.filter!=="none")return X;X=X.parentNode}return null}function U(u){for(var f=x(u),D=j(u);D&&I(D)&&_(D).position==="static";)D=j(D);return D&&(l(D)==="html"||l(D)==="body"&&_(D).position==="static")?f:D||S(u)||f}var W="top",V="bottom",Y="right",G="left",N="auto",Q=[W,V,Y,G],H="start",w="end",nt="clippingParents",lt="viewport",tt="popper",ut="reference",Z=Q.reduce(function(u,f){return u.concat([f+"-"+H,f+"-"+w])},[]),J=[].concat(Q,[N]).reduce(function(u,f){return u.concat([f,f+"-"+H,f+"-"+w])},[]),et="beforeRead",rt="read",it="afterRead",pt="beforeMain",ct="main",ft="afterMain",Tt="beforeWrite",Wt="write",Mt="afterWrite",yt=[et,rt,it,pt,ct,ft,Tt,Wt,Mt];function st(u){var f=new Map,D=new Set,z=[];u.forEach(function(k){f.set(k.name,k)});function X(k){D.add(k.name);var dt=[].concat(k.requires||[],k.requiresIfExists||[]);dt.forEach(function(ot){if(!D.has(ot)){var q=f.get(ot);q&&X(q)}}),z.push(k)}return u.forEach(function(k){D.has(k.name)||X(k)}),z}function xt(u){var f=st(u);return yt.reduce(function(D,z){return D.concat(f.filter(function(X){return X.phase===z}))},[])}function Bt(u){var f;return function(){return f||(f=new Promise(function(D){Promise.resolve().then(function(){f=void 0,D(u())})})),f}}function Rt(u){var f=u.reduce(function(D,z){var X=D[z.name];return D[z.name]=X?Object.assign({},X,z,{options:Object.assign({},X.options,z.options),data:Object.assign({},X.data,z.data)}):z,D},{});return Object.keys(f).map(function(D){return f[D]})}var vt={placement:"bottom",modifiers:[],strategy:"absolute"};function _t(){for(var u=arguments.length,f=new Array(u),D=0;D=0?"x":"y"}function Yt(u){var f=u.reference,D=u.element,z=u.placement,X=z?jt(z):null,k=z?$t(z):null,dt=f.x+f.width/2-D.width/2,ot=f.y+f.height/2-D.height/2,q;switch(X){case W:q={x:dt,y:f.y-D.height};break;case V:q={x:dt,y:f.y+f.height};break;case Y:q={x:f.x+f.width,y:ot};break;case G:q={x:f.x-D.width,y:ot};break;default:q={x:f.x,y:f.y}}var Et=X?Nt(X):null;if(Et!=null){var at=Et==="y"?"height":"width";switch(k){case H:q[Et]=q[Et]-(f[at]/2-D[at]/2);break;case w:q[Et]=q[Et]+(f[at]/2-D[at]/2);break;default:}}return q}function ve(u){var f=u.state,D=u.name;f.modifiersData[D]=Yt({reference:f.rects.reference,element:f.rects.popper,strategy:"absolute",placement:f.placement})}const ne={name:"popperOffsets",enabled:!0,phase:"read",fn:ve,data:{}};var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(u,f){var D=u.x,z=u.y,X=f.devicePixelRatio||1;return{x:g(D*X)/X||0,y:g(z*X)/X||0}}function fe(u){var f,D=u.popper,z=u.popperRect,X=u.placement,k=u.variation,dt=u.offsets,ot=u.position,q=u.gpuAcceleration,Et=u.adaptive,at=u.roundOffsets,bt=u.isFixed,zt=dt.x,ht=zt===void 0?0:zt,Qt=dt.y,Lt=Qt===void 0?0:Qt,Ut=typeof at=="function"?at({x:ht,y:Lt}):{x:ht,y:Lt};ht=Ut.x,Lt=Ut.y;var Gt=dt.hasOwnProperty("x"),qt=dt.hasOwnProperty("y"),Xt=G,Ct=W,Kt=window;if(Et){var St=U(D),Zt="clientHeight",le="clientWidth";if(St===x(D)&&(St=r(D),_(St).position!=="static"&&ot==="absolute"&&(Zt="scrollHeight",le="scrollWidth")),St=St,X===W||(X===G||X===Y)&&k===w){Ct=V;var oe=bt&&St===Kt&&Kt.visualViewport?Kt.visualViewport.height:St[Zt];Lt-=oe-z.height,Lt*=q?1:-1}if(X===G||(X===W||X===V)&&k===w){Xt=Y;var ee=bt&&St===Kt&&Kt.visualViewport?Kt.visualViewport.width:St[le];ht-=ee-z.width,ht*=q?1:-1}}var ue=Object.assign({position:ot},Et&&ae),De=at===!0?ie({x:ht,y:Lt},x(D)):{x:ht,y:Lt};if(ht=De.x,Lt=De.y,q){var Ee;return Object.assign({},ue,(Ee={},Ee[Ct]=qt?"0":"",Ee[Xt]=Gt?"0":"",Ee.transform=(Kt.devicePixelRatio||1)<=1?"translate("+ht+"px, "+Lt+"px)":"translate3d("+ht+"px, "+Lt+"px, 0)",Ee))}return Object.assign({},ue,(f={},f[Ct]=qt?Lt+"px":"",f[Xt]=Gt?ht+"px":"",f.transform="",f))}function se(u){var f=u.state,D=u.options,z=D.gpuAcceleration,X=z===void 0?!0:z,k=D.adaptive,dt=k===void 0?!0:k,ot=D.roundOffsets,q=ot===void 0?!0:ot,Et={placement:jt(f.placement),variation:$t(f.placement),popper:f.elements.popper,popperRect:f.rects.popper,gpuAcceleration:X,isFixed:f.options.strategy==="fixed"};f.modifiersData.popperOffsets!=null&&(f.styles.popper=Object.assign({},f.styles.popper,fe(Object.assign({},Et,{offsets:f.modifiersData.popperOffsets,position:f.options.strategy,adaptive:dt,roundOffsets:q})))),f.modifiersData.arrow!=null&&(f.styles.arrow=Object.assign({},f.styles.arrow,fe(Object.assign({},Et,{offsets:f.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:q})))),f.attributes.popper=Object.assign({},f.attributes.popper,{"data-popper-placement":f.placement})}const gt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:se,data:{}};function Dt(u){var f=u.state;Object.keys(f.elements).forEach(function(D){var z=f.styles[D]||{},X=f.attributes[D]||{},k=f.elements[D];!B(k)||!l(k)||(Object.assign(k.style,z),Object.keys(X).forEach(function(dt){var ot=X[dt];ot===!1?k.removeAttribute(dt):k.setAttribute(dt,ot===!0?"":ot)}))})}function ge(u){var f=u.state,D={popper:{position:f.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(f.elements.popper.style,D.popper),f.styles=D,f.elements.arrow&&Object.assign(f.elements.arrow.style,D.arrow),function(){Object.keys(f.elements).forEach(function(z){var X=f.elements[z],k=f.attributes[z]||{},dt=Object.keys(f.styles.hasOwnProperty(z)?f.styles[z]:D[z]),ot=dt.reduce(function(q,Et){return q[Et]="",q},{});!B(X)||!l(X)||(Object.assign(X.style,ot),Object.keys(k).forEach(function(q){X.removeAttribute(q)}))})}}const Ht={name:"applyStyles",enabled:!0,phase:"write",fn:Dt,effect:ge,requires:["computeStyles"]};function Ft(u,f,D){var z=jt(u),X=[G,W].indexOf(z)>=0?-1:1,k=typeof D=="function"?D(Object.assign({},f,{placement:u})):D,dt=k[0],ot=k[1];return dt=dt||0,ot=(ot||0)*X,[G,Y].indexOf(z)>=0?{x:ot,y:dt}:{x:dt,y:ot}}function re(u){var f=u.state,D=u.options,z=u.name,X=D.offset,k=X===void 0?[0,0]:X,dt=J.reduce(function(at,bt){return at[bt]=Ft(bt,f.rects,k),at},{}),ot=dt[f.placement],q=ot.x,Et=ot.y;f.modifiersData.popperOffsets!=null&&(f.modifiersData.popperOffsets.x+=q,f.modifiersData.popperOffsets.y+=Et),f.modifiersData[z]=dt}const Ae={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:re};var de={left:"right",right:"left",bottom:"top",top:"bottom"};function me(u){return u.replace(/left|right|bottom|top/g,function(f){return de[f]})}var Pe={start:"end",end:"start"};function ce(u){return u.replace(/start|end/g,function(f){return Pe[f]})}function Te(u,f){var D=x(u),z=r(u),X=D.visualViewport,k=z.clientWidth,dt=z.clientHeight,ot=0,q=0;if(X){k=X.width,dt=X.height;var Et=O();(Et||!Et&&f==="fixed")&&(ot=X.offsetLeft,q=X.offsetTop)}return{width:k,height:dt,x:ot+d(u),y:q}}function Ce(u){var f,D=r(u),z=P(u),X=(f=u.ownerDocument)==null?void 0:f.body,k=K(D.scrollWidth,D.clientWidth,X?X.scrollWidth:0,X?X.clientWidth:0),dt=K(D.scrollHeight,D.clientHeight,X?X.scrollHeight:0,X?X.clientHeight:0),ot=-z.scrollLeft+d(u),q=-z.scrollTop;return _(X||D).direction==="rtl"&&(ot+=K(D.clientWidth,X?X.clientWidth:0)-k),{width:k,height:dt,x:ot,y:q}}function ye(u,f){var D=f.getRootNode&&f.getRootNode();if(u.contains(f))return!0;if(D&&b(D)){var z=f;do{if(z&&u.isSameNode(z))return!0;z=z.parentNode||z.host}while(z)}return!1}function te(u){return Object.assign({},u,{left:u.x,top:u.y,right:u.x+u.width,bottom:u.y+u.height})}function Oe(u,f){var D=p(u,!1,f==="fixed");return D.top=D.top+u.clientTop,D.left=D.left+u.clientLeft,D.bottom=D.top+u.clientHeight,D.right=D.left+u.clientWidth,D.width=u.clientWidth,D.height=u.clientHeight,D.x=D.left,D.y=D.top,D}function xe(u,f,D){return f===lt?te(Te(u,D)):F(f)?Oe(f,D):te(Ce(r(u)))}function kt(u){var f=R(v(u)),D=["absolute","fixed"].indexOf(_(u).position)>=0,z=D&&B(u)?U(u):u;return F(z)?f.filter(function(X){return F(X)&&ye(X,z)&&l(X)!=="body"}):[]}function Le(u,f,D,z){var X=f==="clippingParents"?kt(u):[].concat(f),k=[].concat(X,[D]),dt=k[0],ot=k.reduce(function(q,Et){var at=xe(u,Et,z);return q.top=K(at.top,q.top),q.right=T(at.right,q.right),q.bottom=T(at.bottom,q.bottom),q.left=K(at.left,q.left),q},xe(u,dt,z));return ot.width=ot.right-ot.left,ot.height=ot.bottom-ot.top,ot.x=ot.left,ot.y=ot.top,ot}function Re(){return{top:0,right:0,bottom:0,left:0}}function Ie(u){return Object.assign({},Re(),u)}function He(u,f){return f.reduce(function(D,z){return D[z]=u,D},{})}function he(u,f){f===void 0&&(f={});var D=f,z=D.placement,X=z===void 0?u.placement:z,k=D.strategy,dt=k===void 0?u.strategy:k,ot=D.boundary,q=ot===void 0?nt:ot,Et=D.rootBoundary,at=Et===void 0?lt:Et,bt=D.elementContext,zt=bt===void 0?tt:bt,ht=D.altBoundary,Qt=ht===void 0?!1:ht,Lt=D.padding,Ut=Lt===void 0?0:Lt,Gt=Ie(typeof Ut!="number"?Ut:He(Ut,Q)),qt=zt===tt?ut:tt,Xt=u.rects.popper,Ct=u.elements[Qt?qt:zt],Kt=Le(F(Ct)?Ct:Ct.contextElement||r(u.elements.popper),q,at,dt),St=p(u.elements.reference),Zt=Yt({reference:St,element:Xt,strategy:"absolute",placement:X}),le=te(Object.assign({},Xt,Zt)),oe=zt===tt?le:St,ee={top:Kt.top-oe.top+Gt.top,bottom:oe.bottom-Kt.bottom+Gt.bottom,left:Kt.left-oe.left+Gt.left,right:oe.right-Kt.right+Gt.right},ue=u.modifiersData.offset;if(zt===tt&&ue){var De=ue[X];Object.keys(ee).forEach(function(Ee){var be=[Y,V].indexOf(Ee)>=0?1:-1,We=[W,V].indexOf(Ee)>=0?"y":"x";ee[Ee]+=De[We]*be})}return ee}function Qe(u,f){f===void 0&&(f={});var D=f,z=D.placement,X=D.boundary,k=D.rootBoundary,dt=D.padding,ot=D.flipVariations,q=D.allowedAutoPlacements,Et=q===void 0?J:q,at=$t(z),bt=at?ot?Z:Z.filter(function(Qt){return $t(Qt)===at}):Q,zt=bt.filter(function(Qt){return Et.indexOf(Qt)>=0});zt.length===0&&(zt=bt);var ht=zt.reduce(function(Qt,Lt){return Qt[Lt]=he(u,{placement:Lt,boundary:X,rootBoundary:k,padding:dt})[jt(Lt)],Qt},{});return Object.keys(ht).sort(function(Qt,Lt){return ht[Qt]-ht[Lt]})}function At(u){if(jt(u)===N)return[];var f=me(u);return[ce(u),f,ce(f)]}function je(u){var f=u.state,D=u.options,z=u.name;if(!f.modifiersData[z]._skip){for(var X=D.mainAxis,k=X===void 0?!0:X,dt=D.altAxis,ot=dt===void 0?!0:dt,q=D.fallbackPlacements,Et=D.padding,at=D.boundary,bt=D.rootBoundary,zt=D.altBoundary,ht=D.flipVariations,Qt=ht===void 0?!0:ht,Lt=D.allowedAutoPlacements,Ut=f.options.placement,Gt=jt(Ut),qt=Gt===Ut,Xt=q||(qt||!Qt?[me(Ut)]:At(Ut)),Ct=[Ut].concat(Xt).reduce(function(Ye,$e){return Ye.concat(jt($e)===N?Qe(f,{placement:$e,boundary:at,rootBoundary:bt,padding:Et,flipVariations:Qt,allowedAutoPlacements:Lt}):$e)},[]),Kt=f.rects.reference,St=f.rects.popper,Zt=new Map,le=!0,oe=Ct[0],ee=0;ee=0,We=be?"width":"height",pe=he(f,{placement:ue,boundary:at,rootBoundary:bt,altBoundary:zt,padding:Et}),Me=be?Ee?Y:G:Ee?V:W;Kt[We]>St[We]&&(Me=me(Me));var Fe=me(Me),Ne=[];if(k&&Ne.push(pe[De]<=0),ot&&Ne.push(pe[Me]<=0,pe[Fe]<=0),Ne.every(function(Ye){return Ye})){oe=ue,le=!1;break}Zt.set(ue,Ne)}if(le)for(var ro=Qt?3:1,po=function($e){var to=Ct.find(function(io){var ze=Zt.get(io);if(ze)return ze.slice(0,$e).every(function(fo){return fo})});if(to)return oe=to,"break"},qe=ro;qe>0;qe--){var ao=po(qe);if(ao==="break")break}f.placement!==oe&&(f.modifiersData[z]._skip=!0,f.placement=oe,f.reset=!0)}}const Ue={name:"flip",enabled:!0,phase:"main",fn:je,requiresIfExists:["offset"],data:{_skip:!1}};function Be(u){return u==="x"?"y":"x"}function Ke(u,f,D){return K(u,T(f,D))}function co(u,f,D){var z=Ke(u,f,D);return z>D?D:z}function eo(u){var f=u.state,D=u.options,z=u.name,X=D.mainAxis,k=X===void 0?!0:X,dt=D.altAxis,ot=dt===void 0?!1:dt,q=D.boundary,Et=D.rootBoundary,at=D.altBoundary,bt=D.padding,zt=D.tether,ht=zt===void 0?!0:zt,Qt=D.tetherOffset,Lt=Qt===void 0?0:Qt,Ut=he(f,{boundary:q,rootBoundary:Et,padding:bt,altBoundary:at}),Gt=jt(f.placement),qt=$t(f.placement),Xt=!qt,Ct=Nt(Gt),Kt=Be(Ct),St=f.modifiersData.popperOffsets,Zt=f.rects.reference,le=f.rects.popper,oe=typeof Lt=="function"?Lt(Object.assign({},f.rects,{placement:f.placement})):Lt,ee=typeof oe=="number"?{mainAxis:oe,altAxis:oe}:Object.assign({mainAxis:0,altAxis:0},oe),ue=f.modifiersData.offset?f.modifiersData.offset[f.placement]:null,De={x:0,y:0};if(St){if(k){var Ee,be=Ct==="y"?W:G,We=Ct==="y"?V:Y,pe=Ct==="y"?"height":"width",Me=St[Ct],Fe=Me+Ut[be],Ne=Me-Ut[We],ro=ht?-le[pe]/2:0,po=qt===H?Zt[pe]:le[pe],qe=qt===H?-le[pe]:-Zt[pe],ao=f.elements.arrow,Ye=ht&&ao?i(ao):{width:0,height:0},$e=f.modifiersData["arrow#persistent"]?f.modifiersData["arrow#persistent"].padding:Re(),to=$e[be],io=$e[We],ze=Ke(0,Zt[pe],Ye[pe]),fo=Xt?Zt[pe]/2-ro-ze-to-ee.mainAxis:po-ze-to-ee.mainAxis,Qo=Xt?-Zt[pe]/2+ro+ze+io+ee.mainAxis:qe+ze+io+ee.mainAxis,_o=f.elements.arrow&&U(f.elements.arrow),Zo=_o?Ct==="y"?_o.clientTop||0:_o.clientLeft||0:0,Ao=(Ee=ue==null?void 0:ue[Ct])!=null?Ee:0,Jo=Me+fo-Ao-Zo,wo=Me+Qo-Ao,Po=Ke(ht?T(Fe,Jo):Fe,Me,ht?K(Ne,wo):Ne);St[Ct]=Po,De[Ct]=Po-Me}if(ot){var Oo,ko=Ct==="x"?W:G,qo=Ct==="x"?V:Y,Xe=St[Kt],lo=Kt==="y"?"height":"width",Mo=Xe+Ut[ko],Co=Xe-Ut[qo],Eo=[W,G].indexOf(Gt)!==-1,ho=(Oo=ue==null?void 0:ue[Kt])!=null?Oo:0,Do=Eo?Mo:Xe-Zt[lo]-le[lo]-ho+ee.altAxis,go=Eo?Xe+Zt[lo]+le[lo]-ho-ee.altAxis:Co,yo=ht&&Eo?co(Do,Xe,go):Ke(ht?Do:Mo,Xe,ht?go:Co);St[Kt]=yo,De[Kt]=yo-Xe}f.modifiersData[z]=De}}const Ze={name:"preventOverflow",enabled:!0,phase:"main",fn:eo,requiresIfExists:["offset"]};var oo=function(f,D){return f=typeof f=="function"?f(Object.assign({},D.rects,{placement:D.placement})):f,Ie(typeof f!="number"?f:He(f,Q))};function Ge(u){var f,D=u.state,z=u.name,X=u.options,k=D.elements.arrow,dt=D.modifiersData.popperOffsets,ot=jt(D.placement),q=Nt(ot),Et=[G,Y].indexOf(ot)>=0,at=Et?"height":"width";if(!(!k||!dt)){var bt=oo(X.padding,D),zt=i(k),ht=q==="y"?W:G,Qt=q==="y"?V:Y,Lt=D.rects.reference[at]+D.rects.reference[q]-dt[q]-D.rects.popper[at],Ut=dt[q]-D.rects.reference[q],Gt=U(k),qt=Gt?q==="y"?Gt.clientHeight||0:Gt.clientWidth||0:0,Xt=Lt/2-Ut/2,Ct=bt[ht],Kt=qt-zt[at]-bt[Qt],St=qt/2-zt[at]/2+Xt,Zt=Ke(Ct,St,Kt),le=q;D.modifiersData[z]=(f={},f[le]=Zt,f.centerOffset=Zt-St,f)}}function Je(u){var f=u.state,D=u.options,z=D.element,X=z===void 0?"[data-popper-arrow]":z;X!=null&&(typeof X=="string"&&(X=f.elements.popper.querySelector(X),!X)||ye(f.elements.popper,X)&&(f.elements.arrow=X))}const we={name:"arrow",enabled:!0,phase:"main",fn:Ge,effect:Je,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ke(u,f,D){return D===void 0&&(D={x:0,y:0}),{top:u.top-f.height-D.y,right:u.right-f.width+D.x,bottom:u.bottom-f.height+D.y,left:u.left-f.width-D.x}}function mt(u){return[W,Y,V,G].some(function(f){return u[f]>=0})}function Jt(u){var f=u.state,D=u.name,z=f.rects.reference,X=f.rects.popper,k=f.modifiersData.preventOverflow,dt=he(f,{elementContext:"reference"}),ot=he(f,{altBoundary:!0}),q=ke(dt,z),Et=ke(ot,X,k),at=mt(q),bt=mt(Et);f.modifiersData[D]={referenceClippingOffsets:q,popperEscapeOffsets:Et,isReferenceHidden:at,hasPopperEscaped:bt},f.attributes.popper=Object.assign({},f.attributes.popper,{"data-popper-reference-hidden":at,"data-popper-escaped":bt})}var Se=[Vt,ne,gt,Ht,Ae,Ue,Ze,we,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Jt}],no=Pt({defaultModifiers:Se}),tn=t(95973),Ro=t(86249),To=t(75415),xo=t(35583),Io=t(95227);function Lo(u){return(0,xo.Ay)("MuiPopper",u)}const en=(0,Io.A)("MuiPopper",["root"]);var Bo=t(67388),so=t(64922);const bo={disableDefaultClasses:!1},vo=e.createContext(bo);function Wo(u){const{disableDefaultClasses:f}=e.useContext(vo);return D=>f?"":u(D)}function on(u){const{disableDefaultClasses:f,children:D}=u,z=React.useMemo(()=>({disableDefaultClasses:f!=null?f:!1}),[f]);return _jsx(vo.Provider,{value:z,children:D})}const Uo=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ko=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function So(u,f){if(f==="ltr")return u;switch(u){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return u}}function uo(u){return typeof u=="function"?u():u}function mo(u){return u.nodeType!==void 0}function nn(u){return!mo(u)}const Fo=()=>{const u={root:["root"]};return(0,Ro.A)(u,Wo(Lo))},$o={},jo=e.forwardRef(function(f,D){var z;const{anchorEl:X,children:k,direction:dt,disablePortal:ot,modifiers:q,open:Et,placement:at,popperOptions:bt,popperRef:zt,slotProps:ht={},slots:Qt={},TransitionProps:Lt}=f,Ut=(0,n.A)(f,Uo),Gt=e.useRef(null),qt=(0,M.A)(Gt,D),Xt=e.useRef(null),Ct=(0,M.A)(Xt,zt),Kt=e.useRef(Ct);(0,E.A)(()=>{Kt.current=Ct},[Ct]),e.useImperativeHandle(zt,()=>Xt.current,[]);const St=So(at,dt),[Zt,le]=e.useState(St),[oe,ee]=e.useState(uo(X));e.useEffect(()=>{Xt.current&&Xt.current.forceUpdate()}),e.useEffect(()=>{X&&ee(uo(X))},[X]),(0,E.A)(()=>{if(!oe||!Et)return;const We=Fe=>{le(Fe.placement)};let pe=[{name:"preventOverflow",options:{altBoundary:ot}},{name:"flip",options:{altBoundary:ot}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Fe})=>{We(Fe)}}];q!=null&&(pe=pe.concat(q)),bt&&bt.modifiers!=null&&(pe=pe.concat(bt.modifiers));const Me=no(oe,Gt.current,(0,s.A)({placement:St},bt,{modifiers:pe}));return Kt.current(Me),()=>{Me.destroy(),Kt.current(null)}},[oe,ot,q,Et,bt,St]);const ue={placement:Zt};Lt!==null&&(ue.TransitionProps=Lt);const De=Fo(),Ee=(z=Qt.root)!=null?z:"div",be=(0,Bo.Q)({elementType:Ee,externalSlotProps:ht.root,externalForwardedProps:Ut,additionalProps:{role:"tooltip",ref:qt},ownerState:f,className:De.root});return(0,so.jsx)(Ee,(0,s.A)({},be,{children:typeof k=="function"?k(ue):k}))}),No=e.forwardRef(function(f,D){const{anchorEl:z,children:X,container:k,direction:dt="ltr",disablePortal:ot=!1,keepMounted:q=!1,modifiers:Et,open:at,placement:bt="bottom",popperOptions:zt=$o,popperRef:ht,style:Qt,transition:Lt=!1,slotProps:Ut={},slots:Gt={}}=f,qt=(0,n.A)(f,Ko),[Xt,Ct]=e.useState(!0),Kt=()=>{Ct(!1)},St=()=>{Ct(!0)};if(!q&&!at&&(!Lt||Xt))return null;let Zt;if(k)Zt=k;else if(z){const ee=uo(z);Zt=ee&&mo(ee)?(0,C.A)(ee).body:(0,C.A)(null).body}const le=!at&&q&&(!Lt||Xt)?"none":void 0,oe=Lt?{in:at,onEnter:Kt,onExited:St}:void 0;return(0,so.jsx)(To.Z,{disablePortal:ot,container:Zt,children:(0,so.jsx)(jo,(0,s.A)({anchorEl:z,direction:dt,disablePortal:ot,modifiers:Et,ref:D,open:Lt?!Xt:at,placement:bt,popperOptions:zt,popperRef:ht,slotProps:Ut,slots:Gt},qt,{style:(0,s.A)({position:"fixed",top:0,left:0,display:le},Qt),TransitionProps:oe,children:X}))})});var zo=t(67193),Xo=t(46186),Vo=t(48399);const Ho=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Go=(0,Xo.Ay)(No,{name:"MuiPopper",slot:"Root",overridesResolver:(u,f)=>f.root})({}),Yo=e.forwardRef(function(f,D){var z;const X=(0,zo.A)(),k=(0,Vo.A)({props:f,name:"MuiPopper"}),{anchorEl:dt,component:ot,components:q,componentsProps:Et,container:at,disablePortal:bt,keepMounted:zt,modifiers:ht,open:Qt,placement:Lt,popperOptions:Ut,popperRef:Gt,transition:qt,slots:Xt,slotProps:Ct}=k,Kt=(0,n.A)(k,Ho),St=(z=Xt==null?void 0:Xt.root)!=null?z:q==null?void 0:q.Root,Zt=(0,s.A)({anchorEl:dt,container:at,disablePortal:bt,keepMounted:zt,modifiers:ht,open:Qt,placement:Lt,popperOptions:Ut,popperRef:Gt,transition:qt},Kt);return(0,so.jsx)(Go,(0,s.A)({as:ot,direction:X==null?void 0:X.direction,slots:{root:St},slotProps:Ct!=null?Ct:Et},Zt,{ref:D}))})},2954:($,c,t)=>{t.d(c,{A:()=>ut});var s=t(58168),n=t(98587),e=t(28437),M=t(95973),E=t(74984),C=t(53107),x=t(22571),F=t(98529),B=t(86249),b=t(81019),K=t(97862),T=t(10016),g=t(87189),y=t(33157),O=t(1769),p=t(46186),P=t(48942),h=t(5809),m=t(32659),l=t(64922),r;const d=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],_=(0,p.Ay)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(Z,J)=>{const{ownerState:et}=Z;return[{[`&.${m.A.select}`]:J.select},{[`&.${m.A.select}`]:J[et.variant]},{[`&.${m.A.error}`]:J.error},{[`&.${m.A.multiple}`]:J.multiple}]}})(y.Ku,{[`&.${m.A.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),o=(0,p.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(Z,J)=>{const{ownerState:et}=Z;return[J.icon,et.variant&&J[`icon${(0,T.A)(et.variant)}`],et.open&&J.iconOpen]}})(y.XV),a=(0,p.Ay)("input",{shouldForwardProp:Z=>(0,p._n)(Z)&&Z!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(Z,J)=>J.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function A(Z,J){return typeof J=="object"&&J!==null?Z===J:String(Z)===String(J)}function i(Z){return Z==null||typeof Z=="string"&&!Z.trim()}const v=Z=>{const{classes:J,variant:et,disabled:rt,multiple:it,open:pt,error:ct}=Z,ft={select:["select",et,rt&&"disabled",it&&"multiple",ct&&"error"],icon:["icon",`icon${(0,T.A)(et)}`,pt&&"iconOpen",rt&&"disabled"],nativeInput:["nativeInput"]};return(0,B.A)(ft,m.T,J)},R=e.forwardRef(function(J,et){var rt;const{"aria-describedby":it,"aria-label":pt,autoFocus:ct,autoWidth:ft,children:Tt,className:Wt,defaultOpen:Mt,defaultValue:yt,disabled:st,displayEmpty:xt,error:Bt=!1,IconComponent:Rt,inputRef:vt,labelId:_t,MenuProps:Pt={},multiple:It,name:Ot,onBlur:wt,onChange:Vt,onClose:jt,onFocus:$t,onOpen:Nt,open:Yt,readOnly:ve,renderValue:ne,SelectDisplayProps:ae={},tabIndex:ie,value:fe,variant:se="standard"}=J,gt=(0,n.A)(J,d),[Dt,ge]=(0,h.A)({controlled:fe,default:yt,name:"Select"}),[Ht,Ft]=(0,h.A)({controlled:Yt,default:Mt,name:"Select"}),re=e.useRef(null),Ae=e.useRef(null),[de,me]=e.useState(null),{current:Pe}=e.useRef(Yt!=null),[ce,Te]=e.useState(),Ce=(0,P.A)(et,vt),ye=e.useCallback(mt=>{Ae.current=mt,mt&&me(mt)},[]),te=de==null?void 0:de.parentNode;e.useImperativeHandle(Ce,()=>({focus:()=>{Ae.current.focus()},node:re.current,value:Dt}),[Dt]),e.useEffect(()=>{Mt&&Ht&&de&&!Pe&&(Te(ft?null:te.clientWidth),Ae.current.focus())},[de,ft]),e.useEffect(()=>{ct&&Ae.current.focus()},[ct]),e.useEffect(()=>{if(!_t)return;const mt=(0,K.A)(Ae.current).getElementById(_t);if(mt){const Jt=()=>{getSelection().isCollapsed&&Ae.current.focus()};return mt.addEventListener("click",Jt),()=>{mt.removeEventListener("click",Jt)}}},[_t]);const Oe=(mt,Jt)=>{mt?Nt&&Nt(Jt):jt&&jt(Jt),Pe||(Te(ft?null:te.clientWidth),Ft(mt))},xe=mt=>{mt.button===0&&(mt.preventDefault(),Ae.current.focus(),Oe(!0,mt))},kt=mt=>{Oe(!1,mt)},Le=e.Children.toArray(Tt),Re=mt=>{const Jt=Le.find(_e=>_e.props.value===mt.target.value);Jt!==void 0&&(ge(Jt.props.value),Vt&&Vt(mt,Jt))},Ie=mt=>Jt=>{let _e;if(Jt.currentTarget.hasAttribute("tabindex")){if(It){_e=Array.isArray(Dt)?Dt.slice():[];const Se=Dt.indexOf(mt.props.value);Se===-1?_e.push(mt.props.value):_e.splice(Se,1)}else _e=mt.props.value;if(mt.props.onClick&&mt.props.onClick(Jt),Dt!==_e&&(ge(_e),Vt)){const Se=Jt.nativeEvent||Jt,no=new Se.constructor(Se.type,Se);Object.defineProperty(no,"target",{writable:!0,value:{value:_e,name:Ot}}),Vt(no,mt)}It||Oe(!1,Jt)}},He=mt=>{ve||[" ","ArrowUp","ArrowDown","Enter"].indexOf(mt.key)!==-1&&(mt.preventDefault(),Oe(!0,mt))},he=de!==null&&Ht,Qe=mt=>{!he&&wt&&(Object.defineProperty(mt,"target",{writable:!0,value:{value:Dt,name:Ot}}),wt(mt))};delete gt["aria-invalid"];let At,je;const Ue=[];let Be=!1,Ke=!1;((0,O.lq)({value:Dt})||xt)&&(ne?At=ne(Dt):Be=!0);const co=Le.map(mt=>{if(!e.isValidElement(mt))return null;let Jt;if(It){if(!Array.isArray(Dt))throw new Error((0,x.A)(2));Jt=Dt.some(_e=>A(_e,mt.props.value)),Jt&&Be&&Ue.push(mt.props.children)}else Jt=A(Dt,mt.props.value),Jt&&Be&&(je=mt.props.children);return Jt&&(Ke=!0),e.cloneElement(mt,{"aria-selected":Jt?"true":"false",onClick:Ie(mt),onKeyUp:_e=>{_e.key===" "&&_e.preventDefault(),mt.props.onKeyUp&&mt.props.onKeyUp(_e)},role:"option",selected:Jt,value:void 0,"data-value":mt.props.value})});Be&&(It?Ue.length===0?At=null:At=Ue.reduce((mt,Jt,_e)=>(mt.push(Jt),_e{const{classes:J}=Z;return J},H={name:"MuiSelect",overridesResolver:(Z,J)=>J.root,shouldForwardProp:Z=>(0,p.ep)(Z)&&Z!=="variant",slot:"Root"},w=(0,p.Ay)(U.A,H)(""),nt=(0,p.Ay)(V.A,H)(""),lt=(0,p.Ay)(W.A,H)(""),tt=e.forwardRef(function(J,et){const rt=(0,Y.A)({name:"MuiSelect",props:J}),{autoWidth:it=!1,children:pt,classes:ct={},className:ft,defaultOpen:Tt=!1,displayEmpty:Wt=!1,IconComponent:Mt=S.A,id:yt,input:st,inputProps:xt,label:Bt,labelId:Rt,MenuProps:vt,multiple:_t=!1,native:Pt=!1,onClose:It,onOpen:Ot,open:wt,renderValue:Vt,SelectDisplayProps:jt,variant:$t="outlined"}=rt,Nt=(0,n.A)(rt,G),Yt=Pt?y.Ay:R,ve=(0,j.A)(),ne=(0,I.A)({props:rt,muiFormControl:ve,states:["variant","error"]}),ae=ne.variant||$t,ie=(0,s.A)({},rt,{variant:ae,classes:ct}),fe=Q(ie),se=(0,n.A)(fe,N),gt=st||{standard:(0,l.jsx)(w,{ownerState:ie}),outlined:(0,l.jsx)(nt,{label:Bt,ownerState:ie}),filled:(0,l.jsx)(lt,{ownerState:ie})}[ae],Dt=(0,P.A)(et,gt.ref);return(0,l.jsx)(e.Fragment,{children:e.cloneElement(gt,(0,s.A)({inputComponent:Yt,inputProps:(0,s.A)({children:pt,error:ne.error,IconComponent:Mt,variant:ae,type:void 0,multiple:_t},Pt?{id:yt}:{autoWidth:it,defaultOpen:Tt,displayEmpty:Wt,labelId:Rt,MenuProps:vt,onClose:It,onOpen:Ot,open:wt,renderValue:Vt,SelectDisplayProps:(0,s.A)({id:yt},jt)},xt,{classes:xt?(0,C.A)(se,xt.classes):se},st?st.props.inputProps:{})},_t&&Pt&&ae==="outlined"?{notched:!0}:{},{ref:Dt,className:(0,E.A)(gt.props.className,ft,fe.root)},!st&&{variant:ae},Nt))})});tt.muiName="Select";const ut=tt},32659:($,c,t)=>{t.d(c,{A:()=>E,T:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiSelect",C)}const E=(0,s.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},24273:($,c,t)=>{t.d(c,{A:()=>A});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(86249),B=t(81019),b=t(46186),K=t(48399),T=t(24893),g=t(98625),y=t(64926),O=t(10743),p=t(48845),P=t(11085),h=t(2954),m=t(39201),l=t(64922);const r=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],d={standard:T.A,filled:g.A,outlined:y.A},_=i=>{const{classes:v}=i,L={root:["root"]};return(0,F.A)(L,m._,v)},o=(0,b.Ay)(p.A,{name:"MuiTextField",slot:"Root",overridesResolver:(i,v)=>v.root})({}),A=e.forwardRef(function(v,L){const R=(0,K.A)({props:v,name:"MuiTextField"}),{autoComplete:I,autoFocus:j=!1,children:S,className:U,color:W="primary",defaultValue:V,disabled:Y=!1,error:G=!1,FormHelperTextProps:N,fullWidth:Q=!1,helperText:H,id:w,InputLabelProps:nt,inputProps:lt,InputProps:tt,inputRef:ut,label:Z,maxRows:J,minRows:et,multiline:rt=!1,name:it,onBlur:pt,onChange:ct,onFocus:ft,placeholder:Tt,required:Wt=!1,rows:Mt,select:yt=!1,SelectProps:st,type:xt,value:Bt,variant:Rt="outlined"}=R,vt=(0,n.A)(R,r),_t=(0,s.A)({},R,{autoFocus:j,color:W,disabled:Y,error:G,fullWidth:Q,multiline:rt,required:Wt,select:yt,variant:Rt}),Pt=_(_t),It={};Rt==="outlined"&&(nt&&typeof nt.shrink!="undefined"&&(It.notched=nt.shrink),It.label=Z),yt&&((!st||!st.native)&&(It.id=void 0),It["aria-describedby"]=void 0);const Ot=(0,B.A)(w),wt=H&&Ot?`${Ot}-helper-text`:void 0,Vt=Z&&Ot?`${Ot}-label`:void 0,jt=d[Rt],$t=(0,l.jsx)(jt,(0,s.A)({"aria-describedby":wt,autoComplete:I,autoFocus:j,defaultValue:V,fullWidth:Q,multiline:rt,name:it,rows:Mt,maxRows:J,minRows:et,type:xt,value:Bt,id:Ot,inputRef:ut,onBlur:pt,onChange:ct,onFocus:ft,placeholder:Tt,inputProps:lt},It,tt));return(0,l.jsxs)(o,(0,s.A)({className:(0,x.A)(Pt.root,U),disabled:Y,error:G,fullWidth:Q,ref:L,required:Wt,color:W,variant:Rt,ownerState:_t},vt,{children:[Z!=null&&Z!==""&&(0,l.jsx)(O.A,(0,s.A)({htmlFor:Ot,id:Vt},nt,{children:Z})),yt?(0,l.jsx)(h.A,(0,s.A)({"aria-describedby":wt,id:Ot,labelId:Vt,value:Bt,input:$t},st,{children:S})):$t,H&&(0,l.jsx)(P.A,(0,s.A)({id:wt},N,{children:H}))]}))})},39201:($,c,t)=>{t.d(c,{A:()=>E,_:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiTextField",C)}const E=(0,s.A)("MuiTextField",["root"])},55437:($,c,t)=>{t.d(c,{A:()=>d});var s=t(98587),n=t(58168),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(74984),F=t(96121),B=t(86249),b=t(46186),K=t(48399),T=t(10016),g=t(57861),y=t(64922);const O=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],p=_=>{const{align:o,gutterBottom:a,noWrap:A,paragraph:i,variant:v,classes:L}=_,R={root:["root",v,_.align!=="inherit"&&`align${(0,T.A)(o)}`,a&&"gutterBottom",A&&"noWrap",i&&"paragraph"]};return(0,B.A)(R,g.y,L)},P=(0,b.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(_,o)=>{const{ownerState:a}=_;return[o.root,a.variant&&o[a.variant],a.align!=="inherit"&&o[`align${(0,T.A)(a.align)}`],a.noWrap&&o.noWrap,a.gutterBottom&&o.gutterBottom,a.paragraph&&o.paragraph]}})(({theme:_,ownerState:o})=>(0,n.A)({margin:0},o.variant==="inherit"&&{font:"inherit"},o.variant!=="inherit"&&_.typography[o.variant],o.align!=="inherit"&&{textAlign:o.align},o.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},o.gutterBottom&&{marginBottom:"0.35em"},o.paragraph&&{marginBottom:16})),h={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},m={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},l=_=>m[_]||_,d=e.forwardRef(function(o,a){const A=(0,K.A)({props:o,name:"MuiTypography"}),i=l(A.color),v=(0,F.A)((0,n.A)({},A,{color:i})),{align:L="inherit",className:R,component:I,gutterBottom:j=!1,noWrap:S=!1,paragraph:U=!1,variant:W="body1",variantMapping:V=h}=v,Y=(0,s.A)(v,O),G=(0,n.A)({},v,{align:L,color:i,className:R,component:I,gutterBottom:j,noWrap:S,paragraph:U,variant:W,variantMapping:V}),N=I||(U?"p":V[W]||h[W])||"span",Q=p(G);return(0,y.jsx)(P,(0,n.A)({as:N,ref:a,ownerState:G,className:(0,x.A)(Q.root,R)},Y))})},57861:($,c,t)=>{t.d(c,{A:()=>E,y:()=>e});var s=t(95227),n=t(35583);function e(C){return(0,n.Ay)("MuiTypography",C)}const E=(0,s.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},11172:($,c,t)=>{t.d(c,{A:()=>E});var s=t(28437),n=t.n(s),e=t(35131),M=t(64922);const E=(0,e.A)((0,M.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},40805:($,c,t)=>{t.d(c,{A:()=>K});var s=t(58168),n=t(98587),e=t(28437),M=t.n(e),E=t(95973),C=t.n(E),x=t(20664),F=t(92066),B=t(64922);const b=["theme"];function K(T){let{theme:g}=T,y=(0,n.A)(T,b);const O=g[F.A];return(0,B.jsx)(x.A,(0,s.A)({},y,{themeId:O?F.A:void 0,theme:O||g}))}},65417:($,c,t)=>{t.d(c,{A:()=>n});const n=e=>{let M;return e<1?M=5.11916*Ve(e,2):M=4.5*Math.log(e+1)+2,(M/100).toFixed(2)}},89437:($,c,t)=>{t.d(c,{A:()=>C});var s=t(28437),n=t.n(s),e=t(86568),M=t(40007),E=t(92066);function C(){const x=(0,e.A)(M.A);return x[E.A]||x}},86476:($,c,t)=>{t.d(c,{c:()=>n,q:()=>s});const s=e=>e.scrollTop;function n(e,M){var E,C;const{timeout:x,easing:F,style:B={}}=e;return{duration:(E=B.transitionDuration)!=null?E:typeof x=="number"?x:x[M.mode]||0,easing:(C=B.transitionTimingFunction)!=null?C:typeof F=="object"?F[M.mode]:F,delay:B.transitionDelay}}},85437:($,c,t)=>{t.d(c,{A:()=>B});var s=t(28437),n=t.n(s),e=t(67193),M=t(67910),E=t(55432);function C(b,K,T,g,y){const[O,p]=s.useState(()=>y&&T?T(b).matches:g?g(b).matches:K);return(0,E.A)(()=>{let P=!0;if(!T)return;const h=T(b),m=()=>{P&&p(h.matches)};return m(),h.addListener(m),()=>{P=!1,h.removeListener(m)}},[b,T]),O}const x=s.useSyncExternalStore;function F(b,K,T,g,y){const O=s.useCallback(()=>K,[K]),p=s.useMemo(()=>{if(y&&T)return()=>T(b).matches;if(g!==null){const{matches:l}=g(b);return()=>l}return O},[O,b,g,y,T]),[P,h]=s.useMemo(()=>{if(T===null)return[O,()=>()=>{}];const l=T(b);return[()=>l.matches,r=>(l.addListener(r),()=>{l.removeListener(r)})]},[O,T,b]);return x(h,P,p)}function B(b,K={}){const T=(0,e.A)(),g=typeof window!="undefined"&&typeof window.matchMedia!="undefined",{defaultMatches:y=!1,matchMedia:O=g?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:P=!1}=(0,M.A)({name:"MuiUseMediaQuery",props:K,theme:T});let h=typeof b=="function"?b(T):b;return h=h.replace(/^@media( ?)/m,""),(x!==void 0?F:C)(h,y,O,p,P)}},91429:($,c,t)=>{t.d(c,{A:()=>n});var s=t(97599);const n=s.A},27229:($,c,t)=>{t.d(c,{A:()=>n});var s=t(14095);const n=s.A},97862:($,c,t)=>{t.d(c,{A:()=>n});var s=t(41011);const n=s.A},94311:($,c,t)=>{t.d(c,{A:()=>n});var s=t(81619);const n=s.A},5809:($,c,t)=>{t.d(c,{A:()=>n});var s=t(40243);const n=s.A},55432:($,c,t)=>{t.d(c,{A:()=>n});var s=t(55791);const n=s.A},94924:($,c,t)=>{t.d(c,{A:()=>n});var s=t(16745);const n=s.A},48942:($,c,t)=>{t.d(c,{A:()=>n});var s=t(33769);const n=s.A},28617:($,c,t)=>{t.d(c,{A:()=>n});var s=t(10718);const n=s.A},69846:($,c,t)=>{t.d(c,{A:()=>T});var s=t(58168),n=t(28437),e=t.n(n),M=t(95973),E=t.n(M),C=t(53768),x=t(87012),F=t(81995),B=t(64922);function b(g,y){return typeof y=="function"?y(g):(0,s.A)({},g,y)}function K(g){const{children:y,theme:O}=g,p=(0,x.A)(),P=n.useMemo(()=>{const h=p===null?O:b(p,O);return h!=null&&(h[F.A]=p!==null),h},[O,p]);return(0,B.jsx)(C.A.Provider,{value:P,children:y})}const T=K},81995:($,c,t)=>{t.d(c,{A:()=>n});const n=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},53768:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=s.createContext(null)},87012:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s),e=t(53768);function M(){return s.useContext(e.A)}},22394:($,c,t)=>{t.d(c,{A:()=>F});var s=t(28437),n=t.n(s),e=t(95973),M=t.n(e),E=t(10519),C=t(64922);function x(B){return B==null||Object.keys(B).length===0}function F(B){const{styles:b,defaultTheme:K={}}=B,T=typeof b=="function"?g=>b(x(g)?K:g):b;return(0,C.jsx)(E.mL,{styles:T})}},20664:($,c,t)=>{t.d(c,{A:()=>h});var s=t(58168),n=t(28437),e=t(95973),M=t(87012),E=t(69846),C=t(58871),x=t(67193),F=t(98587),B=t(64922);const b=["value"],K=n.createContext();function T(m){let{value:l}=m,r=(0,F.A)(m,b);return(0,B.jsx)(K.Provider,(0,s.A)({value:l!=null?l:!0},r))}const g=()=>{const m=React.useContext(K);return m!=null?m:!1},y=T,O={};function p(m,l,r,d=!1){return n.useMemo(()=>{const _=m&&l[m]||l;if(typeof r=="function"){const o=r(_),a=m?(0,s.A)({},l,{[m]:o}):o;return d?()=>a:a}return m?(0,s.A)({},l,{[m]:r}):(0,s.A)({},l,r)},[m,l,r,d])}function P(m){const{children:l,theme:r,themeId:d}=m,_=(0,x.A)(O),o=(0,M.A)()||O,a=p(d,_,r),A=p(d,o,r,!0),i=a.direction==="rtl";return(0,B.jsx)(E.A,{theme:A,children:(0,B.jsx)(C.T.Provider,{value:a,children:(0,B.jsx)(y,{value:i,children:l})})})}const h=P},96121:($,c,t)=>{t.d(c,{A:()=>x});var s=t(58168),n=t(98587),e=t(53107),M=t(61728);const E=["sx"],C=F=>{var B,b;const K={systemProps:{},otherProps:{}},T=(B=F==null||(b=F.theme)==null?void 0:b.unstable_sxConfig)!=null?B:M.A;return Object.keys(F).forEach(g=>{T[g]?K.systemProps[g]=F[g]:K.otherProps[g]=F[g]}),K};function x(F){const{sx:B}=F,b=(0,n.A)(F,E),{systemProps:K,otherProps:T}=C(b);let g;return Array.isArray(B)?g=[K,...B]:typeof B=="function"?g=(...y)=>{const O=B(...y);return(0,e.Q)(O)?(0,s.A)({},K,O):K}:g=(0,s.A)({},K,B),(0,s.A)({},T,{sx:g})}},64639:($,c,t)=>{t.d(c,{A:()=>s});function s(...n){return n.reduce((e,M)=>M==null?e:function(...C){e.apply(this,C),M.apply(this,C)},()=>{})}},97599:($,c,t)=>{t.d(c,{A:()=>s});function s(n,e=166){let M;function E(...C){const x=()=>{n.apply(this,C)};clearTimeout(M),M=setTimeout(x,e)}return E.clear=()=>{clearTimeout(M)},E}},40451:($,c,t)=>{t.d(c,{A:()=>s});function s(n){const e=n.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}},14095:($,c,t)=>{t.d(c,{A:()=>e});var s=t(28437),n=t.n(s);function e(M,E){var C,x;return s.isValidElement(M)&&E.indexOf((C=M.type.muiName)!=null?C:(x=M.type)==null||(x=x._payload)==null||(x=x.value)==null?void 0:x.muiName)!==-1}},41011:($,c,t)=>{t.d(c,{A:()=>s});function s(n){return n&&n.ownerDocument||document}},81619:($,c,t)=>{t.d(c,{A:()=>n});var s=t(41011);function n(e){return(0,s.A)(e).defaultView||window}},83259:($,c,t)=>{t.d(c,{A:()=>s});function s(n,e){typeof n=="function"?n(e):n&&(n.current=e)}},40243:($,c,t)=>{t.d(c,{A:()=>e});var s=t(28437),n=t.n(s);function e({controlled:M,default:E,name:C,state:x="value"}){const{current:F}=s.useRef(M!==void 0),[B,b]=s.useState(E),K=F?M:B,T=s.useCallback(g=>{F||b(g)},[]);return[K,T]}},55791:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s);const M=typeof window!="undefined"?s.useLayoutEffect:s.useEffect},16745:($,c,t)=>{t.d(c,{A:()=>E});var s=t(28437),n=t.n(s),e=t(55791);function M(C){const x=s.useRef(C);return(0,e.A)(()=>{x.current=C}),s.useRef((...F)=>(0,x.current)(...F)).current}const E=M},33769:($,c,t)=>{t.d(c,{A:()=>M});var s=t(28437),n=t.n(s),e=t(83259);function M(...E){return s.useMemo(()=>E.every(C=>C==null)?null:C=>{E.forEach(x=>{(0,e.A)(x,C)})},E)}},81019:($,c,t)=>{t.d(c,{A:()=>C});var s=t(28437),n=t.n(s);let e=0;function M(x){const[F,B]=s.useState(x),b=x||F;return s.useEffect(()=>{F==null&&(e+=1,B(`mui-${e}`))},[F]),b}const E=s.useId;function C(x){if(E!==void 0){const F=E();return x!=null?x:F}return M(x)}},10718:($,c,t)=>{t.d(c,{A:()=>O});var s=t(28437);class n{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new n}start(P,h){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,h()},P)}}function e(){const p=useLazyRef(n.create).current;return useOnMount(p.disposeEffect),p}let M=!0,E=!1;const C=new n,x={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function F(p){const{type:P,tagName:h}=p;return!!(h==="INPUT"&&x[P]&&!p.readOnly||h==="TEXTAREA"&&!p.readOnly||p.isContentEditable)}function B(p){p.metaKey||p.altKey||p.ctrlKey||(M=!0)}function b(){M=!1}function K(){this.visibilityState==="hidden"&&E&&(M=!0)}function T(p){p.addEventListener("keydown",B,!0),p.addEventListener("mousedown",b,!0),p.addEventListener("pointerdown",b,!0),p.addEventListener("touchstart",b,!0),p.addEventListener("visibilitychange",K,!0)}function g(p){p.removeEventListener("keydown",B,!0),p.removeEventListener("mousedown",b,!0),p.removeEventListener("pointerdown",b,!0),p.removeEventListener("touchstart",b,!0),p.removeEventListener("visibilitychange",K,!0)}function y(p){const{target:P}=p;try{return P.matches(":focus-visible")}catch(h){}return M||F(P)}function O(){const p=s.useCallback(l=>{l!=null&&T(l.ownerDocument)},[]),P=s.useRef(!1);function h(){return P.current?(E=!0,C.start(100,()=>{E=!1}),P.current=!1,!0):!1}function m(l){return y(l)?(P.current=!0,!0):!1}return{isFocusVisibleRef:P,onFocus:m,onBlur:h,ref:p}}},34027:($,c,t)=>{t.d(c,{A:()=>n});const n={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},1880:($,c,t)=>{var s=t(41178),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},M={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},E={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},C={};C[s.ForwardRef]=M,C[s.Memo]=E;function x(O){return s.isMemo(O)?E:C[O.$$typeof]||n}var F=Object.defineProperty,B=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,K=Object.getOwnPropertyDescriptor,T=Object.getPrototypeOf,g=Object.prototype;function y(O,p,P){if(typeof p!="string"){if(g){var h=T(p);h&&h!==g&&y(O,h,P)}var m=B(p);b&&(m=m.concat(b(p)));for(var l=x(O),r=x(p),d=0;d{/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var t=typeof Symbol=="function"&&Symbol.for,s=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,e=t?Symbol.for("react.fragment"):60107,M=t?Symbol.for("react.strict_mode"):60108,E=t?Symbol.for("react.profiler"):60114,C=t?Symbol.for("react.provider"):60109,x=t?Symbol.for("react.context"):60110,F=t?Symbol.for("react.async_mode"):60111,B=t?Symbol.for("react.concurrent_mode"):60111,b=t?Symbol.for("react.forward_ref"):60112,K=t?Symbol.for("react.suspense"):60113,T=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,y=t?Symbol.for("react.lazy"):60116,O=t?Symbol.for("react.block"):60121,p=t?Symbol.for("react.fundamental"):60117,P=t?Symbol.for("react.responder"):60118,h=t?Symbol.for("react.scope"):60119;function m(r){if(typeof r=="object"&&r!==null){var d=r.$$typeof;switch(d){case s:switch(r=r.type,r){case F:case B:case e:case E:case M:case K:return r;default:switch(r=r&&r.$$typeof,r){case x:case b:case y:case g:case C:return r;default:return d}}case n:return d}}}function l(r){return m(r)===B}c.AsyncMode=F,c.ConcurrentMode=B,c.ContextConsumer=x,c.ContextProvider=C,c.Element=s,c.ForwardRef=b,c.Fragment=e,c.Lazy=y,c.Memo=g,c.Portal=n,c.Profiler=E,c.StrictMode=M,c.Suspense=K,c.isAsyncMode=function(r){return l(r)||m(r)===F},c.isConcurrentMode=l,c.isContextConsumer=function(r){return m(r)===x},c.isContextProvider=function(r){return m(r)===C},c.isElement=function(r){return typeof r=="object"&&r!==null&&r.$$typeof===s},c.isForwardRef=function(r){return m(r)===b},c.isFragment=function(r){return m(r)===e},c.isLazy=function(r){return m(r)===y},c.isMemo=function(r){return m(r)===g},c.isPortal=function(r){return m(r)===n},c.isProfiler=function(r){return m(r)===E},c.isStrictMode=function(r){return m(r)===M},c.isSuspense=function(r){return m(r)===K},c.isValidElementType=function(r){return typeof r=="string"||typeof r=="function"||r===e||r===B||r===E||r===M||r===K||r===T||typeof r=="object"&&r!==null&&(r.$$typeof===y||r.$$typeof===g||r.$$typeof===C||r.$$typeof===x||r.$$typeof===b||r.$$typeof===p||r.$$typeof===P||r.$$typeof===h||r.$$typeof===O)},c.typeOf=m},41178:($,c,t)=>{$.exports=t(32950)},95373:($,c)=>{var t;/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var s=Symbol.for("react.element"),n=Symbol.for("react.portal"),e=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),x=Symbol.for("react.context"),F=Symbol.for("react.server_context"),B=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),O;O=Symbol.for("react.module.reference");function p(P){if(typeof P=="object"&&P!==null){var h=P.$$typeof;switch(h){case s:switch(P=P.type,P){case e:case E:case M:case b:case K:return P;default:switch(P=P&&P.$$typeof,P){case F:case x:case B:case g:case T:case C:return P;default:return h}}case n:return h}}}t=x,t=C,t=s,t=B,t=e,t=g,t=T,t=n,t=E,t=M,t=b,t=K,t=function(){return!1},t=function(){return!1},t=function(P){return p(P)===x},t=function(P){return p(P)===C},t=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===s},t=function(P){return p(P)===B},t=function(P){return p(P)===e},t=function(P){return p(P)===g},t=function(P){return p(P)===T},t=function(P){return p(P)===n},t=function(P){return p(P)===E},t=function(P){return p(P)===M},t=function(P){return p(P)===b},t=function(P){return p(P)===K},t=function(P){return typeof P=="string"||typeof P=="function"||P===e||P===E||P===M||P===b||P===K||P===y||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===T||P.$$typeof===C||P.$$typeof===x||P.$$typeof===B||P.$$typeof===O||P.getModuleId!==void 0)},t=p},98529:($,c,t)=>{t(95373)},39878:($,c,t)=>{t.d(c,{Ay:()=>h});var s=t(98587),n=t(77387),e=t(95973),M=t(28437),E=t.n(M),C=t(23479),x=t.n(C);const F={disabled:!1};var B=t(53079),b=t(34093),K="unmounted",T="exited",g="entering",y="entered",O="exiting",p=function(m){(0,n.A)(l,m);function l(d,_){var o;o=m.call(this,d,_)||this;var a=_,A=a&&!a.isMounting?d.enter:d.appear,i;return o.appearStatus=null,d.in?A?(i=T,o.appearStatus=g):i=y:d.unmountOnExit||d.mountOnEnter?i=K:i=T,o.state={status:i},o.nextCallback=null,o}l.getDerivedStateFromProps=function(_,o){var a=_.in;return a&&o.status===K?{status:T}:null};var r=l.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(_){var o=null;if(_!==this.props){var a=this.state.status;this.props.in?a!==g&&a!==y&&(o=g):(a===g||a===y)&&(o=O)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var _=this.props.timeout,o,a,A;return o=a=A=_,_!=null&&typeof _!="number"&&(o=_.exit,a=_.enter,A=_.appear!==void 0?_.appear:a),{exit:o,enter:a,appear:A}},r.updateStatus=function(_,o){if(_===void 0&&(_=!1),o!==null)if(this.cancelNextCallback(),o===g){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:x().findDOMNode(this);a&&(0,b.F)(a)}this.performEnter(_)}else this.performExit();else this.props.unmountOnExit&&this.state.status===T&&this.setState({status:K})},r.performEnter=function(_){var o=this,a=this.props.enter,A=this.context?this.context.isMounting:_,i=this.props.nodeRef?[A]:[x().findDOMNode(this),A],v=i[0],L=i[1],R=this.getTimeouts(),I=A?R.appear:R.enter;if(!_&&!a||F.disabled){this.safeSetState({status:y},function(){o.props.onEntered(v)});return}this.props.onEnter(v,L),this.safeSetState({status:g},function(){o.props.onEntering(v,L),o.onTransitionEnd(I,function(){o.safeSetState({status:y},function(){o.props.onEntered(v,L)})})})},r.performExit=function(){var _=this,o=this.props.exit,a=this.getTimeouts(),A=this.props.nodeRef?void 0:x().findDOMNode(this);if(!o||F.disabled){this.safeSetState({status:T},function(){_.props.onExited(A)});return}this.props.onExit(A),this.safeSetState({status:O},function(){_.props.onExiting(A),_.onTransitionEnd(a.exit,function(){_.safeSetState({status:T},function(){_.props.onExited(A)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(_,o){o=this.setNextCallback(o),this.setState(_,o)},r.setNextCallback=function(_){var o=this,a=!0;return this.nextCallback=function(A){a&&(a=!1,o.nextCallback=null,_(A))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(_,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:x().findDOMNode(this),A=_==null&&!this.props.addEndListener;if(!a||A){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],v=i[0],L=i[1];this.props.addEndListener(v,L)}_!=null&&setTimeout(this.nextCallback,_)},r.render=function(){var _=this.state.status;if(_===K)return null;var o=this.props,a=o.children,A=o.in,i=o.mountOnEnter,v=o.unmountOnExit,L=o.appear,R=o.enter,I=o.exit,j=o.timeout,S=o.addEndListener,U=o.onEnter,W=o.onEntering,V=o.onEntered,Y=o.onExit,G=o.onExiting,N=o.onExited,Q=o.nodeRef,H=(0,s.A)(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return E().createElement(B.A.Provider,{value:null},typeof a=="function"?a(_,H):E().cloneElement(E().Children.only(a),H))},l}(E().Component);p.contextType=B.A,p.propTypes={};function P(){}p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:P,onEntering:P,onEntered:P,onExit:P,onExiting:P,onExited:P},p.UNMOUNTED=K,p.EXITED=T,p.ENTERING=g,p.ENTERED=y,p.EXITING=O;const h=p},89449:($,c,t)=>{t.d(c,{A:()=>P});var s=t(98587),n=t(58168),e=t(9417),M=t(77387),E=t(95973),C=t(28437),x=t.n(C),F=t(53079);function B(h,m){var l=function(_){return m&&(0,C.isValidElement)(_)?m(_):_},r=Object.create(null);return h&&C.Children.map(h,function(d){return d}).forEach(function(d){r[d.key]=l(d)}),r}function b(h,m){h=h||{},m=m||{};function l(v){return v in m?m[v]:h[v]}var r=Object.create(null),d=[];for(var _ in h)_ in m?d.length&&(r[_]=d,d=[]):d.push(_);var o,a={};for(var A in m){if(r[A])for(o=0;o{t.d(c,{A:()=>e});var s=t(28437),n=t.n(s);const e=n().createContext(null)},34093:($,c,t)=>{t.d(c,{F:()=>s});var s=function(e){return e.scrollTop}},9417:($,c,t)=>{t.d(c,{A:()=>s});function s(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}},77387:($,c,t)=>{t.d(c,{A:()=>n});var s=t(63662);function n(e,M){e.prototype=Object.create(M.prototype),e.prototype.constructor=e,(0,s.A)(e,M)}},63662:($,c,t)=>{t.d(c,{A:()=>s});function s(n,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,C){return E.__proto__=C,E},s(n,e)}},20816:($,c,t)=>{t.d(c,{A:()=>e});var s=t(82284);function n(M,E){if((0,s.A)(M)!="object"||!M)return M;var C=M[Symbol.toPrimitive];if(C!==void 0){var x=C.call(M,E||"default");if((0,s.A)(x)!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(M)}function e(M){var E=n(M,"string");return(0,s.A)(E)=="symbol"?E:E+""}},82284:($,c,t)=>{t.d(c,{A:()=>s});function s(n){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(n)}}}]); - -//# sourceMappingURL=vendors-node_modules_mui_material_Button_Button_js-node_modules_mui_material_Chip_Chip_js-nod-84ba17.28452bdd.chunk.js.map \ No newline at end of file diff --git a/admin/custom/static/js/vendors-node_modules_mui_material_utils_createSvgIcon_js.1ee0c356.chunk.js b/admin/custom/static/js/vendors-node_modules_mui_material_utils_createSvgIcon_js.35fe98fd.chunk.js similarity index 66% rename from admin/custom/static/js/vendors-node_modules_mui_material_utils_createSvgIcon_js.1ee0c356.chunk.js rename to admin/custom/static/js/vendors-node_modules_mui_material_utils_createSvgIcon_js.35fe98fd.chunk.js index 7ab4657c0..b81568232 100644 --- a/admin/custom/static/js/vendors-node_modules_mui_material_utils_createSvgIcon_js.1ee0c356.chunk.js +++ b/admin/custom/static/js/vendors-node_modules_mui_material_utils_createSvgIcon_js.35fe98fd.chunk.js @@ -1,17 +1,17 @@ -"use strict";var ke=Math.pow;(self.webpackChunkiobroker_admin_component_backitup=self.webpackChunkiobroker_admin_component_backitup||[]).push([["vendors-node_modules_mui_material_utils_createSvgIcon_js"],{92661:(F,A,t)=>{t.d(A,{A:()=>st});function r(e){if(e.sheet)return e.sheet;for(var a=0;a0?M(E,--g):0,f--,m===10&&(f=1,K--),m}function b(){return m=g2||W(m)>3?"":" "}function de(e){for(;b();)switch(W(m)){case 0:append(_e(g-1),e);break;case 2:append(X(m),e);break;default:append(from(m),e)}return e}function ye(e,a){for(;--a&&b()&&!(m<48||m>102||m>57&&m<65||m>70&&m<97););return O(e,T()+(a<6&&w()==32&&b()==32))}function Q(e){for(;b();)switch(m){case e:return g;case 34:case 39:e!==34&&e!==39&&Q(m);break;case 40:e===41&&Q(e);break;case 92:b();break}return g}function le(e,a){for(;b()&&e+m!==57;)if(e+m===84&&w()===47)break;return"/*"+O(a,g-1)+"*"+d(e===47?e:b())}function _e(e){for(;!W(w());)b();return O(e,g)}var V="-ms-",I="-moz-",z="-webkit-",Z="comm",H="rule",ue="decl",Ae="@page",Pe="@media",Te="@import",we="@charset",Ee="@viewport",Le="@supports",Me="@document",Ce="@namespace",Ie="@keyframes",j="@font-face",G="@counter-style",re="@font-feature-values",q="@layer";function se(e,a){for(var D="",S=x(e),$=0;$-1&&!e.return)switch(e.type){case DECLARATION:e.return=prefix(e.value,e.length,D);return;case KEYFRAMES:return serialize([copy(e,{value:replace(e.value,"@","@"+WEBKIT)})],S);case RULESET:if(e.length)return combine(e.props,function($){switch(match($,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(e,{props:[replace($,/:(read-\w+)/,":"+MOZ+"$1")]})],S);case"::placeholder":return serialize([copy(e,{props:[replace($,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(e,{props:[replace($,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(e,{props:[replace($,/:(plac\w+)/,MS+"input-$1")]})],S)}return""})}}function at(e){switch(e.type){case RULESET:e.props=e.props.map(function(a){return combine(tokenize(a),function(D,S,$){switch(charat(D,0)){case 12:return substr(D,1,strlen(D));case 0:case 40:case 43:case 62:case 126:return D;case 58:$[++S]==="global"&&($[S]="",$[++S]="\f"+substr($[S],S=1,-1));case 32:return S===1?"":D;default:switch(S){case 0:return e=D,sizeof($)>1?"":D;case(S=sizeof($)-1):case 2:return S===2?D+e+e:D+e;default:return D}}})})}}function Xe(e){return J(Be("",null,null,null,[""],e=U(e),0,[0],e))}function Be(e,a,D,S,$,N,oe,te,ce){for(var he=0,ie=0,me=oe,Se=0,Re=0,ve=0,ne=1,ge=1,ae=1,pe=0,Oe="",We=$,De=N,xe=S,ee=Oe;ge;)switch(ve=pe,pe=b()){case 40:if(ve!=108&&M(ee,me-1)==58){k(ee+=y(X(pe),"&","&\f"),"&\f")!=-1&&(ae=-1);break}case 34:case 39:case 91:ee+=X(pe);break;case 9:case 10:case 13:case 32:ee+=fe(ve);break;case 92:ee+=ye(T()-1,7);continue;case 47:switch(w()){case 42:case 47:R(He(le(b(),T()),a,D),ce);break;default:ee+="/"}break;case 123*ne:te[he++]=P(ee)*ae;case 125*ne:case 59:case 0:switch(pe){case 0:case 125:ge=0;case 59+ie:ae==-1&&(ee=y(ee,/\f/g,"")),Re>0&&P(ee)-me&&R(Re>32?Ke(ee+";",S,D,me-1):Ke(y(ee," ","")+";",S,D,me-2),ce);break;case 59:ee+=";";default:if(R(xe=Ue(ee,a,D,he,ie,$,te,Oe,We=[],De=[],me),N),pe===123)if(ie===0)Be(ee,a,xe,xe,We,N,me,te,De);else switch(Se===99&&M(ee,3)===110?100:Se){case 100:case 108:case 109:case 115:Be(e,xe,xe,S&&R(Ue(e,xe,xe,0,0,$,te,Oe,$,We=[],me),De),$,De,me,te,S?We:De);break;default:Be(ee,xe,xe,xe,[""],De,0,te,De)}}he=ie=Re=0,ne=ae=1,Oe=ee="",me=oe;break;case 58:me=1+P(ee),Re=ve;default:if(ne<1){if(pe==123)--ne;else if(pe==125&&ne++==0&&l()==125)continue}switch(ee+=d(pe),pe*ne){case 38:ae=ie>0?1:(ee+="\f",-1);break;case 44:te[he++]=(P(ee)-1)*ae,ae=1;break;case 64:w()===45&&(ee+=X(b())),Se=w(),ie=me=P(Oe=ee+=_e(T())),pe++;break;case 45:ve===45&&P(ee)==2&&(ne=0)}}return N}function Ue(e,a,D,S,$,N,oe,te,ce,he,ie){for(var me=$-1,Se=$===0?N:[""],Re=x(Se),ve=0,ne=0,ge=0;ve0?Se[ae]+" "+pe:y(pe,/&\f/g,Se[ae])))&&(ce[ge++]=Oe);return n(e,a,D,$===0?H:te,ce,he,ie)}function He(e,a,D){return n(e,a,D,Z,d(o()),L(e,2,-2),0)}function Ke(e,a,D,S){return n(e,a,D,ue,L(e,0,S),L(e,S+1,-1),S)}var Ye=function(a,D,S){for(var $=0,N=0;$=N,N=w(),$===38&&N===12&&(D[S]=1),!W(N);)b();return O(a,g)},Je=function(a,D){var S=-1,$=44;do switch(W($)){case 0:$===38&&w()===12&&(D[S]=1),a[S]+=Ye(g-1,D,S);break;case 2:a[S]+=X($);break;case 4:if($===44){a[++S]=w()===58?"&\f":"",D[S]=a[S].length;break}default:a[S]+=d($)}while($=b());return a},Ze=function(a,D){return J(Je(U(a),D))},$e=new WeakMap,Qe=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var D=a.value,S=a.parent,$=a.column===S.column&&a.line===S.line;S.type!=="rule";)if(S=S.parent,!S)return;if(!(a.props.length===1&&D.charCodeAt(0)!==58&&!$e.get(S))&&!$){$e.set(a,!0);for(var N=[],oe=Ze(D,N),te=S.props,ce=0,he=0;ce-1},it=function(a){return function(D,S,$){if(!(D.type!=="rule"||a.compat)){var N=D.value.match(/(:first|:nth|:nth-last)-child/g);if(N){for(var oe=!!D.parent,te=oe?D.parent.children:$,ce=te.length-1;ce>=0;ce--){var he=te[ce];if(he.line=0;S--)if(!ze(D[S]))return!0;return!1},Fe=function(a){a.type="",a.value="",a.return="",a.children="",a.props=""},ct=function(a,D,S){ze(a)&&(a.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Fe(a)):tt(D,S)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Fe(a)))};function je(e,a){switch(c(e,a)){case 5103:return z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+I+e+V+e+e;case 6828:case 4268:return z+e+V+e+e;case 6165:return z+e+V+"flex-"+e+e;case 5187:return z+e+y(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+V+"flex-$1$2")+e;case 5443:return z+e+V+"flex-item-"+y(e,/flex-|-self/,"")+e;case 4675:return z+e+V+"flex-line-pack"+y(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+V+y(e,"shrink","negative")+e;case 5292:return z+e+V+y(e,"basis","preferred-size")+e;case 6060:return z+"box-"+y(e,"-grow","")+z+e+V+y(e,"grow","positive")+e;case 4554:return z+y(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+V+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(P(e)-1-a>6)switch(M(e,a+1)){case 109:if(M(e,a+4)!==45)break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+I+(M(e,a+3)==108?"$3":"$2-$3"))+e;case 115:return~k(e,"stretch")?je(y(e,"stretch","fill-available"),a)+e:e}break;case 4949:if(M(e,a+1)!==115)break;case 6444:switch(M(e,P(e)-3-(~k(e,"!important")&&10))){case 107:return y(e,":",":"+z)+e;case 101:return y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(M(e,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+V+"$2box$3")+e}break;case 5936:switch(M(e,a+11)){case 114:return z+e+V+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+V+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+V+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+V+e+e}return e}var rt=function(a,D,S,$){if(a.length>-1&&!a.return)switch(a.type){case ue:a.return=je(a.value,a.length);break;case Ie:return se([s(a,{value:y(a.value,"@","@"+z)})],$);case H:if(a.length)return B(a.props,function(N){switch(_(N,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return se([s(a,{props:[y(N,/:(read-\w+)/,":"+I+"$1")]})],$);case"::placeholder":return se([s(a,{props:[y(N,/:(plac\w+)/,":"+z+"input-$1")]}),s(a,{props:[y(N,/:(plac\w+)/,":"+I+"$1")]}),s(a,{props:[y(N,/:(plac\w+)/,V+"input-$1")]})],$)}return""})}},nt=[rt],st=function(a){var D=a.key;if(D==="css"){var S=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(S,function(ne){var ge=ne.getAttribute("data-emotion");ge.indexOf(" ")!==-1&&(document.head.appendChild(ne),ne.setAttribute("data-s",""))})}var $=a.stylisPlugins||nt,N={},oe,te=[];oe=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+D+' "]'),function(ne){for(var ge=ne.getAttribute("data-emotion").split(" "),ae=1;ae{t.d(A,{A:()=>r});function r(i){var v=Object.create(null);return function(h){return v[h]===void 0&&(v[h]=i(h)),v[h]}}},58871:(F,A,t)=>{t.d(A,{C:()=>_,T:()=>M,i:()=>u,w:()=>k});var r=t(28437),i=t.n(r),v=t(92661),h=t(10438),d=t(3673),u=!0,c={}.hasOwnProperty,p=r.createContext(typeof HTMLElement!="undefined"?(0,v.A)({key:"css"}):null),_=p.Provider,y=function(){return useContext(p)},k=function(T){return(0,r.forwardRef)(function(O,W){var U=(0,r.useContext)(p);return T(O,U,W)})};u||(k=function(T){return function(O){var W=(0,r.useContext)(p);return W===null?(W=(0,v.A)({key:"css"}),r.createElement(p.Provider,{value:W},T(O,W))):T(O,W)}});var M=r.createContext({}),L=function(){return React.useContext(M)},P=function(T,O){if(typeof O=="function"){var W=O(T);return W}return _extends({},T,O)},x=null,R=function(T){var O=React.useContext(M);return T.theme!==O&&(O=x(O)(T.theme)),React.createElement(M.Provider,{value:O},T.children)};function B(w){var T=w.displayName||w.name||"Component",O=function(J,X){var Y=React.useContext(M);return React.createElement(w,_extends({theme:Y,ref:X},J))},W=React.forwardRef(O);return W.displayName="WithTheme("+T+")",hoistNonReactStatics(W,w)}var K=function(T){var O=T.split(".");return O[O.length-1]},f=function(T){var O=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(T);if(O||(O=/^([A-Za-z0-9$.]+)@/.exec(T),O))return K(O[1])},C=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),g=function(T){return T.replace(/\$/g,"-")},m=function(T){if(T)for(var O=T.split(` -`),W=0;W{t.d(A,{J:()=>n});function r(s){for(var o=0,l,b=0,w=s.length;w>=4;++b,w-=4)l=s.charCodeAt(b)&255|(s.charCodeAt(++b)&255)<<8|(s.charCodeAt(++b)&255)<<16|(s.charCodeAt(++b)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,o=(l&65535)*1540483477+((l>>>16)*59797<<16)^(o&65535)*1540483477+((o>>>16)*59797<<16);switch(w){case 3:o^=(s.charCodeAt(b+2)&255)<<16;case 2:o^=(s.charCodeAt(b+1)&255)<<8;case 1:o^=s.charCodeAt(b)&255,o=(o&65535)*1540483477+((o>>>16)*59797<<16)}return o^=o>>>13,o=(o&65535)*1540483477+((o>>>16)*59797<<16),((o^o>>>15)>>>0).toString(36)}var i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},v=t(32927),h=`You have illegal escape sequence in your template literal, most likely inside content's property value. +"use strict";var ke=Math.pow;(self.webpackChunkiobroker_admin_component_backitup=self.webpackChunkiobroker_admin_component_backitup||[]).push([["vendors-node_modules_mui_material_utils_createSvgIcon_js"],{92661:(F,A,t)=>{t.d(A,{A:()=>st});function r(e){if(e.sheet)return e.sheet;for(var a=0;a0?M(E,--g):0,f--,m===10&&(f=1,K--),m}function b(){return m=g2||W(m)>3?"":" "}function de(e){for(;b();)switch(W(m)){case 0:append(_e(g-1),e);break;case 2:append(X(m),e);break;default:append(from(m),e)}return e}function ye(e,a){for(;--a&&b()&&!(m<48||m>102||m>57&&m<65||m>70&&m<97););return O(e,T()+(a<6&&D()==32&&b()==32))}function Q(e){for(;b();)switch(m){case e:return g;case 34:case 39:e!==34&&e!==39&&Q(m);break;case 40:e===41&&Q(e);break;case 92:b();break}return g}function le(e,a){for(;b()&&e+m!==57;)if(e+m===84&&D()===47)break;return"/*"+O(a,g-1)+"*"+u(e===47?e:b())}function _e(e){for(;!W(D());)b();return O(e,g)}var V="-ms-",I="-moz-",z="-webkit-",Z="comm",H="rule",ue="decl",Ae="@page",Pe="@media",Te="@import",De="@charset",Ee="@viewport",Le="@supports",Me="@document",Ce="@namespace",Ie="@keyframes",j="@font-face",G="@counter-style",re="@font-feature-values",q="@layer";function se(e,a){for(var w="",S=x(e),$=0;$-1&&!e.return)switch(e.type){case DECLARATION:e.return=prefix(e.value,e.length,w);return;case KEYFRAMES:return serialize([copy(e,{value:replace(e.value,"@","@"+WEBKIT)})],S);case RULESET:if(e.length)return combine(e.props,function($){switch(match($,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(e,{props:[replace($,/:(read-\w+)/,":"+MOZ+"$1")]})],S);case"::placeholder":return serialize([copy(e,{props:[replace($,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(e,{props:[replace($,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(e,{props:[replace($,/:(plac\w+)/,MS+"input-$1")]})],S)}return""})}}function at(e){switch(e.type){case RULESET:e.props=e.props.map(function(a){return combine(tokenize(a),function(w,S,$){switch(charat(w,0)){case 12:return substr(w,1,strlen(w));case 0:case 40:case 43:case 62:case 126:return w;case 58:$[++S]==="global"&&($[S]="",$[++S]="\f"+substr($[S],S=1,-1));case 32:return S===1?"":w;default:switch(S){case 0:return e=w,sizeof($)>1?"":w;case(S=sizeof($)-1):case 2:return S===2?w+e+e:w+e;default:return w}}})})}}function Xe(e){return J(Be("",null,null,null,[""],e=U(e),0,[0],e))}function Be(e,a,w,S,$,N,oe,te,ce){for(var he=0,ie=0,me=oe,Se=0,Re=0,ve=0,ne=1,ge=1,ae=1,pe=0,Oe="",We=$,we=N,xe=S,ee=Oe;ge;)switch(ve=pe,pe=b()){case 40:if(ve!=108&&M(ee,me-1)==58){k(ee+=y(X(pe),"&","&\f"),"&\f")!=-1&&(ae=-1);break}case 34:case 39:case 91:ee+=X(pe);break;case 9:case 10:case 13:case 32:ee+=fe(ve);break;case 92:ee+=ye(T()-1,7);continue;case 47:switch(D()){case 42:case 47:R(He(le(b(),T()),a,w),ce);break;default:ee+="/"}break;case 123*ne:te[he++]=P(ee)*ae;case 125*ne:case 59:case 0:switch(pe){case 0:case 125:ge=0;case 59+ie:ae==-1&&(ee=y(ee,/\f/g,"")),Re>0&&P(ee)-me&&R(Re>32?Ke(ee+";",S,w,me-1):Ke(y(ee," ","")+";",S,w,me-2),ce);break;case 59:ee+=";";default:if(R(xe=Ue(ee,a,w,he,ie,$,te,Oe,We=[],we=[],me),N),pe===123)if(ie===0)Be(ee,a,xe,xe,We,N,me,te,we);else switch(Se===99&&M(ee,3)===110?100:Se){case 100:case 108:case 109:case 115:Be(e,xe,xe,S&&R(Ue(e,xe,xe,0,0,$,te,Oe,$,We=[],me),we),$,we,me,te,S?We:we);break;default:Be(ee,xe,xe,xe,[""],we,0,te,we)}}he=ie=Re=0,ne=ae=1,Oe=ee="",me=oe;break;case 58:me=1+P(ee),Re=ve;default:if(ne<1){if(pe==123)--ne;else if(pe==125&&ne++==0&&c()==125)continue}switch(ee+=u(pe),pe*ne){case 38:ae=ie>0?1:(ee+="\f",-1);break;case 44:te[he++]=(P(ee)-1)*ae,ae=1;break;case 64:D()===45&&(ee+=X(b())),Se=D(),ie=me=P(Oe=ee+=_e(T())),pe++;break;case 45:ve===45&&P(ee)==2&&(ne=0)}}return N}function Ue(e,a,w,S,$,N,oe,te,ce,he,ie){for(var me=$-1,Se=$===0?N:[""],Re=x(Se),ve=0,ne=0,ge=0;ve0?Se[ae]+" "+pe:y(pe,/&\f/g,Se[ae])))&&(ce[ge++]=Oe);return n(e,a,w,$===0?H:te,ce,he,ie)}function He(e,a,w){return n(e,a,w,Z,u(o()),L(e,2,-2),0)}function Ke(e,a,w,S){return n(e,a,w,ue,L(e,0,S),L(e,S+1,-1),S)}var Ye=function(a,w,S){for(var $=0,N=0;$=N,N=D(),$===38&&N===12&&(w[S]=1),!W(N);)b();return O(a,g)},Je=function(a,w){var S=-1,$=44;do switch(W($)){case 0:$===38&&D()===12&&(w[S]=1),a[S]+=Ye(g-1,w,S);break;case 2:a[S]+=X($);break;case 4:if($===44){a[++S]=D()===58?"&\f":"",w[S]=a[S].length;break}default:a[S]+=u($)}while($=b());return a},Ze=function(a,w){return J(Je(U(a),w))},$e=new WeakMap,Qe=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var w=a.value,S=a.parent,$=a.column===S.column&&a.line===S.line;S.type!=="rule";)if(S=S.parent,!S)return;if(!(a.props.length===1&&w.charCodeAt(0)!==58&&!$e.get(S))&&!$){$e.set(a,!0);for(var N=[],oe=Ze(w,N),te=S.props,ce=0,he=0;ce-1},it=function(a){return function(w,S,$){if(!(w.type!=="rule"||a.compat)){var N=w.value.match(/(:first|:nth|:nth-last)-child/g);if(N){for(var oe=!!w.parent,te=oe?w.parent.children:$,ce=te.length-1;ce>=0;ce--){var he=te[ce];if(he.line=0;S--)if(!ze(w[S]))return!0;return!1},Fe=function(a){a.type="",a.value="",a.return="",a.children="",a.props=""},ct=function(a,w,S){ze(a)&&(a.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Fe(a)):tt(w,S)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Fe(a)))};function je(e,a){switch(l(e,a)){case 5103:return z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+I+e+V+e+e;case 6828:case 4268:return z+e+V+e+e;case 6165:return z+e+V+"flex-"+e+e;case 5187:return z+e+y(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+V+"flex-$1$2")+e;case 5443:return z+e+V+"flex-item-"+y(e,/flex-|-self/,"")+e;case 4675:return z+e+V+"flex-line-pack"+y(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+V+y(e,"shrink","negative")+e;case 5292:return z+e+V+y(e,"basis","preferred-size")+e;case 6060:return z+"box-"+y(e,"-grow","")+z+e+V+y(e,"grow","positive")+e;case 4554:return z+y(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+V+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(P(e)-1-a>6)switch(M(e,a+1)){case 109:if(M(e,a+4)!==45)break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+I+(M(e,a+3)==108?"$3":"$2-$3"))+e;case 115:return~k(e,"stretch")?je(y(e,"stretch","fill-available"),a)+e:e}break;case 4949:if(M(e,a+1)!==115)break;case 6444:switch(M(e,P(e)-3-(~k(e,"!important")&&10))){case 107:return y(e,":",":"+z)+e;case 101:return y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(M(e,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+V+"$2box$3")+e}break;case 5936:switch(M(e,a+11)){case 114:return z+e+V+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+V+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+V+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+V+e+e}return e}var rt=function(a,w,S,$){if(a.length>-1&&!a.return)switch(a.type){case ue:a.return=je(a.value,a.length);break;case Ie:return se([s(a,{value:y(a.value,"@","@"+z)})],$);case H:if(a.length)return B(a.props,function(N){switch(_(N,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return se([s(a,{props:[y(N,/:(read-\w+)/,":"+I+"$1")]})],$);case"::placeholder":return se([s(a,{props:[y(N,/:(plac\w+)/,":"+z+"input-$1")]}),s(a,{props:[y(N,/:(plac\w+)/,":"+I+"$1")]}),s(a,{props:[y(N,/:(plac\w+)/,V+"input-$1")]})],$)}return""})}},nt=[rt],st=function(a){var w=a.key;if(w==="css"){var S=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(S,function(ne){var ge=ne.getAttribute("data-emotion");ge.indexOf(" ")!==-1&&(document.head.appendChild(ne),ne.setAttribute("data-s",""))})}var $=a.stylisPlugins||nt,N={},oe,te=[];oe=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+w+' "]'),function(ne){for(var ge=ne.getAttribute("data-emotion").split(" "),ae=1;ae{t.d(A,{A:()=>r});function r(i){var v=Object.create(null);return function(h){return v[h]===void 0&&(v[h]=i(h)),v[h]}}},58871:(F,A,t)=>{t.d(A,{C:()=>_,T:()=>M,i:()=>d,w:()=>k});var r=t(28437),i=t.n(r),v=t(92661),h=t(10438),u=t(3673),d=!0,l={}.hasOwnProperty,p=r.createContext(typeof HTMLElement!="undefined"?(0,v.A)({key:"css"}):null),_=p.Provider,y=function(){return useContext(p)},k=function(T){return(0,r.forwardRef)(function(O,W){var U=(0,r.useContext)(p);return T(O,U,W)})};d||(k=function(T){return function(O){var W=(0,r.useContext)(p);return W===null?(W=(0,v.A)({key:"css"}),r.createElement(p.Provider,{value:W},T(O,W))):T(O,W)}});var M=r.createContext({}),L=function(){return React.useContext(M)},P=function(T,O){if(typeof O=="function"){var W=O(T);return W}return _extends({},T,O)},x=null,R=function(T){var O=React.useContext(M);return T.theme!==O&&(O=x(O)(T.theme)),React.createElement(M.Provider,{value:O},T.children)};function B(D){var T=D.displayName||D.name||"Component",O=function(J,X){var Y=React.useContext(M);return React.createElement(D,_extends({theme:Y,ref:X},J))},W=React.forwardRef(O);return W.displayName="WithTheme("+T+")",hoistNonReactStatics(W,D)}var K=function(T){var O=T.split(".");return O[O.length-1]},f=function(T){var O=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(T);if(O||(O=/^([A-Za-z0-9$.]+)@/.exec(T),O))return K(O[1])},C=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),g=function(T){return T.replace(/\$/g,"-")},m=function(T){if(T)for(var O=T.split(` +`),W=0;W{t.d(A,{J:()=>n});function r(s){for(var o=0,c,b=0,D=s.length;D>=4;++b,D-=4)c=s.charCodeAt(b)&255|(s.charCodeAt(++b)&255)<<8|(s.charCodeAt(++b)&255)<<16|(s.charCodeAt(++b)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,o=(c&65535)*1540483477+((c>>>16)*59797<<16)^(o&65535)*1540483477+((o>>>16)*59797<<16);switch(D){case 3:o^=(s.charCodeAt(b+2)&255)<<16;case 2:o^=(s.charCodeAt(b+1)&255)<<8;case 1:o^=s.charCodeAt(b)&255,o=(o&65535)*1540483477+((o>>>16)*59797<<16)}return o^=o>>>13,o=(o&65535)*1540483477+((o>>>16)*59797<<16),((o^o>>>15)>>>0).toString(36)}var i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},v=t(32927),h=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,d="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",u=/[A-Z]|^ms/g,c=/_EMO_([^_]+?)_([^]*?)_EMO_/g,p=function(o){return o.charCodeAt(1)===45},_=function(o){return o!=null&&typeof o!="boolean"},y=(0,v.A)(function(s){return p(s)?s:s.replace(u,"-$&").toLowerCase()}),k=function(o,l){switch(o){case"animation":case"animationName":if(typeof l=="string")return l.replace(c,function(b,w,T){return E={name:w,styles:T,next:E},w})}return i[o]!==1&&!p(o)&&typeof l=="number"&&l!==0?l+"px":l};if(0)var M,L,P,x,R,B;var K=null;function f(s,o,l){if(l==null)return"";if(l.__emotion_styles!==void 0)return l;switch(typeof l){case"boolean":return"";case"object":{if(l.anim===1)return E={name:l.name,styles:l.styles,next:E},l.name;if(l.styles!==void 0){var b=l.next;if(b!==void 0)for(;b!==void 0;)E={name:b.name,styles:b.styles,next:E},b=b.next;var w=l.styles+";";return w}return C(s,o,l)}case"function":{if(s!==void 0){var T=E,O=l(s);return E=T,f(s,o,O)}break}case"string":if(0)var W,U;break}if(o==null)return l;var J=o[l];return J!==void 0?J:l}function C(s,o,l){var b="";if(Array.isArray(l))for(var w=0;w{t.d(A,{i:()=>u,s:()=>d});var r=t(28437),i=t.n(r),v=function(p){return p()},h=r.useInsertionEffect?r.useInsertionEffect:!1,d=h||v,u=h||r.useLayoutEffect},5555:(F,A,t)=>{t.d(A,{Rk:()=>i,SF:()=>v,sk:()=>h});var r=!0;function i(d,u,c){var p="";return c.split(" ").forEach(function(_){d[_]!==void 0?u.push(d[_]+";"):p+=_+" "}),p}var v=function(u,c,p){var _=u.key+"-"+c.name;(p===!1||r===!1)&&u.registered[_]===void 0&&(u.registered[_]=c.styles)},h=function(u,c,p){v(u,c,p);var _=u.key+"-"+c.name;if(u.inserted[c.name]===void 0){var y=c;do u.insert(c===y?"."+_:"",y,u.sheet,!0),y=y.next;while(y!==void 0)}}},42557:(F,A,t)=>{t.d(A,{A:()=>K});var r=t(58168),i=t(98587),v=t(28437),h=t.n(v),d=t(95973),u=t.n(d),c=t(74984),p=t(86249),_=t(10016),y=t(48399),k=t(46186),M=t(3477),L=t(64922);const P=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],x=f=>{const{color:C,fontSize:g,classes:m}=f,E={root:["root",C!=="inherit"&&`color${(0,_.A)(C)}`,`fontSize${(0,_.A)(g)}`]};return(0,p.A)(E,M.E,m)},R=(0,k.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(f,C)=>{const{ownerState:g}=f;return[C.root,g.color!=="inherit"&&C[`color${(0,_.A)(g.color)}`],C[`fontSize${(0,_.A)(g.fontSize)}`]]}})(({theme:f,ownerState:C})=>{var g,m,E,n,s,o,l,b,w,T,O,W,U;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:C.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(g=f.transitions)==null||(m=g.create)==null?void 0:m.call(g,"fill",{duration:(E=f.transitions)==null||(E=E.duration)==null?void 0:E.shorter}),fontSize:{inherit:"inherit",small:((n=f.typography)==null||(s=n.pxToRem)==null?void 0:s.call(n,20))||"1.25rem",medium:((o=f.typography)==null||(l=o.pxToRem)==null?void 0:l.call(o,24))||"1.5rem",large:((b=f.typography)==null||(w=b.pxToRem)==null?void 0:w.call(b,35))||"2.1875rem"}[C.fontSize],color:(T=(O=(f.vars||f).palette)==null||(O=O[C.color])==null?void 0:O.main)!=null?T:{action:(W=(f.vars||f).palette)==null||(W=W.action)==null?void 0:W.active,disabled:(U=(f.vars||f).palette)==null||(U=U.action)==null?void 0:U.disabled,inherit:void 0}[C.color]}}),B=v.forwardRef(function(C,g){const m=(0,y.A)({props:C,name:"MuiSvgIcon"}),{children:E,className:n,color:s="inherit",component:o="svg",fontSize:l="medium",htmlColor:b,inheritViewBox:w=!1,titleAccess:T,viewBox:O="0 0 24 24"}=m,W=(0,i.A)(m,P),U=v.isValidElement(E)&&E.type==="svg",J=(0,r.A)({},m,{color:s,component:o,fontSize:l,instanceFontSize:C.fontSize,inheritViewBox:w,viewBox:O,hasSvgAsChild:U}),X={};w||(X.viewBox=O);const Y=x(J);return(0,L.jsxs)(R,(0,r.A)({as:o,className:(0,c.A)(Y.root,n),focusable:"false",color:b,"aria-hidden":T?void 0:!0,role:T?"img":void 0,ref:g},X,W,U&&E.props,{ownerState:J,children:[U?E.props.children:E,T?(0,L.jsx)("title",{children:T}):null]}))});B.muiName="SvgIcon";const K=B},3477:(F,A,t)=>{t.d(A,{A:()=>d,E:()=>v});var r=t(95227),i=t(35583);function v(u){return(0,i.Ay)("MuiSvgIcon",u)}const d=(0,r.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},34603:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},66794:(F,A,t)=>{t.d(A,{A:()=>i});const i={black:"#000",white:"#fff"}},31632:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},92272:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},38639:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},95117:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},31813:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}},57756:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},43718:(F,A,t)=>{t.d(A,{D:()=>_e,A:()=>V});var r=t(58168),i=t(98587),v=t(22571),h=t(53107),d=t(221),u=t(61728),c=t(22885);function p(I,z){return(0,r.A)({toolbar:{minHeight:56,[I.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[I.up("sm")]:{minHeight:64}}},z)}var _=t(42118),y=t(66794),k=t(92272),M=t(31813),L=t(57756),P=t(95117),x=t(34603),R=t(38639),B=t(31632);const K=["mode","contrastThreshold","tonalOffset"],f={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:y.A.white,default:y.A.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},C={text:{primary:y.A.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:y.A.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function g(I,z,Z,H){const ue=H.light||H,Ae=H.dark||H*1.5;I[z]||(I.hasOwnProperty(Z)?I[z]=I[Z]:z==="light"?I.light=(0,_.a)(I.main,ue):z==="dark"&&(I.dark=(0,_.e$)(I.main,Ae)))}function m(I="light"){return I==="dark"?{main:x.A[200],light:x.A[50],dark:x.A[400]}:{main:x.A[700],light:x.A[400],dark:x.A[800]}}function E(I="light"){return I==="dark"?{main:M.A[200],light:M.A[50],dark:M.A[400]}:{main:M.A[500],light:M.A[300],dark:M.A[700]}}function n(I="light"){return I==="dark"?{main:L.A[500],light:L.A[300],dark:L.A[700]}:{main:L.A[700],light:L.A[400],dark:L.A[800]}}function s(I="light"){return I==="dark"?{main:R.A[400],light:R.A[300],dark:R.A[700]}:{main:R.A[700],light:R.A[500],dark:R.A[900]}}function o(I="light"){return I==="dark"?{main:B.A[400],light:B.A[300],dark:B.A[700]}:{main:B.A[800],light:B.A[500],dark:B.A[900]}}function l(I="light"){return I==="dark"?{main:P.A[400],light:P.A[300],dark:P.A[700]}:{main:"#ed6c02",light:P.A[500],dark:P.A[900]}}function b(I){const{mode:z="light",contrastThreshold:Z=3,tonalOffset:H=.2}=I,ue=(0,i.A)(I,K),Ae=I.primary||m(z),Pe=I.secondary||E(z),Te=I.error||n(z),we=I.info||s(z),Ee=I.success||o(z),Le=I.warning||l(z);function Me(G){return(0,_.eM)(G,C.text.primary)>=Z?C.text.primary:f.text.primary}const Ce=({color:G,name:re,mainShade:q=500,lightShade:se=300,darkShade:be=700})=>{if(G=(0,r.A)({},G),!G.main&&G[q]&&(G.main=G[q]),!G.hasOwnProperty("main"))throw new Error((0,v.A)(11,re?` (${re})`:"",q));if(typeof G.main!="string")throw new Error((0,v.A)(12,re?` (${re})`:"",JSON.stringify(G.main)));return g(G,"light",se,H),g(G,"dark",be,H),G.contrastText||(G.contrastText=Me(G.main)),G},Ie={dark:C,light:f};return(0,h.A)((0,r.A)({common:(0,r.A)({},y.A),mode:z,primary:Ce({color:Ae,name:"primary"}),secondary:Ce({color:Pe,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:Ce({color:Te,name:"error"}),warning:Ce({color:Le,name:"warning"}),info:Ce({color:we,name:"info"}),success:Ce({color:Ee,name:"success"}),grey:k.A,contrastThreshold:Z,getContrastText:Me,augmentColor:Ce,tonalOffset:H},Ie[z]),ue)}var w=t(26228);const T=.2,O=.14,W=.12;function U(...I){return[`${I[0]}px ${I[1]}px ${I[2]}px ${I[3]}px rgba(0,0,0,${T})`,`${I[4]}px ${I[5]}px ${I[6]}px ${I[7]}px rgba(0,0,0,${O})`,`${I[8]}px ${I[9]}px ${I[10]}px ${I[11]}px rgba(0,0,0,${W})`].join(",")}const X=["none",U(0,2,1,-1,0,1,1,0,0,1,3,0),U(0,3,1,-2,0,2,2,0,0,1,5,0),U(0,3,3,-2,0,3,4,0,0,1,8,0),U(0,2,4,-1,0,4,5,0,0,1,10,0),U(0,3,5,-1,0,5,8,0,0,1,14,0),U(0,3,5,-1,0,6,10,0,0,1,18,0),U(0,4,5,-2,0,7,10,1,0,2,16,1),U(0,5,5,-3,0,8,10,1,0,3,14,2),U(0,5,6,-3,0,9,12,1,0,3,16,2),U(0,6,6,-3,0,10,14,1,0,4,18,3),U(0,6,7,-4,0,11,15,1,0,4,20,3),U(0,7,8,-4,0,12,17,2,0,5,22,4),U(0,7,8,-4,0,13,19,2,0,5,24,4),U(0,7,9,-4,0,14,21,2,0,5,26,4),U(0,8,9,-5,0,15,22,2,0,6,28,5),U(0,8,10,-5,0,16,24,2,0,6,30,5),U(0,8,11,-5,0,17,26,2,0,6,32,5),U(0,9,11,-5,0,18,28,2,0,7,34,6),U(0,9,12,-6,0,19,29,2,0,7,36,6),U(0,10,13,-6,0,20,31,3,0,8,38,7),U(0,10,13,-6,0,21,33,3,0,8,40,7),U(0,10,14,-6,0,22,35,3,0,8,42,7),U(0,11,14,-7,0,23,36,3,0,9,44,8),U(0,11,15,-7,0,24,38,3,0,9,46,8)];var Y=t(61789);const de={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},ye=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Q(I={},...z){const{mixins:Z={},palette:H={},transitions:ue={},typography:Ae={}}=I,Pe=(0,i.A)(I,ye);if(I.vars)throw new Error((0,v.A)(18));const Te=b(H),we=(0,d.A)(I);let Ee=(0,h.A)(we,{mixins:p(we.breakpoints,Z),palette:Te,shadows:X.slice(),typography:(0,w.A)(Te,Ae),transitions:(0,Y.Ay)(ue),zIndex:(0,r.A)({},de)});return Ee=(0,h.A)(Ee,Pe),Ee=z.reduce((Le,Me)=>(0,h.A)(Le,Me),Ee),Ee.unstable_sxConfig=(0,r.A)({},u.A,Pe==null?void 0:Pe.unstable_sxConfig),Ee.unstable_sx=function(Me){return(0,c.A)({sx:Me,theme:this})},Ee}let le=!1;function _e(...I){return Q(...I)}const V=Q},61789:(F,A,t)=>{t.d(A,{Ay:()=>p,cz:()=>h,p0:()=>d});var r=t(98587),i=t(58168);const v=["duration","easing","delay"],h={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},d={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function u(_){return`${Math.round(_)}ms`}function c(_){if(!_)return 0;const y=_/36;return Math.round((4+15*ke(y,.25)+y/5)*10)}function p(_){const y=(0,i.A)({},h,_.easing),k=(0,i.A)({},d,_.duration),M=(L=["all"],P={})=>{const{duration:x=k.standard,easing:R=y.easeInOut,delay:B=0}=P,K=(0,r.A)(P,v);return(Array.isArray(L)?L:[L]).map(f=>`${f} ${typeof x=="string"?x:u(x)} ${R} ${typeof B=="string"?B:u(B)}`).join(",")};return(0,i.A)({getAutoHeightDuration:c,create:M},_,{easing:y,duration:k})}},26228:(F,A,t)=>{t.d(A,{A:()=>p});var r=t(58168),i=t(98587),v=t(53107);const h=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function d(_){return Math.round(_*1e5)/1e5}const u={textTransform:"uppercase"},c='"Roboto", "Helvetica", "Arial", sans-serif';function p(_,y){const k=typeof y=="function"?y(_):y,{fontFamily:M=c,fontSize:L=14,fontWeightLight:P=300,fontWeightRegular:x=400,fontWeightMedium:R=500,fontWeightBold:B=700,htmlFontSize:K=16,allVariants:f,pxToRem:C}=k,g=(0,i.A)(k,h),m=L/14,E=C||(o=>`${o/K*m}rem`),n=(o,l,b,w,T)=>(0,r.A)({fontFamily:M,fontWeight:o,fontSize:E(l),lineHeight:b},M===c?{letterSpacing:`${d(w/l)}em`}:{},T,f),s={h1:n(P,96,1.167,-1.5),h2:n(P,60,1.2,-.5),h3:n(x,48,1.167,0),h4:n(x,34,1.235,.25),h5:n(x,24,1.334,0),h6:n(R,20,1.6,.15),subtitle1:n(x,16,1.75,.15),subtitle2:n(R,14,1.57,.1),body1:n(x,16,1.5,.15),body2:n(x,14,1.43,.15),button:n(R,14,1.75,.4,u),caption:n(x,12,1.66,.4),overline:n(x,12,2.66,1,u),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,v.A)((0,r.A)({htmlFontSize:K,pxToRem:E,fontFamily:M,fontSize:L,fontWeightLight:P,fontWeightRegular:x,fontWeightMedium:R,fontWeightBold:B},s),g,{clone:!1})}},40007:(F,A,t)=>{t.d(A,{A:()=>v});var r=t(43718);const v=(0,r.A)()},92066:(F,A,t)=>{t.d(A,{A:()=>r});const r="$$material"},46186:(F,A,t)=>{t.d(A,{Ay:()=>c,_n:()=>d,ep:()=>h});var r=t(29239),i=t(40007),v=t(92066);const h=p=>(0,r.MC)(p)&&p!=="classes",d=r.MC,c=(0,r.Ay)({themeId:v.A,defaultTheme:i.A,rootShouldForwardProp:h})},48399:(F,A,t)=>{t.d(A,{A:()=>h});var r=t(77181),i=t(40007),v=t(92066);function h({props:d,name:u}){return(0,r.A)({props:d,name:u,defaultTheme:i.A,themeId:v.A})}},10016:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(62917);const i=r.A},35131:(F,A,t)=>{t.d(A,{A:()=>u});var r=t(58168),i=t(28437),v=t.n(i),h=t(42557),d=t(64922);function u(c,p){function _(y,k){return(0,d.jsx)(h.A,(0,r.A)({"data-testid":`${p}Icon`,ref:k},y,{children:c}))}return _.muiName=h.A.muiName,i.memo(i.forwardRef(_))}},87085:(F,A,t)=>{t.d(A,{Ay:()=>f,q_:()=>C});var r=t(58168),i=t(28437),v=t(32927),h=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=(0,v.A)(function(g){return h.test(g)||g.charCodeAt(0)===111&&g.charCodeAt(1)===110&&g.charCodeAt(2)<91}),u=t(58871),c=t(5555),p=t(10438),_=t(3673),y=d,k=function(m){return m!=="theme"},M=function(m){return typeof m=="string"&&m.charCodeAt(0)>96?y:k},L=function(m,E,n){var s;if(E){var o=E.shouldForwardProp;s=m.__emotion_forwardProp&&o?function(l){return m.__emotion_forwardProp(l)&&o(l)}:o}return typeof s!="function"&&n&&(s=m.__emotion_forwardProp),s},P=`You have illegal escape sequence in your template literal, most likely inside content's property value. +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,u="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",d=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,p=function(o){return o.charCodeAt(1)===45},_=function(o){return o!=null&&typeof o!="boolean"},y=(0,v.A)(function(s){return p(s)?s:s.replace(d,"-$&").toLowerCase()}),k=function(o,c){switch(o){case"animation":case"animationName":if(typeof c=="string")return c.replace(l,function(b,D,T){return E={name:D,styles:T,next:E},D})}return i[o]!==1&&!p(o)&&typeof c=="number"&&c!==0?c+"px":c};if(0)var M,L,P,x,R,B;var K=null;function f(s,o,c){if(c==null)return"";if(c.__emotion_styles!==void 0)return c;switch(typeof c){case"boolean":return"";case"object":{if(c.anim===1)return E={name:c.name,styles:c.styles,next:E},c.name;if(c.styles!==void 0){var b=c.next;if(b!==void 0)for(;b!==void 0;)E={name:b.name,styles:b.styles,next:E},b=b.next;var D=c.styles+";";return D}return C(s,o,c)}case"function":{if(s!==void 0){var T=E,O=c(s);return E=T,f(s,o,O)}break}case"string":if(0)var W,U;break}if(o==null)return c;var J=o[c];return J!==void 0?J:c}function C(s,o,c){var b="";if(Array.isArray(c))for(var D=0;D{t.d(A,{i:()=>d,s:()=>u});var r=t(28437),i=t.n(r),v=function(p){return p()},h=r.useInsertionEffect?r.useInsertionEffect:!1,u=h||v,d=h||r.useLayoutEffect},5555:(F,A,t)=>{t.d(A,{Rk:()=>i,SF:()=>v,sk:()=>h});var r=!0;function i(u,d,l){var p="";return l.split(" ").forEach(function(_){u[_]!==void 0?d.push(u[_]+";"):p+=_+" "}),p}var v=function(d,l,p){var _=d.key+"-"+l.name;(p===!1||r===!1)&&d.registered[_]===void 0&&(d.registered[_]=l.styles)},h=function(d,l,p){v(d,l,p);var _=d.key+"-"+l.name;if(d.inserted[l.name]===void 0){var y=l;do d.insert(l===y?"."+_:"",y,d.sheet,!0),y=y.next;while(y!==void 0)}}},42557:(F,A,t)=>{t.d(A,{A:()=>K});var r=t(58168),i=t(98587),v=t(28437),h=t.n(v),u=t(95973),d=t.n(u),l=t(74984),p=t(86249),_=t(10016),y=t(48399),k=t(46186),M=t(3477),L=t(64922);const P=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],x=f=>{const{color:C,fontSize:g,classes:m}=f,E={root:["root",C!=="inherit"&&`color${(0,_.A)(C)}`,`fontSize${(0,_.A)(g)}`]};return(0,p.A)(E,M.E,m)},R=(0,k.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(f,C)=>{const{ownerState:g}=f;return[C.root,g.color!=="inherit"&&C[`color${(0,_.A)(g.color)}`],C[`fontSize${(0,_.A)(g.fontSize)}`]]}})(({theme:f,ownerState:C})=>{var g,m,E,n,s,o,c,b,D,T,O,W,U;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:C.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(g=f.transitions)==null||(m=g.create)==null?void 0:m.call(g,"fill",{duration:(E=f.transitions)==null||(E=E.duration)==null?void 0:E.shorter}),fontSize:{inherit:"inherit",small:((n=f.typography)==null||(s=n.pxToRem)==null?void 0:s.call(n,20))||"1.25rem",medium:((o=f.typography)==null||(c=o.pxToRem)==null?void 0:c.call(o,24))||"1.5rem",large:((b=f.typography)==null||(D=b.pxToRem)==null?void 0:D.call(b,35))||"2.1875rem"}[C.fontSize],color:(T=(O=(f.vars||f).palette)==null||(O=O[C.color])==null?void 0:O.main)!=null?T:{action:(W=(f.vars||f).palette)==null||(W=W.action)==null?void 0:W.active,disabled:(U=(f.vars||f).palette)==null||(U=U.action)==null?void 0:U.disabled,inherit:void 0}[C.color]}}),B=v.forwardRef(function(C,g){const m=(0,y.A)({props:C,name:"MuiSvgIcon"}),{children:E,className:n,color:s="inherit",component:o="svg",fontSize:c="medium",htmlColor:b,inheritViewBox:D=!1,titleAccess:T,viewBox:O="0 0 24 24"}=m,W=(0,i.A)(m,P),U=v.isValidElement(E)&&E.type==="svg",J=(0,r.A)({},m,{color:s,component:o,fontSize:c,instanceFontSize:C.fontSize,inheritViewBox:D,viewBox:O,hasSvgAsChild:U}),X={};D||(X.viewBox=O);const Y=x(J);return(0,L.jsxs)(R,(0,r.A)({as:o,className:(0,l.A)(Y.root,n),focusable:"false",color:b,"aria-hidden":T?void 0:!0,role:T?"img":void 0,ref:g},X,W,U&&E.props,{ownerState:J,children:[U?E.props.children:E,T?(0,L.jsx)("title",{children:T}):null]}))});B.muiName="SvgIcon";const K=B},3477:(F,A,t)=>{t.d(A,{A:()=>u,E:()=>v});var r=t(95227),i=t(35583);function v(d){return(0,i.Ay)("MuiSvgIcon",d)}const u=(0,r.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},34603:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},66794:(F,A,t)=>{t.d(A,{A:()=>i});const i={black:"#000",white:"#fff"}},31632:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},92272:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},38639:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},95117:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},31813:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}},57756:(F,A,t)=>{t.d(A,{A:()=>i});const i={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},43718:(F,A,t)=>{t.d(A,{D:()=>_e,A:()=>V});var r=t(58168),i=t(98587),v=t(22571),h=t(53107),u=t(221),d=t(61728),l=t(22885);function p(I,z){return(0,r.A)({toolbar:{minHeight:56,[I.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[I.up("sm")]:{minHeight:64}}},z)}var _=t(42118),y=t(66794),k=t(92272),M=t(31813),L=t(57756),P=t(95117),x=t(34603),R=t(38639),B=t(31632);const K=["mode","contrastThreshold","tonalOffset"],f={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:y.A.white,default:y.A.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},C={text:{primary:y.A.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:y.A.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function g(I,z,Z,H){const ue=H.light||H,Ae=H.dark||H*1.5;I[z]||(I.hasOwnProperty(Z)?I[z]=I[Z]:z==="light"?I.light=(0,_.a)(I.main,ue):z==="dark"&&(I.dark=(0,_.e$)(I.main,Ae)))}function m(I="light"){return I==="dark"?{main:x.A[200],light:x.A[50],dark:x.A[400]}:{main:x.A[700],light:x.A[400],dark:x.A[800]}}function E(I="light"){return I==="dark"?{main:M.A[200],light:M.A[50],dark:M.A[400]}:{main:M.A[500],light:M.A[300],dark:M.A[700]}}function n(I="light"){return I==="dark"?{main:L.A[500],light:L.A[300],dark:L.A[700]}:{main:L.A[700],light:L.A[400],dark:L.A[800]}}function s(I="light"){return I==="dark"?{main:R.A[400],light:R.A[300],dark:R.A[700]}:{main:R.A[700],light:R.A[500],dark:R.A[900]}}function o(I="light"){return I==="dark"?{main:B.A[400],light:B.A[300],dark:B.A[700]}:{main:B.A[800],light:B.A[500],dark:B.A[900]}}function c(I="light"){return I==="dark"?{main:P.A[400],light:P.A[300],dark:P.A[700]}:{main:"#ed6c02",light:P.A[500],dark:P.A[900]}}function b(I){const{mode:z="light",contrastThreshold:Z=3,tonalOffset:H=.2}=I,ue=(0,i.A)(I,K),Ae=I.primary||m(z),Pe=I.secondary||E(z),Te=I.error||n(z),De=I.info||s(z),Ee=I.success||o(z),Le=I.warning||c(z);function Me(G){return(0,_.eM)(G,C.text.primary)>=Z?C.text.primary:f.text.primary}const Ce=({color:G,name:re,mainShade:q=500,lightShade:se=300,darkShade:be=700})=>{if(G=(0,r.A)({},G),!G.main&&G[q]&&(G.main=G[q]),!G.hasOwnProperty("main"))throw new Error((0,v.A)(11,re?` (${re})`:"",q));if(typeof G.main!="string")throw new Error((0,v.A)(12,re?` (${re})`:"",JSON.stringify(G.main)));return g(G,"light",se,H),g(G,"dark",be,H),G.contrastText||(G.contrastText=Me(G.main)),G},Ie={dark:C,light:f};return(0,h.A)((0,r.A)({common:(0,r.A)({},y.A),mode:z,primary:Ce({color:Ae,name:"primary"}),secondary:Ce({color:Pe,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:Ce({color:Te,name:"error"}),warning:Ce({color:Le,name:"warning"}),info:Ce({color:De,name:"info"}),success:Ce({color:Ee,name:"success"}),grey:k.A,contrastThreshold:Z,getContrastText:Me,augmentColor:Ce,tonalOffset:H},Ie[z]),ue)}var D=t(26228);const T=.2,O=.14,W=.12;function U(...I){return[`${I[0]}px ${I[1]}px ${I[2]}px ${I[3]}px rgba(0,0,0,${T})`,`${I[4]}px ${I[5]}px ${I[6]}px ${I[7]}px rgba(0,0,0,${O})`,`${I[8]}px ${I[9]}px ${I[10]}px ${I[11]}px rgba(0,0,0,${W})`].join(",")}const X=["none",U(0,2,1,-1,0,1,1,0,0,1,3,0),U(0,3,1,-2,0,2,2,0,0,1,5,0),U(0,3,3,-2,0,3,4,0,0,1,8,0),U(0,2,4,-1,0,4,5,0,0,1,10,0),U(0,3,5,-1,0,5,8,0,0,1,14,0),U(0,3,5,-1,0,6,10,0,0,1,18,0),U(0,4,5,-2,0,7,10,1,0,2,16,1),U(0,5,5,-3,0,8,10,1,0,3,14,2),U(0,5,6,-3,0,9,12,1,0,3,16,2),U(0,6,6,-3,0,10,14,1,0,4,18,3),U(0,6,7,-4,0,11,15,1,0,4,20,3),U(0,7,8,-4,0,12,17,2,0,5,22,4),U(0,7,8,-4,0,13,19,2,0,5,24,4),U(0,7,9,-4,0,14,21,2,0,5,26,4),U(0,8,9,-5,0,15,22,2,0,6,28,5),U(0,8,10,-5,0,16,24,2,0,6,30,5),U(0,8,11,-5,0,17,26,2,0,6,32,5),U(0,9,11,-5,0,18,28,2,0,7,34,6),U(0,9,12,-6,0,19,29,2,0,7,36,6),U(0,10,13,-6,0,20,31,3,0,8,38,7),U(0,10,13,-6,0,21,33,3,0,8,40,7),U(0,10,14,-6,0,22,35,3,0,8,42,7),U(0,11,14,-7,0,23,36,3,0,9,44,8),U(0,11,15,-7,0,24,38,3,0,9,46,8)];var Y=t(61789);const de={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},ye=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Q(I={},...z){const{mixins:Z={},palette:H={},transitions:ue={},typography:Ae={}}=I,Pe=(0,i.A)(I,ye);if(I.vars)throw new Error((0,v.A)(18));const Te=b(H),De=(0,u.A)(I);let Ee=(0,h.A)(De,{mixins:p(De.breakpoints,Z),palette:Te,shadows:X.slice(),typography:(0,D.A)(Te,Ae),transitions:(0,Y.Ay)(ue),zIndex:(0,r.A)({},de)});return Ee=(0,h.A)(Ee,Pe),Ee=z.reduce((Le,Me)=>(0,h.A)(Le,Me),Ee),Ee.unstable_sxConfig=(0,r.A)({},d.A,Pe==null?void 0:Pe.unstable_sxConfig),Ee.unstable_sx=function(Me){return(0,l.A)({sx:Me,theme:this})},Ee}let le=!1;function _e(...I){return Q(...I)}const V=Q},61789:(F,A,t)=>{t.d(A,{Ay:()=>p,cz:()=>h,p0:()=>u});var r=t(98587),i=t(58168);const v=["duration","easing","delay"],h={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},u={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function d(_){return`${Math.round(_)}ms`}function l(_){if(!_)return 0;const y=_/36;return Math.round((4+15*ke(y,.25)+y/5)*10)}function p(_){const y=(0,i.A)({},h,_.easing),k=(0,i.A)({},u,_.duration),M=(L=["all"],P={})=>{const{duration:x=k.standard,easing:R=y.easeInOut,delay:B=0}=P,K=(0,r.A)(P,v);return(Array.isArray(L)?L:[L]).map(f=>`${f} ${typeof x=="string"?x:d(x)} ${R} ${typeof B=="string"?B:d(B)}`).join(",")};return(0,i.A)({getAutoHeightDuration:l,create:M},_,{easing:y,duration:k})}},26228:(F,A,t)=>{t.d(A,{A:()=>p});var r=t(58168),i=t(98587),v=t(53107);const h=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function u(_){return Math.round(_*1e5)/1e5}const d={textTransform:"uppercase"},l='"Roboto", "Helvetica", "Arial", sans-serif';function p(_,y){const k=typeof y=="function"?y(_):y,{fontFamily:M=l,fontSize:L=14,fontWeightLight:P=300,fontWeightRegular:x=400,fontWeightMedium:R=500,fontWeightBold:B=700,htmlFontSize:K=16,allVariants:f,pxToRem:C}=k,g=(0,i.A)(k,h),m=L/14,E=C||(o=>`${o/K*m}rem`),n=(o,c,b,D,T)=>(0,r.A)({fontFamily:M,fontWeight:o,fontSize:E(c),lineHeight:b},M===l?{letterSpacing:`${u(D/c)}em`}:{},T,f),s={h1:n(P,96,1.167,-1.5),h2:n(P,60,1.2,-.5),h3:n(x,48,1.167,0),h4:n(x,34,1.235,.25),h5:n(x,24,1.334,0),h6:n(R,20,1.6,.15),subtitle1:n(x,16,1.75,.15),subtitle2:n(R,14,1.57,.1),body1:n(x,16,1.5,.15),body2:n(x,14,1.43,.15),button:n(R,14,1.75,.4,d),caption:n(x,12,1.66,.4),overline:n(x,12,2.66,1,d),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,v.A)((0,r.A)({htmlFontSize:K,pxToRem:E,fontFamily:M,fontSize:L,fontWeightLight:P,fontWeightRegular:x,fontWeightMedium:R,fontWeightBold:B},s),g,{clone:!1})}},40007:(F,A,t)=>{t.d(A,{A:()=>v});var r=t(43718);const v=(0,r.A)()},92066:(F,A,t)=>{t.d(A,{A:()=>r});const r="$$material"},46186:(F,A,t)=>{t.d(A,{Ay:()=>l,_n:()=>u,ep:()=>h});var r=t(29239),i=t(40007),v=t(92066);const h=p=>(0,r.MC)(p)&&p!=="classes",u=r.MC,l=(0,r.Ay)({themeId:v.A,defaultTheme:i.A,rootShouldForwardProp:h})},48399:(F,A,t)=>{t.d(A,{A:()=>h});var r=t(77181),i=t(40007),v=t(92066);function h({props:u,name:d}){return(0,r.A)({props:u,name:d,defaultTheme:i.A,themeId:v.A})}},10016:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(62917);const i=r.A},35131:(F,A,t)=>{t.d(A,{A:()=>d});var r=t(58168),i=t(28437),v=t.n(i),h=t(42557),u=t(64922);function d(l,p){function _(y,k){return(0,u.jsx)(h.A,(0,r.A)({"data-testid":`${p}Icon`,ref:k},y,{children:l}))}return _.muiName=h.A.muiName,i.memo(i.forwardRef(_))}},87085:(F,A,t)=>{t.d(A,{Ay:()=>f,q_:()=>C});var r=t(58168),i=t(28437),v=t(32927),h=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,u=(0,v.A)(function(g){return h.test(g)||g.charCodeAt(0)===111&&g.charCodeAt(1)===110&&g.charCodeAt(2)<91}),d=t(58871),l=t(5555),p=t(10438),_=t(3673),y=u,k=function(m){return m!=="theme"},M=function(m){return typeof m=="string"&&m.charCodeAt(0)>96?y:k},L=function(m,E,n){var s;if(E){var o=E.shouldForwardProp;s=m.__emotion_forwardProp&&o?function(c){return m.__emotion_forwardProp(c)&&o(c)}:o}return typeof s!="function"&&n&&(s=m.__emotion_forwardProp),s},P=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,x=function(m){var E=m.cache,n=m.serialized,s=m.isStringTag;return(0,c.SF)(E,n,s),(0,_.s)(function(){return(0,c.sk)(E,n,s)}),null},R=function g(m,E){var n=m.__emotion_real===m,s=n&&m.__emotion_base||m,o,l;E!==void 0&&(o=E.label,l=E.target);var b=L(m,E,n),w=b||M(s),T=!w("as");return function(){var O=arguments,W=n&&m.__emotion_styles!==void 0?m.__emotion_styles.slice(0):[];if(o!==void 0&&W.push("label:"+o+";"),O[0]==null||O[0].raw===void 0)W.push.apply(W,O);else{W.push(O[0][0]);for(var U=O.length,J=1;J{Array.isArray(g.__emotion_styles)&&(g.__emotion_styles=m(g.__emotion_styles))}},32914:(F,A,t)=>{t.d(A,{EU:()=>p,NI:()=>u,iZ:()=>y,kW:()=>M,vf:()=>_,zu:()=>h});var r=t(95973),i=t.n(r),v=t(53107);const h={xs:0,sm:600,md:900,lg:1200,xl:1536},d={keys:["xs","sm","md","lg","xl"],up:P=>`@media (min-width:${h[P]}px)`};function u(P,x,R){const B=P.theme||{};if(Array.isArray(x)){const f=B.breakpoints||d;return x.reduce((C,g,m)=>(C[f.up(f.keys[m])]=R(x[m]),C),{})}if(typeof x=="object"){const f=B.breakpoints||d;return Object.keys(x).reduce((C,g)=>{if(Object.keys(f.values||h).indexOf(g)!==-1){const m=f.up(g);C[m]=R(x[g],g)}else{const m=g;C[m]=x[m]}return C},{})}return R(x)}function c(P){const x=R=>{const B=R.theme||{},K=P(R),f=B.breakpoints||d,C=f.keys.reduce((g,m)=>(R[m]&&(g=g||{},g[f.up(m)]=P(_extends({theme:B},R[m]))),g),null);return merge(K,C)};return x.propTypes={},x.filterProps=["xs","sm","md","lg","xl",...P.filterProps],x}function p(P={}){var x;return((x=P.keys)==null?void 0:x.reduce((B,K)=>{const f=P.up(K);return B[f]={},B},{}))||{}}function _(P,x){return P.reduce((R,B)=>{const K=R[B];return(!K||Object.keys(K).length===0)&&delete R[B],R},x)}function y(P,...x){const R=p(P),B=[R,...x].reduce((K,f)=>(0,v.A)(K,f),{});return _(Object.keys(R),B)}function k(P,x){if(typeof P!="object")return{};const R={},B=Object.keys(x);return Array.isArray(P)?B.forEach((K,f)=>{f{P[K]!=null&&(R[K]=!0)}),R}function M({values:P,breakpoints:x,base:R}){const B=R||k(P,x),K=Object.keys(B);if(K.length===0)return P;let f;return K.reduce((C,g,m)=>(Array.isArray(P)?(C[g]=P[m]!=null?P[m]:P[f],f=m):typeof P=="object"?(C[g]=P[g]!=null?P[g]:P[f],f=g):C[g]=P,C),{})}var L=null},42118:(F,A,t)=>{t.d(A,{X4:()=>x,e$:()=>B,rP:()=>c,tL:()=>g,eM:()=>P,J1:()=>L,E2:()=>d,YL:()=>M,a:()=>f,Cg:()=>R,Me:()=>_,Nd:()=>K,Y9:()=>m,j4:()=>C,X0:()=>y,Ob:()=>k});var r=t(22571);function i(n,s=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(s,Math.min(n,o))}const v=i;function h(n,s=0,o=1){return v(n,s,o)}function d(n){n=n.slice(1);const s=new RegExp(`.{1,${n.length>=6?2:1}}`,"g");let o=n.match(s);return o&&o[0].length===1&&(o=o.map(l=>l+l)),o?`rgb${o.length===4?"a":""}(${o.map((l,b)=>b<3?parseInt(l,16):Math.round(parseInt(l,16)/255*1e3)/1e3).join(", ")})`:""}function u(n){const s=n.toString(16);return s.length===1?`0${s}`:s}function c(n){if(n.type)return n;if(n.charAt(0)==="#")return c(d(n));const s=n.indexOf("("),o=n.substring(0,s);if(["rgb","rgba","hsl","hsla","color"].indexOf(o)===-1)throw new Error((0,r.A)(9,n));let l=n.substring(s+1,n.length-1),b;if(o==="color"){if(l=l.split(" "),b=l.shift(),l.length===4&&l[3].charAt(0)==="/"&&(l[3]=l[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(b)===-1)throw new Error((0,r.A)(10,b))}else l=l.split(",");return l=l.map(w=>parseFloat(w)),{type:o,values:l,colorSpace:b}}const p=n=>{const s=c(n);return s.values.slice(0,3).map((o,l)=>s.type.indexOf("hsl")!==-1&&l!==0?`${o}%`:o).join(" ")},_=(n,s)=>{try{return p(n)}catch(o){return n}};function y(n){const{type:s,colorSpace:o}=n;let{values:l}=n;return s.indexOf("rgb")!==-1?l=l.map((b,w)=>w<3?parseInt(b,10):b):s.indexOf("hsl")!==-1&&(l[1]=`${l[1]}%`,l[2]=`${l[2]}%`),s.indexOf("color")!==-1?l=`${o} ${l.join(" ")}`:l=`${l.join(", ")}`,`${s}(${l})`}function k(n){if(n.indexOf("#")===0)return n;const{values:s}=c(n);return`#${s.map((o,l)=>u(l===3?Math.round(255*o):o)).join("")}`}function M(n){n=c(n);const{values:s}=n,o=s[0],l=s[1]/100,b=s[2]/100,w=l*Math.min(b,1-b),T=(U,J=(U+o/30)%12)=>b-w*Math.max(Math.min(J-3,9-J,1),-1);let O="rgb";const W=[Math.round(T(0)*255),Math.round(T(8)*255),Math.round(T(4)*255)];return n.type==="hsla"&&(O+="a",W.push(s[3])),y({type:O,values:W})}function L(n){n=c(n);let s=n.type==="hsl"||n.type==="hsla"?c(M(n)).values:n.values;return s=s.map(o=>(n.type!=="color"&&(o/=255),o<=.03928?o/12.92:ke((o+.055)/1.055,2.4))),Number((.2126*s[0]+.7152*s[1]+.0722*s[2]).toFixed(3))}function P(n,s){const o=L(n),l=L(s);return(Math.max(o,l)+.05)/(Math.min(o,l)+.05)}function x(n,s){return n=c(n),s=h(s),(n.type==="rgb"||n.type==="hsl")&&(n.type+="a"),n.type==="color"?n.values[3]=`/${s}`:n.values[3]=s,y(n)}function R(n,s,o){try{return x(n,s)}catch(l){return n}}function B(n,s){if(n=c(n),s=h(s),n.type.indexOf("hsl")!==-1)n.values[2]*=1-s;else if(n.type.indexOf("rgb")!==-1||n.type.indexOf("color")!==-1)for(let o=0;o<3;o+=1)n.values[o]*=1-s;return y(n)}function K(n,s,o){try{return B(n,s)}catch(l){return n}}function f(n,s){if(n=c(n),s=h(s),n.type.indexOf("hsl")!==-1)n.values[2]+=(100-n.values[2])*s;else if(n.type.indexOf("rgb")!==-1)for(let o=0;o<3;o+=1)n.values[o]+=(255-n.values[o])*s;else if(n.type.indexOf("color")!==-1)for(let o=0;o<3;o+=1)n.values[o]+=(1-n.values[o])*s;return y(n)}function C(n,s,o){try{return f(n,s)}catch(l){return n}}function g(n,s=.15){return L(n)>.5?B(n,s):f(n,s)}function m(n,s,o){try{return g(n,s)}catch(l){return n}}function E(n,s,o,l=1){const b=(W,U)=>Math.round(ke(ke(W,1/l)*(1-o)+ke(U,1/l)*o,l)),w=c(n),T=c(s),O=[b(w.values[0],T.values[0]),b(w.values[1],T.values[1]),b(w.values[2],T.values[2])];return y({type:"rgb",values:O})}},29239:(F,A,t)=>{t.d(A,{Ay:()=>K,MC:()=>M});var r=t(58168),i=t(98587),v=t(87085),h=t(53107),d=t(221),u=t(22885);const c=["ownerState"],p=["variants"],_=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function y(f){return Object.keys(f).length===0}function k(f){return typeof f=="string"&&f.charCodeAt(0)>96}function M(f){return f!=="ownerState"&&f!=="theme"&&f!=="sx"&&f!=="as"}const L=(0,d.A)(),P=f=>f&&f.charAt(0).toLowerCase()+f.slice(1);function x({defaultTheme:f,theme:C,themeId:g}){return y(C)?f:C[g]||C}function R(f){return f?(C,g)=>g[f]:null}function B(f,C){let{ownerState:g}=C,m=(0,i.A)(C,c);const E=typeof f=="function"?f((0,r.A)({ownerState:g},m)):f;if(Array.isArray(E))return E.flatMap(n=>B(n,(0,r.A)({ownerState:g},m)));if(E&&typeof E=="object"&&Array.isArray(E.variants)){const{variants:n=[]}=E;let o=(0,i.A)(E,p);return n.forEach(l=>{let b=!0;typeof l.props=="function"?b=l.props((0,r.A)({ownerState:g},m,g)):Object.keys(l.props).forEach(w=>{(g==null?void 0:g[w])!==l.props[w]&&m[w]!==l.props[w]&&(b=!1)}),b&&(Array.isArray(o)||(o=[o]),o.push(typeof l.style=="function"?l.style((0,r.A)({ownerState:g},m,g)):l.style))}),o}return E}function K(f={}){const{themeId:C,defaultTheme:g=L,rootShouldForwardProp:m=M,slotShouldForwardProp:E=M}=f,n=s=>(0,u.A)((0,r.A)({},s,{theme:x((0,r.A)({},s,{defaultTheme:g,themeId:C}))}));return n.__mui_systemSx=!0,(s,o={})=>{(0,v.q_)(s,Q=>Q.filter(le=>!(le!=null&&le.__mui_systemSx)));const{name:l,slot:b,skipVariantsResolver:w,skipSx:T,overridesResolver:O=R(P(b))}=o,W=(0,i.A)(o,_),U=w!==void 0?w:b&&b!=="Root"&&b!=="root"||!1,J=T||!1;let X,Y=M;b==="Root"||b==="root"?Y=m:b?Y=E:k(s)&&(Y=void 0);const fe=(0,v.Ay)(s,(0,r.A)({shouldForwardProp:Y,label:X},W)),de=Q=>typeof Q=="function"&&Q.__emotion_real!==Q||(0,h.Q)(Q)?le=>B(Q,(0,r.A)({},le,{theme:x({theme:le.theme,defaultTheme:g,themeId:C})})):Q,ye=(Q,...le)=>{let _e=de(Q);const V=le?le.map(de):[];l&&O&&V.push(Z=>{const H=x((0,r.A)({},Z,{defaultTheme:g,themeId:C}));if(!H.components||!H.components[l]||!H.components[l].styleOverrides)return null;const ue=H.components[l].styleOverrides,Ae={};return Object.entries(ue).forEach(([Pe,Te])=>{Ae[Pe]=B(Te,(0,r.A)({},Z,{theme:H}))}),O(Z,Ae)}),l&&!U&&V.push(Z=>{var H;const ue=x((0,r.A)({},Z,{defaultTheme:g,themeId:C})),Ae=ue==null||(H=ue.components)==null||(H=H[l])==null?void 0:H.variants;return B({variants:Ae},(0,r.A)({},Z,{theme:ue}))}),J||V.push(n);const I=V.length-le.length;if(Array.isArray(Q)&&I>0){const Z=new Array(I).fill("");_e=[...Q,...Z],_e.raw=[...Q.raw,...Z]}const z=fe(_e,...V);return s.muiName&&(z.muiName=s.muiName),z};return fe.withConfig&&(ye.withConfig=fe.withConfig),ye}}},62024:(F,A,t)=>{t.d(A,{A:()=>u});var r=t(98587),i=t(58168);const v=["values","unit","step"],h=null,d=c=>{const p=Object.keys(c).map(_=>({key:_,val:c[_]}))||[];return p.sort((_,y)=>_.val-y.val),p.reduce((_,y)=>(0,i.A)({},_,{[y.key]:y.val}),{})};function u(c){const{values:p={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:_="px",step:y=5}=c,k=(0,r.A)(c,v),M=d(p),L=Object.keys(M);function P(f){return`@media (min-width:${typeof p[f]=="number"?p[f]:f}${_})`}function x(f){return`@media (max-width:${(typeof p[f]=="number"?p[f]:f)-y/100}${_})`}function R(f,C){const g=L.indexOf(C);return`@media (min-width:${typeof p[f]=="number"?p[f]:f}${_}) and (max-width:${(g!==-1&&typeof p[L[g]]=="number"?p[L[g]]:C)-y/100}${_})`}function B(f){return L.indexOf(f)+1{t.d(A,{A:()=>i});var r=t(55414);function i(v=8){if(v.mui)return v;const h=(0,r.LX)({spacing:v}),d=(...u)=>(u.length===0?[1]:u).map(p=>{const _=h(p);return typeof _=="number"?`${_}px`:_}).join(" ");return d.mui=!0,d}},221:(F,A,t)=>{t.d(A,{A:()=>L});var r=t(58168),i=t(98587),v=t(53107),h=t(62024);const u={borderRadius:4};var c=t(90093),p=t(22885),_=t(61728);function y(P,x){const R=this;return R.vars&&typeof R.getColorSchemeSelector=="function"?{[R.getColorSchemeSelector(P).replace(/(\[[^\]]+\])/,"*:where($1)")]:x}:R.palette.mode===P?x:{}}const k=["breakpoints","palette","spacing","shape"];function M(P={},...x){const{breakpoints:R={},palette:B={},spacing:K,shape:f={}}=P,C=(0,i.A)(P,k),g=(0,h.A)(R),m=(0,c.A)(K);let E=(0,v.A)({breakpoints:g,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},B),spacing:m,shape:(0,r.A)({},u,f)},C);return E.applyStyles=y,E=x.reduce((n,s)=>(0,v.A)(n,s),E),E.unstable_sxConfig=(0,r.A)({},_.A,C==null?void 0:C.unstable_sxConfig),E.unstable_sx=function(s){return(0,p.A)({sx:s,theme:this})},E}const L=M},79410:(F,A,t)=>{t.d(A,{A:()=>v});var r=t(53107);function i(h,d){return d?(0,r.A)(h,d,{clone:!1}):h}const v=i},55414:(F,A,t)=>{t.d(A,{LX:()=>L,MA:()=>M,_W:()=>P,Lc:()=>K,Ms:()=>f});var r=t(32914),i=t(94027),v=t(79410);function h(m){const E={};return n=>(E[n]===void 0&&(E[n]=m(n)),E[n])}const d={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},p=h(m=>{if(m.length>2)if(c[m])m=c[m];else return[m];const[E,n]=m.split(""),s=d[E],o=u[n]||"";return Array.isArray(o)?o.map(l=>s+l):[s+o]}),_=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],y=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],k=[..._,...y];function M(m,E,n,s){var o;const l=(o=(0,i.Yn)(m,E,!1))!=null?o:n;return typeof l=="number"?b=>typeof b=="string"?b:l*b:Array.isArray(l)?b=>typeof b=="string"?b:l[b]:typeof l=="function"?l:()=>{}}function L(m){return M(m,"spacing",8,"spacing")}function P(m,E){if(typeof E=="string"||E==null)return E;const n=Math.abs(E),s=m(n);return E>=0?s:typeof s=="number"?-s:`-${s}`}function x(m,E){return n=>m.reduce((s,o)=>(s[o]=P(E,n),s),{})}function R(m,E,n,s){if(E.indexOf(n)===-1)return null;const o=p(n),l=x(o,s),b=m[n];return(0,r.NI)(m,b,l)}function B(m,E){const n=L(m.theme);return Object.keys(m).map(s=>R(m,E,s,n)).reduce(v.A,{})}function K(m){return B(m,_)}K.propTypes={},K.filterProps=_;function f(m){return B(m,y)}f.propTypes={},f.filterProps=y;function C(m){return B(m,k)}C.propTypes={},C.filterProps=k;const g=null},94027:(F,A,t)=>{t.d(A,{Ay:()=>u,BO:()=>h,Yn:()=>v});var r=t(62917),i=t(32914);function v(c,p,_=!0){if(!p||typeof p!="string")return null;if(c&&c.vars&&_){const y=`vars.${p}`.split(".").reduce((k,M)=>k&&k[M]?k[M]:null,c);if(y!=null)return y}return p.split(".").reduce((y,k)=>y&&y[k]!=null?y[k]:null,c)}function h(c,p,_,y=_){let k;return typeof c=="function"?k=c(_):Array.isArray(c)?k=c[_]||y:k=v(c,_)||y,p&&(k=p(k,y,c)),k}function d(c){const{prop:p,cssProperty:_=c.prop,themeKey:y,transform:k}=c,M=L=>{if(L[p]==null)return null;const P=L[p],x=L.theme,R=v(x,y)||{},B=K=>{let f=h(R,k,K);return K===f&&typeof K=="string"&&(f=h(R,k,`${p}${K==="default"?"":(0,r.A)(K)}`,K)),_===!1?f:{[_]:f}};return(0,i.NI)(L,P,B)};return M.propTypes={},M.filterProps=[p],M}const u=d},61728:(F,A,t)=>{t.d(A,{A:()=>Ie});var r=t(55414),i=t(94027),v=t(79410);function h(...j){const G=j.reduce((q,se)=>(se.filterProps.forEach(be=>{q[be]=se}),q),{}),re=q=>Object.keys(q).reduce((se,be)=>G[be]?(0,v.A)(se,G[be](q)):se,{});return re.propTypes={},re.filterProps=j.reduce((q,se)=>q.concat(se.filterProps),[]),re}const d=h;var u=t(32914);function c(j){return typeof j!="number"?j:`${j}px solid`}function p(j,G){return(0,i.Ay)({prop:j,themeKey:"borders",transform:G})}const _=p("border",c),y=p("borderTop",c),k=p("borderRight",c),M=p("borderBottom",c),L=p("borderLeft",c),P=p("borderColor"),x=p("borderTopColor"),R=p("borderRightColor"),B=p("borderBottomColor"),K=p("borderLeftColor"),f=p("outline",c),C=p("outlineColor"),g=j=>{if(j.borderRadius!==void 0&&j.borderRadius!==null){const G=(0,r.MA)(j.theme,"shape.borderRadius",4,"borderRadius"),re=q=>({borderRadius:(0,r._W)(G,q)});return(0,u.NI)(j,j.borderRadius,re)}return null};g.propTypes={},g.filterProps=["borderRadius"];const m=d(_,y,k,M,L,P,x,R,B,K,g,f,C),E=null,n=j=>{if(j.gap!==void 0&&j.gap!==null){const G=(0,r.MA)(j.theme,"spacing",8,"gap"),re=q=>({gap:(0,r._W)(G,q)});return(0,u.NI)(j,j.gap,re)}return null};n.propTypes={},n.filterProps=["gap"];const s=j=>{if(j.columnGap!==void 0&&j.columnGap!==null){const G=(0,r.MA)(j.theme,"spacing",8,"columnGap"),re=q=>({columnGap:(0,r._W)(G,q)});return(0,u.NI)(j,j.columnGap,re)}return null};s.propTypes={},s.filterProps=["columnGap"];const o=j=>{if(j.rowGap!==void 0&&j.rowGap!==null){const G=(0,r.MA)(j.theme,"spacing",8,"rowGap"),re=q=>({rowGap:(0,r._W)(G,q)});return(0,u.NI)(j,j.rowGap,re)}return null};o.propTypes={},o.filterProps=["rowGap"];const l=(0,i.Ay)({prop:"gridColumn"}),b=(0,i.Ay)({prop:"gridRow"}),w=(0,i.Ay)({prop:"gridAutoFlow"}),T=(0,i.Ay)({prop:"gridAutoColumns"}),O=(0,i.Ay)({prop:"gridAutoRows"}),W=(0,i.Ay)({prop:"gridTemplateColumns"}),U=(0,i.Ay)({prop:"gridTemplateRows"}),J=(0,i.Ay)({prop:"gridTemplateAreas"}),X=(0,i.Ay)({prop:"gridArea"}),Y=d(n,s,o,l,b,w,T,O,W,U,J,X),fe=null;function de(j,G){return G==="grey"?G:j}const ye=(0,i.Ay)({prop:"color",themeKey:"palette",transform:de}),Q=(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:de}),le=(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:de}),_e=d(ye,Q,le),V=null;function I(j){return j<=1&&j!==0?`${j*100}%`:j}const z=(0,i.Ay)({prop:"width",transform:I}),Z=j=>{if(j.maxWidth!==void 0&&j.maxWidth!==null){const G=re=>{var q,se;const be=((q=j.theme)==null||(q=q.breakpoints)==null||(q=q.values)==null?void 0:q[re])||u.zu[re];return be?((se=j.theme)==null||(se=se.breakpoints)==null?void 0:se.unit)!=="px"?{maxWidth:`${be}${j.theme.breakpoints.unit}`}:{maxWidth:be}:{maxWidth:I(re)}};return(0,u.NI)(j,j.maxWidth,G)}return null};Z.filterProps=["maxWidth"];const H=(0,i.Ay)({prop:"minWidth",transform:I}),ue=(0,i.Ay)({prop:"height",transform:I}),Ae=(0,i.Ay)({prop:"maxHeight",transform:I}),Pe=(0,i.Ay)({prop:"minHeight",transform:I}),Te=(0,i.Ay)({prop:"size",cssProperty:"width",transform:I}),we=(0,i.Ay)({prop:"size",cssProperty:"height",transform:I}),Ee=(0,i.Ay)({prop:"boxSizing"}),Le=d(z,Z,H,ue,Ae,Pe,Ee),Me=null,Ie={border:{themeKey:"borders",transform:c},borderTop:{themeKey:"borders",transform:c},borderRight:{themeKey:"borders",transform:c},borderBottom:{themeKey:"borders",transform:c},borderLeft:{themeKey:"borders",transform:c},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:c},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:g},color:{themeKey:"palette",transform:de},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:de},backgroundColor:{themeKey:"palette",transform:de},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:j=>({"@media print":{display:j}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:n},rowGap:{style:o},columnGap:{style:s},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:I},maxWidth:{style:Z},minWidth:{transform:I},height:{transform:I},maxHeight:{transform:I},minHeight:{transform:I},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},22885:(F,A,t)=>{t.d(A,{A:()=>y});var r=t(62917),i=t(79410),v=t(94027),h=t(32914),d=t(61728);function u(...k){const M=k.reduce((P,x)=>P.concat(Object.keys(x)),[]),L=new Set(M);return k.every(P=>L.size===Object.keys(P).length)}function c(k,M){return typeof k=="function"?k(M):k}function p(){function k(L,P,x,R){const B={[L]:P,theme:x},K=R[L];if(!K)return{[L]:P};const{cssProperty:f=L,themeKey:C,transform:g,style:m}=K;if(P==null)return null;if(C==="typography"&&P==="inherit")return{[L]:P};const E=(0,v.Yn)(x,C)||{};if(m)return m(B);const n=s=>{let o=(0,v.BO)(E,g,s);return s===o&&typeof s=="string"&&(o=(0,v.BO)(E,g,`${L}${s==="default"?"":(0,r.A)(s)}`,s)),f===!1?o:{[f]:o}};return(0,h.NI)(B,P,n)}function M(L){var P;const{sx:x,theme:R={}}=L||{};if(!x)return null;const B=(P=R.unstable_sxConfig)!=null?P:d.A;function K(f){let C=f;if(typeof f=="function")C=f(R);else if(typeof f!="object")return f;if(!C)return null;const g=(0,h.EU)(R.breakpoints),m=Object.keys(g);let E=g;return Object.keys(C).forEach(n=>{const s=c(C[n],R);if(s!=null)if(typeof s=="object")if(B[n])E=(0,i.A)(E,k(n,s,R,B));else{const o=(0,h.NI)({theme:R},s,l=>({[n]:l}));u(o,s)?E[n]=M({sx:s,theme:R}):E=(0,i.A)(E,o)}else E=(0,i.A)(E,k(n,s,R,B))}),(0,h.vf)(m,E)}return Array.isArray(x)?x.map(K):K(x)}return M}const _=p();_.filterProps=["sx"];const y=_},86568:(F,A,t)=>{t.d(A,{A:()=>d});var r=t(221),i=t(67193);const v=(0,r.A)();function h(u=v){return(0,i.A)(u)}const d=h},67910:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(11289);function i(v){const{theme:h,name:d,props:u}=v;return!h||!h.components||!h.components[d]||!h.components[d].defaultProps?u:(0,r.A)(h.components[d].defaultProps,u)}},77181:(F,A,t)=>{t.d(A,{A:()=>v});var r=t(67910),i=t(86568);function v({props:h,name:d,defaultTheme:u,themeId:c}){let p=(0,i.A)(u);return c&&(p=p[c]||p),(0,r.A)({theme:p,name:d,props:h})}},67193:(F,A,t)=>{t.d(A,{A:()=>u});var r=t(28437),i=t.n(r),v=t(58871);function h(c){return Object.keys(c).length===0}function d(c=null){const p=r.useContext(v.T);return!p||h(p)?c:p}const u=d},59661:(F,A,t)=>{t.d(A,{A:()=>h});const r=d=>d,h=(()=>{let d=r;return{configure(u){d=u},generate(u){return d(u)},reset(){d=r}}})()},62917:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(22571);function i(v){if(typeof v!="string")throw new Error((0,r.A)(7));return v.charAt(0).toUpperCase()+v.slice(1)}},86249:(F,A,t)=>{t.d(A,{A:()=>r});function r(i,v,h=void 0){const d={};return Object.keys(i).forEach(u=>{d[u]=i[u].reduce((c,p)=>{if(p){const _=v(p);_!==""&&c.push(_),h&&h[p]&&c.push(h[p])}return c},[]).join(" ")}),d}},53107:(F,A,t)=>{t.d(A,{A:()=>h,Q:()=>i});var r=t(58168);function i(d){if(typeof d!="object"||d===null)return!1;const u=Object.getPrototypeOf(d);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(Symbol.toStringTag in d)&&!(Symbol.iterator in d)}function v(d){if(!i(d))return d;const u={};return Object.keys(d).forEach(c=>{u[c]=v(d[c])}),u}function h(d,u,c={clone:!0}){const p=c.clone?(0,r.A)({},d):d;return i(d)&&i(u)&&Object.keys(u).forEach(_=>{_!=="__proto__"&&(i(u[_])&&_ in d&&i(d[_])?p[_]=h(d[_],u[_],c):c.clone?p[_]=i(u[_])?v(u[_]):u[_]:p[_]=u[_])}),p}},22571:(F,A,t)=>{t.d(A,{A:()=>r});function r(i){let v="https://mui.com/production-error/?code="+i;for(let h=1;h{t.d(A,{Ay:()=>v});var r=t(59661);const i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function v(d,u,c="Mui"){const p=i[u];return p?`${c}-${p}`:`${r.A.generate(d)}-${u}`}function h(d){return i[d]!==void 0}},95227:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(35583);function i(v,h,d="Mui"){const u={};return h.forEach(c=>{u[c]=(0,r.Ay)(v,c,d)}),u}},11289:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(58168);function i(v,h){const d=(0,r.A)({},h);return Object.keys(v).forEach(u=>{if(u.toString().match(/^(components|slots)$/))d[u]=(0,r.A)({},v[u],d[u]);else if(u.toString().match(/^(componentsProps|slotProps)$/)){const c=v[u]||{},p=h[u];d[u]={},!p||!Object.keys(p)?d[u]=c:!c||!Object.keys(c)?d[u]=p:(d[u]=(0,r.A)({},p),Object.keys(c).forEach(_=>{d[u][_]=i(c[_],p[_])}))}else d[u]===void 0&&(d[u]=v[u])}),d}},13394:(F,A,t)=>{/** + */function f(g,m){return K(g,m)}const C=(g,m)=>{Array.isArray(g.__emotion_styles)&&(g.__emotion_styles=m(g.__emotion_styles))}},32914:(F,A,t)=>{t.d(A,{EU:()=>p,NI:()=>d,iZ:()=>y,kW:()=>M,vf:()=>_,zu:()=>h});var r=t(95973),i=t.n(r),v=t(53107);const h={xs:0,sm:600,md:900,lg:1200,xl:1536},u={keys:["xs","sm","md","lg","xl"],up:P=>`@media (min-width:${h[P]}px)`};function d(P,x,R){const B=P.theme||{};if(Array.isArray(x)){const f=B.breakpoints||u;return x.reduce((C,g,m)=>(C[f.up(f.keys[m])]=R(x[m]),C),{})}if(typeof x=="object"){const f=B.breakpoints||u;return Object.keys(x).reduce((C,g)=>{if(Object.keys(f.values||h).indexOf(g)!==-1){const m=f.up(g);C[m]=R(x[g],g)}else{const m=g;C[m]=x[m]}return C},{})}return R(x)}function l(P){const x=R=>{const B=R.theme||{},K=P(R),f=B.breakpoints||u,C=f.keys.reduce((g,m)=>(R[m]&&(g=g||{},g[f.up(m)]=P(_extends({theme:B},R[m]))),g),null);return merge(K,C)};return x.propTypes={},x.filterProps=["xs","sm","md","lg","xl",...P.filterProps],x}function p(P={}){var x;return((x=P.keys)==null?void 0:x.reduce((B,K)=>{const f=P.up(K);return B[f]={},B},{}))||{}}function _(P,x){return P.reduce((R,B)=>{const K=R[B];return(!K||Object.keys(K).length===0)&&delete R[B],R},x)}function y(P,...x){const R=p(P),B=[R,...x].reduce((K,f)=>(0,v.A)(K,f),{});return _(Object.keys(R),B)}function k(P,x){if(typeof P!="object")return{};const R={},B=Object.keys(x);return Array.isArray(P)?B.forEach((K,f)=>{f{P[K]!=null&&(R[K]=!0)}),R}function M({values:P,breakpoints:x,base:R}){const B=R||k(P,x),K=Object.keys(B);if(K.length===0)return P;let f;return K.reduce((C,g,m)=>(Array.isArray(P)?(C[g]=P[m]!=null?P[m]:P[f],f=m):typeof P=="object"?(C[g]=P[g]!=null?P[g]:P[f],f=g):C[g]=P,C),{})}var L=null},42118:(F,A,t)=>{t.d(A,{X4:()=>x,e$:()=>B,rP:()=>l,tL:()=>g,eM:()=>P,J1:()=>L,E2:()=>u,YL:()=>M,a:()=>f,Cg:()=>R,Me:()=>_,Nd:()=>K,Y9:()=>m,j4:()=>C,X0:()=>y,Ob:()=>k});var r=t(22571);function i(n,s=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(s,Math.min(n,o))}const v=i;function h(n,s=0,o=1){return v(n,s,o)}function u(n){n=n.slice(1);const s=new RegExp(`.{1,${n.length>=6?2:1}}`,"g");let o=n.match(s);return o&&o[0].length===1&&(o=o.map(c=>c+c)),o?`rgb${o.length===4?"a":""}(${o.map((c,b)=>b<3?parseInt(c,16):Math.round(parseInt(c,16)/255*1e3)/1e3).join(", ")})`:""}function d(n){const s=n.toString(16);return s.length===1?`0${s}`:s}function l(n){if(n.type)return n;if(n.charAt(0)==="#")return l(u(n));const s=n.indexOf("("),o=n.substring(0,s);if(["rgb","rgba","hsl","hsla","color"].indexOf(o)===-1)throw new Error((0,r.A)(9,n));let c=n.substring(s+1,n.length-1),b;if(o==="color"){if(c=c.split(" "),b=c.shift(),c.length===4&&c[3].charAt(0)==="/"&&(c[3]=c[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(b)===-1)throw new Error((0,r.A)(10,b))}else c=c.split(",");return c=c.map(D=>parseFloat(D)),{type:o,values:c,colorSpace:b}}const p=n=>{const s=l(n);return s.values.slice(0,3).map((o,c)=>s.type.indexOf("hsl")!==-1&&c!==0?`${o}%`:o).join(" ")},_=(n,s)=>{try{return p(n)}catch(o){return n}};function y(n){const{type:s,colorSpace:o}=n;let{values:c}=n;return s.indexOf("rgb")!==-1?c=c.map((b,D)=>D<3?parseInt(b,10):b):s.indexOf("hsl")!==-1&&(c[1]=`${c[1]}%`,c[2]=`${c[2]}%`),s.indexOf("color")!==-1?c=`${o} ${c.join(" ")}`:c=`${c.join(", ")}`,`${s}(${c})`}function k(n){if(n.indexOf("#")===0)return n;const{values:s}=l(n);return`#${s.map((o,c)=>d(c===3?Math.round(255*o):o)).join("")}`}function M(n){n=l(n);const{values:s}=n,o=s[0],c=s[1]/100,b=s[2]/100,D=c*Math.min(b,1-b),T=(U,J=(U+o/30)%12)=>b-D*Math.max(Math.min(J-3,9-J,1),-1);let O="rgb";const W=[Math.round(T(0)*255),Math.round(T(8)*255),Math.round(T(4)*255)];return n.type==="hsla"&&(O+="a",W.push(s[3])),y({type:O,values:W})}function L(n){n=l(n);let s=n.type==="hsl"||n.type==="hsla"?l(M(n)).values:n.values;return s=s.map(o=>(n.type!=="color"&&(o/=255),o<=.03928?o/12.92:ke((o+.055)/1.055,2.4))),Number((.2126*s[0]+.7152*s[1]+.0722*s[2]).toFixed(3))}function P(n,s){const o=L(n),c=L(s);return(Math.max(o,c)+.05)/(Math.min(o,c)+.05)}function x(n,s){return n=l(n),s=h(s),(n.type==="rgb"||n.type==="hsl")&&(n.type+="a"),n.type==="color"?n.values[3]=`/${s}`:n.values[3]=s,y(n)}function R(n,s,o){try{return x(n,s)}catch(c){return n}}function B(n,s){if(n=l(n),s=h(s),n.type.indexOf("hsl")!==-1)n.values[2]*=1-s;else if(n.type.indexOf("rgb")!==-1||n.type.indexOf("color")!==-1)for(let o=0;o<3;o+=1)n.values[o]*=1-s;return y(n)}function K(n,s,o){try{return B(n,s)}catch(c){return n}}function f(n,s){if(n=l(n),s=h(s),n.type.indexOf("hsl")!==-1)n.values[2]+=(100-n.values[2])*s;else if(n.type.indexOf("rgb")!==-1)for(let o=0;o<3;o+=1)n.values[o]+=(255-n.values[o])*s;else if(n.type.indexOf("color")!==-1)for(let o=0;o<3;o+=1)n.values[o]+=(1-n.values[o])*s;return y(n)}function C(n,s,o){try{return f(n,s)}catch(c){return n}}function g(n,s=.15){return L(n)>.5?B(n,s):f(n,s)}function m(n,s,o){try{return g(n,s)}catch(c){return n}}function E(n,s,o,c=1){const b=(W,U)=>Math.round(ke(ke(W,1/c)*(1-o)+ke(U,1/c)*o,c)),D=l(n),T=l(s),O=[b(D.values[0],T.values[0]),b(D.values[1],T.values[1]),b(D.values[2],T.values[2])];return y({type:"rgb",values:O})}},29239:(F,A,t)=>{t.d(A,{Ay:()=>K,MC:()=>M});var r=t(58168),i=t(98587),v=t(87085),h=t(53107),u=t(221),d=t(22885);const l=["ownerState"],p=["variants"],_=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function y(f){return Object.keys(f).length===0}function k(f){return typeof f=="string"&&f.charCodeAt(0)>96}function M(f){return f!=="ownerState"&&f!=="theme"&&f!=="sx"&&f!=="as"}const L=(0,u.A)(),P=f=>f&&f.charAt(0).toLowerCase()+f.slice(1);function x({defaultTheme:f,theme:C,themeId:g}){return y(C)?f:C[g]||C}function R(f){return f?(C,g)=>g[f]:null}function B(f,C){let{ownerState:g}=C,m=(0,i.A)(C,l);const E=typeof f=="function"?f((0,r.A)({ownerState:g},m)):f;if(Array.isArray(E))return E.flatMap(n=>B(n,(0,r.A)({ownerState:g},m)));if(E&&typeof E=="object"&&Array.isArray(E.variants)){const{variants:n=[]}=E;let o=(0,i.A)(E,p);return n.forEach(c=>{let b=!0;typeof c.props=="function"?b=c.props((0,r.A)({ownerState:g},m,g)):Object.keys(c.props).forEach(D=>{(g==null?void 0:g[D])!==c.props[D]&&m[D]!==c.props[D]&&(b=!1)}),b&&(Array.isArray(o)||(o=[o]),o.push(typeof c.style=="function"?c.style((0,r.A)({ownerState:g},m,g)):c.style))}),o}return E}function K(f={}){const{themeId:C,defaultTheme:g=L,rootShouldForwardProp:m=M,slotShouldForwardProp:E=M}=f,n=s=>(0,d.A)((0,r.A)({},s,{theme:x((0,r.A)({},s,{defaultTheme:g,themeId:C}))}));return n.__mui_systemSx=!0,(s,o={})=>{(0,v.q_)(s,Q=>Q.filter(le=>!(le!=null&&le.__mui_systemSx)));const{name:c,slot:b,skipVariantsResolver:D,skipSx:T,overridesResolver:O=R(P(b))}=o,W=(0,i.A)(o,_),U=D!==void 0?D:b&&b!=="Root"&&b!=="root"||!1,J=T||!1;let X,Y=M;b==="Root"||b==="root"?Y=m:b?Y=E:k(s)&&(Y=void 0);const fe=(0,v.Ay)(s,(0,r.A)({shouldForwardProp:Y,label:X},W)),de=Q=>typeof Q=="function"&&Q.__emotion_real!==Q||(0,h.Q)(Q)?le=>B(Q,(0,r.A)({},le,{theme:x({theme:le.theme,defaultTheme:g,themeId:C})})):Q,ye=(Q,...le)=>{let _e=de(Q);const V=le?le.map(de):[];c&&O&&V.push(Z=>{const H=x((0,r.A)({},Z,{defaultTheme:g,themeId:C}));if(!H.components||!H.components[c]||!H.components[c].styleOverrides)return null;const ue=H.components[c].styleOverrides,Ae={};return Object.entries(ue).forEach(([Pe,Te])=>{Ae[Pe]=B(Te,(0,r.A)({},Z,{theme:H}))}),O(Z,Ae)}),c&&!U&&V.push(Z=>{var H;const ue=x((0,r.A)({},Z,{defaultTheme:g,themeId:C})),Ae=ue==null||(H=ue.components)==null||(H=H[c])==null?void 0:H.variants;return B({variants:Ae},(0,r.A)({},Z,{theme:ue}))}),J||V.push(n);const I=V.length-le.length;if(Array.isArray(Q)&&I>0){const Z=new Array(I).fill("");_e=[...Q,...Z],_e.raw=[...Q.raw,...Z]}const z=fe(_e,...V);return s.muiName&&(z.muiName=s.muiName),z};return fe.withConfig&&(ye.withConfig=fe.withConfig),ye}}},62024:(F,A,t)=>{t.d(A,{A:()=>d});var r=t(98587),i=t(58168);const v=["values","unit","step"],h=null,u=l=>{const p=Object.keys(l).map(_=>({key:_,val:l[_]}))||[];return p.sort((_,y)=>_.val-y.val),p.reduce((_,y)=>(0,i.A)({},_,{[y.key]:y.val}),{})};function d(l){const{values:p={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:_="px",step:y=5}=l,k=(0,r.A)(l,v),M=u(p),L=Object.keys(M);function P(f){return`@media (min-width:${typeof p[f]=="number"?p[f]:f}${_})`}function x(f){return`@media (max-width:${(typeof p[f]=="number"?p[f]:f)-y/100}${_})`}function R(f,C){const g=L.indexOf(C);return`@media (min-width:${typeof p[f]=="number"?p[f]:f}${_}) and (max-width:${(g!==-1&&typeof p[L[g]]=="number"?p[L[g]]:C)-y/100}${_})`}function B(f){return L.indexOf(f)+1{t.d(A,{A:()=>i});var r=t(55414);function i(v=8){if(v.mui)return v;const h=(0,r.LX)({spacing:v}),u=(...d)=>(d.length===0?[1]:d).map(p=>{const _=h(p);return typeof _=="number"?`${_}px`:_}).join(" ");return u.mui=!0,u}},221:(F,A,t)=>{t.d(A,{A:()=>L});var r=t(58168),i=t(98587),v=t(53107),h=t(62024);const d={borderRadius:4};var l=t(90093),p=t(22885),_=t(61728);function y(P,x){const R=this;return R.vars&&typeof R.getColorSchemeSelector=="function"?{[R.getColorSchemeSelector(P).replace(/(\[[^\]]+\])/,"*:where($1)")]:x}:R.palette.mode===P?x:{}}const k=["breakpoints","palette","spacing","shape"];function M(P={},...x){const{breakpoints:R={},palette:B={},spacing:K,shape:f={}}=P,C=(0,i.A)(P,k),g=(0,h.A)(R),m=(0,l.A)(K);let E=(0,v.A)({breakpoints:g,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},B),spacing:m,shape:(0,r.A)({},d,f)},C);return E.applyStyles=y,E=x.reduce((n,s)=>(0,v.A)(n,s),E),E.unstable_sxConfig=(0,r.A)({},_.A,C==null?void 0:C.unstable_sxConfig),E.unstable_sx=function(s){return(0,p.A)({sx:s,theme:this})},E}const L=M},79410:(F,A,t)=>{t.d(A,{A:()=>v});var r=t(53107);function i(h,u){return u?(0,r.A)(h,u,{clone:!1}):h}const v=i},55414:(F,A,t)=>{t.d(A,{LX:()=>L,MA:()=>M,_W:()=>P,Lc:()=>K,Ms:()=>f});var r=t(32914),i=t(94027),v=t(79410);function h(m){const E={};return n=>(E[n]===void 0&&(E[n]=m(n)),E[n])}const u={m:"margin",p:"padding"},d={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},p=h(m=>{if(m.length>2)if(l[m])m=l[m];else return[m];const[E,n]=m.split(""),s=u[E],o=d[n]||"";return Array.isArray(o)?o.map(c=>s+c):[s+o]}),_=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],y=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],k=[..._,...y];function M(m,E,n,s){var o;const c=(o=(0,i.Yn)(m,E,!1))!=null?o:n;return typeof c=="number"?b=>typeof b=="string"?b:c*b:Array.isArray(c)?b=>typeof b=="string"?b:c[b]:typeof c=="function"?c:()=>{}}function L(m){return M(m,"spacing",8,"spacing")}function P(m,E){if(typeof E=="string"||E==null)return E;const n=Math.abs(E),s=m(n);return E>=0?s:typeof s=="number"?-s:`-${s}`}function x(m,E){return n=>m.reduce((s,o)=>(s[o]=P(E,n),s),{})}function R(m,E,n,s){if(E.indexOf(n)===-1)return null;const o=p(n),c=x(o,s),b=m[n];return(0,r.NI)(m,b,c)}function B(m,E){const n=L(m.theme);return Object.keys(m).map(s=>R(m,E,s,n)).reduce(v.A,{})}function K(m){return B(m,_)}K.propTypes={},K.filterProps=_;function f(m){return B(m,y)}f.propTypes={},f.filterProps=y;function C(m){return B(m,k)}C.propTypes={},C.filterProps=k;const g=null},94027:(F,A,t)=>{t.d(A,{Ay:()=>d,BO:()=>h,Yn:()=>v});var r=t(62917),i=t(32914);function v(l,p,_=!0){if(!p||typeof p!="string")return null;if(l&&l.vars&&_){const y=`vars.${p}`.split(".").reduce((k,M)=>k&&k[M]?k[M]:null,l);if(y!=null)return y}return p.split(".").reduce((y,k)=>y&&y[k]!=null?y[k]:null,l)}function h(l,p,_,y=_){let k;return typeof l=="function"?k=l(_):Array.isArray(l)?k=l[_]||y:k=v(l,_)||y,p&&(k=p(k,y,l)),k}function u(l){const{prop:p,cssProperty:_=l.prop,themeKey:y,transform:k}=l,M=L=>{if(L[p]==null)return null;const P=L[p],x=L.theme,R=v(x,y)||{},B=K=>{let f=h(R,k,K);return K===f&&typeof K=="string"&&(f=h(R,k,`${p}${K==="default"?"":(0,r.A)(K)}`,K)),_===!1?f:{[_]:f}};return(0,i.NI)(L,P,B)};return M.propTypes={},M.filterProps=[p],M}const d=u},61728:(F,A,t)=>{t.d(A,{A:()=>Ie});var r=t(55414),i=t(94027),v=t(79410);function h(...j){const G=j.reduce((q,se)=>(se.filterProps.forEach(be=>{q[be]=se}),q),{}),re=q=>Object.keys(q).reduce((se,be)=>G[be]?(0,v.A)(se,G[be](q)):se,{});return re.propTypes={},re.filterProps=j.reduce((q,se)=>q.concat(se.filterProps),[]),re}const u=h;var d=t(32914);function l(j){return typeof j!="number"?j:`${j}px solid`}function p(j,G){return(0,i.Ay)({prop:j,themeKey:"borders",transform:G})}const _=p("border",l),y=p("borderTop",l),k=p("borderRight",l),M=p("borderBottom",l),L=p("borderLeft",l),P=p("borderColor"),x=p("borderTopColor"),R=p("borderRightColor"),B=p("borderBottomColor"),K=p("borderLeftColor"),f=p("outline",l),C=p("outlineColor"),g=j=>{if(j.borderRadius!==void 0&&j.borderRadius!==null){const G=(0,r.MA)(j.theme,"shape.borderRadius",4,"borderRadius"),re=q=>({borderRadius:(0,r._W)(G,q)});return(0,d.NI)(j,j.borderRadius,re)}return null};g.propTypes={},g.filterProps=["borderRadius"];const m=u(_,y,k,M,L,P,x,R,B,K,g,f,C),E=null,n=j=>{if(j.gap!==void 0&&j.gap!==null){const G=(0,r.MA)(j.theme,"spacing",8,"gap"),re=q=>({gap:(0,r._W)(G,q)});return(0,d.NI)(j,j.gap,re)}return null};n.propTypes={},n.filterProps=["gap"];const s=j=>{if(j.columnGap!==void 0&&j.columnGap!==null){const G=(0,r.MA)(j.theme,"spacing",8,"columnGap"),re=q=>({columnGap:(0,r._W)(G,q)});return(0,d.NI)(j,j.columnGap,re)}return null};s.propTypes={},s.filterProps=["columnGap"];const o=j=>{if(j.rowGap!==void 0&&j.rowGap!==null){const G=(0,r.MA)(j.theme,"spacing",8,"rowGap"),re=q=>({rowGap:(0,r._W)(G,q)});return(0,d.NI)(j,j.rowGap,re)}return null};o.propTypes={},o.filterProps=["rowGap"];const c=(0,i.Ay)({prop:"gridColumn"}),b=(0,i.Ay)({prop:"gridRow"}),D=(0,i.Ay)({prop:"gridAutoFlow"}),T=(0,i.Ay)({prop:"gridAutoColumns"}),O=(0,i.Ay)({prop:"gridAutoRows"}),W=(0,i.Ay)({prop:"gridTemplateColumns"}),U=(0,i.Ay)({prop:"gridTemplateRows"}),J=(0,i.Ay)({prop:"gridTemplateAreas"}),X=(0,i.Ay)({prop:"gridArea"}),Y=u(n,s,o,c,b,D,T,O,W,U,J,X),fe=null;function de(j,G){return G==="grey"?G:j}const ye=(0,i.Ay)({prop:"color",themeKey:"palette",transform:de}),Q=(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:de}),le=(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:de}),_e=u(ye,Q,le),V=null;function I(j){return j<=1&&j!==0?`${j*100}%`:j}const z=(0,i.Ay)({prop:"width",transform:I}),Z=j=>{if(j.maxWidth!==void 0&&j.maxWidth!==null){const G=re=>{var q,se;const be=((q=j.theme)==null||(q=q.breakpoints)==null||(q=q.values)==null?void 0:q[re])||d.zu[re];return be?((se=j.theme)==null||(se=se.breakpoints)==null?void 0:se.unit)!=="px"?{maxWidth:`${be}${j.theme.breakpoints.unit}`}:{maxWidth:be}:{maxWidth:I(re)}};return(0,d.NI)(j,j.maxWidth,G)}return null};Z.filterProps=["maxWidth"];const H=(0,i.Ay)({prop:"minWidth",transform:I}),ue=(0,i.Ay)({prop:"height",transform:I}),Ae=(0,i.Ay)({prop:"maxHeight",transform:I}),Pe=(0,i.Ay)({prop:"minHeight",transform:I}),Te=(0,i.Ay)({prop:"size",cssProperty:"width",transform:I}),De=(0,i.Ay)({prop:"size",cssProperty:"height",transform:I}),Ee=(0,i.Ay)({prop:"boxSizing"}),Le=u(z,Z,H,ue,Ae,Pe,Ee),Me=null,Ie={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:g},color:{themeKey:"palette",transform:de},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:de},backgroundColor:{themeKey:"palette",transform:de},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:j=>({"@media print":{display:j}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:n},rowGap:{style:o},columnGap:{style:s},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:I},maxWidth:{style:Z},minWidth:{transform:I},height:{transform:I},maxHeight:{transform:I},minHeight:{transform:I},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},22885:(F,A,t)=>{t.d(A,{A:()=>y});var r=t(62917),i=t(79410),v=t(94027),h=t(32914),u=t(61728);function d(...k){const M=k.reduce((P,x)=>P.concat(Object.keys(x)),[]),L=new Set(M);return k.every(P=>L.size===Object.keys(P).length)}function l(k,M){return typeof k=="function"?k(M):k}function p(){function k(L,P,x,R){const B={[L]:P,theme:x},K=R[L];if(!K)return{[L]:P};const{cssProperty:f=L,themeKey:C,transform:g,style:m}=K;if(P==null)return null;if(C==="typography"&&P==="inherit")return{[L]:P};const E=(0,v.Yn)(x,C)||{};if(m)return m(B);const n=s=>{let o=(0,v.BO)(E,g,s);return s===o&&typeof s=="string"&&(o=(0,v.BO)(E,g,`${L}${s==="default"?"":(0,r.A)(s)}`,s)),f===!1?o:{[f]:o}};return(0,h.NI)(B,P,n)}function M(L){var P;const{sx:x,theme:R={}}=L||{};if(!x)return null;const B=(P=R.unstable_sxConfig)!=null?P:u.A;function K(f){let C=f;if(typeof f=="function")C=f(R);else if(typeof f!="object")return f;if(!C)return null;const g=(0,h.EU)(R.breakpoints),m=Object.keys(g);let E=g;return Object.keys(C).forEach(n=>{const s=l(C[n],R);if(s!=null)if(typeof s=="object")if(B[n])E=(0,i.A)(E,k(n,s,R,B));else{const o=(0,h.NI)({theme:R},s,c=>({[n]:c}));d(o,s)?E[n]=M({sx:s,theme:R}):E=(0,i.A)(E,o)}else E=(0,i.A)(E,k(n,s,R,B))}),(0,h.vf)(m,E)}return Array.isArray(x)?x.map(K):K(x)}return M}const _=p();_.filterProps=["sx"];const y=_},86568:(F,A,t)=>{t.d(A,{A:()=>u});var r=t(221),i=t(67193);const v=(0,r.A)();function h(d=v){return(0,i.A)(d)}const u=h},67910:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(11289);function i(v){const{theme:h,name:u,props:d}=v;return!h||!h.components||!h.components[u]||!h.components[u].defaultProps?d:(0,r.A)(h.components[u].defaultProps,d)}},77181:(F,A,t)=>{t.d(A,{A:()=>v});var r=t(67910),i=t(86568);function v({props:h,name:u,defaultTheme:d,themeId:l}){let p=(0,i.A)(d);return l&&(p=p[l]||p),(0,r.A)({theme:p,name:u,props:h})}},67193:(F,A,t)=>{t.d(A,{A:()=>d});var r=t(28437),i=t.n(r),v=t(58871);function h(l){return Object.keys(l).length===0}function u(l=null){const p=r.useContext(v.T);return!p||h(p)?l:p}const d=u},59661:(F,A,t)=>{t.d(A,{A:()=>h});const r=u=>u,h=(()=>{let u=r;return{configure(d){u=d},generate(d){return u(d)},reset(){u=r}}})()},62917:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(22571);function i(v){if(typeof v!="string")throw new Error((0,r.A)(7));return v.charAt(0).toUpperCase()+v.slice(1)}},86249:(F,A,t)=>{t.d(A,{A:()=>r});function r(i,v,h=void 0){const u={};return Object.keys(i).forEach(d=>{u[d]=i[d].reduce((l,p)=>{if(p){const _=v(p);_!==""&&l.push(_),h&&h[p]&&l.push(h[p])}return l},[]).join(" ")}),u}},53107:(F,A,t)=>{t.d(A,{A:()=>h,Q:()=>i});var r=t(58168);function i(u){if(typeof u!="object"||u===null)return!1;const d=Object.getPrototypeOf(u);return(d===null||d===Object.prototype||Object.getPrototypeOf(d)===null)&&!(Symbol.toStringTag in u)&&!(Symbol.iterator in u)}function v(u){if(!i(u))return u;const d={};return Object.keys(u).forEach(l=>{d[l]=v(u[l])}),d}function h(u,d,l={clone:!0}){const p=l.clone?(0,r.A)({},u):u;return i(u)&&i(d)&&Object.keys(d).forEach(_=>{_!=="__proto__"&&(i(d[_])&&_ in u&&i(u[_])?p[_]=h(u[_],d[_],l):l.clone?p[_]=i(d[_])?v(d[_]):d[_]:p[_]=d[_])}),p}},22571:(F,A,t)=>{t.d(A,{A:()=>r});function r(i){let v="https://mui.com/production-error/?code="+i;for(let h=1;h{t.d(A,{Ay:()=>v});var r=t(59661);const i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function v(u,d,l="Mui"){const p=i[d];return p?`${l}-${p}`:`${r.A.generate(u)}-${d}`}function h(u){return i[u]!==void 0}},95227:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(35583);function i(v,h,u="Mui"){const d={};return h.forEach(l=>{d[l]=(0,r.Ay)(v,l,u)}),d}},11289:(F,A,t)=>{t.d(A,{A:()=>i});var r=t(58168);function i(v,h){const u=(0,r.A)({},h);return Object.keys(v).forEach(d=>{if(d.toString().match(/^(components|slots)$/))u[d]=(0,r.A)({},v[d],u[d]);else if(d.toString().match(/^(componentsProps|slotProps)$/)){const l=v[d]||{},p=h[d];u[d]={},!p||!Object.keys(p)?u[d]=l:!l||!Object.keys(l)?u[d]=p:(u[d]=(0,r.A)({},p),Object.keys(l).forEach(_=>{u[d][_]=i(l[_],p[_])}))}else u[d]===void 0&&(u[d]=v[d])}),u}},13394:(F,A,t)=>{/** * @license React * react-jsx-runtime.production.min.js * @@ -19,6 +19,6 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=t(28437),i=Symbol.for("react.element"),v=Symbol.for("react.fragment"),h=Object.prototype.hasOwnProperty,d=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(p,_,y){var k,M={},L=null,P=null;y!==void 0&&(L=""+y),_.key!==void 0&&(L=""+_.key),_.ref!==void 0&&(P=_.ref);for(k in _)h.call(_,k)&&!u.hasOwnProperty(k)&&(M[k]=_[k]);if(p&&p.defaultProps)for(k in _=p.defaultProps,_)M[k]===void 0&&(M[k]=_[k]);return{$$typeof:i,type:p,key:L,ref:P,props:M,_owner:d.current}}A.Fragment=v,A.jsx=c,A.jsxs=c},64922:(F,A,t)=>{F.exports=t(13394)},58168:(F,A,t)=>{t.d(A,{A:()=>r});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var v=1;v{t.d(A,{A:()=>r});function r(i,v){if(i==null)return{};var h={},d=Object.keys(i),u,c;for(c=0;c=0)&&(h[u]=i[u]);return h}},74984:(F,A,t)=>{t.d(A,{A:()=>v});function r(h){var d,u,c="";if(typeof h=="string"||typeof h=="number")c+=h;else if(typeof h=="object")if(Array.isArray(h)){var p=h.length;for(d=0;d{F.exports=t(13394)},58168:(F,A,t)=>{t.d(A,{A:()=>r});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var v=1;v{t.d(A,{A:()=>r});function r(i,v){if(i==null)return{};var h={};for(var u in i)if(Object.prototype.hasOwnProperty.call(i,u)){if(v.indexOf(u)>=0)continue;h[u]=i[u]}return h}},74984:(F,A,t)=>{t.d(A,{A:()=>v});function r(h){var u,d,l="";if(typeof h=="string"||typeof h=="number")l+=h;else if(typeof h=="object")if(Array.isArray(h)){var p=h.length;for(u=0;upwd' + ' ' + ' ' - + ' ' + + ' ' + ' ' + ' ' + ' ' @@ -44,15 +44,15 @@ Blockly.Blocks['exec'] = { this.sourceBlock_.updateShape_(option === true || option === 'true' || option === 'TRUE'); }), 'WITH_STATEMENT'); - this.appendDummyInput('LOG') - .appendField(Blockly.Translate('exec_log')) + this.appendDummyInput('LOG_LEVEL') + .appendField(Blockly.Translate('loglevel')) .appendField(new Blockly.FieldDropdown([ - [Blockly.Translate('exec_log_none'), ''], - [Blockly.Translate('exec_log_info'), 'log'], - [Blockly.Translate('exec_log_debug'), 'debug'], - [Blockly.Translate('exec_log_warn'), 'warn'], - [Blockly.Translate('exec_log_error'), 'error'] - ]), 'LOG'); + [Blockly.Translate('loglevel_none'), ''], + [Blockly.Translate('loglevel_debug'), 'debug'], + [Blockly.Translate('loglevel_info'), 'info'], + [Blockly.Translate('loglevel_warn'), 'warn'], + [Blockly.Translate('loglevel_error'), 'error'], + ]), 'LOG_LEVEL'); this.setInputsInline(false); this.setPreviousStatement(true, null); @@ -90,8 +90,8 @@ Blockly.Blocks['exec'] = { }; Blockly.JavaScript['exec'] = function(block) { - const logLevel = block.getFieldValue('LOG'); const value_command = Blockly.JavaScript.valueToCode(block, 'COMMAND', Blockly.JavaScript.ORDER_ATOMIC); + const logLevel = block.getFieldValue('LOG_LEVEL'); const withStatement = block.getFieldValue('WITH_STATEMENT'); let logText; diff --git a/admin/google-blockly/own/blocks_system.js b/admin/google-blockly/own/blocks_system.js index 6b53e8733..a0e23a681 100644 --- a/admin/google-blockly/own/blocks_system.js +++ b/admin/google-blockly/own/blocks_system.js @@ -58,6 +58,8 @@ Blockly.System.blocks['debug'] = + ' test' + ' ' + ' ' + + ' ' + + ' ' + ''; Blockly.Blocks['debug'] = { @@ -66,8 +68,13 @@ Blockly.Blocks['debug'] = { .setCheck(null) .appendField(Blockly.Translate('debug')); - this.appendDummyInput() - .appendField(new Blockly.FieldDropdown([['info', 'log'], ['debug', 'debug'], ['warning', 'warn'], ['error', 'error']]), 'Severity'); + this.appendDummyInput('LOG_LEVEL') + .appendField(new Blockly.FieldDropdown([ + [Blockly.Translate('loglevel_debug'), 'debug'], + [Blockly.Translate('loglevel_info'), 'info'], + [Blockly.Translate('loglevel_warn'), 'warn'], + [Blockly.Translate('loglevel_error'), 'error'], + ]), 'LOG_LEVEL'); this.setPreviousStatement(true, null); this.setNextStatement(true, null); @@ -80,9 +87,9 @@ Blockly.Blocks['debug'] = { Blockly.JavaScript['debug'] = function(block) { const value_text = Blockly.JavaScript.valueToCode(block, 'TEXT', Blockly.JavaScript.ORDER_ATOMIC); - const dropdown_severity = block.getFieldValue('Severity'); + const logLevel = block.getFieldValue('LOG_LEVEL'); - return `console.${dropdown_severity}(${value_text});\n`; + return `console.${logLevel}(${value_text});\n`; }; // --- comment -------------------------------------------------- diff --git a/admin/google-blockly/own/blocks_words.js b/admin/google-blockly/own/blocks_words.js index 2d71d4727..380406d04 100644 --- a/admin/google-blockly/own/blocks_words.js +++ b/admin/google-blockly/own/blocks_words.js @@ -7,6 +7,13 @@ Blockly.Words = {}; // --- GLOBAL -------------------------------------------------- Blockly.Words['select_id'] = { en: 'select ID', de: 'ID auswählen', ru: 'Выбрать ID', pt: 'selecione ID', nl: 'selecteer ID', fr: 'sélectionnez ID', it: 'seleziona ID', es: 'seleccionar ID', pl: 'select ID', uk: 'виберіть ID', 'zh-cn': '对象ID' }; +Blockly.Words['loglevel'] = { en: 'log level', de: 'Loglevel', ru: 'Протокол', pt: 'nível de log', nl: 'Log niveau', fr: 'niveau de journalisation', it: 'livello di registro', es: 'nivel de registro', pl: 'log level', uk: 'рівень журналу', 'zh-cn': '日志级别' }; +Blockly.Words['loglevel_none'] = { en: 'none', de: 'Keins', ru: 'нет', pt: 'nenhum', nl: 'geen', fr: 'aucun', it: 'nessuna', es: 'ninguna', pl: 'none', uk: 'немає', 'zh-cn': '不输出' }; +Blockly.Words['loglevel_debug'] = { en: 'debug', de: 'Debug', ru: 'debug', pt: 'depurar', nl: 'debug', fr: 'déboguer', it: 'mettere a punto', es: 'depurar', pl: 'debug', uk: 'відлагоджувати', 'zh-cn': '调试信息' }; +Blockly.Words['loglevel_info'] = { en: 'info', de: 'Info', ru: 'инфо', pt: 'informação', nl: 'info', fr: 'Info', it: 'Informazioni', es: 'información', pl: 'info', uk: 'інформація', 'zh-cn': '必要信息' }; +Blockly.Words['loglevel_warn'] = { en: 'warning', de: 'Warnung', ru: 'warning', pt: 'atenção', nl: 'waarschuwing', fr: 'Attention', it: 'avvertimento', es: 'advertencia', pl: 'warning', uk: 'УВАГА', 'zh-cn': '警告信息' }; +Blockly.Words['loglevel_error'] = { en: 'error', de: 'Fehler', ru: 'ошибка', pt: 'erro', nl: 'fout', fr: 'Erreur', it: 'errore', es: 'error', pl: 'error', uk: 'помилка', 'zh-cn': '错误信息' }; + // --- OBJECT -------------------------------------------------- Blockly.Words['Object'] = { en: 'Object', de: 'Objekt', ru: 'Объект', pt: 'Objeto', nl: 'Doel', fr: 'Objet', it: 'Oggetto', es: 'Objeto', pl: 'Obiekt', uk: 'Об\'єкт', 'zh-cn': '对象' }; @@ -38,12 +45,6 @@ Blockly.Words['exec'] = { en: 'exec', Blockly.Words['exec_statement'] = { en: 'with results', de: 'mit Ergebnissen', ru: 'анализировать результаты', pt: 'com resultados', nl: 'met resultaten', fr: 'avec des résultats', it: 'con risultati', es: 'con resultados', pl: 'with results', uk: 'з результатами', 'zh-cn': '处理返回值' }; Blockly.Words['exec_command'] = { en: 'command', de: 'Befehl', ru: 'команда', pt: 'comando', nl: 'opdracht', fr: 'commander', it: 'comando', es: 'mando', pl: 'command', uk: 'команда', 'zh-cn': '命令行指令' }; Blockly.Words['exec_help'] = { en: 'exec---execute-some-os-command-like-cp-file1-file2', de: 'exec---execute-some-os-command-like-cp-file1-file2', ru: 'exec---execute-some-os-command-like-cp-file1-file2', pt: 'exec---execute-some-os-command-like-cp-file1-file2', nl: 'exec---execute-some-os-command-like-cp-file1-file2', fr: 'exec---execute-some-os-command-like-cp-file1-file2', it: 'exec---execute-some-os-command-like-cp-file1-file2', es: 'exec---execute-some-os-command-like-cp-file1-file2', pl: 'exec---execute-some-os-command-like-cp-file1-file2', uk: 'exec---execute-some-os-command-like-cp-file1-file2', 'zh-cn': 'exec---execute-some-os-command-like-cp-file1-file2' }; -Blockly.Words['exec_log'] = { en: 'log level', de: 'Loglevel', ru: 'Протокол', pt: 'nível de log', nl: 'Log niveau', fr: 'niveau de journalisation', it: 'livello di registro', es: 'nivel de registro', pl: 'log level', uk: 'рівень журналу', 'zh-cn': '日志级别' }; -Blockly.Words['exec_log_none'] = { en: 'none', de: 'keins', ru: 'нет', pt: 'nenhum', nl: 'geen', fr: 'aucun', it: 'nessuna', es: 'ninguna', pl: 'none', uk: 'немає', 'zh-cn': '不输出' }; -Blockly.Words['exec_log_info'] = { en: 'info', de: 'info', ru: 'инфо', pt: 'informação', nl: 'info', fr: 'Info', it: 'Informazioni', es: 'información', pl: 'info', uk: 'інформація', 'zh-cn': '必要信息' }; -Blockly.Words['exec_log_debug'] = { en: 'debug', de: 'debug', ru: 'debug', pt: 'depurar', nl: 'debug', fr: 'déboguer', it: 'mettere a punto', es: 'depurar', pl: 'debug', uk: 'відлагоджувати', 'zh-cn': '调试信息' }; -Blockly.Words['exec_log_warn'] = { en: 'warning', de: 'warning', ru: 'warning', pt: 'atenção', nl: 'waarschuwing', fr: 'Attention', it: 'avvertimento', es: 'advertencia', pl: 'warning', uk: 'УВАГА', 'zh-cn': '警告信息' }; -Blockly.Words['exec_log_error'] = { en: 'error', de: 'error', ru: 'ошибка', pt: 'erro', nl: 'fout', fr: 'Erreur', it: 'errore', es: 'error', pl: 'error', uk: 'помилка', 'zh-cn': '错误信息' }; Blockly.Words['exec_tooltip'] = { en: 'Execute some command', de: 'Einen System-Befehl ausführen', ru: 'Выполнить системную команду', pt: 'Executar um comando do sistema', nl: 'Voer een commando uit', fr: 'Exécuter une commande', it: 'Esegui un comando', es: 'Ejecuta algún comando', pl: 'Execute some command', uk: 'Виконати якусь команду', 'zh-cn': '执行一些指令' }; // --- action exec_result -------------------------------------------------- diff --git a/admin/static/css/184.7463f8b6.chunk.css b/admin/static/css/184.7463f8b6.chunk.css new file mode 100644 index 000000000..da09112ab --- /dev/null +++ b/admin/static/css/184.7463f8b6.chunk.css @@ -0,0 +1,2 @@ +body,html{height:100%;width:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0;overflow:hidden;padding:0}.iobVerticalSplitter .layout-pane-primary{overflow:hidden!important}#root{height:100%;width:100%}#___reactour>div:first-of-type{opacity:.4}.layout-pane-primary{height:100%}.blocklyToolboxDiv{height:100%!important;left:0!important;top:0!important;width:180px}.no-underline:before{border-bottom:0!important}.monaco-aria-container{top:0}.iobVerticalSplitter .layout-pane-primary{overflow:hidden}.monacoCurrentLine{background:#59fd8c}.monacoCurrentLineDark{background:#165b2c}.monacoCurrentFullLine{background:#cbffdc;opacity:.7}.monacoCurrentFullLineDark{background:#0e3b1f;opacity:.7}.monacoBreakPointDark{background:maroon}.monacoBreakPoint,.monacoBreakPointDark{border-radius:50%;height:16px!important;margin-left:4px;width:16px!important}.monacoBreakPoint{background:#d71a1a}.splitter-layout{display:flex;flex-direction:row;height:100%;overflow:hidden;position:absolute;width:100%}.splitter-layout .layout-pane{flex:0 0 auto;overflow:auto;position:relative}.splitter-layout .layout-pane.layout-pane-primary{flex:1 1 auto}.splitter-layout>.layout-splitter{background-color:#ccc;cursor:col-resize;flex:0 0 auto;height:100%;width:4px}.splitter-layout .layout-splitter:hover{background-color:#bbb}.splitter-layout.layout-changing{cursor:col-resize}.splitter-layout.layout-changing>.layout-splitter{background-color:#aaa}.splitter-layout.splitter-layout-vertical{flex-direction:column}.splitter-layout.splitter-layout-vertical.layout-changing{cursor:row-resize}.splitter-layout.splitter-layout-vertical>.layout-splitter{cursor:row-resize;height:4px;width:100%}.style_wrapperRules__Js-Pp{background:linear-gradient(0deg,var(--backgroundGlobalColor),var(--backgroundGlobalColor)),url(../../static/media/back.bda2bbe51be338a0f657.jpg);background-repeat:no-repeat;background-size:cover;display:flex;height:100%}.style_rootWrapper__0Dpqp{display:flex;width:100%}.style_addClass__ry424{flex-direction:column;height:auto;overflow:auto}@media screen and (max-width:835px){.style_rootWrapper__0Dpqp{flex-direction:column;height:auto;overflow:auto}}.style_switchesItem__RBQz7{align-items:center;border:1px solid #fff0;color:var(--colorInput);display:flex;margin:5px 0;max-width:200px;padding:12px 0;transition:all .7s;width:auto}.style_switchesItem__RBQz7 span{color:var(--lineColorActive);margin-left:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.style_switchesItemActive__FU8S9,.style_switchesItem__RBQz7:hover{background:var(--backgroundColor);border:1px solid var(--lineColor);border-radius:6px;color:var(--lineColorHover);cursor:pointer}.style_iconTheme__inJLE{height:30px!important;margin-left:5px;width:30px!important}.style_iconTheme__inJLE *{color:var(--lineColorActive)!important}.style_cardStyle__5c\+lG{align-items:center;background:#ffffff6b;border-radius:4px;box-shadow:0 2px 1px -1px #0003,0 1px 1px 0 #00000024,0 1px 3px 0 #0000001f;cursor:pointer;display:flex;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin:23px 12px 4px;min-height:70px;min-width:200px;padding:10px;position:relative;width:calc(100% - 72px)}.style_cardStyleActive__n6Nq8{width:300px;z-index:100}.style_controlMenu__J0sIm{display:flex;height:100%;position:absolute;right:-31px;transition:opacity .5s;width:30px}.style_closeBtn__TzVMw{border-radius:20px;cursor:pointer;height:20px;margin:5px auto;position:relative;width:20px;z-index:1}.style_closeBtn__TzVMw:before{color:rgba(247,6,6,.518);content:"+";font-size:30px;left:2px;line-height:1;top:-6px;transform:rotate(45deg);z-index:2}.style_closeBtn__TzVMw:after,.style_closeBtn__TzVMw:before{position:absolute;transition:all .3s cubic-bezier(.77,0,.2,.85)}.style_closeBtn__TzVMw:after{background:var(--backgroundColorHumburger);border-radius:100%;content:"";height:100%;left:0;top:0;transform:scale(.01);width:100%;z-index:1}.style_closeBtn__TzVMw:hover:after{transform:scale(1)}.style_closeBtn__TzVMw:hover:before{color:#fff;transform:scale(.8) rotate(45deg)}.style_isDelete__0Sa6U{background:#fff;box-shadow:0 0 10px #6accff;height:0;margin:0 12px;min-height:0;opacity:.8;overflow:hidden;padding:0 10px;transition:all .25s}@media screen and (max-width:835px){.style_controlMenu__J0sIm{opacity:1!important}}.style_drag_mobile__RVp7B{display:none}@media screen and (max-width:600px){.style_drag_mobile__RVp7B{background:repeating-linear-gradient(180deg,var(--lineColorActive),var(--lineColorActive) 4px,var(--backgroundColorHumburger) 4px,var(--backgroundColorHumburger) 8px);border:1px solid var(--lineColorActive);border-radius:5px 0 0 0;cursor:pointer;display:flex;height:20px;left:0;position:absolute;top:0;width:30px}}@keyframes style_fadeIn__zKsCh{0%{opacity:0}1%{opacity:0}to{opacity:1}}.style_cardStyle__A9pAJ{align-items:center;background:var(--backgroundBlock);border-radius:4px;box-shadow:0 2px 1px -1px #0003,0 1px 1px 0 #00000024,0 1px 3px 0 #0000001f;cursor:pointer;display:flex;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin:23px 12px 4px;min-height:70px;min-width:200px;padding:10px;position:relative;width:calc(100% - 72px)}.style_nameCard__m2nJe{color:var(--colorBlock);font-size:19px;font-weight:500;margin-top:0}.style_cardStyleActive__sMSgj{width:300px;z-index:100}.style_iconThemCard__wx6Kq{height:40px!important;margin-left:5px;width:40px!important}.style_iconThemCard__wx6Kq *{color:var(--colorBlock)!important}.style_iconThemCardSelectable__H9okn{cursor:pointer}.style_iconHelp__iIi1g{color:var(--colorBlock)!important;position:absolute!important;right:5px;top:0}.style_inputCard__qf8Q\+{margin-top:10px!important}.style_blockName__CqwBy{display:flex;flex-direction:column;margin-left:10px;position:relative;width:100%}.style_controlMenu__8kQnd{display:flex;height:100%;position:absolute;right:-31px;transition:opacity .5s;width:30px}.style_closeBtn__LcbOd{border-radius:20px;cursor:pointer;height:20px;margin:5px auto;position:relative;width:20px;z-index:1}.style_closeBtn__LcbOd:before{color:rgba(247,6,6,.518);content:"+";font-size:30px;left:2px;line-height:1;top:-6px;transform:rotate(45deg);z-index:2}.style_closeBtn__LcbOd:after,.style_closeBtn__LcbOd:before{position:absolute;transition:all .3s cubic-bezier(.77,0,.2,.85)}.style_closeBtn__LcbOd:after{background:#994e9e7d;border-radius:100%;content:"";height:100%;left:0;top:0;transform:scale(.01);width:100%;z-index:1}.style_closeBtn__LcbOd:hover:after{transform:scale(1)}.style_closeBtn__LcbOd:hover:before{color:#fff;transform:scale(.8) rotate(45deg)}.style_controlMenuTop__AkzEp{display:flex;left:0;overflow:hidden;position:absolute;transition:opacity .5s,height .5s,top .5s;width:100%}.style_debugInfo__wPdyv{animation:style_fadeIn__zKsCh .3s ease-out;color:var(--debugColor);display:flex;font-size:12px;font-style:italic;opacity:0;position:absolute}.style_tagCard__CEY-X{background:var(--backgroundColorHumburger);border-left:1px solid var(--lineColor);border-radius:5px 5px 0 0;border-right:1px solid var(--lineColor);border-top:1px solid var(--lineColor);color:var(--lineColorActive);cursor:pointer;font-size:12px;height:22px;margin-left:auto;margin-right:8px;min-width:100px;padding:2px 2px 0;position:relative;text-align:center}.style_displayFlex__5sr\+i{align-items:center;display:flex}.style_blockMarginTop__Qn7Lh,.style_nameBlock__MZ53S{margin-top:7px}.style_frontText__3cVcg{display:inline-table;margin-right:7px;min-width:80px}.style_backText__sF8Y-{margin-left:7px}.style_iconTag__2cpM6{align-items:center;color:var(--colorBlock);display:flex;font-size:40px;margin-bottom:10px;margin-left:12px;min-width:40px}.style_displayItalic__9KtQw{font-size:11px;font-style:italic;margin-top:0}.style_root__h6PjP{border-color:var(--colorBlock)!important;color:var(--colorBlock)!important}.style_root__h6PjP:hover{background-color:inherit!important;border-color:var(--colorBlockHover)!important;color:var(--colorBlockHover)!important}.style_square__ahzCN{min-width:auto!important;padding:6px 16px!important}.style_icon__jwNl0{height:24px;width:24px}.style_root__8DT4l *{color:var(--colorBlock)!important}.style_root__WINKv{background:var(--backgroundColorHumburger);border-radius:5px;margin-bottom:0!important;margin-top:0!important}.style_root__WINKv *{color:var(--colorInput)!important}.style_root__WINKv [class*=MuiInputLabel-shrink]{color:var(--colorBlock)!important}.style_root__WINKv [class*=MuiInput-underline] :after{border-bottom-color:var(--lineColor)!important}.style_root__WINKv [class*=MuiOutlinedInput-notchedOutline],.style_root__WINKv [class*=MuiOutlinedInput-notchedOutline] [class*=Mui-disabled],.style_root__WINKv [class*=MuiOutlinedInput-notchedOutline] [class*=Mui-focused],.style_root__WINKv [class*=MuiOutlinedInput-notchedOutline]:hover,.style_root__WINKv:hover [class*=MuiOutlinedInput-notchedOutline]{border-color:var(--lineColor)!important}.style_modalContentWrapper__ewzzR{margin:20px 0;min-width:320px;overflow-x:hidden;padding:0 35px}.style_modalButtonBlock__otBeq{background:var(--backgroundColorHumburger);border-top:1px solid var(--lineColorActive);border-color:var(--lineColorActive);border-radius:3px;display:flex;flex-flow:wrap;justify-content:flex-end;margin-top:20px}.style_modalButtonBlock__otBeq button{color:var(--lineColorActive)!important;flex:1 1}.style_modalButtonBlockTwo__bh8rw{bottom:0;flex-flow:wrap-reverse;justify-content:space-around;position:-webkit-sticky;position:sticky}.style_modalButtonBlockTwo__bh8rw button{margin:5px}.style_modalWrapper__VUeGq [class*="MuiPaper-root MuiDialog-paper MuiPaper-elevation24 MuiDialog-paperScrollPaper MuiDialog-paperWidthXl MuiPaper-elevation24 MuiPaper-rounded"]{background-color:#f6f6f6}.style_modalDialog__MI8Ka{min-width:400px}.style_close__Z8qAY{cursor:pointer;height:32px;opacity:.9;position:absolute;right:-14px;top:-16px;transition:all .6s ease;width:32px}.style_close__Z8qAY:hover{transform:rotate(90deg)}.style_close__Z8qAY:before{transform:rotate(45deg)}.style_close__Z8qAY:after,.style_close__Z8qAY:before{background-color:#ff4f4f;content:"";height:33px;left:15px;position:absolute;width:4px}.style_close__Z8qAY:after{transform:rotate(-45deg)}@media screen and (max-width:460px){.style_modalContentWrapper__ewzzR{min-width:auto}}.style_root__AZ3ER{margin-bottom:0!important;margin-top:0!important;max-width:440px}.style_root__AZ3ER *,.style_root__AZ3ER [class*=MuiInputLabel-shrink]{color:var(--colorBlock)!important}.style_root__AZ3ER [class*=MuiInput-underline]:after,.style_root__AZ3ER [class*=MuiInput-underline]:before,.style_root__AZ3ER [class*=MuiInput-underline]:hover:before{border-bottom-color:var(--lineColor)!important}.style_root__BGOBc{color:var(--lineColorActive)!important;height:8px!important}.style_root__BGOBc [class*=MuiSlider-rail],.style_root__BGOBc [class*=MuiSlider-track]{border-radius:4px;height:8px!important}.style_root__BGOBc [class*=MuiSlider-valueLabel]{left:calc(-50% + 4px)}.style_root__BGOBc [class*=MuiSlider-thumb]{background-color:var(--colorBlock);border:2px solid;height:24px;margin-left:-12px;margin-top:-8px;width:24px}.style_root__BGOBc [class*=MuiSlider-thumb]:focus,.style_root__BGOBc [class*=MuiSlider-thumb]:hover,.style_root__BGOBc [class*=MuiSlider-thumb][class*=MuiSlider-active]{box-shadow:inherit!important}.style_root__BGOBc .style_mark__MLqoT{background-color:#0000!important}.style_root__anA9\+ *{color:var(--colorBlock)!important}.style_root__anA9\+ [class*=Mui-checked]{color:var(--lineColor)!important}.style_root__anA9\+ [class*=Mui-checked]+[class*=MuiSwitch-track]{background-color:var(--lineColor)!important}.style_root__xyxno{margin-bottom:0!important;margin-top:0!important}.style_root__xyxno *,.style_root__xyxno [class*=MuiInputLabel-shrink]{color:var(--colorBlock)!important}.style_root__xyxno [class*=MuiInput-underline]:after,.style_root__xyxno [class*=MuiInput-underline]:before,.style_root__xyxno [class*=MuiInput-underline]:hover:before{border-bottom-color:var(--lineColor)!important}.style_root__FwemI{margin-bottom:0!important;margin-top:0!important}.style_root__FwemI *,.style_root__FwemI [class*=MuiInputLabel-shrink]{color:var(--colorBlock)!important}.style_root__FwemI [class*=MuiInput-underline]:after,.style_root__FwemI [class*=MuiInput-underline]:before,.style_root__FwemI [class*=MuiInput-underline]:hover:before{border-bottom-color:var(--lineColor)!important}.style_border__Zz9Km{border-left:1px solid var(--lineColor);border-right:1px solid var(--lineColor)}.style_emptyBlockStyle__sE5FO{align-items:center;background:hsla(0,0%,100%,.122);border-radius:4px;cursor:pointer;display:flex;margin:10px 40px 10px 10px;width:auto}.style_emptyBlock__dMBHS{animation:style_marginTop__uK9O\+ .12s;margin-top:10px;padding:10px}.style_selectOnChange__6r-uo{color:var(--lineColor)!important;margin-left:12px;width:calc(100% - 42px)}.style_selectOnChangeHelp__nP0g8{color:var(--lineColor);cursor:pointer;vertical-align:middle}.style_selectOnChangeHelpIcon__r7G9x{color:var(--lineColor)}@keyframes style_marginTop__uK9O\+{0%{height:0;margin-top:70px;padding:0}to{margin-top:10px;padding:10px}}.style_emptyBlockNone__DS6GG{animation:none;height:0;transition:height .02s}.style_mainBlockItemRules__JYCaQ{display:flex;flex:1 3;flex-direction:column;overflow:auto;transition:all .5s;z-index:9}.style_mainBlockItemRules__JYCaQ .style_nameBlockItems__sNeEH{align-items:center;color:var(--lineColor);display:flex;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;justify-content:center;margin-top:10px;width:100%}.style_contentBlockItem__SQejW{display:flex;flex-direction:column;height:100%;overflow:auto;transition:height .3s,background .5s}.style_wrapperMargin__v8PwE{display:flex;flex-direction:column;margin:auto 0}.style_contentHeightOn__T3ZZ-{animation:style_heightBlock__B96p1 .3s}@keyframes style_heightBlock__B96p1{0%{height:0}to{height:100%}}.style_contentHeightOff__eaSlV{animation:none;height:0;overflow:hidden}.style_cardAdd__SNY3P{align-items:center;color:var(--lineColor);display:flex;margin:0 10px;text-align:center;width:100%}.style_cardAdd__SNY3P:after,.style_cardAdd__SNY3P:before{border-bottom:1px solid;content:"";flex:1 1}.style_cardAdd__SNY3P:after{margin-left:.25em}.style_cardAdd__SNY3P:before{margin-right:.25em}.style_blockCardAdd__xHdXK{align-items:center;color:#fff;cursor:pointer;display:flex;padding:0 10px 6px}.style_blockCardAdd__xHdXK *{color:hsla(0,0%,100%,.702)}.style_addClassOverflow__bcVva{overflow:visible;overflow:initial}.style_addClassHeight__GJALi{min-height:300px}@media screen and (max-width:835px){.style_mainBlockItemRules__JYCaQ{overflow:visible;overflow:initial}.style_contentBlockItem__SQejW{min-height:300px}.style_contentHeightOff__eaSlV{min-height:0;transition:min-height .3s}.style_contentHeightOn__T3ZZ-{transition:min-height .3s}.style_border__Zz9Km{border-left:initial;border-right:initial}}.style_drag__Gq61w{cursor:pointer;height:22px;left:12px;position:absolute;top:23px;width:32px;z-index:1}.style_root__nSnEB{position:relative}.style_menuRules__NRFrw{background:var(--backgroundColor);border-right:1px solid var(--lineColor);display:flex;flex-direction:column;opacity:1;overflow-x:hidden;padding:10px;transition:width .5s,opacity .2s,padding .5s,background .2s,border-right .2s;width:200px}.style_switchesRenderWrapper__MHBpo{direction:rtl;overflow-x:hidden;overflow-y:auto}.style_switchesRenderWrapper__MHBpo span{direction:ltr}.style_menuOff__GV8BN{opacity:0;padding:0;width:0}.style_menuTitle__bnI7K{align-items:center;color:var(--lineColor);display:flex;text-align:center;transition:color .2s;white-space:nowrap}.style_menuTitle__bnI7K:after,.style_menuTitle__bnI7K:before{border-bottom:1px solid;content:"";flex:1 1}.style_marginAuto__h3I6J{margin-bottom:20px;margin-top:auto}.style_inputWidth__Hkd3w{margin-bottom:5px!important;margin-top:0!important}.style_menuWrapper__16zE-{display:flex;height:100%}.style_hamburgerWrapper__\+AsNg{background:var(--backgroundColorHumburger);border:1px solid var(--lineColor);border-radius:0 5px 5px 0;cursor:pointer;display:flex;height:26px;justify-content:center;left:221px;padding-top:10px;position:absolute;top:30px;transition:left .5s,border-radius .7s,width .7s,height .7s,background .2s,border .2s;width:32px;z-index:10}.style_hamburgerOff__Tmmok{border-radius:20px;height:28px;left:20px;padding-top:12px;width:40px}.style_nothingFound__hm0xN{color:var(--lineColor);font-size:21px;margin:16px;transition:color .2s}.style_resetSearch__oA8LS{color:var(--lineColor);cursor:pointer;font-weight:700;margin:10px 0;transition:color .3s,font-size .3s}.style_resetSearch__oA8LS:hover{color:var(--lineColorHover);font-size:22px}.style_controlPanel__ojI7Z{align-items:center;display:flex;width:200px}.style_controlPanel__ojI7Z button{color:var(--lineColor);min-width:auto;transition:color .2s;width:33.3333333333%}.style_controlPanel__ojI7Z .style_controlPanelAppBar__fjB3Y{background:none;box-shadow:none}.style_controlPanel__ojI7Z [class*=Mui-selected]{color:var(--lineColorActive)!important}.style_controlPanel__ojI7Z [class*=MuiTabs-indicator]{background-color:var(--lineColorActive)}.style_controlPanel__ojI7Z [class*=Mui-disabled]{color:#210025cc!important}.style_addClassMenu__3n58b{position:absolute;top:0;z-index:12}.style_addClassBackground__j1FHK{background:var(--backgroundMobile)}.style_addClassPosition__YL\+W4{left:0;position:-webkit-sticky;position:sticky;top:0;z-index:2222}@media screen and (max-width:1035px){.style_menuWrapper__16zE-{position:absolute;top:0;z-index:12}.style_menuRules__NRFrw{background:var(--backgroundMobile)}}@media screen and (max-width:835px){.style_menuRules__NRFrw{left:0;position:-webkit-sticky;position:sticky;top:0;z-index:2222}}.hamburgerMenu_menu_wrapper__H\+bSr{cursor:pointer;margin-top:12px;outline:0;outline-offset:0}.hamburgerMenu_hamburgerMenu__zKaBW,.hamburgerMenu_hamburgerMenu__zKaBW:after,.hamburgerMenu_hamburgerMenu__zKaBW:before{height:2px;width:20px}.hamburgerMenu_hamburgerMenu__zKaBW{background:var(--lineColorActive);position:relative;transform:translateY(7px);transition:all 0ms .3s}.hamburgerMenu_hamburgerMenu__zKaBW.hamburgerMenu_animate__CjZxq{background:#dfbdec00}.hamburgerMenu_hamburgerMenu__zKaBW:before{background:var(--lineColorActive);bottom:7px;content:"";left:0;position:absolute;transition:bottom .3s cubic-bezier(.23,1,.32,1) .3s,transform .3s cubic-bezier(.23,1,.32,1)}.hamburgerMenu_hamburgerMenu__zKaBW:after{background:var(--lineColorActive);content:"";left:0;position:absolute;top:7px;transition:top .3s cubic-bezier(.23,1,.32,1) .3s,transform .3s cubic-bezier(.23,1,.32,1)}.hamburgerMenu_hamburgerMenu__zKaBW.hamburgerMenu_animate__CjZxq:after{top:0;transform:rotate(45deg);transition:top .3s cubic-bezier(.23,1,.32,1),transform .3s cubic-bezier(.23,1,.32,1) .3s}.hamburgerMenu_hamburgerMenu__zKaBW.hamburgerMenu_animate__CjZxq:before{bottom:0;transform:rotate(-45deg);transition:bottom .3s cubic-bezier(.23,1,.32,1),transform .3s cubic-bezier(.23,1,.32,1) .3s}.hamburgerMenu_menu_conatiner_wrapper__9BkY3{display:none}:root.blue,:root.colored{--backgroundColor:rgba(48,82,129,.231);--lineColor:#4caaf47d;--lineColorHover:#ccceff;--lineColorActive:#4caaf4;--backgroundColorHumburger:rgba(67,106,147,.722);--colorBlock:#02124b;--colorBlockHover:rgba(2,18,75,.549);--colorInput:#02124b;--backgroundBlock:rgba(201,231,255,.671);--backgroundGlobalColor:#fff0;--backgroundMobile:rgba(4,28,53,.831);--debugColor:#c6511b}:root.dark{--backgroundColor:#1f1f1f3b;--lineColor:#f3f3f37d;--lineColorHover:#a0a0a0;--lineColorActive:#dedede;--backgroundColorHumburger:rgba(62,62,62,.722);--colorBlock:#080808;--colorBlockHover:rgba(8,8,8,.549);--colorInput:#ddd;--backgroundBlock:hsla(0,0%,76%,.671);--backgroundGlobalColor:#1c1c1ced;--backgroundMobile:rgba(4,3,3,.922);--debugColor:#c6511b}:root.light{--backgroundColor:rgba(49,49,49,.231);--lineColor:#0001257d;--lineColorHover:#a0a0a0;--lineColorActive:#07002f;--backgroundColorHumburger:rgba(51,53,66,.639);--colorBlock:#090929;--colorBlockHover:hsla(0,1%,78%,.549);--colorInput:#090929;--backgroundBlock:#000;--backgroundGlobalColor:hsla(0,0%,100%,.251);--backgroundMobile:rgba(180,178,199,.749);--debugColor:#c6511b} +/*# sourceMappingURL=184.7463f8b6.chunk.css.map*/ \ No newline at end of file diff --git a/admin/static/css/184.7463f8b6.chunk.css.map b/admin/static/css/184.7463f8b6.chunk.css.map new file mode 100644 index 000000000..6aeea8dd9 --- /dev/null +++ b/admin/static/css/184.7463f8b6.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/184.7463f8b6.chunk.css","mappings":"AAKA,UAHE,WAAY,CADZ,UAeF,CAXA,KAOE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAJZ,QAAS,CADT,eAAgB,CAEhB,SAQF,CAEA,0CACE,yBACF,CAEA,MAEE,WAAY,CADZ,UAEF,CACA,+BACE,UACF,CACA,qBACE,WACF,CAEA,mBAKE,qBAAuB,CAHvB,gBAAkB,CAElB,eAAiB,CADjB,WAGF,CAEA,qBACE,yBACF,CACA,uBACE,KACF,CAEA,0CACE,eACF,CAEA,mBACE,kBACF,CACA,uBACE,kBACF,CACA,uBACE,kBAAmB,CACnB,UACF,CACA,2BACE,kBAAmB,CACnB,UACF,CACA,sBACE,iBAKF,CACA,wCALE,iBAAkB,CAElB,qBAAuB,CACvB,eAAgB,CAFhB,oBAUF,CANA,kBACE,kBAKF,CC/EA,iBAEE,YAAa,CACb,kBAAmB,CAEnB,WAAY,CACZ,eAAgB,CALhB,iBAAkB,CAGlB,UAGF,CAEA,8BAEE,aAAc,CACd,aAAc,CAFd,iBAGF,CAEA,kDACE,aACF,C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AIJ,2CAKC,kCADA,UA/Ba,CA4Bb,WAEA,OADA,kBAIA,4FAGD,0CAKC,kCAJA,WAEA,OADA,kBAEA,OAxCa,CA0Cb,yFAGD,uEACC,MACA,wBACA,yFAGD,wEACC,SACA,yBACA,4FAED,6CACI,aCKJ,yBANQ,sCA1DQ,CA0DR,qBA1DQ,CA0DR,wBA1DQ,CA0DR,yBA1DQ,CA0DR,gDA1DQ,CA0DR,oBA1DQ,CA0DR,oCA1DQ,CA0DR,oBA1DQ,CA0DR,wCA1DQ,CA0DR,6BA1DQ,CA0DR,qCA1DQ,CA0DR,oBA1DQ,CAmEhB,WATQ,2BA9BM,CA8BN,qBA9BM,CA8BN,wBA9BM,CA8BN,yBA9BM,CA8BN,8CA9BM,CA8BN,oBA9BM,CA8BN,kCA9BM,CA8BN,iBA9BM,CA8BN,qCA9BM,CA8BN,iCA9BM,CA8BN,mCA9BM,CA8BN,oBA9BM,CA0Cd,YAZQ,qCAhBK,CAgBL,qBAhBK,CAgBL,wBAhBK,CAgBL,yBAhBK,CAgBL,8CAhBK,CAgBL,oBAhBK,CAgBL,qCAhBK,CAgBL,oBAhBK,CAgBL,sBAhBK,CAgBL,4CAhBK,CAgBL,yCAhBK,CAgBL,oBAhBK","sources":["index.css","../node_modules/react-splitter-layout/lib/index.css","Components/RulesEditor/style.module.scss","Components/RulesEditor/components/CardMenu/style.module.scss","Components/RulesEditor/components/CurrentItem/style.module.scss","Components/RulesEditor/components/GenericBlock/style.module.scss","Components/RulesEditor/components/CustomButton/style.module.scss","Components/RulesEditor/components/CustomCheckbox/style.module.scss","Components/RulesEditor/components/CustomInput/style.module.scss","Components/RulesEditor/components/CustomModal/style.module.scss","Components/RulesEditor/components/CustomSelect/style.module.scss","Components/RulesEditor/components/CustomSlider/style.module.scss","Components/RulesEditor/components/CustomSwitch/style.module.scss","Components/RulesEditor/components/CustomTime/style.module.scss","Components/RulesEditor/components/CustomDate/style.module.scss","Components/RulesEditor/components/ContentBlockItems/style.module.scss","Components/RulesEditor/components/DragWrapper/style.module.scss","Components/RulesEditor/components/Menu/style.module.scss","Components/RulesEditor/components/HamburgerMenu/hamburgerMenu.module.scss","Components/RulesEditor/helpers/stylesVariables.scss"],"sourcesContent":["html {\n width: 100%;\n height: 100%;\n}\n\nbody {\n overflow: hidden;\n margin: 0;\n padding: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n width: 100%;\n height: 100%;\n}\n\n.iobVerticalSplitter .layout-pane-primary {\n overflow: hidden !important;\n}\n\n#root {\n width: 100%;\n height: 100%;\n}\n#___reactour > div:first-of-type {\n opacity: 0.4;\n}\n.layout-pane-primary {\n height: 100%\n}\n\n.blocklyToolboxDiv {\n /*left: -180px !important;*/\n left: 0 !important;\n width: 180px;\n top: 0 !important;\n height: 100% !important;\n}\n\n.no-underline:before {\n border-bottom: 0 !important;\n}\n.monaco-aria-container {\n top: 0;\n}\n\n.iobVerticalSplitter .layout-pane-primary {\n overflow: hidden;\n}\n\n.monacoCurrentLine {\n background: #59fd8c;\n}\n.monacoCurrentLineDark {\n background: #165b2c;\n}\n.monacoCurrentFullLine {\n background: #cbffdc;\n opacity: 0.7;\n}\n.monacoCurrentFullLineDark {\n background: #0e3b1f;\n opacity: 0.7;\n}\n.monacoBreakPointDark {\n background: #800000;\n border-radius: 50%;\n width: 16px !important;\n height: 16px !important;\n margin-left: 4px;\n}\n.monacoBreakPoint {\n background: #d71a1a;\n border-radius: 50%;\n width: 16px !important;\n height: 16px !important;\n margin-left: 4px;\n}",".splitter-layout {\n position: absolute;\n display: flex;\n flex-direction: row;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.splitter-layout .layout-pane {\n position: relative;\n flex: 0 0 auto;\n overflow: auto;\n}\n\n.splitter-layout .layout-pane.layout-pane-primary {\n flex: 1 1 auto;\n}\n\n.splitter-layout > .layout-splitter {\n flex: 0 0 auto;\n width: 4px;\n height: 100%;\n cursor: col-resize;\n background-color: #ccc;\n}\n\n.splitter-layout .layout-splitter:hover {\n background-color: #bbb;\n}\n\n.splitter-layout.layout-changing {\n cursor: col-resize;\n}\n\n.splitter-layout.layout-changing > .layout-splitter {\n background-color: #aaa;\n}\n\n.splitter-layout.splitter-layout-vertical {\n flex-direction: column;\n}\n\n.splitter-layout.splitter-layout-vertical.layout-changing {\n cursor: row-resize;\n}\n\n.splitter-layout.splitter-layout-vertical > .layout-splitter {\n width: 100%;\n height: 4px;\n cursor: row-resize;\n}\n",".wrapperRules {\n background: linear-gradient(0deg, var(--backgroundGlobalColor), var(--backgroundGlobalColor)), url(\"../assets/back.jpg\");\n background-repeat: no-repeat;\n background-size: cover;\n height: 100%;\n display: flex;\n}\n.rootWrapper {\n display: flex;\n width: 100%;\n}\n.addClass {\n flex-direction: column;\n height: auto;\n overflow: auto;\n}\n@media screen and (max-width: 835px) {\n .rootWrapper {\n flex-direction: column;\n height: auto;\n overflow: auto;\n }\n}\n",".switchesItem {\n max-width: 200px;\n width: auto;\n display: flex;\n margin: 5px 0;\n padding: 12px 0;\n align-items: center;\n border: 1px solid rgba(255, 255, 255, 0);\n transition: all 0.7s;\n color: var(--colorInput);\n span {\n overflow: hidden;\n text-overflow: ellipsis;\n width: 100%;\n margin-left: 15px;\n color: var(--lineColorActive);\n white-space: nowrap;\n }\n &:hover {\n border: 1px solid var(--lineColor);\n color: var(--lineColorHover);\n border-radius: 6px;\n background: var(--backgroundColor);\n cursor: pointer;\n }\n}\n.switchesItemActive {\n border: 1px solid var(--lineColor);\n color: var(--lineColorHover);\n border-radius: 6px;\n background: var(--backgroundColor);\n cursor: pointer;\n}\n.iconTheme {\n width: 30px !important;\n height: 30px !important;\n margin-left: 5px;\n * {\n color: var(--lineColorActive) !important;\n }\n}\n",".cardStyle {\n cursor: pointer;\n position: relative;\n min-width: 200px;\n width: calc(100% - 72px);\n height: fit-content;\n min-height: 70px;\n display: flex;\n padding: 10px;\n margin: 23px 12px 4px 12px;\n align-items: center;\n background: #ffffff6b;\n border-radius: 4px;\n box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);\n}\n.cardStyleActive {\n width: 300px;\n z-index: 100;\n}\n.controlMenu {\n display: flex;\n position: absolute;\n right: -31px;\n width: 30px;\n height: 100%;\n transition: opacity 0.5s;\n}\n.closeBtn {\n width: 20px;\n height: 20px;\n border-radius: 20px;\n position: relative;\n z-index: 1;\n margin: 5px auto;\n cursor: pointer;\n &:before {\n content: \"+\";\n color: #f7060684;\n position: absolute;\n z-index: 2;\n transform: rotate(45deg);\n font-size: 30px;\n line-height: 1;\n top: -6px;\n left: 2px;\n transition: all 0.3s cubic-bezier(0.77, 0, 0.2, 0.85);\n }\n &:after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 100%;\n background: var(--backgroundColorHumburger);\n z-index: 1;\n transition: all 0.3s cubic-bezier(0.77, 0, 0.2, 0.85);\n transform: scale(0.01);\n }\n &:hover:after {\n transform: scale(1);\n }\n &:hover:before {\n transform: scale(0.8) rotate(45deg);\n color: #fff;\n }\n}\n.isDelete {\n height: 0;\n min-height: 0;\n overflow: hidden;\n padding: 0 10px;\n margin: 0 12px 0 12px;\n transition: all 0.25s;\n background: rgb(255, 255, 255);\n opacity: 0.8;\n box-shadow: 0 0 10px rgb(106 204 255);\n}\n@media screen and (max-width: 835px) {\n .controlMenu {\n opacity: 1 !important;\n }\n}\n.drag_mobile {\n display: none;\n}\n@media screen and (max-width: 600px) {\n .drag_mobile {\n display: flex;\n width: 30px;\n height: 20px;\n background: repeating-linear-gradient(\n 180deg,\n var(--lineColorActive),\n var(--lineColorActive) 4px,\n var(--backgroundColorHumburger) 4px,\n var(--backgroundColorHumburger) 8px\n );\n border: 1px solid var(--lineColorActive);\n border-radius: 5px 0 0 0;\n position: absolute;\n top: 0;\n left: 0;\n cursor: pointer;\n }\n}\n","@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 1% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n\n.cardStyle {\n cursor: pointer;\n position: relative;\n min-width: 200px;\n width: calc(100% - 72px);\n height: fit-content;\n min-height: 70px;\n display: flex;\n padding: 10px;\n margin: 23px 12px 4px 12px;\n align-items: center;\n background: var(--backgroundBlock);\n border-radius: 4px;\n box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),\n 0 1px 3px 0 rgba(0, 0, 0, 0.12);\n}\n.nameCard {\n margin-top: 0;\n font-size: 19px;\n color: var(--colorBlock);\n font-weight: 500;\n}\n.cardStyleActive {\n width: 300px;\n z-index: 100;\n}\n.iconThemCard {\n width: 40px !important;\n height: 40px !important;\n margin-left: 5px;\n * {\n color: var(--colorBlock) !important;\n }\n}\n.iconThemCardSelectable {\n cursor: pointer;\n}\n.iconHelp {\n color: var(--colorBlock) !important;\n position: absolute !important;\n top: 0;\n right: 5px;\n}\n.inputCard {\n margin-top: 10px !important;\n}\n.blockName {\n margin-left: 10px;\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n}\n.controlMenu {\n display: flex;\n position: absolute;\n right: -31px;\n width: 30px;\n height: 100%;\n transition: opacity 0.5s;\n}\n.closeBtn {\n width: 20px;\n height: 20px;\n border-radius: 20px;\n position: relative;\n z-index: 1;\n margin: 5px auto;\n cursor: pointer;\n &:before {\n content: \"+\";\n color: #f7060684;\n position: absolute;\n z-index: 2;\n transform: rotate(45deg);\n font-size: 30px;\n line-height: 1;\n top: -6px;\n left: 2px;\n transition: all 0.3s cubic-bezier(0.77, 0, 0.2, 0.85);\n }\n &:after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 100%;\n background: #994e9e7d;\n z-index: 1;\n transition: all 0.3s cubic-bezier(0.77, 0, 0.2, 0.85);\n transform: scale(0.01);\n }\n &:hover:after {\n transform: scale(1);\n }\n &:hover:before {\n transform: scale(0.8) rotate(45deg);\n color: #fff;\n }\n}\n.controlMenuTop {\n display: flex;\n position: absolute;\n left: 0;\n width: 100%;\n overflow: hidden;\n transition: opacity 0.5s, height 0.5s, top 0.5s;\n}\n.debugInfo {\n font-size: 12px;\n font-style: italic;\n color: var(--debugColor);\n position: absolute;\n display: flex;\n opacity: 0;\n animation: fadeIn 0.3s ease-out;\n}\n.tagCard {\n text-align: center;\n color: var(--lineColorActive);\n min-width: 100px;\n padding: 0 2px;\n height: 22px;\n background: var(--backgroundColorHumburger);\n border-radius: 5px 5px 0 0;\n position: relative;\n margin-left: auto;\n margin-right: 8px;\n cursor: pointer;\n border-top: 1px solid var(--lineColor);\n border-left: 1px solid var(--lineColor);\n border-right: 1px solid var(--lineColor);\n font-size: 12px;\n padding-top: 2px;\n}\n.displayFlex {\n display: flex;\n align-items: center;\n}\n.blockMarginTop,\n.nameBlock {\n margin-top: 7px;\n}\n.frontText {\n margin-right: 7px;\n min-width: 80px;\n display: inline-table;\n}\n.backText {\n margin-left: 7px;\n}\n.iconTag {\n font-size: 40px;\n color: var(--colorBlock);\n display: flex;\n align-items: center;\n min-width: 40px;\n margin-bottom: 10px;\n margin-left: 12px;\n}\n.displayItalic {\n font-style: italic;\n font-size: 11px;\n margin-top: 0;\n}\n",".root {\n color: var(--colorBlock) !important;\n border-color: var(--colorBlock) !important;\n &:hover {\n border-color: var(--colorBlockHover) !important;\n color: var(--colorBlockHover) !important;\n background-color: inherit !important;\n }\n}\n.square{\n min-width: auto !important;\n padding: 6px 16px !important;\n}\n.icon {\n width: 24px;\n height: 24px;\n}",".root {\n * {\n color: var(--colorBlock) !important;\n }\n}\n",".root {\n background: var(--backgroundColorHumburger);\n border-radius: 5px;\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n * {\n color: var(--colorInput) !important;\n }\n [class*=\"MuiInputLabel-shrink\"] {\n color: var(--colorBlock) !important;\n }\n [class*=\"MuiInput-underline\"] {\n :after {\n border-bottom-color: var(--lineColor) !important;\n }\n }\n &:hover {\n [class*=\"MuiOutlinedInput-notchedOutline\"] {\n border-color: var(--lineColor) !important;\n }\n }\n [class*=\"MuiOutlinedInput-notchedOutline\"] {\n border-color: var(--lineColor) !important;\n &:hover {\n border-color: var(--lineColor) !important;\n }\n [class*=\"Mui-focused\"] {\n border-color: var(--lineColor) !important;\n }\n [class*=\"Mui-disabled\"] {\n border-color: var(--lineColor) !important;\n }\n }\n}\n\n.icon {\n\n}\n",".modalContentWrapper {\n margin: 20px 0;\n padding: 0 35px;\n overflow-x: hidden;\n min-width: 320px;\n}\n.modalButtonBlock {\n display: flex;\n justify-content: flex-end;\n margin-top: 20px;\n flex-flow: wrap;\n border-top: 1px solid var(--lineColorActive);\n border-color: var(--lineColorActive);\n background: var(--backgroundColorHumburger);\n border-radius: 3px;\n & button {\n color: var(--lineColorActive) !important;\n flex: 1;\n }\n}\n.modalButtonBlockTwo {\n justify-content: space-around;\n flex-flow: wrap-reverse;\n position: sticky;\n bottom: 0;\n & button {\n margin: 5px;\n }\n}\n.modalWrapper {\n /*position: relative;*/\n [class*=\"MuiPaper-root MuiDialog-paper MuiPaper-elevation24 MuiDialog-paperScrollPaper MuiDialog-paperWidthXl MuiPaper-elevation24 MuiPaper-rounded\"] {\n background-color: #f6f6f6;\n }\n}\n.modalDialog {\n min-width: 400px;\n}\n.close {\n position: absolute;\n right: -14px;\n top: -16px;\n width: 32px;\n height: 32px;\n opacity: 0.9;\n cursor: pointer;\n transition: all 0.6s ease;\n &:hover {\n transform: rotate(90deg);\n }\n &:before {\n position: absolute;\n left: 15px;\n content: \"\";\n height: 33px;\n width: 4px;\n background-color: #ff4f4f;\n transform: rotate(45deg);\n }\n &:after {\n position: absolute;\n left: 15px;\n content: \"\";\n height: 33px;\n width: 4px;\n background-color: #ff4f4f;\n transform: rotate(-45deg);\n }\n}\n@media screen and (max-width: 460px) {\n .modalContentWrapper {\n min-width: auto;\n }\n}\n",".root {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n max-width: 440px;\n * {\n color: var(--colorBlock) !important;\n }\n [class*=\"MuiInputLabel-shrink\"] {\n color: var(--colorBlock) !important;\n }\n [class*=\"MuiInput-underline\"] {\n &:after {\n border-bottom-color: var(--lineColor) !important;\n }\n &:before {\n border-bottom-color: var(--lineColor) !important;\n }\n &:hover {\n &:before {\n border-bottom-color: var(--lineColor) !important;\n }\n }\n }\n}\n",".root {\n color: var(--lineColorActive) !important;\n height: 8px !important;\n [class*=\"MuiSlider-rail\"] {\n height: 8px !important;\n border-radius: 4px;\n }\n [class*=\"MuiSlider-track\"] {\n height: 8px !important;\n border-radius: 4px;\n }\n [class*=\"MuiSlider-valueLabel\"] {\n left: calc(-50% + 4px);\n }\n [class*=\"MuiSlider-thumb\"] {\n height: 24px;\n width: 24px;\n background-color: var(--colorBlock);\n border: 2px solid currentColor;\n margin-top: -8px;\n margin-left: -12px;\n &:focus,\n &:hover,\n &[class*=\"MuiSlider-active\"] {\n box-shadow: inherit !important;\n }\n }\n .mark {\n background-color: #00000000 !important;\n }\n}\n\n",".root {\n * {\n color: var(--colorBlock) !important;\n }\n [class*=\"Mui-checked\"] {\n color: var(--lineColor) !important;\n }\n [class*=\"Mui-checked\"] + [class*=\"MuiSwitch-track\"] {\n background-color: var(--lineColor) !important;\n }\n}\n",".root {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n * {\n color: var(--colorBlock) !important;\n }\n [class*=\"MuiInputLabel-shrink\"] {\n color: var(--colorBlock) !important;\n }\n [class*=\"MuiInput-underline\"] {\n &:after {\n border-bottom-color: var(--lineColor) !important;\n }\n &:before {\n border-bottom-color: var(--lineColor) !important;\n }\n &:hover {\n &:before {\n border-bottom-color: var(--lineColor) !important;\n }\n }\n }\n}\n",".root {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n * {\n color: var(--colorBlock) !important;\n }\n [class*=\"MuiInputLabel-shrink\"] {\n color: var(--colorBlock) !important;\n }\n [class*=\"MuiInput-underline\"] {\n &:after {\n border-bottom-color: var(--lineColor) !important;\n }\n &:before {\n border-bottom-color: var(--lineColor) !important;\n }\n &:hover {\n &:before {\n border-bottom-color: var(--lineColor) !important;\n }\n }\n }\n}\n",".border {\n border-left: 1px solid var(--lineColor);\n border-right: 1px solid var(--lineColor);\n}\n.emptyBlockStyle {\n cursor: pointer;\n width: auto;\n background: #ffffff1f;\n display: flex;\n // padding: 10px;\n margin: 10px 40px 10px 10px;\n align-items: center;\n border-radius: 4px;\n // transition: height 0.2s;\n}\n.emptyBlock {\n padding: 10px;\n // height: 76px;\n margin-top: 10px;\n animation: marginTop 0.12s;\n // transition: margin-top 0.1s;\n}\n.selectOnChange {\n margin-left: 12px;\n color: var(--lineColor) !important;\n width: calc(100% - 42px);\n}\n.selectOnChangeHelp {\n color: var(--lineColor);\n vertical-align: middle;\n cursor: pointer;\n}\n.selectOnChangeHelpIcon {\n color: var(--lineColor);\n}\n@keyframes marginTop {\n 0% {\n padding: 0;\n margin-top: 70px;\n height: 0;\n }\n 100% {\n padding: 10px;\n margin-top: 10px;\n // height: 100%;\n }\n}\n.emptyBlockNone {\n height: 0;\n animation: none;\n transition: height 0.02s;\n}\n\n.mainBlockItemRules {\n display: flex;\n flex: 1 3;\n flex-direction: column;\n transition: all 0.5s;\n z-index: 9;\n overflow: auto;\n .nameBlockItems {\n color: var(--lineColor);\n margin-top: 10px;\n width: 100%;\n display: flex;\n height: fit-content;\n justify-content: center;\n align-items: center;\n }\n}\n.contentBlockItem {\n height: 100%;\n display: flex;\n flex-direction: column;\n overflow: auto;\n transition: height 0.3s, background 0.5s;\n}\n\n.wrapperMargin {\n margin: auto 0;\n display: flex;\n flex-direction: column;\n}\n.contentHeightOn {\n animation: heightBlock 0.3s;\n}\n@keyframes heightBlock {\n 0% {\n height: 0;\n }\n 100% {\n height: 100%;\n }\n}\n.contentHeightOff {\n height: 0;\n overflow: hidden;\n animation: none;\n}\n.cardAdd {\n display: flex;\n align-items: center;\n text-align: center;\n margin: 0 10px;\n width: 100%;\n color: var(--lineColor);\n &::after,\n &::before {\n content: \"\";\n flex: 1;\n border-bottom: 1px solid;\n }\n &::after {\n margin-left: 0.25em;\n }\n &::before {\n margin-right: 0.25em;\n }\n}\n.blockCardAdd {\n display: flex;\n padding: 0 10px 6px 10px;\n align-items: center;\n color: white;\n cursor: pointer;\n * {\n color: #ffffffb3;\n }\n}\n.addClassOverflow {\n overflow: initial;\n}\n.addClassHeight {\n min-height: 300px;\n}\n@media screen and (max-width: 835px) {\n .mainBlockItemRules {\n overflow: initial;\n }\n .contentBlockItem {\n min-height: 300px;\n }\n .contentHeightOff {\n min-height: 0;\n transition: min-height 0.3s;\n }\n .contentHeightOn {\n transition: min-height 0.3s;\n }\n .border {\n border-left: initial;\n border-right: initial;\n }\n}\n",".drag {\n width: 32px;\n height: 22px;\n position: absolute;\n top: 23px;\n left: 12px;\n z-index: 1;\n cursor: pointer;\n}\n.root {\n position: relative;\n}\n",".menuRules {\n width: 200px;\n display: flex;\n flex-direction: column;\n background: var(--backgroundColor);\n border-right: 1px solid var(--lineColor);\n padding: 10px;\n opacity: 1;\n overflow-x: hidden;\n transition: width 0.5s, opacity 0.2s, padding 0.5s, background 0.2s, border-right 0.2s;\n}\n.switchesRenderWrapper {\n overflow-x: hidden;\n overflow-y: auto;\n direction: rtl;\n span {\n direction: ltr;\n }\n}\n.menuOff {\n width: 0;\n opacity: 0;\n padding: 0;\n}\n.menuTitle {\n display: flex;\n align-items: center;\n text-align: center;\n color: var(--lineColor);\n white-space: nowrap;\n transition: color 0.2s;\n &::after,\n &::before {\n content: \"\";\n flex: 1;\n border-bottom: 1px solid;\n }\n}\n.marginAuto {\n margin-top: auto;\n margin-bottom: 20px;\n}\n.inputWidth {\n margin-top: 0 !important;\n margin-bottom: 5px !important;\n}\n.menuWrapper {\n display: flex;\n height: 100%;\n}\n.hamburgerWrapper {\n position: absolute;\n width: 32px;\n height: 26px;\n background: var(--backgroundColorHumburger);\n border-radius: 0 5px 5px 0;\n display: flex;\n justify-content: center;\n padding-top: 10px;\n left: 221px;\n top: 30px;\n border: 1px solid var(--lineColor);\n cursor: pointer;\n transition: left 0.5s, border-radius 0.7s, width 0.7s, height 0.7s, background 0.2s, border 0.2s;\n z-index: 10;\n}\n.hamburgerOff {\n left: 20px;\n padding-top: 12px;\n border-radius: 20px;\n width: 40px;\n height: 28px;\n}\n.nothingFound {\n color: var(--lineColor);\n margin: 16px;\n font-size: 21px;\n transition: color 0.2s;\n}\n.resetSearch {\n font-weight: bold;\n color: var(--lineColor);\n cursor: pointer;\n margin: 10px 0;\n transition: color 0.3s, font-size 0.3s;\n &:hover {\n color: var(--lineColorHover);\n font-size: 22px;\n }\n}\n.controlPanel {\n display: flex;\n align-items: center;\n width: 200px;\n button {\n width: calc(100% / 3);\n min-width: auto;\n color: var(--lineColor);\n transition: color 0.2s;\n }\n .controlPanelAppBar {\n background: none;\n box-shadow: none;\n }\n [class*=\"Mui-selected\"] {\n color: var(--lineColorActive) !important;\n }\n [class*=\"MuiTabs-indicator\"] {\n background-color: var(--lineColorActive);\n }\n [class*=\"Mui-disabled\"] {\n color: #210025cc !important;\n }\n}\n.addClassMenu {\n position: absolute;\n z-index: 12;\n top: 0;\n}\n.addClassBackground {\n background: var(--backgroundMobile);\n}\n.addClassPosition {\n position: sticky;\n top: 0;\n left: 0;\n z-index: 2222;\n}\n@media screen and (max-width: 1035px) {\n .menuWrapper {\n position: absolute;\n z-index: 12;\n top: 0;\n }\n .menuRules {\n background: var(--backgroundMobile);\n }\n}\n@media screen and (max-width: 835px) {\n .menuRules {\n position: sticky;\n top: 0;\n left: 0;\n z-index: 2222;\n }\n}\n","$bar-width: 20px;\n$bar-height: 2px;\n$bar-spacing: 7px;\n\n.menu_wrapper {\n outline: 0;\n outline-offset: 0;\n margin-top: 12px;\n\tcursor: pointer;\n}\n\n.hamburgerMenu,\n.hamburgerMenu:after,\n.hamburgerMenu:before {\n width: $bar-width;\n\theight: $bar-height;\n}\n\n.hamburgerMenu {\n\tposition: relative;\n\ttransform: translateY($bar-spacing);\n\tbackground: var(--lineColorActive);\n\ttransition: all 0ms 300ms;\n \n &.animate {\n background: #dfbdec00; \n }\n}\n\n.hamburgerMenu:before {\n\tcontent: \"\";\n\tposition: absolute;\n\tleft: 0;\n\tbottom: $bar-spacing;\n\tbackground: var(--lineColorActive);\n\ttransition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.hamburgerMenu:after {\n\tcontent: \"\";\n\tposition: absolute;\n\tleft: 0;\n\ttop: $bar-spacing;\n\tbackground: var(--lineColorActive);\n\ttransition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.hamburgerMenu.animate:after {\n\ttop: 0;\n\ttransform: rotate(45deg);\n\ttransition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);;\n}\n\n.hamburgerMenu.animate:before {\n\tbottom: 0;\n\ttransform: rotate(-45deg);\n\ttransition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);;\n}\n.menu_conatiner_wrapper{\n display: none;\n}\n","$themeStandard: (\n --backgroundColor: #3052813b,\n --lineColor: #4caaf47d,\n --lineColorHover: #ccceff,\n --lineColorActive: #4caaf4,\n --backgroundColorHumburger: #436a93b8,\n --colorBlock: #02124b,\n --colorBlockHover: #02124b8c,\n --colorInput: #02124b,\n --backgroundBlock: #c9e7ffab,\n --backgroundGlobalColor: #ffffff00,\n --backgroundMobile: #041c35d4,\n --debugColor: #c6511b\n);\n$themeGreen: (\n --backgroundColor: #3081333b,\n --lineColor: #4cf4577d,\n --lineColorHover: #cdffcc,\n --lineColorActive: #4ff44c,\n --backgroundColorHumburger: #439346b8,\n --colorBlock: #024b04,\n --colorBlockHover: #024b048c,\n --colorInput: #024b04,\n --backgroundBlock: #c9ffcfab,\n --backgroundGlobalColor: #51ff001b,\n --backgroundMobile: #3081333b,\n --debugColor: #c6511b\n);\n$themeSilver: (\n --backgroundColor: rgba(31, 31, 31, 0.23),\n --lineColor: #f3f3f37d,\n --lineColorHover: #a0a0a0,\n --lineColorActive: #dedede,\n --backgroundColorHumburger: #3e3e3eb8,\n --colorBlock: #080808,\n --colorBlockHover: #0808088c,\n --colorInput: #ddd,\n --backgroundBlock: #c1c1c1ab,\n --backgroundGlobalColor: rgba(28, 28, 28, 0.93),\n --backgroundMobile: #040303eb,\n --debugColor: #c6511b\n);\n$themeLight: (\n --backgroundColor: #3131313b,\n --lineColor: #0001257d,\n --lineColorHover: #a0a0a0,\n --lineColorActive: #07002f,\n --backgroundColorHumburger: #333542a3,\n --colorBlock: #090929,\n --colorBlockHover: #c7c6c68c,\n --colorInput: #090929,\n --backgroundBlock: #000000,\n --backgroundGlobalColor: #ffffff40,\n --backgroundMobile: #b4b2c7bf,\n --debugColor: #c6511b\n);\n@mixin spread-map($map: ()) {\n @each $key, $value in $map {\n #{$key}: $value;\n }\n}\n:root.blue {\n @include spread-map($themeStandard);\n}\n:root.colored {\n @include spread-map($themeStandard);\n}\n:root.dark {\n @include spread-map($themeSilver);\n}\n:root.light {\n @include spread-map($themeLight);\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/admin/static/js/146.6a8cfa64.chunk.js b/admin/static/js/146.6a8cfa64.chunk.js new file mode 100644 index 000000000..b55f1af2f --- /dev/null +++ b/admin/static/js/146.6a8cfa64.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 146.6a8cfa64.chunk.js.LICENSE.txt */ +"use strict";(self.webpackChunkjs=self.webpackChunkjs||[]).push([[146,765],{73373:(e,t,r)=>{var n=r(42123),o=60103,u=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,a=60110,c=60112;t.Suspense=60113;var f=60115,l=60116;if("function"===typeof Symbol&&Symbol.for){var s=Symbol.for;o=s("react.element"),u=s("react.portal"),t.Fragment=s("react.fragment"),t.StrictMode=s("react.strict_mode"),t.Profiler=s("react.profiler"),i=s("react.provider"),a=s("react.context"),c=s("react.forward_ref"),t.Suspense=s("react.suspense"),f=s("react.memo"),l=s("react.lazy")}var p="function"===typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r{e.exports=r(73373)},42123:e=>{var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var u,i,a=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c{n.d(t,{A:()=>l});var r=n(58168),o=n(28437),i=(n(95973),n(59887)),a=n(18959),s=n(18590),c=n(70579);const l=function(e){const{children:t,theme:n}=e,l=(0,a.A)(),u=o.useMemo((()=>{const e=null===l?n:function(e,t){if("function"===typeof t)return t(e);return(0,r.A)({},e,t)}(l,n);return null!=e&&(e[s.A]=null!==l),e}),[n,l]);return(0,c.jsx)(i.A.Provider,{value:u,children:t})}},18590:(e,t,n)=>{n.d(t,{A:()=>r});const r="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},59887:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(28437);const o=r.createContext(null)},18959:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(28437),o=n(59887);function i(){return r.useContext(o.A)}},17872:(e,t,n)=>{n.d(t,{A:()=>a});n(28437),n(95973);var r=n(70869),o=n(45527),i=n(70579);const a=function(e){let{styles:t,themeId:n,defaultTheme:a={}}=e;const s=(0,o.A)(a),c="function"===typeof t?t(n&&s[n]||s):t;return(0,i.jsx)(r.A,{styles:c})}},10875:(e,t,n)=>{n.d(t,{A:()=>u,I:()=>l});var r=n(58168),o=n(98587),i=n(28437),a=(n(95973),n(70579));const s=["value"],c=i.createContext();const l=()=>{const e=i.useContext(c);return null!=e&&e},u=function(e){let{value:t}=e,n=(0,o.A)(e,s);return(0,a.jsx)(c.Provider,(0,r.A)({value:null==t||t},n))}},78296:(e,t,n)=>{n.d(t,{A:()=>A});var r=n(98587),o=n(58168),i=n(28437),a=(n(95973),n(58387)),s=n(43216),c=n(32400),l=n(68606),u=n(79644),f=n(52900),d=n(18698),p=n(80315),h=n(89751),m=n(28604),v=n(70579);const y=["component","direction","spacing","divider","children","className","useFlexGap"],g=(0,p.A)(),b=(0,u.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function x(e){return(0,f.A)({props:e,name:"MuiStack",defaultTheme:g})}function w(e,t){const n=i.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o{let{ownerState:t,theme:n}=e,r=(0,o.A)({display:"flex",flexDirection:"column"},(0,h.NI)({theme:n},(0,h.kW)({values:t.direction,breakpoints:n.breakpoints.values}),(e=>({flexDirection:e}))));if(t.spacing){const e=(0,m.LX)(n),o=Object.keys(n.breakpoints.values).reduce(((e,n)=>(("object"===typeof t.spacing&&null!=t.spacing[n]||"object"===typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e)),{}),i=(0,h.kW)({values:t.direction,base:o}),a=(0,h.kW)({values:t.spacing,base:o});"object"===typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));const c=(n,r)=>{return t.useFlexGap?{gap:(0,m._W)(e,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{["margin".concat((o=r?i[r]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]))]:(0,m._W)(e,n)}};var o};r=(0,s.A)(r,(0,h.NI)({theme:n},a,c))}return r=(0,h.iZ)(n.breakpoints,r),r};function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{createStyledComponent:t=b,useThemeProps:n=x,componentName:s="MuiStack"}=e,u=t(S);return i.forwardRef((function(e,t){const i=n(e),f=(0,d.A)(i),{component:p="div",direction:h="column",spacing:m=0,divider:g,children:b,className:x,useFlexGap:S=!1}=f,A=(0,r.A)(f,y),E={direction:h,spacing:m,useFlexGap:S},O=(0,l.A)({root:["root"]},(e=>(0,c.Ay)(s,e)),{});return(0,v.jsx)(u,(0,o.A)({as:p,ownerState:E,ref:t,className:(0,a.A)(O.root,x)},A,{children:g?w(b,g):b}))}))}},38548:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(58168),o=n(28437),i=(n(95973),n(18959)),a=n(10789),s=n(55756),c=n(67082),l=n(10875),u=n(70579);const f={};function d(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return o.useMemo((()=>{const o=e&&t[e]||t;if("function"===typeof n){const a=n(o),s=e?(0,r.A)({},t,{[e]:a}):a;return i?()=>s:s}return e?(0,r.A)({},t,{[e]:n}):(0,r.A)({},t,n)}),[e,t,n,i])}const p=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,c.A)(f),p=(0,i.A)()||f,h=d(r,o,n),m=d(r,p,n,!0),v="rtl"===h.direction;return(0,u.jsx)(a.A,{theme:m,children:(0,u.jsx)(s.T.Provider,{value:h,children:(0,u.jsx)(l.A,{value:v,children:t})})})}},90310:(e,t,n)=>{n.d(t,{Cg:()=>m,E2:()=>a,J1:()=>d,Me:()=>c,Nd:()=>y,Ob:()=>u,X0:()=>l,X4:()=>h,Y9:()=>w,YL:()=>f,a:()=>g,e$:()=>v,eM:()=>p,j4:()=>b,rP:()=>s,tL:()=>x});var r=n(6632),o=n(47040);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,o.A)(e,t,n)}function a(e){e=e.slice(1);const t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(a(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.A)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.A)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}const c=(e,t)=>{try{return(e=>{const t=s(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?"".concat(e,"%"):e)).join(" ")})(e)}catch(n){return e}};function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function u(e){if(0===e.indexOf("#"))return e;const{values:t}=s(e);return"#".concat(t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?"0".concat(t):t}(3===t?Math.round(255*e):e))).join(""))}function f(e){e=s(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let c="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}function d(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(f(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){const n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function h(e,t){return e=s(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,l(e)}function m(e,t,n){try{return h(e,t)}catch(r){return e}}function v(e,t){if(e=s(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function y(e,t,n){try{return v(e,t)}catch(r){return e}}function g(e,t){if(e=s(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function b(e,t,n){try{return g(e,t)}catch(r){return e}}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return d(e)>.5?v(e,t):g(e,t)}function w(e,t,n){try{return x(e,t)}catch(r){return e}}},30920:(e,t,n)=>{n.d(t,{Ay:()=>g,MC:()=>d});var r=n(58168),o=n(98587),i=n(54984),a=n(43216),s=n(80315),c=n(58812);const l=["ownerState"],u=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const p=(0,s.A)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m(e){let{defaultTheme:t,theme:n,themeId:r}=e;return o=n,0===Object.keys(o).length?t:n[r]||n;var o}function v(e){return e?(t,n)=>n[e]:null}function y(e,t){let{ownerState:n}=t,i=(0,o.A)(t,l);const a="function"===typeof e?e((0,r.A)({ownerState:n},i)):e;if(Array.isArray(a))return a.flatMap((e=>y(e,(0,r.A)({ownerState:n},i))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,o.A)(a,u);return e.forEach((e=>{let o=!0;"function"===typeof e.props?o=e.props((0,r.A)({ownerState:n},i,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&i[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,r.A)({ownerState:n},i,n)):e.style))})),t}return a}function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=p,rootShouldForwardProp:s=d,slotShouldForwardProp:l=d}=e,u=e=>(0,c.A)((0,r.A)({},e,{theme:m((0,r.A)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,function(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:g,skipVariantsResolver:b,skipSx:x,overridesResolver:w=v(h(g))}=c,S=(0,o.A)(c,f),A=void 0!==b?b:g&&"Root"!==g&&"root"!==g||!1,E=x||!1;let O=d;"Root"===g||"root"===g?O=s:g?O=l:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(O=void 0);const k=(0,i.default)(e,(0,r.A)({shouldForwardProp:O,label:undefined},S)),C=e=>"function"===typeof e&&e.__emotion_real!==e||(0,a.Q)(e)?o=>y(e,(0,r.A)({},o,{theme:m({theme:o.theme,defaultTheme:n,themeId:t})})):e,j=function(o){let i=C(o);for(var a=arguments.length,s=new Array(a>1?a-1:0),c=1;c{const o=m((0,r.A)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[p]||!o.components[p].styleOverrides)return null;const i=o.components[p].styleOverrides,a={};return Object.entries(i).forEach((t=>{let[n,i]=t;a[n]=y(i,(0,r.A)({},e,{theme:o}))})),w(e,a)})),p&&!A&&l.push((e=>{var o;const i=m((0,r.A)({},e,{defaultTheme:n,themeId:t}));return y({variants:null==i||null==(o=i.components)||null==(o=o[p])?void 0:o.variants},(0,r.A)({},e,{theme:i}))})),E||l.push(u);const f=l.length-s.length;if(Array.isArray(o)&&f>0){const e=new Array(f).fill("");i=[...o,...e],i.raw=[...o.raw,...e]}const d=k(i,...l);return e.muiName&&(d.muiName=e.muiName),d};return k.withConfig&&(j.withConfig=k.withConfig),j}}},3358:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(58168),o=n(98587),i=n(6632),a=n(28437),s=(n(95973),n(43216)),c=n(70869),l=n(18959),u=n(38548),f=n(70579);const d="mode",p="color-scheme",h="data-color-scheme";function m(e){if("undefined"!==typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function v(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function y(e,t){if("undefined"===typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(r){}return n||t}function g(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:o,supportedColorSchemes:i=[],modeStorageKey:s=d,colorSchemeStorageKey:c=p,storageWindow:l=("undefined"===typeof window?void 0:window)}=e,u=i.join(","),[f,h]=a.useState((()=>{const e=y(s,t),r=y("".concat(c,"-light"),n),i=y("".concat(c,"-dark"),o);return{mode:e,systemMode:m(e),lightColorScheme:r,darkColorScheme:i}})),g=function(e){return v(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(f),b=a.useCallback((e=>{h((n=>{if(e===n.mode)return n;const o=null!=e?e:t;try{localStorage.setItem(s,o)}catch(i){}return(0,r.A)({},n,{mode:o,systemMode:m(o)})}))}),[s,t]),x=a.useCallback((e=>{e?"string"===typeof e?e&&!u.includes(e)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):h((t=>{const n=(0,r.A)({},t);return v(t,(t=>{try{localStorage.setItem("".concat(c,"-").concat(t),e)}catch(r){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):h((t=>{const i=(0,r.A)({},t),a=null===e.light?n:e.light,s=null===e.dark?o:e.dark;if(a)if(u.includes(a)){i.lightColorScheme=a;try{localStorage.setItem("".concat(c,"-light"),a)}catch(l){}}else console.error("`".concat(a,"` does not exist in `theme.colorSchemes`."));if(s)if(u.includes(s)){i.darkColorScheme=s;try{localStorage.setItem("".concat(c,"-dark"),s)}catch(l){}}else console.error("`".concat(s,"` does not exist in `theme.colorSchemes`."));return i})):h((e=>{try{localStorage.setItem("".concat(c,"-light"),n),localStorage.setItem("".concat(c,"-dark"),o)}catch(t){}return(0,r.A)({},e,{lightColorScheme:n,darkColorScheme:o})}))}),[u,c,n,o]),w=a.useCallback((e=>{"system"===f.mode&&h((t=>{const n=null!=e&&e.matches?"dark":"light";return t.systemMode===n?t:(0,r.A)({},t,{systemMode:n})}))}),[f.mode]),S=a.useRef(w);return S.current=w,a.useEffect((()=>{const e=function(){return S.current(...arguments)},t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[]),a.useEffect((()=>{if(l){const e=e=>{const n=e.newValue;"string"!==typeof e.key||!e.key.startsWith(c)||n&&!u.match(n)||(e.key.endsWith("light")&&x({light:n}),e.key.endsWith("dark")&&x({dark:n})),e.key!==s||n&&!["light","dark","system"].includes(n)||b(n||t)};return l.addEventListener("storage",e),()=>{l.removeEventListener("storage",e)}}}),[x,b,s,c,u,t,l]),(0,r.A)({},f,{colorScheme:g,setMode:b,setColorScheme:x})}const b=["colorSchemes","components","generateCssVars","cssVarPrefix"],x="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function w(e){const{themeId:t,theme:n={},attribute:m=h,modeStorageKey:v=d,colorSchemeStorageKey:y=p,defaultMode:w="light",defaultColorScheme:S,disableTransitionOnChange:A=!1,resolveTheme:E,excludeVariablesFromRoot:O}=e;(!n.colorSchemes||"string"===typeof S&&!n.colorSchemes[S]||"object"===typeof S&&!n.colorSchemes[null==S?void 0:S.light]||"object"===typeof S&&!n.colorSchemes[null==S?void 0:S.dark])&&console.error("MUI: `".concat(S,"` does not exist in `theme.colorSchemes`."));const k=a.createContext(void 0);const C="string"===typeof S?S:S.light,j="string"===typeof S?S:S.dark;return{CssVarsProvider:function(e){const{children:i,theme:d=n,modeStorageKey:p=v,colorSchemeStorageKey:h=y,attribute:C=m,defaultMode:j=w,defaultColorScheme:M=S,disableTransitionOnChange:T=A,storageWindow:D=("undefined"===typeof window?void 0:window),documentNode:R=("undefined"===typeof document?void 0:document),colorSchemeNode:I=("undefined"===typeof document?void 0:document.documentElement),colorSchemeSelector:L=":root",disableNestedContext:N=!1,disableStyleSheetGeneration:P=!1}=e,W=a.useRef(!1),V=(0,l.A)(),_=a.useContext(k),F=!!_&&!N,B=d[t],H=B||d,{colorSchemes:K={},components:q={},generateCssVars:U=(()=>({vars:{},css:{}})),cssVarPrefix:G}=H,X=(0,o.A)(H,b),z=Object.keys(K),Y="string"===typeof M?M:M.light,$="string"===typeof M?M:M.dark,{mode:J,setMode:Q,systemMode:Z,lightColorScheme:ee,darkColorScheme:te,colorScheme:ne,setColorScheme:re}=g({supportedColorSchemes:z,defaultLightColorScheme:Y,defaultDarkColorScheme:$,modeStorageKey:p,colorSchemeStorageKey:h,defaultMode:j,storageWindow:D});let oe=J,ie=ne;F&&(oe=_.mode,ie=_.colorScheme);const ae=ie||("dark"===(oe||("system"===j?w:j))?$:Y),{css:se,vars:ce}=U(),le=(0,r.A)({},X,{components:q,colorSchemes:K,cssVarPrefix:G,vars:ce,getColorSchemeSelector:e=>"[".concat(C,'="').concat(e,'"] &')}),ue={},fe={};Object.entries(K).forEach((e=>{let[t,n]=e;const{css:o,vars:i}=U(t);le.vars=(0,s.A)(le.vars,i),t===ae&&(Object.keys(n).forEach((e=>{n[e]&&"object"===typeof n[e]?le[e]=(0,r.A)({},le[e],n[e]):le[e]=n[e]})),le.palette&&(le.palette.colorScheme=t));if(t===("string"===typeof M?M:"dark"===j?M.dark:M.light)){if(O){const e={};O(G).forEach((t=>{e[t]=o[t],delete o[t]})),ue["[".concat(C,'="').concat(t,'"]')]=e}ue["".concat(L,", [").concat(C,'="').concat(t,'"]')]=o}else fe["".concat(":root"===L?"":L,"[").concat(C,'="').concat(t,'"]')]=o})),le.vars=(0,s.A)(le.vars,ce),a.useEffect((()=>{ie&&I&&I.setAttribute(C,ie)}),[ie,C,I]),a.useEffect((()=>{let e;if(T&&W.current&&R){const t=R.createElement("style");t.appendChild(R.createTextNode(x)),R.head.appendChild(t),window.getComputedStyle(R.body),e=setTimeout((()=>{R.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[ie,T,R]),a.useEffect((()=>(W.current=!0,()=>{W.current=!1})),[]);const de=a.useMemo((()=>({allColorSchemes:z,colorScheme:ie,darkColorScheme:te,lightColorScheme:ee,mode:oe,setColorScheme:re,setMode:Q,systemMode:Z})),[z,ie,te,ee,oe,re,Q,Z]);let pe=!0;(P||F&&(null==V?void 0:V.cssVarPrefix)===G)&&(pe=!1);const he=(0,f.jsxs)(a.Fragment,{children:[pe&&(0,f.jsxs)(a.Fragment,{children:[(0,f.jsx)(c.A,{styles:{[L]:se}}),(0,f.jsx)(c.A,{styles:ue}),(0,f.jsx)(c.A,{styles:fe})]}),(0,f.jsx)(u.A,{themeId:B?t:void 0,theme:E?E(le):le,children:i})]});return F?he:(0,f.jsx)(k.Provider,{value:de,children:he})},useColorScheme:()=>{const e=a.useContext(k);if(!e)throw new Error((0,i.A)(19));return e},getInitColorSchemeScript:e=>function(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=d,colorSchemeStorageKey:i=p,attribute:a=h,colorSchemeNode:s="document.documentElement"}=e||{};return(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function() {\ntry {\n var mode = localStorage.getItem('".concat(o,"') || '").concat(t,"';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('").concat(i,"-dark') || '").concat(r,"';\n } else {\n colorScheme = localStorage.getItem('").concat(i,"-light') || '").concat(n,"';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('").concat(i,"-light') || '").concat(n,"';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('").concat(i,"-dark') || '").concat(r,"';\n }\n if (colorScheme) {\n ").concat(s,".setAttribute('").concat(a,"', colorScheme);\n }\n} catch(e){}})();")}},"mui-color-scheme-init")}((0,r.A)({attribute:m,colorSchemeStorageKey:y,defaultMode:w,defaultLightColorScheme:C,defaultDarkColorScheme:j,modeStorageKey:v},e))}}},56469:(e,t,n)=>{function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";function t(){for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;ir})},48361:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(58168),o=n(59526),i=n(98587),a=n(43216);const s=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"===typeof o&&(o[e]=n):o&&"object"===typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},c=(e,t,n)=>{!function e(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Object.entries(r).forEach((r=>{let[a,s]=r;(!n||n&&!n([...o,a]))&&void 0!==s&&null!==s&&("object"===typeof s&&Object.keys(s).length>0?e(s,[...o,a],Array.isArray(s)?[...i,a]:i):t([...o,a],s,i))}))}(e)},l=(e,t)=>{if("number"===typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:"".concat(t,"px")}return t};function u(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return c(e,((e,t,c)=>{if(("string"===typeof t||"number"===typeof t)&&(!r||!r(e,t))){const r="--".concat(n?"".concat(n,"-"):"").concat(e.join("-"));Object.assign(o,{[r]:l(e,t)}),s(i,e,"var(".concat(r,")"),c),s(a,e,"var(".concat(r,", ").concat(t,")"),c)}}),(e=>"vars"===e[0])),{css:o,vars:i,varsWithDefaults:a}}const f=["colorSchemes","components","defaultColorScheme"];const d=function(e,t){const{colorSchemes:n={},defaultColorScheme:s="light"}=e,c=(0,i.A)(e,f),{vars:l,css:d,varsWithDefaults:p}=u(c,t);let h=p;const m={},{[s]:v}=n,y=(0,i.A)(n,[s].map(o.A));if(Object.entries(y||{}).forEach((e=>{let[n,r]=e;const{vars:o,css:i,varsWithDefaults:s}=u(r,t);h=(0,a.A)(h,s),m[n]={css:i,vars:o}})),v){const{css:e,vars:n,varsWithDefaults:r}=u(v,t);h=(0,a.A)(h,r),m[s]={css:e,vars:n}}return{vars:h,generateCssVars:e=>{var n;if(!e){var o;const n=(0,r.A)({},d);return{css:n,vars:l,selector:(null==t||null==(o=t.getSelector)?void 0:o.call(t,e,n))||":root"}}const i=(0,r.A)({},m[e].css);return{css:i,vars:m[e].vars,selector:(null==t||null==(n=t.getSelector)?void 0:n.call(t,e,i))||":root"}}}}},79644:(e,t,n)=>{n.d(t,{A:()=>r});const r=(0,n(30920).Ay)()},44708:(e,t,n)=>{function r(){for(var e=arguments.length,t=new Array(e),n=0;nnull==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o{}))}n.d(t,{A:()=>r})},76440:(e,t,n)=>{function r(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i{e.apply(this,o)}),n)}return r.clear=()=>{clearTimeout(t)},r}n.d(t,{A:()=>r})},26336:(e,t,n)=>{function r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,{A:()=>r})},36912:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(28437);function o(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},22144:(e,t,n)=>{function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},46288:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(22144);function o(e){return(0,r.A)(e).defaultView||window}},69184:(e,t,n)=>{function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},41944:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(28437);function o(e){let{controlled:t,default:n,name:o,state:i="value"}=e;const{current:a}=r.useRef(void 0!==t),[s,c]=r.useState(n);return[a?t:s,r.useCallback((e=>{a||c(e)}),[])]}},63844:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(28437);const o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect},24626:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(28437),o=n(63844);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef((function(){return(0,t.current)(...arguments)})).current}},47042:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(28437),o=n(69184);function i(){for(var e=arguments.length,t=new Array(e),n=0;nt.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,o.A)(t,e)}))}),t)}},20992:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(28437);let o=0;const i=r["useId".toString()];function a(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,n]=r.useState(e),i=e||t;return r.useEffect((()=>{null==t&&(o+=1,n("mui-".concat(o)))}),[t]),i}(e)}},40932:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(28437),o=n(31140);let i=!0,a=!1;const s=new o.E,c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!c[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function p(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",f,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},31140:(e,t,n)=>{n.d(t,{E:()=>a,A:()=>s});var r=n(28437);const o={};const i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function s(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},28747:(e,t,n)=>{function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){return e instanceof r(e).Element||e instanceof Element}function i(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!==typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{n4:()=>ye});var s=Math.max,c=Math.min,l=Math.round;function u(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(u())}function d(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&i(e)&&(s=e.offsetWidth>0&&l(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&l(a.height)/e.offsetHeight||1);var u=(o(e)?r(e):window).visualViewport,d=!f()&&n,p=(a.left+(d&&u?u.offsetLeft:0))/s,h=(a.top+(d&&u?u.offsetTop:0))/c,m=a.width/s,v=a.height/c;return{width:m,height:v,top:h,right:p+m,bottom:h+v,left:p,x:p,y:h}}function p(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function v(e){return d(m(e)).left+p(e).scrollLeft}function y(e){return r(e).getComputedStyle(e)}function g(e){var t=y(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var o=i(t),a=i(t)&&function(e){var t=e.getBoundingClientRect(),n=l(t.width)/e.offsetWidth||1,r=l(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=m(t),c=d(e,a,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&(("body"!==h(t)||g(s))&&(u=function(e){return e!==r(e)&&i(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:p(e);var t}(t)),i(t)?((f=d(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=v(s))),{x:c.left+u.scrollLeft-f.x,y:c.top+u.scrollTop-f.y,width:c.width,height:c.height}}function x(e){var t=d(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function w(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||m(e)}function S(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:i(e)&&g(e)?e:S(w(e))}function A(e,t){var n;void 0===t&&(t=[]);var o=S(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=r(o),s=i?[a].concat(a.visualViewport||[],g(o)?o:[]):o,c=t.concat(s);return i?c:c.concat(A(w(s)))}function E(e){return["table","td","th"].indexOf(h(e))>=0}function O(e){return i(e)&&"fixed"!==y(e).position?e.offsetParent:null}function k(e){for(var t=r(e),n=O(e);n&&E(n)&&"static"===y(n).position;)n=O(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===y(n).position)?t:n||function(e){var t=/firefox/i.test(u());if(/Trident/i.test(u())&&i(e)&&"fixed"===y(e).position)return null;var n=w(e);for(a(n)&&(n=n.host);i(n)&&["html","body"].indexOf(h(n))<0;){var r=y(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var C="top",j="bottom",M="right",T="left",D="auto",R=[C,j,M,T],I="start",L="end",N="clippingParents",P="viewport",W="popper",V="reference",_=R.reduce((function(e,t){return e.concat([t+"-"+I,t+"-"+L])}),[]),F=[].concat(R,[D]).reduce((function(e,t){return e.concat([t,t+"-"+I,t+"-"+L])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function K(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function J(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?z(o):null,a=o?Y(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case C:t={x:s,y:n.y-r.height};break;case j:t={x:s,y:n.y+n.height};break;case M:t={x:n.x+n.width,y:c};break;case T:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=i?$(i):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case I:t[l]=t[l]-(n[u]/2-r[u]/2);break;case L:t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=s.x,v=void 0===h?0:h,g=s.y,b=void 0===g?0:g,x="function"===typeof d?d({x:v,y:b}):{x:v,y:b};v=x.x,b=x.y;var w=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),A=T,E=C,O=window;if(f){var D=k(n),R="clientHeight",I="clientWidth";if(D===r(n)&&"static"!==y(D=m(n)).position&&"absolute"===c&&(R="scrollHeight",I="scrollWidth"),i===C||(i===T||i===M)&&a===L)E=j,b-=(p&&D===O&&O.visualViewport?O.visualViewport.height:D[R])-o.height,b*=u?1:-1;if(i===T||(i===C||i===j)&&a===L)A=M,v-=(p&&D===O&&O.visualViewport?O.visualViewport.width:D[I])-o.width,v*=u?1:-1}var N,P=Object.assign({position:c},f&&Q),W=!0===d?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:l(n*o)/o||0,y:l(r*o)/o||0}}({x:v,y:b},r(n)):{x:v,y:b};return v=W.x,b=W.y,u?Object.assign({},P,((N={})[E]=S?"0":"",N[A]=w?"0":"",N.transform=(O.devicePixelRatio||1)<=1?"translate("+v+"px, "+b+"px)":"translate3d("+v+"px, "+b+"px, 0)",N)):Object.assign({},P,((t={})[E]=S?b+"px":"",t[A]=w?v+"px":"",t.transform="",t))}const ee={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=F.reduce((function(e,n){return e[n]=function(e,t,n){var r=z(e),o=[T,C].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[T,M].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}};var te={left:"right",right:"left",bottom:"top",top:"bottom"};function ne(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var re={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function ie(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function se(e,t,n){return t===P?ae(function(e,t){var n=r(e),o=m(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;var u=f();(u||!u&&"fixed"===t)&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c+v(e),y:l}}(e,n)):o(t)?function(e,t){var n=d(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ae(function(e){var t,n=m(e),r=p(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=s(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+v(e),l=-r.scrollTop;return"rtl"===y(o||n).direction&&(c+=s(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:l}}(m(e)))}function ce(e,t,n,r){var a="clippingParents"===t?function(e){var t=A(w(e)),n=["absolute","fixed"].indexOf(y(e).position)>=0&&i(e)?k(e):e;return o(n)?t.filter((function(e){return o(e)&&ie(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),l=[].concat(a,[n]),u=l[0],f=l.reduce((function(t,n){var o=se(e,n,r);return t.top=s(o.top,t.top),t.right=c(o.right,t.right),t.bottom=c(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),se(e,u,r));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function le(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ue(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,a=n.strategy,s=void 0===a?e.strategy:a,c=n.boundary,l=void 0===c?N:c,u=n.rootBoundary,f=void 0===u?P:u,p=n.elementContext,h=void 0===p?W:p,v=n.altBoundary,y=void 0!==v&&v,g=n.padding,b=void 0===g?0:g,x=le("number"!==typeof b?b:ue(b,R)),w=h===W?V:W,S=e.rects.popper,A=e.elements[y?w:h],E=ce(o(A)?A:A.contextElement||m(e.elements.popper),l,f,s),O=d(e.elements.reference),k=J({reference:O,element:S,strategy:"absolute",placement:i}),T=ae(Object.assign({},S,k)),D=h===W?T:O,I={top:E.top-D.top+x.top,bottom:D.bottom-E.bottom+x.bottom,left:E.left-D.left+x.left,right:D.right-E.right+x.right},L=e.modifiersData.offset;if(h===W&&L){var _=L[i];Object.keys(I).forEach((function(e){var t=[M,j].indexOf(e)>=0?1:-1,n=[C,j].indexOf(e)>=0?"y":"x";I[e]+=_[n]*t}))}return I}function de(e,t,n){return s(e,c(t,n))}const pe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,y=void 0===v?0:v,g=fe(t,{boundary:u,rootBoundary:f,padding:p,altBoundary:d}),b=z(t.placement),w=Y(t.placement),S=!w,A=$(b),E="x"===A?"y":"x",O=t.modifiersData.popperOffsets,D=t.rects.reference,R=t.rects.popper,L="function"===typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,N="number"===typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(O){if(i){var V,_="y"===A?C:T,F="y"===A?j:M,B="y"===A?"height":"width",H=O[A],K=H+g[_],q=H-g[F],U=m?-R[B]/2:0,G=w===I?D[B]:R[B],X=w===I?-R[B]:-D[B],J=t.elements.arrow,Q=m&&J?x(J):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Z[_],te=Z[F],ne=de(0,D[B],Q[B]),re=S?D[B]/2-U-ne-ee-N.mainAxis:G-ne-ee-N.mainAxis,oe=S?-D[B]/2+U+ne+te+N.mainAxis:X+ne+te+N.mainAxis,ie=t.elements.arrow&&k(t.elements.arrow),ae=ie?"y"===A?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(V=null==P?void 0:P[A])?V:0,ce=H+oe-se,le=de(m?c(K,H+re-se-ae):K,H,m?s(q,ce):q);O[A]=le,W[A]=le-H}if(l){var ue,pe="x"===A?C:T,he="x"===A?j:M,me=O[E],ve="y"===E?"height":"width",ye=me+g[pe],ge=me-g[he],be=-1!==[C,T].indexOf(b),xe=null!=(ue=null==P?void 0:P[E])?ue:0,we=be?ye:me-D[ve]-R[ve]-xe+N.altAxis,Se=be?me+D[ve]+R[ve]-xe-N.altAxis:ge,Ae=m&&be?function(e,t,n){var r=de(e,t,n);return r>n?n:r}(we,me,Se):de(m?we:ye,me,m?Se:ge);O[E]=Ae,W[E]=Ae-me}t.modifiersData[r]=W}},requiresIfExists:["offset"]};const he={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=z(n.placement),c=$(s),l=[T,M].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return le("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ue(e,R))}(o.padding,n),f=x(i),d="y"===c?C:T,p="y"===c?j:M,h=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],m=a[c]-n.rects.reference[c],v=k(i),y=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,g=h/2-m/2,b=u[d],w=y-f[l]-u[p],S=y/2-f[l]/2+g,A=de(b,S,w),E=c;n.modifiersData[r]=((t={})[E]=A,t.centerOffset=A-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&ie(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function me(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ve(e){return[C,M,j,T].some((function(t){return e[t]>=0}))}var ye=G({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,c=void 0===s||s,l=r(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,X)})),c&&l.addEventListener("resize",n.update,X),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,X)})),c&&l.removeEventListener("resize",n.update,X)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=J({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,l={placement:z(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&h(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&h(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ee,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,y=z(v),g=c||(y===v||!h?[ne(v)]:function(e){if(z(e)===D)return[];var t=ne(e);return[oe(e),t,oe(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat(z(n)===D?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?F:c,u=Y(r),f=u?s?_:_.filter((function(e){return Y(e)===u})):R,d=f.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[z(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,A=!0,E=b[0],O=0;O=0,W=P?"width":"height",V=fe(t,{placement:k,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),B=P?N?M:T:N?j:C;x[W]>w[W]&&(B=ne(B));var H=ne(B),K=[];if(i&&K.push(V[L]<=0),s&&K.push(V[B]<=0,V[H]<=0),K.every((function(e){return e}))){E=k,A=!1;break}S.set(k,K)}if(A)for(var q=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},U=h?3:1;U>0;U--){if("break"===q(U))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},pe,he,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),c=me(a,r),l=me(s,o,i),u=ve(c),f=ve(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]})},88692:(e,t,n)=>{n.d(t,{Ay:()=>b});var r=n(98587),o=n(25540),i=(n(95973),n(28437)),a=n.n(i),s=n(23479),c=n.n(s);const l=!1;var u=n(88726),f=n(35796),d="unmounted",p="exited",h="entering",m="entered",v="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=p,r.appearStatus=h):o=m:o=t.unmountOnExit||t.mountOnEnter?d:p,r.state={status:o},r.nextCallback=null,r}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:p}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==m&&(t=h):n!==h&&n!==m||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:c().findDOMNode(this);n&&(0,f.F)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===p&&this.setState({status:d})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[c().findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||l?this.safeSetState({status:m},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:h},(function(){t.props.onEntering(i,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:m},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:c().findDOMNode(this);t&&!l?(this.props.onExit(r),this.safeSetState({status:v},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:p},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:p},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:c().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===d)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(u.A.Provider,{value:null},"function"===typeof n?n(e,o):a().cloneElement(a().Children.only(n),o))},t}(a().Component);function g(){}y.contextType=u.A,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},y.UNMOUNTED=d,y.EXITED=p,y.ENTERING=h,y.ENTERED=m,y.EXITING=v;const b=y},92646:(e,t,n)=>{n.d(t,{A:()=>m});var r=n(98587),o=n(58168),i=n(9417),a=n(25540),s=(n(95973),n(28437)),c=n.n(s),l=n(88726);function u(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function f(e,t,n){return null!=n[t]?n[t]:e.props[t]}function d(e,t,n){var r=u(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var c in t){if(o[c])for(r=0;r{n.d(t,{A:()=>o});var r=n(28437);const o=n.n(r)().createContext(null)},35796:(e,t,n)=>{n.d(t,{F:()=>r});var r=function(e){return e.scrollTop}},9417:(e,t,n)=>{function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},25540:(e,t,n)=>{function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>o})},57528:(e,t,n)=>{function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:()=>r})},59526:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.d(t,{A:()=>o})}}]); +//# sourceMappingURL=152.4318951d.chunk.js.map \ No newline at end of file diff --git a/admin/static/js/152.4318951d.chunk.js.map b/admin/static/js/152.4318951d.chunk.js.map new file mode 100644 index 000000000..498581752 --- /dev/null +++ b/admin/static/js/152.4318951d.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/152.4318951d.chunk.js","mappings":"0LAgEA,QApCA,SAAuBA,GACrB,MAAM,SACJC,EACAC,MAA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,MAG3B,C,kCCTe,SAASgvB,EAAQV,GAG9B,OAAOU,EAAU,mBAAqB39B,QAAU,iBAAmBA,OAAO49B,SAAW,SAAUX,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBj9B,QAAUi9B,EAAE1e,cAAgBve,QAAUi9B,IAAMj9B,OAAO43B,UAAY,gBAAkBqF,CACpH,EAAGU,EAAQV,EACb,CCNe,SAASY,EAAcC,GACpC,IAAIn1B,ECFS,SAAqBm1B,EAAGC,GACrC,GAAI,UAAYJ,EAAQG,KAAOA,EAAG,OAAOA,EACzC,IAAI9tB,EAAI8tB,EAAE99B,OAAOg+B,aACjB,QAAI,IAAWhuB,EAAG,CAChB,IAAIrH,EAAIqH,EAAE+I,KAAK+kB,EAAGC,GAAK,WACvB,GAAI,UAAYJ,EAAQh1B,GAAI,OAAOA,EACnC,MAAM,IAAIs1B,UAAU,+CACtB,CACA,OAAQ,WAAaF,EAAIG,OAASx0B,QAAQo0B,EAC5C,CDPUE,CAAYF,EAAG,UACvB,MAAO,UAAYH,EAAQh1B,GAAKA,EAAIA,EAAI,EAC1C,C","sources":["../node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js","../node_modules/@mui/private-theming/ThemeProvider/nested.js","../node_modules/@mui/private-theming/useTheme/ThemeContext.js","../node_modules/@mui/private-theming/useTheme/useTheme.js","../node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js","../node_modules/@mui/system/esm/RtlProvider/index.js","../node_modules/@mui/system/esm/Stack/createStack.js","../node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js","../node_modules/@mui/system/esm/colorManipulator.js","../node_modules/@mui/system/esm/createStyled.js","../node_modules/@mui/system/esm/cssVars/getInitColorSchemeScript.js","../node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js","../node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js","../node_modules/@mui/system/esm/cssVars/createGetCssVar.js","../node_modules/@mui/system/esm/cssVars/cssVarsParser.js","../node_modules/@mui/system/esm/cssVars/prepareCssVars.js","../node_modules/@mui/system/esm/styled.js","../node_modules/@mui/utils/createChainedFunction/createChainedFunction.js","../node_modules/@mui/utils/debounce/debounce.js","../node_modules/@mui/utils/getScrollbarSize/getScrollbarSize.js","../node_modules/@mui/utils/isMuiElement/isMuiElement.js","../node_modules/@mui/utils/ownerDocument/ownerDocument.js","../node_modules/@mui/utils/ownerWindow/ownerWindow.js","../node_modules/@mui/utils/setRef/setRef.js","../node_modules/@mui/utils/useControlled/useControlled.js","../node_modules/@mui/utils/useEnhancedEffect/useEnhancedEffect.js","../node_modules/@mui/utils/useEventCallback/useEventCallback.js","../node_modules/@mui/utils/useForkRef/useForkRef.js","../node_modules/@mui/utils/useId/useId.js","../node_modules/@mui/utils/useIsFocusVisible/useIsFocusVisible.js","../node_modules/@mui/utils/useLazyRef/useLazyRef.js","../node_modules/@mui/utils/useOnMount/useOnMount.js","../node_modules/@mui/utils/useTimeout/useTimeout.js","../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../node_modules/@popperjs/core/lib/utils/math.js","../node_modules/@popperjs/core/lib/utils/userAgent.js","../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../node_modules/@popperjs/core/lib/enums.js","../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../node_modules/@popperjs/core/lib/utils/debounce.js","../node_modules/@popperjs/core/lib/createPopper.js","../node_modules/@popperjs/core/lib/utils/mergeByName.js","../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../node_modules/@popperjs/core/lib/utils/getVariation.js","../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../node_modules/@popperjs/core/lib/modifiers/offset.js","../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../node_modules/@popperjs/core/lib/dom-utils/contains.js","../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../node_modules/@popperjs/core/lib/utils/within.js","../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../node_modules/@popperjs/core/lib/modifiers/arrow.js","../node_modules/@popperjs/core/lib/modifiers/hide.js","../node_modules/@popperjs/core/lib/popper.js","../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../node_modules/@popperjs/core/lib/modifiers/flip.js","../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../node_modules/react-transition-group/esm/config.js","../node_modules/react-transition-group/esm/Transition.js","../node_modules/react-transition-group/esm/utils/ChildMapping.js","../node_modules/react-transition-group/esm/TransitionGroup.js","../node_modules/react-transition-group/esm/TransitionGroupContext.js","../node_modules/react-transition-group/esm/utils/reflow.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@mui/utils';\nimport ThemeContext from '../useTheme/ThemeContext';\nimport useTheme from '../useTheme';\nimport nested from './nested';\n\n// To support composition of theme.\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction mergeOuterLocalTheme(outerTheme, localTheme) {\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(outerTheme);\n if (process.env.NODE_ENV !== 'production') {\n if (!mergedTheme) {\n console.error(['MUI: You should return an object from your theme function, i.e.', ' ({})} />'].join('\\n'));\n }\n }\n return mergedTheme;\n }\n return _extends({}, outerTheme, localTheme);\n}\n\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme\n } = props;\n const outerTheme = useTheme();\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const theme = React.useMemo(() => {\n const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/_jsx(ThemeContext.Provider, {\n value: theme,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;","import * as React from 'react';\nimport ThemeContext from './ThemeContext';\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme;\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles as MuiGlobalStyles } from '@mui/styled-engine';\nimport useTheme from '../useTheme';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction GlobalStyles({\n styles,\n themeId,\n defaultTheme = {}\n}) {\n const upperTheme = useTheme(defaultTheme);\n const globalStyles = typeof styles === 'function' ? styles(themeId ? upperTheme[themeId] || upperTheme : upperTheme) : styles;\n return /*#__PURE__*/_jsx(MuiGlobalStyles, {\n styles: globalStyles\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n defaultTheme: PropTypes.object,\n /**\n * @ignore\n */\n styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool]),\n /**\n * @ignore\n */\n themeId: PropTypes.string\n} : void 0;\nexport default GlobalStyles;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RtlContext = /*#__PURE__*/React.createContext();\nfunction RtlProvider(_ref) {\n let {\n value\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n return /*#__PURE__*/_jsx(RtlContext.Provider, _extends({\n value: value != null ? value : true\n }, props));\n}\nprocess.env.NODE_ENV !== \"production\" ? RtlProvider.propTypes = {\n children: PropTypes.node,\n value: PropTypes.bool\n} : void 0;\nexport const useRtl = () => {\n const value = React.useContext(RtlContext);\n return value != null ? value : false;\n};\nexport default RtlProvider;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"component\", \"direction\", \"spacing\", \"divider\", \"children\", \"className\", \"useFlexGap\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport deepmerge from '@mui/utils/deepmerge';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport systemStyled from '../styled';\nimport useThemePropsSystem from '../useThemeProps';\nimport { extendSxProp } from '../styleFunctionSx';\nimport createTheme from '../createTheme';\nimport { handleBreakpoints, mergeBreakpointsInOrder, resolveBreakpointValues } from '../breakpoints';\nimport { createUnarySpacing, getValue } from '../spacing';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\n// widening Theme to any so that the consumer can own the theme structure.\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiStack',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n});\nfunction useThemePropsDefault(props) {\n return useThemePropsSystem({\n props,\n name: 'MuiStack',\n defaultTheme\n });\n}\n\n/**\n * Return an array with the separator React element interspersed between\n * each React node of the input children.\n *\n * > joinChildren([1,2,3], 0)\n * [1,0,2,0,3]\n */\nfunction joinChildren(children, separator) {\n const childrenArray = React.Children.toArray(children).filter(Boolean);\n return childrenArray.reduce((output, child, index) => {\n output.push(child);\n if (index < childrenArray.length - 1) {\n output.push( /*#__PURE__*/React.cloneElement(separator, {\n key: `separator-${index}`\n }));\n }\n return output;\n }, []);\n}\nconst getSideFromDirection = direction => {\n return {\n row: 'Left',\n 'row-reverse': 'Right',\n column: 'Top',\n 'column-reverse': 'Bottom'\n }[direction];\n};\nexport const style = ({\n ownerState,\n theme\n}) => {\n let styles = _extends({\n display: 'flex',\n flexDirection: 'column'\n }, handleBreakpoints({\n theme\n }, resolveBreakpointValues({\n values: ownerState.direction,\n breakpoints: theme.breakpoints.values\n }), propValue => ({\n flexDirection: propValue\n })));\n if (ownerState.spacing) {\n const transformer = createUnarySpacing(theme);\n const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {\n if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {\n acc[breakpoint] = true;\n }\n return acc;\n }, {});\n const directionValues = resolveBreakpointValues({\n values: ownerState.direction,\n base\n });\n const spacingValues = resolveBreakpointValues({\n values: ownerState.spacing,\n base\n });\n if (typeof directionValues === 'object') {\n Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {\n const directionValue = directionValues[breakpoint];\n if (!directionValue) {\n const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';\n directionValues[breakpoint] = previousDirectionValue;\n }\n });\n }\n const styleFromPropValue = (propValue, breakpoint) => {\n if (ownerState.useFlexGap) {\n return {\n gap: getValue(transformer, propValue)\n };\n }\n return {\n // The useFlexGap={false} implement relies on each child to give up control of the margin.\n // We need to reset the margin to avoid double spacing.\n '& > :not(style):not(style)': {\n margin: 0\n },\n '& > :not(style) ~ :not(style)': {\n [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)\n }\n };\n };\n styles = deepmerge(styles, handleBreakpoints({\n theme\n }, spacingValues, styleFromPropValue));\n }\n styles = mergeBreakpointsInOrder(theme.breakpoints, styles);\n return styles;\n};\nexport default function createStack(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiStack'\n } = options;\n const useUtilityClasses = () => {\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});\n };\n const StackRoot = createStyledComponent(style);\n const Stack = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {\n const themeProps = useThemeProps(inProps);\n const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.\n const {\n component = 'div',\n direction = 'column',\n spacing = 0,\n divider,\n children,\n className,\n useFlexGap = false\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = {\n direction,\n spacing,\n useFlexGap\n };\n const classes = useUtilityClasses();\n return /*#__PURE__*/_jsx(StackRoot, _extends({\n as: component,\n ownerState: ownerState,\n ref: ref,\n className: clsx(classes.root, className)\n }, other, {\n children: divider ? joinChildren(children, divider) : children\n }));\n });\n process.env.NODE_ENV !== \"production\" ? Stack.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n divider: PropTypes.node,\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n } : void 0;\n return Stack;\n}","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as MuiThemeProvider, useTheme as usePrivateTheme } from '@mui/private-theming';\nimport exactProp from '@mui/utils/exactProp';\nimport { ThemeContext as StyledEngineThemeContext } from '@mui/styled-engine';\nimport useThemeWithoutDefault from '../useThemeWithoutDefault';\nimport RtlProvider from '../RtlProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_THEME = {};\nfunction useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {\n return React.useMemo(() => {\n const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(resolvedTheme);\n const result = themeId ? _extends({}, upperTheme, {\n [themeId]: mergedTheme\n }) : mergedTheme;\n // must return a function for the private theme to NOT merge with the upper theme.\n // see the test case \"use provided theme from a callback\" in ThemeProvider.test.js\n if (isPrivate) {\n return () => result;\n }\n return result;\n }\n return themeId ? _extends({}, upperTheme, {\n [themeId]: localTheme\n }) : _extends({}, upperTheme, localTheme);\n }, [themeId, upperTheme, localTheme, isPrivate]);\n}\n\n/**\n * This component makes the `theme` available down the React tree.\n * It should preferably be used at **the root of your component tree**.\n *\n * // existing use case\n * // theme scoping\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme,\n themeId\n } = props;\n const upperTheme = useThemeWithoutDefault(EMPTY_THEME);\n const upperPrivateTheme = usePrivateTheme() || EMPTY_THEME;\n if (process.env.NODE_ENV !== 'production') {\n if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);\n const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);\n const rtlValue = engineTheme.direction === 'rtl';\n return /*#__PURE__*/_jsx(MuiThemeProvider, {\n theme: privateTheme,\n children: /*#__PURE__*/_jsx(StyledEngineThemeContext.Provider, {\n value: engineTheme,\n children: /*#__PURE__*/_jsx(RtlProvider, {\n value: rtlValue,\n children: children\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.func, PropTypes.object]).isRequired,\n /**\n * The design system's unique id for getting the corresponded theme when there are multiple design systems.\n */\n themeId: PropTypes.string\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/* eslint-disable @typescript-eslint/naming-convention */\nimport clamp from '@mui/utils/clamp';\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return clamp(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nexport function hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : _formatMuiErrorMessage(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : _formatMuiErrorMessage(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nexport const colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexport const private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexport function recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.indexOf('color') !== -1) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nexport function rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nexport function getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nexport function getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nexport function private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nexport function private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nexport function blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nimport styledEngineStyled, { internal_processStyles as processStyles } from '@mui/styled-engine';\nimport { isPlainObject } from '@mui/utils/deepmerge';\nimport capitalize from '@mui/utils/capitalize';\nimport getDisplayName from '@mui/utils/getDisplayName';\nimport createTheme from './createTheme';\nimport styleFunctionSx from './styleFunctionSx';\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nexport function shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nexport const systemDefaultTheme = createTheme();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref) {\n let {\n ownerState\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle(_extends({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, _extends({\n ownerState\n }, props)));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = _objectWithoutPropertiesLoose(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props(_extends({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n result.push(typeof variant.style === 'function' ? variant.style(_extends({\n ownerState\n }, props, ownerState)) : variant.style);\n }\n });\n return result;\n }\n return resolvedStylesArg;\n}\nexport default function createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return styleFunctionSx(_extends({}, props, {\n theme: resolveTheme(_extends({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n processStyles(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = _objectWithoutPropertiesLoose(inputOptions, _excluded3);\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = styledEngineStyled(tag, _extends({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || isPlainObject(stylesArg)) {\n return props => processStyleArg(stylesArg, _extends({}, props, {\n theme: resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n })\n }));\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme(_extends({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, _extends({}, props, {\n theme\n }));\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme(_extends({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, _extends({}, props, {\n theme\n }));\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${capitalize(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${getDisplayName(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}","import * as React from 'react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const DEFAULT_MODE_STORAGE_KEY = 'mode';\nexport const DEFAULT_COLOR_SCHEME_STORAGE_KEY = 'color-scheme';\nexport const DEFAULT_ATTRIBUTE = 'data-color-scheme';\nexport default function getInitColorSchemeScript(options) {\n const {\n defaultMode = 'light',\n defaultLightColorScheme = 'light',\n defaultDarkColorScheme = 'dark',\n modeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n attribute = DEFAULT_ATTRIBUTE,\n colorSchemeNode = 'document.documentElement'\n } = options || {};\n return /*#__PURE__*/_jsx(\"script\", {\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML: {\n __html: `(function() {\ntry {\n var mode = localStorage.getItem('${modeStorageKey}') || '${defaultMode}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';\n } else {\n colorScheme = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';\n }\n if (colorScheme) {\n ${colorSchemeNode}.setAttribute('${attribute}', colorScheme);\n }\n} catch(e){}})();`\n }\n }, \"mui-color-scheme-init\");\n}","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { DEFAULT_MODE_STORAGE_KEY, DEFAULT_COLOR_SCHEME_STORAGE_KEY } from './getInitColorSchemeScript';\nexport function getSystemMode(mode) {\n if (typeof window !== 'undefined' && mode === 'system') {\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n return 'dark';\n }\n return 'light';\n }\n return undefined;\n}\nfunction processState(state, callback) {\n if (state.mode === 'light' || state.mode === 'system' && state.systemMode === 'light') {\n return callback('light');\n }\n if (state.mode === 'dark' || state.mode === 'system' && state.systemMode === 'dark') {\n return callback('dark');\n }\n return undefined;\n}\nexport function getColorScheme(state) {\n return processState(state, mode => {\n if (mode === 'light') {\n return state.lightColorScheme;\n }\n if (mode === 'dark') {\n return state.darkColorScheme;\n }\n return undefined;\n });\n}\nfunction initializeValue(key, defaultValue) {\n if (typeof window === 'undefined') {\n return undefined;\n }\n let value;\n try {\n value = localStorage.getItem(key) || undefined;\n if (!value) {\n // the first time that user enters the site.\n localStorage.setItem(key, defaultValue);\n }\n } catch (e) {\n // Unsupported\n }\n return value || defaultValue;\n}\nexport default function useCurrentColorScheme(options) {\n const {\n defaultMode = 'light',\n defaultLightColorScheme,\n defaultDarkColorScheme,\n supportedColorSchemes = [],\n modeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n storageWindow = typeof window === 'undefined' ? undefined : window\n } = options;\n const joinedColorSchemes = supportedColorSchemes.join(',');\n const [state, setState] = React.useState(() => {\n const initialMode = initializeValue(modeStorageKey, defaultMode);\n const lightColorScheme = initializeValue(`${colorSchemeStorageKey}-light`, defaultLightColorScheme);\n const darkColorScheme = initializeValue(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);\n return {\n mode: initialMode,\n systemMode: getSystemMode(initialMode),\n lightColorScheme,\n darkColorScheme\n };\n });\n const colorScheme = getColorScheme(state);\n const setMode = React.useCallback(mode => {\n setState(currentState => {\n if (mode === currentState.mode) {\n // do nothing if mode does not change\n return currentState;\n }\n const newMode = mode != null ? mode : defaultMode;\n try {\n localStorage.setItem(modeStorageKey, newMode);\n } catch (e) {\n // Unsupported\n }\n return _extends({}, currentState, {\n mode: newMode,\n systemMode: getSystemMode(newMode)\n });\n });\n }, [modeStorageKey, defaultMode]);\n const setColorScheme = React.useCallback(value => {\n if (!value) {\n setState(currentState => {\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-light`, defaultLightColorScheme);\n localStorage.setItem(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);\n } catch (e) {\n // Unsupported\n }\n return _extends({}, currentState, {\n lightColorScheme: defaultLightColorScheme,\n darkColorScheme: defaultDarkColorScheme\n });\n });\n } else if (typeof value === 'string') {\n if (value && !joinedColorSchemes.includes(value)) {\n console.error(`\\`${value}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n setState(currentState => {\n const newState = _extends({}, currentState);\n processState(currentState, mode => {\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-${mode}`, value);\n } catch (e) {\n // Unsupported\n }\n if (mode === 'light') {\n newState.lightColorScheme = value;\n }\n if (mode === 'dark') {\n newState.darkColorScheme = value;\n }\n });\n return newState;\n });\n }\n } else {\n setState(currentState => {\n const newState = _extends({}, currentState);\n const newLightColorScheme = value.light === null ? defaultLightColorScheme : value.light;\n const newDarkColorScheme = value.dark === null ? defaultDarkColorScheme : value.dark;\n if (newLightColorScheme) {\n if (!joinedColorSchemes.includes(newLightColorScheme)) {\n console.error(`\\`${newLightColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n newState.lightColorScheme = newLightColorScheme;\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-light`, newLightColorScheme);\n } catch (error) {\n // Unsupported\n }\n }\n }\n if (newDarkColorScheme) {\n if (!joinedColorSchemes.includes(newDarkColorScheme)) {\n console.error(`\\`${newDarkColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n newState.darkColorScheme = newDarkColorScheme;\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-dark`, newDarkColorScheme);\n } catch (error) {\n // Unsupported\n }\n }\n }\n return newState;\n });\n }\n }, [joinedColorSchemes, colorSchemeStorageKey, defaultLightColorScheme, defaultDarkColorScheme]);\n const handleMediaQuery = React.useCallback(event => {\n if (state.mode === 'system') {\n setState(currentState => {\n const systemMode = event != null && event.matches ? 'dark' : 'light';\n\n // Early exit, nothing changed.\n if (currentState.systemMode === systemMode) {\n return currentState;\n }\n return _extends({}, currentState, {\n systemMode\n });\n });\n }\n }, [state.mode]);\n\n // Ref hack to avoid adding handleMediaQuery as a dep\n const mediaListener = React.useRef(handleMediaQuery);\n mediaListener.current = handleMediaQuery;\n React.useEffect(() => {\n const handler = (...args) => mediaListener.current(...args);\n\n // Always listen to System preference\n const media = window.matchMedia('(prefers-color-scheme: dark)');\n\n // Intentionally use deprecated listener methods to support iOS & old browsers\n media.addListener(handler);\n handler(media);\n return () => {\n media.removeListener(handler);\n };\n }, []);\n\n // Handle when localStorage has changed\n React.useEffect(() => {\n if (storageWindow) {\n const handleStorage = event => {\n const value = event.newValue;\n if (typeof event.key === 'string' && event.key.startsWith(colorSchemeStorageKey) && (!value || joinedColorSchemes.match(value))) {\n // If the key is deleted, value will be null then reset color scheme to the default one.\n if (event.key.endsWith('light')) {\n setColorScheme({\n light: value\n });\n }\n if (event.key.endsWith('dark')) {\n setColorScheme({\n dark: value\n });\n }\n }\n if (event.key === modeStorageKey && (!value || ['light', 'dark', 'system'].includes(value))) {\n setMode(value || defaultMode);\n }\n };\n // For syncing color-scheme changes between iframes\n storageWindow.addEventListener('storage', handleStorage);\n return () => {\n storageWindow.removeEventListener('storage', handleStorage);\n };\n }\n return undefined;\n }, [setColorScheme, setMode, modeStorageKey, colorSchemeStorageKey, joinedColorSchemes, defaultMode, storageWindow]);\n return _extends({}, state, {\n colorScheme,\n setMode,\n setColorScheme\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nconst _excluded = [\"colorSchemes\", \"components\", \"generateCssVars\", \"cssVarPrefix\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport deepmerge from '@mui/utils/deepmerge';\nimport { GlobalStyles } from '@mui/styled-engine';\nimport { useTheme as muiUseTheme } from '@mui/private-theming';\nimport ThemeProvider from '../ThemeProvider';\nimport systemGetInitColorSchemeScript, { DEFAULT_ATTRIBUTE, DEFAULT_COLOR_SCHEME_STORAGE_KEY, DEFAULT_MODE_STORAGE_KEY } from './getInitColorSchemeScript';\nimport useCurrentColorScheme from './useCurrentColorScheme';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';\nexport default function createCssVarsProvider(options) {\n const {\n themeId,\n /**\n * This `theme` object needs to follow a certain structure to\n * be used correctly by the finel `CssVarsProvider`. It should have a\n * `colorSchemes` key with the light and dark (and any other) palette.\n * It should also ideally have a vars object created using `prepareCssVars`.\n */\n theme: defaultTheme = {},\n attribute: defaultAttribute = DEFAULT_ATTRIBUTE,\n modeStorageKey: defaultModeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey: defaultColorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n defaultMode: designSystemMode = 'light',\n defaultColorScheme: designSystemColorScheme,\n disableTransitionOnChange: designSystemTransitionOnChange = false,\n resolveTheme,\n excludeVariablesFromRoot\n } = options;\n if (!defaultTheme.colorSchemes || typeof designSystemColorScheme === 'string' && !defaultTheme.colorSchemes[designSystemColorScheme] || typeof designSystemColorScheme === 'object' && !defaultTheme.colorSchemes[designSystemColorScheme == null ? void 0 : designSystemColorScheme.light] || typeof designSystemColorScheme === 'object' && !defaultTheme.colorSchemes[designSystemColorScheme == null ? void 0 : designSystemColorScheme.dark]) {\n console.error(`MUI: \\`${designSystemColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n }\n const ColorSchemeContext = /*#__PURE__*/React.createContext(undefined);\n if (process.env.NODE_ENV !== 'production') {\n ColorSchemeContext.displayName = 'ColorSchemeContext';\n }\n const useColorScheme = () => {\n const value = React.useContext(ColorSchemeContext);\n if (!value) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`useColorScheme\\` must be called under ` : _formatMuiErrorMessage(19));\n }\n return value;\n };\n function CssVarsProvider(props) {\n const {\n children,\n theme: themeProp = defaultTheme,\n modeStorageKey = defaultModeStorageKey,\n colorSchemeStorageKey = defaultColorSchemeStorageKey,\n attribute = defaultAttribute,\n defaultMode = designSystemMode,\n defaultColorScheme = designSystemColorScheme,\n disableTransitionOnChange = designSystemTransitionOnChange,\n storageWindow = typeof window === 'undefined' ? undefined : window,\n documentNode = typeof document === 'undefined' ? undefined : document,\n colorSchemeNode = typeof document === 'undefined' ? undefined : document.documentElement,\n colorSchemeSelector = ':root',\n disableNestedContext = false,\n disableStyleSheetGeneration = false\n } = props;\n const hasMounted = React.useRef(false);\n const upperTheme = muiUseTheme();\n const ctx = React.useContext(ColorSchemeContext);\n const nested = !!ctx && !disableNestedContext;\n const scopedTheme = themeProp[themeId];\n const _ref = scopedTheme || themeProp,\n {\n colorSchemes = {},\n components = {},\n generateCssVars = () => ({\n vars: {},\n css: {}\n }),\n cssVarPrefix\n } = _ref,\n restThemeProp = _objectWithoutPropertiesLoose(_ref, _excluded);\n const allColorSchemes = Object.keys(colorSchemes);\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n\n // 1. Get the data about the `mode`, `colorScheme`, and setter functions.\n const {\n mode: stateMode,\n setMode,\n systemMode,\n lightColorScheme,\n darkColorScheme,\n colorScheme: stateColorScheme,\n setColorScheme\n } = useCurrentColorScheme({\n supportedColorSchemes: allColorSchemes,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey,\n colorSchemeStorageKey,\n defaultMode,\n storageWindow\n });\n let mode = stateMode;\n let colorScheme = stateColorScheme;\n if (nested) {\n mode = ctx.mode;\n colorScheme = ctx.colorScheme;\n }\n const calculatedMode = (() => {\n if (mode) {\n return mode;\n }\n // This scope occurs on the server\n if (defaultMode === 'system') {\n return designSystemMode;\n }\n return defaultMode;\n })();\n const calculatedColorScheme = (() => {\n if (!colorScheme) {\n // This scope occurs on the server\n if (calculatedMode === 'dark') {\n return defaultDarkColorScheme;\n }\n // use light color scheme, if default mode is 'light' | 'system'\n return defaultLightColorScheme;\n }\n return colorScheme;\n })();\n\n // 2. Create CSS variables and store them in objects (to be generated in stylesheets in the final step)\n const {\n css: rootCss,\n vars: rootVars\n } = generateCssVars();\n\n // 3. Start composing the theme object\n const theme = _extends({}, restThemeProp, {\n components,\n colorSchemes,\n cssVarPrefix,\n vars: rootVars,\n getColorSchemeSelector: targetColorScheme => `[${attribute}=\"${targetColorScheme}\"] &`\n });\n\n // 4. Create color CSS variables and store them in objects (to be generated in stylesheets in the final step)\n // The default color scheme stylesheet is constructed to have the least CSS specificity.\n // The other color schemes uses selector, default as data attribute, to increase the CSS specificity so that they can override the default color scheme stylesheet.\n const defaultColorSchemeStyleSheet = {};\n const otherColorSchemesStyleSheet = {};\n Object.entries(colorSchemes).forEach(([key, scheme]) => {\n const {\n css,\n vars\n } = generateCssVars(key);\n theme.vars = deepmerge(theme.vars, vars);\n if (key === calculatedColorScheme) {\n // 4.1 Merge the selected color scheme to the theme\n Object.keys(scheme).forEach(schemeKey => {\n if (scheme[schemeKey] && typeof scheme[schemeKey] === 'object') {\n // shallow merge the 1st level structure of the theme.\n theme[schemeKey] = _extends({}, theme[schemeKey], scheme[schemeKey]);\n } else {\n theme[schemeKey] = scheme[schemeKey];\n }\n });\n if (theme.palette) {\n theme.palette.colorScheme = key;\n }\n }\n const resolvedDefaultColorScheme = (() => {\n if (typeof defaultColorScheme === 'string') {\n return defaultColorScheme;\n }\n if (defaultMode === 'dark') {\n return defaultColorScheme.dark;\n }\n return defaultColorScheme.light;\n })();\n if (key === resolvedDefaultColorScheme) {\n if (excludeVariablesFromRoot) {\n const excludedVariables = {};\n excludeVariablesFromRoot(cssVarPrefix).forEach(cssVar => {\n excludedVariables[cssVar] = css[cssVar];\n delete css[cssVar];\n });\n defaultColorSchemeStyleSheet[`[${attribute}=\"${key}\"]`] = excludedVariables;\n }\n defaultColorSchemeStyleSheet[`${colorSchemeSelector}, [${attribute}=\"${key}\"]`] = css;\n } else {\n otherColorSchemesStyleSheet[`${colorSchemeSelector === ':root' ? '' : colorSchemeSelector}[${attribute}=\"${key}\"]`] = css;\n }\n });\n theme.vars = deepmerge(theme.vars, rootVars);\n\n // 5. Declaring effects\n // 5.1 Updates the selector value to use the current color scheme which tells CSS to use the proper stylesheet.\n React.useEffect(() => {\n if (colorScheme && colorSchemeNode) {\n // attaches attribute to because the css variables are attached to :root (html)\n colorSchemeNode.setAttribute(attribute, colorScheme);\n }\n }, [colorScheme, attribute, colorSchemeNode]);\n\n // 5.2 Remove the CSS transition when color scheme changes to create instant experience.\n // credit: https://github.com/pacocoursey/next-themes/blob/b5c2bad50de2d61ad7b52a9c5cdc801a78507d7a/index.tsx#L313\n React.useEffect(() => {\n let timer;\n if (disableTransitionOnChange && hasMounted.current && documentNode) {\n const css = documentNode.createElement('style');\n css.appendChild(documentNode.createTextNode(DISABLE_CSS_TRANSITION));\n documentNode.head.appendChild(css);\n\n // Force browser repaint\n (() => window.getComputedStyle(documentNode.body))();\n timer = setTimeout(() => {\n documentNode.head.removeChild(css);\n }, 1);\n }\n return () => {\n clearTimeout(timer);\n };\n }, [colorScheme, disableTransitionOnChange, documentNode]);\n React.useEffect(() => {\n hasMounted.current = true;\n return () => {\n hasMounted.current = false;\n };\n }, []);\n const contextValue = React.useMemo(() => ({\n allColorSchemes,\n colorScheme,\n darkColorScheme,\n lightColorScheme,\n mode,\n setColorScheme,\n setMode,\n systemMode\n }), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode]);\n let shouldGenerateStyleSheet = true;\n if (disableStyleSheetGeneration || nested && (upperTheme == null ? void 0 : upperTheme.cssVarPrefix) === cssVarPrefix) {\n shouldGenerateStyleSheet = false;\n }\n const element = /*#__PURE__*/_jsxs(React.Fragment, {\n children: [shouldGenerateStyleSheet && /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(GlobalStyles, {\n styles: {\n [colorSchemeSelector]: rootCss\n }\n }), /*#__PURE__*/_jsx(GlobalStyles, {\n styles: defaultColorSchemeStyleSheet\n }), /*#__PURE__*/_jsx(GlobalStyles, {\n styles: otherColorSchemesStyleSheet\n })]\n }), /*#__PURE__*/_jsx(ThemeProvider, {\n themeId: scopedTheme ? themeId : undefined,\n theme: resolveTheme ? resolveTheme(theme) : theme,\n children: children\n })]\n });\n if (nested) {\n return element;\n }\n return /*#__PURE__*/_jsx(ColorSchemeContext.Provider, {\n value: contextValue,\n children: element\n });\n }\n process.env.NODE_ENV !== \"production\" ? CssVarsProvider.propTypes = {\n /**\n * The body attribute name to attach colorScheme.\n */\n attribute: PropTypes.string,\n /**\n * The component tree.\n */\n children: PropTypes.node,\n /**\n * The node used to attach the color-scheme attribute\n */\n colorSchemeNode: PropTypes.any,\n /**\n * The CSS selector for attaching the generated custom properties\n */\n colorSchemeSelector: PropTypes.string,\n /**\n * localStorage key used to store `colorScheme`\n */\n colorSchemeStorageKey: PropTypes.string,\n /**\n * The initial color scheme used.\n */\n defaultColorScheme: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n /**\n * The initial mode used.\n */\n defaultMode: PropTypes.string,\n /**\n * If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.\n */\n disableNestedContext: PropTypes.bool,\n /**\n * If `true`, the style sheet won't be generated.\n *\n * This is useful for controlling nested CssVarsProvider behavior.\n */\n disableStyleSheetGeneration: PropTypes.bool,\n /**\n * Disable CSS transitions when switching between modes or color schemes.\n */\n disableTransitionOnChange: PropTypes.bool,\n /**\n * The document to attach the attribute to.\n */\n documentNode: PropTypes.any,\n /**\n * The key in the local storage used to store current color scheme.\n */\n modeStorageKey: PropTypes.string,\n /**\n * The window that attaches the 'storage' event listener.\n * @default window\n */\n storageWindow: PropTypes.any,\n /**\n * The calculated theme object that will be passed through context.\n */\n theme: PropTypes.object\n } : void 0;\n const defaultLightColorScheme = typeof designSystemColorScheme === 'string' ? designSystemColorScheme : designSystemColorScheme.light;\n const defaultDarkColorScheme = typeof designSystemColorScheme === 'string' ? designSystemColorScheme : designSystemColorScheme.dark;\n const getInitColorSchemeScript = params => systemGetInitColorSchemeScript(_extends({\n attribute: defaultAttribute,\n colorSchemeStorageKey: defaultColorSchemeStorageKey,\n defaultMode: designSystemMode,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey: defaultModeStorageKey\n }, params));\n return {\n CssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript\n };\n}","/**\n * The benefit of this function is to help developers get CSS var from theme without specifying the whole variable\n * and they does not need to remember the prefix (defined once).\n */\nexport default function createGetCssVar(prefix = '') {\n function appendVar(...vars) {\n if (!vars.length) {\n return '';\n }\n const value = vars[0];\n if (typeof value === 'string' && !value.match(/(#|\\(|\\)|(-?(\\d*\\.)?\\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\\d*\\.)?\\d+)$|(\\d+ \\d+ \\d+)/)) {\n return `, var(--${prefix ? `${prefix}-` : ''}${value}${appendVar(...vars.slice(1))})`;\n }\n return `, ${value}`;\n }\n\n // AdditionalVars makes `getCssVar` less strict, so it can be use like this `getCssVar('non-mui-variable')` without type error.\n const getCssVar = (field, ...fallbacks) => {\n return `var(--${prefix ? `${prefix}-` : ''}${field}${appendVar(...fallbacks)})`;\n };\n return getCssVar;\n}","/**\n * This function create an object from keys, value and then assign to target\n *\n * @param {Object} obj : the target object to be assigned\n * @param {string[]} keys\n * @param {string | number} value\n *\n * @example\n * const source = {}\n * assignNestedKeys(source, ['palette', 'primary'], 'var(--palette-primary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)' } }\n *\n * @example\n * const source = { palette: { primary: 'var(--palette-primary)' } }\n * assignNestedKeys(source, ['palette', 'secondary'], 'var(--palette-secondary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)', secondary: 'var(--palette-secondary)' } }\n */\nexport const assignNestedKeys = (obj, keys, value, arrayKeys = []) => {\n let temp = obj;\n keys.forEach((k, index) => {\n if (index === keys.length - 1) {\n if (Array.isArray(temp)) {\n temp[Number(k)] = value;\n } else if (temp && typeof temp === 'object') {\n temp[k] = value;\n }\n } else if (temp && typeof temp === 'object') {\n if (!temp[k]) {\n temp[k] = arrayKeys.includes(k) ? [] : {};\n }\n temp = temp[k];\n }\n });\n};\n\n/**\n *\n * @param {Object} obj : source object\n * @param {Function} callback : a function that will be called when\n * - the deepest key in source object is reached\n * - the value of the deepest key is NOT `undefined` | `null`\n *\n * @example\n * walkObjectDeep({ palette: { primary: { main: '#000000' } } }, console.log)\n * // ['palette', 'primary', 'main'] '#000000'\n */\nexport const walkObjectDeep = (obj, callback, shouldSkipPaths) => {\n function recurse(object, parentKeys = [], arrayKeys = []) {\n Object.entries(object).forEach(([key, value]) => {\n if (!shouldSkipPaths || shouldSkipPaths && !shouldSkipPaths([...parentKeys, key])) {\n if (value !== undefined && value !== null) {\n if (typeof value === 'object' && Object.keys(value).length > 0) {\n recurse(value, [...parentKeys, key], Array.isArray(value) ? [...arrayKeys, key] : arrayKeys);\n } else {\n callback([...parentKeys, key], value, arrayKeys);\n }\n }\n }\n });\n }\n recurse(obj);\n};\nconst getCssValue = (keys, value) => {\n if (typeof value === 'number') {\n if (['lineHeight', 'fontWeight', 'opacity', 'zIndex'].some(prop => keys.includes(prop))) {\n // CSS property that are unitless\n return value;\n }\n const lastKey = keys[keys.length - 1];\n if (lastKey.toLowerCase().indexOf('opacity') >= 0) {\n // opacity values are unitless\n return value;\n }\n return `${value}px`;\n }\n return value;\n};\n\n/**\n * a function that parse theme and return { css, vars }\n *\n * @param {Object} theme\n * @param {{\n * prefix?: string,\n * shouldSkipGeneratingVar?: (objectPathKeys: Array, value: string | number) => boolean\n * }} options.\n * `prefix`: The prefix of the generated CSS variables. This function does not change the value.\n *\n * @returns {{ css: Object, vars: Object }} `css` is the stylesheet, `vars` is an object to get css variable (same structure as theme).\n *\n * @example\n * const { css, vars } = parser({\n * fontSize: 12,\n * lineHeight: 1.2,\n * palette: { primary: { 500: 'var(--color)' } }\n * }, { prefix: 'foo' })\n *\n * console.log(css) // { '--foo-fontSize': '12px', '--foo-lineHeight': 1.2, '--foo-palette-primary-500': 'var(--color)' }\n * console.log(vars) // { fontSize: 'var(--foo-fontSize)', lineHeight: 'var(--foo-lineHeight)', palette: { primary: { 500: 'var(--foo-palette-primary-500)' } } }\n */\nexport default function cssVarsParser(theme, options) {\n const {\n prefix,\n shouldSkipGeneratingVar\n } = options || {};\n const css = {};\n const vars = {};\n const varsWithDefaults = {};\n walkObjectDeep(theme, (keys, value, arrayKeys) => {\n if (typeof value === 'string' || typeof value === 'number') {\n if (!shouldSkipGeneratingVar || !shouldSkipGeneratingVar(keys, value)) {\n // only create css & var if `shouldSkipGeneratingVar` return false\n const cssVar = `--${prefix ? `${prefix}-` : ''}${keys.join('-')}`;\n Object.assign(css, {\n [cssVar]: getCssValue(keys, value)\n });\n assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);\n assignNestedKeys(varsWithDefaults, keys, `var(${cssVar}, ${value})`, arrayKeys);\n }\n }\n }, keys => keys[0] === 'vars' // skip 'vars/*' paths\n );\n return {\n css,\n vars,\n varsWithDefaults\n };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toPropertyKey from \"@babel/runtime/helpers/esm/toPropertyKey\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"colorSchemes\", \"components\", \"defaultColorScheme\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport cssVarsParser from './cssVarsParser';\nfunction prepareCssVars(theme, parserConfig) {\n // @ts-ignore - ignore components do not exist\n const {\n colorSchemes = {},\n defaultColorScheme = 'light'\n } = theme,\n otherTheme = _objectWithoutPropertiesLoose(theme, _excluded);\n const {\n vars: rootVars,\n css: rootCss,\n varsWithDefaults: rootVarsWithDefaults\n } = cssVarsParser(otherTheme, parserConfig);\n let themeVars = rootVarsWithDefaults;\n const colorSchemesMap = {};\n const {\n [defaultColorScheme]: light\n } = colorSchemes,\n otherColorSchemes = _objectWithoutPropertiesLoose(colorSchemes, [defaultColorScheme].map(_toPropertyKey));\n Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {\n const {\n vars,\n css,\n varsWithDefaults\n } = cssVarsParser(scheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[key] = {\n css,\n vars\n };\n });\n if (light) {\n // default color scheme vars should be merged last to set as default\n const {\n css,\n vars,\n varsWithDefaults\n } = cssVarsParser(light, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[defaultColorScheme] = {\n css,\n vars\n };\n }\n const generateCssVars = colorScheme => {\n var _parserConfig$getSele2;\n if (!colorScheme) {\n var _parserConfig$getSele;\n const css = _extends({}, rootCss);\n return {\n css,\n vars: rootVars,\n selector: (parserConfig == null || (_parserConfig$getSele = parserConfig.getSelector) == null ? void 0 : _parserConfig$getSele.call(parserConfig, colorScheme, css)) || ':root'\n };\n }\n const css = _extends({}, colorSchemesMap[colorScheme].css);\n return {\n css,\n vars: colorSchemesMap[colorScheme].vars,\n selector: (parserConfig == null || (_parserConfig$getSele2 = parserConfig.getSelector) == null ? void 0 : _parserConfig$getSele2.call(parserConfig, colorScheme, css)) || ':root'\n };\n };\n return {\n vars: themeVars,\n generateCssVars\n };\n}\nexport default prepareCssVars;","import createStyled from './createStyled';\nconst styled = createStyled();\nexport default styled;","/**\n * Safe chained function.\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n */\nexport default function createChainedFunction(...funcs) {\n return funcs.reduce((acc, func) => {\n if (func == null) {\n return acc;\n }\n return function chainedFunction(...args) {\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, () => {});\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n let timeout;\n function debounced(...args) {\n const later = () => {\n // @ts-ignore\n func.apply(this, args);\n };\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n return debounced;\n}","// A change of the browser zoom change the scrollbar size.\n// Credit https://github.com/twbs/bootstrap/blob/488fd8afc535ca3a6ad4dc581f5e89217b6a36ac/js/src/util/scrollbar.js#L14-L18\nexport default function getScrollbarSize(doc) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\n const documentWidth = doc.documentElement.clientWidth;\n return Math.abs(window.innerWidth - documentWidth);\n}","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n var _muiName, _element$type;\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName\n // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45\n // eslint-disable-next-line no-underscore-dangle\n (_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;\n}","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","import ownerDocument from '../ownerDocument';\nexport default function ownerWindow(node) {\n const doc = ownerDocument(node);\n return doc.defaultView || window;\n}","/**\n * TODO v5: consider making it private\n *\n * passes {value} to {ref}\n *\n * WARNING: Be sure to only call this inside a callback that is passed as a ref.\n * Otherwise, make sure to cleanup the previous {ref} if it changes. See\n * https://github.com/mui/material-ui/issues/13539\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","'use client';\n\n/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport default function useControlled({\n controlled,\n default: defaultProp,\n name,\n state = 'value'\n}) {\n // isControlled is ignored in the hook dependency lists as it should never change.\n const {\n current: isControlled\n } = React.useRef(controlled !== undefined);\n const [valueState, setValue] = React.useState(defaultProp);\n const value = isControlled ? controlled : valueState;\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(() => {\n if (isControlled !== (controlled !== undefined)) {\n console.error([`MUI: A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [state, name, controlled]);\n const {\n current: defaultValue\n } = React.useRef(defaultProp);\n React.useEffect(() => {\n if (!isControlled && defaultValue !== defaultProp) {\n console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\\n'));\n }\n }, [JSON.stringify(defaultProp)]);\n }\n const setValueIfUncontrolled = React.useCallback(newValue => {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.\n * This is useful for effects that are only needed for client-side rendering but not for SSR.\n *\n * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * and confirm it doesn't apply to your use-case.\n */\nconst useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nexport default useEnhancedEffect;","'use client';\n\nimport * as React from 'react';\nimport useEnhancedEffect from '../useEnhancedEffect';\n\n/**\n * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892\n * See RFC in https://github.com/reactjs/rfcs/pull/220\n */\n\nfunction useEventCallback(fn) {\n const ref = React.useRef(fn);\n useEnhancedEffect(() => {\n ref.current = fn;\n });\n return React.useRef((...args) =>\n // @ts-expect-error hide `this`\n (0, ref.current)(...args)).current;\n}\nexport default useEventCallback;","'use client';\n\nimport * as React from 'react';\nimport setRef from '../setRef';\nexport default function useForkRef(...refs) {\n /**\n * This will create a new function if the refs passed to this hook change and are all defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return instance => {\n refs.forEach(ref => {\n setRef(ref, instance);\n });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}","'use client';\n\nimport * as React from 'react';\nlet globalId = 0;\nfunction useGlobalId(idOverride) {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`mui-${globalId}`);\n }\n }, [defaultId]);\n return id;\n}\n\n// downstream bundlers may remove unnecessary concatenation, but won't remove toString call -- Workaround for https://github.com/webpack/webpack/issues/14814\nconst maybeReactUseId = React['useId'.toString()];\n/**\n *\n * @example
\n * @param idOverride\n * @returns {string}\n */\nexport default function useId(idOverride) {\n if (maybeReactUseId !== undefined) {\n const reactId = maybeReactUseId();\n return idOverride != null ? idOverride : reactId;\n }\n // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n return useGlobalId(idOverride);\n}","'use client';\n\n// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js\nimport * as React from 'react';\nimport { Timeout } from '../useTimeout/useTimeout';\nlet hadKeyboardEvent = true;\nlet hadFocusVisibleRecently = false;\nconst hadFocusVisibleRecentlyTimeout = new Timeout();\nconst inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n};\n\n/**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} node\n * @returns {boolean}\n */\nfunction focusTriggersKeyboardModality(node) {\n const {\n type,\n tagName\n } = node;\n if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) {\n return true;\n }\n if (tagName === 'TEXTAREA' && !node.readOnly) {\n return true;\n }\n if (node.isContentEditable) {\n return true;\n }\n return false;\n}\n\n/**\n * Keep track of our keyboard modality state with `hadKeyboardEvent`.\n * If the most recent user interaction was via the keyboard;\n * and the key press did not include a meta, alt/option, or control key;\n * then the modality is keyboard. Otherwise, the modality is not keyboard.\n * @param {KeyboardEvent} event\n */\nfunction handleKeyDown(event) {\n if (event.metaKey || event.altKey || event.ctrlKey) {\n return;\n }\n hadKeyboardEvent = true;\n}\n\n/**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n */\nfunction handlePointerDown() {\n hadKeyboardEvent = false;\n}\nfunction handleVisibilityChange() {\n if (this.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n }\n}\nfunction prepare(doc) {\n doc.addEventListener('keydown', handleKeyDown, true);\n doc.addEventListener('mousedown', handlePointerDown, true);\n doc.addEventListener('pointerdown', handlePointerDown, true);\n doc.addEventListener('touchstart', handlePointerDown, true);\n doc.addEventListener('visibilitychange', handleVisibilityChange, true);\n}\nexport function teardown(doc) {\n doc.removeEventListener('keydown', handleKeyDown, true);\n doc.removeEventListener('mousedown', handlePointerDown, true);\n doc.removeEventListener('pointerdown', handlePointerDown, true);\n doc.removeEventListener('touchstart', handlePointerDown, true);\n doc.removeEventListener('visibilitychange', handleVisibilityChange, true);\n}\nfunction isFocusVisible(event) {\n const {\n target\n } = event;\n try {\n return target.matches(':focus-visible');\n } catch (error) {\n // Browsers not implementing :focus-visible will throw a SyntaxError.\n // We use our own heuristic for those browsers.\n // Rethrow might be better if it's not the expected error but do we really\n // want to crash if focus-visible malfunctioned?\n }\n\n // No need for validFocusTarget check. The user does that by attaching it to\n // focusable events only.\n return hadKeyboardEvent || focusTriggersKeyboardModality(target);\n}\nexport default function useIsFocusVisible() {\n const ref = React.useCallback(node => {\n if (node != null) {\n prepare(node.ownerDocument);\n }\n }, []);\n const isFocusVisibleRef = React.useRef(false);\n\n /**\n * Should be called if a blur event is fired\n */\n function handleBlurVisible() {\n // checking against potential state variable does not suffice if we focus and blur synchronously.\n // React wouldn't have time to trigger a re-render so `focusVisible` would be stale.\n // Ideally we would adjust `isFocusVisible(event)` to look at `relatedTarget` for blur events.\n // This doesn't work in IE11 due to https://github.com/facebook/react/issues/3751\n // TODO: check again if React releases their internal changes to focus event handling (https://github.com/facebook/react/pull/19186).\n if (isFocusVisibleRef.current) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n hadFocusVisibleRecentlyTimeout.start(100, () => {\n hadFocusVisibleRecently = false;\n });\n isFocusVisibleRef.current = false;\n return true;\n }\n return false;\n }\n\n /**\n * Should be called if a blur event is fired\n */\n function handleFocusVisible(event) {\n if (isFocusVisible(event)) {\n isFocusVisibleRef.current = true;\n return true;\n }\n return false;\n }\n return {\n isFocusVisibleRef,\n onFocus: handleFocusVisible,\n onBlur: handleBlurVisible,\n ref\n };\n}","'use client';\n\nimport * as React from 'react';\nconst UNINITIALIZED = {};\n\n/**\n * A React.useRef() that is initialized lazily with a function. Note that it accepts an optional\n * initialization argument, so the initialization function doesn't need to be an inline closure.\n *\n * @usage\n * const ref = useLazyRef(sortColumns, columns)\n */\nexport default function useLazyRef(init, initArg) {\n const ref = React.useRef(UNINITIALIZED);\n if (ref.current === UNINITIALIZED) {\n ref.current = init(initArg);\n }\n return ref;\n}","'use client';\n\nimport * as React from 'react';\nconst EMPTY = [];\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport default function useOnMount(fn) {\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(fn, EMPTY);\n /* eslint-enable react-hooks/exhaustive-deps */\n}","'use client';\n\nimport useLazyRef from '../useLazyRef/useLazyRef';\nimport useOnMount from '../useOnMount/useOnMount';\nexport class Timeout {\n constructor() {\n this.currentId = null;\n this.clear = () => {\n if (this.currentId !== null) {\n clearTimeout(this.currentId);\n this.currentId = null;\n }\n };\n this.disposeEffect = () => {\n return this.clear;\n };\n }\n static create() {\n return new Timeout();\n }\n /**\n * Executes `fn` after `delay`, clearing any previously scheduled call.\n */\n start(delay, fn) {\n this.clear();\n this.currentId = setTimeout(() => {\n this.currentId = null;\n fn();\n }, delay);\n }\n}\nexport default function useTimeout() {\n const timeout = useLazyRef(Timeout.create).current;\n useOnMount(timeout.disposeEffect);\n return timeout;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","export default function getUAString() {\n var uaData = navigator.userAgentData;\n\n if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {\n return uaData.brands.map(function (item) {\n return item.brand + \"/\" + item.version;\n }).join(' ');\n }\n\n return navigator.userAgent;\n}","import getUAString from \"../utils/userAgent.js\";\nexport default function isLayoutViewport() {\n return !/^((?!chrome|android).)*safari/i.test(getUAString());\n}","import { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nimport getWindow from \"./getWindow.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n\n var clientRect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n var _ref = isElement(element) ? getWindow(element) : window,\n visualViewport = _ref.visualViewport;\n\n var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n var width = clientRect.width / scaleX;\n var height = clientRect.height / scaleY;\n return {\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x: x,\n y: y\n };\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on \n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = round(rect.width) / element.offsetWidth || 1;\n var scaleY = round(rect.height) / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement, isShadowRoot } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getUAString from \"../utils/userAgent.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = /firefox/i.test(getUAString());\n var isIE = /Trident/i.test(getUAString());\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n });\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref) {\n var name = _ref.name,\n _ref$options = _ref.options,\n options = _ref$options === void 0 ? {} : _ref$options,\n effect = _ref.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref, win) {\n var x = _ref.x,\n y = _ref.y;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }, getWindow(popper)) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element, strategy) {\n var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent, strategy) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary, strategy) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getViewportRect(element, strategy) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n var layoutViewport = isLayoutViewport();\n\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `` and `` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$strategy = _options.strategy,\n strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n var referenceClientRect = getBoundingClientRect(state.elements.reference);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n var v = within(min, value, max);\n return v > max ? max : v;\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport { within, withinMaxClamp } from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { min as mathMin, max as mathMax } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n mainAxis: tetherOffsetValue,\n altAxis: tetherOffsetValue\n } : Object.assign({\n mainAxis: 0,\n altAxis: 0\n }, tetherOffsetValue);\n var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var _offsetModifierState$;\n\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = offset + overflow[mainSide];\n var max = offset - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = offset + maxOffset - offsetModifierValue;\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _offsetModifierState$2;\n\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _len = altAxis === 'y' ? 'height' : 'width';\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","export default {\n disabled: false\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n *
\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `
` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","import React from 'react';\nexport default React.createContext(null);","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","export default function _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}"],"names":["props","children","theme","localTheme","outerTheme","useTheme","React","output","_extends","mergeOuterLocalTheme","nested","_jsx","ThemeContext","Provider","value","Symbol","for","_ref","styles","themeId","defaultTheme","upperTheme","globalStyles","MuiGlobalStyles","_excluded","RtlContext","useRtl","_objectWithoutPropertiesLoose","createTheme","defaultCreateStyledComponent","systemStyled","name","slot","overridesResolver","root","useThemePropsDefault","useThemePropsSystem","joinChildren","separator","childrenArray","toArray","filter","Boolean","reduce","child","index","push","length","key","concat","style","ownerState","display","flexDirection","handleBreakpoints","resolveBreakpointValues","values","direction","breakpoints","propValue","spacing","transformer","createUnarySpacing","base","Object","keys","acc","breakpoint","directionValues","spacingValues","forEach","previousDirectionValue","styleFromPropValue","useFlexGap","gap","getValue","margin","row","column","deepmerge","mergeBreakpointsInOrder","createStack","options","arguments","undefined","createStyledComponent","useThemeProps","componentName","StackRoot","inProps","ref","themeProps","extendSxProp","component","divider","className","other","classes","composeClasses","generateUtilityClass","as","clsx","EMPTY_THEME","useThemeScoping","isPrivate","resolvedTheme","mergedTheme","result","useThemeWithoutDefault","upperPrivateTheme","usePrivateTheme","engineTheme","privateTheme","rtlValue","MuiThemeProvider","StyledEngineThemeContext","RtlProvider","clampWrapper","min","max","clamp","hexToRgb","color","slice","re","RegExp","colors","match","map","n","parseInt","Math","round","join","decomposeColor","type","charAt","marker","indexOf","substring","Error","_formatMuiErrorMessage","colorSpace","split","shift","parseFloat","private_safeColorChannel","warning","decomposedColor","val","idx","colorChannel","error","recomposeColor","i","rgbToHex","int","hex","toString","intToHex","hslToRgb","h","s","l","a","f","k","rgb","getLuminance","Number","toFixed","getContrastRatio","foreground","background","lumA","lumB","alpha","private_safeAlpha","darken","coefficient","private_safeDarken","lighten","private_safeLighten","emphasize","private_safeEmphasize","_excluded2","_excluded3","shouldForwardProp","prop","systemDefaultTheme","lowercaseFirstLetter","string","toLowerCase","resolveTheme","_ref2","obj","defaultOverridesResolver","processStyleArg","callableStyle","resolvedStylesArg","Array","isArray","flatMap","resolvedStyle","variants","variant","isMatch","createStyled","input","rootShouldForwardProp","slotShouldForwardProp","systemSx","styleFunctionSx","__mui_systemSx","tag","inputOptions","processStyles","componentSlot","skipVariantsResolver","inputSkipVariantsResolver","skipSx","inputSkipSx","shouldForwardPropOption","charCodeAt","isStringTag","defaultStyledResolver","styledEngineStyled","label","transformStyleArg","stylesArg","__emotion_real","isPlainObject","muiStyledResolver","styleArg","transformedStyleArg","_len","expressions","_key","expressionsWithDefaultTheme","components","styleOverrides","resolvedStyleOverrides","entries","_ref3","slotKey","slotStyle","_theme$components","numOfCustomFnsApplied","placeholders","fill","raw","Component","muiName","withConfig","DEFAULT_MODE_STORAGE_KEY","DEFAULT_COLOR_SCHEME_STORAGE_KEY","DEFAULT_ATTRIBUTE","getSystemMode","mode","window","matchMedia","matches","processState","state","callback","systemMode","initializeValue","defaultValue","localStorage","getItem","setItem","e","useCurrentColorScheme","defaultMode","defaultLightColorScheme","defaultDarkColorScheme","supportedColorSchemes","modeStorageKey","colorSchemeStorageKey","storageWindow","joinedColorSchemes","setState","initialMode","lightColorScheme","darkColorScheme","colorScheme","getColorScheme","setMode","currentState","newMode","setColorScheme","includes","console","newState","newLightColorScheme","light","newDarkColorScheme","dark","handleMediaQuery","event","mediaListener","current","handler","media","addListener","removeListener","handleStorage","newValue","startsWith","endsWith","addEventListener","removeEventListener","DISABLE_CSS_TRANSITION","createCssVarsProvider","attribute","defaultAttribute","defaultModeStorageKey","defaultColorSchemeStorageKey","designSystemMode","defaultColorScheme","designSystemColorScheme","disableTransitionOnChange","designSystemTransitionOnChange","excludeVariablesFromRoot","colorSchemes","ColorSchemeContext","CssVarsProvider","themeProp","documentNode","document","colorSchemeNode","documentElement","colorSchemeSelector","disableNestedContext","disableStyleSheetGeneration","hasMounted","muiUseTheme","ctx","scopedTheme","generateCssVars","vars","css","cssVarPrefix","restThemeProp","allColorSchemes","stateMode","stateColorScheme","calculatedColorScheme","rootCss","rootVars","getColorSchemeSelector","targetColorScheme","defaultColorSchemeStyleSheet","otherColorSchemesStyleSheet","scheme","schemeKey","palette","excludedVariables","cssVar","setAttribute","timer","createElement","appendChild","createTextNode","head","getComputedStyle","body","setTimeout","removeChild","clearTimeout","contextValue","shouldGenerateStyleSheet","element","_jsxs","GlobalStyles","ThemeProvider","useColorScheme","getInitColorSchemeScript","params","dangerouslySetInnerHTML","__html","systemGetInitColorSchemeScript","createGetCssVar","prefix","appendVar","field","_len2","fallbacks","_key2","assignNestedKeys","arrayKeys","temp","walkObjectDeep","shouldSkipPaths","recurse","object","parentKeys","getCssValue","some","cssVarsParser","shouldSkipGeneratingVar","varsWithDefaults","assign","parserConfig","otherTheme","rootVarsWithDefaults","themeVars","colorSchemesMap","otherColorSchemes","_toPropertyKey","_parserConfig$getSele2","_parserConfig$getSele","selector","getSelector","call","createChainedFunction","funcs","func","args","apply","this","debounce","timeout","wait","debounced","later","clear","getScrollbarSize","doc","documentWidth","clientWidth","abs","innerWidth","isMuiElement","muiNames","_muiName","_element$type","_payload","ownerDocument","node","ownerWindow","defaultView","setRef","useControlled","controlled","default","defaultProp","isControlled","valueState","setValue","fn","useEnhancedEffect","useForkRef","refs","every","instance","globalId","maybeReactUseId","useId","idOverride","reactId","defaultId","setDefaultId","id","useGlobalId","hadKeyboardEvent","hadFocusVisibleRecently","hadFocusVisibleRecentlyTimeout","Timeout","inputTypesWhitelist","text","search","url","tel","email","password","number","date","month","week","time","datetime","handleKeyDown","metaKey","altKey","ctrlKey","handlePointerDown","handleVisibilityChange","visibilityState","isFocusVisible","target","tagName","readOnly","isContentEditable","focusTriggersKeyboardModality","useIsFocusVisible","isFocusVisibleRef","onFocus","onBlur","start","UNINITIALIZED","EMPTY","constructor","currentId","disposeEffect","create","delay","useTimeout","init","initArg","useLazyRef","getWindow","isElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","getUAString","uaData","navigator","userAgentData","brands","item","brand","version","userAgent","isLayoutViewport","test","getBoundingClientRect","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","offsetWidth","width","offsetHeight","height","visualViewport","addVisualOffsets","x","left","offsetLeft","y","top","offsetTop","right","bottom","getWindowScroll","win","scrollLeft","pageXOffset","scrollTop","pageYOffset","getNodeName","nodeName","getDocumentElement","getWindowScrollBarX","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getCompositeRect","elementOrVirtualElement","offsetParent","isFixed","isOffsetParentAnElement","offsetParentIsScaled","rect","isElementScaled","scroll","offsets","getNodeScroll","clientLeft","clientTop","getLayoutRect","getParentNode","assignedSlot","parentNode","host","getScrollParent","listScrollParents","list","_element$ownerDocumen","scrollParent","isBody","updatedList","isTableElement","getTrueOffsetParent","position","getOffsetParent","isFirefox","currentNode","transform","perspective","contain","willChange","getContainingBlock","auto","basePlacements","end","clippingParents","viewport","popper","reference","variationPlacements","placement","placements","modifierPhases","order","modifiers","Map","visited","Set","sort","modifier","add","requires","requiresIfExists","dep","has","depModifier","get","set","pending","Promise","resolve","then","DEFAULT_OPTIONS","strategy","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","orderedModifiers","modifiersData","elements","attributes","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","cleanupModifierEffects","scrollParents","contextElement","phase","orderModifiers","merged","existing","data","mergeByName","m","enabled","_ref$options","effect","cleanupFn","noopFn","update","forceUpdate","_state$elements","rects","reset","_state$orderedModifie","_state$orderedModifie2","_options","destroy","onFirstUpdate","passive","getBasePlacement","getVariation","getMainAxisFromPlacement","computeOffsets","basePlacement","variation","commonX","commonY","mainAxis","len","unsetSides","mapToStyles","_Object$assign2","popperRect","gpuAcceleration","adaptive","roundOffsets","_offsets$x","_offsets$y","hasX","hasOwnProperty","hasY","sideX","sideY","heightProp","widthProp","_Object$assign","commonStyles","_ref4","dpr","devicePixelRatio","roundOffsetsByDPR","_options$offset","offset","invertDistance","skidding","distance","distanceAndSkiddingToXY","_data$state$placement","popperOffsets","hash","getOppositePlacement","replace","matched","getOppositeVariationPlacement","contains","parent","rootNode","getRootNode","next","isSameNode","rectToClientRect","getClientRectFromMixedType","clippingParent","html","clientHeight","layoutViewport","getViewportRect","getInnerBoundingClientRect","winScroll","scrollWidth","scrollHeight","getDocumentRect","getClippingRect","boundary","rootBoundary","mainClippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","mergePaddingObject","paddingObject","expandToHashMap","hashMap","detectOverflow","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","axis","within","mathMax","mathMin","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","referenceRect","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowElement","arrow","arrowRect","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","arrowOffsetParent","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","v","withinMaxClamp","_state$modifiersData$","toPaddingObject","minProp","maxProp","endDiff","startDiff","clientSize","centerToReference","center","axisProp","centerOffset","_options$element","querySelector","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","createPopper","_options$scroll","_options$resize","resize","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","removeAttribute","initialStyles","property","_skip","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","_options$allowedAutoP","allPlacements","allowedPlacements","overflows","b","computeAutoPlacement","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","check","_loop","_i","fittingPlacement","find","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","context","_this","initialStatus","appear","isMounting","enter","appearStatus","in","unmountOnExit","mountOnEnter","status","nextCallback","_inheritsLoose","getDerivedStateFromProps","prevState","_proto","prototype","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","exit","mounting","nodeRef","ReactDOM","forceReflow","performEnter","performExit","_this2","appearing","maybeNode","maybeAppearing","timeouts","enterTimeout","config","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","_this3","onExit","onExiting","onExited","cancel","nextState","setNextCallback","_this4","active","doesNotHaveTimeoutOrListener","addEndListener","maybeNextCallback","render","_this$props","childProps","TransitionGroupContext","only","noop","contextType","propTypes","defaultProps","getChildMapping","mapFn","Children","c","isValidElement","mapper","getProp","getNextChildMapping","nextProps","prevChildMapping","nextChildMapping","prev","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","cloneElement","bind","TransitionGroup","handleExited","_assertThisInitialized","firstRender","mounted","currentChildMapping","childFactory","self","ReferenceError","_setPrototypeOf","o","p","setPrototypeOf","__proto__","subClass","superClass","_taggedTemplateLiteral","strings","freeze","defineProperties","_typeof","iterator","toPropertyKey","t","r","toPrimitive","TypeError","String"],"sourceRoot":""} \ No newline at end of file diff --git a/admin/static/js/173.4e774f7f.chunk.js b/admin/static/js/173.4e774f7f.chunk.js new file mode 100644 index 000000000..bf3ef9726 --- /dev/null +++ b/admin/static/js/173.4e774f7f.chunk.js @@ -0,0 +1,2 @@ +(self.webpackChunkjs=self.webpackChunkjs||[]).push([[173],{41497:(e,r,t)=>{"use strict";var n=t(13218);function o(){}function s(){}s.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,s,a){if(a!==n){var p=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 p.name="Invariant Violation",p}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:s,resetWarningCache:o};return t.PropTypes=t,t}},65173:(e,r,t)=>{e.exports=t(41497)()},13218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]); +//# sourceMappingURL=173.4e774f7f.chunk.js.map \ No newline at end of file diff --git a/admin/static/js/173.4e774f7f.chunk.js.map b/admin/static/js/173.4e774f7f.chunk.js.map new file mode 100644 index 000000000..72bb302a4 --- /dev/null +++ b/admin/static/js/173.4e774f7f.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/173.4e774f7f.chunk.js","mappings":"wFASA,IAAIA,EAAuBC,EAAQ,OAEnC,SAASC,IAAiB,CAC1B,SAASC,IAA0B,CACnCA,EAAuBC,kBAAoBF,EAE3CG,EAAOC,QAAU,WACf,SAASC,EAAKC,EAAOC,EAAUC,EAAeC,EAAUC,EAAcC,GACpE,GAAIA,IAAWb,EAAf,CAIA,IAAIc,EAAM,IAAIC,MACZ,mLAKF,MADAD,EAAIE,KAAO,sBACLF,CAPN,CAQF,CAEA,SAASG,IACP,OAAOV,CACT,CAHAA,EAAKW,WAAaX,EAMlB,IAAIY,EAAiB,CACnBC,MAAOb,EACPc,OAAQd,EACRe,KAAMf,EACNgB,KAAMhB,EACNiB,OAAQjB,EACRkB,OAAQlB,EACRmB,OAAQnB,EACRoB,OAAQpB,EAERqB,IAAKrB,EACLsB,QAASZ,EACTa,QAASvB,EACTwB,YAAaxB,EACbyB,WAAYf,EACZgB,KAAM1B,EACN2B,SAAUjB,EACVkB,MAAOlB,EACPmB,UAAWnB,EACXoB,MAAOpB,EACPqB,MAAOrB,EAEPsB,eAAgBpC,EAChBC,kBAAmBF,GAKrB,OAFAiB,EAAeqB,UAAYrB,EAEpBA,CACT,C,kBC/CEd,EAAOC,QAAUL,EAAQ,MAARA,E,yBCNnBI,EAAOC,QAFoB,8C","sources":["../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"],"names":["ReactPropTypesSecret","require","emptyFunction","emptyFunctionWithReset","resetWarningCache","module","exports","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes"],"sourceRoot":""} \ No newline at end of file diff --git a/admin/static/js/184.8afcb7e1.chunk.js b/admin/static/js/184.8afcb7e1.chunk.js new file mode 100644 index 000000000..c64927254 --- /dev/null +++ b/admin/static/js/184.8afcb7e1.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkjs=self.webpackChunkjs||[]).push([[184],{98943:(e,t,s)=>{s.r(t);var a=s(28437),i=s.n(a),o=s(84391),n=s(51431),r=s(45490),l=s(70143),c=s(95973),d=s.n(c),u=s(32009),p=s(62146),h=s.n(p),m=(s(73798),s(32451)),g=s.n(m),b=s(70266),y=s.n(b),v=s(27637),f=s.n(v),S=s(37449),x=s(6720),k=s(584),w=s(39336),C=s(71062),j=s(80216),I=s(2050),A=s(29204),T=s(48734),D=s(71716),N=s(27e3),E=s(94814),O=s(43360),R=s(35964),_=s(42734),M=s(30335),z=s(67537),B=s(60184),P=s(50147),F=s(41698),L=s(64851);const U="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMS4xYyqcSwAAB8xJREFUaEPtmflzVFUWx+ePsYQk3e/1ls7rTu/pdHrvFivOsAlBE2IQUAajjiw6iqhYoowgg1gzLKXEsSQ6YhDDMk4CcTQJhWAgCdmgZlyKfZOZX+bz+nY63Z2gI4F5UtVV3wrd75177vmec89ym1+d70vemUic74vxFwJ8ukMR5y8E+OdORJrGHR0BFQUCWqNAQGsUCGiNAgGtUSCgNQoEtEaBgNYoENAaBQJao0BAaxQIaI0CAa1x6wmc601cOgnilwcSgA98Fc+zxTJPLvQjhnD822Ox3o7wsbbQSHf0PA+HkpcGcuQnxG2JwJKH7fdPt86ZYZ07s2zmr61LF9r3Nwcu9ufIpHkOJI63R9avcdfPU35TbY1HLdGw+d6kpWZW2cpGR8sOv8rkR2ncegJ4NBgw6yVJkiXZIBcVS+GQuXlrhYiDwLne+NWhBJ7eusE7e7q1wmc0mWW9LJfogaSTJINRttsM98TNyx8r79obvFEMwW0hEA6aZQNGSEaTXKKTcKpKYNSR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YqEmg/pOKmtXMff9uEs1zrn0yhfmAitiyWd7F9MiV6XyUviJL4WgcAeAH02xmcTTeh/dIYwSYLeNa3oFvJFckzAd3lztQUDk7W5Msfk4xkeIh+uYM3IogosE3AC5hCIMR960fypDatF4gCJIkDeJAEAcYjnuDDOzjB6nr5ii7A258cfXegOQxOjPHIIvkDKkuIjrov4xzcyESJ2Ak8pDMtnOZFqPArkXZ6dsSWERMct4q8J3NN0OD6xI/qZeQzxd2KYMnQIcMdhJ5jQ4Ih9JiTL8JiRPBOIHNk/YKuQOJc0kexNYksfNzzqs4Ijd7deHzCaAyzQBb8HOIiURAWe2b7g4UvjdzNEyW5nbh9AaUAf15mJlArlDD8yiCRBsghiJaeHbRmdfIWWgLNLG+1kKDaNkQQ0RdA+lFgeOMKA47EssQzExnb/zVrXcYIxufnlRgzXLuO7GPkaz2yCPpDf2C2Rb4AlA/I4aLw/oCVzAs3zKs61FPQ8nbSOcwAbGxKfOH4w6yQfx8ff6Jpmgyo3Do45fKMB9LZDj9OBl8kyeHl7hkhDj+oscKs3D715sh4Q0pEUJSzEoW85GDX+cwRKA2RzcOuK5iNDGV/pRHMlF0vtfitqmTj3Rs/Z3QeCQPSh9+05uArRiMcd6yJcLsVapN0fC4mIRSisJFBW4jbqJLEl6eMA4KWBmYRzIbypEfS+YmrlGW5ycEzrdGKcdBbCJMcm1gYxnLACkSchRPRIOLkoFbjRQpg0C7cIHXKwvRNCVsST2HfZ11pI4rvciUWIYVYZm7tAYyaLjEeRFGnJGgEfaPd3+OFkIIYX9QHgP2TOLzmSH794AAAAAElFTkSuQmCC";var H=s(72882),q=s(26600),G=s(97368),Y=s(92064),K=s(83462),Z=s(42788),Q=s(78632),X=s(17434),$=s(17642),ee=s(85502),te=s(95382),se=s(70579);class ae extends i().Component{constructor(e){super(e),this.handleCancel=()=>{this.props.onClose()},this.handleOk=()=>{this.props.onRename(this.oldId,this.state.id,this.state.name,this.state.instance),this.props.onClose()},this.handleChange=e=>{this.setState({name:e,id:this.getId(e)})},this.state={name:e.name,id:e.id,instance:e.instance||0},this.isShowInstance=!e.folder&&e.instances&&(e.instance||e.instances[0]||e.instances.length>1),this.prefix=this.getPrefix(e.id),this.oldId=e.id}getPrefix(e){const t=(e||"").split(".");return t.pop(),t.join(".")}getId(e){return e=(e||"").replace(/[\\/\][*,;'"`<>?\s]/g,"_"),this.prefix+"."+e}componentWillReceiveProps(e){e.name!==this.props.name&&this.setState({name:e.name}),e.id!==this.props.id&&(this.prefix=this.getPrefix(e.id),this.setState({id:e.id}))}render(){return(0,se.jsxs)(K.A,{onClose:(e,t)=>!1,maxWidth:"md",fullWidth:!0,open:!0,"aria-labelledby":"confirmation-dialog-title",children:[(0,se.jsx)(q.A,{id:"confirmation-dialog-title",children:S.I18n.t("Rename")}),(0,se.jsx)(G.A,{children:(0,se.jsxs)("form",{noValidate:!0,autoComplete:"off",children:[(0,se.jsx)(Z.A,{variant:"standard",style:{width:"100%"},id:"standard-name",autoFocus:!0,label:S.I18n.t("Name"),value:this.state.name,onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),setTimeout((()=>this.handleOk()),200))},onChange:e=>this.handleChange(e.target.value),margin:"normal"}),(0,se.jsx)(Z.A,{variant:"standard",id:"standard-name-id",style:{width:"100%"},label:S.I18n.t("ID"),value:this.state.id,disabled:!0,margin:"normal"}),this.isShowInstance&&(0,se.jsxs)(Q.A,{variant:"standard",children:[(0,se.jsx)($.A,{htmlFor:"instance",children:S.I18n.t("Instance")}),(0,se.jsx)(X.A,{variant:"standard",value:this.state.instance,onChange:e=>this.setState({instance:parseInt(e.target.value,10)}),inputProps:{name:"instance",id:"instance"},children:this.props.instances.map((e=>(0,se.jsx)(E.A,{value:e,children:e||"0"},e)))})]})]})}),(0,se.jsxs)(Y.A,{children:[(0,se.jsx)(H.A,{variant:"contained",onClick:this.handleOk,color:"primary",startIcon:(0,se.jsx)(te.A,{}),children:S.I18n.t("Ok")}),(0,se.jsx)(H.A,{color:"grey",variant:"contained",onClick:this.handleCancel,startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Cancel")})]})]})}}const ie=ae;class oe extends i().Component{constructor(e){super(e),this.handleCancel=()=>{this.props.onClose(null)},this.handleOk=()=>{this.props.onDelete(this.state.id),this.props.onClose(this.props.value)},this.state={name:e.name,id:e.id}}componentWillReceiveProps(e){e.name!==this.props.name&&this.setState({name:e.name}),e.id!==this.props.id&&this.setState({id:e.id})}render(){return(0,se.jsxs)(K.A,{onClose:(e,t)=>!1,maxWidth:"md",open:!0,"aria-labelledby":"confirmation-dialog-title",children:[(0,se.jsx)(q.A,{id:"confirmation-dialog-title",children:S.I18n.t("Are you sure?")}),(0,se.jsxs)(G.A,{children:[(0,se.jsx)(x.b6i,{}),(0,se.jsx)("span",{style:{fontSize:14,fontWeight:"bold"},children:S.I18n.t("Delete %s",this.state.name)})]}),(0,se.jsxs)(Y.A,{children:[(0,se.jsx)(H.A,{variant:"contained",onClick:this.handleOk,color:"primary",startIcon:(0,se.jsx)(te.A,{}),children:S.I18n.t("Ok")}),(0,se.jsx)(H.A,{color:"grey",variant:"contained",onClick:this.handleCancel,startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Cancel")})]})]})}}const ne=(0,u.A)((e=>({})))(oe);var re=s(59314),le=s(48716),ce=s(70352),de=s(98056),ue=s(41463);const pe=s.p+"static/media/tileJS.8810e7b4835e61465c3a.png",he=s.p+"static/media/tileTS.446265dff5dc550d46a5.png",me=s.p+"static/media/tileBlockly.42b0a9f0e66bc4e68f4b.png",ge=s.p+"static/media/tileRules.7ed5885a66686cc288b1.png";class be extends i().Component{constructor(){super(...arguments),this.handleCancel=()=>{this.props.onClose()},this.handleOk=e=>{this.props.onClose(e)}}openHtml(e){const t=S.I18n.getLanguage();e.includes("javascript.md")||"de"!==t&&"ru"!==t||(e=e.replace(/\/en\//,"/"+t+"/"));window.open(e,"_blank").focus()}getJSCard(){return(0,se.jsxs)(re.A,{className:this.props.classes.card,children:[(0,se.jsxs)(le.A,{onClick:()=>this.props.onClose&&this.props.onClose("Javascript/js"),children:[(0,se.jsx)(ue.A,{className:this.props.classes.media,image:pe,title:"JavaScript"}),(0,se.jsxs)(de.A,{children:[(0,se.jsx)("h2",{children:"JavaScript"}),(0,se.jsx)("div",{className:this.props.classes.complexity,children:S.I18n.t("for programmers")}),(0,se.jsx)("div",{className:this.props.classes.text,children:S.I18n.t("JS description")})]})]}),(0,se.jsxs)(ce.A,{children:[(0,se.jsx)(H.A,{size:"small",color:"primary",variant:"contained",onClick:()=>this.props.onClose&&this.props.onClose("Javascript/js"),children:S.I18n.t("Add")}),(0,se.jsx)(H.A,{size:"small",color:"secondary",onClick:()=>this.openHtml("https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md"),children:S.I18n.t("Learn More")})]})]})}getTSCard(){return(0,se.jsxs)(re.A,{className:this.props.classes.card,children:[(0,se.jsxs)(le.A,{onClick:()=>this.props.onClose&&this.props.onClose("TypeScript/ts"),children:[(0,se.jsx)(ue.A,{className:this.props.classes.media,image:he,title:"TypeScript"}),(0,se.jsxs)(de.A,{children:[(0,se.jsx)("h2",{children:"TypeScript"}),(0,se.jsx)("div",{className:this.props.classes.complexity,children:S.I18n.t("for professionals")}),(0,se.jsx)("div",{className:this.props.classes.text,children:S.I18n.t("TS description")})]})]}),(0,se.jsxs)(ce.A,{children:[(0,se.jsx)(H.A,{size:"small",color:"primary",variant:"contained",onClick:()=>this.props.onClose&&this.props.onClose("TypeScript/ts"),children:S.I18n.t("Add")}),(0,se.jsx)(H.A,{size:"small",color:"secondary",onClick:()=>this.openHtml("https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md"),children:S.I18n.t("Learn More")})]})]})}getBlocklyCard(){return(0,se.jsxs)(re.A,{className:this.props.classes.card,children:[(0,se.jsxs)(le.A,{onClick:()=>this.props.onClose&&this.props.onClose("Blockly"),children:[(0,se.jsx)(ue.A,{className:this.props.classes.media,image:me,title:"Blockly"}),(0,se.jsxs)(de.A,{children:[(0,se.jsx)("h2",{children:"Blockly"}),(0,se.jsx)("div",{className:this.props.classes.complexity,children:S.I18n.t("normal")}),(0,se.jsx)("div",{className:this.props.classes.text,children:S.I18n.t("Blockly description")})]})]}),(0,se.jsxs)(ce.A,{children:[(0,se.jsx)(H.A,{size:"small",color:"primary",variant:"contained",onClick:()=>this.props.onClose&&this.props.onClose("Blockly"),children:S.I18n.t("Add")}),(0,se.jsx)(H.A,{size:"small",color:"secondary",onClick:()=>this.openHtml("https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/blockly.md"),children:S.I18n.t("Learn More")})]})]})}getRulesCard(){return(0,se.jsxs)(re.A,{className:this.props.classes.card,children:[(0,se.jsxs)(le.A,{onClick:()=>this.props.onClose&&this.props.onClose("Rules"),children:[(0,se.jsx)(ue.A,{className:this.props.classes.media,image:ge,title:"Rules"}),(0,se.jsxs)(de.A,{children:[(0,se.jsx)("h2",{children:"Rules"}),(0,se.jsx)("div",{className:this.props.classes.complexity,children:S.I18n.t("easy")}),(0,se.jsx)("div",{className:this.props.classes.text,children:S.I18n.t("Rules description")})]})]}),(0,se.jsxs)(ce.A,{children:[(0,se.jsx)(H.A,{size:"small",color:"primary",variant:"contained",onClick:()=>this.props.onClose&&this.props.onClose("Rules"),children:S.I18n.t("Add")}),(0,se.jsx)(H.A,{size:"small",color:"secondary",onClick:()=>this.openHtml("https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md"),children:S.I18n.t("Learn More")})]})]})}render(){return(0,se.jsxs)(K.A,{onClose:()=>!1,maxWidth:"lg",fullWidth:!0,open:!0,"aria-labelledby":"confirmation-dialog-title",children:[(0,se.jsx)(q.A,{id:"confirmation-dialog-title",children:S.I18n.t("Add new script")}),(0,se.jsxs)(G.A,{style:{textAlign:"center"},children:[this.getRulesCard(),this.getBlocklyCard(),this.getJSCard(),this.getTSCard()]}),(0,se.jsx)(Y.A,{children:(0,se.jsx)(H.A,{color:"grey",onClick:this.handleCancel,startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Cancel")})})]})}}const ye=(0,u.A)((e=>({card:{maxWidth:345,minWidth:250,display:"inline-block",margin:"0 10px 0 10px"},media:{height:122},text:{maxWidth:218,minHeight:30},complexity:{fontWeight:"bold",fontStyle:"italic",marginBottom:e.spacing(1)}})))(be);class ve extends i().Component{constructor(e){super(e),this.handleCancel=()=>{this.props.onClose()},this.handleOk=()=>{this.props.onAdd(this.getId(this.state.name),this.state.name,this.state.instance,this.props.type),this.props.onClose()},this.handleChange=e=>{const t=this.getId(e);e?this.props.existingItems&&-1!==this.props.existingItems.indexOf(t)?this.setState({name:e,id:t,error:S.I18n.t("Duplicate name")}):this.setState({name:e,id:t,error:""}):this.setState({name:e,id:t,error:S.I18n.t("Empty name is not allowed")})},this.state={name:e.name||"Script",instance:e.instance||0,parent:e.parent,error:""},this.isShowInstance=!e.folder&&e.instances&&(e.instance||e.instances[0]||e.instances.length>1)}getId(e){return e=(e=e||this.state.name||"").replace(/[\\/\][.*,;'"`<>?\s]/g,"_").trim().replace(/\.$/,"_"),(this.state?this.state.parent:this.props.parent)+"."+e}componentWillReceiveProps(e){e.name!==this.props.name&&this.setState({name:e.name})}render(){return(0,se.jsxs)(K.A,{onClose:(e,t)=>!1,maxWidth:"md",fullWidth:!0,open:!0,"aria-labelledby":"confirmation-dialog-title",children:[(0,se.jsx)(q.A,{id:"confirmation-dialog-title",children:this.props.title||S.I18n.t("Create new")}),(0,se.jsx)(G.A,{children:(0,se.jsxs)("form",{noValidate:!0,autoComplete:"off",children:[(0,se.jsx)(Z.A,{variant:"standard",style:{width:"100%"},id:"standard-name",autoFocus:!0,error:!!this.state.error,label:S.I18n.t("Name"),value:this.state.name,helperText:this.state.error,onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),setTimeout((()=>this.handleOk()),200))},onChange:e=>this.handleChange(e.target.value),margin:"normal"}),(0,se.jsxs)(Q.A,{variant:"standard",style:{width:"100%"},children:[(0,se.jsx)($.A,{htmlFor:"parent",children:S.I18n.t("Folder")}),(0,se.jsx)(X.A,{variant:"standard",style:{width:"100%"},value:this.state.parent,onChange:e=>this.setState({parent:e.target.value}),inputProps:{name:"parent",id:"parent"},children:this.props.parents.map((e=>{const t=e.id.split(".");t.splice(0,2);const s=[];let a="script.js";return t.forEach(((e,t)=>{a+="."+e;const i=this.props.parents.find((e=>e.id===a));i?s.push(i.name):s.push(e)})),s.length||s.push(e.name),(0,se.jsx)(E.A,{value:e.id,children:s.join(" / ")},e.id)}))})]}),(0,se.jsx)(Z.A,{variant:"standard",id:"standard-name-id",style:{width:"100%"},label:S.I18n.t("ID"),value:this.getId(),disabled:!0,margin:"normal"}),this.isShowInstance&&(0,se.jsxs)(Q.A,{variant:"standard",children:[(0,se.jsx)($.A,{htmlFor:"instance",children:S.I18n.t("Instance")}),(0,se.jsx)(X.A,{variant:"standard",value:this.state.instance,onChange:e=>this.setState({instance:parseInt(e.target.value,10)}),inputProps:{name:"instance",id:"instance"},children:this.props.instances.map((e=>(0,se.jsx)(E.A,{value:e,children:e||"0"},"instance"+e)))})]})]})}),(0,se.jsxs)(Y.A,{children:[(0,se.jsx)(H.A,{variant:"contained",onClick:this.handleOk,disabled:!!this.state.error,color:"primary",startIcon:(0,se.jsx)(te.A,{}),children:S.I18n.t("Ok")}),(0,se.jsx)(H.A,{color:"grey",variant:"contained",onClick:this.handleCancel,startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Cancel")})]})]})}}const fe=(0,u.A)((e=>({})))(ve);var Se=s(82472);class xe extends i().Component{constructor(e){super(e),this.handleOk=()=>{this.props.onClose&&this.props.onClose()},console.log("Error created")}render(){return(0,se.jsxs)(K.A,{open:!0,maxWidth:"sm",fullWidth:!0,onClose:()=>this.handleOk(),"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,se.jsx)(q.A,{className:this.props.classes.titleBackground,classes:{root:this.props.classes.titleColor},id:"alert-dialog-title",children:this.props.title||S.I18n.t("Error")}),(0,se.jsx)(G.A,{children:(0,se.jsx)(Se.A,{id:"alert-dialog-description",children:this.props.text||S.I18n.t("Unknown error!")})}),(0,se.jsx)(Y.A,{children:(0,se.jsx)(H.A,{variant:"contained",onClick:()=>this.handleOk(),color:"primary",autoFocus:!0,startIcon:(0,se.jsx)(te.A,{}),children:S.I18n.t("Ok")})})]})}}const ke=(0,u.A)((e=>({titleBackground:{background:e.palette.error.main},titleColor:{color:e.palette.error.contrastText,"&>h2":{color:e.palette.error.contrastText}}})))(xe);var we=s(8591),Ce=s(56894),je=s(74802);class Ie extends i().Component{constructor(e){super(e),this.handleOk=()=>{if(this.state.instances.find((e=>e.id===this.state.adapterToDebug)).enabled)return this.props.socket.getObject("system.adapter."+this.state.adapterToDebug).then((e=>{e.common.enabled=!1,this.props.socket.setObject(e._id,e).then((()=>this.props.onDebug(this.state.jsInstance,this.state.adapterToDebug)))}));this.props.onDebug(this.state.jsInstance,this.state.adapterToDebug)},this.state={instances:[],filter:window.localStorage.getItem("javascript.debug.filter")||"",showAskForStop:!1,jsInstance:window.localStorage.getItem("javascript.debug.instance")||"",jsInstanceHost:"",adapterToDebug:window.localStorage.getItem("javascript.debug.adapter")||""}}componentDidMount(){this.props.socket.getAdapterInstances().then((e=>{(e=e.filter((e=>{var t;return e&&!(null!==(t=e.common)&&void 0!==t&&t.onlyWWW)})).map((e=>{var t,s,a;const i=e._id.replace(/^system\.adapter\./,""),[o]=i.split(".");return{id:i,enabled:null===(t=e.common)||void 0===t?void 0:t.enabled,host:null===(s=e.common)||void 0===s?void 0:s.host,icon:null!==(a=e.common)&&void 0!==a&&a.icon?"../../adapter/".concat(o,"/").concat(e.common.icon):""}}))).sort(((e,t)=>e.id>t.id?1:e.ide.id===this.state.jsInstance));this.state.jsInstance&&a?t=a?a.host:"":(s=e.find((e=>e.id.startsWith("javascript."))),t=s?s.host:"",s=s?s.id:"");let i=this.state.adapterToDebug||"";i&&!e.find((e=>e.id===i))&&(i=""),this.setState({instances:e,jsInstance:s,adapterToDebug:i,jsInstanceHost:t})}))}renderJavascriptList(){const e=this.state.instances.filter((e=>e.id.startsWith("javascript.")));return e.length<2?null:(0,se.jsxs)(we.Ay,{item:!0,children:[(0,se.jsx)("div",{className:this.props.classes.title,children:S.I18n.t("Host")}),(0,se.jsx)(C.A,{component:"nav",children:e.map((e=>(0,se.jsxs)(j.Ay,{button:!0,selected:this.state.jsInstance===e.id,onClick:this.setState({jsInstance:e.id,jsInstanceHost:e.host}),children:[(0,se.jsx)(I.A,{children:(0,se.jsx)("img",{src:e.icon,alt:e.id,className:this.props.classes.icon})}),(0,se.jsx)(T.A,{primary:e.id})]})))})]})}renderInstances(){if(this.state.jsInstance){const e=this.state.instances.filter((e=>e.id!==this.state.jsInstance&&e.host===this.state.jsInstanceHost&&(!this.state.filter||e.id.includes(this.state.filter.toLowerCase()))));return(0,se.jsxs)(we.Ay,{item:!0,children:[(0,se.jsx)("div",{className:this.props.classes.title,children:S.I18n.t("Instances")}),(0,se.jsx)(C.A,{component:"nav",children:e.map((e=>(0,se.jsxs)(j.Ay,{button:!0,selected:this.state.adapterToDebug===e.id,onDoubleClick:()=>this.setState({adapterToDebug:e.id},(()=>this.handleOk())),onClick:()=>this.setState({adapterToDebug:e.id}),children:[(0,se.jsx)(I.A,{children:(0,se.jsx)("img",{src:e.icon,alt:e.id,className:this.props.classes.icon})}),(0,se.jsx)(T.A,{primary:e.id})]})))})]})}return(0,se.jsx)(we.Ay,{item:!0})}render(){return(0,se.jsxs)(K.A,{maxWidth:"md",fullWidth:!1,open:!0,onClose:(e,t)=>!1,"aria-labelledby":"confirmation-dialog-title",children:[(0,se.jsx)(q.A,{id:"confirmation-dialog-title",children:this.props.title||S.I18n.t("Debug instance")}),(0,se.jsx)(G.A,{children:(0,se.jsxs)(we.Ay,{container:!0,direction:"column",children:[(0,se.jsx)(we.Ay,{item:!0,children:(0,se.jsx)(O.A,{classes:{root:this.props.classes.filterWithButton},value:this.state.filter,placeholder:S.I18n.t("Filter"),onChange:e=>{this.setState({filter:e.target.value}),window.localStorage.setItem("javascript.debug.filter",e.target.value)},endAdornment:(0,se.jsx)(Ce.A,{position:"end",children:this.state.filter?(0,se.jsx)(D.A,{size:"small","aria-label":"toggle password visibility",onClick:()=>this.setState({filter:""}),children:(0,se.jsx)(je.A,{})}):""})})}),(0,se.jsx)(we.Ay,{item:!0,children:(0,se.jsxs)(we.Ay,{container:!0,children:[this.renderJavascriptList(),this.renderInstances()]})})]})}),(0,se.jsxs)(Y.A,{children:[(0,se.jsx)(H.A,{variant:"contained",onClick:this.handleOk,disabled:!this.state.jsInstance||!this.state.adapterToDebug,color:"primary",startIcon:(0,se.jsx)(te.A,{}),children:S.I18n.t("Start")}),(0,se.jsx)(H.A,{color:"grey",variant:"contained",onClick:()=>this.props.onClose(),startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Close")})]})]})}}const Ae=(0,u.A)((e=>({buttonIcon:{marginRight:e.spacing(1)},icon:{width:24,height:24},filter:{width:"100%"},filterWithButton:{width:"100%"},title:{fontWeight:"bold",marginTop:e.spacing(2)}})))(Ie),Te=P.A[400],De=F.A[400],Ne=L.A[400],Ee="script.js",Oe=Ee+".common",Re=Ee+".global",_e=350,Me={background:"#164477",color:"white"},ze={Blockly:V,"Javascript/js":U,def:U,Rules:J,"TypeScript/ts":W},Be=(e,t,s)=>(s=s||S.I18n.getLanguage(),t&&t.common&&t.common.name?"object"===typeof t.common.name?(t.common.name[s]||t.common.name.en||e.replace(/^script\.js./,"")).toString():t.common.name.toString():e.replace(/^script\.js./,"")),Pe=e=>{const t=[{id:Ee,depth:0,index:0,parent:null,title:"root",type:"folder"}],s=Object.keys(e);for(let i=0;i1?o.join("."):null,instance:a.common.engine?parseInt(a.common.engine.split(".").pop(),10)||0:null})}let a;do{a=!1,t.forEach((e=>{if(e.parent){if(!t.find((t=>t.id===e.parent))){const s=e.parent.split(".");s.pop(),t.push({id:e.parent,title:e.parent.split(".").pop(),depth:s.length-1,type:"folder",parent:s.length>1?s.join("."):null}),a=!0}}}))}while(a);return t.sort(((e,t)=>{const s=e.id.toLowerCase(),a=t.id.toLowerCase();return"folder"===e.type&&"folder"!==t.type?-1:"folder"===t.type&&"folder"!==e.type||s>a?1:se.index=t)),t.forEach((e=>{if(e.parent){const s=t.find((t=>t.id===e.parent));s&&(e.parentIndex=s.index)}})),t},Fe=e=>{const{onDrop:t}=e,[{isOver:s,isOverAny:a},i]=(0,R.H)({accept:["script"],drop:e=>s?t(e):void 0,collect:e=>({isOver:e.isOver({shallow:!0}),isOverAny:e.isOver()})});return(0,se.jsx)("div",{ref:i,className:S.Utils.clsx(s&&"js-folder-dragover",a&&"js-folder-dragging"),children:e.children})},Le=e=>{const{name:t}=e,[{opacity:s},a]=(0,_.i)({type:"script",item:()=>({name:t}),collect:e=>({opacity:e.isDragging()?.3:1})});return(0,se.jsx)("div",{ref:a,style:{opacity:s,transform:"translate3d(0, 0, 0)"},children:e.children})};class Ue extends i().Component{constructor(e){super(e);let t=window.localStorage?window.localStorage.getItem("SideMenu.expanded"):"[]";try{t=JSON.parse(t)||[]}catch(a){t=[]}this.inputRef=new(i().createRef),this.state={listItems:Pe(e.scripts||{}),expanded:t,problems:[],reorder:!1,themeName:this.props.themeName,selected:window.localStorage&&window.localStorage.getItem("SideMenu.selected")||null,creatingScript:!1,creatingFolder:!1,copingScript:"",renaming:null,deleting:null,choosingType:null,errorText:"",instances:e.instances||[],menuOpened:!1,menuAnchorEl:null,searchMode:!1,expertMode:this.props.expertMode,searchText:"",width:this.props.width||300,typeFilter:window.localStorage&&window.localStorage.getItem("SideMenu.typeFilter")||"",statusFilter:window.localStorage&&window.localStorage.getItem("SideMenu.statusFilter")||"",runningInstances:this.props.runningInstances||{},scriptsHash:e.scriptsHash,showAdapterDebug:!1};const s=this.ensureSelectedIsVisible();s&&(this.state.expanded=s),this.filterTimer=null,this.state.isAllZeroInstances=this.getIsAllZeroInstances(),this.problems=null,this.problemsTimer=null,this.onProblemUpdatedBound=this.onProblemUpdated.bind(this)}readProblems(e,t){if(t||(t=Object.keys(this.props.scripts)),t&&t.length){const s=t.shift();if(this.props.scripts[s]&&"script"===this.props.scripts[s].type&&this.props.scripts[s].common&&this.props.scripts[s].common.enabled&&!s.match(/^script\.js\.global\./)){const a=this.props.scripts[s].common.engine.split(".").pop(),i=this,o="javascript.".concat(a,".scriptProblem.").concat(s.substring(10));this.props.socket.getState(o,((s,a)=>{i.onProblemUpdated(o,a),setTimeout((()=>i.readProblems(e,t)),0)}))}else setTimeout((()=>this.readProblems(e,t)),0)}else e&&e()}componentDidMount(){this.readProblems((()=>{this.props.instances.forEach((e=>{this.props.socket.subscribeState("javascript.".concat(e,".scriptProblem.*"),this.onProblemUpdatedBound)}))}))}componentWillUnmount(){this.props.instances.forEach((e=>{this.props.socket.unsubscribeState("javascript.".concat(e,".scriptProblem.*"),this.onProblemUpdatedBound)}))}onProblemUpdated(e,t){if(!t||!e)return;e="".concat(Ee,".").concat(e.replace(/^javascript\.\d+\.scriptProblem\./,"")),this.problems||(this.problems=JSON.parse(JSON.stringify(this.state.problems)));let s=!1;if(t.val)-1===this.problems.indexOf(e)&&(this.problems.push(e),s=!0);else{const t=this.problems.indexOf(e);-1!==t&&(this.problems.splice(t,1),s=!0)}s&&!this.problemsTimer&&(this.problemsTimer=setTimeout((()=>{this.problemsTimer=null,this.setState({problems:this.problems}),this.problems=null}),300))}static filterListStatic(e,t,s,a,i){t=JSON.parse(JSON.stringify(t));let o=!1,n={listItems:t};if(!1!==e&&s&&a){const e=a.toLowerCase();if(t.forEach((t=>{const s=t.title.toLowerCase();t.filteredPartly=!1;let a=s.includes(e);if(!a&&i&&i[t.id]&&i[t.id].common&&i[t.id].common.source)if("Blockly"===i[t.id].common.engineType){const s=i[t.id].common.source.lastIndexOf("//");a=i[t.id].common.source.substring(0,s).toLowerCase().includes(e)}else a=i[t.id].common.source.toLowerCase().includes(e);a?t.filtered&&(t.filtered=!1,o=!0):t.filtered||(t.filtered=!0,o=!0)})),o)for(let s=t.length-1;s>=0;s--){const e=t[s];if(!e.filtered||e.filteredPartly){let s=e;do{s.parent&&t[s.parentIndex]&&(o=!0,t[s.parentIndex].filteredPartly=!0),s=s.parent&&t[s.parentIndex]?t[s.parentIndex]:null}while(s)}}}else t.forEach((e=>{(e.filtered||e.filteredPartly)&&(e.filtered=!1,e.filteredPartly=!1,o=!0)})),!1===e&&(n.searchText="",n.searchMode=!1,o=!0);return o?n:null}filterList(e,t){const s=Ue.filterListStatic(e,this.state.listItems,this.state.searchMode,this.state.searchText,this.props.scripts);s?this.setState(s,(()=>t&&t())):t&&t()}static ensureSelectedIsVisibleStatic(e,t,s){t=JSON.parse(JSON.stringify(t));let a=!1,i="object"===typeof e?e:s.find((t=>t.id===e));do{i=i&&i.parent&&s.find((e=>e.id===i.parent)),i&&-1===t.indexOf(i.id)&&(t.push(i.id),a=!0)}while(i);return a&&t}ensureSelectedIsVisible(e,t){Ue.ensureSelectedIsVisibleStatic(e||this.state.selected,t||this.state.expanded,this.state.listItems)}static getDerivedStateFromProps(e,t){const s={};let a=!1;if(t.expertMode!==e.expertMode&&(a=!0,s.expertMode=e.expertMode),t.scriptsHash!==e.scriptsHash&&e.scripts){const i=Pe(e.scripts||{});if(s.listItems=i,t.searchText){const a=Ue.filterListStatic(!0,i,t.searchMode,t.searchText,e.scripts);a&&Object.assign(s,a)}const o=Ue.getIsAllZeroInstancesStatic(i,e.instances||[]),n=Ue.ensureSelectedIsVisibleStatic(t.selected,t.expanded,t.listItems);s.isAllZeroInstances=o,n&&(s.expanded=n),a=!0}if(t.width!==e.width&&(a=!0,s.width=e.width),t.themeName!==e.themeName&&(a=!0,s.themeName=e.themeName),e.selectId&&t.selected!==e.selectId){const i=t.listItems.find((t=>t.id===e.selectId));if(!t.reorder&&i){const e=Ue.ensureSelectedIsVisibleStatic(i,t.expanded,t.listItems);s.selected=i.id,e&&(s.expanded=e),a=!0,window.localStorage&&window.localStorage.setItem("SideMenu.selected",i.id)}}return a?s:null}static getIsAllZeroInstancesStatic(e,t){let s=!t[0]&&t.length<=1;return s&&e.forEach((e=>{"folder"!==e.type&&0!==e.instance&&(s=!1)})),s}getIsAllZeroInstances(e,t){return e=e||this.state.listItems,t=t||this.state.instances,Ue.getIsAllZeroInstancesStatic(e||this.state.listItems,t||this.state.instances)}saveExpanded(e){window.localStorage.setItem("SideMenu.expanded",JSON.stringify(e||this.state.expanded))}showError(e){this.setState({errorText:e})}onToggle(e,t){if(t&&t.stopPropagation(),e===Ee)return;const s=[...this.state.expanded],a={expanded:s},i=s.indexOf(e);-1!==i?(s.splice(i,1),this.state.selected&&this.state.selected.startsWith("".concat(e,"."))&&(a.selected=e,window.localStorage&&window.localStorage.setItem("SideMenu.selected",e))):(s.push(e),s.sort()),this.setState({expanded:s}),this.saveExpanded(s)}renderItemButtonsOnEnd(e,t){if(this.state.reorder)return null;if("folder"!==e.type){let t=e.enabled?Te:Ne;return e.enabled&&this.state.problems.includes(e.id)&&(t=De),[(0,se.jsx)(D.A,{className:S.Utils.clsx(this.props.classes.iconButtons,this.props.debugMode&&this.props.classes.iconButtonsDisabled),onClick:t=>{t.stopPropagation(),this.props.onEnableDisable&&this.props.onEnableDisable(e.id,!e.enabled)},title:e.enabled?S.I18n.t("Pause script"):S.I18n.t("Run script"),disabled:this.props.debugMode,style:{color:t},size:"medium",children:e.enabled?(0,se.jsx)(x.QG6,{}):(0,se.jsx)(x.XKH,{})},"startStop"),this.state.width>_e?(0,se.jsx)(D.A,{className:S.Utils.clsx(this.props.debugMode&&this.props.classes.iconButtonsDisabled),title:S.I18n.t("Delete script"),disabled:e.id===Re||e.id===Oe||this.props.debugMode,onClick:t=>this.onDelete(e,t),size:"medium",children:(0,se.jsx)(x.b6i,{})},"delete"):null,(0,se.jsx)(D.A,{className:S.Utils.clsx(this.props.debugMode&&this.props.classes.iconButtonsDisabled),disabled:this.props.debugMode,title:S.I18n.t("Edit script or just double click"),onClick:t=>this.onEdit(e,t),size:"medium",children:(0,se.jsx)(x.uw3,{})},"openInEdit")]}return this.state.width>_e?e.id===Ee||e.id===Oe||e.id===Re||t&&t.length?null:(0,se.jsx)(D.A,{className:S.Utils.clsx(this.props.debugMode&&this.props.classes.iconButtonsDisabled),title:S.I18n.t("Delete folder"),disabled:e.id===Re||e.id===Oe||this.props.debugMode,onClick:t=>this.onDelete(e,t),size:"medium",children:(0,se.jsx)(x.b6i,{})},"delete"):void 0}onDelete(e,t){return t&&t.stopPropagation(),new Promise((t=>{"object"!==typeof e?this.setState({deleting:e}):this.setState({deleting:e.id})}))}onEdit(e,t){this.onClick(e,t),this.props.onEdit&&this.props.onEdit(e.id)}getTextStyle(e){return this.state.reorder||"folder"===e.type?{whiteSpace:"nowrap",padding:"0 16px 0 0"}:{width:"calc(100% - ".concat(this.state.width>_e?185:137,"px)"),overflow:"hidden",whiteSpace:"nowrap",flex:"none",padding:"0 16px 0 0"}}onClick(e,t){if(t&&t.stopPropagation(),!this.state.reorder&&e){const t=this.ensureSelectedIsVisible(e),s={selected:e.id};t&&(s.expanded=t),this.setState(s),window.localStorage&&window.localStorage.setItem("SideMenu.selected",e.id)}}onDblClick(e,t){t&&t.stopPropagation(),this.state.reorder||("folder"===e.type?this.onToggle(e.id):this.onEdit(e))}isFilteredOut(e){return!(!e.filtered||e.filteredPartly)||(!(!this.state.typeFilter||"folder"===e.type||e.type===this.state.typeFilter)||(!(!this.state.statusFilter||"folder"===e.type||!("running"===this.state.statusFilter&&!e.enabled||"paused"===this.state.statusFilter&&e.enabled)&&("problems"!==this.state.statusFilter||e.enabled&&-1!==this.state.problems.indexOf(e.id)))||e.id===Re&&!this.state.expertMode))}renderListItem(e,t,s){if(e.id===Ee&&!this.state.reorder)return null;const a=16*(this.state.reorder?e.depth:e.depth-1);let i=e.title;if(this.state.searchText){const e=i.toLowerCase().indexOf(this.state.searchText.toLowerCase());-1!==e&&(i=[(0,se.jsx)("span",{children:i.substring(0,e)},"first"),(0,se.jsx)("span",{style:{color:"orange"},children:i.substring(e,e+this.state.searchText.length)},"second"),(0,se.jsx)("span",{children:i.substring(e+this.state.searchText.length)},"third")])}this.state.isAllZeroInstances||"folder"===e.type||(i=[(0,se.jsxs)("span",{title:S.I18n.t("Instance"),className:this.props.classes.instances,children:["[",e.instance,"] "]},"instance"),(0,se.jsx)("span",{children:i},"title")]);const o=this.state.reorder&&!this.props.debugMode,n=Object.assign({marginLeft:a,cursor:"folder"===e.type&&o?"default":"inherit",width:"calc(100% - ".concat(a,"px)")},e.id!==this.state.selected||o?{}:Me);o||(n.opacity=e.filteredPartly?.5:1),e.id===Re&&e.id!==this.state.selected&&(n.color="#00a200");let r=e.id===Ee;!r&&t&&(r=this.state.expanded.includes(e.id));let l,c={};e.id===Re?c.color="#356956":e.id===Oe&&(c.color="#4899e1"),l="folder"===e.type?S.Utils.clsx(this.props.classes.folderIcon,o?this.props.classes.folderIconReorder:this.props.classes.folderIconNoReorder):S.Utils.clsx(this.props.classes.scriptIcon,o?this.props.classes.scriptIconReorder:this.props.classes.scriptIconNoReorder);let d=null;return(s&&s.length||t&&t.length)&&(d=(0,se.jsx)("span",{className:this.props.classes.childrenCount,children:s&&s.length!==t.length?"".concat(s.length,"(").concat(t.length,")"):t.length})),(0,se.jsxs)(j.Ay,{style:n,className:S.Utils.clsx("folder"===e.type?this.props.classes.folder:this.props.classes.script,o&&"folder"===e.type&&"folder-reorder",o&&"folder"!==e.type&&"script-reorder",o&&this.props.classes.reorder,o&&"folder"!==e.type&&this.props.classes.scriptReorder,o&&"folder"===e.type&&this.props.classes.folderReorder),onClick:t=>this.onClick(e,t),onDoubleClick:t=>this.onDblClick(e,t),children:[(0,se.jsx)(I.A,{classes:{root:this.props.classes.listItemIcon},children:"folder"===e.type?o||r?(0,se.jsx)(B.g1V,{className:l,style:c,onClick:t=>!o&&this.onToggle(e.id,t)}):(0,se.jsx)(B.M1W,{className:l,style:c,onClick:t=>!o&&this.onToggle(e.id,t)}):(0,se.jsx)("img",{className:l,alt:e.type,src:ze[e.type]||ze.def})}),(0,se.jsx)(T.A,{classes:{primary:e.id!==this.state.selected||o?void 0:this.props.classes.selected},style:this.getTextStyle(e),primary:(0,se.jsxs)("span",{children:[i,d]})}),(0,se.jsx)(A.A,{children:this.renderItemButtonsOnEnd(e,t)})]},e.id)}onDragFinish(e,t){let s="".concat(t,".").concat(e.split(".").pop());s!==e&&(this.state.listItems.find((e=>e.id===s))&&(s+="_".concat(S.I18n.t("copy"))),this.props.onRename&&this.props.onRename(e,s))}renderOneItem(e,t){let s=(this.state.statusFilter||this.state.typeFilter)&&e.filter((e=>e.parent===t.id&&!this.isFilteredOut(e))),a=e.filter((e=>e.parent===t.id));if(this.isFilteredOut(t))return;if("folder"===t.type&&(this.state.statusFilter||this.state.typeFilter)&&!s.length)return;const i=this.state.reorder&&!this.props.debugMode,o=this.renderListItem(t,a,s),n=[];let r;return a&&(i||this.state.expanded.includes(t.id)||t.id===Ee)&&(r=a.map((t=>this.renderOneItem(e,t)))),i?"folder"===t.type?n.push((0,se.jsxs)(Fe,{onDrop:e=>this.onDragFinish(e.name,t.id),children:[(0,se.jsx)(Le,{name:t.id,children:o},"draggable_".concat(t.id)),r||null]},"droppable_".concat(t.id))):n.push((0,se.jsxs)(Le,{name:t.id,children:[o,r||null]},"draggable_".concat(t.id))):(n.push(o),r&&r.forEach((e=>n.push(e)))),n}renderAllItems(e){const t=e.filter((e=>!e.parent)).map((t=>this.renderOneItem(e,t)));return(0,se.jsx)(C.A,{dense:!0,disablePadding:!0,className:this.props.classes.mainList,children:t})}onAddNew(e){e&&e.stopPropagation();let t=this.state.listItems.find((e=>e.id===this.state.selected)),s=Ee;for(;t&&"folder"!==t.type;)t=this.state.listItems[t.parentIndex];t&&(s=t.id),this.parent=s,this.setState({choosingType:!0})}onCopy(e,t){e&&e.stopPropagation();let s=this.state.listItems.find((e=>e.id===t)),a=Ee;for(;s&&"folder"!==s.type;)s=this.state.listItems[s.parentIndex];s&&(a=s.id),this.parent=a,this.setState({copingScript:t})}onAddNewFolder(e){e&&e.stopPropagation();let t=this.state.listItems.find((e=>e.id===this.state.selected)),s=Ee;for(;t&&"folder"!==t.type;)t=this.state.listItems[t.parentIndex];t&&(s=t.id),this.parent=s,this.setState({creatingFolder:!0})}onRename(e){e&&e.stopPropagation(),this.setState({renaming:this.state.selected})}getUniqueName(e){let t=1,s="".concat(S.I18n.t("Script")," ");if(e){let a=Be(e,this.props.scripts[e]);const i=a.match(/\d+$/);i?(s=a.replace(/\d+$/,""),t=parseInt(i[0],10)+1):s=a}for(;this.state.listItems.find((e=>e.id==="".concat(this.parent,".").concat(s.replace(/\.\s/g,"_")).concat(t)));)t++;return s+t}getUniqueFolderName(){let e=1;for(;this.state.listItems.find((t=>t.id==="".concat(this.parent,".").concat(S.I18n.t("Folder"),"_").concat(e)));)e++;return"".concat(S.I18n.t("Folder")," ").concat(e)}onCloseMenu(e){this.setState({menuOpened:!1,menuAnchorEl:null,menuAnchorFilterEl:null},e)}getFilterBadge(){return[!0===this.state.statusFilter&&(0,se.jsx)(x.XKH,{className:this.props.classes.filterIcon,style:{color:Te}}),!1===this.state.statusFilter&&(0,se.jsx)(x.QG6,{className:this.props.classes.filterIcon,style:{color:Ne}}),"Blockly"===this.state.typeFilter&&"Bl","Javascript/js"===this.state.typeFilter&&"JS","TypeScript/ts"===this.state.typeFilter&&"TS"]}getMainMenu(e,t){return(0,se.jsxs)(N.A,{id:"long-menu",anchorEl:this.state.menuAnchorEl,open:this.state.menuOpened,onClose:()=>this.setState({menuOpened:!1,menuAnchorEl:null}),PaperProps:{style:{maxHeight:360}},children:[this.state.width<=_e?(0,se.jsxs)(E.A,{disabled:this.props.debugMode||!this.state.selected||this.state.selected===Re||this.state.selected===Oe||e&&e.length,onClick:e=>{e.stopPropagation(),e.preventDefault(),this.state.listItems.find((e=>e.parent===this.state.selected))?this.showError(S.I18n.t("Cannot delete non empty item!")):this.setState({menuOpened:!1,menuAnchorEl:null},(()=>this.onDelete(this.state.selected).then((()=>{}))))},children:[(0,se.jsx)(x.b6i,{className:this.props.classes.iconDropdownMenu,style:{color:"red"}}),S.I18n.t("Delete")]},"delete"):null,(0,se.jsxs)(E.A,{disabled:this.props.debugMode,selected:this.state.expertMode,onClick:e=>{e.stopPropagation(),e.preventDefault(),this.onCloseMenu((()=>this.props.onExpertModeChange&&this.props.onExpertModeChange(!this.state.expertMode)))},children:[(0,se.jsx)(x.Azs,{className:this.props.classes.iconDropdownMenu,style:{color:this.state.expertMode?"orange":"inherit"}}),S.I18n.t("Expert mode")]},"expertMode"),this.props.onExport&&(0,se.jsxs)(E.A,{onClick:e=>{e.stopPropagation(),e.preventDefault(),this.onCloseMenu((()=>this.props.onExport()))},children:[(0,se.jsx)(B.Mbn,{className:this.props.classes.iconDropdownMenu}),S.I18n.t("Export all scripts")]},"exportAll"),this.props.onImport&&(0,se.jsxs)(E.A,{disabled:this.props.debugMode,onClick:e=>{e.stopPropagation(),e.preventDefault(),this.onCloseMenu((()=>this.props.onImport()))},children:[(0,se.jsx)(B.PiR,{className:this.props.classes.iconDropdownMenu}),S.I18n.t("Import scripts")]},"import"),this.props.onThemeChange&&(0,se.jsxs)(E.A,{onClick:()=>this.onCloseMenu((()=>{const e="dark"===this.state.themeName?"blue":"blue"===this.state.themeName?"colored":"colored"===this.state.themeName?"light":"light"===this.state.themeName?"dark":"colored";this.props.onThemeChange(e)})),children:[(0,se.jsx)(x.fMd,{className:this.props.classes.iconDropdownMenu}),S.I18n.t('Change theme (actual "%s")',this.state.themeName)]},"dark"),this.props.onAddNew&&(0,se.jsxs)(E.A,{disabled:!this.state.selected||!t||"folder"===t.type,onClick:e=>{const t=this.state.selected;this.onCloseMenu((()=>this.onCopy(e,t)))},children:[(0,se.jsx)(x.kn0,{className:this.props.classes.iconDropdownMenu}),S.I18n.t("Copy script")]},"copy"),this.state.expertMode&&(0,se.jsxs)(E.A,{disabled:this.props.debugMode,onClick:e=>{e.stopPropagation(),e.preventDefault(),this.onCloseMenu((()=>this.setState({showAdapterDebug:!0})))},children:[(0,se.jsx)(x.mGp,{className:this.props.classes.iconDropdownMenu}),S.I18n.t("Debug instance")]},"debugInstance")]},"menu")}getToolbarButtons(){const e=[],t=this.props.classes,s=this.state.reorder&&!this.props.debugMode;if(this.state.searchMode&&!this.props.debugMode)e.push((0,se.jsx)(O.A,{value:this.state.searchText,className:t.toolbarSearch,ref:this.inputRef,autoFocus:!0,placeholder:S.I18n.t("Search..."),onChange:e=>{this.setState({searchText:e.target.value}),this.filterTimer&&clearTimeout(this.filterTimer),this.filterTimer=setTimeout((()=>{this.filterTimer=null,this.filterList(!0),this.props.onSearch&&this.props.onSearch(this.state.searchText)}),400)}},"searchInput")),e.push((0,se.jsx)(D.A,{className:t.toolbarButtons,style:{float:"right"},title:S.I18n.t("End search mode"),onClick:e=>{e.stopPropagation(),this.filterList(!1,(()=>this.props.onSearch&&this.props.onSearch(this.state.searchText)))},size:"medium",children:(0,se.jsx)(x.oFq,{})},"disableSearch")),this.state.searchText&&e.push((0,se.jsx)(D.A,{mini:"true",title:S.I18n.t("Clear search input"),className:t.toolbarButtons,style:{marginTop:7,float:"right"},onClick:e=>{e.stopPropagation(),this.setState({searchText:""},(()=>{this.filterList(!0),this.props.onSearch&&this.props.onSearch(this.state.searchText)}))},size:"medium",children:(0,se.jsx)(x.m6K,{fontSize:"small"})},"cleanSearch"));else{if(!s){e.push((0,se.jsx)(D.A,{"aria-label":"More","aria-owns":this.state.menuOpened?"long-menu":void 0,title:S.I18n.t("Menu"),"aria-haspopup":"true",onClick:e=>{e.stopPropagation(),e.preventDefault(),this.setState({menuOpened:!0,menuAnchorEl:e.currentTarget})},size:"medium",children:(0,se.jsx)(x.a95,{})},"menuButton"));const a=this.state.listItems.find((e=>e.id===this.state.selected));let i;a&&this.state.width<=_e&&"folder"===a.type&&(i=this.state.listItems.filter((e=>e.parent===this.state.selected))),e.push(this.getMainMenu(i,a)),e.push((0,se.jsx)(D.A,{disabled:this.props.debugMode,title:S.I18n.t("Create new script"),className:S.Utils.clsx(t.toolbarButtons,this.props.debugMode&&t.iconButtonsDisabled),style:{color:s?"red":"inherit"},onClick:e=>this.onAddNew(e),size:"medium",children:(0,se.jsx)(x.jgn,{})},"new-script")),e.push((0,se.jsx)(D.A,{disabled:this.props.debugMode,title:S.I18n.t("Create new folder"),className:S.Utils.clsx(t.toolbarButtons,this.props.debugMode&&t.iconButtonsDisabled),style:{color:s?"red":"inherit"},onClick:()=>this.onAddNewFolder(),size:"medium",children:(0,se.jsx)(x.KrV,{})},"new-folder"))}e.push((0,se.jsx)(D.A,{disabled:s||this.props.debugMode,className:S.Utils.clsx(t.toolbarButtons,this.props.debugMode&&t.iconButtonsDisabled),title:S.I18n.t("Search in scripts"),style:{float:"right",opacity:this.props.debugMode?.5:s?0:1},onClick:e=>{e.stopPropagation(),this.setState({searchMode:!0})},size:"medium",children:(0,se.jsx)(x.gZ7,{})},"search")),e.push((0,se.jsx)(D.A,{disabled:this.props.debugMode,title:S.I18n.t("Reorder scripts in folders"),className:S.Utils.clsx(t.toolbarButtons,this.props.debugMode&&t.iconButtonsDisabled),style:{color:s?"red":"inherit",float:"right"},onClick:e=>{e.stopPropagation(),this.setState({reorder:!this.state.reorder})},size:"medium",children:(0,se.jsx)(x.O24,{})},"reorder")),!s&&this.state.selected&&this.state.selected!==Re&&this.state.selected!==Oe&&e.push((0,se.jsx)(D.A,{className:S.Utils.clsx(t.toolbarButtons,this.props.debugMode&&t.iconButtonsDisabled),disabled:this.props.debugMode,title:S.I18n.t("Rename"),onClick:e=>this.onRename(e),size:"medium",children:(0,se.jsx)(x.Yvo,{})},"rename")),e.push((0,se.jsxs)("span",{style:{opacity:.5,fontSize:10},children:["v",this.props.version]},"version"))}return e}getFolders(){const e=[{id:Ee,name:S.I18n.t("Root folder")}];return this.state.listItems.forEach((t=>{"folder"===t.type&&t.id!==Ee&&(t.id.startsWith(Re)&&!this.state.expertMode||e.push({id:t.id,name:t.title}))})),e}onCollapseAll(){this.setState({expanded:[]}),this.saveExpanded([])}onExpandAll(){const e=[];this.state.listItems.forEach((t=>this.state.listItems.find((e=>e.parent===t.id))&&e.push(t.id))),this.setState({expanded:e}),this.saveExpanded(e)}getBottomButtons(){return this.state.reorder||this.props.debugMode?null:[(0,se.jsx)(x.QG6,{className:this.props.classes.footerButtons,style:{color:Te,opacity:"running"===this.state.statusFilter?1:.3,background:"running"===this.state.statusFilter?"gray":"inherit"},title:S.I18n.t("Show only running scripts"),onClick:e=>{e.stopPropagation(),e.preventDefault();const t="running"===this.state.statusFilter?"":"running";window.localStorage&&window.localStorage.setItem("SideMenu.statusFilter",t),this.setState({statusFilter:t})}},"filterByRunning"),(0,se.jsx)(x.XKH,{title:S.I18n.t("Show only paused scripts"),className:this.props.classes.footerButtons,style:{color:Ne,opacity:"paused"===this.state.statusFilter?1:.3,background:"paused"===this.state.statusFilter?"gray":"inherit"},onClick:()=>{const e="paused"===this.state.statusFilter?"":"paused";window.localStorage&&window.localStorage.setItem("SideMenu.statusFilter",e),this.setState({statusFilter:e})}},"filterByPaused"),(0,se.jsx)(x.QG6,{title:S.I18n.t("Show only scripts with problems"),className:this.props.classes.footerButtons,style:{color:De,opacity:"problems"===this.state.statusFilter?1:.3,background:"problems"===this.state.statusFilter?"gray":"inherit"},onClick:()=>{const e="problems"===this.state.statusFilter?"":"problems";window.localStorage&&window.localStorage.setItem("SideMenu.statusFilter",e),this.setState({statusFilter:e})}},"filterByProblem"),(0,se.jsx)("img",{className:this.props.classes.footerButtons,alt:"Blockly",style:{opacity:"Blockly"===this.state.typeFilter?1:.3,background:"Blockly"===this.state.typeFilter?"gray":"inherit"},src:ze.Blockly||ze.def,onClick:()=>{const e="Blockly"===this.state.typeFilter?"":"Blockly";window.localStorage&&window.localStorage.setItem("SideMenu.typeFilter",e),this.setState({typeFilter:e})}},"filterBlockly"),(0,se.jsx)("img",{className:this.props.classes.footerButtons,alt:"Javascript",style:{opacity:"Javascript/js"===this.state.typeFilter?1:.3,background:"Javascript/js"===this.state.typeFilter?"gray":"inherit"},src:ze["Javascript/js"]||ze.def,onClick:()=>{const e="Javascript/js"===this.state.typeFilter?"":"Javascript/js";window.localStorage&&window.localStorage.setItem("SideMenu.typeFilter",e),this.setState({typeFilter:e})}},"filterJS"),(0,se.jsx)("img",{className:this.props.classes.footerButtons,alt:"TypeScript",style:{opacity:"TypeScript/ts"===this.state.typeFilter?1:.3,background:"TypeScript/ts"===this.state.typeFilter?"gray":"inherit"},src:ze["TypeScript/ts"]||ze.def,onClick:()=>{const e="TypeScript/ts"===this.state.typeFilter?"":"TypeScript/ts";window.localStorage&&window.localStorage.setItem("SideMenu.typeFilter",e),this.setState({typeFilter:e})}},"filterTS"),(0,se.jsx)("img",{className:this.props.classes.footerButtons,alt:"Rules",style:{opacity:"Rules"===this.state.typeFilter?1:.3,background:"Rules"===this.state.typeFilter?"gray":"inherit"},src:ze.Rules||ze.def,onClick:e=>{const t="Rules"===this.state.typeFilter?"":"Rules";window.localStorage&&window.localStorage.setItem("SideMenu.typeFilter",t),this.setState({typeFilter:t})}},"filterRules"),(0,se.jsx)(x.XbS,{className:"".concat(this.props.classes.footerButtons," ").concat(this.props.classes.footerButtonsRight),title:S.I18n.t("Expand all"),onClick:()=>this.onExpandAll()},"expandAll"),this.state.expanded.length?(0,se.jsx)(x.nVg,{className:"".concat(this.props.classes.footerButtons," ").concat(this.props.classes.footerButtonsRight),title:S.I18n.t("Collapse all"),onClick:()=>this.onCollapseAll()},"collapseAll"):null]}getAdapterDebugDialog(){if(this.state.showAdapterDebug)return(0,se.jsx)(Ae,{socket:this.props.socket,onClose:()=>this.setState({showAdapterDebug:!1}),onDebug:(e,t)=>this.setState({showAdapterDebug:!1},(()=>this.props.onDebugInstance({instance:e,adapter:t})))},"debug")}render(){const{classes:e}=this.props,t=this.state.renaming&&this.state.listItems.find((e=>e.id===this.state.renaming)),s=this.state.copingScript&&this.props.scripts[this.state.copingScript];return[(0,se.jsxs)(k.Ay,{variant:"permanent",className:e.menu,classes:{paper:e.drawerPaper},anchor:"left",onClick:()=>this.onClick({id:""}),children:[(0,se.jsx)("div",{className:e.toolbar,children:this.getToolbarButtons()}),(0,se.jsx)(w.A,{}),(0,se.jsx)(M.Q,{backend:z.t2,children:(0,se.jsx)("div",{className:e.innerMenu,children:this.renderAllItems(this.state.listItems)})}),(0,se.jsx)(w.A,{}),(0,se.jsx)("div",{className:e.footer,children:this.getBottomButtons()})]},"drawer"),t?(0,se.jsx)(ie,{name:t.title,title:S.I18n.t("Rename"),id:this.state.renaming,folder:"folder"===t.type,instance:t.instance,instances:this.props.instances,onClose:()=>this.setState({renaming:!1}),onRename:(e,t,s,a)=>this.props.onRename&&this.props.onRename(e,t,s,a)},"dialog-rename"):null,this.state.deleting?(0,se.jsx)(ne,{name:this.state.listItems.find((e=>e.id===this.state.deleting)).title,id:this.state.deleting,onClose:()=>this.setState({deleting:!1}),onDelete:e=>this.props.onDelete&&this.props.onDelete(e)},"dialog-delete"):null,this.state.choosingType?(0,se.jsx)(ye,{onClose:e=>{const t={choosingType:!1};e&&(t.creatingScript=e),this.setState(t)}},"dialog-script-type"):null,this.state.creatingScript?(0,se.jsx)(fe,{onClose:()=>this.setState({creatingScript:!1}),title:S.I18n.t("Create new script"),name:this.getUniqueName(),parents:this.getFolders(),folder:!1,existingItems:this.state.listItems.map((e=>e.id)),instance:this.props.instances[0]||0,instances:this.props.instances,type:this.state.creatingScript,parent:this.parent,onAdd:(e,t,s,a)=>this.props.onAddNew&&this.props.onAddNew(e,t,!1,s,a)},"dialog-new-script"):null,this.state.copingScript?(0,se.jsx)(fe,{onClose:()=>this.setState({copingScript:""}),title:S.I18n.t("Copy script"),name:this.getUniqueName(this.state.copingScript),parents:this.getFolders(),folder:!1,instance:parseInt(s&&s.common&&s.common.engine&&s.common.engine.split(".").pop()||0,10),instances:this.props.instances,type:s&&s.common&&s.common.engineType||"Javascript/js",parent:this.parent,onAdd:(e,t,s,a)=>{const i=this.state.copingScript&&this.props.scripts[this.state.copingScript];i&&i.common&&(i.common.enabled=!1),this.props.onAddNew&&this.props.onAddNew(e,t,!1,s,a,i&&i.common&&i.common.source)}},"dialog-copy-script"):null,this.state.creatingFolder?(0,se.jsx)(fe,{onClose:()=>this.setState({creatingFolder:!1}),title:S.I18n.t("Create new folder"),parents:this.getFolders(),name:this.getUniqueFolderName(),parent:this.parent,onAdd:(e,t)=>this.props.onAddNew&&this.props.onAddNew(e,t,!0)},"dialog-new-folder"):null,this.state.errorText?(0,se.jsx)(ke,{onClose:()=>this.setState({errorText:""}),text:this.state.errorText},"error"):null,this.getAdapterDebugDialog()]}}const Ve=(0,u.A)((e=>({drawerPaper:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},toolbar:{height:e.toolbar.height},toolbarButtons:{color:"dark"===e.palette.mode?"white !important":"black !important"},iconButtonsDisabled:{filter:"grayscale(100%)",opacity:.5},toolbarSearch:{width:"calc(100% - 105px)",lineHeight:"34px",marginLeft:5},iconButtons:{width:32,height:32,padding:2},iconDropdownMenu:{paddingRight:5},iconOnTheRight:{position:"absolute",right:10,top:"calc(50% - 8px)"},menu:{width:"100%",height:"100%"},innerMenu:{width:"100%",height:"calc(100% - 76px)",overflowX:"hidden",overflowY:"auto"},listItemIcon:{minWidth:32},filterIcon:{width:18,height:18,borderRadius:2,marginRight:5},scriptIcon:{width:18,height:18,borderRadius:2,marginTop:4,marginBottom:4,marginLeft:8,marginRight:4},folder:{cursor:"pointer",padding:0,userSelect:"none"},folderReorder:{opacity:.3,transitionDuration:"0.5s",transitionProperty:"opacity"},folderIcon:{width:20,height:20},folderIconReorder:{paddingTop:4,paddingBottom:4,paddingLeft:8,paddingRight:4},folderIconNoReorder:{cursor:"pointer",paddingTop:4,paddingBottom:4,paddingLeft:8,paddingRight:4},script:{cursor:"pointer",padding:0,userSelect:"none"},scriptReorder:{opacity:1,transitionDuration:"0.5s",transitionProperty:"opacity"},reorder:{},expandButton:{width:37,height:37},selected:Me,instances:{color:"gray",fontSize:"smaller"},childrenCount:{float:"right",marginRight:5,fontSize:10,opacity:.4},footer:{height:24},footerButtons:{"&:hover":{backgroundColor:"#dbdbdb"},color:"dark"===e.palette.mode?"#ffffff":"#111111",cursor:"pointer",marginTop:1,marginRight:2,height:22,width:22},footerButtonsRight:{float:"right"},mainList:{"& .js-folder-dragover>div>li>.folder-reorder":{background:"#40adff"},"& .js-folder-dragging .folder-reorder":{opacity:1},"& .js-folder-dragging .script-reorder":{opacity:.3}}})))(Ue);function We(e){let t,s=e.getHours();return s<10&&(s="0".concat(s.toString())),t="".concat(s,":"),s=e.getMinutes(),s<10&&(s="0".concat(s.toString())),t+="".concat(s,":"),s=e.getSeconds(),s<10&&(s="0".concat(s.toString())),t+="".concat(s,"."),s=e.getMilliseconds(),s<10?s="00".concat(s.toString()):s<100&&(s="0".concat(s.toString())),t+=s,t}let Je={};class He extends i().Component{constructor(e){super(e),this.logHandler=e=>{let t=this.state.lines;const s=this.state.editing.filter((t=>e.message.includes(t)));let a;if(!s.length)return;1===s.length?a=s[0]:(s.sort(),a=s[s.length-1]);let i=t[a]||[],o=Je[a]||[];i.push(this.generateLine(e));let n=e.severity;"info"!==n&&"warn"!==n||(n+=" ");const r=new Date(e.ts);var l;o.push("".concat(r.toLocaleString(),".").concat((l=r.getMilliseconds(),l<10?"00".concat(l):l<100?"0".concat(l):l),"\t[").concat(n,"]: ").concat(e.message)),i.length>300&&(i.splice(0,i.length-300),o.splice(0,i.length-300)),Je[a]=o,t[a]=i,this.setState({lines:t})},this.state={lines:{},goBottom:!0,selected:null,editing:this.props.editing||[]},this.lastIndex=null,this.messagesEnd=i().createRef()}generateLine(e){return(0,se.jsxs)("tr",{className:this.props.classes[e.severity],children:[(0,se.jsx)("td",{className:this.props.classes.trTime,children:We(new Date(e.ts))},"tdTime"),(0,se.jsx)("td",{className:this.props.classes.trSeverity,children:e.severity},"tdSeverity"),(0,se.jsx)("td",{children:e.message},"tdMessage")]},"tr_".concat(e.ts,"_").concat(e.message.substr(-10)))}scrollToBottom(){this.messagesEnd&&this.messagesEnd.current&&this.messagesEnd.current.scrollIntoView({behavior:"smooth"})}componentDidMount(){this.props.socket.registerLogHandler(this.logHandler)}componentWillUnmount(){this.props.socket.unregisterLogHandler(this.logHandler)}componentDidUpdate(){this.state.goBottom&&this.scrollToBottom()}static getDerivedStateFromProps(e,t){let s=!1,a={};if(e.selected!==t.selected){let i=e.selected,o=t.lines;o[i]=o[i]||[],Je[i]=Je[i]||[],a.selected=i,s=!0}if(JSON.stringify(e.editing)!==JSON.stringify(t.editing)){const i=JSON.parse(JSON.stringify(e.editing));s=!0;let o=t.lines;for(const e in Je)Je.hasOwnProperty(e)&&(i.includes(e)||(delete Je[e],delete o[e]));a.editing=i}return s?a:null}onCopy(){S.Utils.copyToClipboard((Je[this.state.selected]||[]).join("\n"))}clearLog(){let e=this.state.lines;e[this.state.selected]&&(e[this.state.selected]=[]),Je[this.state.selected]&&(Je[this.state.selected]=[]),this.setState({lines:e})}renderLogList(e){return this.state.selected&&e&&e.length?(0,se.jsxs)("div",{className:this.props.classes.logBoxInner,children:[(0,se.jsx)("table",{className:this.props.classes.table,children:(0,se.jsx)("tbody",{children:e})},"logTable"),(0,se.jsx)("div",{ref:this.messagesEnd,style:{float:"left",clear:"both"}},"logScrollPoint")]},"logList"):(0,se.jsx)("div",{className:this.props.classes.logBoxInner,style:{paddingLeft:10},children:S.I18n.t("Log outputs")},"logList")}render(){const e=this.state.selected&&this.state.lines[this.state.selected];return(0,se.jsxs)("div",{className:this.props.classes.logBox,children:[(0,se.jsxs)("div",{className:this.props.classes.toolbox,children:[(0,se.jsx)(D.A,{className:this.props.classes.iconButtons,onClick:()=>this.setState({goBottom:!this.state.goBottom}),color:this.state.goBottom?"secondary":"",size:"medium",children:(0,se.jsx)(x.QHh,{})}),e&&e.length?(0,se.jsx)(D.A,{className:this.props.classes.iconButtons,onClick:()=>this.clearLog(),size:"medium",children:(0,se.jsx)(x.kgr,{})}):null,e&&e.length?(0,se.jsx)(D.A,{className:this.props.classes.iconButtons,onClick:()=>this.onCopy(),size:"medium",children:(0,se.jsx)(x.kn0,{})}):null,this.props.onLayoutChange?(0,se.jsx)(D.A,{className:this.props.classes.iconButtons,onClick:()=>this.props.onLayoutChange(),title:S.I18n.t("Change layout"),size:"medium",children:(0,se.jsx)("img",{className:this.props.classes.layoutIcon,alt:"split",src:this.props.verticalLayout?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgAQMAAADYVuV7AAAABlBMVEUAAAAzMzPI8eYgAAAAAXRSTlMAQObYZgAAACFJREFUeAFjAIJRwP////8PYIKWHCigNQdKj/pn1D+jAABTG16wVQqVpQAAAABJRU5ErkJggg==":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgAQMAAADYVuV7AAAABlBMVEUAAAAzMzPI8eYgAAAAAXRSTlMAQObYZgAAABtJREFUeAFjAIJRwP8fCj7QkENn/4z6Z5QzCgBjbWaoyx1PqQAAAABJRU5ErkJggg=="})}):null,(0,se.jsx)(D.A,{className:this.props.classes.iconButtons,onClick:()=>this.props.onHideLog(),title:S.I18n.t("Hide logs"),size:"medium",children:(0,se.jsx)(x.BI9,{})})]},"toolbox"),this.renderLogList(e)]})}}const qe=(0,u.A)((e=>({logBox:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},logBoxInner:{display:"inline-block",color:"dark"===e.palette.mode?"white":"black",width:"calc(100% - ".concat(34,"px)"),height:"100%",overflow:"auto",position:"relative",verticalAlign:"top"},info:{background:"dark"===e.palette.mode?"darkgrey":"lightgrey",color:(e.palette.mode,"black")},error:{background:"#FF0000",color:"dark"===e.palette.mode?"black":"white"},warn:{background:"#FF8000",color:"dark"===e.palette.mode?"black":"white"},debug:{background:"gray",opacity:.8,color:"dark"===e.palette.mode?"black":"white"},silly:{background:"gray",opacity:.6,color:"dark"===e.palette.mode?"black":"white"},table:{fontFamily:"monospace",width:"100%"},toolbox:{width:34,height:"100%",boxShadow:"2px 0px 4px -1px rgba(0, 0, 0, 0.2), 4px 0px 5px 0px rgba(0, 0, 0, 0.14), 1px 0px 10px 0px rgba(0, 0, 0, 0.12)",display:"inline-block",verticalAlign:"top",overflow:"hidden"},trTime:{width:90},trSeverity:{width:40,fontWeight:"bold"},iconButtons:{width:32,height:32,padding:4},layoutIcon:{width:24,height:24,background:"dark"===e.palette.mode?"#9d9d9d":void 0,borderRadius:"dark"===e.palette.mode?30:void 0}})))(He);var Ge=s(5717),Ye=s(4280),Ke=s(23445),Ze=s(40360),Qe=s(24065),Xe=s(97938),$e=s(1273),et=s(36930),tt=s(91068),st=s(21832),at=s(39652),it=s(60960),ot=s(42492),nt=s(68738),rt=s(69392),lt=s(65204);var ct=s(67085);let dt=0;class ut extends i().Component{constructor(e){super(e),this.state={name:"current",isDark:e.isDark||!1,language:e.language||"javascript",readOnly:e.readOnly||!1,alive:!0,check:!1,searchText:this.props.searchText||"",typingsLoaded:!1},this.runningInstancesStr=JSON.stringify(this.props.runningInstances),this.monacoDiv=null,this.editor=null,this.monaco=window.monaco,this.insert="",this.originalCode=e.code||"",this.typings={},this.lastSearch=""}waitForMonaco(e){var t,s,a,i;let o=null===(t=this.monaco)||void 0===t||null===(s=t.languages)||void 0===s||null===(a=s.typescript)||void 0===a||null===(i=a.typescriptDefaults)||void 0===i?void 0:i.getCompilerOptions;if(o&&this.props.runningInstances)e&&e();else{var n,r,l,c;if(this.monaco=window.monaco,o=null===(n=this.monaco)||void 0===n||null===(r=n.languages)||void 0===r||null===(l=r.typescript)||void 0===l||null===(c=l.typescriptDefaults)||void 0===c?void 0:c.getCompilerOptions,this.monacoCounter=this.monacoCounter||0,this.monacoCounter++,!o&&this.monacoCounter<20)return console.log("wait for monaco loaded"),void setTimeout((()=>this.waitForMonaco(e)),200);this.monacoCounter>=20&&console.error("Cannot load monaco!")}}loadTypings(e){if(!this.editor)return;const t=(e=e||this.props.runningInstances)&&Object.keys(e).find((t=>e[t]));t&&this.props.socket.sendTo(t.replace("system.adapter.",""),"loadTypings",null).then((e=>{this.setState({alive:!0,check:!0,typingsLoaded:!0}),this.setTypeCheck(!0),e.typings?(this.typings=e.typings,this.setEditorTypings(this.state.name)):console.error("failed to load typings: ".concat(e.error))}))}componentDidMount(){var e,t,s,a;const i=null===(e=this.monaco)||void 0===e||null===(t=e.languages)||void 0===t||null===(s=t.typescript)||void 0===s||null===(a=s.typescriptDefaults)||void 0===a?void 0:a.getCompilerOptions;if((!i||!this.props.runningInstances)&&(this.monaco=window.monaco,!i))return console.log("wait for monaco loaded..."),void this.waitForMonaco((()=>this.componentDidMount()));if(!this.editor&&i){console.log("Init editor"),this.props.onRegisterSelect&&this.props.onRegisterSelect((()=>this.editor.getModel().getValueInRange(this.editor.getSelection())));const e=this.monaco.languages.typescript.typescriptDefaults.getCompilerOptions();e.target=this.monaco.languages.typescript.ScriptTarget.ES2015,e.allowJs=!0,e.checkJs=!1!==this.props.checkJs,e.noLib=!0,e.lib=[],e.useUnknownInCatchVariables=!1,e.moduleResolution=this.monaco.languages.typescript.ModuleResolutionKind.NodeJs,this.monaco.languages.typescript.typescriptDefaults.setCompilerOptions(e),this.setTypeCheck(!1),this.editor=this.monaco.editor.create(this.monacoDiv,{lineNumbers:"on",scrollBeyondLastLine:!1,automaticLayout:!0,glyphMargin:!!this.props.breakpoints}),this.editor.onDidChangeModelContent((()=>this.onChange(this.editor.getValue()))),this.loadTypings(),this.editor.addCommand(this.monaco.KeyMod.CtrlCmd|this.monaco.KeyCode.KEY_S,(()=>this.onForceSave())),setTimeout((()=>{this.highlightText(this.state.searchText),this.location=this.props.location,this.breakpoints=this.props.breakpoints,this.showDecorators()}))}const o={selectOnLineNumbers:!0,scrollBeyondLastLine:!1,automaticLayout:!0,readOnly:this.state.readOnly,language:this.state.language,isDark:this.state.isDark};this.setEditorOptions(o),this.editor.focus(),this.editor.setValue(this.originalCode),this.props.onToggleBreakpoint?this.editor.onMouseDown((e=>{e.target.detail&&void 0!==e.target.detail.glyphMarginLeft&&this.props.onToggleBreakpoint(e.target.position.lineNumber-1)})):this.editor.onMouseDown((()=>{}))}setEditorOptions(e){e&&(e.language&&this.setEditorLanguage(e.language),void 0!==e.readOnly&&this.editor.updateOptions({readOnly:e.readOnly}),void 0!==e.lineWrap&&this.editor.updateOptions({wordWrap:e.lineWrap?"on":"off"}),void 0!==e.typeCheck&&this.setTypeCheck(e.typeCheck),void 0!==e.isDark&&this.monaco.editor.setTheme(e.isDark?"vs-dark":"vs"))}componentWillUnmount(){this.editor&&(this.props.onRegisterSelect&&this.props.onRegisterSelect(null),this.editor.dispose(),this.editor=null)}setEditorLanguage(e){const t=this.editor.getModel(),s=t.getValue(),a=t.uri.path,i="string"===typeof a&&a.includes(".")?a.substr(0,a.lastIndexOf(".")):"index",o="javascript"===e?"js":"typescript"===e?"ts":e;t.dispose();const n="javascript"===e||"typescript"===e?"typescript":e,r=this.monaco.editor.createModel(s,n,this.monaco.Uri.from({path:"".concat(i).concat(dt++,".").concat(o)}));this.editor.setModel(r)}setTypeCheck(e){const t={noSemanticValidation:!this.state.alive||!e,noSyntaxValidation:!this.state.alive};this.monaco.languages.typescript.typescriptDefaults.setDiagnosticsOptions(t)}setEditorTypings(){var e,t,s,a,i,o,n,r;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const c=/^script\.js\.global\./.test(l);const d="".concat(l,".d.ts"),u=[];for(const p of Object.keys(this.typings)){if(c){if("global.d.ts"===p)continue;if(p.startsWith("script.js.global")&&p!==d)continue}u.push({filePath:p,content:this.typings[p]})}if(null!==(e=this.monaco)&&void 0!==e&&null!==(t=e.languages)&&void 0!==t&&null!==(s=t.typescript)&&void 0!==s&&null!==(a=s.typescriptDefaults)&&void 0!==a&&a.setExtraLibs)this.monaco.languages.typescript.typescriptDefaults.setExtraLibs(u);else if(null!==(i=this.monaco)&&void 0!==i&&null!==(o=i.languages)&&void 0!==o&&null!==(n=o.typescript)&&void 0!==n&&null!==(r=n.typescriptDefaults)&&void 0!==r&&r.addExtraLib){const e=this.monaco.languages.typescript.typescriptDefaults.getExtraLibs();u.forEach((t=>{e[t.filePath]||this.monaco.languages.typescript.typescriptDefaults.addExtraLib(t,t.filePath)}))}}insertTextIntoEditor(e){const t=this.editor.getSelection(),s=new this.monaco.Range(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn);this.editor.executeEdits("",[{range:s,text:e,forceMoveMarkers:!0}]),this.editor.focus()}highlightText(e){const t=e&&this.editor.getModel().findMatches(e);if(t&&t.length)t.forEach((e=>this.editor.setSelection(e.range))),this.editor.revealLine(t[0].range.startLineNumber);else if(this.editor){const e=this.editor.getPosition().lineNumber,t=this.editor.getPosition().column;this.editor.setSelection(new this.monaco.Range(e,t,e,t))}}showDecorators(){this.decorations=this.decorations||[];const e=[];this.location&&(e.push({range:new this.monaco.Range(this.location.lineNumber+1,this.location.columnNumber+1,this.location.lineNumber+1,1e3),options:{isWholeLine:!1,className:this.props.isDark?"monacoCurrentLineDark":"monacoCurrentLine"}}),e.push({range:new this.monaco.Range(this.location.lineNumber+1,0,this.location.lineNumber+1,0),options:{isWholeLine:!0,className:this.props.isDark?"monacoCurrentFullLineDark":"monacoCurrentFullLine"}})),this.breakpoints&&this.breakpoints.forEach((t=>{e.push({range:new this.monaco.Range(t.location.lineNumber+1,0,t.location.lineNumber+1,100),options:{isWholeLine:!0,glyphMarginClassName:this.props.isDark?"monacoBreakPointDark":"monacoBreakPoint"}})})),this.editor&&(this.decorations=this.editor.deltaDecorations(this.decorations,e))}initNewScript(e,t){this.setState({name:e}),this.originalCode=t||"",this.editor&&this.editor.setValue(t),this.highlightText(this.lastSearch),this.showDecorators(),this.setEditorTypings(e)}scrollToLineIfNeeded(e){if(this.editor){const t=this.editor.getVisibleRanges();(!t||!t[0]||t[0].startLineNumber>e||e>t[0].endLineNumber)&&this.editor.revealLineInCenter(e)}}UNSAFE_componentWillReceiveProps(e){const t={};this.state.name!==e.name&&this.initNewScript(e.name,e.code),JSON.stringify(e.runningInstances)!==this.runningInstancesStr&&(this.runningInstancesStr=JSON.stringify(e.runningInstances),this.state.typingsLoaded||this.loadTypings(e.runningInstances)),!this.editor||e.changed||e.code===this.originalCode&&e.code===this.editor.getValue()||(this.originalCode=e.code,this.editor.setValue(this.originalCode),this.showDecorators(),this.location&&this.scrollToLineIfNeeded(this.location.lineNumber+1)),e.searchText!==this.lastSearch&&(this.lastSearch=e.searchText,this.highlightText(this.lastSearch)),JSON.stringify(e.location)!==JSON.stringify(this.location)&&JSON.stringify(e.breakpoints)!==JSON.stringify(this.breakpoints)?(this.location=e.location,this.breakpoints=e.breakpoints,this.showDecorators(),this.editor&&this.location&&this.scrollToLineIfNeeded(this.location.lineNumber+1)):JSON.stringify(e.breakpoints)!==JSON.stringify(this.breakpoints)?(this.breakpoints=e.breakpoints,this.showDecorators()):JSON.stringify(e.location)!==JSON.stringify(this.location)&&(this.location=e.location,this.showDecorators(),this.editor&&this.location&&this.scrollToLineIfNeeded(this.location.lineNumber+1)),this.state.language!==(e.language||"javascript")?(this.setState({language:e.language||"javascript"}),t.language=e.language||"javascript"):this.state.readOnly!==(e.readOnly||!1)?(this.setState({readOnly:e.readOnly||!1}),t.readOnly=e.readOnly):this.state.isDark!==(e.isDark||!1)&&(this.setState({isDark:e.isDark||!1}),t.isDark=e.isDark),this.setEditorOptions(t),this.insert!==e.insert&&(this.insert=e.insert,this.insert&&(console.log("Insert text: ".concat(this.insert)),setTimeout((e=>{this.insertTextIntoEditor(e),setTimeout((()=>this.props.onInserted&&this.props.onInserted()),100)}),100,this.insert)))}onChange(e,t){this.props.readOnly||this.props.onChange&&this.props.onChange(this.editor.getValue())}render(){var e,t,s;return null!==(e=this.monaco)&&void 0!==e&&null!==(t=e.languages)&&void 0!==t&&null!==(s=t.typescript)&&void 0!==s&&s.typescriptDefaults&&this.props.runningInstances?(0,se.jsx)("div",{ref:e=>this.monacoDiv=e,style:{width:"100%",height:"100%",overflow:"hidden",position:"relative"},children:!this.state.check&&(0,se.jsx)(ct.Fab,{size:"small",title:S.I18n.t("Check is not active, because javascript adapter is disabled"),style:{bottom:10,right:10,opacity:.5,position:"absolute",zIndex:1,background:"red",color:"white"},color:"secondary",children:(0,se.jsx)(x.ZuP,{})})}):(setTimeout((()=>{this.monaco=window.monaco,this.forceUpdate()}),200),null)}}const pt=ut;var ht=s(6502),mt=s(56258),gt=s(78355);class bt extends i().Component{constructor(e){super(e),this.state={anchorEl:null,popper:""}}handleCancel(){this.props.onClose()}onCopy(e){S.Utils.copyToClipboard(this.props.text);const t=e.currentTarget;setTimeout((()=>{this.setState({popper:S.I18n.t("Copied"),anchorEl:t}),setTimeout((()=>this.setState({popper:"",anchorEl:null})),1e3)}),50)}render(){const e=this.props.classes,t=new Blob([this.props.text],{type:"application/xml"}),s=this.props.scriptId.substring(10)+".xml";return(0,se.jsxs)(K.A,{onClose:(e,t)=>!1,maxWidth:"lg",classes:{paper:e.dialog},fullWidth:!0,open:this.props.open,"aria-labelledby":"export-dialog-title",children:[(0,se.jsx)(q.A,{id:"export-dialog-title",children:S.I18n.t("Export selected blocks")}),(0,se.jsx)(G.A,{classes:{root:e.overflowY},children:(0,se.jsx)("pre",{id:"export-text",className:"".concat(e.textArea," ").concat("dark"===this.props.themeType?"":e.textAreaLight),children:this.props.text})}),(0,se.jsxs)(Y.A,{children:[(0,se.jsx)(H.A,{variant:"contained",color:"secondary",startIcon:(0,se.jsx)(B.Mbn,{}),children:(0,se.jsx)("a",{download:s,target:"_blank",rel:"noreferrer",href:URL.createObjectURL(t),style:{textDecoration:"inherit",color:"inherit"},children:S.I18n.t("Download as file")})}),(0,se.jsx)(H.A,{variant:"contained",onClick:e=>this.onCopy(e),color:"secondary",startIcon:(0,se.jsx)(gt.A,{}),children:S.I18n.t("Copy to clipboard")}),(0,se.jsx)(H.A,{variant:"contained",onClick:()=>this.handleCancel(),color:"primary",startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Close")}),(0,se.jsx)(ht.A,{id:"popper",style:{zIndex:1e4},open:!!this.state.popper,placement:"top",anchorEl:this.state.anchorEl,transition:!0,children:t=>{let{TransitionProps:s}=t;return(0,se.jsx)(mt.A,{...s,timeout:350,children:(0,se.jsx)(lt.A,{children:(0,se.jsx)("p",{className:e.typography,children:this.state.popper})})})}}),(0,se.jsx)("textarea",{id:"copy_input",readOnly:!0,style:{position:"absolute",left:-9999},tabIndex:-1,"aria-hidden":!0,value:this.props.text})]})]},"export-dialog")}}bt.defaultProps={open:!0};const yt=(0,u.A)((e=>({textArea:{width:"100%",height:"100%",overflow:"auto"},textAreaLight:{background:"lightgray"},dialog:{height:"95%"},typography:{padding:e.spacing(2)},overflowY:{overflowY:"hidden"}})))(bt);var vt=s(33155);class ft extends i().Component{constructor(e){super(e),this.state={text:""}}componentDidMount(){setTimeout((()=>{try{window.document.getElementById("import-text-area").focus()}catch(e){}}),100)}static readFileDataUrl(e,t){const s=new FileReader;s.onload=()=>{t(null,{data:s.result,name:e.name})},s.onabort=()=>{console.error("file reading was aborted"),t(S.I18n.t("file reading was aborted"))},s.onerror=e=>{console.error("file reading has failed"),t(S.I18n.t("file reading has failed: %s",e))},s.readAsText(e)}handleDropFile(e){if(e&&e.hasOwnProperty("target")&&(e=e.target.files),!e&&!e.length)return;const t=e[e.length-1];t&&ft.readFileDataUrl(t,((e,t)=>{e?this.setState({error:e}):this.setState({text:t.data})}))}handleCancel(){this.props.onClose()}handleOk(){this.props.onClose(this.state.text)}onChange(e){this.setState({text:e.target.value})}render(){const e=this.props.classes,t=e.dropzone+" "+("accepted"===this.state.imageStatus?e.dropzoneAccepted:"rejected"===this.state.imageStatus?e.dropzoneRejected:"");return(0,se.jsxs)(K.A,{onClose:(e,t)=>!1,maxWidth:"lg",classes:{paper:e.dialog},fullWidth:!0,open:this.props.open,"aria-labelledby":"import-dialog-title",children:[(0,se.jsx)(q.A,{id:"import-dialog-title",children:S.I18n.t("Import blocks")}),(0,se.jsxs)(G.A,{className:e.fullHeight,children:[(0,se.jsx)("textarea",{autoFocus:!0,id:"import-text-area",className:e.textArea,onChange:e=>this.onChange(e),value:this.state.text}),(0,se.jsx)(vt.default,{maxSize:5e7,acceptClassName:e.dropzoneAccepted,rejectClassName:e.dropzoneRejected,onDrop:e=>this.handleDropFile(e),multiple:!1,accept:"text/plain,text/xml,application/xml",className:t,children:e=>{let{getRootProps:t,getInputProps:s,isDragActive:a,isDragReject:i}=e;return i?("rejected"!==this.state.imageStatus&&this.setState({imageStatus:"rejected"}),(0,se.jsxs)("div",{className:this.props.classes.dropzoneDiv,...t(),children:[(0,se.jsx)("input",{...s()}),(0,se.jsx)("span",{className:this.props.classes.text,children:S.I18n.t("Some files will be rejected")},"text"),(0,se.jsx)(x.uDv,{className:this.props.classes.icon+" "+this.props.classes.iconError},"icon")]})):a?("accepted"!==this.state.imageStatus&&this.setState({imageStatus:"accepted"}),(0,se.jsxs)("div",{className:this.props.classes.dropzoneDiv,...t(),children:[(0,se.jsx)("input",{...s()}),(0,se.jsx)("span",{className:this.props.classes.text,children:S.I18n.t("All files will be accepted")},"text"),(0,se.jsx)(x.u_S,{className:this.props.classes.icon+" "+this.props.classes.iconOk},"icon")]})):("wait"!==this.state.imageStatus&&this.setState({imageStatus:"wait"}),(0,se.jsxs)("div",{className:this.props.classes.dropzoneDiv,...t(),children:[(0,se.jsx)("input",{...s()}),(0,se.jsx)("span",{className:this.props.classes.text,children:S.I18n.t("Drop some files here or click...")},"text"),(0,se.jsx)(x.t76,{className:this.props.classes.icon},"icon")]}))}},"image-drop")]}),(0,se.jsxs)(Y.A,{children:[(0,se.jsx)(H.A,{variant:"contained",disabled:!this.state.text,onClick:e=>this.handleOk(),color:"primary",startIcon:(0,se.jsx)(te.A,{}),children:S.I18n.t("Import")}),(0,se.jsx)(H.A,{color:"grey",variant:"contained",onClick:()=>this.handleCancel(),startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Close")})]})]})}}ft.defaultProps={open:!0};const St=(0,u.A)((e=>({textArea:{width:"calc(100% - 10px)",height:"80%",resize:"none",fontFamily:"monospace",fontSize:"1em"},dropzone:{marginTop:20,width:"100%",borderWidth:5,borderStyle:"dashed",borderColor:"#d0cccc",textAlign:"center",boxSizing:"border-box",paddingTop:45,borderRadius:10,height:"calc(100% - 10px)"},dropzoneDiv:{width:"100%",height:"20%",position:"relative"},dropzoneRejected:{borderColor:"#970000"},dropzoneAccepted:{borderColor:"#17cd02"},icon:{height:"30%",width:"30%",color:"#eeeeee",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",zIndex:0},iconError:{color:"#ffc3c6"},iconOk:{color:"#aaeebc"},text:{top:"50%",left:"50%",transform:"translate(-50%,-50%)",color:"#868686",position:"absolute",zIndex:1},dialog:{height:"95%"},fullHeight:{height:"100%",overflow:"hidden"}})))(ft);let xt,kt=!1,wt=!1,Ct=null,jt=[];function It(e,t,s,a){if(a=a||[],"BLOCK"!==e.tagName&&"block"!==e.tagName||(s=e.id),"FIELD"===e.tagName||"field"===e.tagName)for(let i=0;iIt(e,t,s,a))),a}class At extends i().Component{constructor(e){super(e),this.blockly=null,this.blocklyWorkspace=null,this.toolbox=null,this.Blockly=window.Blockly,this.state={languageOwnLoaded:wt,languageBlocklyLoaded:kt,changed:!1,message:"",error:"",themeType:this.props.themeType,exportText:"",importText:!1,searchText:this.props.searchText||""},this.originalCode=e.code||"",this.someSelected=null,this.changeTimer=null,this.onResizeBind=this.onResize.bind(this),this.lastCommand="",this.lastSearch=this.props.searchText||"",this.blinkBlock=null,this.loadLanguages()}static loadJS(e,t,s){const a=document.createElement("script");try{a.src=e,a.onload=t,a.onreadystatechange=t,a.onerror=t,(s||window.document.body).appendChild(a)}catch(i){console.error("Cannot load ".concat(e,": ").concat(i)),t&&t()}}static loadScripts(e,t){if(!e||!e.length)return t&&t();const s=e.pop();jt.includes(s)?setTimeout((()=>At.loadScripts(e,t)),0):(jt.push(s),At.loadJS("../../adapter/".concat(s,"/blockly.js"),(()=>setTimeout((()=>At.loadScripts(e,t)),0))))}static loadCustomBlockly(e,t){const s=[];for(const a in e)e.hasOwnProperty(a)&&e[a]&&a.match(/^system\.adapter\./)&&"adapter"===e[a].type&&e[a].common&&e[a].common.blockly&&(console.log("Detected custom blockly: ".concat(e[a].common.name)),s.push(e[a].common.name));At.loadScripts(s,t)}static loadXMLDoc(e){let t;return t=window.DOMParser?e=>(new window.DOMParser).parseFromString(e,"text/xml"):"undefined"!==typeof window.ActiveXObject&&new window.ActiveXObject("Microsoft.XMLDOM")?e=>{const t=new window.ActiveXObject("Microsoft.XMLDOM");return t.async="false",t.loadXML(e),t}:()=>null,t(e)}searchBlocks(e){if(this.blocklyWorkspace){const t=It(this.Blockly.Xml.workspaceToDom(this.blocklyWorkspace),e.toLowerCase());return console.log('Search "'.concat(e,'" found blocks: ').concat(t.length?JSON.stringify(t):"none")),t}return[]}searchId(){const e=this.lastSearch&&this.searchBlocks(this.lastSearch);e&&e.length?(this.someSelected=e,this.someSelected.forEach((e=>this.blocklyWorkspace.highlightBlock(e,!0))),this.someSelectedTime=Date.now()):this.someSelected&&(this.someSelected.forEach((e=>this.blocklyWorkspace.highlightBlock(e,!1))),this.someSelected=null)}UNSAFE_componentWillReceiveProps(e){e.command&&this.lastCommand!==e.command&&(this.lastCommand=e.command,setTimeout((()=>this.lastCommand=""),300),"check"===this.lastCommand?this.blocklyCheckBlocks(((e,t)=>{e?(t&&this.blocklyBlinkBlock(t),this.setState({error:{text:S.I18n.t(e),title:S.I18n.t("Error was found")}}),this.blinkBlock=t):this.setState({message:S.I18n.t("Ok")})})):"export"===this.lastCommand?this.exportBlocks():"import"===this.lastCommand&&this.importBlocks()),e.searchText!==this.lastSearch&&(this.lastSearch=e.searchText,this.searchId()),this.state.themeType!==e.themeType&&this.setState({themeType:e.themeType},(()=>this.updateBackground())),this.originalCode!==e.code&&(this.originalCode=e.code||"",this.loadCode(),this.searchId())}loadLanguages(){if(!kt){const e=window.document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("src","google-blockly/msg/js/".concat(S.I18n.getLanguage(),".js")),e.onload=()=>{kt=!0,this.setState({languageBlocklyLoaded:kt})},e.onreadystatechange=()=>{"complete"===this.readyState&&(kt=!0,this.setState({languageBlocklyLoaded:kt}))},window.document.getElementsByTagName("head")[0].appendChild(e)}if(!wt){const e=window.document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("src","google-blockly/own/msg/".concat(S.I18n.getLanguage(),".js")),e.onload=()=>{wt=!0,this.setState({languageOwnLoaded:wt})},e.onreadystatechange=()=>{"complete"===this.readyState&&(wt=!0,this.setState({languageOwnLoaded:wt}))},window.document.getElementsByTagName("head")[0].appendChild(e)}}onResize(){this.Blockly.svgResize(this.blocklyWorkspace)}jsCode2Blockly(e){const t=(e=e||"").split(/[\r\n]+|\r|\n/g);let s,a="";for(let o=t.length-1;o>=0;o--)if("//"===t[o].substring(0,2)){a=t[o].substring(2);break}if("e.select()),t),setTimeout((()=>e.unselect()),t+150)}blocklyRemoveOrphanedShadows(){if(this.blocklyWorkspace){const e=this.blocklyWorkspace.getAllBlocks();let t;for(let s=0;t=e[s];s++)if(t.isShadow()){const e=t.getConnections_(!0);let s;for(let a=0;s=e[a];a++)if(!s.targetConnection){t.dispose();break}}}}blocklyCheckBlocks(e){let t;if(!this.blocklyWorkspace||0===this.blocklyWorkspace.getAllBlocks().length)return void(e&&e("no blocks found"));let s=this.blocklyGetUnconnectedBlock();return s?t="not properly connected":(s=this.blocklyGetBlockWithWarning(),s&&(t="warning on this block")),s?(e?e(t,s):this.blocklyBlinkBlock(s),!1):(e(),!0)}blocklyGetUnconnectedBlock(){const e=this.blocklyWorkspace.getAllBlocks();let t;for(let s=0;t=e[s];s++){const e=t.getConnections_(!0);let s;for(let a=0;s=e[a];a++)if(!s.sourceBlock_||(s.type===this.Blockly.INPUT_VALUE||s.type===this.Blockly.OUTPUT_VALUE)&&!s.targetConnection&&!s._optional)return t}return null}blocklyGetBlockWithWarning(){const e=this.blocklyWorkspace.getAllBlocks();let t;for(let s=0;t=e[s];s++)if(t.warning)return t;return null}blocklyCode2JSCode(e){let t=this.Blockly.JavaScript.workspaceToCode(this.blocklyWorkspace);if(!e){t+="\n";const e=this.Blockly.Xml.workspaceToDom(this.blocklyWorkspace),s=this.Blockly.Xml.domToText(e);t+="//".concat(btoa(encodeURIComponent(s)))}return t}exportBlocks(){let e;const t=this.Blockly.getSelected();if(t){const s=this.Blockly.Xml.blockToDom(t);this.Blockly.dragMode_!==this.Blockly.DRAG_FREE&&this.Blockly.Xml.deleteNext(s);const a=t.getRelativeToSurfaceXY();s.setAttribute("x",t.RTL?-a.x:a.x),s.setAttribute("y",a.y),e=this.Blockly.Xml.domToPrettyText(s)}else{const t=this.Blockly.Xml.workspaceToDom(this.blocklyWorkspace);e=this.Blockly.Xml.domToPrettyText(t)}this.setState({exportText:e})}importBlocks(){this.setState({importText:!0})}onImportBlocks(e){if(e=(e||"").trim())try{e.startsWith("'+e+"");const t=e.replace(/[\n\r]/g,"").match(/(.*)<\/variables>/);if(t){const e=this.Blockly.utils.xml.textToDomDocument(""+t[1]+"");if(e){const t=e.childNodes&&e.childNodes[0]&&e.childNodes[0].childNodes;if(t)for(let e=0;e.*<\/variables>/g,""),window.scripts.loading=!0;const s=this.Blockly.utils.xml.textToDom(e);if("xml"===s.nodeName)for(let e=0;e';window.scripts.loading=!0;const t=this.Blockly.utils.xml.textToDom(e);this.Blockly.Xml.domToWorkspace(t,this.blocklyWorkspace),window.scripts.loading=!1}catch(e){console.error(e),setTimeout((()=>this.setState({error:S.I18n.t("Cannot extract Blockly code!")})))}setTimeout((()=>this.ignoreChanges=!1),100)}}onBlocklyChanged(){this.blocklyRemoveOrphanedShadows(),this.setState({changed:!0}),this.onChange()}async componentDidUpdate(){if(!this.blockly)return;if(this.didUpdate&&(clearTimeout(this.didUpdate),this.didUpdate=null),this.blocklyWorkspace)return;window.addEventListener("resize",this.onResizeBind,!1),Ct=Ct||await this.getToolbox(),xt=xt||this.Blockly.utils.xml.textToDom(Ct),this.blocklyWorkspace=this.Blockly.inject(this.blockly,{media:"google-blockly/media/",toolbox:xt,zoom:{controls:!0,wheel:!1,startScale:1,maxScale:3,minScale:.3,scaleSpeed:1.2},move:{scrollbars:!0,drag:!0,wheel:!0},trashcan:!0,grid:{spacing:25,length:3,colour:"#ccc",snap:!0},sounds:!1}),window.scripts={blocklyWorkspace:this.blocklyWorkspace},this.blocklyWorkspace.registerToolboxCategoryCallback("PROCEDURE",this.Blockly.Procedures.flyoutCategoryNew),this.blocklyWorkspace.addChangeListener((e=>{if(this.someSelected&&Date.now()-this.someSelectedTime>500){const e=this.blocklyWorkspace.getAllBlocks();this.someSelected=null,e.forEach((e=>e.removeSelect()))}[this.Blockly.Events.UI,this.Blockly.Events.CREATE,this.Blockly.Events.VIEWPORT_CHANGE].includes(e.type)||this.ignoreChanges||(this.changeTimer&&clearTimeout(this.changeTimer),this.changeTimer=setTimeout((()=>{this.changeTimer=null,this.onBlocklyChanged()}),200))})),this.loadCode(),this.onResize();const e=document.getElementsByClassName("blocklyToolboxDiv")[0];this.blockly.appendChild(e),this.updateBackground(),setTimeout((()=>this.searchId()),200)}updateBackground(){const e=document.getElementsByClassName("blocklyMainBackground")[0];"dark"===this.state.themeType?(e._originalStyle||(e._originalStyle={stroke:e.style.stroke,fill:e.style.fill}),e.style.stroke="#3a3a3a",e.style.fill="#515151"):e._originalStyle&&(e.style.stroke=e._originalStyle.stroke,e.style.fill=e._originalStyle.fill)}componentWillUnmount(){this.blocklyWorkspace&&(this.blocklyWorkspace.dispose(),this.blocklyWorkspace=null,this.changeTimer&&clearTimeout(this.changeTimer),this.changeTimer=null,window.removeEventListener("resize",this.onResizeBind))}onChange(){this.originalCode=this.blocklyCode2JSCode(),this.props.onChange&&this.props.onChange(this.originalCode)}async getToolbox(e){const t=window.document.getElementById("toolbox");let s=t&&t.outerHTML;if(!s)return e?(console.error("Cannot load blocks!"),""):new Promise((e=>{setTimeout((()=>e(this.getToolbox(!0))),500)}));if(s=s.replace(/{(\w+)}/g,((e,t)=>window.MSG[t])),this.Blockly.CustomBlocks){let e="";const t=S.I18n.getLanguage();for(let s=0;s');for(const t in this.Blockly[a].blocks)Object.prototype.hasOwnProperty.call(this.Blockly[a].blocks,t)&&(e+=this.Blockly[a].blocks[t]);e+=""}s=s.replace("%%CUSTOM_BLOCKS%%",e)}return s}renderMessageDialog(){return this.state.message?(0,se.jsx)(y(),{text:"object"===typeof this.state.message?this.state.message.text:this.state.message,title:"object"===typeof this.state.message?this.state.message.title:"",onClose:()=>this.setState({message:""})},"dialogMessage"):null}renderErrorDialog(){return this.state.error?(0,se.jsx)(ke,{text:"object"===typeof this.state.error?this.state.error.text.toString():this.state.error,title:"object"===typeof this.state.error?this.state.error.title:"",onClose:()=>{this.blinkBlock&&(this.blocklyBlinkBlock(this.blinkBlock),this.blinkBlock=null),this.setState({error:""})}},"dialogError"):null}renderExportDialog(){return this.state.exportText?(0,se.jsx)(yt,{theme:this.state.themeType,onClose:()=>this.setState({exportText:""}),text:this.state.exportText,scriptId:this.props.scriptId},"dialogExport"):null}renderImportDialog(){return this.state.importText?(0,se.jsx)(St,{onClose:e=>{this.setState({importText:!1}),this.onImportBlocks(e)}},"dialogImport"):null}render(){return this.state.languageBlocklyLoaded&&this.state.languageOwnLoaded?(this.didUpdate=setTimeout((()=>{this.didUpdate=null,this.componentDidUpdate()}),100),[(0,se.jsx)("div",{ref:e=>this.blockly=e,style:{width:"100%",height:"100%",position:"relative"}},"blocklyDOM"),this.renderMessageDialog(),this.renderErrorDialog(),this.renderExportDialog(),this.renderImportDialog()]):null}}const Tt=At;var Dt=s(94329);class Nt extends i().Component{constructor(e){super(e),this.state={changed:!1,source:this.props.source},!this.state.source&&this.props.isReturn&&(this.state.source="\nreturn false")}componentDidMount(){setTimeout((()=>{try{window.document.getElementById("source-text-area").focus()}catch(e){}}),100)}handleCancel(){this.props.onClose(!1)}handleOk(){this.props.isReturn&&!this.state.source.includes("return ")||this.props.onClose(this.state.source)}onChange(e){this.setState({changed:!0,source:e})}render(){const e=this.props.classes;return(0,se.jsxs)(K.A,{onClose:(e,t)=>!1,maxWidth:"lg",classes:{paper:e.dialog},fullWidth:!0,open:!0,"aria-labelledby":"source-dialog-title",children:[(0,se.jsx)(q.A,{id:"source-dialog-title",children:S.I18n.t("Function editor")}),(0,se.jsxs)(G.A,{className:e.fullHeight,children:[this.props.args&&(0,se.jsxs)("div",{className:e.args,children:[(0,se.jsx)("span",{className:e.argsTitle,children:S.I18n.t("function (")}),this.props.args,(0,se.jsx)("span",{className:e.argsTitle,children:")"})]},"arguments"),(0,se.jsx)(pt,{adapterName:this.props.adapterName,runningInstances:this.props.runningInstances,className:e.textArea,style:{height:this.props.args?"calc(100% - 30px)":"100%"},name:"blockly",socket:this.props.socket,readOnly:!1,checkJs:!1,changed:this.state.changed,code:this.state.source,isDark:"dark"===this.props.themeType,onChange:e=>this.onChange(e),language:"javascript"},"scriptEditor")]}),(0,se.jsxs)(Y.A,{children:[(0,se.jsx)(H.A,{variant:"contained",onClick:()=>this.handleOk(),color:"primary",startIcon:(0,se.jsx)(Dt.A,{}),children:S.I18n.t("Save")}),(0,se.jsx)(H.A,{color:"grey",variant:"contained",onClick:()=>this.handleCancel(),startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Cancel")})]})]})}}const Et=(0,u.A)((e=>({textArea:{width:"calc(100% - 10px)",resize:"none"},dialog:{height:"95%"},fullHeight:{height:"100%",overflow:"hidden"},args:{color:"dark"===e.palette.mode?"white":"black",height:30,width:"100%",fontSize:16},argsTitle:{color:"dark"===e.palette.mode?"white":"black",fontWeight:"bold"}})))(Nt),Ot="style_wrapperRules__Js-Pp",Rt="style_rootWrapper__0Dpqp",_t="style_addClass__ry424";var Mt=s(35661);const zt="style_switchesItem__RBQz7",Bt="style_switchesItemActive__FU8S9",Pt="style_iconTheme__inJLE";var Ft=s(15061);const Lt={},Ut=e=>{let{iconName:t,className:s,adapter:i,socket:o,onClick:n}=e,[r,l]=(0,a.useState)("");if((0,a.useEffect)((()=>{i&&o&&(Lt[i]=Lt[i]||o.getObject("system.adapter.".concat(i)),Lt[i].then((e=>{var t;return(null===e||void 0===e||null===(t=e.common)||void 0===t?void 0:t.icon)&&l("../../adapter/".concat(i,"/").concat(e.common.icon))})))}),[i,o]),i)return(0,se.jsx)("img",{onClick:e=>n&&n(e),src:r||"",className:s,alt:""});{const e=Ft[t||"Help"];return(0,se.jsx)(e,{className:s,onClick:e=>n&&n(e)})}};Ut.defaultProps={className:null,iconName:"Help"};const Vt=Ut,Wt=e=>{let{name:t,id:s,active:a,icon:i,adapter:o,socket:n,onDoubleClick:r,title:l,onTouchMove:c}=e;return(0,se.jsxs)("div",{onDoubleClick:r,onTouchMove:c,title:S.I18n.t(l),className:S.Utils.clsx(zt,a&&Bt,"block-"+s),children:[(0,se.jsx)(Vt,{iconName:i,className:Pt,adapter:o,socket:n}),(0,se.jsx)("span",{children:t?S.I18n.t(t):""})]},s)};Wt.defaultProps={name:"",active:!1,id:"",onDoubleClick:()=>{}};const Jt=Wt,Ht="style_cardStyle__5c+lG",qt="style_cardStyleActive__n6Nq8",Gt="style_controlMenu__J0sIm",Yt="style_closeBtn__TzVMw",Kt="style_isDelete__0Sa6U",Zt="style_drag_mobile__RVp7B";function Qt(e,t,s){let a;return"actions"===e?(a={...t,[e]:{...t[e],[s]:[...t[e][s]]}},a):(a={...t,[e]:[...t[e]]},a)}function Xt(e,t,s,a){switch(e){case"actions":case"conditions":return t[e][s]=t[e][s].filter((e=>e._id!==a)),t;default:return t[e]=t[e].filter((e=>e._id!==a)),t}}const $t={cardStyle:"style_cardStyle__A9pAJ",nameCard:"style_nameCard__m2nJe",cardStyleActive:"style_cardStyleActive__sMSgj",iconThemCard:"style_iconThemCard__wx6Kq",iconThemCardSelectable:"style_iconThemCardSelectable__H9okn",iconHelp:"style_iconHelp__iIi1g",inputCard:"style_inputCard__qf8Q+",blockName:"style_blockName__CqwBy",controlMenu:"style_controlMenu__8kQnd",closeBtn:"style_closeBtn__LcbOd",controlMenuTop:"style_controlMenuTop__AkzEp",debugInfo:"style_debugInfo__wPdyv",fadeIn:"style_fadeIn__zKsCh",tagCard:"style_tagCard__CEY-X",displayFlex:"style_displayFlex__5sr+i",blockMarginTop:"style_blockMarginTop__Qn7Lh",nameBlock:"style_nameBlock__MZ53S",frontText:"style_frontText__3cVcg",backText:"style_backText__sF8Y-",iconTag:"style_iconTag__2cpM6",displayItalic:"style_displayItalic__9KtQw"};var es=s(45465),ts=s(73900),ss=s.n(ts),as=s(99795),is=s.n(as),os=s(81363);const ns="style_root__h6PjP",rs="style_square__ahzCN",ls="style_icon__jwNl0",cs=e=>{let{fullWidth:t,size:s,onClick:a,style:i,className:o,value:n,square:r,icon:l}=e;return(0,se.jsx)(ct.Button,{variant:"outlined",color:"primary",onClick:a,fullWidth:t,style:i,className:S.Utils.clsx(ns,o,r?rs:""),margin:"normal",size:s,children:l?(0,se.jsx)(S.Icon,{className:ls,src:l}):n})};cs.defaultProps={value:"",className:null,variant:"standard",size:"medium",fullWidth:!1,square:!1};const ds=cs,us="style_root__8DT4l",ps=e=>{let{size:t,value:s,style:i,title:o,onChange:n,className:r,customValue:l,disabled:c}=e;const[d,u]=(0,a.useState)(!1);return(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(ct.Checkbox,{disabled:c,checked:Boolean(l?s:d),className:S.Utils.clsx(us,r),onChange:e=>{l&&u(e.target.checked),n(e.target.checked)},size:t}),o||null]})};ps.defaultProps={value:!1,disabled:!1,type:null,error:"",className:null,table:!1,native:{},variant:"standard",size:"medium",component:null,styleComponentBlock:null,onChange:()=>{},fullWidth:!1,autoComplete:"",customValue:!1,label:"all"};const hs=(0,a.memo)(ps),ms={root:"style_root__WINKv"},gs=e=>{let{autoFocus:t,fullWidth:s,disabled:i,multiline:o,rows:n,autoComplete:r,label:l,error:c,size:d,variant:u,value:p,type:h,style:m,onChange:g,className:b,customValue:y,icon:v}=e;const[f,x]=(0,a.useState)("");return(0,se.jsx)(ct.TextField,{error:!!c,autoFocus:t,fullWidth:s,label:l,disabled:i,variant:u,multiline:o,rows:n,value:y?p:f,type:h,helperText:c,style:m,className:S.Utils.clsx(ms.root,b),autoComplete:r,onChange:e=>{!y&&x(e.target.value),g(e.target.value)},InputProps:{endAdornment:v?(0,se.jsx)(Ce.A,{position:"end",children:(0,se.jsx)(S.Icon,{className:ms.icon,src:v})}):null},margin:"normal",size:d})};gs.defaultProps={value:"",type:"text",error:"",className:null,table:!1,native:{},variant:"standard",size:"medium",component:null,styleComponentBlock:null,onChange:()=>{},fullWidth:!1,autoComplete:"",customValue:!1,autoFocus:!1,rows:1};const bs=gs,ys=(0,u.A)({root:{margin:"10px 0","& .MuiFormControl-marginNormal":{marginTop:0,marginBottom:0},"& > *":{color:"#2d0440 !important"},"& .MuiSelect-icon":{color:"#81688c"},"& label.Mui-focused":{color:"#81688c"},"& .MuiInput-underline:after":{borderBottomColor:"#510573"},"& .MuiInput-underline:before":{borderBottomColor:"#81688c"},"& .MuiInput-underline:hover:before":{borderBottomColor:"#81688c"}}})(ct.FormControl),vs=e=>{let{multiple:t,value:s,customValue:i,socket:o,title:n,attr:r,adapter:l,style:c,onChange:d,className:u,onInstanceHide:p}=e;const[h,m]=(0,a.useState)(s||"test1"),[g,b]=(0,a.useState)([]);return(0,a.useEffect)((()=>{o&&o.getAdapterInstances(l).then((e=>{const t=e.map((e=>({value:e._id.replace("system.adapter.",""),title:e._id.replace("system.adapter.","")})));1===t.length?p(t[0].value):t.unshift({value:l,title:S.I18n.t("All")}),b(t)}))}),[o,l,p]),(0,se.jsxs)(ys,{className:u,fullWidth:!0,style:c,children:[(0,se.jsx)(ct.Select,{variant:"standard",value:(i?s:h)||"_",fullWidth:!0,multiple:t,renderValue:e=>t&&e.join?e.join(", "):e,onChange:e=>{!i&&m(e.target.value),d(e.target.value)},input:r?(0,se.jsx)(ct.Input,{name:r,id:r+"-helper"}):(0,se.jsx)(ct.Input,{name:r}),children:g.map((e=>(0,se.jsxs)(ct.MenuItem,{style:{placeContent:"space-between"},value:e.value||"_",children:[S.I18n.t(e.title),e.title2&&(0,se.jsx)("div",{children:e.title2})]},"key-"+e.value)))}),(0,se.jsx)(ct.FormHelperText,{children:S.I18n.t(n)})]})};vs.defaultProps={value:"",className:null,table:!1,customValue:!1};const fs=vs,Ss="style_modalWrapper__VUeGq",xs="style_modalDialog__MI8Ka";var ks=s(12539);const ws=e=>{let{open:t,onClose:s,children:i,titleButtonApply:o,titleButtonClose:n,onApply:r,className:l,textInput:c,defaultValue:d}=e,[u,p]=(0,a.useState)(d);return(0,se.jsxs)(ct.Dialog,{open:t,maxWidth:"md",disableEscapeKeyDown:!1,onClose:s,classes:{paper:xs},className:Ss,children:[(0,se.jsxs)(ct.DialogContent,{children:[c&&(0,se.jsx)(bs,{className:l,autoComplete:"off",fullWidth:!0,variant:"outlined",size:"medium",rows:10,multiline:!0,value:u,onChange:p,customValue:!0}),!c&&i]}),(0,se.jsxs)(ct.DialogActions,{children:[(0,se.jsx)(H.A,{onClick:()=>r(c?u:null),variant:"contained",color:"primary",children:ks.default.t(o)}),(0,se.jsx)(H.A,{color:"grey",onClick:s,variant:"contained",children:ks.default.t(n)})]})]})};ws.defaultProps={open:!1,onApply:()=>{},onClose:()=>{},titleButtonClose:"Cancel",titleButtonApply:"Ok"};const Cs=ws,js="style_root__AZ3ER",Is=e=>{let{multiple:t,value:s,customValue:i,title:o,attr:n,options:r,style:l,onChange:c,className:d,doNotTranslate:u,doNotTranslate2:p}=e;const[h,m]=(0,a.useState)(void 0===s?r[0].value:s),g=i?s:h,b=""===g||null===g||void 0===g?"_":g;return(0,se.jsxs)(ct.FormControl,{variant:"standard",className:S.Utils.clsx(js,d),fullWidth:!0,style:l,children:[(0,se.jsxs)(ct.Select,{variant:"standard",value:b,fullWidth:!0,multiple:t,renderValue:e=>{if(t&&e.join){e.sort();let t=e.indexOf("0");-1!==t&&(e.splice(t,1),e.push("0")),t=e.indexOf("_"),-1!==t&&(e.splice(t,1),e.unshift("_"));const s=r.find((e=>e.only));if(e.includes(s.value))return s.titleShort?u?s.titleShort:S.I18n.t(s.titleShort):u?s.title:S.I18n.t(s.title);return e.map((e=>r.find((t=>t.value===e||"_"===e&&""===t.value))||e)).map((e=>"object"===typeof e?e.titleShort?u?e.titleShort:S.I18n.t(e.titleShort):u?e.title:S.I18n.t(e.title):u?e:S.I18n.t(e))).join(", ")}{const t=r?r.find((t=>t.value===e||"_"===e&&""===t.value)):null;return null!==t&&void 0!==t&&t.title?u?null===t||void 0===t?void 0:t.title:S.I18n.t(null===t||void 0===t?void 0:t.title):e}},onChange:e=>{if(!i&&m(e.target.value),t){const t=r.find((e=>e.only));if(t){const s=t.value;if(e.target.value.length===r.length-1&&e.target.value.includes(s))return c(e.target.value.filter((e=>e!==s)),n);if(e.target.value.includes(s))return c(r.map((e=>e.value)),n)}}c(e.target.value,n)},input:n?(0,se.jsx)(ct.Input,{name:n,id:"".concat(n,"-helper")}):(0,se.jsx)(ct.Input,{name:n}),children:[!t&&r&&r.map((e=>(0,se.jsxs)(ct.MenuItem,{style:{placeContent:"space-between"},value:""===e.value||null===e.value||void 0===e.value?"_":e.value,children:[u?e.title:S.I18n.t(e.title),e.title2&&(0,se.jsx)("div",{children:p?e.title2:S.I18n.t(e.title2)})]},"key-".concat(e.value)))),t&&r&&r.map((e=>(0,se.jsxs)(ct.MenuItem,{style:{placeContent:"space-between"},value:e.value||"_",children:[u?e.title:S.I18n.t(e.title)," ",(0,se.jsx)(hs,{customValue:!0,value:s.includes(e.value)})]},"key-".concat(e.value))))]}),o?(0,se.jsx)(ct.FormHelperText,{children:S.I18n.t(o)}):null]})};Is.defaultProps={value:"",className:null,table:!1,customValue:!1,multiple:!1};const As=Is,Ts="style_root__BGOBc",Ds="style_mark__MLqoT",Ns=e=>{let{fullWidth:t,autoComplete:s,label:i,error:o,size:n,variant:r,value:l,type:c,style:d,onChange:u,className:p,customValue:h,min:m,max:g,step:b,unit:y}=e;const[v,f]=(0,a.useState)(0);m=void 0!==m?m:0,g=void 0!==g?g:0,b=void 0!==b?b:(g-m)/100;const x=[{value:m,label:m+(y||"")},{value:g,label:g+(y||"")}];return(0,se.jsx)(ct.Slider,{defaultValue:h?l:v,"aria-labelledby":"discrete-slider",valueLabelDisplay:"auto",classes:{mark:Ds},marks:x,step:b,min:m,max:g,error:o||"",label:i,variant:r,value:h?l:v,type:c,style:d,className:S.Utils.clsx(Ts,p),autoComplete:s,onChange:(e,t)=>{!h&&f(t),u(t)},margin:"normal",size:n})};Ns.defaultProps={value:"",type:"text",error:"",className:null,table:!1,native:{},variant:"standard",size:"medium",component:null,styleComponentBlock:null,onChange:()=>{},fullWidth:!1,autoComplete:"",customValue:!1};const Es=Ns,Os="style_root__anA9+",Rs=e=>{let{label:t,size:s,value:i,style:o,onChange:n,className:r,customValue:l}=e;const[c,d]=(0,a.useState)(!1);return(0,se.jsx)(ct.FormControlLabel,{className:Os,control:(0,se.jsx)(ct.Switch,{checked:l?i:c,style:o,className:r,onChange:e=>{l||d(e.target.checked),n(e.target.checked)},size:s}),label:t})};Rs.defaultProps={value:!1,type:"text",error:"",className:null,table:!1,native:{},variant:"standard",size:"medium",component:null,styleComponentBlock:null,onChange:()=>{},fullWidth:!1,autoComplete:"",customValue:!1,label:"all"};const _s=(0,a.memo)(Rs),Ms="style_root__xyxno",zs=e=>{let{value:t,style:s,onChange:a,className:i}=e;return(0,se.jsx)(ct.TextField,{variant:"standard",id:"time",type:"time",onChange:e=>a(e.currentTarget.value),value:t,className:S.Utils.clsx(Ms,i),fullWidth:!0,style:s,InputLabelProps:{shrink:!0},inputProps:{step:300}})};zs.defaultProps={value:"",className:null,table:!1};const Bs=zs,Ps="style_root__FwemI",Fs=[31,29,31,30,31,30,31,31,30,31,30,31],Ls=e=>{let{value:t,onChange:s,className:a,title:i,style:o}=e,[n,r]=(t||"01.01").toString().split(".");r=parseInt(r,10)||0,n=parseInt(n,10)||0,n>12?n=12:n<0&&(n=0),r>Fs[n]?r=Fs[n]:r<0&&(r=0);let l=[];for(let c=0;cs("".concat(e.target.value.toString().padStart(2,"0"),".").concat(r.toString().padStart(2,"0"))),value:n,children:[(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:0,children:S.I18n.t("Any month")},0),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:1,children:S.I18n.t("January")},1),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:2,children:S.I18n.t("February")},2),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:3,children:S.I18n.t("March")},3),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:4,children:S.I18n.t("April")},4),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:5,children:S.I18n.t("May")},5),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:6,children:S.I18n.t("June")},6),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:7,children:S.I18n.t("July")},7),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:8,children:S.I18n.t("August")},8),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:9,children:S.I18n.t("September")},9),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:10,children:S.I18n.t("October")},10),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:11,children:S.I18n.t("November")},11),(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:12,children:S.I18n.t("December")},12)]})}),(0,se.jsx)(ct.FormControl,{variant:"standard",className:S.Utils.clsx(Ps,a),style:o,children:(0,se.jsxs)(ct.Select,{variant:"standard",className:S.Utils.clsx(Ps,a),margin:"dense",label:S.I18n.t("Date"),onChange:e=>s("".concat(n.toString().padStart(2,"0"),".").concat(e.target.value.toString().padStart(2,"0"))),value:r,children:[(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:0,children:S.I18n.t("Any")},"A"),l.map((e=>(0,se.jsx)(ct.MenuItem,{style:{placeContent:"space-between"},value:e,children:e},e)))]})})]})};Ls.defaultProps={value:"",className:null};const Us=Ls;let Vs;const Ws={getName:e=>(Vs=Vs||S.I18n.getLanguage(),"object"===typeof e?e[Vs]||e.en:e)},Js=0,Hs=1,qs=2,Gs=3,Ys=4,Ks=5,Zs=6,Qs=7,Xs=8,$s=[{selector:".blocks-triggers",content:"Select triggers"},{selector:".block-TriggerScheduleBlock",content:"Double click to add the block"},{selector:".tag-card",content:"Open drop down menu"},{selector:".tag-card-interval",content:"Select interval"},{selector:".blocks-actions",content:"Select action blocks"},{selector:".block-ActionPrintText",content:"Double click to add the block"},{selector:".button-js-code",content:"Check the script"},{selector:".button-js-code",content:"Switch back to rules"},{selector:".button-save",content:"Save the script"}];class ea extends a.PureComponent{constructor(e,t){super(e),this.renderText=(e,t,s)=>{const{className:i}=this.props,{attr:o,frontText:n,backText:r,nameBlock:l,name:c,doNotTranslate:d,doNotTranslateBack:u}=e;return(0,se.jsxs)(a.Fragment,{children:[(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),children:[n&&(0,se.jsx)("div",{className:$t.frontText,children:d?n:S.I18n.t(n)}),(0,se.jsx)(bs,{className:i,autoComplete:"off",label:Ws.getName(c),variant:"outlined",size:"small",fullWidth:!0,value:t,onChange:s,customValue:!0}),r&&(0,se.jsx)("div",{className:$t.backText,children:u?r:S.I18n.t(r)})]}),l&&(0,se.jsx)("div",{className:$t.nameBlock,children:S.I18n.t(l)})]},o)},this.renderSwitch=(e,t,s)=>{const{className:a}=this.props,{attr:i,frontText:o,backText:n,nameBlock:r,doNotTranslate:l,doNotTranslateBack:c}=e;return(0,se.jsxs)("div",{children:[(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),children:[o&&(0,se.jsx)("div",{className:$t.frontText,children:l?o:S.I18n.t(o)}),(0,se.jsx)(_s,{className:a,label:"",customValue:!0,value:t,onChange:s}),n&&(0,se.jsx)("div",{className:$t.backText,children:c?n:S.I18n.t(n)})]}),r&&(0,se.jsx)("div",{className:$t.nameBlock,children:S.I18n.t(r)})]},i)},this.renderNameText=(e,t)=>{let{attr:s,signature:a,doNotTranslate:i,defaultValue:o}=e;return(0,se.jsx)("div",{className:S.Utils.clsx(a?$t.displayItalic:$t.displayFlex,$t.blockMarginTop),children:t?i?t:S.I18n.t(t):i?o:S.I18n.t(o)},s)},this.renderNumber=(e,t,s)=>{const{className:a}=this.props,{settings:i}=this.state,{attr:o,backText:n,frontText:r,openCheckbox:l,doNotTranslate:c,doNotTranslateBack:d}=e;let u=!0;return l&&(u="boolean"!==typeof i.offset||i.offset),u?(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),children:[r&&(0,se.jsx)("div",{className:$t.frontText,children:c?r:S.I18n.t(r)}),(0,se.jsx)(bs,{className:S.Utils.clsx(a,e.className),fullWidth:!0,autoComplete:"off",label:e.noHelperText?"":"number",variant:"outlined",size:"small",type:"number",value:t,onChange:s,customValue:!0}),n&&(0,se.jsx)("div",{className:$t.backText,children:d?n:S.I18n.t(n)})]},o):null},this.renderColor=(e,t,s)=>{const{className:a}=this.props,{attr:i,backText:o,frontText:n,doNotTranslate:r,doNotTranslateBack:l}=e;return(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),children:[n&&(0,se.jsx)("div",{className:$t.frontText,children:r?n:S.I18n.t(n)}),(0,se.jsx)(bs,{className:a,autoComplete:"off",fullWidth:!0,variant:"outlined",size:"small",type:"color",value:t,onChange:s}),o&&(0,se.jsx)("div",{className:$t.backText,children:l?o:S.I18n.t(o)})]},i)},this.renderCheckbox=(e,t,s)=>{const{className:a}=this.props,{settings:i}=this.state,{attr:o,backText:n,frontText:r,defaultValue:l,doNotTranslate:c,doNotTranslateBack:d}=e;return(0,se.jsxs)("div",{className:$t.displayFlex,children:[r&&(0,se.jsx)("div",{className:$t.frontText,children:c?r:S.I18n.t(r)}),(0,se.jsx)(hs,{className:a,size:"small",style:{marginRight:5},value:"boolean"===typeof i[o]?i[o]:l,customValue:!0,onChange:s}),n&&(0,se.jsx)("div",{onClick:()=>s("boolean"===typeof i[o]?!i[o]:!l),className:$t.backText,children:d?n:S.I18n.t(n)})]},o)},this.renderSlider=(e,t,s)=>{const{className:a}=this.props,{attr:i,frontText:o,backText:n,nameBlock:r,min:l,max:c,step:d,unit:u,doNotTranslate:p,doNotTranslateBack:h}=e;return(0,se.jsxs)("div",{children:[(0,se.jsxs)("div",{className:$t.displayFlex,style:{marginRight:20},children:[o&&(0,se.jsx)("div",{className:$t.frontText,children:p?o:S.I18n.t(o)}),(0,se.jsx)(Es,{customValue:!0,min:l,max:c,step:d,unit:u,className:a,autoComplete:"off",label:"number",variant:"outlined",size:"small",value:t,onChange:e=>{console.log(e),s(e)}}),n&&(0,se.jsx)("div",{style:{marginLeft:20},className:$t.backText,children:h?n:S.I18n.t(n)})]}),r&&(0,se.jsx)("div",{className:$t.nameBlock,children:S.I18n.t(r)})]},i)},this.renderButton=(e,t,s)=>{const{className:a}=this.props,{attr:i,frontText:o,backText:n,buttonText:r,doNotTranslate:l,doNotTranslateBack:c}=e;return(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),children:[o&&(0,se.jsx)("div",{className:$t.frontText,children:l?o:S.I18n.t(o)}),(0,se.jsx)(ds,{label:r,fullWidth:!0,value:t,className:a,onClick:s}),n&&(0,se.jsx)("div",{className:$t.backText,children:c?n:S.I18n.t(n)})]},i)},this.findIcon=e=>{var t;if(!e)return Promise.resolve(null);if(null!==(t=e.common)&&void 0!==t&&t.icon)return Promise.resolve((0,os.getSelectIdIcon)(e,"../.."));if("state"===e.type||"channel"===e.type){const t=e._id.split(".");t.pop();const s=t.join(".");return this.props.socket.getObject(s).then((e=>this.findIcon(e))).catch((()=>null))}},this.renderObjectID=(e,t,s)=>{const{attr:a,openCheckbox:i,checkReadOnly:o}=e,{settings:n}=this.state,r=this.state["showSelectId".concat(a)],{className:l,socket:c}=this.props;let d=!0;return i&&(d="boolean"!==typeof n.offset||n.offset),n[a]&&!this.state[n[a]]&&setTimeout((()=>{c.getObject(t).then((e=>{this.findIcon(e).then((t=>{var s;return this.setState({[n[a]]:e,["".concat(n[a],"___icon")]:t,error:o&&this.lastObjectIdChange&&Date.now()-this.lastObjectIdChange<1e3&&!1===(null===e||void 0===e||null===(s=e.common)||void 0===s?void 0:s.write)?S.I18n.t("Read only ID selected: %s",n[a]):""})}))}))}),0),d?(0,se.jsxs)("div",{className:$t.blockMarginTop,children:[(0,se.jsxs)("div",{className:$t.displayFlex,children:[e.title?(0,se.jsx)("div",{children:S.I18n.t(e.title)}):null,(0,se.jsx)(bs,{className:l,autoComplete:"off",fullWidth:!0,disabled:!0,variant:"outlined",size:"small",value:t,customValue:!0}),(0,se.jsx)(ds,{icon:this.state["".concat(this.state.settings[e.attr],"___icon")],square:!0,style:{marginLeft:7},value:"...",className:l,onClick:()=>{const e={};e["showSelectId".concat(a)]=!0,this.setState(e)}})]}),this.state[this.state.settings[e.attr]]&&(0,se.jsx)("div",{className:S.Utils.clsx($t.nameBlock,$t.displayItalic),children:S.Utils.getObjectNameFromObj(this.state[n[a]],S.I18n.getLanguage())}),r?(0,se.jsx)(ss(),{imagePrefix:"../..",dialogName:"javascript",themeType:S.Utils.getThemeName(),socket:c,statesOnly:!0,selected:t,onClose:()=>{const e={};e["showSelectId".concat(a)]=!1,this.setState(e)},onOk:(e,t,i)=>{const o={};o["showSelectId".concat(a)]=!1,this.setState(o,(()=>c.getObject(e).then((t=>{this.lastObjectIdChange=Date.now(),s({[a]:e,["".concat(a,"Role")]:t.common.role,["".concat(a,"Type")]:t.common.type,["".concat(a,"Unit")]:t.common.unit,["".concat(a,"States")]:t.common.states,["".concat(a,"Min")]:t.common.min,["".concat(a,"Max")]:t.common.max,["".concat(a,"Step")]:t.common.step,["".concat(a,"Def")]:t.common.def,["".concat(a,"Write")]:t.common.write,["".concat(a,"Read")]:t.common.read},null,(()=>this.props.setOnUpdate&&this.props.setOnUpdate(!0)))}))))}}):null]},a):null},this.renderIconTag=()=>(0,se.jsx)("div",{className:$t.iconTag,onClick:e=>{this.state.settings.tagCard&&(this.state.tagCardArray.length<3?this.onChangeTag():this.setState({openTagMenu:e.currentTarget}))},children:this.state.settings.tagCard}),this.renderTime=(e,t,s)=>{const{attr:a,backText:i,frontText:o,doNotTranslate:n,doNotTranslateBack:r}=e;return(0,se.jsxs)("div",{className:$t.displayFlex,style:{whiteSpace:"nowrap"},children:[o&&(0,se.jsx)("div",{className:$t.frontText,children:n?o:S.I18n.t(o)}),(0,se.jsx)(Bs,{value:t,onChange:s}),i&&(0,se.jsx)("div",{className:$t.backText,children:r?i:S.I18n.t(i)})]},a)},this.renderSelect=(e,t,s)=>{const{className:a}=this.props,{name:i,options:o,frontText:n,backText:r,attr:l,multiple:c,doNotTranslate:d,doNotTranslate2:u,doNotTranslateBack:p}=e;return(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),style:{whiteSpace:"nowrap"},children:[n&&(0,se.jsx)("div",{className:$t.frontText,children:S.I18n.t(n)}),(0,se.jsx)(As,{attr:l,doNotTranslate:d,doNotTranslate2:u,title:i,className:a,options:o,value:t,onChange:s,multiple:c,customValue:!0}),r&&(0,se.jsx)("div",{className:$t.backText,children:p?r:S.I18n.t(r)})]},l)},this.renderInstance=(e,t,s)=>{const{className:a,socket:i}=this.props,{name:o,options:n,frontText:r,backText:l,attr:c,adapter:d,doNotTranslate:u,doNotTranslateBack:p}=e;return this.state.hideAttributes.includes(c)?null:(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),style:{whiteSpace:"nowrap"},children:[r&&(0,se.jsx)("div",{className:$t.frontText,children:u?r:S.I18n.t(r)}),(0,se.jsx)(fs,{attr:c,socket:i,adapter:d,title:o,className:a,options:n,value:t,onChange:s,customValue:!0,onInstanceHide:e=>this.setState({hideAttributes:[...this.state.hideAttributes,c]},(()=>s(e)))}),l&&(0,se.jsx)("div",{className:$t.backText,children:p?l:S.I18n.t(l)})]},c)},this.renderDialog=(e,t,s)=>{const{onShowDialog:a,frontText:i,backText:o,attr:n,icon:r,doNotTranslate:l,doNotTranslateBack:c}=e;return(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),style:{whiteSpace:"nowrap"},children:[i&&(0,se.jsx)("div",{className:$t.frontText,children:l?i:S.I18n.t(i)}),(0,se.jsx)(Vt,{iconName:r,className:S.Utils.clsx($t.iconDialog),onClick:e=>a&&a()}),o&&(0,se.jsx)("div",{className:$t.backText,children:c?o:S.I18n.t(o)})]},n)},this.renderModalInput=(e,t,s)=>{const{openModal:a}=this.state,{className:i}=this.props,{attr:o,nameBlock:n,frontText:r,backText:l,noTextEdit:c,doNotTranslate:d,doNotTranslateBack:u}=e;return(0,se.jsxs)("div",{children:[(0,se.jsxs)("div",{className:S.Utils.clsx($t.displayFlex,$t.blockMarginTop),children:[r&&(0,se.jsx)("div",{className:$t.frontText,children:d?r:S.I18n.t(r)}),(0,se.jsx)(bs,{disabled:!!c,className:i,autoComplete:"off",fullWidth:!0,variant:"outlined",size:"small",value:t,onChange:s,customValue:!0}),(0,se.jsx)(ds,{square:!0,style:{marginLeft:5},value:"...",className:i,onClick:()=>this.setState({openModal:!0})}),l&&(0,se.jsx)("div",{className:$t.backText,children:u?l:S.I18n.t(l)})]}),a?(0,se.jsx)(Cs,{open:!0,onApply:e=>this.setState({openModal:!1},(()=>null!==e&&void 0!==e&&s(e))),onClose:()=>this.setState({openModal:!1}),defaultValue:t,textInput:!0}):null,n&&(0,se.jsx)("div",{className:$t.nameBlock,children:S.I18n.t(n)})]},o)},this.renderDate=(e,t,s)=>{const{attr:a,backText:i,frontText:o,doNotTranslate:n,doNotTranslateBack:r}=e;return(0,se.jsxs)("div",{className:$t.displayFlex,style:{whiteSpace:"nowrap"},children:[o&&(0,se.jsx)("div",{className:$t.frontText,children:n?o:S.I18n.t(o)}),(0,se.jsx)(Us,{value:t,onChange:s}),i&&(0,se.jsx)("div",{className:$t.backText,children:r?i:S.I18n.t(i)})]},a)},this.renderTags=()=>{let{tagCardArray:e,openTagMenu:t}=this.state,{tagCard:s}=this.state.settings,a="="!==s&&"<>"!==s&&">="!==s&&"()"!==s&&"."!==s&&"<="!==s&&"<"!==s&&">"!==s?S.I18n.t(s):s;return e.length>=3&&(a=(0,se.jsxs)("div",{children:[(0,se.jsx)("div",{"aria-controls":"simple-menu","aria-haspopup":"true",onClick:e=>{this.setState({openTagMenu:e.currentTarget},(()=>{this.props.isTourOpen&&this.props.tourStep===qs&&setTimeout((()=>this.props.setTourStep(Gs)),300)}))},children:a}),(0,se.jsx)(ct.Menu,{id:"simple-menu",anchorEl:t,keepMounted:!0,open:Boolean(t),onClose:()=>this.setState({openTagMenu:null}),children:e.map((e=>{let t=e;return"string"!==typeof e&&(t=e.title),(0,se.jsxs)(ct.MenuItem,{selected:t===s,className:"tag-card-"+t,style:{placeContent:"space-between"},onClick:()=>{const e={...this.state.settings,tagCard:t};this.setState({openTagMenu:null,settings:e},(()=>{this.props.onChange(e),this.onTagChange(t)})),this.props.isTourOpen&&(this.props.tourStep===qs||this.props.tourStep===Gs)&&"interval"===t&&setTimeout((()=>this.props.setTourStep(Ys)),500)},children:[-1!==t.search(/>|<|<>|<=|>=|=/)?t:S.I18n.t(t),"string"!==typeof e&&e.title2&&(0,se.jsx)("div",{style:{marginLeft:4},children:S.I18n.t(e.title2)})]},t)}))})]})),a},this.onChangeTag=()=>{const{tagCardArray:e,settings:t,settings:{tagCard:s}}=this.state;let a=[...e];if("string"!==typeof a[0]&&(a=a.map((e=>e.title))),s&&a.length<3){const e={...t},i=a[(a.indexOf(s)+1)%a.length];e.tagCard=i,this.setState({settings:e},(()=>{this.props.onChange(e),this.onTagChange(i)}))}},this.componentDidMount=()=>{this.onTagChange()},this.componentDidUpdate=e=>{"triggers"!==this.props.acceptedBy&&this.props.onUpdate&&setTimeout((()=>this.onUpdate()),0)},this.onChangeInput=e=>(t,s,a)=>{const i=JSON.parse(JSON.stringify(this.state.settings));"object"!==typeof t||s&&"function"!==typeof s?i[s||e]=t:Object.keys(t).forEach((e=>i[e]=t[e])),i.id=this.getData().id,i._id=this.props._id,this.setState({settings:i},(()=>{this.onValueChanged(t,s||e),this.props.onChange(i),a&&a()}))},this.render=()=>{const{inputs:e,name:t,icon:s,iconTag:i,settings:o,adapter:n,settings:{tagCard:r},helpDialog:l}=this.state,{socket:c,notFound:d}=this.props;return(0,se.jsxs)(a.Fragment,{children:[i?this.renderIconTag():(0,se.jsx)(Vt,{iconName:s,className:S.Utils.clsx($t.iconThemCard,r&&this.state.tagCardArray.length&&$t.iconThemCardSelectable),adapter:n,socket:c,onClick:e=>{r&&(this.state.tagCardArray.length<3?this.onChangeTag():this.setState({openTagMenu:e.currentTarget}))}}),(0,se.jsxs)("div",{className:$t.blockName,children:[(0,se.jsxs)("span",{className:$t.nameCard,children:[S.I18n.t(t),d?S.I18n.t("%s not found",o.id):"",l?(0,se.jsx)(D.A,{className:$t.iconHelp,size:"small",onClick:()=>this.setState({helpText:S.I18n.t(l)}),children:(0,se.jsx)(es.A,{})}):null]}),e.filter((e=>{let{nameRender:t}=e;return this[t]})).map((e=>{const{nameRender:t,defaultValue:s,attr:a,options:i}=e;return this[t](e,void 0!==o[a]?o[a]:s,this.onChangeInput(a),i||[])}))]}),r&&(0,se.jsx)("div",{className:$t.controlMenuTop,style:{opacity:1,height:22,top:-22},children:(0,se.jsx)("div",{onClick:()=>this.onChangeTag(),className:S.Utils.clsx($t.tagCard,"tag-card"),children:this.renderTags()})}),this.renderDebugInfo(),this.state.error?(0,se.jsx)(is(),{title:S.I18n.t("Warning"),text:this.state.error,onClose:()=>this.setState({error:""})}):null,this.state.helpText?(0,se.jsx)(y(),{title:S.I18n.t("Instructions"),text:this.state.helpText,onClose:()=>this.setState({helpText:""})}):null,this.renderSpecific()]})},t=t||{};let s=e.settings||{tagCard:t.tagCardArray?"string"!==typeof t.tagCardArray[0]?t.tagCardArray[0].title:t.tagCardArray[0]:""};!s.tagCard&&t.tagCardArray&&(s.tagCard="string"!==typeof t.tagCardArray[0]?t.tagCardArray[0].title:t.tagCardArray[0]),this.state={inputs:t.inputs||e.inputs||[],name:t.name||e.name||"",icon:t.icon||e.icon||"",adapter:t.adapter||e.adapter||"",helpDialog:t.helpDialog||e.helpDialog||"",tagCardArray:t.tagCardArray||[],openTagMenu:!1,openModal:!1,iconTag:!1,error:"",helpText:"",oid:{},instanceSelectionOptions:[],instanceSelectionDef:"",hideAttributes:[],settings:s,debugMessage:null,enableSimulation:this.props.enableSimulation},this.debugHideTimeout=null}UNSAFE_componentWillReceiveProps(e){if(!e||!e.settings)return void console.log(JSON.stringify(e));const t=JSON.parse(JSON.stringify(e.settings));!t.tagCard&&this.state.tagCardArray&&this.state.tagCardArray.length&&(t.tagCard="string"!==typeof this.state.tagCardArray[0]?this.state.tagCardArray[0].title:this.state.tagCardArray[0]);let s=null;e.onDebugMessage&&e.onDebugMessage.blockId===this.props._id&&(s={},s.debugMessage=JSON.parse(JSON.stringify(e.onDebugMessage)),this.debugHideTimeout&&clearTimeout(this.debugHideTimeout),this.debugHideTimeout=setTimeout((()=>this.setState({debugMessage:null})),e.onDebugMessage.hideTimeout||5e3)),JSON.stringify(t)!==JSON.stringify(this.state.settings)&&(s=s||{},s.settings=t),this.state.enableSimulation!==e.enableSimulation&&(s=s||{},s.enableSimulation=e.enableSimulation),s&&this.setState(s)}componentWillUnmount(){this.debugHideTimeout&&clearTimeout(this.debugHideTimeout),this.debugHideTimeout=null}onTagChange(e,t){let s=!1,a=JSON.parse(JSON.stringify(this.state.settings));this.state.inputs.forEach((e=>{e.attr&&void 0!==e.defaultValue&&void 0===a[e.attr]&&(s=!0,a[e.attr]=e.defaultValue)})),s?(this.setState({settings:a},(()=>t&&t())),this.props.onChange(a)):t&&t()}onUpdate(){}onValueChanged(e,t){}static getReplacesInText(e){var t;let s="";return null!==(t=e.trigger)&&void 0!==t&&t.oidType?s=".replace(/%s/g, obj.state.val).replace(/%id/g, obj.id).replace(/%name/g, obj.common && obj.common.name).replace(/%old/g, obj.oldState.val)":e.conditionsStates.length&&(s=".replace(/%s/g, ".concat(e.conditionsStates[0].name,').replace(/%id/g, "').concat(e.conditionsStates[0].id,'")')),s}renderSpecific(){return null}renderDebugInfo(){return this.state.debugMessage?(0,se.jsx)("div",{className:$t.debugInfo,style:{opacity:1,height:22,bottom:-22},children:this.renderDebug?this.renderDebug(this.state.debugMessage):S.I18n.t("executed")},this.state.debugMessage.ts):null}}const ta=ea,sa={en:{name:"Google - English",engine:"google",params:[]},de:{name:"Google - Deutsch",engine:"google",params:[]},ru:{name:"Google - \u0420\u0443\u0441\u0441\u043a\u0438\u0439",engine:"google",params:[]},it:{name:"Google - Italiano",engine:"google",params:[]},es:{name:"Google - Espaniol",engine:"google",params:[]},fr:{name:"Google - Fran\xe7ais",engine:"google",params:[]},ru_YA:{name:"Yandex - \u0420\u0443\u0441\u0441\u043a\u0438\u0439",engine:"yandex",params:["key","voice","emotion","ill","drunk","robot"],voice:["jane","zahar"],emotion:["none","good","neutral","evil","mixed"]},ru_YA_CLOUD:{name:"Yandex Cloud - \u0420\u0443\u0441\u0441\u043a\u0438\u0439",engine:"yandexCloud",params:["key","folderID","voice","emotion"],voice:["alyss","oksana","jane","zahar"],emotion:["good","neutral","evil"]},"en-US":{name:"PicoTTS - Englisch US",engine:"PicoTTS",params:[]},"en-GB":{name:"PicoTTS - Englisch GB",engine:"PicoTTS",params:[]},"de-DE":{name:"PicoTTS - Deutsch",engine:"PicoTTS",params:[]},"it-IT":{name:"PicoTTS - Italiano",engine:"PicoTTS",params:[]},"es-ES":{name:"PicoTTS - Espaniol",engine:"PicoTTS",params:[]},"fr-FR":{name:"PicoTTS - Fran\xe7ais",engine:"PicoTTS",params:[]},"ru-RU_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"ru-RU",ename:"Tatyana",ssml:!0,name:"Cloud - \u0420\u0443\u0441\u0441\u043a\u0438\u0439 - \u0422\u0430\u0442\u044c\u044f\u043d\u0430"},"ru-RU_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"ru-RU",ename:"Maxim",ssml:!0,name:"Cloud - \u0420\u0443\u0441\u0441\u043a\u0438\u0439 - \u041c\u0430\u043a\u0441\u0438\u043c"},"de-DE_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"de-DE",ename:"Marlene",ssml:!0,name:"Cloud - Deutsch - Marlene"},"de-DE_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"de-DE",ename:"Hans",ssml:!0,name:"Cloud - Deutsch - Hans"},"en-US_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-US",ename:"Salli",ssml:!0,name:"Cloud - en-US - Female - Salli"},"en-US_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"en-US",ename:"Joey",ssml:!0,name:"Cloud - en-US - Male - Joey"},"da-DK_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"da-DK",ename:"Naja",ssml:!0,name:"Cloud - da-DK - Female - Naja"},"da-DK_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"da-DK",ename:"Mads",ssml:!0,name:"Cloud - da-DK - Male - Mads"},"en-AU_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-AU",ename:"Nicole",ssml:!0,name:"Cloud - en-AU - Female - Nicole"},"en-AU_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"en-AU",ename:"Russell",ssml:!0,name:"Cloud - en-AU - Male - Russell"},"en-GB_CLOUD_Female_Amy":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-GB",ename:"Amy",ssml:!0,name:"Cloud - en-GB - Female - Amy"},"en-GB_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"en-GB",ename:"Brian",ssml:!0,name:"Cloud - en-GB - Male - Brian"},"en-GB_CLOUD_Female_Emma":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-GB",ename:"Emma",ssml:!0,name:"Cloud - en-GB - Female - Emma"},"en-GB-WLS_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-GB-WLS",ename:"Gwyneth",ssml:!0,name:"Cloud - en-GB-WLS - Female - Gwyneth"},"en-GB-WLS_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"en-GB-WLS",ename:"Geraint",ssml:!0,name:"Cloud - en-GB-WLS - Male - Geraint"},"cy-GB_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"cy-GB",ename:"Gwyneth",ssml:!0,name:"Cloud - cy-GB - Female - Gwyneth"},"cy-GB_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"cy-GB",ename:"Geraint",ssml:!0,name:"Cloud - cy-GB - Male - Geraint"},"en-IN_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-IN",ename:"Raveena",ssml:!0,name:"Cloud - en-IN - Female - Raveena"},"en-US_CLOUD_Male_Chipmunk":{gender:"Male",engine:"cloud",params:["cloud"],language:"en-US",ename:"Chipmunk",ssml:!0,name:"Cloud - en-US - Male - Chipmunk"},"en-US_CLOUD_Male_Eric":{gender:"Male",engine:"cloud",params:["cloud"],language:"en-US",ename:"Eric",ssml:!0,name:"Cloud - en-US - Male - Eric"},"en-US_CLOUD_Female_Ivy":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-US",ename:"Ivy",ssml:!0,name:"Cloud - en-US - Female - Ivy"},"en-US_CLOUD_Female_Jennifer":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-US",ename:"Jennifer",ssml:!0,name:"Cloud - en-US - Female - Jennifer"},"en-US_CLOUD_Male_Justin":{gender:"Male",engine:"cloud",params:["cloud"],language:"en-US",ename:"Justin",ssml:!0,name:"Cloud - en-US - Male - Justin"},"en-US_CLOUD_Female_Kendra":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-US",ename:"Kendra",ssml:!0,name:"Cloud - en-US - Female - Kendra"},"en-US_CLOUD_Female_Kimberly":{gender:"Female",engine:"cloud",params:["cloud"],language:"en-US",ename:"Kimberly",ssml:!0,name:"Cloud - en-US - Female - Kimberly"},"es-ES_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"es-ES",ename:"Conchita",ssml:!0,name:"Cloud - es-ES - Female - Conchita"},"es-ES_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"es-ES",ename:"Enrique",ssml:!0,name:"Cloud - es-ES - Male - Enrique"},"es-US_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"es-US",ename:"Penelope",ssml:!0,name:"Cloud - es-US - Female - Penelope"},"es-US_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"es-US",ename:"Miguel",ssml:!0,name:"Cloud - es-US - Male - Miguel"},"fr-CA_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"fr-CA",ename:"Chantal",ssml:!0,name:"Cloud - fr-CA - Female - Chantal"},"fr-FR_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"fr-FR",ename:"Celine",ssml:!0,name:"Cloud - fr-FR - Female - Celine"},"fr-FR_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"fr-FR",ename:"Mathieu",ssml:!0,name:"Cloud - fr-FR - Male - Mathieu"},"is-IS_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"is-IS",ename:"Dora",ssml:!0,name:"Cloud - is-IS - Female - Dora"},"is-IS_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"is-IS",ename:"Karl",ssml:!0,name:"Cloud - is-IS - Male - Karl"},"it-IT_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"it-IT",ename:"Carla",ssml:!0,name:"Cloud - it-IT - Female - Carla"},"it-IT_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"it-IT",ename:"Giorgio",ssml:!0,name:"Cloud - it-IT - Male - Giorgio"},"nb-NO_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"nb-NO",ename:"Liv",ssml:!0,name:"Cloud - nb-NO - Female - Liv"},"nl-NL_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"nl-NL",ename:"Lotte",ssml:!0,name:"Cloud - nl-NL - Female - Lotte"},"nl-NL_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"nl-NL",ename:"Ruben",ssml:!0,name:"Cloud - nl-NL - Male - Ruben"},"pl-PL_CLOUD_Female_Agnieszka":{gender:"Female",engine:"cloud",params:["cloud"],language:"pl-PL",ename:"Agnieszka",ssml:!0,name:"Cloud - pl-PL - Female - Agnieszka"},"pl-PL_CLOUD_Male_Jacek":{gender:"Male",engine:"cloud",params:["cloud"],language:"pl-PL",ename:"Jacek",ssml:!0,name:"Cloud - pl-PL - Male - Jacek"},"pl-PL_CLOUD_Female_Ewa":{gender:"Female",engine:"cloud",params:["cloud"],language:"pl-PL",ename:"Ewa",ssml:!0,name:"Cloud - pl-PL - Female - Ewa"},"pl-PL_CLOUD_Male_Jan":{gender:"Male",engine:"cloud",params:["cloud"],language:"pl-PL",ename:"Jan",ssml:!0,name:"Cloud - pl-PL - Male - Jan"},"pl-PL_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"pl-PL",ename:"Maja",ssml:!0,name:"Cloud - pl-PL - Female - Maja"},"pt-BR_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"pt-BR",ename:"Vitoria",ssml:!0,name:"Cloud - pt-BR - Female - Vitoria"},"pt-BR_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"pt-BR",ename:"Ricardo",ssml:!0,name:"Cloud - pt-BR - Male - Ricardo"},"pt-PT_CLOUD_Male":{gender:"Male",engine:"cloud",params:["cloud"],language:"pt-PT",ename:"Cristiano",ssml:!0,name:"Cloud - pt-PT - Male - Cristiano"},"pt-PT_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"pt-PT",ename:"Ines",ssml:!0,name:"Cloud - pt-PT - Female - Ines"},"ro-RO_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"ro-RO",ename:"Carmen",ssml:!0,name:"Cloud - ro-RO - Female - Carmen"},"sv-SE_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"sv-SE",ename:"Astrid",ssml:!0,name:"Cloud - sv-SE - Female - Astrid"},"tr-TR_CLOUD_Female":{gender:"Female",engine:"cloud",params:["cloud"],language:"tr-TR",ename:"Filiz",ssml:!0,name:"Cloud - tr-TR - Female - Filiz"},"ru-RU_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"ru-RU",ename:"Tatyana",ssml:!0,name:"AWS Polly - \u0420\u0443\u0441\u0441\u043a\u0438\u0439 - \u0422\u0430\u0442\u044c\u044f\u043d\u0430"},"ru-RU_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"ru-RU",ename:"Maxim",ssml:!0,name:"AWS Polly - \u0420\u0443\u0441\u0441\u043a\u0438\u0439 - \u041c\u0430\u043a\u0441\u0438\u043c"},"de-DE_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"de-DE",ename:"Marlene",ssml:!0,name:"AWS Polly - Deutsch - Marlene"},"de-DE_AP_Female_Vicky":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"de-DE",ename:"Vicky",ssml:!0,name:"AWS Polly - Deutsch - Vicky"},"de-DE_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"de-DE",ename:"Hans",ssml:!0,name:"AWS Polly - Deutsch - Hans"},"en-US_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Salli",ssml:!0,name:"AWS Polly - en-US - Female - Salli"},"en-US_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Joey",ssml:!0,name:"AWS Polly - en-US - Male - Joey"},"da-DK_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"da-DK",ename:"Naja",ssml:!0,name:"AWS Polly - da-DK - Female - Naja"},"da-DK_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"da-DK",ename:"Mads",ssml:!0,name:"AWS Polly - da-DK - Male - Mads"},"en-AU_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-AU",ename:"Nicole",ssml:!0,name:"AWS Polly - en-AU - Female - Nicole"},"en-AU_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"en-AU",ename:"Russell",ssml:!0,name:"AWS Polly - en-AU - Male - Russell"},"en-GB_AP_Female_Amy":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-GB",ename:"Amy",ssml:!0,name:"AWS Polly - en-GB - Female - Amy"},"en-GB_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"en-GB",ename:"Brian",ssml:!0,name:"AWS Polly - en-GB - Male - Brian"},"en-GB_AP_Female_Emma":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-GB",ename:"Emma",ssml:!0,name:"AWS Polly - en-GB - Female - Emma"},"en-GB-WLS_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-GB-WLS",ename:"Gwyneth",ssml:!0,name:"AWS Polly - en-GB-WLS - Female - Gwyneth"},"en-GB-WLS_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"en-GB-WLS",ename:"Geraint",ssml:!0,name:"AWS Polly - en-GB-WLS - Male - Geraint"},"cy-GB_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"cy-GB",ename:"Gwyneth",ssml:!0,name:"AWS Polly - cy-GB - Female - Gwyneth"},"cy-GB_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"cy-GB",ename:"Geraint",ssml:!0,name:"AWS Polly - cy-GB - Male - Geraint"},"en-IN_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-IN",ename:"Raveena",ssml:!0,name:"AWS Polly - en-IN - Female - Raveena"},"en-US_AP_Male_Chipmunk":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Chipmunk",ssml:!0,name:"AWS Polly - en-US - Male - Chipmunk"},"en-US_AP_Male_Eric":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Eric",ssml:!0,name:"AWS Polly - en-US - Male - Eric"},"en-US_AP_Female_Ivy":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Ivy",ssml:!0,name:"AWS Polly - en-US - Female - Ivy"},"en-US_AP_Female_Jennifer":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Jennifer",ssml:!0,name:"AWS Polly - en-US - Female - Jennifer"},"en-US_AP_Male_Justin":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Justin",ssml:!0,name:"AWS Polly - en-US - Male - Justin"},"en-US_AP_Female_Kendra":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Kendra",ssml:!0,name:"AWS Polly - en-US - Female - Kendra"},"en-US_AP_Female_Kimberly":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"en-US",ename:"Kimberly",ssml:!0,name:"AWS Polly - en-US - Female - Kimberly"},"es-ES_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"es-ES",ename:"Conchita",ssml:!0,name:"AWS Polly - es-ES - Female - Conchita"},"es-ES_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"es-ES",ename:"Enrique",ssml:!0,name:"AWS Polly - es-ES - Male - Enrique"},"es-US_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"es-US",ename:"Penelope",ssml:!0,name:"AWS Polly - es-US - Female - Penelope"},"es-US_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"es-US",ename:"Miguel",ssml:!0,name:"AWS Polly - es-US - Male - Miguel"},"fr-CA_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"fr-CA",ename:"Chantal",ssml:!0,name:"AWS Polly - fr-CA - Female - Chantal"},"fr-FR_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"fr-FR",ename:"Celine",ssml:!0,name:"AWS Polly - fr-FR - Female - Celine"},"fr-FR_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"fr-FR",ename:"Mathieu",ssml:!0,name:"AWS Polly - fr-FR - Male - Mathieu"},"is-IS_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"is-IS",ename:"Dora",ssml:!0,name:"AWS Polly - is-IS - Female - Dora"},"is-IS_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"is-IS",ename:"Karl",ssml:!0,name:"AWS Polly - is-IS - Male - Karl"},"it-IT_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"it-IT",ename:"Carla",ssml:!0,name:"AWS Polly - it-IT - Female - Carla"},"it-IT_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"it-IT",ename:"Giorgio",ssml:!0,name:"AWS Polly - it-IT - Male - Giorgio"},"nb-NO_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"nb-NO",ename:"Liv",ssml:!0,name:"AWS Polly - nb-NO - Female - Liv"},"nl-NL_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"nl-NL",ename:"Lotte",ssml:!0,name:"AWS Polly - nl-NL - Female - Lotte"},"nl-NL_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"nl-NL",ename:"Ruben",ssml:!0,name:"AWS Polly - nl-NL - Male - Ruben"},"pl-PL_AP_Female_Agnieszka":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"pl-PL",ename:"Agnieszka",ssml:!0,name:"AWS Polly - pl-PL - Female - Agnieszka"},"pl-PL_AP_Male_Jacek":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"pl-PL",ename:"Jacek",ssml:!0,name:"AWS Polly - pl-PL - Male - Jacek"},"pl-PL_AP_Female_Ewa":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"pl-PL",ename:"Ewa",ssml:!0,name:"AWS Polly - pl-PL - Female - Ewa"},"pl-PL_AP_Male_Jan":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"pl-PL",ename:"Jan",ssml:!0,name:"AWS Polly - pl-PL - Male - Jan"},"pl-PL_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"pl-PL",ename:"Maja",ssml:!0,name:"AWS Polly - pl-PL - Female - Maja"},"pt-BR_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"pt-BR",ename:"Vitoria",ssml:!0,name:"AWS Polly - pt-BR - Female - Vitoria"},"pt-BR_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"pt-BR",ename:"Ricardo",ssml:!0,name:"AWS Polly - pt-BR - Male - Ricardo"},"pt-PT_AP_Male":{gender:"Male",engine:"polly",params:["accessKey","secretKey","region"],language:"pt-PT",ename:"Cristiano",ssml:!0,name:"AWS Polly - pt-PT - Male - Cristiano"},"pt-PT_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"pt-PT",ename:"Ines",ssml:!0,name:"AWS Polly - pt-PT - Female - Ines"},"ro-RO_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"ro-RO",ename:"Carmen",ssml:!0,name:"AWS Polly - ro-RO - Female - Carmen"},"sv-SE_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"sv-SE",ename:"Astrid",ssml:!0,name:"AWS Polly - sv-SE - Female - Astrid"},"tr-TR_AP_Female":{gender:"Female",engine:"polly",params:["accessKey","secretKey","region"],language:"tr-TR",ename:"Filiz",ssml:!0,name:"AWS Polly - tr-TR - Female - Filiz"}};class aa extends ta{constructor(e){super(e,aa.getStaticData())}static compile(e,t){return e.text?"// Sayit ".concat(e.text||"","\n\t\tconst subActionVar").concat(e._id,' = "').concat(e.language&&"_"!==e.language?"".concat(e.language,";"):"").concat(e.volume?"".concat(e.volume,";"):"").concat((e.text||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {text: subActionVar").concat(e._id,'});\n\t\tawait setStateAsync("').concat(e.instance,'.tts.text", subActionVar').concat(e._id,");"):"// no text defined\n_sendToFrontEnd(".concat(e._id,", {text: 'No text defined'});")}renderDebug(e){return"".concat(S.I18n.t("Say:")," ").concat(e.data.text)}onTagChange(e){const t=S.I18n.getLanguage(),s=Object.keys(sa).filter((e=>e.startsWith(t))).map((e=>({title:sa[e].name,value:e})));s.unshift({title:"Default",value:"_"}),this.setState({inputs:[{attr:"instance",nameRender:"renderInstance",adapter:"sayit",defaultValue:"sayit.0",frontText:"Instance:"},{nameRender:"renderSelect",frontText:"Language:",options:s,defaultValue:"_",attr:"language"},{nameRender:"renderNameText",defaultValue:"Volume",attr:"textVol"},{nameRender:"renderSlider",attr:"volume",defaultValue:100,min:0,max:100},{attr:"text",nameRender:"renderModalInput",defaultValue:"Hallo",nameBlock:"",frontText:"Text:"}]},(()=>super.onTagChange(e)))}static getStaticData(){return{acceptedBy:"actions",name:"Say It",id:"ActionSayText",adapter:"sayit",title:"Say some text via sayit adapter",helpDialog:"You can use %s in the text to display current trigger value or %id to display the triggered object ID"}}getData(){return aa.getStaticData()}}const ia=aa;class oa extends ta{constructor(e){super(e,oa.getStaticData())}static compile(e,t){return e.recipients?"// Send Email ".concat(e.text||"","\n\t\tconst subActionVar").concat(e._id,' = "').concat((e.text||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {text: subActionVar").concat(e._id,'});\n\t\tsendTo("').concat(e.instance||"email.0",'", {\n\t\t to: "').concat(e.recipients||"",'",\n\t\t subject: "').concat((e.subject||"ioBroker").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),",\n\t\t text: subActionVar").concat(e._id,"\n\t\t});"):"// no recipients defined'\n_sendToFrontEnd(".concat(e._id,", {text: 'No recipients defined'});")}renderDebug(e){return"".concat(S.I18n.t("Sent:")," ").concat(e.data.text)}onTagChange(e){this.setState({inputs:[{attr:"instance",nameRender:"renderInstance",defaultValue:"email.0",frontText:"Instance:",adapter:"email"},{attr:"recipients",nameRender:"renderText",defaultValue:"user@mail.ru",frontText:"To:"},{attr:"subject",nameRender:"renderText",defaultValue:"Email from iobroker",nameBlock:"",frontText:"Subject:"},{attr:"text",nameRender:"renderModalInput",defaultValue:"Email from iobroker",nameBlock:"",frontText:"Body:"}]},(()=>super.onTagChange(e)))}static getStaticData(){return{acceptedBy:"actions",name:"Send email",id:"ActionSendEmail",adapter:"email",title:"Sends an email",helpDialog:"You can use %s in the text to display current trigger value or %id to display the triggered object ID"}}getData(){return oa.getStaticData()}}const na=oa;class ra extends ta{constructor(e){super(e,ra.getStaticData()),this.cachePromises={}}static compile(e,t){let s=(e.text||"").replace(/"/g,'\\"');return s?"// Telegram ".concat(s||"","\n\t\tconst subActionVar").concat(e._id,' = "').concat((s||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {text: subActionVar").concat(e._id,'});\n\t\tsendTo("').concat(e.instance,'", "send", ').concat(e.user&&"_"!==e.user?'{user: "'.concat((e.user||"").replace(/"/g,'\\"'),'", text: subActionVar').concat(e._id,"}"):"subActionVar".concat(e._id),");"):"// no text defined\n_sendToFrontEnd(".concat(e._id,", {text: 'No text defined'});")}renderDebug(e){return"".concat(S.I18n.t("Sent:")," ").concat(e.data.text)}onValueChanged(e,t){"instance"===t&&this._setUsers(e)}_setUsers(e){if(e=e||this.state.settings.instance||"telegram.0",this.cachePromises[e]=this.cachePromises[e]||this.props.socket.getState("".concat(e,".communicate.users")),!this.state.settings._id)return this.setState({inputs:[{nameRender:"renderSelect",adapter:"telegram",frontText:"Instance:",defaultValue:"telegram.0",attr:"instance"},{nameRender:"renderSelect",attr:"user",options:[{title:"telegram.0",value:"telegram.0"}],defaultValue:"",frontText:"User:"},{nameRender:"renderModalInput",attr:"text",defaultValue:"Hallo",nameBlock:"",frontText:"Text:"}]},(()=>super.onTagChange()));this.cachePromises[e].then((e=>{try{var t;(e=(e=(e=null!==(t=e)&&void 0!==t&&t.val?JSON.parse(e.val):null)&&Object.keys(e).map((t=>({title:e[t].userName||e[t].firstName,value:t}))))||[]).unshift({title:"all",value:""})}catch(s){e=[{title:"all",value:""}]}this.setState({inputs:[{nameRender:"renderInstance",adapter:"telegram",frontText:"Instance:",defaultValue:"telegram.0",attr:"instance"},{nameRender:"renderSelect",attr:"user",options:e,defaultValue:"_",frontText:"User:"},{nameRender:"renderModalInput",attr:"text",defaultValue:"Hallo",nameBlock:"",frontText:"Text:"}]},(()=>super.onTagChange()))}))}onTagChange(e){this._setUsers()}static getStaticData(){return{acceptedBy:"actions",name:"Telegram",id:"ActionTelegram",adapter:"telegram",title:"Sends message via telegram",helpDialog:"You can use %s in the text to display current trigger value or %id to display the triggered object ID"}}getData(){return ra.getStaticData()}}const la=ra;class ca extends ta{constructor(e){super(e,ca.getStaticData()),this.cachePromises={}}static compile(e,t){let s=(e.text||"").replace(/"/g,'\\"');return s?"// Pushover ".concat(e.text||"","\n\t\tconst subActionVar").concat(e._id,' = "').concat(s,'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {text: subActionVar").concat(e._id,'}); \n\t\tsendTo("').concat(e.instance,'", "send", {\n\t\t message: subActionVar').concat(e._id,',\n\t\t title: "').concat((e.title||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),',\n\t\t sound: "').concat(e.sound,'",\n\t\t priority: ').concat(e.priority,"\n\t\t});"):"// no text defined\n_sendToFrontEnd(".concat(e._id,", {text: 'No text defined'});")}renderDebug(e){return"Sent: ".concat(e.data.text)}onTagChange(e){this.setState({inputs:[{nameRender:"renderInstance",adapter:"pushover",frontText:"Instance:",defaultValue:"pushover.0",attr:"instance"},{nameRender:"renderModalInput",attr:"text",defaultValue:"Hello",nameBlock:"",frontText:"Text:"},{nameRender:"renderText",attr:"title",defaultValue:"ioBroker",frontText:"Title:"},{nameRender:"renderSelect",attr:"sound",defaultValue:"magic",frontText:"Sound:",doNotTranslate:!0,options:[{value:"pushover",title:"pushover"},{value:"bike",title:"bike"},{value:"bugle",title:"bugle"},{value:"cashregister",title:"cashregister"},{value:"classical",title:"classical"},{value:"cosmic",title:"cosmic"},{value:"falling",title:"falling"},{value:"gamelan",title:"gamelan"},{value:"incoming",title:"incoming"},{value:"intermission",title:"intermission"},{value:"magic",title:"magic"},{value:"mechanical",title:"mechanical"},{value:"pianobar",title:"pianobar"},{value:"siren",title:"siren"},{value:"spacealarm",title:"spacealarm"},{value:"tugboat",title:"tugboat"},{value:"alien",title:"alien"},{value:"climb",title:"climb"},{value:"persistent",title:"persistent"},{value:"echo",title:"echo"},{value:"updown",title:"updown"},{value:"none",title:"none"}]},{nameRender:"renderSelect",attr:"priority",defaultValue:-1,frontText:"Priority:",options:[{value:-1,title:"quiet"},{value:0,title:"normal"},{value:1,title:"high-priority"},{value:2,title:"acknowledgment"}]}]},(()=>super.onTagChange()))}static getStaticData(){return{acceptedBy:"actions",name:"Pushover",id:"ActionPushover",adapter:"pushover",title:"Sends message via pushover",helpDialog:"You can use %s in the text to display current trigger value or %id to display the triggered object ID"}}getData(){return ca.getStaticData()}}const da=ca;class ua extends ta{constructor(e){super(e,ua.getStaticData()),this.cachePromises={}}static compile(e,t){let s=(e.text||"").replace(/"/g,'\\"');return s?"// whatsapp ".concat(s||"","\n\t\tconst subActionVar").concat(e._id,' = "').concat((s||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {text: subActionVar").concat(e._id,'});\n\t\tsendTo("').concat(e.instance,'", "send", {text: subActionVar').concat(e._id).concat(e.phone?', phone: "'.concat(e.phone.replace(/"/g,'\\"'),'"'):"","});"):"// no text defined\n_sendToFrontEnd(".concat(e._id,", {text: 'No text defined'});")}renderDebug(e){return"".concat(S.I18n.t("Sent:")," ").concat(e.data.text)}onTagChange(e){this.setState({inputs:[{nameRender:"renderInstance",adapter:"whatsapp-cmb",frontText:"Instance:",defaultValue:"whatsapp-cmb.0",attr:"instance"},{nameRender:"renderModalInput",attr:"text",defaultValue:"Hello",nameBlock:"",frontText:"Text:"},{nameRender:"renderText",attr:"phone",defaultValue:"",frontText:"Phone:",backText:"(optional)"}]},(()=>super.onTagChange()))}static getStaticData(){return{acceptedBy:"actions",name:"Whatsapp-cmb",id:"ActionWhatsappcmb",adapter:"whatsapp-cmb",title:"Sends message via whatsapp-cmb",helpDialog:"You can use %s in the text to display current trigger value or %id to display the triggered object ID"}}getData(){return ua.getStaticData()}}const pa=ua;class ha extends ta{constructor(e){super(e,ha.getStaticData()),this.cachePromises={}}static compile(e,t){let s=(e.text||"").replace(/"/g,'\\"');return s?"// Pushsafer ".concat(e.text||"","\n\t\tconst subActionVar").concat(e._id,' = "').concat(s,'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {text: subActionVar").concat(e._id,'}); \n\t\tsendTo("').concat(e.instance,'", "send", {\n\t\t message: subActionVar').concat(e._id,',\n\t\t title: "').concat((e.title||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),",\n\t\t ").concat(e.device?'device: "'.concat(e.device,'",'):"","\n\t\t ").concat(e.sound&&"_"!==e.sound?'sound: "'.concat(e.sound,'",'):"","\n\t\t priority: ").concat(e.priority,",\n\t\t ").concat(e.vibration&&"_"!==e.vibration?"vibration: ".concat(e.vibration,","):"","\n\t\t});"):"// no text defined\n_sendToFrontEnd(".concat(e._id,", {text: 'No text defined'});")}renderDebug(e){return"Sent: ".concat(e.data.text)}onTagChange(e){this.setState({inputs:[{nameRender:"renderInstance",adapter:"pushsafer",frontText:"Instance:",defaultValue:"pushsafer.0",attr:"instance"},{nameRender:"renderModalInput",attr:"text",defaultValue:"Hello",nameBlock:"",frontText:"Text:"},{nameRender:"renderText",attr:"title",defaultValue:"ioBroker",frontText:"Title:"},{nameRender:"renderSelect",attr:"sound",defaultValue:"magic",frontText:"Sound:",doNotTranslate:!0,options:[{value:"_",title:"Device Default"},{value:"0",title:"Silent"},{value:"1",title:"Ahem (IM)"},{value:"2",title:"Applause (Mail)"},{value:"3",title:"Arrow (Reminder)"},{value:"4",title:"Baby (SMS)"},{value:"5",title:"Bell (Alarm)"},{value:"6",title:"Bicycle (Alarm2)"},{value:"7",title:"Boing (Alarm3)"},{value:"8",title:"Buzzer (Alarm4)"},{value:"9",title:"Camera (Alarm5)"},{value:"10",title:"Car Horn (Alarm6)"},{value:"11",title:"Cash Register (Alarm7)"},{value:"12",title:"Chime (Alarm8)"},{value:"13",title:"Creaky Door (Alarm9)"},{value:"14",title:"Cuckoo Clock (Alarm10)"},{value:"15",title:"Disconnect (Call)"},{value:"16",title:"Dog (Call2)"},{value:"17",title:"Doorbell (Call3)"},{value:"18",title:"Fanfare (Call4)"},{value:"19",title:"Gun Shot (Call5)"},{value:"20",title:"Honk (Call6)"},{value:"21",title:"Jaw Harp (Call7)"},{value:"22",title:"Morse (Call8)"},{value:"23",title:"Electricity (Call9)"},{value:"24",title:"Radio Tuner (Call10)"},{value:"25",title:"Sirens"},{value:"26",title:"Military Trumpets"},{value:"27",title:"Ufo"},{value:"28",title:"Whah Whah Whah"},{value:"29",title:"Man Saying Goodbye"},{value:"30",title:"Man Saying Hello"},{value:"31",title:"Man Saying No"},{value:"32",title:"Man Saying Ok"},{value:"33",title:"Man Saying Ooohhhweee"},{value:"34",title:"Man Saying Warning"},{value:"35",title:"Man Saying Welcome"},{value:"36",title:"Man Saying Yeah"},{value:"37",title:"Man Saying Yes"},{value:"38",title:"Beep short"},{value:"39",title:"Weeeee short"},{value:"40",title:"Cut in and out short"},{value:"41",title:"Finger flicking glas short"},{value:"42",title:"Wa Wa Waaaa short"},{value:"43",title:"Laser short"},{value:"44",title:"Wind Chime short"},{value:"45",title:"Echo short"},{value:"46",title:"Zipper short"},{value:"47",title:"HiHat short"},{value:"48",title:"Beep 2 short"},{value:"49",title:"Beep 3 short"},{value:"50",title:"Beep 4 short"},{value:"51",title:"The Alarm is armed"},{value:"52",title:"The Alarm is disarmed"},{value:"53",title:"The Backup is ready"},{value:"54",title:"The Door is closed"},{value:"55",title:"The Door is opend"},{value:"56",title:"The Window is closed"},{value:"57",title:"The Window is open"},{value:"58",title:"The Light is off"},{value:"59",title:"The Light is on"},{value:"60",title:"The Doorbell rings"},{value:"61",title:"Pager short"},{value:"62",title:"Pager long"}]},{nameRender:"renderSelect",attr:"priority",defaultValue:0,frontText:"Priority:",options:[{value:-2,title:"lowest priority"},{value:-1,title:"lower priority"},{value:0,title:"normal priority"},{value:1,title:"high priority"},{value:2,title:"highest priority"}]},{nameRender:"renderSelect",attr:"vibration",defaultValue:0,frontText:"Vibration:",options:[{value:"_",title:"default"},{value:1,title:"1"},{value:2,title:"2"},{value:3,title:"3"}]}]},(()=>super.onTagChange()))}static getStaticData(){return{acceptedBy:"actions",name:"Pushsafer",id:"ActionPushsafer",adapter:"pushsafer",title:"Sends message via Pushsafer",helpDialog:"You can use %s in the text to display current trigger value or %id to display the triggered object ID"}}getData(){return ha.getStaticData()}}const ma=ha,ga={triggers:[],conditions:[[]],justCheck:!1,actions:{then:[],else:[]}};function ba(e,t,s){const a=[];let i=e.triggers;i.length||(i=[{id:"TriggerScriptSave"}]);const o=[];let n=[],r=e.conditions.find((e=>e.find((e=>"()"===e.tagCard))));i.forEach(((t,i)=>{const l=ya(t.id,s);if(l){const c={trigger:t,condition:{},justCheck:!r&&(e.justCheck||!e.conditions.length||!e.conditions[0].length),conditionsDebug:[],conditionsVars:[],conditionsStates:[]},d=l.compile(t,c),u=function(e,t,s){let a=[],i=0;return e&&e.forEach((e=>{if(e.hasOwnProperty("length")&&e.length){const o=[];o&&e.forEach((e=>{const a=ya(e.id,s);a&&(t.condition.index=i++,o.push(a.compile(e,t)))})),a.push("(".concat(o.join(") &&\n ("),")"))}else{const o=ya(e.id,s);o&&(t.condition.index=i++,a.push(o.compile(e,t)))}})),a.length?1===a.length?a[0]||"true":"(".concat(a.join(") || ("),")"):"true"}(e.conditions,c,s),p=va(e.actions.then,c,s),h=va(e.actions.else,c,s);o.push("cond".concat(i)),c.prelines&&c.prelines.length&&c.prelines.forEach((e=>n.push(e))),d.includes(" __%%CONDITIONS_VARS%%__")&&(c.conditionsVars=c.conditionsVars.map(((e,t)=>t?" ".concat(e):e)),c.conditionsDebug=c.conditionsDebug.map(((e,t)=>t?" ".concat(e):e))),a.push(d.replace("__%%CONDITIONS_VARS%%__",c.conditionsVars.join("\n")).replace('"__%%DEBUG_CONDITIONS%%__";',c.conditionsDebug.join("\n")).replace("__%%CONDITION%%__",u).replace("__%%THEN%%__",p||"// ignore").replace("__%%ELSE%%__",h||"// ignore").replace(/__%%STATE%%__/g,"cond"+i))}}));let l=a.join("\n\n");return e.justCheck&&!r||(l="".concat(o.map((e=>"let ".concat(e," = false;"))).join("\n"),"\n\n").concat(l)),n&&(l="".concat(n.join("\n"),"\n\n").concat(l)),l}function ya(e,t){return t.find((t=>t.getStaticData&&t.getStaticData().id===e))}function va(e,t,s){let a=[];return e&&e.forEach((e=>{const i=ya(e.id,s);i&&a.push(i.compile(e,t))})),"\t\t".concat(a.join("\n\n\t\t"))||0}function fa(e,t){return ba(e,0,t)}const Sa={code2json:function(e){if(!e)return ga;{const s=e.split("\n");try{let e=s.pop().replace(/^\/\//,"");return e=JSON.parse(e),e.triggers||(e=ga),e}catch(t){return ga}}},json2code:function(e,t){let s="";return s+=fa(e,t),s+="\n/*\nconst demo = ".concat(JSON.stringify(e,null,2).replace(/\*\//g,"* /"),";\n*/\n"),"".concat(s,"\n//").concat(JSON.stringify(e))},compile:fa,STANDARD_FUNCTION:'async function () {\n "__%%DEBUG_TRIGGER%%__";\n __%%CONDITIONS_VARS%%__\n const _cond = __%%CONDITION%%__;\n \n "__%%DEBUG_CONDITIONS%%__";\n \n if (_cond) {\n__%%THEN%%__\n } else {\n__%%ELSE%%__\n }\n}',STANDARD_FUNCTION_ONCHANGE:'async function () {\n "__%%DEBUG_TRIGGER%%__";\n __%%CONDITIONS_VARS%%__\n const _cond = __%%CONDITION%%__;\n \n "__%%DEBUG_CONDITIONS%%__";\n \n if (__%%STATE%%__ === false && _cond) {\n __%%STATE%%__ = true; \n__%%THEN%%__\n } else if (__%%STATE%%__ === true && !_cond) {\n __%%STATE%%__ = false; \n__%%ELSE%%__\n }\n}',STANDARD_FUNCTION_STATE:'async function (obj) {\n "__%%DEBUG_TRIGGER%%__";\n __%%CONDITIONS_VARS%%__\n const _cond = __%%CONDITION%%__;\n \n "__%%DEBUG_CONDITIONS%%__";\n \n if (_cond) {\n__%%THEN%%__\n } else {\n__%%ELSE%%__\n }\n}',STANDARD_FUNCTION_STATE_ONCHANGE:'async function (obj) {\n "__%%DEBUG_TRIGGER%%__";\n __%%CONDITIONS_VARS%%__\n const _cond = __%%CONDITION%%__;\n \n "__%%DEBUG_CONDITIONS%%__";\n \n if (__%%STATE%%__ === false && _cond) {\n __%%STATE%%__ = true; \n__%%THEN%%__\n } else if (__%%STATE%%__ === true && !_cond) {\n __%%STATE%%__ = false; \n__%%ELSE%%__\n }\n}',NO_FUNCTION:'"__%%DEBUG_TRIGGER%%__";\n__%%CONDITIONS_VARS%%__\nconst _cond = __%%CONDITION%%__;\n\n"__%%DEBUG_CONDITIONS%%__";\n\nif (_cond) {\n__%%THEN%%__\n} else {\n__%%ELSE%%__\n}'};class xa extends ta{constructor(e){super(e,xa.getStaticData())}static compile(e){return Sa.NO_FUNCTION.replace('"__%%DEBUG_TRIGGER%%__"',"_sendToFrontEnd(".concat(e._id,", {trigger: true})"))}renderDebug(){return ks.default.t("Triggered")}onTagChange(e){this.setState({inputs:[{nameRender:"renderNameText",defaultValue:"On script save or adapter start",attr:"script"}]},(()=>super.onTagChange()))}static getStaticData(){return{acceptedBy:"triggers",name:"Start script",id:"TriggerScriptSave",icon:"PlayArrow",title:"Triggers the on script saving or the javascript instance restart"}}getData(){return xa.getStaticData()}}const ka=xa;var wa=s(41124),Ca=s.n(wa),ja=s(10860),Ia=s.n(ja),Aa=s(92311),Ta=s.n(Aa),Da=s(50256),Na=s.n(Da);class Ea extends ta{constructor(e){super(e,Ea.getStaticData()),this.coordinates=null}static compile(e,t){let s="",a=t.justCheck?Sa.STANDARD_FUNCTION_STATE:Sa.STANDARD_FUNCTION_STATE_ONCHANGE;if(a=a.replace('"__%%DEBUG_TRIGGER%%__"',"_sendToFrontEnd(".concat(e._id,", {trigger: true})")),"interval"===e.tagCard)s="setInterval(".concat(a,", ").concat(e.interval||1," * ").concat("s"===e.unit?1e3:"m"===e.unit?6e4:36e5,");");else if("cron"===e.tagCard)s='schedule("'.concat(e.cron,'", ').concat(a,");");else if("at"===e.tagCard){var i;const[t,o]=(e.at||"").split(":");let n="*";if(null!==e&&void 0!==e&&null!==(i=e.dow)&&void 0!==i&&i.length&&!e.dow.includes("_")){const t=[...e.dow].map((e=>parseInt(e,10)));t.sort();let s=[],a=t[0],i=1;for(;i1?(a===t[i-1]?s.push(a):t[i-1]-a===1?s.push(a+","+t[i-1]):s.push(a+"-"+t[i-1]),a=t[i]):i===t.length-1&&(a===t[i-1]||t[i]-a===1?s.push(a+","+t[i]):s.push(a+"-"+t[i]));n=s.join(",")}s='schedule("'.concat(o||"0"," ").concat(t||"0"," * * ").concat(n,'", ').concat(a,");")}else"astro"===e.tagCard?s='schedule({astro: "'.concat(e.astro,'", shift: ').concat(e.offset?e.offsetValue:0,"}, ").concat(a,");"):"wizard"===e.tagCard&&(s="schedule('".concat(e.wizard,"', ").concat(a,");"));return s}static _time2String(e){return e?"".concat(e.getHours().toString().padStart(2,"0"),":").concat(e.getMinutes().toString().padStart(2,"0")):"--:--"}async _setAstro(e,t,s){e=e||this.state.settings.astro||"solarNoon",t=void 0===t?this.state.settings.offset:t,s=void 0===s?this.state.settings.offsetValue:s,s=parseInt(s,10)||0,this.coordinates||await this.props.socket.getObject("system.adapter.javascript.0").then((e=>{let{native:{latitude:t,longitude:s}}=e;if(!t&&!s)return this.props.socket.getObject("system.config").then((e=>{e&&(e.common.latitude||e.common.longitude)?this.coordinates={latitude:e.common.latitude,longitude:e.common.longitude}:this.coordinates=null}));this.coordinates={latitude:t,longitude:s}}));const a=this.coordinates&&Ca().getTimes(new Date,this.coordinates.latitude,this.coordinates.longitude),i=a?Object.keys(a).map((e=>({value:e,title:e,title2:"[".concat(Ea._time2String(a[e]),"]"),order:a?Ea._time2String(a[e]):"??:??"}))):[];i.sort(((e,t)=>e.order>t.order?1:e.ordersuper.onTagChange()))}async _setInterval(e){let t;t=1===(e=parseInt(e||this.state.settings.interval,10)||30)?[{value:"s",title:"second"},{value:"m",title:"minute"},{value:"h",title:"hour"}]:[{value:"s",title:"seconds"},{value:"m",title:"minutes"},{value:"h",title:"hours"}],this.setState({inputs:[{nameRender:"renderNumber",prefix:{en:"every"},attr:"interval",frontText:"every",defaultValue:30,className:"block-input-interval"},{nameRender:"renderSelect",attr:"unit",defaultValue:"s",options:t}]},(()=>super.onTagChange()))}renderDebug(e){return S.I18n.t("Triggered")}onValueChanged(e,t){"astro"===this.state.settings.tagCard?"astro"===t?this._setAstro(e):"offset"===t?this._setAstro(void 0,e):"offsetValue"===t&&this._setAstro(void 0,void 0,e):"interval"===this.state.settings.tagCard&&"interval"===t&&this._setInterval(e)}renderCron(e,t,s){const{className:a}=this.props;let i="";const{settings:o}=this.state,{attr:n}=e;return(0,se.jsxs)("div",{children:[(0,se.jsxs)("div",{style:{display:"flex",alignItems:"baseline"},children:[(0,se.jsx)("div",{style:{width:"100%"},children:this.renderText({attr:n,defaultValue:t},o[n]?o[n]:t,s)}),(0,se.jsx)(ds,{square:!0,style:{marginLeft:7},value:"...",className:a,onClick:()=>this.setState({openDialog:!0})})]}),(0,se.jsx)(Cs,{open:this.state.openDialog,onApply:async()=>{await s(i,n),await s(Na()(i,S.I18n.getLanguage()),"addText"),this.setState({openDialog:!1})},onClose:()=>this.setState({openDialog:!1}),children:(0,se.jsx)(Ia(),{cronExpression:o[n]?o[n]:"",onChange:e=>i=e,language:S.I18n.getLanguage()})}),this.renderNameText({defaultValue:S.I18n.t("every hour at 0 minutes"),attr:"addText",signature:!0,doNotTranslate:!0},o.addText?o.addText:S.I18n.t("every hour at 0 minutes"),s)]},n)}renderWizard(e,t,s){const{className:a}=this.props,{attr:i}=e;let o="",n=null;return(0,se.jsxs)("div",{children:[(0,se.jsxs)("div",{style:{display:"flex",alignItems:"center",marginTop:7},children:[(0,se.jsx)(bs,{className:a,autoComplete:"off",fullWidth:!0,variant:"outlined",size:"small",multiline:!0,rows:2,value:this.state.settings["".concat(i,"Text")],onChange:e=>s(e),customValue:!0}),(0,se.jsx)(ds,{square:!0,style:{marginLeft:7},value:"...",className:a,onClick:()=>this.setState({openDialog:!0})})]}),(0,se.jsx)(Cs,{open:this.state.openDialog,onApply:()=>this.setState({openDialog:!1},(()=>s({["".concat(i,"Text")]:o,[i]:n}))),onClose:()=>this.setState({openDialog:!1}),children:(0,se.jsx)(Ta(),{onChange:(e,t)=>{o=t,n="object"===typeof e?JSON.parse(JSON.stringify(e)):JSON.parse(e),n.valid=n.valid||{},n.valid.from=n.valid.from||Ta().now2string(),n=JSON.stringify(n)}})})]},i)}onTagChange(e){switch(e=e||this.state.settings.tagCard){case"interval":this._setInterval();break;case"cron":this.setState({inputs:[{nameRender:"renderCron",attr:"cron",defaultValue:"0 * * * *"}]},(()=>super.onTagChange()));break;case"wizard":const e=JSON.parse('{"time":{"start":"00:00","end":"24:00","mode":"hours","interval":1},"period":{"days":1}}');e.valid=e.valid||{},e.valid.from=e.valid.from||Ta().now2string(),this.setState({inputs:[{nameRender:"renderWizard",attr:"wizard",defaultValue:JSON.stringify(e)}]},(()=>super.onTagChange(null,(()=>{const t=Ta().state2text(this.state.settings.wizard||e);if(this.state.settings.wizardText!==t){const e=JSON.parse(JSON.stringify(this.state.settings));e.wizardText=t,this.setState({settings:e}),this.props.onChange(e)}}))));break;case"at":this.setState({inputs:[{nameRender:"renderTime",prefix:"at",attr:"at",defaultValue:"07:30"},{nameRender:"renderSelect",attr:"dow",default:"",multiple:!0,defaultValue:["_","1","2","3","4","5","6","0"],options:[{value:"_",title:"Every day",only:!0},{value:"1",title:"Monday",titleShort:"Mo"},{value:"2",title:"Tuesday",titleShort:"Tu"},{value:"3",title:"Wednesday",titleShort:"We"},{value:"4",title:"Thursday",titleShort:"Th"},{value:"5",title:"Friday",titleShort:"Fr"},{value:"6",title:"Saturday",titleShort:"Sa"},{value:"0",title:"Sunday",titleShort:"Su"}]}]},(()=>super.onTagChange()));break;case"astro":this._setAstro()}}static getStaticData(){return{acceptedBy:"triggers",name:"Schedule",id:"TriggerScheduleBlock",icon:"AccessTime",tagCardArray:["cron","wizard","interval","at","astro"],title:"Triggers the rule periodically or on some specific time"}}getData(){return Ea.getStaticData()}}const Oa=Ea;var Ra=s(19042),_a=s(24836),Ma=s(99784);const za=i().forwardRef(((e,t)=>(0,se.jsx)(_a.A,{direction:"up",ref:t,...e})));class Ba extends ta{constructor(e){super(e,Ba.getStaticData()),this.inputRef=i().createRef()}static compile(e,t){let s=t.justCheck?Sa.STANDARD_FUNCTION_STATE:Sa.STANDARD_FUNCTION_STATE_ONCHANGE;return s=s.replace('"__%%DEBUG_TRIGGER%%__"',"_sendToFrontEnd(".concat(e._id,", {val: obj.state.val, ack: obj.state.ack, valOld: obj.oldState && obj.oldState.val, ackOld: obj.oldState && obj.oldState.ack})")),'on({id: "'.concat(e.oid||"",'", change: "').concat("on update"===e.tagCard?"any":"ne",'"}, ').concat(s,");")}static renderValue(e){return null===e?"null":void 0===e?"undefined":Array.isArray(e)?e.join(", "):"object"===typeof e?JSON.stringify(e):e.toString()}renderDebug(e){return void 0!==e.data.valOld?(0,se.jsxs)("span",{children:[S.I18n.t("Triggered")," ",(0,se.jsx)("span",{className:e.data.ackOld?this.props.classes.valueAck:this.props.classes.valueNotAck,children:Ba.renderValue(e.data.valOld)})," \u2192 ",(0,se.jsx)("span",{className:e.data.ack?this.props.classes.valueAck:this.props.classes.valueNotAck,children:Ba.renderValue(e.data.val)})]}):(0,se.jsxs)("span",{children:[S.I18n.t("Triggered")," ",(0,se.jsx)("span",{className:e.data.ack?this.props.classes.valueAck:this.props.classes.valueNotAck,children:Ba.renderValue(e.data.val)})]})}onWriteValue(){this.setState({openSimulate:!1});let e=this.state.simulateValue;window.localStorage.setItem("javascript.app.".concat(this.state.settings.oid,"_ack"),this.state.simulateAck),"boolean"===this.state.settings.oidType?e=!0===e||"true"===e||"1"===e:"number"===this.state.settings.oidType&&(e=parseFloat(e)||0),window.localStorage.setItem("javascript.app.".concat(this.state.settings.oid),e),this.props.socket.setState(this.state.settings.oid,{val:e,ack:!!this.state.simulateAck})}renderWriteState(){return(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(H.A,{disabled:!this.state.settings.oid||!this.state.enableSimulation,variant:"contained",color:"primary",onClick:()=>{this.setState({openSimulate:!0,simulateValue:"boolean"===this.state.settings.oidType?"true"===window.localStorage.getItem("javascript.app.".concat(this.state.settings.oid)):window.localStorage.getItem("javascript.app.".concat(this.state.settings.oid))||"",simulateAck:"true"===window.localStorage.getItem("javascript.app.".concat(this.state.settings.oid,"_ack"))}),setTimeout((()=>{var e;return null===(e=this.inputRef.current)||void 0===e?void 0:e.focus()}),200)},children:S.I18n.t("Simulate")}),(0,se.jsxs)(K.A,{open:!!this.state.openSimulate,TransitionComponent:za,keepMounted:!0,onClose:()=>this.setState({openSimulate:!1}),"aria-labelledby":"simulate-dialog-slide-title","aria-describedby":"simulate-dialog-slide-description",children:[(0,se.jsx)(q.A,{id:"simulate-dialog-slide-title",children:S.I18n.t("Trigger with value")}),(0,se.jsxs)(G.A,{children:["boolean"===this.state.settings.oidType?(0,se.jsx)(Ma.A,{control:(0,se.jsx)(Ra.A,{inputRef:this.inputRef,onKeyUp:e=>13===e.keyCode&&this.onWriteValue(),value:!!this.state.simulateValue,onChange:e=>this.setState({simulateValue:e.target.checked})}),label:S.I18n.t("Value")}):(0,se.jsx)(Z.A,{variant:"standard",inputRef:this.inputRef,label:S.I18n.t("Value"),fullWidth:!0,onKeyUp:e=>13===e.keyCode&&this.onWriteValue(),value:this.state.simulateValue,onChange:e=>this.setState({simulateValue:e.target.value})}),(0,se.jsx)("br",{}),(0,se.jsx)(Ma.A,{control:(0,se.jsx)($e.A,{checked:!!this.state.simulateAck,onChange:e=>this.setState({simulateAck:e.target.checked}),color:"primary"}),label:S.I18n.t("Ack")})]}),(0,se.jsxs)(Y.A,{children:[(0,se.jsxs)(H.A,{variant:"contained",onClick:()=>this.onWriteValue(),color:"primary",children:[(0,se.jsx)(x.g9_,{}),S.I18n.t("Write")]}),(0,se.jsxs)(H.A,{color:"grey",variant:"contained",onClick:()=>this.setState({openSimulate:!1}),children:[(0,se.jsx)(x.uDv,{}),S.I18n.t("Close")]})]})]})]})}onTagChange(e){this.setState({inputs:[{nameRender:"renderObjectID",attr:"oid",defaultValue:""},{nameRender:"renderWriteState"}]},(()=>{super.onTagChange()}))}static getStaticData(){return{acceptedBy:"triggers",name:"State",id:"TriggerState",icon:"FlashOn",tagCardArray:["on change","on update"],title:"Triggers the rule on update or change of some state"}}getData(){return Ba.getStaticData()}}const Pa=(0,u.A)((e=>({valueAck:{color:"#b02323"},valueNotAck:{color:"#12ac15"}})))(Ba),Fa=s.p+"static/media/hysteresis.04ebd02c6062432f891d.png",La="function __hysteresis(val, limit, state, hist, comp) {\n let cond1, cond2;\n if (comp === '>') {\n cond1 = val > limit + hist;\n cond2 = val <= limit - hist;\n } else if (comp === '<') {\n cond1 = val < limit - hist;\n cond2 = val >= limit + hist;\n } else if (comp === '>=') {\n cond1 = val >= limit + hist;\n cond2 = val < limit - hist;\n } else if (comp === '<=') {\n cond1 = val <= limit - hist;\n cond2 = val > limit + hist;\n } else if (comp === '=') {\n cond1 = val <= limit + hist && val > limit - hist;\n cond2 = val > limit + hist || val <= limit - hist;\n } else if (comp === '<>') {\n cond1 = val > limit + hist || val <= limit - hist;\n cond2 = val <= limit + hist && val > limit - hist;\n }\n \n if (!state && cond1) {\n return true;\n } else if (state && cond2) {\n return false;\n } else {\n return state;\n }\n}";class Ua extends ta{constructor(e){super(e,Ua.getStaticData()),this.onShowHelp=()=>this.setState({showHysteresisHelp:!0})}isAllTriggersOnState(){var e,t,s,a;return(null===(e=this.props.userRules)||void 0===e||null===(t=e.triggers)||void 0===t?void 0:t.find((e=>"TriggerState"===e.id)))&&!(null!==(s=this.props.userRules)&&void 0!==s&&null!==(a=s.triggers)&&void 0!==a&&a.find((e=>"TriggerState"!==e.id)))}static compile(e,t){let s=e.value;null!==s&&void 0!==s||(s=!1);let a,i="";if("()"===e.tagCard)t.prelines=t.prelines||[],!t.prelines.find((e=>e!==La))&&t.prelines.push(La),e.useTrigger?(i="obj.state.val",""===s&&(s=0),a="__hysteresis(subCondVar".concat(e._id,", ").concat(s,", __%%STATE%%__, ").concat(e.hist,', "').concat(e.histComp,'")')):(i='(await getStateAsync("'.concat(e.oid,'")).val'),""===s&&(s=0),"string"===typeof s&&parseFloat(s.trim()).toString()!==s.trim()&&(s='"'.concat(s,'"')),a="__hysteresis(subCondVar".concat(e._id,", ").concat(s,", __%%STATE%%__, ").concat(e.hist,', "').concat(e.histComp,'")'));else if("includes"!==e.tagCard){const n="="===e.tagCard?"==":"<>"===e.tagCard?"!=":e.tagCard;var o;if(e.useTrigger)i="obj.state.val","string"===(null===t||void 0===t||null===(o=t.trigger)||void 0===o?void 0:o.oidType)?(s=s.replace(/"/g,'\\"'),a="subCondVar".concat(e._id," ").concat(n,' "').concat(s,'"')):(""===s&&(s=0),"string"===typeof s&&parseFloat(s.trim()).toString()!==s.trim()&&(s='"'.concat(s,'"')),a="subCondVar".concat(e._id," ").concat(n," ").concat(s));else i='(await getStateAsync("'.concat(e.oid,'")).val'),"string"===e.oidType?(s=s.replace(/"/g,'\\"'),a="subCondVar".concat(e._id," ").concat(n,' "').concat(s,'"')):(""===s&&(s=0),"string"===typeof s&&parseFloat(s.trim()).toString()!==s.trim()&&(s='"'.concat(s,'"')),a="subCondVar".concat(e._id," ").concat(n," ").concat(s))}else{var n;if(e.useTrigger)i="obj.state.val","string"===(null===t||void 0===t||null===(n=t.trigger)||void 0===n?void 0:n.oidType)?(s=s.replace(/"/g,'\\"'),a='obj.state.val.includes("'.concat(s,'")')):a="false";else i='(await getStateAsync("'.concat(e.oid,'")).val'),"string"===e.oidType?(s=s.replace(/"/g,'\\"'),a="subCondVar".concat(e._id,'.includes("').concat(s,'")')):a="false"}return t.conditionsStates.push({name:"subCondVar".concat(e._id),id:e.oid}),t.conditionsVars.push("const subCondVar".concat(e._id," = ").concat(i,";")),t.conditionsVars.push("const subCond".concat(e._id," = ").concat(a,";")),t.conditionsDebug.push("_sendToFrontEnd(".concat(e._id,", {result: subCond").concat(e._id,", value: subCondVar").concat(e._id,', compareWith: "').concat(s,'"});')),"subCond".concat(e._id)}renderDebug(e){const t=this.state.settings.tagCard;return"()"!==t?"".concat(e.data.result.toString().toUpperCase()," [").concat(e.data.value," ").concat(t," ").concat(e.data.compareWith,"]"):S.I18n.t("Triggered")}_setInputs(e,t,s,a,i){var o,n;const r=this.isAllTriggersOnState();t=t||this.state.settings.tagCard,s=s||this.state.settings.oidType,a=a||this.state.settings.oidUnit,i=i||this.state.settings.oidStates,r&&e&&1===(null===(o=this.props.userRules)||void 0===o||null===(n=o.triggers)||void 0===n?void 0:n.length)&&(s=this.props.userRules.triggers[0].oidType,a=this.props.userRules.triggers[0].oidUnit,i=this.props.userRules.triggers[0].oidStates);const l=Ua.getStaticData().tagCardArray.find((e=>e.title===t));let c,d=null;"number"===s?(c=[{title:"=",title2:"[equal]",text:"equal to"},{title:">=",title2:"[greater or equal]",text:"greater or equal"},{title:">",title2:"[greater]",text:"greater than"},{title:"<=",title2:"[less or equal]",text:"less or equal"},{title:"<",title2:"[less]",text:"less than"},{title:"<>",title2:"[not equal]",text:"not equal to"},{title:"()",title2:"[hysteresis]",text:"hysteresis"}],i&&(d=Object.keys(i).map((e=>({value:e,title:i[e]}))))):"boolean"===s?(c=[{title:"=",title2:"[equal]",text:"equal to"},{title:"<>",title2:"[not equal]",text:"not equal to"}],d=[{title:"false",value:!1},{title:"true",value:!0}]):(c=[{title:"=",title2:"[equal]",text:"equal to"},{title:">=",title2:"[greater or equal]",text:"greater or equal"},{title:">",title2:"[greater]",text:"greater than"},{title:"<=",title2:"[less or equal]",text:"less or equal"},{title:"<",title2:"[less]",text:"less than"},{title:"<>",title2:"[not equal]",text:"not equal to"},{title:".",title2:"[includes]",text:"includes"}],i&&(d=Object.keys(i).map((e=>({value:e,title:i[e]})))));let u,p=null;c.find((e=>e.title===t))||(t=c[0].title,p=p||{...this.state.settings},p.tagCard=t);let h={nameRender:"renderText",defaultValue:"",attr:"value",frontText:"()"===t?"Limit":(null===l||void 0===l?void 0:l.text)||"compare with",doNotTranslateBack:!0,backText:a};d&&(h={nameRender:"renderSelect",defaultValue:d[0].value,options:d,attr:"value",frontText:(null===l||void 0===l?void 0:l.text)||"compare with",doNotTranslateBack:!0,backText:a},d.find((e=>e.value===this.state.settings.value))||(p=p||{...this.state.settings},p.value=d[0].value),d.length<=2&&(c=[{title:"=",title2:"[equal]",text:"equal to"},{title:"<>",title2:"[not equal]",text:"not equal to"}])),u=r&&e?[{backText:"use trigger value",nameRender:"renderCheckbox",attr:"useTrigger",defaultValue:!1},h]:r?[{backText:"use trigger value",nameRender:"renderCheckbox",attr:"useTrigger"},{nameRender:"renderObjectID",attr:"oid",defaultValue:""},h]:[{nameRender:"renderObjectID",attr:"oid",defaultValue:""},h],"()"===t&&(u.splice(1,0,{nameRender:"renderDialog",icon:"HelpOutline",frontText:"Explanation",onShowDialog:this.onShowHelp}),u.splice(2,0,{nameRender:"renderSelect",attr:"histComp",defaultValue:">",frontText:"Condition",doNotTranslate:!0,options:[{title:">",value:">"},{title:">=",value:">="},{title:"<",value:"<"},{title:"<=",value:"<="},{title:"=",value:"="},{title:"<>",value:"<>"}]}),u.push({frontText:"\u0394",doNotTranslate:!0,nameRender:"renderNumber",noHelperText:!0,attr:"hist",defaultValue:1,doNotTranslateBack:!0,backText:a}));const m={iconTag:!0,tagCardArray:c,inputs:u};this.setState(m,(()=>super.onTagChange(null,(()=>{p&&(this.setState({settings:p}),this.props.onChange(p))}))))}onValueChanged(e,t,s){"object"===typeof e?this._setInputs(e.useTrigger,e.tagCard,e.oidType,e.states):"useTrigger"===t?this._setInputs(e):"oidType"===t?this._setInputs(e,void 0,e):"oidUnit"===t?this._setInputs(e,void 0,void 0,e):"oidStates"===t&&this._setInputs(e,void 0,void 0,void 0,e)}onUpdate(){this._setInputs(this.state.settings.useTrigger)}onTagChange(e){this._setInputs(this.state.settings.useTrigger,e)}static getStaticData(){return{acceptedBy:"conditions",name:"State condition",id:"ConditionState",icon:"Shuffle",tagCardArray:[{title:"=",title2:"[equal]",text:"equal to"},{title:">=",title2:"[greater or equal]",text:"greater or equal"},{title:">",title2:"[greater]",text:"greater than"},{title:"<=",title2:"[less or equal]",text:"less or equal"},{title:"<",title2:"[less]",text:"less than"},{title:"<>",title2:"[not equal]",text:"not equal to"},{title:".",title2:"[includes]",text:"includes"},{title:"()",title2:"[hysteresis]",text:"hysteresis"}],title:"Compares the state value with user defined value"}}getData(){return Ua.getStaticData()}renderSpecific(){return this.state.showHysteresisHelp?(0,se.jsxs)(K.A,{open:!0,maxWidth:"md",onClose:()=>this.setState({showHysteresisHelp:!1}),"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,se.jsx)(G.A,{children:(0,se.jsx)(Se.A,{id:"alert-dialog-description",children:(0,se.jsx)("img",{src:Fa,alt:"Hysteresis"})})}),(0,se.jsx)(Y.A,{children:(0,se.jsx)(H.A,{onClick:()=>this.setState({showHysteresisHelp:!1}),color:"primary",autoFocus:!0,children:S.I18n.t("OK")})})]}):null}}const Va=Ua,Wa=[31,29,31,30,31,30,31,31,30,31,30,31];class Ja extends ta{constructor(e){super(e,Ja.getStaticData())}static compile(e,t){const s="="===e.tagCard?"===":"<>"===e.tagCard?"!==":e.tagCard;let a;if(e.withDate){let[t,i]=(e.date||"01.01").toString().split(".");i=parseInt(i,10)||0,t=parseInt(t,10)||0,t>12?t=12:t<0&&(t=0),i>Wa[t]?i=Wa[t]:i<0&&(i=0),a=i&&t?"formatDate(Date.now(), 'MM.DD-hh:mm') ".concat(s,' "').concat(e.date,"-").concat(e.time,'"'):0===i&&t?"formatDate(Date.now(), 'MM-hh:mm') ".concat(s,' "').concat(t.toString().padStart(2,"0"),"-").concat(e.time,'"'):0===t&&i?"formatDate(Date.now(), 'DD-hh:mm') ".concat(s,' "').concat(i.toString().padStart(2,"0"),"-").concat(e.time,'"'):"formatDate(Date.now(), 'hh:mm') ".concat(s,' "').concat(e.time,'"')}else a="formatDate(Date.now(), 'hh:mm') ".concat(s,' "').concat(e.time,'"');return t.conditionsVars.push("const subCond".concat(e._id," = ").concat(a,";")),t.conditionsDebug.push("_sendToFrontEnd(".concat(e._id,", {result: subCond").concat(e._id,"});")),"subCond".concat(e._id)}_setInputs(e,t){t=void 0===t?this.state.settings.withDate:t,e=e||this.state.settings.tagCard;const s=Ja.getStaticData().tagCardArray.find((t=>t.title===e)),a=[{nameRender:"renderNameText",attr:"interval",defaultValue:"Actual time of day"},{frontText:(null===s||void 0===s?void 0:s.text)||e,nameRender:"renderTime",attr:"time",defaultValue:"12:00"},{frontText:"with date",nameRender:"renderCheckbox",attr:"withDate",defaultValue:!1}];t&&a.push({nameRender:"renderDate",attr:"date",defaultValue:"01.01"}),this.setState({inputs:a,iconTag:!0},(()=>super.onTagChange()))}onValueChanged(e,t){"withDate"===t&&this._setInputs(void 0,e)}onTagChange(e){this._setInputs(e)}static getStaticData(){return{acceptedBy:"conditions",name:"Time condition",id:"ConditionTime",icon:"Shuffle",tagCardArray:[{title:"=",title2:"[equal]",text:"equal to"},{title:">=",title2:"[greater or equal]",text:"greater or equal"},{title:">",title2:"[greater]",text:"greater than"},{title:"<=",title2:"[less or equal]",text:"less or equal"},{title:"<",title2:"[less]",text:"less than"},{title:"<>",title2:"[not equal]",text:"not equal to"}],title:"Compares current time with the user specific time"}}getData(){return Ja.getStaticData()}}const Ha=Ja;class qa extends ta{constructor(e){super(e,qa.getStaticData()),this.coordinates=null}static compile(e,t){const s="="===e.tagCard?"===":"<>"===e.tagCard?"!==":e.tagCard;let a;e.offset&&(a=parseInt(e.offsetValue,10)||0);const i="formatDate(Date.now(), 'hh:mm') ".concat(s,' formatDate(getAstroDate("').concat(e.astro,'"').concat(a?", undefined, ".concat(a):"","), 'hh:mm')");return t.conditionsVars.push("const subCond".concat(e._id," = ").concat(i,";")),t.conditionsDebug.push("_sendToFrontEnd(".concat(e._id,", {result: ").concat(i,"});")),i}static _time2String(e){return e?"".concat(e.getHours().toString().padStart(2,"0"),":").concat(e.getMinutes().toString().padStart(2,"0")):"--:--"}onValueChanged(e,t){"astro"===t?this._setAstro(e):"offset"===t?this._setAstro(void 0,e):"offsetValue"===t&&this._setAstro(void 0,void 0,e)}async _setAstro(e,t,s){e=e||this.state.settings.astro||"solarNoon",t=void 0===t?this.state.settings.offset:t,s=void 0===s?this.state.settings.offsetValue:s,s=parseInt(s,10)||0,this.coordinates||await this.props.socket.getObject("system.adapter.javascript.0").then((e=>{let{native:{latitude:t,longitude:s}}=e;if(!t&&!s)return this.props.socket.getObject("system.config").then((e=>{e&&(e.common.latitude||e.common.longitude)?this.coordinates={latitude:e.common.latitude,longitude:e.common.longitude}:this.coordinates=null}));this.coordinates={latitude:t,longitude:s}}));const a=this.coordinates&&Ca().getTimes(new Date,this.coordinates.latitude,this.coordinates.longitude),i=a?Object.keys(a).map((e=>({value:e,title:e,title2:"[".concat(qa._time2String(a[e]),"]"),order:qa._time2String(a[e])}))):[];i.sort(((e,t)=>e.order>t.order?1:e.ordere.title===this.state.settings.tagCard));let n,r="--:--";if(e&&a&&a[e]){const i=new Date(a[e]);t&&i.setMinutes(i.getMinutes()+parseInt(s,10)),r="(".concat(S.I18n.t(o.text)," ").concat(qa._time2String(i),")")}n=t?[{nameRender:"renderNameText",defaultValue:"Actual time of day",attr:"text"},{frontText:o.text,attr:"astro",nameRender:"renderSelect",options:i,doNotTranslate2:!0,defaultValue:"solarNoon"},{backText:"with offset",nameRender:"renderCheckbox",attr:"offset"},{backText:1===s?"minute":"minutes",frontText:"offset",nameRender:"renderNumber",defaultValue:0,attr:"offsetValue",noHelperText:!0},{nameRender:"renderNameText",attr:"textTime",doNotTranslate:!0,defaultValue:r}]:[{nameRender:"renderNameText",defaultValue:"Actual time of day",attr:"text"},{frontText:o.text,attr:"astro",nameRender:"renderSelect",options:i,doNotTranslate2:!0,defaultValue:"solarNoon"},{backText:"with offset",nameRender:"renderCheckbox",attr:"offset"},{nameRender:"renderNameText",attr:"textTime",doNotTranslate:!0,defaultValue:r}],this.setState({inputs:n},(()=>super.onTagChange()))}onTagChange(e){this._setAstro()}static getStaticData(){return{acceptedBy:"conditions",name:"Astronomical",id:"ConditionAstronomical",icon:"Brightness3",tagCardArray:[{title:"=",title2:"[equal]",text:"equal to"},{title:">=",title2:"[greater or equal]",text:"greater or equal to"},{title:">",title2:"[greater]",text:"greater than"},{title:"<=",title2:"[less or equal]",text:"less or equal to"},{title:"<",title2:"[less]",text:"less than"},{title:"<>",title2:"[not equal]",text:"not equal to"}],title:"Compares current time with astronomical event"}}getData(){return qa.getStaticData()}}const Ga=qa;class Ya extends ta{constructor(e){super(e,Ya.getStaticData())}isAllTriggersOnState(){var e,t,s,a;return(null===(e=this.props.userRules)||void 0===e||null===(t=e.triggers)||void 0===t?void 0:t.find((e=>"TriggerState"===e.id)))&&!(null!==(s=this.props.userRules)&&void 0!==s&&null!==(a=s.triggers)&&void 0!==a&&a.find((e=>"TriggerState"!==e.id)))}static compile(e,t){let s,a=e.value;return e.useTrigger?a=e.toggle?"!obj.state.val":"obj.state.val":(void 0!==a&&null!==a||(a=""),"string"===typeof e.value&&parseFloat(e.value).toString()!==e.value&&"true"!==e.value&&"false"!==e.value&&(a='"'.concat(a.replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t)))),s=e.toggle&&!e.useTrigger?"const subActionVar".concat(e._id,' = !(await getStateAsync("').concat(e.oid,'")).val'):"const subActionVar".concat(e._id," = ").concat(a),"// set state ".concat(e.oid," to ").concat(e.toggle&&!e.useTrigger?"toggle":a," \n\t\t").concat(s,";\n\t\t_sendToFrontEnd(").concat(e._id,", {val: subActionVar").concat(e._id,", ack: ").concat("update"===e.tagCard,'});\n\t\tawait setStateAsync("').concat(e.oid,'", subActionVar').concat(e._id,", ").concat("update"===e.tagCard,");")}static renderValue(e){return null===e?"null":void 0===e?"undefined":Array.isArray(e)?e.join(", "):"object"===typeof e?JSON.stringify(e):e.toString()}renderDebug(e){return(0,se.jsxs)("span",{children:[S.I18n.t("Set:")," ",(0,se.jsx)("span",{className:e.data.ack?this.props.classes.valueAck:this.props.classes.valueNotAck,children:Ya.renderValue(e.data.val)})]})}_setInputs(e,t){const s=this.isAllTriggersOnState();t=void 0===t?this.state.settings.toggle:t,e=void 0===e?this.state.settings.useTrigger:e;let a,i="";const{oidType:o,oidUnit:n,oidStates:r,oidMax:l,oidMin:c,oidRole:d,oidWrite:u,oidStep:p}=this.state.settings;let h,m;if(o&&("number"===o?(i="number",void 0!==l&&void 0!==c&&(i="slider")):"boolean"===o?(i="boolean",d&&d.includes("button")&&u&&(i="button")):(i="",d&&d.includes("color")&&(i="color")),r&&(a=Object.keys(r).map((e=>({value:e,title:r[e]}))),i="select")),s&&e)m=[{backText:"use trigger value",nameRender:"renderCheckbox",attr:"useTrigger",defaultValue:!1}],"boolean"===i&&m.push({backText:"toggle value",attr:"toggle",nameRender:"renderCheckbox",defaultValue:!1});else{switch(i){case"number":m=[{backText:n||"",frontText:"with",nameRender:"renderNumber",defaultValue:void 0===l?0:l,attr:"value"}],void 0!==this.state.settings.value&&isNaN(parseFloat(this.state.settings.value))&&(h={value:void 0===l?0:l});break;case"slider":m=[{nameRender:"renderSlider",defaultValue:l,min:c,max:l,unit:n,step:p,attr:"value"}];const e=parseFloat(this.state.settings.value);void 0!==this.state.settings.value&&(isNaN(e)||el)&&(h={value:l});break;case"select":m=[{nameRender:"renderSelect",frontText:"with",options:a,defaultValue:a[0].value,attr:"value"}],void 0===this.state.settings.value||a.find((e=>e.value===this.state.settings.value))||(h={value:a[0].value});break;case"boolean":m=[{backText:"toggle value",attr:"toggle",nameRender:"renderCheckbox",defaultValue:!1}],t||m.push({backText:"true",frontText:"false",nameRender:"renderSwitch",defaultValue:!1,attr:"value"}),void 0!==this.state.settings.value&&!1!==this.state.settings.value&&!0!==this.state.settings.value&&(h={value:!1});break;case"button":m=[{nameRender:"renderButton",defaultValue:!0,attr:"value"}],void 0!==this.state.settings.value&&!0!==this.state.settings.value&&(h={value:!0});break;case"color":m=[{nameRender:"renderColor",frontText:"with",defaultValue:"#FFFFFF",attr:"value"}],void 0===this.state.settings.value||"string"===typeof this.state.settings.value&&(this.state.settings.value.startsWith("#"),this.state.settings.value.startsWith("rgb"),0)||(h={value:"#FFFFFF"});break;default:m=[{backText:n||"",frontText:"with",nameRender:"renderText",defaultValue:"",attr:"value"}]}s&&m.unshift({backText:"use trigger value",nameRender:"renderCheckbox",attr:"useTrigger"})}return{inputs:m,newSettings:h}}onTagChange(e,t,s,a,i){i=void 0===i?this.state.settings.useTrigger:i;const{inputs:o,newSettings:n}=this._setInputs(i,a);o.unshift({nameRender:"renderObjectID",attr:"oid",defaultValue:"",checkReadOnly:!0}),this.setState({inputs:o},(()=>super.onTagChange(null,(()=>{if(n){const e=JSON.parse(JSON.stringify(this.state.settings));Object.assign(e,n),this.setState(e),this.props.onChange(e)}}))))}onValueChanged(e,t,s){this.onTagChange(void 0,void 0,void 0,"toggle"===t?e:void 0,"useTrigger"===t?e:void 0)}onUpdate(){this.onTagChange()}static getStaticData(){return{acceptedBy:"actions",name:"Set state action",id:"ActionSetState",icon:"PlayForWork",tagCardArray:["control","update"],title:"Control or update some state",helpDialog:"You can use %s in the value to use the current trigger value or %id to display the triggered object ID"}}getData(){return Ya.getStaticData()}}const Ka=(0,u.A)((e=>({valueAck:{color:"#b02323"},valueNotAck:{color:"#12ac15"}})))(Ya);class Za extends ta{constructor(e){super(e,Za.getStaticData())}static compile(e,t){return'// exec "'.concat(e.exec,'"\n\t\tconst subActionVar').concat(e._id,' = "').concat((e.exec||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {exec: subActionVar").concat(e._id,"});\n\t\tconsole.log(subActionVar").concat(e._id,");")}renderDebug(e){return"Exec: ".concat(e.data.exec)}onTagChange(e){this.setState({inputs:[{nameRender:"renderModalInput",attr:"exec",defaultValue:"ls /opt/iobroker",nameBlock:"Shell command"}]},(()=>super.onTagChange(e)))}static getStaticData(){return{acceptedBy:"actions",name:"Exec",id:"ActionExec",icon:"Apps",title:"Executes some shell command",helpDialog:"You can use %s in the command to use current trigger value or %id to use the triggered object ID"}}getData(){return Za.getStaticData()}}const Qa=Za;class Xa extends ta{constructor(e){super(e,Xa.getStaticData())}static compile(e,t){return"// HTTP request ".concat(e.url,"\n\t\tconst subActionVar").concat(e._id,' = "').concat((e.url||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {url: subActionVar").concat(e._id,"});\n\t\trequest(subActionVar").concat(e._id,");")}renderDebug(e){return"URL: ".concat(e.data.url)}onTagChange(e){this.setState({inputs:[{nameRender:"renderModalInput",attr:"url",defaultValue:"http://mydevice.com?...",nameBlock:"URL"}]},(()=>super.onTagChange(e)))}static getStaticData(){return{acceptedBy:"actions",name:"HTTP Call",id:"ActionHTTPCall",icon:"Language",title:"Make a HTTP get request",helpDialog:"You can use %s in the URL to use current trigger value or %id to use the triggered object ID"}}getData(){return Xa.getStaticData()}}const $a=Xa;class ei extends ta{constructor(e){super(e,ei.getStaticData())}static compile(e,t){return"// Log ".concat(e.text,"\n\t\tconst subActionVar").concat(e._id,' = "').concat((e.text||"").replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t),";\n\t\t_sendToFrontEnd(").concat(e._id,", {text: subActionVar").concat(e._id,"});\n\t\tconsole.log(subActionVar").concat(e._id,");")}renderDebug(e){return S.I18n.t("Log: %s",e.data.text)}onTagChange(e){this.setState({inputs:[{nameRender:"renderModalInput",attr:"text",defaultValue:"My device triggered",nameBlock:"Log text"}]},(()=>super.onTagChange(e)))}static getStaticData(){return{acceptedBy:"actions",name:"Log text",id:"ActionPrintText",icon:"Subject",title:"Print some text in log",helpDialog:"You can use %s in the text to display current trigger value or %id to display the triggered object ID"}}getData(){return ei.getStaticData()}}const ti=ei;class si extends ta{constructor(e){super(e,si.getStaticData())}static compile(e,t){const s="ms"===e.unit?1:"s"===e.unit?1e3:"m"===e.unit?6e4:36e5;return"// pause for ".concat(s,"ms\n\t\t_sendToFrontEnd(").concat(e._id,", {paused: true});\n\n\t\tawait wait(").concat(e.pause," * ").concat(s,");\n\n\t\t_sendToFrontEnd(").concat(e._id,", {paused: false});")}renderDebug(e){return ks.default.t("Paused: %s",e.data.paused)}_getOptions(e){return 1===(e=void 0===e?this.state.settings.pause:e)||"1"===e?[{value:"ms",title:"millisecond"},{value:"s",title:"second"},{value:"m",title:"minute"},{value:"h",title:"hour"}]:[{value:"ms",title:"milliseconds"},{value:"s",title:"seconds"},{value:"m",title:"minutes"},{value:"h",title:"hours"}]}_setInputs(e){this.setState({inputs:[{nameRender:"renderNumber",attr:"pause",defaultValue:100,noHelperText:!0},{nameRender:"renderSelect",attr:"unit",defaultValue:"ms",options:this._getOptions(e)}]},(()=>super.onTagChange()))}onValueChanged(e,t){"pause"===t&&this._setInputs(e)}onTagChange(e){this._setInputs()}static getStaticData(){return{acceptedBy:"actions",name:"Pause",id:"ActionPause",icon:"Pause",title:"Make a pause between actions"}}getData(){return si.getStaticData()}}const ai=si;class ii extends ta{constructor(e){super(e,ii.getStaticData())}static compile(e,t){const s=(e.func||"").split("\n").map(((e,t)=>" ".concat(e)));return s.unshift("\t\t_sendToFrontEnd(".concat(e._id,", {func: 'executed'});")),s.unshift("// user function"),s.join("\n")}renderDebug(e){return S.I18n.t("Function: executed")}onTagChange(e){this.setState({inputs:[{nameRender:"renderModalInput",attr:"func",noTextEdit:!0,defaultValue:'console.log("Test")',nameBlock:"Function"}]},(()=>super.onTagChange(e)))}static getStaticData(){return{acceptedBy:"actions",name:"User function",id:"ActionFunction",icon:"Functions",title:"Write your own code",helpDialog:"This is advances option. You can write your own code here and it will be executed on trigger"}}getData(){return ii.getStaticData()}}const oi=ii;class ni extends ta{constructor(e){super(e,ni.getStaticData())}isAllTriggersOnState(){var e,t,s,a;return(null===(e=this.props.userRules)||void 0===e||null===(t=e.triggers)||void 0===t?void 0:t.find((e=>"TriggerState"===e.id)))&&!(null!==(s=this.props.userRules)&&void 0!==s&&null!==(a=s.triggers)&&void 0!==a&&a.find((e=>"TriggerState"!==e.id)))}static compile(e,t){let s,a=e.value;return e.useTrigger?a=e.toggle?"!obj.state.val":"obj.state.val":(void 0!==a&&null!==a||(a=""),"string"===typeof e.value&&parseFloat(e.value).toString()!==e.value&&"true"!==e.value&&"false"!==e.value&&(a='"'.concat(a.replace(/"/g,'\\"'),'"').concat(ta.getReplacesInText(t)))),s=e.toggle&&!e.useTrigger?"const subActionVar".concat(e._id,' = !(await getStateAsync("').concat(e.oid,'")).val'):"const subActionVar".concat(e._id," = ").concat(a),"// set delayed state ".concat(e.oid," to ").concat(e.toggle&&!e.useTrigger?"toggle":a," with delay of ").concat(e.delay,"ms\n\t\t").concat(s,";\n\t\t_sendToFrontEnd(").concat(e._id,", {val: subActionVar").concat(e._id,", ack: ").concat("update"===e.tagCard,'});\n\t\tsetStateDelayed("').concat(e.oid,'", subActionVar').concat(e._id,", ").concat("update"===e.tagCard,", ").concat(parseInt(e.delay,10),", ").concat(e.clearRunning?"true":"false",");")}static renderValue(e){return null===e?"null":void 0===e?"undefined":Array.isArray(e)?e.join(", "):"object"===typeof e?JSON.stringify(e):e.toString()}renderDebug(e){return(0,se.jsxs)("span",{children:[S.I18n.t("Set:")," ",(0,se.jsx)("span",{className:e.data.ack?this.props.classes.valueAck:this.props.classes.valueNotAck,children:ni.renderValue(e.data.val)})]})}_setInputs(e,t){const s=this.isAllTriggersOnState();t=void 0===t?this.state.settings.toggle:t,e=void 0===e?this.state.settings.useTrigger:e;let a,i="";const{oidType:o,oidUnit:n,oidStates:r,oidMax:l,oidMin:c,oidRole:d,oidWrite:u,oidStep:p}=this.state.settings;let h,m;if(o&&("number"===o?(i="number",void 0!==l&&void 0!==c&&(i="slider")):"boolean"===o?(i="boolean",d&&d.includes("button")&&u&&(i="button")):(i="",d&&d.includes("color")&&(i="color")),r&&(a=Object.keys(r).map((e=>({value:e,title:r[e]}))),i="select")),s&&e)m=[{backText:"use trigger value",nameRender:"renderCheckbox",attr:"useTrigger",defaultValue:!1}],"boolean"===i&&m.push({backText:"toggle value",attr:"toggle",nameRender:"renderCheckbox",defaultValue:!1});else{switch(i){case"number":m=[{backText:n||"",frontText:"with",nameRender:"renderNumber",defaultValue:void 0===l?0:l,attr:"value"}],void 0!==this.state.settings.value&&isNaN(parseFloat(this.state.settings.value))&&(h={value:void 0===l?0:l});break;case"slider":m=[{nameRender:"renderSlider",defaultValue:l,min:c,max:l,unit:n,step:p,attr:"value"}];const e=parseFloat(this.state.settings.value);void 0!==this.state.settings.value&&(isNaN(e)||el)&&(h={value:l});break;case"select":m=[{nameRender:"renderSelect",frontText:"with",options:a,defaultValue:a[0].value,attr:"value"}],void 0===this.state.settings.value||a.find((e=>e.value===this.state.settings.value))||(h={value:a[0].value});break;case"boolean":m=[{backText:"toggle value",attr:"toggle",nameRender:"renderCheckbox",defaultValue:!1}],t||m.push({backText:"true",frontText:"false",nameRender:"renderSwitch",defaultValue:!1,attr:"value"}),void 0!==this.state.settings.value&&!1!==this.state.settings.value&&!0!==this.state.settings.value&&(h={value:!1});break;case"button":m=[{nameRender:"renderButton",defaultValue:!0,attr:"value"}],void 0!==this.state.settings.value&&!0!==this.state.settings.value&&(h={value:!0});break;case"color":m=[{nameRender:"renderColor",frontText:"with",defaultValue:"#FFFFFF",attr:"value"}],void 0===this.state.settings.value||"string"===typeof this.state.settings.value&&(this.state.settings.value.startsWith("#"),this.state.settings.value.startsWith("rgb"),0)||(h={value:"#FFFFFF"});break;default:m=[{backText:n||"",frontText:"with",nameRender:"renderText",defaultValue:"",attr:"value"}]}s&&m.unshift({backText:"use trigger value",nameRender:"renderCheckbox",attr:"useTrigger"})}return m.push({backText:"ms",frontText:"Delay",nameRender:"renderNumber",defaultValue:"1000",noHelperText:!0,attr:"delay"}),m.push({backText:"clear running",nameRender:"renderCheckbox",defaultValue:!0,attr:"clearRunning"}),{inputs:m,newSettings:h}}onTagChange(e,t,s,a,i){i=void 0===i?this.state.settings.useTrigger:i;const{inputs:o,newSettings:n}=this._setInputs(i,a);o.unshift({nameRender:"renderObjectID",attr:"oid",defaultValue:"",checkReadOnly:!0}),this.setState({inputs:o},(()=>super.onTagChange(null,(()=>{if(n){const e=JSON.parse(JSON.stringify(this.state.settings));Object.assign(e,n),this.setState(e),this.props.onChange(e)}}))))}onValueChanged(e,t,s){this.onTagChange(void 0,void 0,void 0,"toggle"===t?e:void 0,"useTrigger"===t?e:void 0)}onUpdate(){this.onTagChange()}static getStaticData(){return{acceptedBy:"actions",name:"Set with delay",id:"ActionSetStateDelayed",icon:"PlayForWork",tagCardArray:["control","update"],title:"Control or update some state with delay",helpDialog:"You can use %s in the value to use the current trigger value or %id to display the triggered object ID"}}getData(){return ni.getStaticData()}}const ri=ni;class li extends ta{constructor(e){super(e,li.getStaticData())}isAllTriggersOnState(){var e,t,s,a;return(null===(e=this.props.userRules)||void 0===e||null===(t=e.triggers)||void 0===t?void 0:t.find((e=>"TriggerState"===e.id)))&&!(null!==(s=this.props.userRules)&&void 0!==s&&null!==(a=s.triggers)&&void 0!==a&&a.find((e=>"TriggerState"!==e.id)))}static compile(e,t){let s="const val2_".concat(e._id,' = (await getStateAsync("').concat(e.oid1,'")).val;'),a="const val1_".concat(e._id,' = (await getStateAsync("').concat(e.oid2,'")).val;');return"// ".concat(e.oid1," ").concat(e.operation," ").concat(e.oid2," => ").concat(e.oidResult,"\n\t\t ").concat(s,"\n\t\t ").concat(a,"\n\t\t_sendToFrontEnd(").concat(e._id,", {val: val1_").concat(e._id," ").concat(e.operation," val2_").concat(e._id,", ack: ").concat("update"===e.tagCard,'});\n\t\tawait setStateAsync("').concat(e.oidResult,'", val1_').concat(e._id," ").concat(e.operation," val2_").concat(e._id,", ").concat("update"===e.tagCard,");")}static renderValue(e){return null===e?"null":void 0===e?"undefined":Array.isArray(e)?e.join(", "):"object"===typeof e?JSON.stringify(e):e.toString()}renderDebug(e){return(0,se.jsxs)("span",{children:[S.I18n.t("Set:")," ",(0,se.jsx)("span",{className:e.data.ack?this.props.classes.valueAck:this.props.classes.valueNotAck,children:li.renderValue(e.data.val)})]})}onTagChange(e,t,s,a,i){const o=[];o.push({nameRender:"renderObjectID",title:"ID1",attr:"oid1",defaultValue:"",checkReadOnly:!1}),o.push({nameRender:"renderSelect",options:[{value:"+",title:"+"},{value:"-",title:"-"},{value:"*",title:"*"},{value:"/",title:"/"}],doNotTranslate:!0,defaultValue:"+",attr:"operation"}),o.push({nameRender:"renderObjectID",title:"ID2",attr:"oid2",defaultValue:"",checkReadOnly:!1}),o.push({nameRender:"renderNameText",defaultValue:"store in",attr:"textEqual"}),o.push({nameRender:"renderObjectID",attr:"oidResult",defaultValue:"",checkReadOnly:!0}),this.setState({inputs:o},(()=>super.onTagChange(null,(()=>{const e=JSON.parse(JSON.stringify(this.state.settings));this.props.onChange(e)}))))}onValueChanged(e,t,s){this.onTagChange(void 0,void 0,void 0,"toggle"===t?e:void 0,"useTrigger"===t?e:void 0)}onUpdate(){this.onTagChange()}static getStaticData(){return{acceptedBy:"actions",name:"Operate two states",id:"ActionOperateStates",icon:"AddBox",tagCardArray:["control","update"],title:"Operations with two states"}}getData(){return li.getStaticData()}}const ci=[Oa,ka,Pa,Va,Ha,Ga,Ka,Qa,$a,ti,ai,oi,ri,li],di={telegram:la,email:na,sayit:ia,pushover:da,"whatsapp-cmb":pa,pushsafer:ma},ui=(0,a.createContext)(),pi=(e,t,a,i)=>async()=>{await function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return new Promise(((i,o)=>{if(window[e])i();else{const n=document.querySelector('[data-webpack="'.concat(e,'"]')),r=async()=>{if(!window[e])return o('Cannot load Remote "'.concat(e,'" to inject'));window[e].__initialized||(await window[e].init(s.S[t]),window[e].__initialized=!0),i()};if(n)n.onload=r,n.onerror=o;else if(a){const t=document,s=t.createElement("script");s.type="text/javascript",s.setAttribute("data-webpack","".concat(e)),s.async=!0,s.onerror=o,s.onload=r,s.src=a,t.getElementsByTagName("head")[0].appendChild(s)}else o("Cannot Find Remote ".concat(e," to inject"))}}))}(e,t,i);const o=window[e];return(await o.get(a))()},hi=e=>{let{children:t,socket:s}=e;const[i,o]=(0,a.useState)(null),[n,r]=(0,a.useState)(!1),[l,c]=(0,a.useState)(!1),[d,u]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{n&&r(!1)}),[n]),(0,a.useEffect)((()=>{(async()=>{const e=await s.getAdapterInstances(),t=Object.keys(di).filter((t=>e.find((e=>{var s;return(null===e||void 0===e||null===(s=e.common)||void 0===s?void 0:s.name)===t})))),a=[],i=e.filter((e=>e.common.javascriptRules)),n=[];for(let s in i){const e=i[s];if(n.includes(e.common.name))continue;let t;if(t=e.common.javascriptRules.url.startsWith("http:")||e.common.javascriptRules.url.startsWith("https:")?e.common.javascriptRules.url:e.common.javascriptRules.url.startsWith("./")?"".concat(window.location.protocol,"//").concat(window.location.host).concat(e.common.javascriptRules.url.replace(/^\./,"")):"".concat(window.location.protocol,"//").concat(window.location.host,"/adapter/").concat(e.common.name,"/").concat(e.common.javascriptRules.url),!0===e.common.javascriptRules.i18n){const e=t.lastIndexOf("/");let s;s=-1!==e?t.substring(0,e):t;const a=S.I18n.getLanguage(),i="".concat(s,"/i18n/").concat(a,".json");await fetch(i).then((e=>e.json())).then((e=>S.I18n.extendTranslations(e,a))).catch((e=>{if("en"!==a)return fetch("".concat(s,"/i18n/en.json")).then((e=>e.json())).then((e=>S.I18n.extendTranslations(e,a))).catch((e=>console.error('Cannot load i18n "'.concat(i,'": ').concat(e))));console.log('Cannot load i18n "'.concat(i,'": ').concat(e))}))}else if(e.common.javascriptRules.i18n&&"object"===typeof e.common.javascriptRules.i18n)try{S.I18n.extendTranslations(e.common.javascriptRules.i18n)}catch(l){console.error('Cannot import i18n for "'.concat(e.common.javascriptRules.name,'": ').concat(l))}try{const s=(await pi(e.common.javascriptRules.name,"default","./".concat(e.common.javascriptRules.name),t)()).default;s&&(a.push(s),n.push(e.common.name),di[e.common.name]=null)}catch(c){console.error('Cannot load component "'.concat(e.common.javascriptRules.name,'": ').concat(c))}}const r=t.filter((e=>di[e])).map((e=>di[e]));o([...ci,...r,...a])})()}),[]),(0,se.jsx)(ui.Provider,{value:{blocks:i,socket:s,onUpdate:n,setOnUpdate:r,onDebugMessage:l,setOnDebugMessage:c,enableSimulation:d,setEnableSimulation:u},children:t})};const mi=(0,a.memo)((e=>{const{setUserRules:t,userRules:s,_id:i,id:o,blockValue:n,active:r,acceptedBy:l,isTourOpen:c,setTourStep:d,tourStep:u}=e,[p,h]=(0,a.useState)(null),{blocks:m,socket:g,onUpdate:b,setOnUpdate:y,onDebugMessage:v,enableSimulation:f}=(0,a.useContext)(ui);(0,a.useEffect)((()=>{console.log("New message !!"+JSON.stringify(v))}),[v]);const S=(0,a.useCallback)((e=>m.find((t=>t.getStaticData().id===e))),[m]),x=(0,a.useCallback)((e=>{let a=function(e,t,s){const{_id:a,acceptedBy:i}=e;let o;if(!i||!t[i])return console.warn("Cannot find "+i),t;switch(i){case"actions":case"conditions":return o=t[i][s].find((e=>e._id===a)),o?t[i][s][t[i][s].indexOf(o)]=e:console.warn("Cannot find "+a),t;default:return o=t[i].find((e=>e._id===a)),o?t[i][t[i].indexOf(o)]=e:console.warn("Cannot find "+a),t}}(e,s,n);a&&t(a)}),[s]),k=e=>e.currentTarget!==p&&h(e.currentTarget),w=(0,a.useMemo)((()=>{const t=S(o)||ta;return(0,se.jsx)(t,{isTourOpen:c,setTourStep:d,tourStep:u,notFound:!S(o),...e,onUpdate:b,setOnUpdate:y,enableSimulation:f,onDebugMessage:v,onChange:x,className:null,socket:g})}),[s,b,v,f]),[C,j]=(0,a.useState)(!1);return(0,se.jsxs)("div",{onMouseMove:k,onMouseEnter:k,onMouseLeave:()=>h(null),onMouseDown:e=>{if(e.ctrlKey){let e,a=Qt(l,s,n);e="triggers"!==n?a[l][n].find((e=>e._id===i)):a[l].find((e=>e._id===i)),"triggers"!==n?a[l][n].splice(a[l][n].indexOf(e),0,{...e,_id:Date.now()}):a[l].splice(a[l].indexOf(e),0,{...e,_id:Date.now()}),t(a)}},id:"height",style:r?{width:document.getElementById("width").clientWidth-70}:null,className:"".concat(Ht," ").concat(r?qt:null," ").concat(C?Kt:null),children:[(0,se.jsx)("div",{className:Zt}),w,t&&(0,se.jsx)("div",{className:Gt,style:Boolean(p)?{opacity:1}:{opacity:0},children:(0,se.jsx)("div",{onClick:e=>{let a=Qt(l,s,n);a=Xt(l,a,n,i),j(!0),setTimeout((()=>{"triggers"===l&&y(!0),t(a)}),300)},className:Yt})})]})}));mi.defaultProps={active:!1};const gi=mi,bi={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},yi=(e,t,s)=>{if(!e||!t)return{display:"none"};let{x:a,y:i}=t;s&&(a-=e.x,i-=e.y,[a,i]=((e,t)=>[32*Math.round(e/32),32*Math.round(t/32)])(a,i),a+=e.x,i+=e.y);const o="translate(".concat(a,"px, ").concat(i,"px)");return{transform:o,WebkitTransform:o}},vi=e=>{const{itemType:t,isDragging:s,item:a,initialOffset:i,currentOffset:o,targetIds:n}=(0,Mt.V)((e=>({item:e.getItem(),itemType:e.getItemType(),initialOffset:e.getInitialSourceClientOffset(),currentOffset:e.getSourceClientOffset(),isDragging:e.isDragging(),targetIds:e.getTargetIds()})));return s?(0,se.jsx)("div",{style:bi,children:(0,se.jsx)("div",{style:yi(i,o),children:"box"===t?n.length?(0,se.jsx)(gi,{active:!0,...a,allBlocks:e.allBlocks}):(0,se.jsx)(Jt,{active:!0,...a,socket:e.socket}):null})}):null},fi={border:"style_border__Zz9Km",emptyBlockStyle:"style_emptyBlockStyle__sE5FO",emptyBlock:"style_emptyBlock__dMBHS",marginTop:"style_marginTop__uK9O+",selectOnChange:"style_selectOnChange__6r-uo",selectOnChangeHelp:"style_selectOnChangeHelp__nP0g8",selectOnChangeHelpIcon:"style_selectOnChangeHelpIcon__r7G9x",emptyBlockNone:"style_emptyBlockNone__DS6GG",mainBlockItemRules:"style_mainBlockItemRules__JYCaQ",nameBlockItems:"style_nameBlockItems__sNeEH",contentBlockItem:"style_contentBlockItem__SQejW",wrapperMargin:"style_wrapperMargin__v8PwE",contentHeightOn:"style_contentHeightOn__T3ZZ-",heightBlock:"style_heightBlock__B96p1",contentHeightOff:"style_contentHeightOff__eaSlV",cardAdd:"style_cardAdd__SNY3P",blockCardAdd:"style_blockCardAdd__xHdXK",addClassOverflow:"style_addClassOverflow__bcVva",addClassHeight:"style_addClassHeight__GJALi"};function Si(e,t){const[s,i]=a.useState(localStorage.getItem(t)?JSON.parse(localStorage.getItem(t)):e);return[s,e=>{localStorage.setItem(t,JSON.stringify(e)),i(e)},!!localStorage.getItem(t)]}var xi=s(27686),ki=s(53536),wi=s.n(ki);const Ci=wi().throttle(((e,t)=>e(t)),0),ji=(e,t,s,a,i,o,n,r,l)=>{const{card:c,index:d}=Ii(e,s);if(!(dt&&r>l)&&c&&d!==t){const e=wi().clone(s);e.splice(d,1),e.splice(t,0,c);const r=wi().clone(i);switch(o){case"actions":case"conditions":return r[o][n]=e,void Ci(a,r);default:return r[o]=e,void Ci(a,r)}}},Ii=(e,t)=>{const s=t.find((t=>t._id===e));return{card:s,index:t.indexOf(s)}},Ai="style_drag__Gq61w",Ti="style_root__nSnEB",Di=e=>{let{typeBlocks:t,allProperties:s,id:i,isActive:o,setUserRules:n,userRules:r,children:l,_id:c,blockValue:d}=e;const{setOnUpdate:u}=(0,a.useContext)(ui),[{opacity:p},h,m]=(0,_.i)({type:"box",item:()=>({...s,id:i,isActive:o,_id:c}),end:(e,t)=>{let s,{acceptedBy:a}=e,i=t.getDropResult();if(!i)return"number"!==typeof c||t.getTargetIds().length||(s=Qt(a,r,d),s=Xt(a,s,d,c),n(s)),null;if(i.blockValue!==d){let t="number"===typeof c?c:Date.now();s=Qt(a,r,i.blockValue);const o={id:e.id,acceptedBy:e.acceptedBy};switch(a){case"actions":return d&&(s=Xt(a,s,d,c)),s=Xt(a,s,i.blockValue,c),s[a][i.blockValue].push({...o,_id:t}),n(s);case"conditions":return"number"===typeof d&&(s=Xt(a,s,d,c)),s=Xt(a,s,i.blockValue,c),s[a][i.blockValue].push({...o,_id:t}),n(s);default:return u(!0),s=Xt(a,s,i.blockValue,c),s[a].push({...o,_id:t}),n(s)}}},collect:e=>({opacity:e.isDragging()?.4:1,isDragging:e.isDragging()})}),g=(0,a.useRef)(null),[,b]=(0,R.H)({accept:"box",canDrop:()=>!1,hover(e,s){var a;let{_id:i,acceptedBy:o}=e;if(!g.current)return;if(t!==o)return;const l=null===(a=g.current)||void 0===a?void 0:a.getBoundingClientRect(),u=(l.bottom-l.top)/2,p=s.getClientOffset().y-l.top;if(c&&i!==c)switch(o){case"actions":if("then"===d||"else"===d){const{index:e}=Ii(c,r[o][d]);e!==i&&ji(i,e,r[o][d],n,r,o,d,p,u)}return;case"conditions":if("number"===typeof d){const{index:e}=Ii(c,r[o][d]);e!==i&&ji(i,e,r[o][d],n,r,o,d,p,u)}return;default:const{index:e}=Ii(c,r[o]);return void(e!==i&&ji(i,e,r[o],n,r,o,null,p,u))}}});(0,a.useEffect)((()=>{m((0,xi.n)(),{captureDraggingState:!0})}),[]),h(b(g));const y=window.innerWidth<600;return(0,se.jsxs)("div",{ref:y&&c?null:g,className:Ti,style:{opacity:p},children:[(0,se.jsx)("div",{className:c?Ai:null,ref:c&&y?g:null}),l]})};Di.defaultProps={name:"",active:!1,id:"",_id:null};const Ni=Di,Ei=e=>{let{onClose:t,open:s}=e;return(0,se.jsxs)(K.A,{open:s,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,se.jsx)(G.A,{children:(0,se.jsxs)("div",{style:{fontSize:"1rem",fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif',fontWeight:400,lineHeight:1.5,letterSpacing:"0.00938em"},children:[(0,se.jsx)("h3",{children:S.I18n.t("On condition change")}),(0,se.jsx)("div",{children:S.I18n.t("help_on_change")}),(0,se.jsx)("h3",{children:S.I18n.t("Just check")}),(0,se.jsx)("div",{children:S.I18n.t("help_just_check")})]})}),(0,se.jsx)(Y.A,{children:(0,se.jsx)(H.A,{onClick:t,color:"primary",autoFocus:!0,startIcon:(0,se.jsx)(te.A,{}),children:S.I18n.t("OK")})})]})};Ei.defaultProps={open:!1,onClose:()=>{}};const Oi=Ei,Ri=e=>{let{onClose:t,open:s}=e;return(0,se.jsxs)(K.A,{open:s,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,se.jsx)(G.A,{children:(0,se.jsxs)(Se.A,{id:"alert-dialog-description",children:[(0,se.jsx)("h3",{children:S.I18n.t("On condition change")}),(0,se.jsx)("div",{children:S.I18n.t("help_on_change")}),(0,se.jsx)("h3",{children:S.I18n.t("Just check")}),(0,se.jsx)("div",{children:S.I18n.t("help_just_check")})]})}),(0,se.jsx)(Y.A,{children:(0,se.jsx)(H.A,{onClick:t,color:"primary",autoFocus:!0,children:S.I18n.t("OK")})})]})};Ri.defaultProps={open:!1,onClose:()=>{}};const _i=Ri,Mi=e=>{var t;let{size:s,itemsSwitchesRender:i,blockValue:o,boolean:n,typeBlock:r,userRules:l,setUserRules:c,animation:d,setTourStep:u,tourStep:p,isTourOpen:h}=e;const[m,g]=(0,a.useState)(!1),[b,y]=(0,a.useState)(!1),[v,f]=(0,a.useState)(!1),[x,k]=(0,a.useState)(""),w=(0,R.H)({accept:"box",drop:()=>({blockValue:o}),hover:(e,t)=>{let{acceptedBy:s,_id:a}=e;g(s===r),f(!!a),k(t.getHandlerId())},canDrop:(e,t)=>{let{acceptedBy:s}=e;return y(s===r),s===r},collect:e=>{var t;return{isOver:e.isOver(),canDrop:(null===(t=e.getItem())||void 0===t?void 0:t.acceptedBy)===r,offset:e.getClientOffset(),targetId:e.targetId}}}),[{canDrop:C,isOver:j,offset:I,targetId:A},T]=w;(0,a.useEffect)((()=>{k("")}),[I]);const D=C&&j;let N="";return D?N=m?"#00fb003d":"#fb00002e":C?N=b?"#00fb003d":"#fb00002e":I&&(N=A===x?"#fb00002e":""),(0,se.jsx)("div",{ref:T,style:{backgroundColor:N},className:"".concat(S.Utils.clsx(fi.contentBlockItem,s&&fi.addClassHeight)," ").concat(n?d?fi.contentHeightOn:null:fi.contentHeightOff),children:(0,se.jsxs)("div",{className:fi.wrapperMargin,children:[null===(t=i[o])||void 0===t?void 0:t.map((e=>(0,se.jsx)(Ni,{typeBlocks:r,...e,blockValue:o,allProperties:e,userRules:l,setUserRules:c,children:(0,se.jsx)(gi,{...e,isTourOpen:h,setTourStep:u,tourStep:p,settings:e,blockValue:o,userRules:l,setUserRules:c})},e._id))),(0,se.jsx)("div",{style:D&&m&&!v?{height:document.getElementById("height")?document.getElementById("height").clientHeight:200}:null,className:"".concat(fi.emptyBlockStyle," ").concat(D&&m&&!v?fi.emptyBlock:fi.emptyBlockNone)})]})})};Mi.defaultProps={children:null,boolean:!0,animation:!1};const zi=e=>{let{size:t,typeBlock:s,name:i,nameAdditionally:o,additionally:n,border:r,userRules:l,setUserRules:c,iconName:d,adapter:u,socket:p,setTourStep:h,tourStep:m,isTourOpen:g}=e;const[b,y,v]=Si("actions"!==s&&[],"additionallyClickItems_".concat(s)),[f,x]=(0,a.useState)(!1),[k,w]=(0,a.useState)(!1);(0,a.useEffect)((()=>{if("conditions"===s&&b.length!==l.conditions.length-1){let e=[];l.conditions.forEach(((t,s)=>{s>0&&e.push({_id:Date.now(),open:!0})})),y([...b,...e])}"actions"===s&&!v&&l.actions.else.length&&y(!0)}),[]);const[C,j]=(0,a.useState)(!1);return(0,se.jsxs)("div",{className:"".concat(S.Utils.clsx(fi.mainBlockItemRules,t&&fi.addClassOverflow)," ").concat(r&&!t?fi.border:null),children:[(0,se.jsxs)("span",{id:"width",className:fi.nameBlockItems,children:[(0,se.jsx)(Vt,{iconName:d,className:fi.iconThemCard,adapter:u,socket:p}),i]}),"conditions"===s?(0,se.jsxs)("div",{style:{width:"100%"},children:[(0,se.jsxs)(X.A,{variant:"standard",className:fi.selectOnChange,value:l.justCheck||!1,onChange:e=>{const t=Qt("conditions",l);t.justCheck=e.target.value,c(t)},children:[(0,se.jsx)(E.A,{value:!1,children:S.I18n.t("on condition change")}),(0,se.jsx)(E.A,{value:!0,children:S.I18n.t("just check")})]}),(0,se.jsx)(D.A,{size:"small",title:S.I18n.t("Explanation"),className:fi.selectOnChangeHelp,onClick:()=>x(!0),children:(0,se.jsx)(es.A,{className:fi.selectOnChangeHelpIcon})})]}):null,(0,se.jsx)(Mi,{setTourStep:h,tourStep:m,isTourOpen:g,blockValue:"actions"===s?"then":"conditions"===s?0:s,typeBlock:s,setUserRules:c,userRules:l,size:t,itemsSwitchesRender:"actions"===s?l.actions:"conditions"===s?l.conditions:l}),n&&[...Array("actions"===s?1:l.conditions.length-1)].map(((e,i)=>{const n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return Boolean("actions"===s?b:b.find(((t,s)=>s===e&&t.open)))};return(0,se.jsxs)(a.Fragment,{children:[(0,se.jsxs)("div",{onClick:()=>{if("actions"===s)return y(!b),null;let e=JSON.parse(JSON.stringify(b));if(l.conditions[i+1].length)return e[i].open=!e[i].open,y(e),null;e=e.filter(((e,t)=>t!==i)),y(e),j("actions"===s||i),setTimeout((()=>{j(!1),c({...l,conditions:[...l.conditions.filter(((e,t)=>t!==i+1))]})}),250)},className:fi.blockCardAdd,children:[n()?"-":"+",(0,se.jsx)("div",{className:fi.cardAdd,children:o})]},i),(0,se.jsx)(Mi,{blockValue:"actions"===s?"else":"conditions"===s?i+1:s,typeBlock:s,setUserRules:c,itemsSwitchesRender:"actions"===s?l.actions:"conditions"===s?l.conditions:l,userRules:l,boolean:n(),animation:Boolean(C===i),size:t})]},"".concat(i,"_block_").concat(s))})),n&&"conditions"===s&&(0,se.jsxs)("div",{onClick:()=>{y([...b,{_id:Date.now(),open:!0}]),c({...l,conditions:[...l.conditions,[]]}),j("actions"===s||l.conditions.length-1),setTimeout((()=>j(!1)),1e3)},className:fi.blockCardAdd,children:["+",(0,se.jsx)("div",{className:fi.cardAdd,children:o})]}),(0,se.jsx)(Oi,{open:f,onClose:()=>x(!1)}),(0,se.jsx)(_i,{open:k,onClose:()=>w(!1)})]})};zi.defaultProps={children:null,name:"",nameAdditionally:"",additionally:!1,border:!1,typeBlock:""};const Bi=zi,Pi="style_menuRules__NRFrw",Fi="style_switchesRenderWrapper__MHBpo",Li="style_menuOff__GV8BN",Ui="style_menuTitle__bnI7K",Vi="style_marginAuto__h3I6J",Wi="style_inputWidth__Hkd3w",Ji="style_menuWrapper__16zE-",Hi="style_hamburgerWrapper__+AsNg",qi="style_hamburgerOff__Tmmok",Gi="style_nothingFound__hm0xN",Yi="style_resetSearch__oA8LS",Ki="style_controlPanel__ojI7Z",Zi="style_controlPanelAppBar__fjB3Y",Qi="style_addClassMenu__3n58b",Xi="style_addClassBackground__j1FHK",$i="style_addClassPosition__YL+W4",eo=e=>{const{allProperties:t,allProperties:{acceptedBy:s,id:a},setUserRules:i,userRules:o,setTourStep:n,tourStep:r,isTourOpen:l,onTouchMove:c}=e;return(0,se.jsx)(Ni,{...e,...t,children:(0,se.jsx)(Jt,{onTouchMove:c,onDoubleClick:()=>{l&&r===Hs&&"TriggerScheduleBlock"===a&&n(qs),l&&r===Ks&&"ActionPrintText"===a&&n(Zs);let e,t=Date.now();switch(s){case"actions":e="then";break;case"conditions":e=o[s].length-1}let c=Qt(s,o,e);const d={id:a,_id:t,acceptedBy:s};void 0!==e?c[s][e].push({...d}):c[s].push({...d}),i(c)},onDoubl:!0,...e,...t})})},to="hamburgerMenu_hamburgerMenu__zKaBW",so="hamburgerMenu_animate__CjZxq",ao=e=>{let{boolean:t}=e;return(0,se.jsx)("div",{className:"".concat(to," ").concat(t?so:"")})};ao.defaultProps={boolean:!1};const io=ao,oo=e=>{let{addClass:t,setAllBlocks:s,allBlocks:i,userRules:o,onChangeBlocks:n,setTourStep:r,tourStep:l,isTourOpen:c}=e;const{blocks:d,socket:u}=(0,a.useContext)(ui),[p,h]=Si(!1,"hamburgerOnOff"),[m,g]=Si({text:"",type:"triggers",index:0},"filterControlPanel"),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.text,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.type;if(!d)return;let a=[...d];a=a.filter((t=>{if(!e)return!0;const{name:s}=t.getStaticData();return s&&S.I18n.t(s).toLowerCase().includes(e.toLowerCase())})),a=a.filter((e=>t===e.getStaticData().acceptedBy)),s(a)},y=e=>({id:"scrollable-force-tab-".concat(e),"aria-controls":"scrollable-force-tabpanel-".concat(e)});return(0,a.useEffect)((()=>{b()}),[d]),(0,se.jsx)(ct.ClickAwayListener,{mouseEvent:!1,touchEvent:"onTouchStart",onClickAway:()=>h(!0),children:(0,se.jsxs)("div",{className:S.Utils.clsx(Ji,t[1035]&&Qi),children:[(0,se.jsx)("div",{className:"".concat(Hi," ").concat(p?qi:null),onClick:()=>h(!p),children:(0,se.jsx)(io,{boolean:!p})}),(0,se.jsxs)("div",{className:"".concat(S.Utils.clsx(Pi,t[1035]&&Xi,t[835]&&$i)," ").concat(p?Li:null),children:[(0,se.jsx)("div",{className:Ki,children:(0,se.jsx)(ct.AppBar,{className:Zi,position:"static",children:(0,se.jsxs)(ct.Tabs,{value:m.index,onChange:(e,t)=>{c&&0===t&&l===Js&&r(Hs),c&&2===t&&l===Ys&&r(Ks),g({...m,index:t,type:["triggers","conditions","actions"][t]}),b(m.text,["triggers","conditions","actions"][t])},children:[(0,se.jsx)(ct.Tab,{className:"blocks-triggers",title:S.I18n.t("Triggers"),icon:(0,se.jsx)(Vt,{iconName:"FlashOn"}),...y(0)}),(0,se.jsx)(ct.Tab,{title:S.I18n.t("Conditions"),className:"blocks-conditions",icon:(0,se.jsx)(Vt,{iconName:"Help"}),...y(1)}),(0,se.jsx)(ct.Tab,{title:S.I18n.t("Actions"),className:"blocks-actions",icon:(0,se.jsx)(Vt,{iconName:"PlayForWork"}),...y(2)})]})})}),(0,se.jsx)("div",{className:Fi,children:(0,se.jsxs)("span",{children:[i.map((e=>{const{name:t,id:s,icon:i,adapter:d}=e.getStaticData();return(0,se.jsx)(a.Fragment,{children:(0,se.jsx)(eo,{onTouchMove:()=>h(!0),setTourStep:r,tourStep:l,isTourOpen:c,allProperties:e.getStaticData(),name:t,icon:i,adapter:d,socket:u,userRules:o,setUserRules:n,isActive:!1,id:s})},s)})),0===i.length&&(0,se.jsxs)("div",{className:Gi,children:[S.I18n.t("Nothing found"),"...",(0,se.jsx)("div",{className:Yi,onClick:()=>{g({...m,text:""}),b("")},children:S.I18n.t("reset search")})]})]})}),(0,se.jsx)("div",{className:S.Utils.clsx(Ui,Vi)}),(0,se.jsx)(bs,{className:Wi,fullWidth:!0,customValue:!0,value:m.text,size:"small",autoComplete:"off",label:S.I18n.t("search"),variant:"outlined",onChange:e=>{g({...m,text:e}),b(e)}})]})]})})},no=e=>{let{code:t,onChange:s,themeName:i,setTourStep:o,tourStep:n,isTourOpen:r,command:l,scriptId:c,changed:d,running:u}=e;const{blocks:p,socket:h,setOnUpdate:m,setOnDebugMessage:g,setEnableSimulation:b}=(0,a.useContext)(ui),[y,v]=(0,a.useState)([]),[f,x]=(0,a.useState)(Sa.code2json(t)),[k,w]=(0,a.useState)(""),[C,j]=(0,a.useState)(!1);(0,a.useEffect)((()=>{let e,t;const s=(a,i)=>{var o,n;a===e+".alive"?t!==(null===i||void 0===i?void 0:i.val)&&(t=null===i||void 0===i?void 0:i.val,t&&h.sendTo(e.replace(/^system\.adapter\./,""),"rulesOn",c)):e!==(null===i||void 0===i||null===(o=i.common)||void 0===o?void 0:o.engine)&&(e&&h.unsubscribeState("".concat(e,".alive"),s),t&&h.sendTo(e.replace(/^system\.adapter\./,""),"rulesOn",c),e=null===i||void 0===i||null===(n=i.common)||void 0===n?void 0:n.engine,e&&h.subscribeState("".concat(e,".alive"),s))},a=(e,t)=>{if(t)try{let e=JSON.parse(t.val);e.ruleId===c&&Date.now()-e.ts<1e3&&g({blockId:e.blockId,data:e.data,ts:e.ts})}catch(s){console.error("Cannot parse: "+t.val)}};return h.getObject(c).then((t=>{var i;e=null===t||void 0===t||null===(i=t.common)||void 0===i?void 0:i.engine,h.subscribeObject(c,s),e&&h.subscribeState("".concat(e,".alive"),s),e&&h.subscribeState(e.replace(/^system\.adapter\./,"")+".debug.rules",a)})),function(){e&&h.unsubscribeObject("".concat(e,".alive"),s),h.unsubscribeState(c,s),t&&e&&h.sendTo(e.replace(/^system\.adapter\./,""),"rulesOff",c),e&&h.unsubscribeState(e.replace(/^system\.adapter\./,"")+".debug.rules",a)}}),[]),(0,a.useEffect)((()=>{b(!d&&u)}),[d,u,b]),(0,a.useEffect)((()=>{l&&(w(l),C||j(!0))}),[l]),(0,a.useEffect)((()=>{const e=Sa.code2json(t);JSON.stringify(e)!==JSON.stringify(f)&&(x(e),m(!0))}),[t]),(0,a.useEffect)((()=>{document.getElementsByTagName("HTML")[0].className=i||"blue"}),[i]);const I=(0,a.useCallback)((e=>{x(e),s(Sa.json2code(e,p))}),[p,s]),A=(0,a.useRef)({clientWidth:0}),[T,D]=(0,a.useState)({835:!1,1035:!1});return(0,a.useEffect)((()=>{A.current&&(A.current.clientWidth<=1035&&D({835:!1,1035:!0}),A.current.clientWidth<=835&&D({1035:!0,835:!0}),A.current.clientWidth>1035&&D({835:!1,1035:!1}))}),[A.current.clientWidth]),p?(0,se.jsxs)("div",{className:Ot,ref:A,children:[(0,se.jsx)(vi,{allBlocks:y,socket:h}),"export"===k?(0,se.jsx)(yt,{onClose:()=>j(!1),open:C,text:JSON.stringify(f,null,2)},"dialogExport"):(0,se.jsx)(St,{open:C,onClose:e=>{j(!1),e&&I(JSON.parse(e))}},"dialogImport"),(0,se.jsxs)("div",{className:S.Utils.clsx(Rt,T[835]&&_t),children:[(0,se.jsx)(oo,{setAllBlocks:v,allBlocks:y,userRules:f,onChangeBlocks:I,setTourStep:o,tourStep:n,addClass:T,isTourOpen:r}),(0,se.jsx)(Bi,{setUserRules:I,userRules:f,isTourOpen:r,setTourStep:o,tourStep:n,name:"".concat(S.I18n.t("when"),"..."),typeBlock:"triggers",iconName:"FlashOn",size:T[835]}),(0,se.jsx)(Bi,{setUserRules:I,isTourOpen:r,setTourStep:o,tourStep:n,userRules:f,name:"...".concat(S.I18n.t("and"),"..."),typeBlock:"conditions",iconName:"Help",nameAdditionally:S.I18n.t("or"),additionally:!0,border:!0,size:T[835]}),(0,se.jsx)(Bi,{setUserRules:I,isTourOpen:r,setTourStep:o,tourStep:n,userRules:f,name:"...".concat(S.I18n.t("then")),typeBlock:"actions",iconName:"PlayForWork",nameAdditionally:S.I18n.t("else"),additionally:!0,size:T[835]})]})]},"rulesEditor"):null};var ro=s(38968);class lo extends i().Component{constructor(e){super(e),this.state={lines:(this.props.script||"").split(/\r\n|\n/)}}editorDidMount(e,t){this.monaco=t,this.editor=e,e.focus()}render(){return(0,se.jsx)("div",{className:this.props.classes.editorDiv,children:(0,se.jsx)(pt,{name:this.props.scriptName,adapterName:this.props.adapterName,readOnly:!0,code:this.props.script||"",isDark:"dark"===this.props.themeType,socket:this.props.socket,runningInstances:this.props.runningInstances,language:"javascript",breakpoints:this.props.breakpoints,location:this.props.paused?this.props.location:null,onToggleBreakpoint:e=>this.props.onToggleBreakpoint(e)},"scriptEditor2")},"scriptEditorDiv2")}}const co=(0,u.A)((e=>({editorDiv:{height:"100%",width:"100%",overflow:"hidden",position:"relative"},editor:{width:"100%",height:"100%",overflow:"auto"},line:{width:"100%",whiteSpace:"nowrap"},lineNumber:{width:40,whiteSpace:"nowrap",overflow:"hidden",display:"inline-block",fontFamily:"Lucida Console, Courier, monospace",textAlign:"right",fontSize:14,marginRight:1,borderRight:"1px solid #555",cursor:"pointer"},lineBreakpoint:{background:"#330000",color:"white"},lineCode:{display:"inline-block",fontFamily:"Lucida Console, Courier, monospace",fontSize:14,margin:0,whiteSpace:"pre"},lineCurrentCode:{background:"red",color:"white"},lineCurrent:{background:"#880000",color:"white"}})))(lo);function uo(e){let t,s=e.getHours();return s<10&&(s="0"+s.toString()),t=s+":",s=e.getMinutes(),s<10&&(s="0"+s.toString()),t+=s+":",s=e.getSeconds(),s<10&&(s="0"+s.toString()),t+=s+".",s=e.getMilliseconds(),s<10?s="00"+s.toString():s<100&&(s="0"+s.toString()),t+=s,t}class po extends i().Component{constructor(e){super(e),this.state={lines:{},goBottom:!0},this.messagesEnd=i().createRef()}generateLine(e){return(0,se.jsxs)("tr",{className:this.props.classes[e.severity],children:[(0,se.jsx)("td",{className:this.props.classes.trTime,children:uo(new Date(e.ts))},"tdTime"),(0,se.jsx)("td",{className:this.props.classes.trSeverity,children:e.severity},"tdSeverity"),(0,se.jsx)("td",{children:e.text},"tdMessage")]},"tr_".concat(e.ts,"_").concat(e.text.substr(-10)))}renderLogList(e){return e&&e.length?(0,se.jsxs)("div",{className:this.props.classes.logBoxInner,children:[(0,se.jsx)("table",{className:this.props.classes.table,children:(0,se.jsx)("tbody",{children:e.map(((e,t)=>this.generateLine(e)))})},"logTable"),(0,se.jsx)("div",{ref:this.messagesEnd,style:{float:"left",clear:"both"}},"logScrollPoint")]},"logList"):(0,se.jsx)("div",{className:this.props.classes.logBoxInner,style:{paddingLeft:10},children:S.I18n.t("Log outputs")},"logList")}onCopy(){S.Utils.copyToClipboard(this.props.console.join("\n"))}scrollToBottom(){this.messagesEnd&&this.messagesEnd.current&&this.messagesEnd.current.scrollIntoView({behavior:"smooth"})}componentDidUpdate(){this.state.goBottom&&this.scrollToBottom()}render(){const e=this.props.console;return(0,se.jsxs)("div",{className:this.props.classes.logBox,children:[(0,se.jsxs)("div",{className:this.props.classes.toolbox,children:[(0,se.jsx)(D.A,{className:this.props.classes.iconButtons,onClick:()=>this.setState({goBottom:!this.state.goBottom}),color:this.state.goBottom?"secondary":"",size:"medium",children:(0,se.jsx)(x.QHh,{})}),e&&e.length?(0,se.jsx)(D.A,{className:this.props.classes.iconButtons,onClick:()=>this.props.onClearAllLogs(),size:"medium",children:(0,se.jsx)(x.kgr,{})}):null,e&&e.length?(0,se.jsx)(D.A,{className:this.props.classes.iconButtons,onClick:()=>this.onCopy(),size:"medium",children:(0,se.jsx)(x.kn0,{})}):null]},"toolbox"),this.renderLogList(e)]})}}const ho=(0,u.A)((e=>({consoleLine:{fontSize:14,color:"dark"===e.palette.mode?"#EEE":"#222"},console_log:{},console_warn:{backgroundColor:"dark"===e.palette.mode?"#885900":"#ffa500"},console_error:{backgroundColor:"dark"===e.palette.mode?"#7a0000":"#FF0000"},console_debug:{opacity:.6},consoleSeverity:{verticalAlign:"top",width:50,textTransform:"uppercase"},consoleTime:{whiteSpace:"nowrap",verticalAlign:"top",width:170},consoleText:{fontFamily:"Lucida Console, Courier, monospace",paddingTop:4,"&>pre":{margin:0}},logBox:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},logBoxInner:{display:"inline-block",color:"dark"===e.palette.mode?"white":"black",width:"calc(100% - ".concat(34,"px)"),height:"100%",overflow:"auto",position:"relative",verticalAlign:"top"},info:{background:"dark"===e.palette.mode?"darkgrey":"lightgrey",color:(e.palette.mode,"black")},error:{background:"#FF0000",color:"dark"===e.palette.mode?"black":"white"},warn:{background:"#FF8000",color:"dark"===e.palette.mode?"black":"white"},debug:{background:"gray",opacity:.8,color:"dark"===e.palette.mode?"black":"white"},silly:{background:"gray",opacity:.6,color:"dark"===e.palette.mode?"black":"white"},table:{fontFamily:"monospace",width:"100%"},toolbox:{width:34,height:"100%",boxShadow:"2px 0px 4px -1px rgba(0, 0, 0, 0.2), 4px 0px 5px 0px rgba(0, 0, 0, 0.14), 1px 0px 10px 0px rgba(0, 0, 0, 0.12)",display:"inline-block",verticalAlign:"top",overflow:"hidden"},trTime:{width:90},trSeverity:{width:40,fontWeight:"bold"},iconButtons:{width:32,height:32,padding:4}})))(po);var mo=s(94526),go=s.n(mo);class bo extends i().Component{constructor(e){super(e),this.framesSize=parseFloat(window.localStorage.getItem("App.framesSize"))||300,this.state={editValue:null,callFrames:this.props.callFrames},this.editRef=i().createRef()}onExpressionNameUpdate(){this.props.onExpressionNameUpdate(this.state.editValue.index,this.scopeValue,(()=>{this.setState({editValue:null}),this.scopeValue=null}))}renderExpression(e,t){const s=this.state.editValue&&"expression"===this.state.editValue.type&&this.state.editValue.index===t?(0,se.jsx)(O.A,{inputRef:this.editRef,fullWidth:!0,margin:"dense",onBlur:()=>this.state.editValue&&this.setState({editValue:null}),defaultValue:e.name,onKeyUp:e=>{13===e.keyCode?this.onExpressionNameUpdate():27===e.keyCode&&this.setState({editValue:null})},onChange:e=>this.scopeValue=e.target.value,endAdornment:(0,se.jsx)(Ce.A,{position:"end",children:(0,se.jsx)(D.A,{onClick:()=>this.onExpressionNameUpdate(),size:"medium",children:(0,se.jsx)(x.g9_,{})})})}):[(0,se.jsx)("div",{className:this.props.classes.scopeNameName,title:S.I18n.t("Double click to edit expression"),children:e.name},"name"),(0,se.jsx)("div",{className:this.props.classes.scopeNameEqual,children:" = "},"="),(0,se.jsx)("div",{className:this.props.classes.scopeNameValue,children:this.formatValue(e.value)},"val")];return(0,se.jsxs)("tr",{children:[(0,se.jsx)("td",{className:S.Utils.clsx(this.props.classes.scopeType,this.props.classes.scopeType_user),children:"user"}),(0,se.jsx)("td",{className:this.props.classes.scopeName,onDoubleClick:()=>{this.scopeValue=e.name||"",this.setState({editValue:{type:"expression",valueType:"string",index:t,name:e.name,value:e.name||""}})},children:s}),(0,se.jsx)(D.A,{className:this.props.classes.scopeButtonDel,size:"small",disabled:!!this.state.editValue,onClick:()=>this.props.onExpressionDelete(t),children:(0,se.jsx)(x.b6i,{})})]},"user_".concat(t).concat(e.name))}renderExpressions(){return this.props.expressions.map(((e,t)=>this.renderExpression(e,t)))}renderOneFrameTitle(e,t){if(this.props.mainScriptId===this.props.currentScriptId&&e.location.scriptId!==this.props.mainScriptId)return null;const s=e.url.split("/").pop().replace(/^script\.js\./,"");return(0,se.jsx)(ro.A,{onClick:()=>this.props.onChangeCurrentFrame(t),dense:!0,selected:this.props.currentFrame===t,classes:{root:this.props.classes.frameRoot},children:(0,se.jsx)(T.A,{classes:{root:this.props.classes.frameTextRoot,primary:this.props.classes.frameTextPrimary,secondary:this.props.classes.frameTextSecondary},title:e.url,primary:e.functionName||"anonymous",secondary:"".concat(s," (").concat(e.location.lineNumber,":").concat(e.location.columnNumber,")")})},e.id)}formatValue(e,t){if(e){if("function"===e.type){const s=e.description?e.description.length>100?e.description.substring(0,100)+"...":e.description:"function";return t?s:(0,se.jsx)("span",{className:this.props.classes.valueFunc,title:e.description,children:s})}if(void 0===e.value)return t?"undefined":(0,se.jsx)("span",{className:this.props.classes.valueUndefined,children:"undefined"});if(null===e.value)return t?"null":(0,se.jsx)("span",{className:this.props.classes.valueNull,children:"null"});if("string"===e.type){if(t)return e.value;{const t=e.value?e.value.length>100?e.value.substring(0,100)+"...":e.value:"";return(0,se.jsxs)("span",{className:this.props.classes.valueString,title:t,children:['"',t,'"']})}}return"boolean"===e.type?t?e.value.toString():(0,se.jsx)("span",{className:this.props.classes.valueBoolean,children:e.value.toString()}):"object"===e.type?t?JSON.stringify(e.value):(0,se.jsx)(go(),{enableClipboard:!1,style:{backgroundColor:"inherit",marginTop:3},src:e.value,collapsed:!0,theme:"dark"===this.props.themeType?"brewer":"rjv-default",displayDataTypes:!1}):e.value.toString()}return t?"none":(0,se.jsx)("span",{className:this.props.classes.valueNone,children:"none"})}onWriteScopeValue(){"true"===this.scopeValue?this.scopeValue=!0:"false"===this.scopeValue?this.scopeValue=!1:"null"===this.scopeValue?this.scopeValue=null:"undefined"===this.scopeValue?this.scopeValue=void 0:parseFloat(this.scopeValue).toString()===this.scopeValue&&(this.scopeValue=parseFloat(this.scopeValue)),this.props.onWriteScopeValue({variableName:this.state.editValue.name,scopeNumber:0,newValue:{value:this.scopeValue,valueType:typeof this.scopeValue},callFrameId:this.props.callFrames[this.props.currentFrame].callFrameId}),this.setState({editValue:null}),this.scopeValue=null}componentDidUpdate(){var e;null===(e=this.editRef.current)||void 0===e||e.focus()}renderScope(e,t,s){var a,i;const o=!this.props.currentFrame&&t.value&&("undefined"===t.value.type||"string"===t.value.type||"number"===t.value.type||"boolean"===t.value.type||null===(null===(a=t.value)||void 0===a?void 0:a.value)||void 0===(null===(i=t.value)||void 0===i?void 0:i.value)),n=this.state.editValue&&this.state.editValue.type===s&&this.state.editValue.name===t.name?[(0,se.jsx)("div",{className:this.props.classes.scopeNameName,children:t.name},"name"),(0,se.jsx)("div",{className:this.props.classes.scopeNameEqual,children:" = "},"="),(0,se.jsx)(O.A,{inputRef:this.editRef,margin:"dense",onBlur:()=>this.state.editValue&&this.setState({editValue:null}),defaultValue:this.formatValue(t.value,!0),onKeyUp:e=>{13===e.keyCode?this.onWriteScopeValue():27===e.keyCode&&this.setState({editValue:null})},onChange:e=>this.scopeValue=e.target.value,endAdornment:(0,se.jsx)(Ce.A,{position:"end",children:(0,se.jsx)(D.A,{onClick:()=>this.onWriteScopeValue(),size:"medium",children:(0,se.jsx)(x.g9_,{})})})})]:[(0,se.jsx)("div",{className:this.props.classes.scopeNameName,title:S.I18n.t("Double click to write value"),children:t.name},"name"),(0,se.jsx)("div",{className:this.props.classes.scopeNameEqual,children:" = "},"="),(0,se.jsxs)("div",{className:this.props.classes.scopeNameValue,children:[this.formatValue(t.value)," (",t.value.type,")"]},"val")];return(0,se.jsxs)("tr",{children:[(0,se.jsx)("td",{className:S.Utils.clsx(this.props.classes.scopeType,this.props.classes["scopeType_"+s]),children:s}),(0,se.jsx)("td",{className:S.Utils.clsx(this.props.classes.scopeName,!this.props.currentFrame&&o&&this.props.classes.scopeValueEditable),onDoubleClick:()=>{o&&(this.scopeValue=t.value.value,this.setState({editValue:{scopeId:e,type:s,valueType:t.value.type,name:t.name,value:t.value.value}}))},children:n})]},"".concat(s,"_").concat(e,"_").concat(t.name))}renderScopes(e){if(e){var t,s,a,i,o,n;let e=this.renderExpressions(),r=null===(t=this.props.scopes)||void 0===t||null===(s=t.local)||void 0===s||null===(a=s.properties)||void 0===a?void 0:a.result.map((e=>this.renderScope(this.props.scopes.id,e,"local")));return r&&r.forEach((t=>e.push(t))),r=null===(i=this.props.scopes)||void 0===i||null===(o=i.closure)||void 0===o||null===(n=o.properties)||void 0===n?void 0:n.result.map((e=>this.renderScope(this.props.scopes.id,e,"closure"))),r&&r.forEach((t=>e.push(t))),(0,se.jsx)("table",{style:{width:"100%"},children:(0,se.jsx)("tbody",{children:e})})}return null}render(){return(0,se.jsxs)(h(),{customClassName:this.props.classes.splitter,primaryIndex:1,secondaryMinSize:200,primaryMinSize:200,vertical:!1,secondaryInitialSize:this.framesSize,onSecondaryPaneSizeChange:e=>this.framesSize=parseFloat(e),onDragEnd:()=>window.localStorage.setItem("App.framesSize",this.framesSize.toString()),children:[(0,se.jsx)("div",{style:{width:"100%",height:"100%",overflow:"auto"},children:(0,se.jsx)(C.A,{classes:{root:this.props.classes.listRoot},children:this.props.callFrames?this.props.callFrames.map(((e,t)=>this.renderOneFrameTitle(e,t))):null})}),(0,se.jsxs)("div",{style:{width:"100%",height:"100%",overflow:"auto"},children:[(0,se.jsx)("div",{className:this.props.classes.toolbarScopes,children:(0,se.jsx)(D.A,{size:"small",onClick:()=>this.props.onExpressionAdd(((e,t)=>{this.scopeValue=t.name||"",this.setState({editValue:{type:"expression",valueType:"string",index:e,name:t.name,value:t.name||""}})})),children:(0,se.jsx)(x.jgn,{})})}),(0,se.jsx)("div",{className:this.props.classes.scopesAfterToolbar,children:this.props.callFrames&&this.props.callFrames.length&&this.renderScopes(this.props.callFrames[this.props.currentFrame])})]})]})}}const yo=(0,u.A)((e=>({frameRoot:{paddingTop:0,paddingBottom:0},frameTextRoot:{margin:0},frameTextPrimary:{color:"dark"===e.palette.mode?"#CCC":"#333"},frameTextSecondary:{fontStyle:"italic",fontSize:12,opacity:.6,paddingLeft:e.spacing(1)},listRoot:{padding:0},scopeType:{verticalAlign:"top",textTransform:"uppercase",width:50},scopeType_local:{color:"#53a944"},scopeType_closure:{color:"#365b80"},scopeType_user:{color:"#a48a15"},scopeName:{color:"#bc5b5b",width:"calc(100% - 82px)",whiteSpace:"nowrap",textOverflow:"ellipsis"},scopeButton:{width:32},scopeValueEditable:{cursor:"pointer"},selectedFrame:{backgroundColor:"#777",color:"white"},splitter:{width:"100%",height:"calc(100% - 36px)",overflow:"hidden",fontSize:12},toolbarScopes:{width:24,display:"inline-block",height:"100%",background:"dark"===e.palette.mode?"#222":"#EEE",verticalAlign:"top"},scopesAfterToolbar:{width:"calc(100% - 24px)",display:"inline-block",height:"100%",verticalAlign:"top"},scopeNameName:{fontWeight:"bold",display:"inline-block",verticalAlign:"top"},scopeNameEqual:{display:"inline-block",color:"dark"===e.palette.mode?"#EEE":"#222",verticalAlign:"top"},scopeNameValue:{verticalAlign:"top",display:"inline-block",color:"#3b709f",whiteSpace:"nowrap"},scopeButtonDel:{padding:0,float:"right"},valueNull:{color:"#a44a24"},valueUndefined:{color:"#a44a24"},valueString:{color:"#1e8816"},valueNumber:{color:"#163c88"},valueBoolean:{color:"#a44a24"},valueObject:{color:"#721b70"},valueNone:{color:"#8a8a8a"},valueFunc:{color:"#ac4343"}})))(bo);class vo extends i().Component{constructor(e){super(e),this.fromInstance=(e,t)=>{try{const e=JSON.parse(t.val);if("subscribed"===e.cmd)this.props.socket.sendTo(this.state.instance,"debug",this.props.debugInstance||{scriptName:this.props.src});else if("readyToDebug"===e.cmd){var s;this.mainScriptId=e.scriptId,this.scripts[e.scriptId]=e.script,e.script.startsWith("(async () => {debugger;\n")?this.scripts[e.scriptId]="(async () => {\n".concat(e.script.substring(24)):e.script.startsWith("debugger;")&&(this.scripts[e.scriptId]=e.script.substring(9));const t=JSON.parse(JSON.stringify(this.state.tabs));t[e.scriptId]=this.props.debugInstance?e.url:this.props.src.replace("script.js.","");const a="".concat(Date.now(),".").concat(1e4*Math.random());(null===(s=e.context)||void 0===s?void 0:s.callFrames)&&e.context.callFrames.forEach(((e,t)=>e.id=a+t)),this.setState({starting:!1,finished:!1,selected:this.mainScriptId,script:this.scripts[e.scriptId],tabs:t,currentFrame:0,started:!0,paused:!0,location:this.getLocation(e.context),context:e.context},(()=>this.reinitBreakpoints((()=>{this.readCurrentScope(),this.readExpressions()}))))}else if("paused"===e.cmd){var a,i;const t="".concat(Date.now(),".").concat(1e4*Math.random());(null===(a=e.context)||void 0===a?void 0:a.callFrames)&&e.context.callFrames.forEach(((e,s)=>e.id=t+s));const s=this.getLocation(e.context),o=JSON.parse(JSON.stringify(this.state.tabs)),n=e.context.callFrames[0].url.split("iobroker.javascript");o[s.scriptId]=(n[1]||n[0]).replace("script.js.","");const r={tabs:o,paused:!0,location:s,currentFrame:0,context:e.context,scope:{id:(null===(i=e.context)||void 0===i?void 0:i.callFrames)&&e.context.callFrames[0]&&e.context.callFrames[0].id||0}};r.script=void 0===this.scripts[s.scriptId]?S.I18n.t("loading..."):this.scripts[s.scriptId],r.selected=s.scriptId,this.setState(r,(()=>{this.readCurrentScope(),this.readExpressions(),this.scripts[s.scriptId]||this.sendToInstance({cmd:"source",scriptId:s.scriptId})}))}else if("script"===e.cmd)this.scripts[e.scriptId]=e.text,this.state.selected===e.scriptId&&this.setState({script:this.scripts[e.scriptId]});else if("resumed"===e.cmd)this.setState({paused:!1});else if("log"===e.cmd)if("console"===this.state.toolsTab){this.console=null;const t=[...this.state.console];t.push({text:e.text,severity:e.severity,ts:e.ts}),this.setState({console:t})}else"error"===e.severity?this.setState({logErrors:this.state.logErrors+1}):"warn"===e.severity?this.setState({logWarnings:this.state.logWarnings+1}):this.setState({logs:this.state.logs+1}),this.console=this.console||[...this.state.console],this.console.push({text:e.text,severity:e.severity,ts:e.ts});else if("error"===e.cmd)this.setState({error:e.error});else if("finished"===e.cmd||"debugStopped"===e.cmd)this.setState({finished:!0,starting:!1,started:!0});else if("sb"===e.cmd){const t=JSON.parse(JSON.stringify(this.state.breakpoints));let s=!1;e.breakpoints.filter((e=>e)).forEach((e=>{t.find((t=>t.location.scriptId===e.location.scriptId&&t.location.lineNumber===e.location.lineNumber))||(s=!0,t.push(e))})),s&&window.localStorage.setItem("javascript.tools.bp."+this.props.src,JSON.stringify(t)),s&&this.setState({breakpoints:t})}else if("cb"===e.cmd){const t=JSON.parse(JSON.stringify(this.state.breakpoints));let s=!1;e.breakpoints.filter((e=>void 0!==e&&null!==e)).forEach((e=>{const a=t.find((t=>t.id===e));if(a){const e=t.indexOf(a);t.splice(e,1),s=!0}})),s&&window.localStorage.setItem("javascript.tools.bp."+this.props.src,JSON.stringify(t)),s&&this.setState({breakpoints:t})}else if("scope"===e.cmd){const t=e.scopes.find((e=>"local"===e.type))||null,s=e.scopes.find((e=>"closure"===e.type))||null;console.log(JSON.stringify(s)),this.setState({scopes:{local:t,closure:s,id:"".concat(this.state.scope.id,"_").concat(this.state.currentFrame)}})}else if("setValue"===e.cmd){const t=JSON.parse(JSON.stringify(this.state.scopes));let s;s=0===e.scopeNumber?t.local&&t.local.properties&&t.local.properties.result&&t.local.properties.result.find((t=>t.name===e.variableName)):t.closure&&t.closure.properties&&t.closure.properties.result&&t.closure.properties.result&&t.closure.properties.result.find((t=>t.name===e.variableName)),s&&(s.value.value=e.newValue.value,this.setState({scopes:t}))}else if("expressions"===e.cmd){let t=JSON.parse(JSON.stringify(this.state.expressions)),s=!1;e.expressions.forEach((e=>{const a=t.find((t=>t.name===e.name));a&&(s=!0,a.value=e.result)})),s&&this.setState({expressions:t}),console.log("expressions: "+JSON.stringify(e))}else if("getPossibleBreakpoints"===e.cmd){var o,n,r,l;1===(null===(o=e.breakpoints)||void 0===o||null===(n=o.locations)||void 0===n?void 0:n.length)?this.sendToInstance({breakpoints:e.breakpoints.locations,cmd:"sb"}):null!==(r=e.breakpoints)&&void 0!==r&&null!==(l=r.locations)&&void 0!==l&&l.length?this.setState({queryBreakpoints:e.breakpoints.locations}):window.alert("cannot set")}else console.error("Unknown command: ".concat(JSON.stringify(e)))}catch(c){}};let t=window.localStorage.getItem("javascript.tools.bp."+this.props.src);try{t=t?JSON.parse(t):[]}catch(a){t=[]}let s=window.localStorage.getItem("javascript.tools.exps."+this.props.src);try{s=s?JSON.parse(s):[],s=s.map((e=>({name:e})))}catch(a){s=[]}this.toolSize=window.localStorage&&parseFloat(window.localStorage.getItem("App.toolSize"))||150,this.state={starting:!0,selected:null,tabs:{},script:"",breakpoints:t,expressions:s,running:!1,error:"",started:!1,paused:!0,location:null,toolsTab:window.localStorage.getItem("javascript.tools.tab")||"console",stopOnException:"true"===window.localStorage.getItem("javascript.tools.stopOnException"),console:[],finished:!1,currentFrame:0,scopes:{},queryBreakpoints:null,logErrors:0,logWarnings:0,logs:0},this.scripts={},this.mainScriptId=null}componentDidMount(){new Promise((e=>{this.props.debugInstance?e(this.props.debugInstance.instance):this.props.socket.getObject(this.props.src).then((t=>{var s,a;return e(null===t||void 0===t||null===(s=t.common)||void 0===s||null===(a=s.engine)||void 0===a?void 0:a.replace("system.adapter.",""))}))})).then((e=>this.setState({instance:e},(()=>{this.state.instance?(this.props.socket.setState("".concat(this.state.instance,".debug.from"),{val:'{"cmd": "subscribed"}',ack:!0}),setTimeout((()=>this.props.socket.subscribeState("".concat(this.state.instance,".debug.from"),this.fromInstance)),200)):this.setState({error:"Unknown instance"})}))))}componentWillUnmount(){this.state.instance&&(this.props.socket.unsubscribeState("".concat(this.state.instance,".debug.from"),this.fromInstance),this.props.socket.sendTo(this.state.instance,"debugStop"))}sendToInstance(e){this.props.socket.setState("".concat(this.state.instance,".debug.to"),{val:JSON.stringify(e),ack:!1})}reinitBreakpoints(e){if(this.state.breakpoints.length){let t=JSON.parse(JSON.stringify(this.state.breakpoints));t=t.map((e=>e.location)),this.setState({breakpoints:[]},(()=>{this.sendToInstance({breakpoints:t,cmd:"sb"}),this.state.stopOnException&&this.sendToInstance({cmd:"stopOnException",state:!0}),e&&e()}))}else this.state.stopOnException?(this.sendToInstance({cmd:"stopOnException",state:!0}),e&&e()):e&&e()}getLocation(e){if(e.callFrames){return e.callFrames[0].location}}readCurrentScope(){var e;const t=(null===(e=this.state.context)||void 0===e?void 0:e.callFrames)&&this.state.context.callFrames[this.state.currentFrame];if(t){const e=t.scopeChain.filter((e=>"global"!==e.type));e.length?this.sendToInstance({cmd:"scope",scopes:e}):(this.state.scopes.global||this.state.scopes.local||this.state.scopes.closure)&&this.setState({scopes:{}})}}readExpressions(e){var t;this.state.expressions.length&&null!==(t=this.state.context)&&void 0!==t&&t.callFrames&&this.state.context.callFrames[this.state.currentFrame]&&(void 0!==e?this.sendToInstance({cmd:"expressions",expressions:[this.state.expressions[e]],callFrameId:this.state.context.callFrames[this.state.currentFrame].callFrameId}):this.sendToInstance({cmd:"expressions",expressions:this.state.expressions,callFrameId:this.state.context.callFrames[this.state.currentFrame].callFrameId}))}getTextAtLocation(e){let t=this.state.script.split(/\r\n|\n/)[e.lineNumber],s="";return e.columnNumber>=10?(t=t.substring(e.columnNumber-10,e.columnNumber+20),s="".padStart(10," ")+"\u2191"):(t=t.substring(0,30-e.columnNumber),s="".padStart(e.columnNumber," ")+"\u2191"),[(0,se.jsx)("div",{className:this.props.classes.monospace,children:t},"line"),(0,se.jsx)("div",{className:S.Utils.clsx(this.props.classes.monospace,this.props.classes.arrow),children:s},"arrow")]}renderQueryBreakpoints(){return this.state.queryBreakpoints?(0,se.jsxs)(K.A,{onClose:()=>this.setState({queryBreakpoints:null}),"aria-labelledby":"bp-dialog-title",open:!0,children:[(0,se.jsx)(q.A,{id:"bp-dialog-title",children:S.I18n.t("Select breakpoint")}),(0,se.jsx)(C.A,{children:this.state.queryBreakpoints.map(((e,t)=>(0,se.jsx)(ro.A,{classes:{root:this.props.classes.bpListItem},dense:!0,onClick:()=>{this.sendToInstance({breakpoints:[e],cmd:"sb"}),this.setState({queryBreakpoints:null})},children:(0,se.jsx)(T.A,{classes:{primary:this.props.classes.bpListPrimary,secondary:this.props.classes.bpListSecondary},primary:this.getTextAtLocation(e)})},t)))})]}):null}renderError(){return this.state.error?(0,se.jsx)(ke,{onClose:()=>this.setState({error:""}),text:this.state.error},"dialogError"):null}closeTab(e,t){t&&t.stopPropagation();const s=JSON.parse(JSON.stringify(this.state.tabs));delete s[e];const a={tabs:s,script:this.scripts[this.mainScriptId],selected:this.mainScriptId};this.state.location&&this.state.location.scriptId!==this.mainScriptId&&(a.location=null),this.setState(a)}renderTabs(){const e=!this.state.tabs||!this.state.started;return(0,se.jsx)(Ke.A,{component:"div",indicatorColor:"primary",style:{position:"relative",width:"calc(100% - 300px)",display:"inline-block"},value:this.state.selected,onChange:(e,t)=>{this.scripts[t]?this.setState({selected:t,script:this.scripts[t]}):this.setState({selected:t,script:"loading..."},(()=>this.sendToInstance({cmd:"source",scriptId:t})))},scrollButtons:"auto",children:Object.keys(this.state.tabs||[]).map((t=>{let s=t,a=this.state.tabs[t]||"";return this.state.tabs[t]&&(s=this.state.tabs[t].split("/").pop()),s=[(0,se.jsx)("div",{className:S.Utils.clsx(this.props.classes.tabText),children:s},"text"),t!==this.mainScriptId&&(0,se.jsx)("span",{className:this.props.classes.closeButton,children:(0,se.jsx)(x.m6K,{onClick:e=>this.closeTab(t,e),fontSize:"small"},"close")},"icon")],(0,se.jsx)(Ze.A,{disabled:e,classes:{root:this.props.classes.tabFile},label:s,title:a,value:t},t)}))})}onResume(){this.sendToInstance({cmd:"cont"})}onPause(){this.sendToInstance({cmd:"pause"})}onNext(){this.sendToInstance({cmd:"next"})}onStepIn(){this.sendToInstance({cmd:"step"})}onStepOut(){this.sendToInstance({cmd:"out"})}onRestart(){this.setState({started:!1,starting:!0},(()=>this.props.socket.sendTo(this.state.instance,"debug",this.props.debugInstance||{scriptName:this.props.src})))}onToggleException(){const e=!this.state.stopOnException;window.localStorage.setItem("javascript.tools.stopOnException",e?"true":"false"),this.setState({stopOnException:e},(()=>this.sendToInstance({cmd:"stopOnException",state:e})))}renderToolbar(){const e=!this.state.started;return(0,se.jsxs)(Ye.A,{variant:"dense",className:this.props.classes.toolbar,children:[(0,se.jsx)(D.A,{className:this.props.classes.buttonRestart,disabled:e,onClick:()=>this.onRestart(),title:S.I18n.t("Restart"),size:"medium",children:(0,se.jsx)(x.joZ,{})}),!this.state.finished&&this.state.paused?(0,se.jsx)(D.A,{className:this.props.classes.buttonRun,disabled:e,onClick:()=>this.onResume(),title:S.I18n.t("Resume execution"),size:"medium",children:(0,se.jsx)(x.XKH,{})}):!this.state.finished&&(0,se.jsx)(D.A,{disabled:e,className:this.props.classes.buttonPause,onClick:()=>this.onPause(),title:S.I18n.t("Pause execution"),size:"medium",children:(0,se.jsx)(x.QG6,{})}),!this.state.finished&&(0,se.jsx)(D.A,{className:this.props.classes.buttonNext,disabled:e||!this.state.paused,onClick:()=>this.onNext(),title:S.I18n.t("Go to next line"),size:"medium",children:(0,se.jsx)(x.a1M,{})}),!this.state.finished&&(0,se.jsx)(D.A,{className:this.props.classes.buttonStep,disabled:e||!this.state.paused,onClick:()=>this.onStepIn(),title:S.I18n.t("Step into function"),size:"medium",children:(0,se.jsx)(x.TYx,{})}),!this.state.finished&&(0,se.jsx)(D.A,{className:this.props.classes.buttonOut,disabled:e||!this.state.paused,onClick:()=>this.onStepOut(),title:S.I18n.t("Step out from function"),size:"medium",children:(0,se.jsx)(x.Awo,{})}),!this.state.finished&&(0,se.jsx)(D.A,{className:this.props.classes.buttonException,color:this.state.stopOnException?"primary":"default",disabled:e||!this.state.paused,onClick:()=>this.onToggleException(),title:S.I18n.t("Stop on exception"),size:"medium",children:(0,se.jsx)(x.Wux,{})}),this.renderTabs()]},"toolbar1")}getPossibleBreakpoints(e){const t={...e,columnNumber:1e3};this.sendToInstance({cmd:"getPossibleBreakpoints",start:e,end:t})}toggleBreakpoint(e){let t=this.state.breakpoints.find((t=>t.location.scriptId===this.state.selected&&t.location.lineNumber===e));if(t){const e=JSON.parse(JSON.stringify(this.state.breakpoints));this.setState({breakpoints:e},(()=>this.sendToInstance({breakpoints:[t.id],cmd:"cb"})))}else t={scriptId:this.state.selected,lineNumber:e,columnNumber:0},this.getPossibleBreakpoints(t)}renderCode(){if(this.state.script&&this.state.started){const e=this.state.breakpoints.filter((e=>e.location.scriptId===this.state.selected));return(0,se.jsx)(co,{runningInstances:this.props.runningInstances,socket:this.props.socket,adapterName:this.props.adapterName,scriptName:this.state.tabs[this.state.selected],sourceId:this.state.selected,script:this.state.script,paused:this.state.paused,breakpoints:e,location:this.state.location,themeType:this.props.themeType,themeName:this.props.themeName,onToggleBreakpoint:e=>this.toggleBreakpoint(e)})}}renderFrames(){var e;return this.state.paused?(0,se.jsx)(yo,{currentScriptId:this.state.selected,scopes:this.state.scopes,expressions:this.state.expressions,themeType:this.props.themeType,callFrames:null===(e=this.state.context)||void 0===e?void 0:e.callFrames,currentFrame:this.state.currentFrame,onChangeCurrentFrame:e=>{this.setState({currentFrame:e,scopes:{}},(()=>{this.readCurrentScope(),this.readExpressions()}))},onWriteScopeValue:e=>{this.sendToInstance({cmd:"setValue",variableName:e.variableName,scopeNumber:e.scopeNumber,newValue:e.newValue,callFrameId:e.callFrameId})},onExpressionDelete:e=>{const t=JSON.parse(JSON.stringify(this.state.expressions));t.splice(e,1),this.setState({expressions:t}),window.localStorage.setItem("javascript.tools.exps."+this.props.src,JSON.stringify(t.map((e=>e.name))))},onExpressionAdd:e=>{const t=JSON.parse(JSON.stringify(this.state.expressions));t.push({name:"",value:{value:""}}),this.setState({expressions:t},(()=>e&&e(t.length-1,this.state.expressions[t.length-1])))},onExpressionNameUpdate:(e,t,s)=>{const a=JSON.parse(JSON.stringify(this.state.expressions));if(t){if(a.find((e=>e.name===t)))return s&&s(!1);a[e].name=t}else a.splice(e,1);this.setState({expressions:a},(()=>{t&&this.readExpressions(e),s&&s()})),window.localStorage.setItem("javascript.tools.exps."+this.props.src,JSON.stringify(a.map((e=>e.name))))}}):null}renderConsole(){return(0,se.jsx)(ho,{theme:this.props.theme,console:this.state.console,onClearAllLogs:()=>this.setState({console:[],logErrors:0,logWarning:0,logs:0})})}renderTools(){const e=!this.state.tabs||!this.state.started;let t;return t=this.state.logErrors?(0,se.jsx)(Qe.A,{badgeContent:this.state.logErrors,color:"error",children:(0,se.jsx)("span",{children:S.I18n.t("Console")})}):this.state.logWarnings?(0,se.jsx)(Qe.A,{badgeContent:this.state.logWarnings,color:"secondary",children:(0,se.jsx)("span",{children:S.I18n.t("Console")})}):this.state.logs?(0,se.jsx)(Qe.A,{badgeContent:this.state.logs,color:"default",children:(0,se.jsx)("span",{children:S.I18n.t("Console")})}):S.I18n.t("Console"),(0,se.jsxs)("div",{style:{width:"100%",height:"100%",overflow:"hidden"},children:[(0,se.jsxs)(Ke.A,{classes:{root:this.props.classes.tabsRoot},component:"div",indicatorColor:"primary",style:{position:"relative",width:"100%"},value:this.state.toolsTab,onChange:(e,t)=>{const s={toolsTab:t};this.console&&"console"===t&&(s.console=this.console,this.console=null,s.logs=0,s.logWarnings=0,s.logErrors=0),window.localStorage.setItem("javascript.tools.tab",t),this.setState(s)},scrollButtons:"auto",children:[(0,se.jsx)(Ze.A,{classes:{root:this.props.classes.tabRoot},disabled:e,label:S.I18n.t("Stack"),value:"stack"}),(0,se.jsx)(Ze.A,{classes:{root:this.props.classes.tabRoot},disabled:e,label:t,value:"console"})]}),(0,se.jsxs)("div",{style:{width:"100%",height:"calc(100% - 36px)",overflow:"hidden"},children:["stack"!==this.state.toolsTab||e?null:this.renderFrames(),"console"!==this.state.toolsTab||e?null:this.renderConsole()]})]})}render(){return(0,se.jsxs)("div",{style:this.props.style,className:S.Utils.clsx(this.props.classes.root,this.props.className),children:[this.state.starting?(0,se.jsx)(et.A,{}):null,this.renderToolbar(),(0,se.jsxs)(h(),{customClassName:this.props.classes.splitter,primaryMinSize:100,vertical:!0,secondaryInitialSize:this.toolSize,onSecondaryPaneSizeChange:e=>this.toolSize=parseFloat(e),onDragEnd:()=>window.localStorage.setItem("App.toolSize",this.toolSize.toString()),children:[(0,se.jsxs)("div",{style:{width:"100%",height:"100%",overflow:"hidden"},children:[this.renderCode(),this.renderQueryBreakpoints()]}),(0,se.jsx)("div",{style:{width:"100%",height:"100%",overflow:"hidden"},children:this.renderTools()})]}),this.renderError()]},"debugger")}}const fo=(0,u.A)((e=>({root:{width:"100%",height:"calc(100% - ".concat(e.toolbar.height+38+5,"px)"),overflow:"hidden",position:"relative"},toolbar:{minHeight:38,boxShadow:"0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12)"},buttonRun:{color:"green"},buttonPause:{color:"orange"},buttonRestart:{color:"darkgreen"},buttonStop:{color:"red"},buttonNext:{color:"blue"},buttonStep:{color:"blue"},buttonOut:{color:"blue"},buttonException:{},tabFile:{textTransform:"inherit",color:"dark"===e.palette.mode?"#DDD":"inherit"},tabText:{maxWidth:130,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",display:"inline-block",verticalAlign:"middle"},closeButton:{position:"absolute",top:8,right:0,zIndex:10,padding:8,cursor:"pointer"},tabsRoot:{minHeight:24,background:"dark"===e.palette.mode?"#333":"#e6e6e6",color:"dark"===e.palette.mode?"white":"inherit"},tabRoot:{minHeight:24},bpListItem:{borderTop:"1px dashed #bfbfbf44"},monospace:{fontFamily:"Courier New, monospace",whiteSpace:"pre",fontSize:12},arrow:{color:"#fffa4f"},splitter:{height:"calc(100% - 52px)","& .layout-pane":{overflow:"hidden",height:"100%"}}})))(vo);var So=s(39161),xo=s(21839),ko=s(24031);const wo=s.p+"static/media/docs.1f96bec81cf08933d921.md";let Co=null;const jo=(e,t)=>e&&"object"===typeof e?e[t]||e.en:e||"",Io=async e=>{const t=S.I18n.getLanguage(),s=await(async e=>{if(Co)return Co;const t=await e.getObjectView("","\u9999","state"),s=await e.getObjectView("","\u9999","channel"),a=await e.getObjectView("","\u9999","device"),i=await e.getObjectView("","\u9999","folder"),o=await e.getObjectView("","\u9999","enum");return Co=Object.values(t).concat(Object.values(s)).concat(Object.values(a)).concat(Object.values(i)).concat(Object.values(o)).reduce(((e,t)=>(e[t._id]=t,e)),{}),Co})(e),a=Object.keys(s).sort(),i=new ko.Ay,o=[],n=[],r=[],l=[];a.forEach((e=>{var t,a,i;"enum"===(null===(t=s[e])||void 0===t?void 0:t.type)?o.push(e):null!==(a=s[e])&&void 0!==a&&null!==(i=a.common)&&void 0!==i&&i.smartName&&l.push(e)})),o.forEach((e=>{e.startsWith("enum.rooms.")?n.push(e):e.startsWith("enum.functions.")&&r.push(e);const t=s[e].common.members;t&&t.length&&t.forEach((e=>{s[e]&&(l.includes(e)||l.push(e))}))}));const c={objects:s,_keysOptional:a,_usedIdsOptional:[],ignoreIndicators:["UNREACH_STICKY"],excludedTypes:["info"]},d=[];l.forEach((e=>{c.id=e;const a=i.detect(c);a&&a.forEach((e=>{const a=e.states.find((e=>e.id)).id;if(d.find((e=>e.id===a)))return;const i={id:a,name:jo(s[a].common.name,t),role:s[a].type,deviceType:e.type,states:e.states.filter((e=>e.id)).map((e=>({id:e.id,name:e.name,role:e.defaultRole,type:s[e.id].common.type,unit:s[e.id].common.unit,read:void 0===s[e.id].common.read||s[e.id].common.read,write:void 0===s[e.id].common.write||s[e.id].common.write})))},o=a.split(".");let l,c;"channel"!==s[a].type&&"state"!==s[a].type||(o.pop(),l=o.join("."),!s[l]||"channel"!==s[l].type&&"folder"!==s[a].type?l=null:(o.pop(),c=o.join("."),(!s[c]||"device"!==s[c].type&&"folder"!==s[a].type)&&(c=null)));const u=n.find((e=>!!s[e].common.members.includes(a)||(!(!l||!s[e].common.members.includes(l))||c&&s[e].common.members.includes(c))));u&&(i.room=jo(s[u].common.name,t));const p=r.find((e=>!!s[e].common.members.includes(a)||(!(!l||!s[e].common.members.includes(l))||c&&s[e].common.members.includes(c))));p&&(i.function=jo(s[p].common.name,t)),d.push(i)}))}));for(const g in d){const e=d[g];if("state"===e.type||"channel"===e.type){const a=e._id.split(".");a.pop();const i=s[a.join(".")];if(!i||"channel"!==i.type&&"device"!==i.type&&"folder"!==i.type){var u;e.common.name=jo((null===i||void 0===i||null===(u=i.common)||void 0===u?void 0:u.name)||e.common.name,t)}else{var p,h;e.common.name=jo((null===(p=i.common)||void 0===p?void 0:p.name)||e.common.name,t),a.pop();const o=s[a.join(".")];var m;if("device"===(null===o||void 0===o?void 0:o.type)&&null!==(h=o.common)&&void 0!==h&&h.icon)e.common.name=jo((null===(m=o.common)||void 0===m?void 0:m.name)||e.common.name,t)}}}return d},Ao={ru:"Russian",en:"English",de:"German",es:"Spanish",fr:"French",it:"Italian",pl:"Polish",nl:"Dutch",pt:"Portuguese",uk:"Ukrainian","zh-cn":"Chinese"},To=()=>(0,se.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 2406 2406",children:[(0,se.jsx)("path",{d:"M1 578.4C1 259.5 259.5 1 578.4 1h1249.1c319 0 577.5 258.5 577.5 577.4V2406H578.4C259.5 2406 1 2147.5 1 1828.6V578.4z",fill:"#74aa9c"}),(0,se.jsx)("path",{d:"M1107.3 299.1c-198 0-373.9 127.3-435.2 315.3C544.8 640.6 434.9 720.2 370.5 833c-99.3 171.4-76.6 386.9 56.4 533.8-41.1 123.1-27 257.7 38.6 369.2 98.7 172 297.3 260.2 491.6 219.2 86.1 97 209.8 152.3 339.6 151.8 198 0 373.9-127.3 435.3-315.3 127.5-26.3 237.2-105.9 301-218.5 99.9-171.4 77.2-386.9-55.8-533.9v-.6c41.1-123.1 27-257.8-38.6-369.8-98.7-171.4-297.3-259.6-491-218.6-86.6-96.8-210.5-151.8-340.3-151.2zm0 117.5-.6.6c79.7 0 156.3 27.5 217.6 78.4-2.5 1.2-7.4 4.3-11 6.1L952.8 709.3c-18.4 10.4-29.4 30-29.4 51.4V1248l-155.1-89.4V755.8c-.1-187.1 151.6-338.9 339-339.2zm434.2 141.9c121.6-.2 234 64.5 294.7 169.8 39.2 68.6 53.9 148.8 40.4 226.5-2.5-1.8-7.3-4.3-10.4-6.1l-360.4-208.2c-18.4-10.4-41-10.4-59.4 0L1024 984.2V805.4L1372.7 604c51.3-29.7 109.5-45.4 168.8-45.5zM650 743.5v427.9c0 21.4 11 40.4 29.4 51.4l421.7 243-155.7 90L597.2 1355c-162-93.8-217.4-300.9-123.8-462.8C513.1 823.6 575.5 771 650 743.5zm807.9 106 348.8 200.8c162.5 93.7 217.6 300.6 123.8 462.8l.6.6c-39.8 68.6-102.4 121.2-176.5 148.2v-428c0-21.4-11-41-29.4-51.4l-422.3-243.7 155-89.3zM1201.7 997l177.8 102.8v205.1l-177.8 102.8-177.8-102.8v-205.1L1201.7 997zm279.5 161.6 155.1 89.4v402.2c0 187.3-152 339.2-339 339.2v-.6c-79.1 0-156.3-27.6-217-78.4 2.5-1.2 8-4.3 11-6.1l360.4-207.5c18.4-10.4 30-30 29.4-51.4l.1-486.8zM1380 1421.9v178.8l-348.8 200.8c-162.5 93.1-369.6 38-463.4-123.7h.6c-39.8-68-54-148.8-40.5-226.5 2.5 1.8 7.4 4.3 10.4 6.1l360.4 208.2c18.4 10.4 41 10.4 59.4 0l421.9-243.7z",fill:"white"})]}),Do=e=>{const[t,s]=(0,a.useState)(window.localStorage.getItem("openai-question")||""),[i,o]=(0,a.useState)(""),[n,r]=(0,a.useState)(!1),[l,c]=(0,a.useState)(!1),[d,u]=(0,a.useState)(!1),[p,h]=(0,a.useState)(!1),m=(0,a.useRef)(null),g=(0,a.useRef)(null),b=(0,a.useRef)(null),y=(0,a.useCallback)((async()=>{let s,a,i;if(m.current?s=m.current:(s=await Io(e.socket),m.current=s,console.log("devices: ".concat(JSON.stringify(s,2,null)))),g.current)a=g.current;else{const t=Object.keys(e.runningInstances);for(let s=0;s(await fetch(wo)).text())(),b.current=i),a){c(!0),u(!1);try{const e=new So.Ay({apiKey:a,dangerouslyAllowBrowser:!0}),n=(await e.chat.completions.create({model:"gpt-3.5-turbo-16k",messages:[{role:"system",content:"You are programmer. Here is a documentation:\n\n".concat(i)},{role:"system",content:"Here is list of devices:\n\n".concat(JSON.stringify(s,null,2))},{role:"user",content:"Write code that do:\n\n".concat(t,"\nReturn only code.\nWrite comments in ").concat(Ao[S.I18n.getLanguage()]||"English",".\nYou can call async function directly in the code without encapsulate them in async function as this code will be already executed in async function.\nDo not import any libraries as all functions are already imported.")}]})).choices[0].message,r=n.content.match(/```(javascript|js|typescript)\n?(.*)```(.*)/ms);let l;if(r){if(l=r[2],r[3]){const e=r[3].split("\n").map((e=>e.trim()));for(;""===e[0];)e.shift();l="".concat(e.map((e=>"// ".concat(e))).join("\n"),"\n").concat(l)}}else l=n.content,l.startsWith("`")&&(l=l.substring(1)),l.endsWith("`")&&(l=l.substring(0,l.length-1));console.log(n),o(l)}catch(d){var n,r,l;if(d.response)u(null===(r=d.response.data)||void 0===r||null===(l=r.error)||void 0===l?void 0:l.message);console.error("Cannot request: ".concat(d,", ").concat(JSON.stringify((null===d||void 0===d||null===(n=d.response)||void 0===n?void 0:n.data)||d,null,2)))}c(!1)}else h(!0)}),[t]);return(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(ct.IconButton,{"aria-label":"AI",title:S.I18n.t("AI code generator"),className:e.classes.toolbarButtons,size:"medium",onClick:()=>r(!0),children:(0,se.jsx)(To,{})},"ai"),p&&(0,se.jsxs)(ct.Dialog,{maxWidth:"lg",open:!0,onClose:()=>h(!1),fullWidth:!0,children:[(0,se.jsx)(ct.DialogTitle,{children:S.I18n.t("No Chat GPT Key found")}),(0,se.jsxs)(ct.DialogContent,{style:{display:"flex",flexDirection:"column",gap:8},children:[(0,se.jsx)("div",{children:S.I18n.t("You have to enter OpenAI API key in the configuration of javascript adapter.")}),(0,se.jsx)(ct.Button,{variant:"contained",onClick:()=>{const t=Object.keys(e.runningInstances);window.open("../../#tab-instances/config/".concat(t[0]||"system.adapter.javascript.0"),"_blank"),h(!1)},children:S.I18n.t("Open configuration")})]}),(0,se.jsx)(ct.DialogActions,{children:(0,se.jsx)(ct.Button,{variant:"contained",startIcon:(0,se.jsx)(xo.Close,{}),onClick:()=>h(!1),children:S.I18n.t("Close")})})]}),n&&(0,se.jsxs)(ct.Dialog,{maxWidth:"lg",classes:{paper:e.classes.fullHeightDialog},open:!0,onClose:()=>r(!1),fullWidth:!0,children:[(0,se.jsx)(ct.DialogTitle,{children:S.I18n.t("AI code generator")}),(0,se.jsxs)(ct.DialogContent,{style:{display:"flex",flexDirection:"column",gap:8,height:"100%"},children:[(0,se.jsx)("div",{children:(0,se.jsx)(ct.TextField,{variant:"standard",multiline:!0,autoFocus:!0,disabled:l,fullWidth:!0,onKeyUp:e=>{"Enter"===e.key&&e.ctrlKey&&y()},label:S.I18n.t("Enter your question"),helperText:S.I18n.t("Press Ctrl+Enter to get the answer"),value:t,onChange:e=>{window.localStorage.setItem("openai-question",e.target.value),s(e.target.value)}})}),(0,se.jsx)("div",{children:(0,se.jsx)(ct.Button,{variant:"contained",disabled:l||!t,startIcon:(0,se.jsx)(xo.QuestionMark,{}),onClick:async()=>y(),children:l?(0,se.jsx)(ct.CircularProgress,{size:24}):S.I18n.t("Ask")})}),(0,se.jsx)("div",{children:S.I18n.t("Result")}),(0,se.jsx)("div",{style:{height:"calc(100% - 155px)"},children:d?(0,se.jsx)("div",{style:{color:"#bb0000"},children:d}):(0,se.jsx)(pt,{adapterName:e.adapterName,runningInstances:e.runningInstances,style:{height:"100%",width:"100%",resize:"none"},name:"ai",socket:e.socket,readOnly:!0,checkJs:!0,code:i,isDark:"dark"===e.themeType,language:e.language})})]}),(0,se.jsxs)(ct.DialogActions,{children:[(0,se.jsx)(ct.Button,{color:"grey",variant:"outlined",disabled:!i,startIcon:(0,se.jsx)(xo.FileCopy,{}),onClick:()=>{S.Utils.copyToClipboard(i),window.alert(S.I18n.t("Copied"))},children:S.I18n.t("Copy to clipboard")}),(0,se.jsx)(ct.Button,{color:"primary",variant:"contained",disabled:!i||d,startIcon:(0,se.jsx)(xo.Check,{}),onClick:()=>{e.onAddCode(i),r(!1)},children:S.I18n.t("Use generated code")}),(0,se.jsx)(ct.Button,{color:"grey",variant:"contained",startIcon:(0,se.jsx)(xo.Close,{}),onClick:()=>r(!1),children:S.I18n.t("Close")})]})]})]})},No={Blockly:V,"Javascript/js":U,Rules:J,def:U,"TypeScript/ts":W},Eo="#02a102",Oo="#70aae9",Ro=P.A[400],_o=L.A[400];class Mo extends i().Component{constructor(e){super(e),this.onInstanceChanged=(e,t)=>{if(e)if(!t&&window.main.instances.includes[e]){delete window.main.objects[e];const t=window.main.instances.indexOf(e);window.main.instances.splice(t,1)}else t&&"instance"===t.type&&(window.main.instances.includes(e)||(window.main.instances.push(e),window.main.instances.sort()),window.main.objects[e]=t)},this.onBrowserClose=e=>{const t=Object.keys(this.scripts).find((e=>JSON.stringify(this.scripts[e])!==JSON.stringify(this.props.objects[e].common)));if(t){console.log("Script "+JSON.stringify(this.scripts[t]));const s=S.I18n.t("Configuration not saved.");return(e=e||window.event)&&(e.returnValue=s),s}},this.setTourStep=e=>this.setState({tourStep:e});const t=window.localStorage.getItem("Editor.selected")||"";let s=window.localStorage.getItem("Editor.editing")||"[]";try{s=JSON.parse(s)}catch(a){s=[]}t&&!s.includes(t)&&s.push(t),this.tabsRef=i().createRef(),this.state={selected:t,editing:s,changed:{},blockly:null,rules:null,debugEnabled:!1,verboseEnabled:!1,showCompiledCode:!1,showSelectId:!1,showCron:!1,showScript:!1,showAstro:!1,astroEvents:null,insert:"",searchText:"",themeType:this.props.themeType,visible:e.visible,cmdToBlockly:"",cmdToRules:"",menuOpened:!!this.props.menuOpened,menuTabsOpened:!1,menuTabsAnchorEl:null,runningInstances:this.props.runningInstances||{},showDebugMenu:!1,toast:"",instancesLoaded:!1,isTourOpen:"true"!==window.localStorage.getItem("tour"),tourStep:Js,showAdapterDebug:!1},this.setChangedInAdmin(),this.selectId={initValue:null,callback:null},this.cron={initValue:null,callback:null},this.scriptDialog={initValue:null,callback:null,args:null,isReturn:!1},window.systemLang=S.I18n.getLanguage(),window.main={objects:{},getObject:(e,t)=>this.props.socket.getObject(e).then((e=>t&&t(null,e))).catch((e=>t&&t(e))),instances:[],selectIdDialog:(e,t,s)=>{"function"===typeof t&&(s=t,t=null),this.selectId.callback=s,this.selectId.initValue=e,this.selectId.type=t,this.setState({showSelectId:!0})},cronDialog:(e,t)=>{this.cron.callback=t,this.cron.initValue=e,this.setState({showCron:!0})},showScriptDialog:(e,t,s,a)=>{this.scriptDialog.callback=a,this.scriptDialog.initValue=e,this.scriptDialog.args=t,this.scriptDialog.isReturn=s||!1,this.setState({showScript:!0})}},this.objects=e.objects,this.scripts={},!this.state.selected&&this.state.editing.length&&(this.state.selected=this.state.editing[0]),this.getAllAdapterInstances().then((()=>{this.props.onSelectedChange&&this.state.selected&&setTimeout((()=>this.props.onSelectedChange(this.state.selected,this.state.editing)),100)}))}getAllAdapterInstances(){return this.props.socket.getAdapterInstances(!0).then((e=>{const t={},s=e.map((e=>(t[e._id]=e,e._id)));window.main.objects=t,window.main.instances=s,this.setState({instancesLoaded:!0})}))}setChangedInAdmin(){const e=Object.keys(this.state.changed).find((e=>this.state.changed[e]));"undefined"!==typeof window.parent&&window.parent&&(window.parent.configNotSaved=!!e)}componentDidMount(){window.addEventListener("beforeunload",this.onBrowserClose,!1),this.props.socket.subscribeObject("system.adapter.*",this.onInstanceChanged)}componentWillUnmount(){window.removeEventListener("beforeunload",this.onBrowserClose),this.props.socket.unsubscribeObject("system.adapter.*",this.onInstanceChanged)}removeNonExistingScripts(e,t){e=e||this.props,t=t||{};let s=!1;if(this.state.editing){if(this.state.editing.find((t=>!e.objects[t]))){const e=JSON.parse(JSON.stringify(this.state.editing));for(let t=e.length-1;t>=0;t--)this.objects[e[t]]||(s=!0,e.splice(t,1));s&&(t.editing=e),this.state.selected&&!this.objects[this.state.selected]&&(s=!0,t.selected=e[0]||"",this.scripts[t.selected]&&(this.state.blockly!==("Blockly"===this.scripts[t.selected].engineType)&&(t.blockly="Blockly"===this.scripts[t.selected].engineType,s=!0),this.state.rules!==("Rules"===this.scripts[t.selected].engineType)&&(t.rules="Rules"===this.scripts[t.selected].engineType,s=!0),this.state.verboseEnabled!==this.scripts[t.selected].verbose&&(t.verboseEnabled=this.scripts[t.selected].verbose,s=!0),this.state.debugEnabled!==this.scripts[t.selected].debug&&(t.debugEnabled=this.scripts[t.selected].debug,s=!0)))}}return s}UNSAFE_componentWillReceiveProps(e){const t={};let s=!1;if(JSON.stringify(e.runningInstances)!==JSON.stringify(this.state.runningInstances)&&(s=!0,t.runningInstances=e.runningInstances),this.state.menuOpened!==e.menuOpened&&(t.menuOpened=e.menuOpened,s=!0),this.state.themeType!==e.themeType&&(t.themeType=e.themeType,s=!0),this.removeNonExistingScripts(e,t)&&(s=!0),this.state.searchText!==e.searchText&&(t.searchText=e.searchText,s=!0),this.objects!==e.objects){this.objects=e.objects,window.main.objects=e.objects,Object.keys(this.scripts).forEach((e=>{const t=this.scripts[e].source;this.scripts[e]=JSON.parse(JSON.stringify(this.objects[e].common)),this.scripts[e].source=t})),this.state.selected&&this.objects[this.state.selected]&&(this.scripts[this.state.selected]=this.scripts[this.state.selected]||JSON.parse(JSON.stringify(this.objects[this.state.selected].common)),this.state.blockly!==("Blockly"===this.scripts[this.state.selected].engineType)&&(t.blockly="Blockly"===this.scripts[this.state.selected].engineType,s=!0),this.state.rules!==("Rules"===this.scripts[this.state.selected].engineType)&&(t.rules="Rules"===this.scripts[this.state.selected].engineType,s=!0),this.state.verboseEnabled!==this.scripts[this.state.selected].verbose&&(t.verboseEnabled=this.scripts[this.state.selected].verbose,s=!0),this.state.debugEnabled!==this.scripts[this.state.selected].debug&&(t.debugEnabled=this.scripts[this.state.selected].debug,s=!0));const a=JSON.parse(JSON.stringify(this.state.editing));for(let e=a.length-1;e>=0;e--)this.objects[a[e]]||(s=!0,a.splice(e,1),void 0!==this.state.changed[a[e]]&&(t.changed=t.changed||JSON.parse(JSON.stringify(this.state.changed)),delete t.changed[a[e]]));this.state.selected&&!this.objects[this.state.selected]&&(t.selected=a[0]||""),s&&(t.editing=a)}else for(const a in this.scripts)if(this.scripts.hasOwnProperty(a))if(this.objects[a]&&this.objects[a].common){const e=this.scripts[a].source,i=JSON.parse(JSON.stringify(this.scripts[a]));i.source=this.objects[a].common.source,JSON.stringify(i)!==JSON.stringify(this.objects[a].common)&&(this.scripts[a]=JSON.parse(JSON.stringify(this.objects[a].common)),this.scripts[a].source=e),e!==this.objects[a].common.source?this.state.changed[a]?this.objects[a].from&&this.objects[a].from.startsWith("system.adapter.javascript.")&&(this.objects[a].from="system.adapter.admin.0",this.setState({toast:S.I18n.t("Script %s was modified on disk.",a.split(".").pop())})):this.scripts[a].source=this.objects[a].common.source:this.state.changed[a]&&(t.changed=t.changed||JSON.parse(JSON.stringify(this.state.changed)),t.changed[a]=!1,s=!0)}else if(delete this.scripts[a],this.state.selected===a){if(-1!==this.state.editing.indexOf(a)){const e=JSON.parse(JSON.stringify(this.state.editing)),i=e.indexOf(a);-1!==i&&(e.splice(i,1),t.editing=e,s=!0)}t.selected=this.state.editing[0]||"",s=!0}if(this.state.selected!==e.selected&&e.selected){e.selected&&(this.scripts[e.selected]=this.scripts[e.selected]||JSON.parse(JSON.stringify(this.props.objects[e.selected].common)));const a=this.props.objects[e.selected]&&this.props.objects[e.selected].common,i=a&&JSON.stringify(this.scripts[e.selected])!==JSON.stringify(a),o=JSON.parse(JSON.stringify(this.state.editing));e.selected&&-1===o.indexOf(e.selected)&&(o.push(e.selected),this.props.onSelectedChange(e.selected,o),window.localStorage&&window.localStorage.setItem("Editor.editing",JSON.stringify(o))),s=!0,t.changed=t.changed||JSON.parse(JSON.stringify(this.state.changed)),t.changed[e.selected]=i,t.editing=o,t.selected=e.selected,t.blockly="Blockly"===this.scripts[e.selected].engineType,t.rules="Rules"===this.scripts[e.selected].engineType,t.verboseEnabled=this.scripts[e.selected].verbose,t.debugEnabled=this.scripts[e.selected].debug,t.showCompiledCode=!1}this.state.visible!==e.visible&&(s=!0,t.visible=e.visible),s&&this.setState(t,(()=>this.setChangedInAdmin()))}onRestart(){this.props.onRestart&&this.props.onRestart(this.state.selected)}onStartStop(){const e=JSON.parse(JSON.stringify(this.scripts[this.state.selected]));e.enabled=!e.enabled,this.props.onChange&&this.props.onChange(this.state.selected,e)}onSave(){if(this.state.isTourOpen&&this.state.tourStep===Xs&&(this.setState({isTourOpen:!1}),window.localStorage.setItem("tour","true")),this.state.changed[this.state.selected]){const e=JSON.parse(JSON.stringify(this.state.changed));e[this.state.selected]=!1,this.setState({changed:e},(()=>{this.setChangedInAdmin(),this.props.onChange&&this.props.onChange(this.state.selected,this.scripts[this.state.selected])}))}}onSaveAll(){const e=JSON.parse(JSON.stringify(this.state.changed));Object.keys(e).forEach((t=>{e[t]&&(e[t]=!1,this.props.onChange&&this.props.onChange(t,this.scripts[t]))})),this.setState({changed:e},(()=>this.setChangedInAdmin()))}onCancel(){this.scripts[this.state.selected]=JSON.parse(JSON.stringify(this.props.objects[this.state.selected].common));const e=JSON.parse(JSON.stringify(this.state.changed));e[this.state.selected]=!1,this.setState({changed:e},(()=>this.setChangedInAdmin()))}onRegisterSelect(e){this.getSelect=e}onConvertBlockly2JS(){this.showConfirmDialog(S.I18n.t("It will not be possible to revert this operation."),(e=>{if(e){this.scripts[this.state.selected].engineType="Javascript/js";const e=this.scripts[this.state.selected].source.split("\n");e.pop(),this.scripts[this.state.selected].source=e.join("\n");const t=this.state.selected,s=JSON.parse(JSON.stringify(this.state.changed));s[this.state.selected]=!0,this.setState({changed:s,blockly:!1,selected:""},(()=>{this.setChangedInAdmin(),setTimeout((()=>this.setState({selected:t})),100)}))}}))}onChange(e){void 0!==(e=e||{}).script&&(this.scripts[this.state.selected].source=e.script),void 0!==e.debug&&(this.scripts[this.state.selected].debug=e.debug),void 0!==e.verbose&&(this.scripts[this.state.selected].verbose=e.verbose);const t=JSON.stringify(this.scripts[this.state.selected])!==JSON.stringify(this.props.objects[this.state.selected].common);if(t!==(this.state.changed[this.state.selected]||!1)){const e=JSON.parse(JSON.stringify(this.state.changed));e[this.state.selected]=t,this.objects[this.state.selected].from="system.adapter.admin.0",this.setState({changed:e},(()=>this.setChangedInAdmin()))}}onTabChange(e,t){if(this.props.debugMode)return;window.localStorage&&window.localStorage.setItem("Editor.selected",t);const s=this.scripts[t]||this.props.objects[t]&&this.props.objects[t].common;this.setState({selected:t,rules:"Rules"===s.engineType,blockly:"Blockly"===s.engineType,showCompiledCode:!1,verboseEnabled:s.verbose,debugEnabled:s.debug}),this.props.onSelectedChange&&this.props.onSelectedChange(t,this.state.editing)}isScriptChanged(e){return this.scripts[e]&&this.props.objects[e]&&JSON.stringify(this.scripts[e])!==JSON.stringify(this.props.objects[e].common)}onTabClose(e,t){t&&t.stopPropagation();const s=this.state.editing.indexOf(e);if(this.state.editing.includes(e))if(this.isScriptChanged(e))this.showConfirmDialog(S.I18n.t("Discard changes for %s",this.props.objects[e].common.name),(t=>{t&&(delete this.scripts[e],this.onTabClose(e))}));else{const t=JSON.parse(JSON.stringify(this.state.editing));t.splice(s,1);const a={editing:t};if(e===this.state.selected?t.length?0===s||1===t.length?a.selected=t[0]:a.selected=t[s-1]:a.selected="":this.state.selected&&!t.length&&(a.selected=""),window.localStorage&&window.localStorage.setItem("Editor.editing",JSON.stringify(t)),void 0!==a.selected){a.changed=a.changed||JSON.parse(JSON.stringify(this.state.changed)),a.changed[a.selected]=this.isScriptChanged(a.selected);const e=a.selected&&(this.scripts[a.selected]||this.props.objects[a.selected]&&this.props.objects[a.selected].common);a.blockly=!!e&&"Blockly"===e.engineType,a.rules=!!e&&"Rules"===e.engineType,a.verboseEnabled=!!e&&e.verbose,a.debugEnabled=!!e&&e.debug,a.showCompiledCode=!1}this.setState(a,(()=>{this.setChangedInAdmin(),void 0!==a.selected?(this.props.onSelectedChange&&this.props.onSelectedChange(a.selected,this.state.editing),window.localStorage&&window.localStorage.setItem("Editor.selected",a.selected)):this.props.onSelectedChange&&this.props.onSelectedChange(this.state.selected,this.state.editing)}))}}showConfirmDialog(e,t){this.confirmCallback=t,this.setState({confirm:e})}sendCommandToBlockly(e){this.setState({cmdToBlockly:e},(()=>setTimeout((()=>this.setState({cmdToBlockly:""})),200)))}sendCommandToRules(e){this.setState({cmdToRules:e},(()=>setTimeout((()=>this.setState({cmdToRules:""})),200)))}static getText(e){return"object"===typeof e?e[S.I18n.getLanguage()]||e.en:e}getScriptFullName(e){const t=e.split(".");t.shift(),t.shift();const s=[];let a="script.js";for(let i=0;ithis.onTabChange(e,t),indicatorColor:"primary",style:{position:"relative",marginLeft:10,width:this.state.editing.length>1?"calc(100% - 50px)":"100%",display:"inline-block"},textColor:"primary",variant:"scrollable",scrollButtons:"auto",children:[this.state.editing.map((e=>{if(this.props.objects[e]){let t=Mo.getText(this.props.objects[e].common.name)||"",s=this.getScriptFullName(e);t.length>18&&(t="".concat(t.substring(0,15),"..."));const a=this.props.objects[e].common&&this.scripts[e]&&this.props.objects[e].common.source!==this.scripts[e].source,i=[(0,se.jsx)("div",{className:S.Utils.clsx(this.props.classes.tabText,this.isScriptChanged(e)&&this.props.classes.tabChanged),children:t},"text"),a?(0,se.jsx)("span",{className:this.props.classes.tabChangedIcon,children:"\u25a3"},"changedSign"):null,!this.props.debugInstance&&(!this.props.debugMode||this.state.selected!==e)&&(0,se.jsx)(D.A,{onClick:t=>this.onTabClose(e,t),className:this.props.classes.closeButton,size:"small",component:"span",children:(0,se.jsx)(x.m6K,{})},"icon")];return(0,se.jsx)(Ze.A,{disabled:this.props.debugInstance||this.state.selected!==e&&this.props.debugMode,wrapped:!0,component:"div",iconPosition:"start",icon:(0,se.jsx)("img",{alt:"",src:No[this.props.objects[e].common.engineType]||No.def,className:this.props.classes.tabIcon},"icon"),href:"#".concat(e),label:i,className:this.props.classes.tabButton,value:e,title:s,classes:{wrapper:this.props.classes.tabButtonWrapper}},e)}{const t=[(0,se.jsx)("div",{className:S.Utils.clsx(this.props.classes.tabText,this.isScriptChanged(e)&&this.props.classes.tabChanged),children:e.split(".").pop()},"text"),(0,se.jsx)(D.A,{onClick:t=>this.onTabClose(e,t),className:this.props.classes.closeButton,size:"small",component:"span",children:(0,se.jsx)(x.m6K,{})},"icon")];return(0,se.jsx)(Ze.A,{wrapped:!0,component:"div",href:"#"+e,label:t,value:e,classes:{wrapper:this.props.classes.tabButtonWrapper}},e)}})),this.props.debugInstance?(0,se.jsx)(Ze.A,{disabled:!1,wrapped:!0,component:"div",href:"#".concat(this.props.debugInstance.adapter),label:this.props.debugInstance.adapter,className:this.props.classes.tabButton,value:this.props.debugInstance.adapter,title:this.props.debugInstance.adapter,classes:{wrapper:this.props.classes.tabButtonWrapper}},this.props.debugInstance.adapter):""]},"tabs1"),this.state.editing.length>1?(0,se.jsx)(D.A,{href:"#","aria-label":"Close all but current",className:this.props.classes.tabMenuButton,title:S.I18n.t("Close all but current"),"aria-haspopup":"false",onClick:e=>{const t=[this.state.selected];Object.keys(this.scripts).forEach((e=>e!==this.state.selected&&JSON.stringify(this.scripts[e])!==JSON.stringify(this.props.objects[e].common)&&t.push(e))),window.localStorage&&window.localStorage.setItem("Editor.editing",JSON.stringify(t)),this.setState({menuTabsOpened:!1,menuTabsAnchorEl:null,editing:t})},size:"medium",children:(0,se.jsx)(x.K6h,{})},"menuButton"):null]:(0,se.jsx)("div",{className:this.props.classes.toolbar,children:(0,se.jsxs)(H.A,{color:"grey",disabled:!0,className:this.props.classes.hintButton,href:"",children:[(0,se.jsx)("span",{children:S.I18n.t("Click on this icon")},"select2"),(0,se.jsx)(x.uw3,{className:this.props.classes.hintIcon},"select3"),(0,se.jsx)("span",{children:S.I18n.t("for edit or create script")},"select4")]},"select1")},"tabs2")}getDebugMenu(){return this.state.showDebugMenu?(0,se.jsxs)(N.A,{id:"menu-debug",anchorEl:this.state.menuDebugAnchorEl,open:this.state.showDebugMenu,onClose:()=>this.setState({showDebugMenu:!1,menuDebugAnchorEl:null}),PaperProps:{style:{maxHeight:360}},children:[(0,se.jsxs)(E.A,{title:S.I18n.t("debug_help"),onClick:e=>{e.stopPropagation(),e.preventDefault(),this.setState({showDebugMenu:!1,menuDebugAnchorEl:null,debugEnabled:!this.state.debugEnabled},(()=>this.onChange({debug:this.state.debugEnabled})))},children:[(0,se.jsx)($e.A,{checked:this.state.debugEnabled}),(0,se.jsx)(x.mGp,{className:this.props.classes.menuIcon,style:{color:Eo}}),S.I18n.t("debug_label")]},"debugEnabled"),(0,se.jsxs)(E.A,{title:S.I18n.t("verbose_help"),onClick:e=>{e.stopPropagation(),e.preventDefault(),this.setState({showDebugMenu:!1,menuDebugAnchorEl:null,verboseEnabled:!this.state.verboseEnabled},(()=>this.onChange({verbose:this.state.verboseEnabled})))},children:[(0,se.jsx)($e.A,{checked:this.state.verboseEnabled}),(0,se.jsx)(x.Fxb,{className:this.props.classes.menuIcon,style:{color:Oo}}),S.I18n.t("verbose_label")]},"verboseEnabled")]},"menuDebug"):null}getDebugBadge(){return[this.state.debugEnabled&&this.state.verboseEnabled&&(0,se.jsx)(x.mGp,{className:this.props.classes.menuIcon,style:{color:Oo}},"DebugVerbose"),this.state.debugEnabled&&!this.state.verboseEnabled&&(0,se.jsx)(x.mGp,{className:this.props.classes.menuIcon,style:{color:Eo}},"DebugNoVerbose"),!this.state.debugEnabled&&this.state.verboseEnabled&&(0,se.jsx)(x.Fxb,{className:this.props.classes.menuIcon,style:{color:Oo}},"noDebugVerbose")]}getAskAboutDebug(){return this.state.askAboutDebug?(0,se.jsx)(S.Confirm,{onClose:()=>{this.setState({askAboutDebug:!1},(()=>this.props.onDebugModeChange(!0)))},ok:S.I18n.t("Yes"),cancel:S.I18n.t("Cancel"),text:S.I18n.t("The script will be stopped and must be activated manually after debugging. Continue?")}):null}getToolbar(){const e=this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].engine&&this.state.runningInstances[this.scripts[this.state.selected].engine],t=this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].enabled;if(this.state.selected){const s=Object.keys(this.state.changed).filter((e=>this.state.changed[e])).length,a=this.state.changed[this.state.selected];return(0,se.jsxs)(Ye.A,{variant:"dense",className:this.props.classes.toolbar,children:[!this.props.debugInstance&&this.state.menuOpened&&this.props.onLocate&&(0,se.jsx)(D.A,{className:this.props.classes.toolbarButtons,title:S.I18n.t("Locate file"),onClick:()=>this.props.onLocate(this.state.selected),size:"medium",children:(0,se.jsx)(x.o8z,{})},"locate"),!this.props.debugInstance&&!a&&e&&(0,se.jsx)(D.A,{disabled:this.props.debugMode,variant:"contained",className:this.props.classes.toolbarButtons,onClick:()=>this.onRestart(),title:S.I18n.t("Restart"),size:"medium",children:(0,se.jsx)(x.joZ,{})},"restart"),!this.props.debugInstance&&!a&&(0,se.jsx)(D.A,{disabled:this.props.debugMode,variant:"contained",className:this.props.classes.toolbarButtons,onClick:()=>this.onStartStop(),title:t?S.I18n.t("Pause script"):S.I18n.t("Run script"),size:"medium",style:{color:t?Ro:_o},children:t?(0,se.jsx)(x.QG6,{}):(0,se.jsx)(x.XKH,{})},"start-stop"),!this.props.debugInstance&&!a&&!t&&(0,se.jsx)("span",{className:this.props.classes.notRunning,children:S.I18n.t("Script is not running")}),!a&&t&&!e&&(0,se.jsx)("span",{className:this.props.classes.notRunning,children:S.I18n.t("Instance is disabled")}),a&&(0,se.jsxs)(H.A,{color:"grey",variant:"contained",className:S.Utils.clsx(this.props.classes.textButton,this.props.classes.saveButton,"button-save"),onClick:()=>this.onSave(),children:[S.I18n.t("Save"),(0,se.jsx)(x.rZB,{className:this.props.classes.textIcon})]},"save"),(s>1||1===s&&!a)&&(0,se.jsxs)(H.A,{color:"grey",variant:"contained",className:this.props.classes.textButton,onClick:()=>this.onSaveAll(),children:[S.I18n.t("Save all"),(0,se.jsx)(x.rZB,{className:this.props.classes.textIcon})]},"saveall"),a&&(0,se.jsxs)(H.A,{color:"grey",variant:"contained",className:this.props.classes.textButton,onClick:()=>this.onCancel(),children:[S.I18n.t("Cancel"),(0,se.jsx)(x.uDv,{className:this.props.classes.textIcon})]},"cancel"),(0,se.jsx)("div",{style:{flex:2}}),this.state.blockly&&!this.state.showCompiledCode&&(0,se.jsx)(D.A,{"aria-label":"Export Blocks",title:S.I18n.t("Export blocks"),className:this.props.classes.toolbarButtons,onClick:()=>this.sendCommandToBlockly("export"),size:"medium",children:(0,se.jsx)(B.Mbn,{})},"export"),this.state.blockly&&!this.state.showCompiledCode&&(0,se.jsx)(D.A,{"aria-label":"Import Blocks",title:S.I18n.t("Import blocks"),className:this.props.classes.toolbarButtons,onClick:()=>this.sendCommandToBlockly("import"),size:"medium",children:(0,se.jsx)(B.PiR,{})},"import"),this.state.blockly&&!this.state.showCompiledCode&&(0,se.jsx)(D.A,{"aria-label":"Check code",title:S.I18n.t("Check blocks"),className:this.props.classes.toolbarButtons,onClick:()=>this.sendCommandToBlockly("check"),size:"medium",children:(0,se.jsx)(B.U9Z,{})},"check"),!this.props.debugMode&&!this.state.blockly&&!this.state.rules&&!this.state.showCompiledCode&&(0,se.jsx)(D.A,{"aria-label":"create CRON",title:S.I18n.t("Create or edit CRON or time wizard"),className:this.props.classes.toolbarButtons,onClick:()=>this.setState({showCron:!0}),size:"medium",children:(0,se.jsx)(B.w_X,{})},"select-cron"),this.scripts[this.state.selected]&&"Blockly"!==this.scripts[this.state.selected].engineType&&"Rules"!==this.scripts[this.state.selected].engineType?(0,se.jsx)(Do,{adapterName:this.props.adapterName,socket:this.props.socket,runningInstances:this.state.runningInstances,classes:this.props.classes,themeType:this.state.themeType,language:"TypeScript/ts"===this.scripts[this.state.selected].engineType?"typescript":"javascript",onAddCode:e=>this.setState({insert:e})}):null,(0,se.jsx)(D.A,{"aria-label":"Show astronomical events",title:S.I18n.t("Show astronomical events"),className:this.props.classes.toolbarButtons,disabled:!e,onClick:()=>{this.setState({showAstro:!0,astroEvents:null}),this.props.socket.sendTo(this.scripts[this.state.selected].engine.replace("system.adapter.",""),"calcAstroAll",{}).then((e=>this.setState({astroEvents:e})))},size:"medium",children:(0,se.jsx)(x.A_,{})},"show-astro"),!this.props.debugMode&&!this.state.blockly&&!this.state.rules&&!this.state.showCompiledCode&&(0,se.jsx)(D.A,{"aria-label":"select ID",title:S.I18n.t("Insert object ID"),className:this.props.classes.toolbarButtons,onClick:()=>this.setState({showSelectId:!0}),size:"medium",children:(0,se.jsx)(B.kkc,{})},"select-id"),this.state.blockly&&!this.state.rules&&this.state.showCompiledCode&&(0,se.jsx)(H.A,{color:"grey","aria-label":"convert to javascript",title:S.I18n.t("Convert blockly to javascript for ever."),onClick:()=>this.onConvertBlockly2JS(),children:"Blockly=>JS"},"convert2js"),this.state.rules&&!this.state.showCompiledCode&&(0,se.jsx)(D.A,{"aria-label":"Export Blocks",title:S.I18n.t("Export blocks"),className:this.props.classes.toolbarButtons,onClick:()=>this.sendCommandToRules("export"),size:"medium",children:(0,se.jsx)(B.Mbn,{})},"export"),this.state.rules&&!this.state.showCompiledCode&&(0,se.jsx)(D.A,{"aria-label":"Import Blocks",title:S.I18n.t("Import blocks"),className:this.props.classes.toolbarButtons,onClick:()=>this.sendCommandToRules("import"),size:"medium",children:(0,se.jsx)(B.PiR,{})},"import"),this.props.expertMode&&!a&&(this.props.debugMode||!this.state.blockly&&!this.state.rules||(this.state.blockly||this.state.rules)&&this.state.showCompiledCode)&&(0,se.jsx)(D.A,{className:this.props.classes.toolbarButtons,color:this.props.debugMode?"primary":"default",disabled:!this.props.debugMode&&!e,onClick:()=>{!this.props.debugMode&&t?this.setState({askAboutDebug:!0}):this.props.onDebugModeChange(!this.props.debugMode)},size:"medium",children:(0,se.jsx)(x.mGp,{style:{fontSize:32}})}),(this.state.blockly||this.state.rules)&&(0,se.jsx)(H.A,{"aria-label":"blockly",title:S.I18n.t("Show javascript code"),className:S.Utils.clsx(this.props.classes.toolbarButtons,"button-js-code",this.props.debugMode&&this.props.classes.toolbarButtonsDisabled),color:this.state.showCompiledCode?"secondary":"inherit",disabled:this.props.debugMode,style:{padding:"0 5px"},onClick:()=>{this.props.debugMode||(this.setState({showCompiledCode:!this.state.showCompiledCode}),this.state.isTourOpen&&this.state.tourStep===Zs&&this.setState({tourStep:Qs}),this.state.isTourOpen&&this.state.tourStep===Qs&&this.setState({tourStep:Xs}))},children:(0,se.jsx)("img",{alt:this.state.blockly?"blockly2js":"rules2js",src:this.state.blockly?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAAAeCAYAAADXRcu0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC41ZYUyZQAABxRJREFUaEPdmotTE0ccx/Pn9OG003baaeuoqGh1pPUtIogvFIWqoKLUIiY8whunqKjBKloVsMZQEV8FFBWtgkKtGFoRUWx9gsgzCcl9u3u5JLvJFuk01ITfzGeS++4vd7e/b2739hIVgBFPQEBAAQGEfsJ+gjDvTSIURxK06IoB1AgHwtw3iVAcSdCiu5lwV5T3phGKIwlSeKObEcK8N41QpKiTUlTpOj38mfXqXNYATAoch87zbwPX3/I5hCZQ1Mmpquwj1di4sxzr88r8khmhyzkj0tZ/IiyCLyA0geIwYklqCRaoj/gdwfE6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8H1ZxzNbftsBzLpmMSfG3n5nyWb9H6OFFKptjl9HbUqOz8Zzj7fOqesBEX4Kgs2QFwtcPV5JOQmsV8u/b+qVMmecosmt3QitVZcKQPXFPSvadNQ+/5JfvpfhwBeKDkOo1Xk/rlIr10pl400lbaaPL2NtOOhPcjeFo2z6VzgheoLhQ3fRr5/Tzm+99kXWtsQZPj0gmUxnDihIycH+CnRt7uR7hvq5xF6RcS9aNy2P0J8bffyI8PWKsoU79g9l9wLMOkU+A+WR8I1Hx/z+YDQ0ecOH9lhyNMNYwXg2xDPiag9cL/H7kVRkajFdDPODCexqIufDHBcarIV4D7KWRBHaNki5Dgn8DIpsEjn2A+AIAAAAASUVORK5CYII="})},"blockly-code"),(0,se.jsx)(D.A,{disabled:this.props.debugMode,"aria-label":"Debug menu",title:S.I18n.t("Debug options"),className:this.props.classes.toolbarButtons,onClick:e=>this.setState({showDebugMenu:!0,menuDebugAnchorEl:e.currentTarget}),size:"medium",children:(0,se.jsx)(Qe.A,{className:this.props.classes.badgeMargin,badgeContent:this.getDebugBadge(),children:(0,se.jsx)(x.U12,{})})},"debug")]},"toolbar1")}return null}getScriptEditor(){return this.props.debugMode||!this.state.selected||!this.props.objects[this.state.selected]||null===this.state.blockly||this.state.blockly&&!this.state.showCompiledCode||this.state.rules&&!this.state.showCompiledCode?null:(this.scripts[this.state.selected]=this.scripts[this.state.selected]||JSON.parse(JSON.stringify(this.props.objects[this.state.selected].common)),(0,se.jsx)("div",{className:this.props.classes.editorDiv,children:(0,se.jsx)(pt,{name:this.state.selected,adapterName:this.props.adapterName,insert:this.state.insert,onInserted:()=>this.setState({insert:""}),onForceSave:()=>this.onSave(),searchText:this.state.searchText,onRegisterSelect:e=>this.onRegisterSelect(e),readOnly:this.state.showCompiledCode,changed:this.state.changed[this.state.selected],code:this.scripts[this.state.selected].source||"",isDark:"dark"===this.state.themeType,socket:this.props.socket,runningInstances:this.state.runningInstances,onChange:e=>this.onChange({script:e}),language:"TypeScript/ts"===this.scripts[this.state.selected].engineType?"typescript":"javascript"},"scriptEditor1")},"scriptEditorDiv"))}getBlocklyEditor(){return!this.props.debugMode&&this.state.instancesLoaded&&this.state.selected&&this.props.objects[this.state.selected]&&this.state.blockly&&!this.state.showCompiledCode&&this.state.visible?(this.scripts[this.state.selected]=this.scripts[this.state.selected]||JSON.parse(JSON.stringify(this.props.objects[this.state.selected].common)),(0,se.jsx)("div",{className:this.props.classes.editorDiv,children:(0,se.jsx)(Tt,{command:this.state.cmdToBlockly,themeType:this.state.themeType,searchText:this.state.searchText,resizing:this.props.resizing,code:this.scripts[this.state.selected].source||"",scriptId:this.state.selected,onChange:e=>this.onChange({script:e})},"BlocklyEditor")},"blocklyEditorDiv")):null}getRulesEditor(){if(!this.props.debugMode&&this.state.instancesLoaded&&this.state.selected&&this.props.objects[this.state.selected]&&this.state.rules&&!this.state.showCompiledCode&&this.state.visible){this.scripts[this.state.selected]=this.scripts[this.state.selected]||JSON.parse(JSON.stringify(this.props.objects[this.state.selected].common));const e=this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].engine&&this.state.runningInstances[this.scripts[this.state.selected].engine],t=this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].enabled;return(0,se.jsx)("div",{className:S.Utils.clsx(this.props.classes.editorDiv),children:(0,se.jsx)(no,{scriptId:this.state.selected,setTourStep:this.setTourStep,tourStep:this.state.tourStep,isTourOpen:this.state.isTourOpen,changed:this.state.changed[this.state.selected],running:e&&t,command:this.state.cmdToRules,themeType:this.state.themeType,themeName:this.props.themeName,searchText:this.state.searchText,resizing:this.props.resizing,code:this.scripts[this.state.selected].source||"",onChange:e=>this.onChange({script:e})},"flowEditor")},"flowEditorDiv")}return null}getConfirmDialog(){return this.state.confirm?(0,se.jsx)(S.Confirm,{text:this.state.confirm,onClose:e=>{if(this.confirmCallback){const t=this.confirmCallback;this.confirmCallback=null,t(e)}this.setState({confirm:""})}},"dialogConfirm1"):null}getSelectIdDialog(){if(this.state.showSelectId){var e;const t=["state","channel","device","adapter","instance","enum","host","config","script","user","group"];let s=this.selectId.callback?this.selectId.initValue||"":this.getSelect?this.getSelect():"",a=s.indexOf("/*");-1!==a&&(s=s.substring(0,a)),a=s.indexOf("//"),-1!==a&&(s=s.substring(0,a));let i=s.match(/"([^"]+)"/);return i&&(s=i[1]),i=s.match(/'([^']+)'/),i&&(s=i[1]),(0,se.jsx)(S.SelectID,{imagePrefix:"../..",themeName:this.props.themeName,themeType:this.state.themeType,socket:this.props.socket,selected:s,expertMode:"script"===this.selectId.type||void 0,types:"all"===(null===(e=this.selectId)||void 0===e?void 0:e.type)?t:[this.selectId.type||"state"],onClose:()=>{this.setState({showSelectId:!1}),this.selectId.callback&&(this.selectId.callback=null)},onOk:(e,t)=>{this.selectId.initValue=null,this.selectId.callback?(this.selectId.callback(e),this.selectId.callback=null):this.setState({insert:"'".concat(e,"'/*").concat(t,"*/")})}},"dialogSelectID1")}return null}getCronDialog(){return this.state.showCron?(0,se.jsx)(S.Cron,{cron:this.cron.callback?this.cron.initValue||"":this.getSelect?this.getSelect():"* * * * *",onClose:()=>this.setState({showCron:!1}),onOk:e=>{this.cron.initValue=null,this.cron.callback?(this.cron.callback(e),this.cron.callback=null):this.setState({insert:"'".concat(e,"'")})}},"dialogCron1"):null}getAstroDialog(){return this.state.showAstro?(0,se.jsxs)(K.A,{open:!0,onClose:()=>this.setState({showAstro:!1}),children:[(0,se.jsx)(q.A,{children:S.I18n.t("Astronomical events today")}),(0,se.jsx)(G.A,{children:this.state.astroEvents?(0,se.jsx)(it.A,{component:lt.A,children:(0,se.jsxs)(tt.A,{size:"small",children:[(0,se.jsx)(ot.A,{children:(0,se.jsxs)(nt.A,{children:[(0,se.jsx)(at.A,{children:S.I18n.t("Name")}),(0,se.jsx)(at.A,{children:S.I18n.t("Server time")}),(0,se.jsx)(at.A,{children:S.I18n.t("Description")})]})}),(0,se.jsx)(st.A,{children:Object.keys(this.state.astroEvents).map((e=>(0,se.jsxs)(nt.A,{children:[(0,se.jsx)(at.A,{component:"th",scope:"row",children:e.startsWith("next")?"":e}),(0,se.jsx)(rt.A,{title:S.I18n.t("Local time")+": "+new Date(this.state.astroEvents[e].date).toLocaleTimeString(),children:(0,se.jsx)(at.A,{align:"right",children:this.state.astroEvents[e].serverTime})}),(0,se.jsx)(at.A,{children:S.I18n.t(e)})]},e)))})]})}):(0,se.jsx)(et.A,{})}),(0,se.jsx)(Y.A,{children:(0,se.jsx)(H.A,{variant:"contained",onClick:()=>this.setState({showAstro:!1}),color:"primary",startIcon:(0,se.jsx)(x.m6K,{}),children:S.I18n.t("Close")})})]},"dialogAstro"):null}getEditorDialog(){return this.state.showScript?(0,se.jsx)(Et,{adapterName:this.props.adapterName,source:this.scriptDialog.initValue,args:this.scriptDialog.args?this.scriptDialog.args.join(", "):"",isReturn:this.scriptDialog.isReturn,socket:this.props.socket,runningInstances:this.state.runningInstances,themeType:this.state.themeType,onClose:e=>{this.scriptDialog.initValue=null,this.scriptDialog.callback&&(!1!==e&&this.scriptDialog.callback(e||""),this.scriptDialog.callback=null),this.setState({showScript:!1})}},"scriptEditorDialog"):null}getToast(){return(0,se.jsx)(Xe.A,{anchorOrigin:{vertical:"bottom",horizontal:"left"},open:!!this.state.toast,autoHideDuration:6e3,onClose:()=>this.setState({toast:""}),ContentProps:{"aria-describedby":"message-id"},message:(0,se.jsx)("span",{id:"message-id",children:this.state.toast}),action:[(0,se.jsx)(D.A,{"aria-label":"close",color:"inherit",className:this.props.classes.closeToast,onClick:()=>this.setState({toast:""}),size:"medium",children:(0,se.jsx)(x.m6K,{})},"close")]},"toast")}getTour(){if(this.state.instancesLoaded&&this.state.selected&&1===this.props.isAnyRulesExists&&this.props.objects[this.state.selected]&&this.state.rules&&this.state.visible)return(0,se.jsx)(Ge.Ay,{steps:$s,isOpen:this.state.isTourOpen,onRequestClose:()=>{this.setState({isTourOpen:!1}),window.localStorage.setItem("tour","true"),this.props.socket.setState("javascript.0.variables.rulesTour",{val:!0,ack:!0})},goToStep:this.state.tourStep},"tour")}getDebug(){if(this.props.debugMode){return this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].engine&&this.state.runningInstances[this.scripts[this.state.selected].engine]?(0,se.jsx)(fo,{runningInstances:this.state.runningInstances,adapterName:this.props.adapterName,socket:this.props.socket,theme:this.props.theme,themeName:this.props.themeName,themeType:this.props.themeType,src:this.props.debugInstance?this.props.debugInstance.adapter:this.state.selected,debugInstance:this.props.debugInstance},"debugger"):(setTimeout((()=>this.props.onDebugModeChange(!1))),null)}return null}render(){return this.state.selected&&this.props.objects[this.state.selected]&&null===this.state.blockly&&null===this.state.rules&&(this.scripts[this.state.selected]=this.scripts[this.state.selected]||JSON.parse(JSON.stringify(this.props.objects[this.state.selected].common)),setTimeout((()=>{const e={blockly:"Blockly"===this.scripts[this.state.selected].engineType,rules:"Rules"===this.scripts[this.state.selected].engineType,showCompiledCode:!1,debugEnabled:this.scripts[this.state.selected].debug,verboseEnabled:this.scripts[this.state.selected].verbose};this.removeNonExistingScripts(null,e),this.setState(e)}),100)),[this.getTabs(),this.getToolbar(),this.getScriptEditor(),this.getAskAboutDebug(),this.getBlocklyEditor(),this.getRulesEditor(),this.getDebug(),this.getConfirmDialog(),this.getSelectIdDialog(),this.getCronDialog(),this.getEditorDialog(),this.getAstroDialog(),this.getDebugMenu(),this.getToast(),this.getTour()]}}const zo=(0,u.A)((e=>({toolbar:{minHeight:38,boxShadow:"0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12)"},toolbarButtons:{padding:4,marginLeft:4},toolbarButtonsDisabled:{filter:"grayscale(100%)",opacity:.5},editorDiv:{height:"calc(100% - ".concat(e.toolbar.height+38+10,"px)"),width:"100%",overflow:"hidden",position:"relative"},textButton:{marginRight:10,minHeight:24,padding:"6px 16px"},saveButton:{background:"#ff9900"},textIcon:{marginLeft:e.spacing(1)},tabIcon:{width:24,height:24,verticalAlign:"middle",marginBottom:2,marginRight:2,borderRadius:3},hintIcon:{padding:"0 8px 0 8px"},hintText:{},hintButton:{marginTop:8,marginLeft:20},tabMenuButton:{position:"absolute",top:0,right:0},tabChanged:{color:e.palette.secondary.main},tabText:{maxWidth:130,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",display:"inline-block",verticalAlign:"middle"},tabChangedIcon:{color:"#FF0000",fontSize:16,marginLeft:5},closeButton:{marginLeft:5},notRunning:{color:"#ffbc00",marginRight:e.spacing(1),marginLeft:e.spacing(1)},tabButton:{minHeight:48},tabButtonWrapper:{display:"inline-block"},menuIcon:{width:18,height:18,borderRadius:2,marginRight:5},fullHeightDialog:{height:"calc(100% - 100px)"}})))(Mo);class Bo extends i().Component{constructor(e){super(e),this.state={error:"",imageStatus:""}}componentDidMount(){setTimeout((()=>{try{window.document.getElementById("import-text-area").focus()}catch(e){}}),100)}handleCancel(){this.props.onClose()}onChange(e){this.setState({text:e.target.value})}static readFileDataUrl(e,t){const s=new FileReader;s.onload=()=>{t(null,{data:s.result,name:e.name})},s.onabort=()=>{console.error("file reading was aborted"),t(S.I18n.t("file reading was aborted"))},s.onerror=e=>{console.error("file reading has failed"),t(S.I18n.t("file reading has failed: %s",e))},s.readAsDataURL(e)}handleDropFile(e){if(e&&e.hasOwnProperty("target")&&(e=e.target.files),!e&&!e.length)return;const t=e[e.length-1];t&&Bo.readFileDataUrl(t,((e,t)=>{e?this.setState({error:e}):this.props.onClose(t&&t.data)}))}render(){const e=this.props.classes,t=e.dropzone+" "+("accepted"===this.state.imageStatus?e.dropzoneAccepted:"rejected"===this.state.imageStatus?e.dropzoneRejected:"");return(0,se.jsxs)(K.A,{onClose:(e,t)=>!1,maxWidth:"lg",classes:{paper:e.dialog},fullWidth:!0,open:!0,"aria-labelledby":"import-dialog-title",children:[(0,se.jsx)(q.A,{id:"import-dialog-title",children:S.I18n.t("Import scripts")}),(0,se.jsxs)(G.A,{className:e.fullHeight,children:[(0,se.jsx)(vt.default,{maxSize:5e7,acceptClassName:e.dropzoneAccepted,rejectClassName:e.dropzoneRejected,onDrop:e=>this.handleDropFile(e),multiple:!1,accept:"application/zip,application/x-zip-compressed",className:t,children:e=>{let{getRootProps:t,getInputProps:s,isDragActive:a,isDragReject:i}=e;return i?("rejected"!==this.state.imageStatus&&this.setState({imageStatus:"rejected"}),(0,se.jsxs)("div",{className:this.props.classes.dropzoneDiv,...t(),children:[(0,se.jsx)("input",{...s()}),(0,se.jsx)("span",{className:this.props.classes.text,children:S.I18n.t("Some files will be rejected")},"text"),(0,se.jsx)(x.uDv,{className:this.props.classes.icon+" "+this.props.classes.iconError},"icon")]})):a?("accepted"!==this.state.imageStatus&&this.setState({imageStatus:"accepted"}),(0,se.jsxs)("div",{className:this.props.classes.dropzoneDiv,...t(),children:[(0,se.jsx)("input",{...s()}),(0,se.jsx)("span",{className:this.props.classes.text,children:S.I18n.t("All files will be accepted")},"text"),(0,se.jsx)(x.u_S,{className:this.props.classes.icon+" "+this.props.classes.iconOk},"icon")]})):("wait"!==this.state.imageStatus&&this.setState({imageStatus:"wait"}),(0,se.jsxs)("div",{className:this.props.classes.dropzoneDiv,...t(),children:[(0,se.jsx)("input",{...s()}),(0,se.jsx)("span",{className:this.props.classes.text,children:S.I18n.t("Drop some files here or click...")},"text"),(0,se.jsx)(x.t76,{className:this.props.classes.icon},"icon")]}))}},"image-drop"),this.state.error?(0,se.jsx)(ke,{text:this.state.error,onClose:()=>this.setState({error:""})}):null]}),(0,se.jsx)(Y.A,{children:(0,se.jsx)(H.A,{color:"grey",variant:"contained",onClick:()=>this.handleCancel(),startIcon:(0,se.jsx)(ee.A,{}),children:S.I18n.t("Close")})})]})}}const Po=(0,u.A)((e=>({dialog:{height:"95%"},fullHeight:{height:"100%",overflow:"hidden"},dropzone:{marginTop:20,width:"100%",borderWidth:5,borderStyle:"dashed",borderColor:"#d0cccc",textAlign:"center",boxSizing:"border-box",paddingTop:45,borderRadius:10,height:"calc(100% - 10px)"},dropzoneDiv:{width:"100%",height:"100%"},dropzoneRejected:{borderColor:"#970000"},dropzoneAccepted:{borderColor:"#17cd02"},icon:{height:"30%",width:"30%",color:"#eeeeee",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",zIndex:0},iconError:{color:"#ffc3c6"},iconOk:{color:"#aaeebc"},text:{top:"50%",left:"50%",transform:"translate(-50%,-50%)",color:"#868686",position:"absolute",zIndex:1}})))(Bo);class Fo extends(g()){constructor(e){super(e,{Connection:S.AdminConnection,translations:{en:s(75553),de:s(46477),es:s(72706),fr:s(74554),it:s(66851),nl:s(86164),pl:s(23638),pt:s(74606),ru:s(63715),uk:s(93882),"zh-cn":s(80222)},bottomButtons:!1,socket:{autoSubscribeLog:!0},sentryDSN:window.sentryDSN}),this.onScriptsChanged=(e,t)=>{if(!e)return;let s=!1;const a={};e.startsWith("script.js.")&&(t?JSON.stringify(this.scripts[e])!==JSON.stringify(t)&&(this.scripts[e]=t,s=!0,a.scriptsHash=this.state.scriptsHash+1):this.scripts[e]&&(delete this.scripts[e],s=!0,a.scriptsHash=this.state.scriptsHash+1)),s&&this.setState(a)},this.onInstanceChanged=(e,t)=>{if(!e)return;let s=!1;const a={};if(e.match(/^system\.adapter\.[-_\w\d]+\$/)){if(e.startsWith("system.adapter.".concat(this.adapterName,".")))if(t&&"instance"===t.type)this.state.instances.includes(e)||(a.instances=[...this.state.instances],a.instances.push(e),a.instances.sort(),s=!0,this.socket.subscribeState("".concat(t._id,".alive"),this.onInstanceAliveChange));else if(!t&&this.state.instances.includes(e)){this.socket.unsubscribeState("".concat(e,".alive"),this.onInstanceAliveChange),a.instances=[...this.state.instances];const t=a.instances.indexOf(e);a.instances.splice(t,1),s=!0}t&&t[e].common&&t[e].common.blockly&&(this.confirmCallback=e=>e&&window.location.reload(),a.confirm=S.I18n.t("Some blocks were updated. Reload admin?"),s=!0)}s&&this.setState(a)},this.onHostChanged=(e,t)=>{if(!e)return;if(e.startsWith("system.host."))if(t&&"host"===t.type)this.hosts.includes(e)||(this.hosts.push(e),this.hosts.sort());else if(!t&&this.hosts.includes(e)){const t=this.hosts.indexOf(e);this.hosts.splice(t,1)}},this.onInstanceAliveChange=(e,t)=>{if(e&&(e=e&&e.substring(0,e.length-6),this.state.runningInstances[e]!==(!!t&&t.val))){const s=JSON.parse(JSON.stringify(this.state.runningInstances));s[e]=!!t&&t.val,this.setState({runningInstances:s})}},this.logSize=window.localStorage&&parseFloat(window.localStorage.getItem("App.logSize"))||150,this.menuSize=window.localStorage&&parseFloat(window.localStorage.getItem("App.menuSize"))||500,this.hosts=[],this.importFile=null,this.scripts={},window.alert=e=>{console.error(e),this.showError(e.toString())}}onConnectionReady(){window.systemLang=this.socket.systemLang,this.setState({ready:!1,updateScripts:0,scriptsHash:0,instances:[],updating:!1,resizing:!1,selected:null,logMessage:{},editing:[],menuOpened:"false"!==window.localStorage.getItem("App.menuOpened"),menuSelectId:"",expertMode:"true"===window.localStorage.getItem("App.expertMode"),logHorzLayout:"true"===window.localStorage.getItem("App.logHorzLayout"),runningInstances:{},confirm:"",importFile:!1,message:"",searchText:"",hideLog:"true"===window.localStorage.getItem("App.hideLog"),debugMode:!1,debugInstance:null});const e={};this.subscribeOnInstances().then((t=>(e.instances=t.instances,e.runningInstances=t.runningInstances,this.readAdaptersWithBlockly()))).then((()=>this.socket.getHosts())).then((e=>(this.hosts=e.map((e=>e._id)),this.readAllScripts()))).then((t=>{window.localStorage&&"true"!==window.localStorage.getItem("App.expertMode")&&"false"!==window.localStorage.getItem("App.expertMode")&&Object.keys(t).find((e=>e.startsWith("script.js.global.")&&"script"===t.type))&&(e.expertMode=!0),this.scripts=t;let s=this.state.scriptsHash;this.compareScripts(t)&&s++,e.scriptsHash=s,e.ready=!0,this.socket.subscribeObject("script.*",this.onScriptsChanged),this.socket.subscribeObject("system.adapter.*",this.onInstanceChanged),this.socket.subscribeObject("system.host.*",this.onHostChanged),this.setState(e)}))}subscribeOnInstances(){return this.socket.getAdapterInstances(this.adapterName).then((e=>{const t=e.map((e=>parseInt(e._id.split(".").pop()))).sort(),s={};t.forEach((e=>s["system.adapter.".concat(this.adapterName,".").concat(e)]=!1));const a=[];return t.forEach((e=>{const t="system.adapter.".concat(this.adapterName,".").concat(e),i="".concat(t,".alive");a.push(this.socket.getState(i).then((e=>{s[t]=!!e&&e.val,this.socket.subscribeState(i,this.onInstanceAliveChange)})))})),Promise.all(a).then((()=>({instances:t,runningInstances:s})))}))}readAllScripts(){return this.socket.getObjectView("script.js.","script.js.\u9999","channel").then((e=>this.socket.getObjectView("script.js.","script.js.\u9999","script").then((t=>(Object.keys(t).forEach((s=>e[s]=t[s])),e)))))}readAdaptersWithBlockly(){return this.socket.getObjectView("system.adapter.","system.adapter.\u9999","adapter").then((e=>new Promise((t=>Tt.loadCustomBlockly(e,(()=>t()))))))}onToggleExpertMode(e){this.onExpertModeChange(e)}compareScripts(e){const t=Object.keys(this.scripts),s=Object.keys(e);if(t.length!==s.length)return this.scripts=this.newScripts,!0;if(JSON.stringify(t)!==JSON.stringify(s))return this.scripts=this.newScripts,!0;for(let a=0;a ").concat(t)),this.setState({updating:!0}),this.scripts[e]&&"script"===this.scripts[e].type){const o=JSON.parse(JSON.stringify(this.scripts[e].common));o.name=s||o.name,void 0!==a&&(o.engine="system.adapter.javascript.".concat(a));const n=t.split(".");n.pop();const r=n.join(".");this.scripts[r]&&"script"===this.scripts[r].type&&(n.pop(),t="".concat(n.join("."),".").concat(t.split(".").pop())),i=this.updateScript(e,t,o)}else i=this.renameGroup(e,t,s);i.then((()=>this.setState({updating:!1}))).catch((e=>"canceled"!==e&&this.showError(e)))}renameGroup(e,t,s,a){if(a){if(a.length){let i=a.pop();return this.socket.getObject(i).then((o=>this.socket.delObject(i).catch((()=>{})).then((()=>(i=t+i.substring(e.length),o._id=i,o.common=o.common||{},o.common.expert=!0,this.socket.setObject(i,o)))).then((()=>this.renameGroup(e,t,s,a)))))}return Promise.resolve()}return a=[],a=Object.keys(this.scripts).filter((t=>t.startsWith("".concat(e,".")))),this.socket.getObject(e).then((i=>{(i=i||{common:{}}).common.name=s||i.common.name||e.split(".").pop(),i._id=t,this.socket.delObject(e).catch((()=>{})).then((()=>this.socket.setObject(t,i))).then((()=>this.renameGroup(e,t,s,a))).catch((e=>console.log(e)))})).catch((i=>{console.log(i);const o={_id:t,type:"channel",common:{name:s||e.split(".").pop(),expert:!0},native:{}};return this.socket.setObject(t,o).then((()=>this.renameGroup(e,t,s,a)))}))}onUpdateScript(e,t){this.scripts[e]&&"script"===this.scripts[e].type&&this.updateScript(e,e,t).then((()=>{})).catch((e=>"canceled"!==e&&this.showError(e)))}onSelect(e){this.scripts[e]&&this.scripts[e].common&&"script"===this.scripts[e].type&&this.setState({selected:e,menuSelectId:e},(()=>setTimeout((()=>this.setState({menuSelectId:""})))),300)}onExpertModeChange(e){this.state.expertMode!==e&&(window.localStorage&&window.localStorage.setItem("App.expertMode",e?"true":"false"),this.setState({expertMode:e}))}showError(e){this.setState({errorText:e?e.toString():""})}showMessage(e){this.setState({message:e?e.toString():""})}onDelete(e){this.socket.delObject(e).then((()=>{})).catch((e=>this.showError(e)))}onEdit(e){this.state.selected!==e&&this.setState({selected:e})}onAddNew(e,t,s,a,i,o){const n=new RegExp("^".concat(e,"\\."));if(Object.keys(this.scripts).find((t=>e===t||n.test(e))))return this.showError(S.I18n.t("Yet exists!"));s?this.socket.setObject(e,{common:{name:t,expert:!0},type:"channel"}).then((()=>setTimeout((()=>this.setState({menuSelectId:e},(()=>setTimeout((()=>this.setState({menuSelectId:""})))),300)),1e3))).catch((e=>this.showError(e))):this.socket.setObject(e,{common:{name:t,expert:!0,engineType:i,engine:"system.adapter.javascript.".concat(a||0),source:o||"",debug:!1,verbose:!1},type:"script"}).then((()=>setTimeout((()=>this.onSelect(e)),1e3))).catch((e=>this.showError(e)))}updateScript(e,t,s){return this.socket.getObject(e).then((a=>{const i={common:{}};return void 0!==s.engine&&(i.common.engine=s.engine),void 0!==s.enabled&&(i.common.enabled=s.enabled),void 0!==s.source&&(i.common.source=s.source),void 0!==s.debug&&(i.common.debug=s.debug),void 0!==s.verbose&&(i.common.verbose=s.verbose),i.from="system.adapter.admin.0",e===t&&a&&a.common&&s.name===a.common.name?(s.engineType&&s.engineType===a.common.engineType||void 0!==s.engineType&&(i.common.engineType=s.engineType||"Javascript/js"),i.type="script",this.socket.extendObject(e,i)):a&&a.common?(a.common.engineType=s.engineType||a.common.engineType||"Javascript/js",this.socket.delObject(e).then((()=>{void 0!==i.common.engine&&(a.common.engine=i.common.engine),void 0!==i.common.enabled&&(a.common.enabled=i.common.enabled),void 0!==i.common.source&&(a.common.source=i.common.source),void 0!==i.common.name&&(a.common.name=i.common.name),void 0!==i.common.debug&&(a.common.debug=i.common.debug),void 0!==i.common.verbose&&(a.common.verbose=i.common.verbose),delete a._rev,a.common.name=s.name,a.common.expert=!0,a.type="script",a._id=t,this.socket.setObject(t,a)}))):((a=i).common.name=s.name,a.common.expert=!0,a.type="script",a._id=t,this.socket.setObject(t,a))}))}onEnableDisable(e,t){if(this.scripts[e]&&"script"===this.scripts[e].type){const s=this.scripts[e].common;s.enabled=t,s.expert=!0,this.updateScript(e,e,s).catch((e=>"canceled"!==e&&this.showError(e)))}}getLiveHost(e,t){if(t||(t=this.hosts?[...this.hosts]:[]),t.length){const s=t.shift();this.socket.getState("".concat(s,".alive")).then((a=>{a&&a.val?e(s):setTimeout((()=>this.getLiveHost(e,t)))}))}else e()}onExport(){this.getLiveHost((e=>{if(!e)return this.showError(S.I18n.t("No active host found"));const t=new Date;let s=t.getFullYear(),a=t.getMonth()+1;a<10&&(a="0".concat(a)),s+="-".concat(a),a=t.getDate(),a<10&&(a="0".concat(a)),s+="-".concat(a,"-"),this.socket.getRawSocket().emit("sendToHost",e,"readObjectsAsZip",{adapter:"javascript",id:"script.js",link:"".concat(s,"scripts.zip"),fileStorageNamespace:"admin.".concat(this.instance)},(e=>{if("string"===typeof e){const t=document.createElement("a");if(e.startsWith("admin."))t.href="../../files/".concat(e);else{const s=e.split(".zip.");t.href="./zip/".concat(s[0],"/").concat(s[1])}document.body.appendChild(t),t.click(),t.remove()}else if(e.error&&this.showError(e.error),e.data){const t=document.createElement("a");t.href="data: application/zip;base64,".concat(e.data),t.download="".concat(s,"scripts.zip"),document.body.appendChild(t),t.click(),t.remove()}}))}))}onImport(e){this.importFile=e,e?(this.confirmCallback=this.onImportConfirmed.bind(this),this.setState({importFile:!1,confirm:S.I18n.t("Existing scripts will be overwritten.")})):this.setState({importFile:!1})}onImportConfirmed(e){let t=this.importFile;this.importFile=null,e&&t&&(t=t.split(",")[1],this.getLiveHost((e=>{e?this.socket.getRawSocket().emit("sendToHost",e,"writeObjectsAsZip",{data:t,adapter:"javascript",id:"script.js"},(e=>{"permissionError"===e?this.showError(S.I18n.t(e)):!e||e.error?this.showError(e?S.I18n.t(e.error):S.I18n.t("Unknown error")):this.showMessage(S.I18n.t("Done"))})):this.showError(S.I18n.t("No active host found"))})))}toggleLogLayout(){window.localStorage&&window.localStorage.setItem("App.logHorzLayout",this.state.logHorzLayout?"false":"true"),this.setState({logHorzLayout:!this.state.logHorzLayout})}renderEditor(){const e=Object.keys(this.scripts).reduce(((e,t)=>e+("Rules"===this.scripts[t].common.engineType?1:0)),0);return(0,se.jsx)(zo,{debugMode:this.state.debugMode,onDebugModeChange:e=>{e?this.setState({debugMode:!0}):this.setState({debugMode:!1,debugInstance:null})},visible:!this.state.resizing,socket:this.socket,adapterName:this.adapterName,onLocate:e=>this.setState({menuSelectId:e}),runningInstances:this.state.runningInstances,menuOpened:this.state.menuOpened,searchText:this.state.searchText,themeType:this.state.themeType,themeName:this.state.themeName,theme:this.state.theme,expertMode:this.state.expertMode,onChange:(e,t)=>this.onUpdateScript(e,t),isAnyRulesExists:e,debugInstance:this.state.debugInstance,onSelectedChange:(e,t)=>{const s={};let a=!1;e!==this.state.selected&&(a=!0,s.selected=e),JSON.stringify(t)!==JSON.stringify(this.state.editing)&&(a=!0,s.editing=JSON.parse(JSON.stringify(t))),a&&this.setState(s)},onRestart:e=>this.socket.extendObject(e,{common:{enabled:!0}}),selected:this.state.selected&&this.scripts[this.state.selected]&&"script"===this.scripts[this.state.selected].type?this.state.selected:"",objects:this.scripts,instances:this.state.instances},"editor")}showLogButton(){return(0,se.jsx)("div",{title:S.I18n.t("Show logs"),className:this.props.classes.showLogButton,onClick:()=>{window.localStorage.setItem("App.hideLog","false"),this.setState({hideLog:!1,resizing:!0}),setTimeout((()=>this.setState({resizing:!1})),300)},children:(0,se.jsx)(x.U3x,{})},"showLog")}renderErrorDialog(){return this.state.errorText?(0,se.jsx)(ke,{onClose:()=>this.setState({errorText:""}),text:this.state.errorText},"dialogError"):null}renderMain(){const{classes:e}=this.props;return[this.state.message?(0,se.jsx)(y(),{onClose:()=>this.setState({message:""}),text:this.state.message},"dialogMessage"):null,this.renderErrorDialog(),this.state.importFile?(0,se.jsx)(Po,{onClose:e=>this.onImport(e)},"dialogImportFile"):null,this.state.confirm?(0,se.jsx)(f(),{onClose:e=>{this.state.confirm&&this.setState({confirm:""}),this.confirmCallback&&this.confirmCallback(e),this.confirmCallback=null},text:this.state.confirm},"dialogConfirm"):null,(0,se.jsxs)("div",{className:e.content+" iobVerticalSplitter",children:[(0,se.jsx)("div",{className:e.menuOpenCloseButton,onClick:()=>{window.localStorage.setItem("App.menuOpened",this.state.menuOpened?"false":"true"),this.setState({menuOpened:!this.state.menuOpened,resizing:!0}),setTimeout((()=>this.setState({resizing:!1})),300)},children:this.state.menuOpened?(0,se.jsx)(x.MGo,{}):(0,se.jsx)(x.vIB,{})},"closeMenu"),(0,se.jsxs)(h(),{vertical:!this.state.logHorzLayout,primaryMinSize:100,secondaryInitialSize:this.state.hideLog?0:this.logSize,onDragStart:()=>this.setState({resizing:!0}),onSecondaryPaneSizeChange:e=>this.state.hideLog?0:this.logSize=parseFloat(e),onDragEnd:()=>{this.setState({resizing:!1}),window.localStorage.setItem("App.logSize",this.logSize.toString())},children:[(0,se.jsxs)(se.Fragment,{children:[this.renderEditor(),!this.state.debugMode&&this.state.hideLog&&this.showLogButton()]}),!this.state.debugMode&&!this.state.hideLog&&(0,se.jsx)(qe,{verticalLayout:!this.state.logHorzLayout,onLayoutChange:()=>this.toggleLogLayout(),editing:this.state.editing,socket:this.socket,selected:this.state.selected,onHideLog:()=>{window.localStorage.setItem("App.hideLog","true"),this.setState({hideLog:!0,resizing:!0}),setTimeout((()=>this.setState({resizing:!1})),300)}},"log")]},"splitterLayout")]},"main")]}render(){const{classes:e}=this.props;return this.state.ready?(0,se.jsx)("div",{className:e.root,children:(0,se.jsx)(hi,{socket:this.socket,children:(0,se.jsxs)(h(),{vertical:!1,primaryMinSize:300,primaryIndex:1,secondaryMinSize:300,secondaryInitialSize:this.menuSize,customClassName:"".concat(e.splitterDivs," ").concat(this.state.menuOpened?"":e.menuDivWithoutMenu),onDragStart:()=>this.setState({resizing:!0}),onSecondaryPaneSizeChange:e=>this.menuSize=parseFloat(e),onDragEnd:()=>{this.setState({resizing:!1}),window.localStorage.setItem("App.menuSize",this.menuSize.toString())},children:[(0,se.jsx)("div",{className:e.mainDiv,children:(0,se.jsx)(Ve,{debugMode:this.state.debugMode,onDebugInstance:e=>{this.setState({debugInstance:e,debugMode:!!e})},scripts:this.scripts,scriptsHash:this.state.scriptsHash,instances:this.state.instances,update:this.state.updateScripts,onRename:this.onRename.bind(this),onSelect:this.onSelect.bind(this),socket:this.socket,selectId:this.state.menuSelectId,onEdit:this.onEdit.bind(this),expertMode:this.state.expertMode,themeType:this.state.themeType,themeName:this.state.themeName,onThemeChange:e=>{S.Utils.setThemeName(e);const t=S.Utils.getThemeType(e);this.setState({themeName:e,themeType:t},(()=>this.props.onThemeChange(e)))},runningInstances:this.state.runningInstances,onExpertModeChange:this.onExpertModeChange.bind(this),onDelete:this.onDelete.bind(this),onAddNew:this.onAddNew.bind(this),onEnableDisable:this.onEnableDisable.bind(this),onExport:this.onExport.bind(this),width:this.menuSize,onImport:()=>this.setState({importFile:!0}),onSearch:e=>this.setState({searchText:e}),version:this.props.version},"sidemenu")},"menu"),this.renderMain()]},"menuSplitter")})}):(0,se.jsx)(S.Loader,{theme:this.state.themeType})}}Fo.propTypes={version:d().string,onThemeChange:d().func};const Lo=(0,u.A)((e=>({root:{flexGrow:1,display:"flex",width:"100%",height:"100%"},menuDiv:{overflow:"hidden"},splitterDivs:{"&>div":{overflow:"hidden",width:"100%",height:"100%"},"& .layout-splitter":{background:"dark"===e.palette.mode?"#595858":"#ccc;"}},mainDiv:{width:"100%",height:"100%",overflow:"hidden"},content:{width:"100%",height:"100%",backgroundColor:e.palette.background&&e.palette.background.default,position:"relative"},splitterDivWithMenu:{width:"calc(100% - 300px)",height:"100%"},menuDivWithoutMenu:{"&>div:first-child":{display:"none"},"&>.layout-splitter":{display:"none"}},progress:{margin:100},menuOpenCloseButton:{position:"absolute",left:0,borderRadius:"0 5px 5px 0",top:6,paddingTop:8,cursor:"pointer",zIndex:1,height:25,width:20,background:e.palette.secondary.main,color:e.palette.primary.main,paddingLeft:3,"&:hover":{color:"white"}},showLogButton:{position:"absolute",right:3,borderRadius:"5px 5px 0 0",bottom:0,paddingTop:3,cursor:"pointer",zIndex:10,height:20,width:25,background:e.palette.secondary.main,color:e.palette.primary.main,paddingLeft:8,"&:hover":{color:"white"}}})))(Fo);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));const Uo="8.1.0";var Vo=s(50086),Wo=s(28791);window.GenericBlock=ta,window.adapterName="javascript",window.sentryDSN="https://504499a725eb4898930d3b9e9da95740@sentry.iobroker.net/56";let Jo=S.Utils.getThemeName();console.log("iobroker.".concat(window.adapterName,"@").concat(Uo,' using theme "').concat(Jo,'"'));const Ho=(0,l.createGenerateClassName)({productionPrefix:"iob"});!function e(){const t=window.innerWidth<600,s=document.getElementById("root");return(0,o.H)(s).render((0,se.jsx)(l.StylesProvider,{generateClassName:Ho,children:(0,se.jsx)(n.A,{injectFirst:!0,children:(0,se.jsx)(r.A,{theme:(0,Vo.default)(Jo),children:(0,se.jsx)(M.Q,{backend:t?Wo.qi:z.t2,children:(0,se.jsx)(Lo,{version:Uo,onThemeChange:t=>{Jo=t,e()}})})})})}))}(),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((e=>{e.unregister()}));const qo=window.loadDynamicScript;qo&&qo("3000"===window.location.port?window.location.protocol+"//"+window.location.hostname+":8081/lib/js/socket.io.js":"./../../lib/js/socket.io.js",(function(){qo("vs/loader.js",(function(){qo("vs/configure.js",(function(){"function"===typeof window.socketLoadedHandler&&window.socketLoadedHandler()}))}))}))},46477:e=>{e.exports=JSON.parse('{"-":"-","Add":"Hinzuf\xfcgen","Add new script":"Neues Skript hinzuf\xfcgen","All files will be accepted":"Alle Dateien werden akzeptiert","April":"April","Are you sure?":"Wirklich sicher?","August":"August","Blockly description":"Erstellen von Regeln durch Grafikbl\xf6cke","Cancel":"Abbrechen","Cannot delete non empty item!":"Kann nicht gel\xf6scht werden, weil noch einige Elementen darin sind!","Change layout":"Layout \xe4ndern","Check blocks":"Bl\xf6cke pr\xfcfen","Check is not active, because javascript adapter is disabled":"Syntax-Check ist nicht aktiv, weil der Javascript Adapter nicht aktiv ist.","Clear search input":"Sucheingabe l\xf6schen","Click on this icon":"Auf dieses Symbol klicken","Close":"Schlie\xdfen","Close all but current":"Alle anderen au\xdfer dem Aktiven schlie\xdfen","Collapse all":"Alles einklappen","Configuration not saved.":"Die Konfiguration ist nicht gespeichert.","Convert blockly to javascript for ever.":"Blockly dauerhaft in Javascript konvertieren.","Copy script":"Skript kopieren","Copy to clipboard":"In die Zwischenablage kopieren","Download as file":"Download als Datei","Create new":"Neu erstellen","Create new folder":"Neuen Ordner erstellen","Create new script":"Neues Skript erstellen","Create or edit CRON or time wizard":"CRON- oder Zeit-Assistenten erstellen oder bearbeiten","Dark Theme":"Dunkles Thema","Dark style":"Dunkler Stil","Debug options":"Debug-Optionen","December":"Dezember","Define cron...":"Cron definieren ...","Define schedule...":"Zeitplan definieren ...","Delete":"L\xf6schen","Delete %s":"L\xf6schen %s...","Delete folder":"Ordner l\xf6schen","Delete script":"Skript l\xf6schen","Deselect all":"Alles abw\xe4hlen","Discard changes for %s":"\xc4nderungen f\xfcr %s verwerfen","Done":"Fertig","Drop some files here or click...":"Dateien hier ablegen oder klicken ...","Edit script or just double click":"Skript bearbeiten oder einfach doppelklicken","End search mode":"Suchmodus beenden","Error":"Fehler","Error was found":"Fehler wurde gefunden","Existing scripts will be overwritten.":"Vorhandene Skripte werden \xfcberschrieben.","Expand all":"Alle erweitern","Expert mode":"Expertenmodus","Export":"Export","Export all scripts":"Alle Skripte exportieren","Export blocks":"Bl\xf6cke exportieren","Export selected blocks":"Ausgew\xe4hlte Bl\xf6cke exportieren","February":"Februar","Folder":"Ordner","Friday":"Freitag","Function editor":"Funktions-Editor","ID":"ID","Import":"Import","Import blocks":"Bl\xf6cke importieren","Import error":"Fehler beim Importieren","Import scripts":"Skripte importieren","Insert object ID":"Objekt-ID einf\xfcgen","Instance":"Instanz","Instance is disabled":"Instanz ist deaktiviert","Invalid CRON":"Ung\xfcltiger CRON","It will not be possible to revert this operation.":"Dieser Vorgang kann nicht r\xfcckg\xe4ngig gemacht werden.","JS description":"Regeln erstellen mit JavaScript","January":"Januar","July":"Juli","June":"Juni","Learn More":"Mehr erfahren","Light style":"Heller Stil","Locate file":"Datei zeigen","Log outputs":"Protokoll","March":"M\xe4rz","May":"Mai","Menu":"Men\xfc","Message":"Nachricht","Monday":"Montag","Name":"Name","No active host found":"Kein aktiver Host gefunden","November":"November","October":"Oktober","Ok":"Ok","On weekdays":"An Wochentagen","Pause script":"Skript anhalten","Please select object ID...":"Objekt-ID ausw\xe4hlen ...","Rename":"Umbenennen","Reorder scripts in folders":"Skripte in Ordnern neu ordnen","Repeat":"Wiederholen","Restart":"Neustart","Root folder":"Root-Verzeichnis","Run script":"Skript ausf\xfchren","Saturday":"Samstag","Save":"Speichern","Script":"Skript","Script %s was modified on disk":"Skript \\"%s\\" wurde auf der Festplatte ge\xe4ndert","Script is not running":"Skript l\xe4uft nicht","Search in scripts":"Suche in Skripten","Search...":"Suche...","Select all":"Alles ausw\xe4hlen","September":"September","Show javascript code":"Javascript-Code zeigen","Show only paused scripts":"Nur angehaltene Skripte zeigen","Show only running scripts":"Nur laufende Skripte zeigen","Show only scripts with problems":"Nur Skripte mit Problemen zeigen","Some files will be rejected":"Einige Dateien werden abgelehnt","Sunday":"Sonntag","TS description":"Regeln erstellen mit TypeScript","Thursday":"Donnerstag","Tuesday":"Dienstag","Unknown error":"Unbekannter Fehler","Unknown error!":"Unbekannter Fehler!","Wednesday":"Mittwoch","Yet exists!":"Existiert schon!","copy":"Kopie","file reading has failed: %s":"Das Lesen der Datei ist fehlgeschlagen: %s","file reading was aborted":"Das Lesen der Datei wurde abgebrochen","filter_func":"Funktion","filter_id":"ID","filter_name":"Name","filter_role":"Rolle","filter_room":"Raum","for edit or create script":"zum Bearbeiten oder zum Erstellen eines neues Skripts","no blocks found":"Keine Bl\xf6cke gefunden","no group":"KEINE GRUPPE","not properly connected":"Dieser Block ist mit anderen nicht richtig verbunden.","tooltip_ack":"Best\xe4tigen","tooltip_from":"Von","tooltip_lc":"Zuletzt ge\xe4ndert","tooltip_quality":"Qualit\xe4t","tooltip_ts":"Zeitstempel","tooltip_user":"Benutzer","tooltip_value":"Wert","use seconds":"Sekunden verwenden","Save all":"Alle speichern","Change theme (actual \\"%s\\")":"Thema \xe4ndern (jetzt - \\"%s\\")","Hide logs":"Protokoll ausblenden","Show logs":"Protokoll anzeigen","Rules description":"Regeln erstellen mit WENN-, DANN- und SONST-Bl\xf6cken","help_on_change":"Der Code wird nur ausgef\xfchrt, wenn sich das Ergebnis der Bedingung \xe4ndert. z.B. wenn sich der Temperatur wert \xe4ndert und die Bedingung \\"Wenn die Temperatur gr\xf6\xdfer als 20\xb0C ist\\" lautet, werden die \\"Dann\\" -Aktionen einmal ausgef\xfchrt, wenn die Temperatur \xfcber 20\xb0C liegt. Das n\xe4chste Mal werden die \\"Dann\\" -Aktionen ausgef\xfchrt, wenn die Temperatur unter 20\xb0C gefallen ist und dann wieder \xfcber 20\xb0C ansteigt.","help_just_check":"Der Code wird jedes Mal ausgef\xfchrt, wenn die Bedingung erf\xfcllt ist. z.B. wenn der Temperatur wert sich \xe4ndert und die Bedingung \\"Wenn die Temperatur gr\xf6\xdfer als 20\xb0C ist\\" lautet, werden die \\"Dann\\" -Aktionen jedes Mal ausgef\xfchrt, wenn der Sensor die Temperatur sendet und diese \xfcber 20\xb0C liegt. Bei 21\xb0C, bei 22\xb0C und so weiter.","On condition change":"Bei \xc4nderung des Ergebnis der Bedingung","Just check":"Einfach \xfcberpr\xfcfen","when":"falls","and":"und","then":"dann","or":"oder","else":"sonst","Nothing found":"Nichts gefunden","reset search":"Suche zur\xfccksetzen","Read only ID selected: %s":"Schreibgesch\xfctzte ID ausgew\xe4hlt: %s","OK":"OK","Triggers":"L\xf6st aus","cron":"CRON","wizard":"Assistent","interval":"Intervall","at":"beim","astro":"Astro","on condition change":"bei Zustands\xe4nderung","just check":"einfach pr\xfcfen","Explanation":"Erl\xe4uterung","seconds":"Sekunden","minutes":"Minuten","hours":"Stunden","Every day":"T\xe4glich","milliseconds":"Millisekunden","Copied":"Kopiert","nadir":"Nadir","nightEnd":"astronomische Morgend\xe4mmerung","nauticalDawn":"nautische Morgend\xe4mmerung","dawn":"Morgend\xe4mmerung","sunrise":"Sonnenaufgang","sunriseEnd":"Goldene Morgenstunde","goldenHourEnd":"Vormittag","solarNoon":"(Nach-)Mittag","goldenHour":"Goldene Abendstunde","sunsetStart":"Sonnenuntergang (Anfang)","sunset":"Abendd\xe4mmerung","dusk":"nautische Abendd\xe4mmerung","nauticalDusk":"astronomische Abendd\xe4mmerung","night":"Nacht","one":"einer","two":"zwei","true":"wahr","false":"falsch","search":"Suche","Actions":"Aktionen","Conditions":"Bedingungen","Schedule":"Zeitplan","Start script":"Skript starten","State":"Zustand","State condition":"Zustandsbedingung","Time condition":"Zeitbedingung","Set state action":"Zustand setzten","Exec":"Exec shell","HTTP Call":"HTTP-Aufruf","Log text":"Protokolltext","Pause":"Pause","on change":"bei \xc4nderung","control":"Steuerung","Say It":"Say It","every hour at 0 minutes":"jede Stunde bei 0 Minuten","On script save or adapter start":"Beim Speichern des Skripts oder beim Starten des Adapters","equal to":"gleich","Actual time of day":"Tats\xe4chliche Tageszeit","with":"mit","Shell command":"Shell-Befehl","URL":"URL","Instance:":"Instanz:","Language:":"Sprache:","Volume":"Volumen","Text:":"Text:","undefined":"nicht definiert","Default":"Standard","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Sie k\xf6nnen %s im Text verwenden, um den aktuellen Triggerwert anzuzeigen, %id, um die ausgel\xf6ste Objekt-ID zu verwenden, %name, um den ID-Namen des ausgel\xf6sten Objekts anzuzeigen, oder %old, um den alten Triggerwert zu verwenden","Instructions":"Anleitung","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Sie k\xf6nnen %s in der URL verwenden, um den aktuellen Triggerwert zu verwenden, %id, um die ausgel\xf6ste Objekt-ID zu verwenden, %name, um den ID-Namen des ausgel\xf6sten Objekts anzuzeigen, oder %old, um den alten Triggerwert zu verwenden","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Sie k\xf6nnen %s im Wert verwenden, um den aktuellen Triggerwert zu verwenden, %id, um die ID des ausgel\xf6sten Objekts zu verwenden, %name, um den ID-Namen des ausgel\xf6sten Objekts anzuzeigen, oder %old, um den alten Triggerwert zu verwenden","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"Sie k\xf6nnen %s im Befehl verwenden, um den aktuellen Triggerwert zu verwenden, %id, um die ausgel\xf6ste Objekt-ID zu verwenden, %name, um den ID-Namen des ausgel\xf6sten Objekts anzuzeigen, oder %old, um den alten Triggerwert zu verwenden","every":"jeder","with offset":"mit Versatz","on update":"beim Aktualisieren","update":"Aktualisieren","Triggers the rule periodically or on some specific time":"L\xf6st periodisch oder zu einem bestimmten Zeitpunkt aus","Triggers the on script saving or the javascript instance restart":"L\xf6st das Speichern des Skripts oder den Neustart der Javascript-Instanz aus","Triggers the rule on update or change of some state":"L\xf6st die Regel beim Aktualisieren oder \xc4ndern eines Zustands aus","Compares the state value with user defined value":"Vergleicht den Zustandswert mit dem benutzerdefinierten Wert","Compares current time with the user specific time":"Vergleicht die aktuelle Zeit mit der benutzerspezifischen Zeit","Control or update some state":"Zustand steuern oder aktualisieren","Executes some shell command":"F\xfchrt einen Shell-Befehl aus","Make a HTTP get request":"Stellen Sie eine HTTP-Abrufanforderung","Print some text in log":"Drucken Sie einen Text im Protokoll","Make a pause between actions":"Machen Sie eine Pause zwischen den Aktionen","Say some text via sayit adapter":"Sagen Sie einen Text \xfcber den Sayit-Adapter","Telegram":"Telegram","User:":"Benutzer:","all":"alle","Sends message via telegram":"Sendet eine Nachricht per telegram","Sends an email":"Sendet eine E-Mail","Send email":"E-Mail senden","Sends message via pushover":"Sendet eine Nachricht per Pushover","Pushover":"Pushover","Sends message via whatsapp-cmb":"Sendet eine Nachricht \xfcber WhatsApp-Cmb","Whatsapp-cmb":"WhatsApp-cmb","Sends message via Pushsafer":"Sendet eine Nachricht \xfcber Pushsafer","Pushsafer":"Pushsafer","To:":"Zu:","Subject:":"Gegenstand:","Body:":"K\xf6rper:","Title:":"Titel:","Sound:":"Klang:","Priority:":"Priorit\xe4t:","magic":"Magie","quiet":"ruhig","normal":"Normal","high-priority":"hohe Priorit\xe4t","acknowledgment":"Wissen","Phone:":"Telefon:","(optional)":"(optional)","Vibration:":"Vibration:","lowest priority":"niedrigste Priorit\xe4t","lower priority":"geringere Priorit\xe4t","normal priority":"normale Priorit\xe4t","high priority":"hohe Priorit\xe4t","highest priority":"h\xf6chste Priorit\xe4t","default":"Standard","All":"Alle","Write your own code":"Eigenen Code schreiben","User function":"Benutzerfunktion","This is advances option. You can write your own code here and it will be executed on trigger":"Dies ist eine erweiterte Option. Sie k\xf6nnen hier Ihren eigenen Code schreiben, der beim Ausl\xf6sen ausgef\xfchrt wird","greater than":"gr\xf6\xdfer als","offset":"Versatz","Function":"Funktion","greater or equal to":"gr\xf6\xdfer oder gleich","less or equal to":"kleiner oder gleich","less than":"kleiner als","not equal to":"ungleich","[equal]":"[gleich]","[greater or equal]":"[gr\xf6\xdfer oder gleich]","[greater]":"[gr\xf6\xdfer]","[less or equal]":"[kleiner oder gleich]","[less]":"[kleiner]","[not equal]":"[ungleich]","[includes]":"[enth\xe4lt]","[hysteresis]":"[Hysterese]","greater or equal":"gr\xf6\xdfer oder gleich","less or equal":"kleiner oder gleich","includes":"beinhaltet",".":".","()":"()","Mo":"Mo","Tu":"Di","We":"Mi","Th":"Do","Fr":"Fr","Sa":"Sa","Su":"So","Control or update some state with delay":"Zustand mit Verz\xf6gerung steuern oder aktualisieren","Delay":"Verz\xf6gerung","ms":"ms","Set with delay":"Setzen mit Verz\xf6gerung","clear running":"laufende abbrechen","toggle value":"Wert umschalten","Any month":"Jeden Monat","Any":"Egal","with date":"mit Datum","Date":"Datum","Month":"Monat","Januar":"Januar","Februar":"Februar","March ":"M\xe4rz ","Condition":"Bedingung","Limit":"Grenze","The script will be stopped and must be activated manually after debugging. Continue?":"Das Skript wird gestoppt und muss nach dem Debuggen manuell aktiviert werden. Fortsetzen?","Yes":"Ja","Debug instance":"Debug-Instanz","Resume execution":"Ausf\xfchrung fortsetzen","Go to next line":"Gehe zur n\xe4chsten Zeile","Step into function":"Schritt in die Funktion","Step out from function":"Raus aus der Funktion","Stop on exception":"Bei Ausnahme anhalten","Console":"Konsole","Stack":"Stack","Pause execution":"Ausf\xfchrung pausieren","Simulate":"Simulieren","Trigger with value":"Trigger mit Wert","Value":"Wert","Write":"Schreiben","Ack":"Best\xe4tigt","Start":"Start","Filter":"Filter","Instances":"Instanzen","Triggered":"Ausgel\xf6st","Function: executed":"Funktion: ausgef\xfchrt","Operate two states":"Zwei Zust\xe4nde operieren","store in":"speichern in","ID1":"ID1","ID2":"ID2","Operations with two states":"Operationen mit zwei Zust\xe4nden","debug_label":"Debuggen","debug_help":"Dies ist ein spezieller Modus, in dem sich Zust\xe4nde und Objekte nicht \xe4ndern. Im Protokoll werden jedoch nur Informationen zu jeder geplanten \xc4nderung angezeigt.","verbose_label":"Ausf\xfchrliche Protokollausgaben","verbose_help":"F\xfcgt Debug-Ausgaben f\xfcr viele Systembefehle zum Protokoll hinzu","easy":"einfach","for programmers":"f\xfcr Programmierer","for professionals":"f\xfcr Profis","Duplicate name":"Doppelter Name","Empty name is not allowed":"Leerer Name ist nicht zul\xe4ssig","Time":"Zeit","Server time":"Server-Zeit","Local time":"Lokale Zeit","Description":"Beschreibung","nextSunrise":"N\xe4chster Sonnenaufgang","nextSunset":"N\xe4chster Sonnenuntergang","Astronomical events today":"Astronomische Ereignisse heute","Compares current time with astronomical event":"Vergleicht die aktuelle Zeit mit einem astronomischen Ereignis","Show astronomical events":"Astronomische Ereignisse anzeigen","Astronomical":"Astronomisch","Enter your question":"Anfrage eingeben","Press Ctrl+Enter to get the answer":"Dr\xfccken Sie Strg+Eingabetaste, um die Antwort zu erhalten","Ask":"Fragen","Result":"Ergebnis","Use generated code":"Code verwenden","No Chat GPT Key found":"Kein Chat-GPT-Schl\xfcssel gefunden","You have to enter OpenAI API key in the configuration of javascript adapter.":"Sie m\xfcssen den OpenAI-API-Schl\xfcssel in der Konfiguration des Javascript-Adapters eingeben.","Open configuration":"Konfiguration \xf6ffnen"}')},75553:e=>{e.exports=JSON.parse('{"-":"-","Add":"Add","Add new script":"Add new script","All files will be accepted":"All files will be accepted","April":"April","Are you sure?":"Are you sure?","August":"August","Blockly description":"Creating rules by graphic blocks","Cancel":"Cancel","Cannot delete non empty item!":"Cannot delete non empty item!","Change layout":"Change layout","Check blocks":"Check blocks","Check is not active, because javascript adapter is disabled":"Check is not active, because Javascript adapter is disabled","Clear search input":"Clear search input","Click on this icon":"Click on this icon","Close":"Close","Close all but current":"Close all but current","Collapse all":"Collapse all","Configuration not saved.":"Configuration not saved.","Convert blockly to javascript for ever.":"Permanently convert Blockly to Javascript.","Copy script":"Copy script","Copy to clipboard":"Copy to clipboard","Download as file":"Download as file","Create new":"Create new","Create new folder":"Create new folder","Create new script":"Create new script","Create or edit CRON or time wizard":"Create or edit CRON or time wizard","Dark Theme":"Dark theme","Dark style":"Dark style","Debug options":"Debug options","December":"December","Define cron...":"Define cron...","Define schedule...":"Define schedule...","Delete":"Delete","Delete %s":"Delete %s...","Delete folder":"Delete folder","Delete script":"Delete script","Deselect all":"Deselect all","Discard changes for %s":"Discard changes for %s","Done":"Done","Drop some files here or click...":"Drop some files here or click...","Edit script or just double click":"Edit script or just double click","End search mode":"End search mode","Error":"Error","Error was found":"Error was found","Existing scripts will be overwritten.":"Existing scripts will be overwritten.","Expand all":"Expand all","Expert mode":"Expert mode","Export":"Export","Export all scripts":"Export all scripts","Export blocks":"Export blocks","Export selected blocks":"Export selected blocks","February":"February","Folder":"Folder","Friday":"Friday","Function editor":"Function editor","ID":"ID","Import":"Import","Import blocks":"Import blocks","Import error":"Import error","Import scripts":"Import scripts","Insert object ID":"Insert object ID","Instance":"Instance","Instance is disabled":"Instance is disabled","Invalid CRON":"Invalid CRON","It will not be possible to revert this operation.":"It will not be possible to revert this operation.","JS description":"Creating rules by writing Javascript","January":"January","July":"July","June":"June","Learn More":"Learn More","Light style":"Light style","Locate file":"Locate file","Log outputs":"Log outputs","March":"March","May":"May","Menu":"Menu","Message":"Message","Monday":"Monday","Name":"Name","No active host found":"No active host found","November":"November","October":"October","Ok":"Ok","On weekdays":"On weekdays","Pause script":"Pause script","Please select object ID...":"Please select object ID...","Rename":"Rename","Reorder scripts in folders":"Reorder scripts in folders","Repeat":"Repeat","Restart":"Restart","Root folder":"Root folder","Run script":"Run script","Saturday":"Saturday","Save":"Save","Script":"Script","Script %s was modified on disk":"Script %s was modified on disk","Script is not running":"Script is not running","Search in scripts":"Search in scripts","Search...":"Search...","Select all":"Select all","September":"September","Show javascript code":"Show Javascript code","Show only paused scripts":"Show only paused scripts","Show only running scripts":"Show only running scripts","Show only scripts with problems":"Show only scripts with problems","Some files will be rejected":"Some files will be rejected","Sunday":"Sunday","TS description":"Creating rules by writing Typescript","Thursday":"Thursday","Tuesday":"Tuesday","Unknown error":"Unknown error","Unknown error!":"Unknown error!","Wednesday":"Wednesday","Yet exists!":"Yet exists!","copy":"copy","file reading has failed: %s":"file reading has failed: %s","file reading was aborted":"file reading was aborted","filter_func":"Function","filter_id":"ID","filter_name":"Name","filter_role":"Role","filter_room":"Room","for edit or create script":"for edit or create a new script","no blocks found":"No blocks found","no group":"NO GROUP","not properly connected":"This block is not properly connected to other blocks.","tooltip_ack":"Acknowledge","tooltip_from":"From","tooltip_lc":"Last changed","tooltip_quality":"Quality","tooltip_ts":"Timestamp","tooltip_user":"User","tooltip_value":"Value","use seconds":"use seconds","Save all":"Save all","Change theme (actual \\"%s\\")":"Change theme (now - \\"%s\\")","Hide logs":"Hide logs","Show logs":"Show logs","Rules description":"Create rules with IF, THEN, ELSE blocks","help_on_change":"The code will be executed only if the condition result changes. E.g. if triggering on the temperature sensor value and the condition is \\"if temperature is greater than 20\xb0C\\", the \\"then\\" actions will be executed once when temperature is over 20. Next time the \\"then\\" actions will be executed when the temperature fails under 20 and then rises over 20 again.","help_just_check":"The code will be executed only every time when condition is true. E.g. if triggering on the temperature sensor value and the condition is \\"if temperature is greater than 20\xb0C\\", the \\"then\\" actions will be executed every time when sensor sends the temperature and it is over 20\xb0C. By 21\xb0C, by 22\xb0C and so on.","On condition change":"On condition result change","Just check":"Just check","when":"when","and":"and","then":"then","or":"or","else":"else","Nothing found":"Nothing found","reset search":"reset search","Read only ID selected: %s":"Read only ID selected: %s","OK":"OK","Triggers":"Triggers","cron":"CRON","wizard":"Wizard","interval":"interval","at":"at","astro":"Astro","on condition change":"on condition change","just check":"just check","Explanation":"Explanation","seconds":"seconds","minutes":"minutes","hours":"hours","Every day":"Every day","milliseconds":"milliseconds","Copied":"Copied","nadir":"Nadir","nightEnd":"Night end","nauticalDawn":"Nautical dawn","dawn":"Dawn","sunrise":"sunrise","sunriseEnd":"Sunrise end","goldenHourEnd":"End of golden hour","solarNoon":"Solar noon","goldenHour":"Golden hour","sunsetStart":"Sunset start","sunset":"Sunset","dusk":"Dusk","nauticalDusk":"Nautical dusk","night":"Night","one":"one","two":"two","true":"true","false":"false","search":"search","Actions":"Actions","Conditions":"Conditions","Schedule":"Schedule","Start script":"Start script","State":"State","State condition":"State condition","Time condition":"Time condition","Set state action":"Set state action","Exec":"Exec shell","HTTP Call":"HTTP Call","Log text":"Log text","Pause":"Pause","on change":"on change","control":"control","Say It":"Say It","every hour at 0 minutes":"every hour at 0 minutes","On script save or adapter start":"On script save or adapter start","equal to":"equal to","Actual time of day":"Actual time of day","with":"with","Shell command":"Shell command","URL":"URL","Instance:":"Instance:","Language:":"Language:","Volume":"Volume","Text:":"Text:","undefined":"undefined","Default":"Default","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"You can use %s in the text to display current trigger value, %id to use the triggered object ID, %name to show triggered object ID name or %old to use old trigger value","Instructions":"Instructions","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"You can use %s in the URL to use current trigger value, %id to use the triggered object ID, %name to show triggered object ID name or %old to use old trigger value","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"You can use %s in the value to use the current trigger value, %id to use the triggered object ID, %name to show triggered object ID name or %old to use old trigger value","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"You can use %s in the command to use current trigger value, %id to use the triggered object ID, %name to show triggered object ID name or %old to use old trigger value","every":"every","with offset":"with offset","on update":"on update","update":"update","Triggers the rule periodically or on some specific time":"Triggers the rule periodically or on some specific time","Triggers the on script saving or the javascript instance restart":"Triggers the on script saving or the javascript instance restart","Triggers the rule on update or change of some state":"Triggers the rule on update or change of some state","Compares the state value with user defined value":"Compares the state value with user defined value","Compares current time with the user specific time":"Compares current time with the user specific time","Control or update some state":"Control or update some state","Executes some shell command":"Executes some shell command","Make a HTTP get request":"Make a HTTP get request","Print some text in log":"Print some text in log","Make a pause between actions":"Make a pause between actions","Say some text via sayit adapter":"Say some text via sayit adapter","Telegram":"Telegram","User:":"User:","all":"all","Sends message via telegram":"Sends message via telegram","Sends an email":"Sends an email","Send email":"Send email","Sends message via pushover":"Sends message via pushover","Pushover":"Pushover","Sends message via whatsapp-cmb":"Sends message via whatsapp-cmb","Whatsapp-cmb":"Whatsapp-cmb","Sends message via Pushsafer":"Sends message via Pushsafer","Pushsafer":"Pushsafer","To:":"To:","Subject:":"Subject:","Body:":"Body:","Title:":"Title:","Sound:":"Sound:","Priority:":"Priority:","magic":"magic","quiet":"quiet","normal":"normal","high-priority":"high-priority","acknowledgment":"acknowledgment","Phone:":"Phone:","(optional)":"(optional)","Vibration:":"Vibration:","lowest priority":"lowest priority","lower priority":"lower priority","normal priority":"normal priority","high priority":"high priority","highest priority":"highest priority","default":"default","All":"All","Write your own code":"Write your own code","User function":"User function","This is advances option. You can write your own code here and it will be executed on trigger":"This is advances option. You can write your own code here and it will be executed on trigger","greater than":"greater than","offset":"offset","Function":"Function","greater or equal to":"greater or equal to","less or equal to":"less or equal to","less than":"less than","not equal to":"not equal to","[equal]":"[equal]","[greater or equal]":"[greater or equal]","[greater]":"[greater]","[less or equal]":"[less or equal]","[less]":"[less]","[not equal]":"[not equal]","[includes]":"[includes]","[hysteresis]":"[hysteresis]","greater or equal":"greater or equal","less or equal":"less or equal","includes":"includes",".":".","()":"()","Mo":"Mo","Tu":"Tu","We":"We","Th":"Th","Fr":"Fr","Sa":"Sa","Su":"Su","Control or update some state with delay":"Control or update some state with delay","Delay":"Delay","ms":"ms","Set with delay":"Set with delay","clear running":"clear running","toggle value":"toggle value","Any month":"Any month","Any":"Any","with date":"with date","Date":"Date","Month":"Month","Januar":"Januar","Februar":"Februar","March ":"March ","Condition":"Condition","Limit":"Limit","The script will be stopped and must be activated manually after debugging. Continue?":"The script will be stopped and must be activated manually after debugging. Continue?","Yes":"Yes","Debug instance":"Debug instance","Resume execution":"Resume execution","Go to next line":"Go to next line","Step into function":"Step into function","Step out from function":"Step out from function","Stop on exception":"Stop on exception","Console":"Console","Stack":"Stack","Pause execution":"Pause execution","Simulate":"Simulate","Trigger with value":"Trigger with value","Value":"Value","Write":"Write","Ack":"Acknowledged","Start":"Start","Filter":"Filter","Instances":"Instances","Triggered":"Triggered","Function: executed":"Function: executed","Operate two states":"Operate two states","store in":"store in","ID1":"ID1","ID2":"ID2","Operations with two states":"Operations with two states","debug_label":"Debug","debug_help":"This is a special mode in which states and objects will not change. But only information about each planned change will be displayed in the protocol.","verbose_label":"Verbose log outputs","verbose_help":"Adds debug output to the log for many system commands","easy":"easy","for programmers":"for programmers","for professionals":"for professionals","Duplicate name":"Duplicate name","Empty name is not allowed":"Empty name is not allowed","Time":"Time","Server time":"Server time","Local time":"Local time","Description":"Description","nextSunrise":"Next Sunrise","nextSunset":"Next sunset","Astronomical events today":"Astronomical events today","Compares current time with astronomical event":"Compares current time with astronomical event","Show astronomical events":"Show astronomical events","Astronomical":"Astronomical","Enter your question":"Enter your request","Press Ctrl+Enter to get the answer":"Press Ctrl+Enter to get the answer","Ask":"Ask","Result":"Result","Use generated code":"Use generated code","No Chat GPT Key found":"No Chat GPT Key found","You have to enter OpenAI API key in the configuration of javascript adapter.":"You have to enter OpenAI API key in the configuration of javascript adapter.","Open configuration":"Open configuration"}')},72706:e=>{e.exports=JSON.parse('{"-":"-","Add":"A\xf1adir","Add new script":"Agregar nuevo script","All files will be accepted":"Todos los archivos ser\xe1n aceptados.","April":"abril","Are you sure?":"\xbfEst\xe1s seguro?","August":"agosto","Blockly description":"Crear reglas por bloques gr\xe1ficos","Cancel":"Cancelar","Cannot delete non empty item!":"\xa1No se puede eliminar un elemento no vac\xedo!","Change layout":"Cambia el dise\xf1o","Check blocks":"Comprobar bloques","Check is not active, because javascript adapter is disabled":"La comprobaci\xf3n no est\xe1 activa porque el adaptador Javascript est\xe1 desactivado","Clear search input":"Borrar entrada de b\xfasqueda","Click on this icon":"Haga clic en este \xedcono","Close":"Cerrar","Close all but current":"Cerrar todo menos el actual","Collapse all":"Desplegar todo","Configuration not saved.":"Configuraci\xf3n no guardada.","Convert blockly to javascript for ever.":"Convierta instant\xe1neamente en bloque a Javascript.","Copy script":"Copiar guion","Copy to clipboard":"Copiar al portapapeles","Download as file":"Descargar como archivo","Create new":"Crear nuevo","Create new folder":"Crear nueva carpeta","Create new script":"Crear nuevo script","Create or edit CRON or time wizard":"Crear o editar CRON o asistente de tiempo","Dark Theme":"Tema oscuro","Dark style":"Estilo oscuro","Debug options":"Opciones de depuraci\xf3n","December":"diciembre","Define cron...":"Definir cron ...","Define schedule...":"Definir horario ...","Delete":"Eliminar","Delete %s":"Eliminar %s ...","Delete folder":"Eliminar carpeta","Delete script":"Eliminar gui\xf3n","Deselect all":"Deseleccionar todo","Discard changes for %s":"Descartar cambios para %s","Done":"Hecho","Drop some files here or click...":"Suelta algunos archivos aqu\xed o haz clic ...","Edit script or just double click":"Editar gui\xf3n o simplemente hacer doble clic","End search mode":"Fin del modo de b\xfasqueda","Error":"Error","Error was found":"Error encontrado","Existing scripts will be overwritten.":"Los guiones existentes se sobrescribir\xe1n.","Expand all":"Expandir todo","Expert mode":"Modo experto","Export":"Exportar","Export all scripts":"Exportar todos los scripts","Export blocks":"Exportar bloques","Export selected blocks":"Exportar bloques seleccionados","February":"febrero","Folder":"Carpeta","Friday":"viernes","Function editor":"Editor de funciones","ID":"CARN\xc9 DE IDENTIDAD","Import":"Importar","Import blocks":"Importar bloques","Import error":"Error de importaci\xf3n","Import scripts":"Importar guiones","Insert object ID":"Insertar ID de objeto","Instance":"Ejemplo","Instance is disabled":"La instancia est\xe1 deshabilitada","Invalid CRON":"CRON inv\xe1lido","It will not be possible to revert this operation.":"No ser\xe1 posible revertir esta operaci\xf3n.","JS description":"Crear reglas escribiendo Javascript","January":"enero","July":"julio","June":"junio","Learn More":"Aprende m\xe1s","Light style":"Estilo ligero","Locate file":"Localizar el archivo","Log outputs":"Salidas de registro","March":"marzo","May":"Mayo","Menu":"Men\xfa","Message":"Mensaje","Monday":"lunes","Name":"Nombre","No active host found":"No se encontr\xf3 un host activo","November":"noviembre","October":"octubre","Ok":"Okay","On weekdays":"De lunes a viernes","Pause script":"Pausar guion","Please select object ID...":"Por favor, seleccione la ID del objeto ...","Rename":"Rebautizar","Reorder scripts in folders":"Reordenar guiones en carpetas","Repeat":"Repetir","Restart":"Reiniciar","Root folder":"Carpeta ra\xedz","Run script":"Ejecutar gui\xf3n","Saturday":"s\xe1bado","Save":"Salvar","Script":"Gui\xf3n","Script %s was modified on disk":"El script %s fue modificado en el disco","Script is not running":"El script no se est\xe1 ejecutando","Search in scripts":"Buscar en guiones","Search...":"Buscar...","Select all":"Seleccionar todo","September":"septiembre","Show javascript code":"Mostrar c\xf3digo Javascript","Show only paused scripts":"Mostrar solo secuencias de comandos pausadas","Show only running scripts":"Mostrar solo scripts en ejecuci\xf3n","Show only scripts with problems":"Mostrar solo guiones con problemas","Some files will be rejected":"Algunos archivos ser\xe1n rechazados","Sunday":"domingo","TS description":"Crear reglas escribiendo el mecanografiado","Thursday":"jueves","Tuesday":"martes","Unknown error":"Error desconocido","Unknown error!":"\xa1Error desconocido!","Wednesday":"mi\xe9rcoles","Yet exists!":"\xa1Sin embargo existe!","copy":"Copiar","file reading has failed: %s":"la lectura del archivo ha fallado: %s","file reading was aborted":"la lectura del archivo fue abortada","filter_func":"Funci\xf3n","filter_id":"CARN\xc9 DE IDENTIDAD","filter_name":"Nombre","filter_role":"Papel","filter_room":"Habitaci\xf3n","for edit or create script":"para editar o crear un nuevo script","no blocks found":"No se encontraron bloques","no group":"NO GRUPO","not properly connected":"Este bloque no est\xe1 conectado correctamente a otros bloques.","tooltip_ack":"Reconocer","tooltip_from":"De","tooltip_lc":"\xdaltimo cambio","tooltip_quality":"Calidad","tooltip_ts":"Marca de tiempo","tooltip_user":"Usuario","tooltip_value":"Valor","use seconds":"usar segundos","Save all":"Salvar a todos","Change theme (actual \\"%s\\")":"Cambiar tema (ahora - \\"%s\\")","Hide logs":"Ocultar registros","Show logs":"Mostrar registros","Rules description":"Crea reglas con bloques IF, THEN, ELSE","help_on_change":"El c\xf3digo se ejecutar\xe1 solo si cambia el resultado de la condici\xf3n. P.ej. si se activa en el valor del sensor de temperatura y la condici\xf3n es \\"si la temperatura es superior a 20 \xb0 C\\", las acciones \\"entonces\\" se ejecutar\xe1n una vez cuando la temperatura sea superior a 20. La pr\xf3xima vez, las acciones \\"entonces\\" se ejecutar\xe1n cuando la temperatura falla por debajo de 20 y luego sube por encima de 20 nuevamente.","help_just_check":"El c\xf3digo se ejecutar\xe1 solo cada vez que la condici\xf3n sea verdadera. P.ej. si se activa en el valor del sensor de temperatura y la condici\xf3n es \\"si la temperatura es superior a 20 \xb0 C\\", las acciones \\"entonces\\" se ejecutar\xe1n cada vez que el sensor env\xede la temperatura y supere los 20 \xb0 C. Por 21 \xb0 C, por 22 \xb0 C y as\xed sucesivamente.","On condition change":"En condici\xf3n de cambio","Just check":"S\xf3lo revisa","when":"cuando","and":"y","then":"entonces","or":"o","else":"dem\xe1s","Nothing found":"Nada Encontrado","reset search":"restablecer la b\xfasqueda","Read only ID selected: %s":"ID de solo lectura seleccionado: %s","OK":"OK","Triggers":"Disparadores","cron":"CRON","wizard":"Wizard","interval":"intervalo","at":"a","astro":"astro","on condition change":"con cambio de condici\xf3n","just check":"S\xf3lo revisa","Explanation":"Explicaci\xf3n","seconds":"segundos","minutes":"minutos","hours":"horas","Every day":"Diario","milliseconds":"milisegundos","Copied":"Copiado","nadir":"nadir","nightEnd":"Fin de la noche","nauticalDawn":"Amanecer n\xe1utico","dawn":"Amanecer","sunrise":"amanecer","sunriseEnd":"Final del amanecer","goldenHourEnd":"Fin de la hora dorada","solarNoon":"Mediod\xeda solar","goldenHour":"hora dorada","sunsetStart":"Inicio al atardecer","sunset":"puesta de sol","dusk":"Oscuridad","nauticalDusk":"Atardecer n\xe1utico","night":"Noche","one":"uno","two":"dos","true":"cierto","false":"falso","search":"buscar","Actions":"Comportamiento","Conditions":"Condiciones","Schedule":"Calendario","Start script":"Iniciar guion","State":"Expresar","State condition":"Condici\xf3n del estado","Time condition":"Condici\xf3n de tiempo","Set state action":"Establecer acci\xf3n estatal","Exec":"Ejecutivo shell","HTTP Call":"Llamada HTTP","Log text":"Texto de registro","Pause":"Pausa","on change":"en el cambio","control":"control","Say It":"Say It","every hour at 0 minutes":"cada hora a los 0 minutos","On script save or adapter start":"Al guardar el script o al iniciar el adaptador","equal to":"igual a","Actual time of day":"Hora real del d\xeda","with":"con","Shell command":"Comando de Shell","URL":"URL","Instance:":"Ejemplo:","Language:":"Idioma:","Volume":"Volumen","Text:":"Texto:","undefined":"indefinido","Default":"Defecto","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Puede usar %s en el texto para mostrar el valor de activaci\xf3n actual, %id para usar el ID de objeto activado, %name para mostrar el nombre de ID de objeto activado o %old para usar el valor de activaci\xf3n antiguo","Instructions":"Instrucciones","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Puede usar %s en la URL para usar el valor de activaci\xf3n actual, %id para usar el ID de objeto activado, %name para mostrar el nombre de ID de objeto activado o %old para usar el valor de activaci\xf3n antiguo","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Puede usar %s en el valor para usar el valor de activaci\xf3n actual, %id para usar el ID de objeto activado, %name para mostrar el nombre de ID de objeto activado o %old para usar el valor de activaci\xf3n antiguo","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"Puede usar %s en el comando para usar el valor de activaci\xf3n actual, %id para usar el ID de objeto activado, %name para mostrar el nombre de ID de objeto activado o %old para usar el valor de activaci\xf3n anterior","every":"cada","with offset":"con desplazamiento","on update":"en actualizaci\xf3n","update":"actualizar","Triggers the rule periodically or on some specific time":"Activa la regla peri\xf3dicamente o en un momento espec\xedfico","Triggers the on script saving or the javascript instance restart":"Activa el guardado de la secuencia de comandos o el reinicio de la instancia de JavaScript","Triggers the rule on update or change of some state":"Activa la regla de actualizaci\xf3n o cambio de alg\xfan estado","Compares the state value with user defined value":"Compara el valor del estado con el valor definido por el usuario","Compares current time with the user specific time":"Compara la hora actual con la hora espec\xedfica del usuario","Control or update some state":"Controlar o actualizar alg\xfan estado","Executes some shell command":"Ejecuta alg\xfan comando de shell","Make a HTTP get request":"Realizar una solicitud de obtenci\xf3n HTTP","Print some text in log":"Imprime texto en el registro","Make a pause between actions":"Hacer una pausa entre acciones","Say some text via sayit adapter":"Di un mensaje de texto a trav\xe9s del adaptador sayit","Telegram":"Telegrama","User:":"Usuario:","all":"todos","Sends message via telegram":"Env\xeda mensaje por telegrama","Sends an email":"Env\xeda un correo electr\xf3nico","Send email":"Enviar correo electr\xf3nico","Sends message via pushover":"Env\xeda un mensaje a trav\xe9s de un pushover","Pushover":"Persona f\xe1cil de convencer","Sends message via whatsapp-cmb":"Env\xeda mensaje v\xeda whatsapp-cmb","Whatsapp-cmb":"Whatsapp-cmb","Sends message via Pushsafer":"Env\xeda mensaje a trav\xe9s de Pushsafer","Pushsafer":"Pushsafer","To:":"A:","Subject:":"Sujeto:","Body:":"Cuerpo:","Title:":"T\xedtulo:","Sound:":"Sonido:","Priority:":"Prioridad:","magic":"magia","quiet":"tranquilo","normal":"normal","high-priority":"alta prioridad","acknowledgment":"Reconocimiento","Phone:":"Tel\xe9fono:","(optional)":"(Opcional)","Vibration:":"Vibraci\xf3n:","lowest priority":"prioridad m\xe1s baja","lower priority":"prioridad m\xe1s baja","normal priority":"prioridad normal","high priority":"alta prioridad","highest priority":"m\xe1s alta prioridad","default":"defecto","All":"Todos","Write your own code":"Escribe tu propio c\xf3digo","User function":"Funci\xf3n de usuario","This is advances option. You can write your own code here and it will be executed on trigger":"Esta es la opci\xf3n de avances. Puede escribir su propio c\xf3digo aqu\xed y se ejecutar\xe1 en el disparador","greater than":"mas grande que","offset":"compensar","Function":"Funci\xf3n","greater or equal to":"mayor o igual a","less or equal to":"menor o igual a","less than":"menos que","not equal to":"no igual a","[equal]":"[igual]","[greater or equal]":"[mayor o igual]","[greater]":"[mayor que]","[less or equal]":"[menor o igual]","[less]":"[menos]","[not equal]":"[no es igual]","[includes]":"[incluye]","[hysteresis]":"[hist\xe9resis]","greater or equal":"mayor o igual","less or equal":"menor o igual","includes":"incluye",".":".","()":"()","Mo":"Mes","Tu":"Tu","We":"3","Th":"4","Fr":"P.","Sa":"Sa","Su":"Su","Control or update some state with delay":"Controlar o actualizar alg\xfan estado con retraso","Delay":"Demora","ms":"ms","Set with delay":"Establecer con retraso","clear running":"carrera clara","toggle value":"alternar valor","Any month":"Cualquier mes","Any":"Alguna","with date":"con fecha","Date":"Fecha","Month":"Mes","Januar":"Enero","Februar":"Februar","March ":"marzo","Condition":"Condici\xf3n","Limit":"L\xedmite","The script will be stopped and must be activated manually after debugging. Continue?":"El script se detendr\xe1 y deber\xe1 activarse manualmente despu\xe9s de la depuraci\xf3n. \xbfContinuar?","Yes":"s\xed","Debug instance":"Instancia de depuraci\xf3n","Resume execution":"Reanudar ejecuci\xf3n","Go to next line":"Ir a la siguiente l\xednea","Step into function":"Entra en funci\xf3n","Step out from function":"Sal de la funci\xf3n","Stop on exception":"Det\xe9ngase en excepci\xf3n","Console":"Consola","Stack":"Stack","Pause execution":"Pausar ejecuci\xf3n","Simulate":"Simular","Trigger with value":"Activar con valor","Value":"Valor","Write":"Escribir","Ack":"Admitido","Start":"Comienzo","Filter":"Filtrar","Instances":"Instancias","Triggered":"Motivado","Function: executed":"Funci\xf3n: ejecutada","Operate two states":"Operar dos estados","store in":"almacenar en","ID1":"ID1","ID2":"ID2","Operations with two states":"Operaciones con dos estados","debug_label":"Depurar","debug_help":"Este es un modo especial en el que los estados y los objetos no cambiar\xe1n. Pero solo se mostrar\xe1 informaci\xf3n sobre cada cambio planificado en el protocolo.","verbose_label":"Salidas de registro detalladas","verbose_help":"Agrega salida de depuraci\xf3n al registro para muchos comandos del sistema","easy":"f\xe1cil","for programmers":"para programadores","for professionals":"para profesionales","Duplicate name":"Nombre duplicado","Empty name is not allowed":"No se permite el nombre vac\xedo","Time":"Tiempo","Server time":"Tiempo del servidor","Local time":"Hora local","Description":"Descripci\xf3n","nextSunrise":"pr\xf3ximo amanecer","nextSunset":"Pr\xf3xima puesta de sol","Astronomical events today":"Eventos astron\xf3micos hoy","Compares current time with astronomical event":"Compara la hora actual con un evento astron\xf3mico","Show astronomical events":"Mostrar eventos astron\xf3micos","Astronomical":"Astron\xf3mico","Enter your question":"Ingrese su solicitud","Press Ctrl+Enter to get the answer":"Presiona Ctrl+Enter para obtener la respuesta","Ask":"Preguntar","Result":"Resultado","Use generated code":"Usar c\xf3digo generado","No Chat GPT Key found":"No se ha encontrado ninguna clave GPT de chat","You have to enter OpenAI API key in the configuration of javascript adapter.":"Debe ingresar la clave API de OpenAI en la configuraci\xf3n del adaptador de JavaScript.","Open configuration":"Configuraci\xf3n abierta"}')},74554:e=>{e.exports=JSON.parse('{"-":"-","Add":"Ajouter","Add new script":"Ajouter un nouveau script","All files will be accepted":"Tous les fichiers seront accept\xe9s","April":"avril","Are you sure?":"\xcates-vous s\xfbr?","August":"ao\xfbt","Blockly description":"Cr\xe9ation de r\xe8gles par blocs graphiques","Cancel":"Annuler","Cannot delete non empty item!":"Impossible de supprimer un \xe9l\xe9ment non vide!","Change layout":"Changer la disposition","Check blocks":"V\xe9rifier les blocs","Check is not active, because javascript adapter is disabled":"La v\xe9rification n\'est pas active, car l\'adaptateur Javascript est d\xe9sactiv\xe9","Clear search input":"Effacer la recherche","Click on this icon":"Cliquez sur cette ic\xf4ne","Close":"proche","Close all but current":"Ferme tout sauf courant","Collapse all":"R\xe9duire tout","Configuration not saved.":"Configuration non enregistr\xe9e.","Convert blockly to javascript for ever.":"Convertissez instantan\xe9ment en Javascript.","Copy script":"Copier le script","Copy to clipboard":"Copier dans le presse-papier","Download as file":"T\xe9l\xe9charger le fichier","Create new":"Cr\xe9er un nouveau","Create new folder":"Cr\xe9er un nouveau dossier","Create new script":"Cr\xe9er un nouveau script","Create or edit CRON or time wizard":"Cr\xe9er ou \xe9diter CRON ou un assistant de temps","Dark Theme":"Th\xe8me sombre","Dark style":"Style sombre","Debug options":"Options de d\xe9bogage","December":"d\xe9cembre","Define cron...":"D\xe9finir le cron ...","Define schedule...":"D\xe9finir le calendrier ...","Delete":"Effacer","Delete %s":"Supprimer %s ...","Delete folder":"Supprimer le dossier","Delete script":"Supprimer le script","Deselect all":"Tout d\xe9selectionner","Discard changes for %s":"Ignorer les modifications pour %s","Done":"Termin\xe9","Drop some files here or click...":"D\xe9poser des fichiers ici ou cliquez sur ...","Edit script or just double click":"Modifiez le script ou double-cliquez simplement sur","End search mode":"Fin du mode de recherche","Error":"Erreur","Error was found":"Une erreur a \xe9t\xe9 trouv\xe9e","Existing scripts will be overwritten.":"Les scripts existants seront \xe9cras\xe9s.","Expand all":"D\xe9velopper tout","Expert mode":"Mode expert","Export":"Exportation","Export all scripts":"Exporter tous les scripts","Export blocks":"Blocs d\'exportation","Export selected blocks":"Exporter les blocs s\xe9lectionn\xe9s","February":"f\xe9vrier","Folder":"Dossier","Friday":"Vendredi","Function editor":"\xc9diteur de fonction","ID":"ID","Import":"Importation","Import blocks":"Blocs d\'importation","Import error":"Erreur d\'importation","Import scripts":"Importer des scripts","Insert object ID":"Ins\xe9rer un identifiant d\'objet","Instance":"Exemple","Instance is disabled":"L\'instance est d\xe9sactiv\xe9e","Invalid CRON":"CRON invalide","It will not be possible to revert this operation.":"Il ne sera pas possible de revenir sur cette op\xe9ration.","JS description":"Cr\xe9er des r\xe8gles en \xe9crivant du Javascript","January":"janvier","July":"juillet","June":"juin","Learn More":"Apprendre encore plus","Light style":"Style de lumi\xe8re","Locate file":"Localiser le fichier","Log outputs":"Journal des sorties","March":"Mars","May":"Mai","Menu":"M e n u","Message":"Message","Monday":"Lundi","Name":"Nom","No active host found":"Aucun h\xf4te actif trouv\xe9","November":"novembre","October":"octobre","Ok":"D\'accord","On weekdays":"En semaine","Pause script":"Script de pause","Please select object ID...":"Veuillez s\xe9lectionner l\'ID d\'objet ...","Rename":"Renommer","Reorder scripts in folders":"R\xe9organiser les scripts dans des dossiers","Repeat":"R\xe9p\xe9ter","Restart":"Red\xe9marrer","Root folder":"Dossier racine","Run script":"Script de lancement","Saturday":"samedi","Save":"sauver","Script":"Sc\xe9nario","Script %s was modified on disk":"Le script %s a \xe9t\xe9 modifi\xe9 sur le disque","Script is not running":"Le script n\'est pas en cours d\'ex\xe9cution","Search in scripts":"Rechercher dans les scripts","Search...":"Chercher...","Select all":"Tout s\xe9lectionner","September":"septembre","Show javascript code":"Afficher le code Javascript","Show only paused scripts":"Afficher uniquement les scripts en pause","Show only running scripts":"Afficher uniquement les scripts en cours d\'ex\xe9cution","Show only scripts with problems":"Afficher uniquement les scripts avec des probl\xe8mes","Some files will be rejected":"Certains fichiers seront rejet\xe9s","Sunday":"dimanche","TS description":"Cr\xe9er des r\xe8gles en \xe9crivant des caract\xe8res dactylographi\xe9s","Thursday":"Jeudi","Tuesday":"Mardi","Unknown error":"Erreur inconnue","Unknown error!":"Erreur inconnue!","Wednesday":"Mercredi","Yet exists!":"Pourtant existe!","copy":"copie","file reading has failed: %s":"La lecture du fichier a \xe9chou\xe9: %s","file reading was aborted":"la lecture du fichier a \xe9t\xe9 abandonn\xe9e","filter_func":"Une fonction","filter_id":"ID","filter_name":"Nom","filter_role":"R\xf4le","filter_room":"Pi\xe8ce","for edit or create script":"pour \xe9diter ou cr\xe9er un nouveau script","no blocks found":"Aucun bloc trouv\xe9","no group":"PAS DE GROUPE","not properly connected":"Ce bloc n\'est pas correctement connect\xe9 \xe0 d\'autres blocs.","tooltip_ack":"Reconna\xeetre","tooltip_from":"De","tooltip_lc":"Derni\xe8re modification","tooltip_quality":"Qualit\xe9","tooltip_ts":"Horodatage","tooltip_user":"Utilisateur","tooltip_value":"Valeur","use seconds":"utiliser les secondes","Save all":"Sauver tous","Change theme (actual \\"%s\\")":"Changer de th\xe8me (maintenant - \\"%s\\")","Hide logs":"Masquer les journaux","Show logs":"Afficher les journaux","Rules description":"Cr\xe9er des r\xe8gles avec des blocs IF, THEN, ELSE","help_on_change":"Le code ne sera ex\xe9cut\xe9 que si le r\xe9sultat de la condition change. Par exemple. si le d\xe9clenchement sur la valeur du capteur de temp\xe9rature et que la condition est \xabsi la temp\xe9rature est sup\xe9rieure \xe0 20 \xb0 C\xbb, les actions \xabalors\xbb seront ex\xe9cut\xe9es une fois lorsque la temp\xe9rature est sup\xe9rieure \xe0 20. La prochaine fois, les actions \xabalors\xbb seront ex\xe9cut\xe9es lorsque la temp\xe9rature \xe9choue sous 20 puis remonte au-dessus de 20.","help_just_check":"Le code ne sera ex\xe9cut\xe9 que chaque fois que la condition est vraie. Par exemple. si d\xe9clenchement sur la valeur du capteur de temp\xe9rature et que la condition est \xabsi la temp\xe9rature est sup\xe9rieure \xe0 20 \xb0 C\xbb, les actions \xabalors\xbb seront ex\xe9cut\xe9es \xe0 chaque fois que le capteur envoie la temp\xe9rature et qu\'elle est sup\xe9rieure \xe0 20 \xb0 C. \xc0 21 \xb0 C, \xe0 22 \xb0 C et ainsi de suite.","On condition change":"En cas de changement de condition","Just check":"V\xe9rifiez simplement","when":"lorsque","and":"et","then":"alors","or":"ou","else":"autre","Nothing found":"Rien n\'a \xe9t\xe9 trouv\xe9","reset search":"R\xe9initialiser la recherche","Read only ID selected: %s":"ID en lecture seule s\xe9lectionn\xe9: %s","OK":"OK","Triggers":"D\xe9clencheurs","cron":"CRON","wizard":"Wizard","interval":"intervalle","at":"\xe0","astro":"astro","on condition change":"sur changement de condition","just check":"V\xe9rifiez simplement","Explanation":"Explication","seconds":"secondes","minutes":"minutes","hours":"les heures","Every day":"Tous les jours","milliseconds":"millisecondes","Copied":"Copi\xe9","nadir":"nadir","nightEnd":"Fin de nuit","nauticalDawn":"Aube nautique","dawn":"Aube","sunrise":"lever du soleil","sunriseEnd":"Fin du lever du soleil","goldenHourEnd":"Fin de l\'heure d\'or","solarNoon":"Midi solaire","goldenHour":"Heure d\'or","sunsetStart":"D\xe9but du coucher du soleil","sunset":"le coucher du soleil","dusk":"Cr\xe9puscule","nauticalDusk":"Cr\xe9puscule nautique","night":"Nuit","one":"une","two":"deux","true":"vrai","false":"faux","search":"chercher","Actions":"Actions","Conditions":"Conditions","Schedule":"Horaire","Start script":"Lancer le script","State":"\xc9tat","State condition":"\xc9tat condition","Time condition":"Condition de temps","Set state action":"D\xe9finir l\'action de l\'\xe9tat","Exec":"Exec shell","HTTP Call":"Appel HTTP","Log text":"Texte du journal","Pause":"Pause","on change":"sur le changement","control":"contr\xf4ler","Say It":"Say It","every hour at 0 minutes":"toutes les heures \xe0 0 minute","On script save or adapter start":"Lors de l\'enregistrement du script ou du d\xe9marrage de l\'adaptateur","equal to":"\xe9gal \xe0","Actual time of day":"Heure r\xe9elle de la journ\xe9e","with":"avec","Shell command":"Commande Shell","URL":"URL","Instance:":"Exemple:","Language:":"Langue:","Volume":"Le volume","Text:":"Texte:","undefined":"ind\xe9fini","Default":"D\xe9faut","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Vous pouvez utiliser %s dans le texte pour afficher la valeur de d\xe9clenchement actuelle, %id pour utiliser l\'ID de l\'objet d\xe9clench\xe9, %name pour afficher le nom de l\'ID de l\'objet d\xe9clench\xe9 ou %old pour utiliser l\'ancienne valeur de d\xe9clenchement","Instructions":"Instructions","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Vous pouvez utiliser %s dans l\'URL pour utiliser la valeur de d\xe9clenchement actuelle, %id pour utiliser l\'ID de l\'objet d\xe9clench\xe9, %name pour afficher le nom de l\'ID de l\'objet d\xe9clench\xe9 ou %old pour utiliser l\'ancienne valeur de d\xe9clenchement","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Vous pouvez utiliser %s dans la valeur pour utiliser la valeur de d\xe9clenchement actuelle, %id pour utiliser l\'ID de l\'objet d\xe9clench\xe9, %name pour afficher le nom de l\'ID de l\'objet d\xe9clench\xe9 ou %old pour utiliser l\'ancienne valeur de d\xe9clenchement","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"Vous pouvez utiliser %s dans la commande pour utiliser la valeur de d\xe9clenchement actuelle, %id pour utiliser l\'ID de l\'objet d\xe9clench\xe9, %name pour afficher le nom de l\'ID de l\'objet d\xe9clench\xe9 ou %old pour utiliser l\'ancienne valeur de d\xe9clenchement","every":"chaque","with offset":"avec offset","on update":"sur mise \xe0 jour","update":"mettre \xe0 jour","Triggers the rule periodically or on some specific time":"D\xe9clenche la r\xe8gle p\xe9riodiquement ou \xe0 une heure pr\xe9cise","Triggers the on script saving or the javascript instance restart":"D\xe9clenche l\'enregistrement du script ou le red\xe9marrage de l\'instance javascript","Triggers the rule on update or change of some state":"D\xe9clenche la r\xe8gle sur la mise \xe0 jour ou le changement d\'un \xe9tat","Compares the state value with user defined value":"Compare la valeur d\'\xe9tat avec la valeur d\xe9finie par l\'utilisateur","Compares current time with the user specific time":"Compare l\'heure actuelle avec l\'heure sp\xe9cifique de l\'utilisateur","Control or update some state":"Contr\xf4ler ou mettre \xe0 jour un \xe9tat","Executes some shell command":"Ex\xe9cute une commande shell","Make a HTTP get request":"Faire une requ\xeate HTTP Get","Print some text in log":"Imprimer du texte dans le journal","Make a pause between actions":"Faites une pause entre les actions","Say some text via sayit adapter":"Dites du texte via l\'adaptateur sayit","Telegram":"T\xe9l\xe9gramme","User:":"Utilisateur:","all":"tout","Sends message via telegram":"Envoie un message par t\xe9l\xe9gramme","Sends an email":"Envoie un e-mail","Send email":"Envoyer un e-mail","Sends message via pushover":"Envoie un message via pushover","Pushover":"Pushover","Sends message via whatsapp-cmb":"Envoie un message via whatsapp-cmb","Whatsapp-cmb":"Whatsapp-cmb","Sends message via Pushsafer":"Envoie un message via Pushsafer","Pushsafer":"Pushsafer","To:":"\xc0:","Subject:":"Sujet:","Body:":"Corps:","Title:":"Titre:","Sound:":"Sonner:","Priority:":"Priorit\xe9:","magic":"la magie","quiet":"calmer","normal":"Ordinaire","high-priority":"haute priorit\xe9","acknowledgment":"reconnaissance","Phone:":"T\xe9l\xe9phone:","(optional)":"(optionnel)","Vibration:":"Vibration:","lowest priority":"priorit\xe9 la plus basse","lower priority":"priorit\xe9 inf\xe9rieure","normal priority":"priorit\xe9 normale","high priority":"haute priorit\xe9","highest priority":"priorit\xe9 la plus \xe9lev\xe9e","default":"d\xe9faut","All":"Tout","Write your own code":"\xc9crivez votre propre code","User function":"Fonction utilisateur","This is advances option. You can write your own code here and it will be executed on trigger":"C\'est une option avanc\xe9e. Vous pouvez \xe9crire votre propre code ici et il sera ex\xe9cut\xe9 au d\xe9clenchement","greater than":"plus grand que","offset":"d\xe9calage","Function":"Fonction","greater or equal to":"sup\xe9rieur ou \xe9gal \xe0","less or equal to":"inf\xe9rieur ou \xe9gal \xe0","less than":"moins que","not equal to":"pas \xe9gal \xe0","[equal]":"[\xe9gal]","[greater or equal]":"[sup\xe9rieur ou \xe9gal]","[greater]":"[plus grand]","[less or equal]":"[inf\xe9rieur ou \xe9gal]","[less]":"[moins]","[not equal]":"[in\xe9gal]","[includes]":"[comprend]","[hysteresis]":"[hyst\xe9r\xe8se]","greater or equal":"sup\xe9rieur ou \xe9gal","less or equal":"inf\xe9rieur ou \xe9gal","includes":"comprend",".":".","()":"()","Mo":"Mo","Tu":"Tu","We":"3","Th":"4","Fr":"Fr","Sa":"Sa","Su":"Su","Control or update some state with delay":"Contr\xf4ler ou mettre \xe0 jour un \xe9tat avec un d\xe9lai","Delay":"Retard","ms":"ms","Set with delay":"Set avec retard","clear running":"course claire","toggle value":"valeur de bascule","Any month":"N\'importe quel mois","Any":"Tout","with date":"avec date","Date":"Date","Month":"Mois","Januar":"Janvier","Februar":"F\xe9vrier","March ":"mars","Condition":"\xc9tat","Limit":"Limite","The script will be stopped and must be activated manually after debugging. Continue?":"Le script sera arr\xeat\xe9 et doit \xeatre activ\xe9 manuellement apr\xe8s le d\xe9bogage. Continuez?","Yes":"Oui","Debug instance":"Instance de d\xe9bogage","Resume execution":"Reprendre l\'ex\xe9cution","Go to next line":"Aller \xe0 la ligne suivante","Step into function":"Entrez dans la fonction","Step out from function":"Sortez de la fonction","Stop on exception":"Arr\xeat sur exception","Console":"Console","Stack":"Stack","Pause execution":"Suspendre l\'ex\xe9cution","Simulate":"Simuler","Trigger with value":"D\xe9clencheur avec valeur","Value":"Valeur","Write":"\xc9crivez","Ack":"Reconnu","Start":"D\xe9but","Filter":"Filtre","Instances":"Instances","Triggered":"D\xe9clench\xe9","Function: executed":"Fonction\xa0: ex\xe9cut\xe9e","Operate two states":"Op\xe9rer deux \xe9tats","store in":"stocker dans","ID1":"ID1","ID2":"ID2","Operations with two states":"Op\xe9rations \xe0 deux \xe9tats","debug_label":"D\xe9boguer","debug_help":"Il s\'agit d\'un mode sp\xe9cial dans lequel les \xe9tats et les objets ne changeront pas. Mais seules les informations sur chaque changement pr\xe9vu seront affich\xe9es dans le protocole.","verbose_label":"Sorties de journal d\xe9taill\xe9es","verbose_help":"Ajoute une sortie de d\xe9bogage au journal pour de nombreuses commandes syst\xe8me","easy":"facile","for programmers":"pour les programmeurs","for professionals":"pour les professionnels","Duplicate name":"Nom en double","Empty name is not allowed":"Le nom vide n\'est pas autoris\xe9","Time":"Temps","Server time":"Heure du serveur","Local time":"Heure locale","Description":"Description","nextSunrise":"Prochain lever de soleil","nextSunset":"Prochain coucher de soleil","Astronomical events today":"\xc9v\xe9nements astronomiques aujourd\'hui","Compares current time with astronomical event":"Compare l\'heure actuelle avec un \xe9v\xe9nement astronomique","Show astronomical events":"Afficher les \xe9v\xe9nements astronomiques","Astronomical":"Astronomique","Enter your question":"Entrez votre demande","Press Ctrl+Enter to get the answer":"Appuyez sur Ctrl+Entr\xe9e pour obtenir la r\xe9ponse","Ask":"Demander","Result":"R\xe9sultat","Use generated code":"Utiliser le code g\xe9n\xe9r\xe9","No Chat GPT Key found":"Aucune cl\xe9 GPT de chat trouv\xe9e","You have to enter OpenAI API key in the configuration of javascript adapter.":"Vous devez entrer la cl\xe9 API OpenAI dans la configuration de l\'adaptateur javascript.","Open configuration":"Configuration ouverte"}')},66851:e=>{e.exports=JSON.parse('{"-":"-","Add":"Inserisci","Add new script":"Aggiungi nuovo script","All files will be accepted":"Tutti i file saranno accettati","April":"aprile","Are you sure?":"Sei sicuro?","August":"agosto","Blockly description":"Creazione di regole tramite blocchi grafici","Cancel":"Annulla","Cannot delete non empty item!":"Impossibile eliminare l\'elemento non vuoto!","Change layout":"Cambia layout","Check blocks":"Controlla i blocchi","Check is not active, because javascript adapter is disabled":"Il controllo non \xe8 attivo perch\xe9 l\'adattatore Javascript \xe8 disabilitato","Clear search input":"Cancella input di ricerca","Click on this icon":"Clicca su questa icona","Close":"Vicino","Close all but current":"Chiudi tutto tranne corrente","Collapse all":"Comprimi tutto","Configuration not saved.":"Configurazione non salvata.","Convert blockly to javascript for ever.":"Converti istantaneamente a blocchi in Javascript.","Copy script":"Copia script","Copy to clipboard":"Copia negli appunti","Download as file":"Scarica come file","Create new":"Creare nuovo","Create new folder":"Crea una nuova cartella","Create new script":"Crea nuovo script","Create or edit CRON or time wizard":"Crea o modifica la procedura guidata CRON o time","Dark Theme":"Tema scuro","Dark style":"Stile scuro","Debug options":"Opzioni di debug","December":"dicembre","Define cron...":"Definisci cron ...","Define schedule...":"Definisci programma ...","Delete":"Elimina","Delete %s":"Elimina %s ...","Delete folder":"Elimina cartella","Delete script":"Elimina script","Deselect all":"Deselezionare tutto","Discard changes for %s":"Annulla modifiche per %s","Done":"Fatto","Drop some files here or click...":"Trascina alcuni file qui o fai clic su ...","Edit script or just double click":"Modifica lo script o fai doppio clic","End search mode":"Termina la modalit\xe0 di ricerca","Error":"Errore","Error was found":"Errore trovato","Existing scripts will be overwritten.":"Gli script esistenti verranno sovrascritti.","Expand all":"Espandi tutto","Expert mode":"Modalit\xe0 esperto","Export":"Esportare","Export all scripts":"Esporta tutti gli script","Export blocks":"Esporta blocchi","Export selected blocks":"Esporta i blocchi selezionati","February":"febbraio","Folder":"Cartella","Friday":"Venerd\xec","Function editor":"Editor di funzioni","ID":"ID","Import":"Importare","Import blocks":"Importa blocchi","Import error":"Errore di importazione","Import scripts":"Importa script","Insert object ID":"Inserisci l\'ID oggetto","Instance":"Esempio","Instance is disabled":"L\'istanza \xe8 disabilitata","Invalid CRON":"CRON non valido","It will not be possible to revert this operation.":"Non sar\xe0 possibile ripristinare questa operazione.","JS description":"Creare regole scrivendo Javascript","January":"gennaio","July":"luglio","June":"giugno","Learn More":"Per saperne di pi\xf9","Light style":"Stile leggero","Locate file":"Localizza file","Log outputs":"Registra le uscite","March":"marzo","May":"Maggio","Menu":"Menu","Message":"Messaggio","Monday":"Lunedi","Name":"Nome","No active host found":"Nessun host attivo trovato","November":"novembre","October":"ottobre","Ok":"Ok","On weekdays":"Nei giorni della settimana","Pause script":"Metti in pausa lo script","Please select object ID...":"Seleziona l\'ID oggetto ...","Rename":"Rinominare","Reorder scripts in folders":"Riordina gli script nelle cartelle","Repeat":"Ripetere","Restart":"Ricomincia","Root folder":"Cartella root","Run script":"Esegui script","Saturday":"Sabato","Save":"Salva","Script":"copione","Script %s was modified on disk":"Lo script %s \xe8 stato modificato sul disco","Script is not running":"Lo script non \xe8 in esecuzione","Search in scripts":"Cerca negli script","Search...":"Ricerca...","Select all":"Seleziona tutto","September":"settembre","Show javascript code":"Mostra codice Javascript","Show only paused scripts":"Mostra solo script in pausa","Show only running scripts":"Mostra solo gli script in esecuzione","Show only scripts with problems":"Mostra solo script con problemi","Some files will be rejected":"Alcuni file verranno rifiutati","Sunday":"Domenica","TS description":"Creare regole scrivendo dattiloscritto","Thursday":"giovedi","Tuesday":"marted\xec","Unknown error":"Errore sconosciuto","Unknown error!":"Errore sconosciuto!","Wednesday":"mercoled\xec","Yet exists!":"Esiste ancora!","copy":"copia","file reading has failed: %s":"lettura file non riuscita: %s","file reading was aborted":"la lettura del file \xe8 stata interrotta","filter_func":"Funzione","filter_id":"ID","filter_name":"Nome","filter_role":"Ruolo","filter_room":"Camera","for edit or create script":"per modificare o creare un nuovo script","no blocks found":"Nessun blocco trovato","no group":"NESSUN GRUPPO","not properly connected":"Questo blocco non \xe8 correttamente collegato ad altri blocchi.","tooltip_ack":"Riconoscere","tooltip_from":"A partire dal","tooltip_lc":"Ultima modifica","tooltip_quality":"Qualit\xe0","tooltip_ts":"timestamp","tooltip_user":"Utente","tooltip_value":"Valore","use seconds":"usa i secondi","Save all":"Salva tutto","Change theme (actual \\"%s\\")":"Cambia tema (ora - \\"%s\\")","Hide logs":"Nascondi i registri","Show logs":"Mostra i log","Rules description":"Crea regole con i blocchi IF, THEN, ELSE","help_on_change":"Il codice verr\xe0 eseguito solo se il risultato della condizione cambia. Per esempio. se si attiva il valore del sensore di temperatura e la condizione \xe8 \\"se la temperatura \xe8 maggiore di 20 \xb0 C\\", le azioni \\"allora\\" verranno eseguite una volta quando la temperatura \xe8 superiore a 20. La prossima volta le azioni \\"allora\\" verranno eseguite quando la temperatura fallisce sotto 20 e poi sale di nuovo oltre 20.","help_just_check":"Il codice verr\xe0 eseguito solo ogni volta che la condizione \xe8 vera. Per esempio. se si attiva il valore del sensore di temperatura e la condizione \xe8 \\"se la temperatura \xe8 maggiore di 20 \xb0 C\\", le azioni \\"allora\\" verranno eseguite ogni volta che il sensore invia la temperatura e questa \xe8 superiore a 20 \xb0 C. Di 21 \xb0 C, di 22 \xb0 C e cos\xec via.","On condition change":"A condizione che cambino","Just check":"Controlla solamente","when":"quando","and":"e","then":"poi","or":"o","else":"altro","Nothing found":"Non abbiamo trovato nulla","reset search":"resetta la ricerca","Read only ID selected: %s":"ID di sola lettura selezionato: %s","OK":"OK","Triggers":"Trigger","cron":"CRON","wizard":"procedura guidata","interval":"intervallo","at":"a","astro":"astro","on condition change":"a cambio di condizione","just check":"controlla solamente","Explanation":"Spiegazione","seconds":"secondi","minutes":"minuti","hours":"ore","Every day":"Ogni giorno","milliseconds":"millisecondi","Copied":"Copiato","nadir":"nadir","nightEnd":"Fine della notte","nauticalDawn":"Alba nautica","dawn":"alba","sunrise":"Alba","sunriseEnd":"Fine dell\'alba","goldenHourEnd":"Fine dell\'ora d\'oro","solarNoon":"Mezzogiorno solare","goldenHour":"Ora d\'oro","sunsetStart":"Inizio del tramonto","sunset":"tramonto","dusk":"crepuscolo","nauticalDusk":"Crepuscolo nautico","night":"Notte","one":"uno","two":"Due","true":"vero","false":"falso","search":"ricerca","Actions":"Azioni","Conditions":"Condizioni","Schedule":"Programma","Start script":"Avvia script","State":"Stato","State condition":"Condizione dello stato","Time condition":"Condizione temporale","Set state action":"Imposta l\'azione dello stato","Exec":"Execshell","HTTP Call":"Chiamata HTTP","Log text":"Testo del registro","Pause":"Pausa","on change":"sul cambiamento","control":"controllo","Say It":"Say It","every hour at 0 minutes":"ogni ora a 0 minuti","On script save or adapter start":"Al salvataggio dello script o all\'avvio dell\'adattatore","equal to":"uguale a","Actual time of day":"Ora effettiva della giornata","with":"con","Shell command":"Comando Shell","URL":"URL","Instance:":"Esempio:","Language:":"Linguaggio:","Volume":"Volume","Text:":"Testo:","undefined":"non definito","Default":"Predefinito","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"\xc8 possibile utilizzare %s nel testo per visualizzare il valore di trigger corrente, %id per utilizzare l\'ID dell\'oggetto attivato, %name per mostrare il nome dell\'ID dell\'oggetto attivato o %old per utilizzare il vecchio valore di trigger","Instructions":"Istruzioni","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"\xc8 possibile utilizzare %s nell\'URL per utilizzare il valore di trigger corrente, %id per utilizzare l\'ID dell\'oggetto attivato, %name per mostrare il nome dell\'ID dell\'oggetto attivato o %old per utilizzare il vecchio valore di trigger","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"\xc8 possibile utilizzare %s nel valore per utilizzare il valore di trigger corrente, %id per utilizzare l\'ID dell\'oggetto attivato, %name per mostrare il nome dell\'ID dell\'oggetto attivato o %old per utilizzare il vecchio valore di trigger","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"\xc8 possibile utilizzare %s nel comando per utilizzare il valore di trigger corrente, %id per utilizzare l\'ID dell\'oggetto attivato, %name per mostrare il nome dell\'ID dell\'oggetto attivato o %old per utilizzare il vecchio valore di trigger","every":"ogni","with offset":"con offset","on update":"in aggiornamento","update":"aggiornare","Triggers the rule periodically or on some specific time":"Attiva la regola periodicamente o in un momento specifico","Triggers the on script saving or the javascript instance restart":"Attiva il salvataggio dello script o il riavvio dell\'istanza javascript","Triggers the rule on update or change of some state":"Attiva la regola in caso di aggiornamento o modifica di uno stato","Compares the state value with user defined value":"Confronta il valore dello stato con il valore definito dall\'utente","Compares current time with the user specific time":"Confronta l\'ora corrente con l\'ora specifica dell\'utente","Control or update some state":"Controlla o aggiorna uno stato","Executes some shell command":"Esegue alcuni comandi della shell","Make a HTTP get request":"Effettua una richiesta get HTTP","Print some text in log":"Stampa del testo nel registro","Make a pause between actions":"Fai una pausa tra le azioni","Say some text via sayit adapter":"Pronuncia del testo tramite l\'adattatore sayit","Telegram":"Telegramma","User:":"Utente:","all":"tutti","Sends message via telegram":"Invia messaggio tramite telegramma","Sends an email":"Invia un\'e-mail","Send email":"Invia una email","Sends message via pushover":"Invia messaggio tramite pushover","Pushover":"Pushover","Sends message via whatsapp-cmb":"Invia messaggio tramite whatsapp-cmb","Whatsapp-cmb":"Whatsapp-cmb","Sends message via Pushsafer":"Invia messaggio tramite Pushsafer","Pushsafer":"Pushsafer","To:":"Per:","Subject:":"Soggetto:","Body:":"Corpo:","Title:":"Titolo:","Sound:":"Suono:","Priority:":"Priorit\xe0:","magic":"Magia","quiet":"silenzioso","normal":"normale","high-priority":"priorit\xe0 alta","acknowledgment":"riconoscimento","Phone:":"Telefono:","(optional)":"(opzionale)","Vibration:":"Vibrazione:","lowest priority":"priorit\xe0 pi\xf9 bassa","lower priority":"priorit\xe0 inferiore","normal priority":"priorit\xe0 normale","high priority":"priorit\xe0 alta","highest priority":"massima priorit\xe0","default":"predefinito","All":"Tutti","Write your own code":"Scrivi il tuo codice","User function":"Funzione utente","This is advances option. You can write your own code here and it will be executed on trigger":"Questa \xe8 un\'opzione anticipata. Puoi scrivere il tuo codice qui e verr\xe0 eseguito al trigger","greater than":"pi\xf9 grande di","offset":"compensare","Function":"Funzione","greater or equal to":"maggiore o uguale a","less or equal to":"minore o uguale a","less than":"meno di","not equal to":"non uguale a","[equal]":"[pari]","[greater or equal]":"[maggiore o uguale]","[greater]":"[maggiore]","[less or equal]":"[minore o uguale]","[less]":"[Di meno]","[not equal]":"[non uguale]","[includes]":"[include]","[hysteresis]":"[isteresi]","greater or equal":"maggiore o uguale","less or equal":"inferiore o uguale","includes":"include",".":".","()":"()","Mo":"Mo","Tu":"Tu","We":"3","Th":"4","Fr":"P","Sa":"Sa","Su":"Su","Control or update some state with delay":"Controlla o aggiorna uno stato con ritardo","Delay":"Ritardo","ms":"ms","Set with delay":"Impostato con ritardo","clear running":"chiara esecuzione","toggle value":"alterna valore","Any month":"Ogni mese","Any":"Qualunque","with date":"con data","Date":"Data","Month":"Mese","Januar":"Januar","Februar":"Februar","March ":"marzo","Condition":"Condizione","Limit":"Limite","The script will be stopped and must be activated manually after debugging. Continue?":"Lo script verr\xe0 interrotto e dovr\xe0 essere attivato manualmente dopo il debug. Continua?","Yes":"s\xec","Debug instance":"Istanza di debug","Resume execution":"Riprendi esecuzione","Go to next line":"Vai alla riga successiva","Step into function":"Entra in funzione","Step out from function":"Esci dalla funzione","Stop on exception":"Ferma in caso di eccezione","Console":"Console","Stack":"Stack","Pause execution":"Metti in pausa l\'esecuzione","Simulate":"Simulare","Trigger with value":"Trigger con valore","Value":"Valore","Write":"Scrivi","Ack":"Riconosciuto","Start":"Cominciare","Filter":"Filtro","Instances":"istanze","Triggered":"Innescato","Function: executed":"Funzione: eseguita","Operate two states":"Gestisci due stati","store in":"conservare in","ID1":"ID1","ID2":"ID2","Operations with two states":"Operazioni con due stati","debug_label":"Debug","debug_help":"Questa \xe8 una modalit\xe0 speciale in cui gli stati e gli oggetti non cambieranno. Ma nel protocollo verranno visualizzate solo le informazioni su ogni modifica pianificata.","verbose_label":"Output di log dettagliati","verbose_help":"Aggiunge l\'output di debug al registro per molti comandi di sistema","easy":"facile","for programmers":"per i programmatori","for professionals":"per i professionisti","Duplicate name":"Nome duplicato","Empty name is not allowed":"Il nome vuoto non \xe8 consentito","Time":"Tempo","Server time":"Ora del server","Local time":"Ora locale","Description":"Descrizione","nextSunrise":"Prossima alba","nextSunset":"Prossimo tramonto","Astronomical events today":"Eventi astronomici oggi","Compares current time with astronomical event":"Confronta l\'ora corrente con l\'evento astronomico","Show astronomical events":"Mostra eventi astronomici","Astronomical":"Astronomico","Enter your question":"Inserisci la tua richiesta","Press Ctrl+Enter to get the answer":"Premi Ctrl+Invio per ottenere la risposta","Ask":"Chiedere","Result":"Risultato","Use generated code":"Usa il codice generato","No Chat GPT Key found":"Nessuna chiave GPT chat trovata","You have to enter OpenAI API key in the configuration of javascript adapter.":"Devi inserire la chiave API OpenAI nella configurazione dell\'adattatore javascript.","Open configuration":"Configurazione aperta"}')},86164:e=>{e.exports=JSON.parse('{"-":"-","Add":"Toevoegen","Add new script":"Nieuw script toevoegen","All files will be accepted":"Alle bestanden worden geaccepteerd","April":"april","Are you sure?":"Weet je zeker dat?","August":"augustus","Blockly description":"Regels maken door grafische blokken","Cancel":"annuleren","Cannot delete non empty item!":"Kan niet leeg item niet verwijderen!","Change layout":"Opmaak veranderen","Check blocks":"Controleer blokken","Check is not active, because javascript adapter is disabled":"Controle is niet actief, omdat Javascript-adapter is uitgeschakeld","Clear search input":"Zoekopdracht wissen","Click on this icon":"Klik op dit pictogram","Close":"Dichtbij","Close all but current":"Alles sluiten behalve huidig","Collapse all":"Alles inklappen","Configuration not saved.":"Configuratie niet opgeslagen.","Convert blockly to javascript for ever.":"Converteer direct blockly naar Javascript.","Copy script":"Kopieer script","Copy to clipboard":"Kopieer naar klembord","Download as file":"Download","Create new":"Maak nieuw","Create new folder":"Maak een nieuwe map","Create new script":"Maak een nieuw script","Create or edit CRON or time wizard":"Cre\xeber of bewerk CRON of tijdwizard","Dark Theme":"Donker thema","Dark style":"Donkere stijl","Debug options":"Foutopsporingsopties","December":"december","Define cron...":"Definieer cron ...","Define schedule...":"Definieer schema ...","Delete":"Verwijder","Delete %s":"%s verwijderen ...","Delete folder":"Verwijder map","Delete script":"Script verwijderen","Deselect all":"Deselecteer alles","Discard changes for %s":"Wijzigingen voor %s annuleren","Done":"Gedaan","Drop some files here or click...":"Zet hier enkele bestanden neer of klik op ...","Edit script or just double click":"Bewerk het script of dubbelklik erop","End search mode":"Zoekmodus be\xebindigen","Error":"Fout","Error was found":"Er is een fout gevonden","Existing scripts will be overwritten.":"Bestaande scripts worden overschreven.","Expand all":"Alles uitvouwen","Expert mode":"Expert modus","Export":"Exporteren","Export all scripts":"Exporteer alle scripts","Export blocks":"Blokken exporteren","Export selected blocks":"Exporteer geselecteerde blokken","February":"februari","Folder":"Map","Friday":"vrijdag","Function editor":"Functie-editor","ID":"ID kaart","Import":"Importeren","Import blocks":"Blokken importeren","Import error":"Importfout","Import scripts":"Scripts importeren","Insert object ID":"Object-ID invoegen","Instance":"Voorbeeld","Instance is disabled":"Exemplaar is uitgeschakeld","Invalid CRON":"Ongeldige CRON","It will not be possible to revert this operation.":"Het is niet mogelijk om deze bewerking terug te zetten.","JS description":"Regels maken door Javascript te schrijven","January":"januari","July":"juli","June":"juni","Learn More":"Leer meer","Light style":"Lichte stijl","Locate file":"Vind het bestand","Log outputs":"Log uitgangen","March":"maart","May":"mei","Menu":"Menu","Message":"Bericht","Monday":"maandag","Name":"Naam","No active host found":"Geen actieve host gevonden","November":"november","October":"oktober","Ok":"OK","On weekdays":"Op weekdagen","Pause script":"Pauzeer script","Please select object ID...":"Selecteer object-ID ...","Rename":"andere naam geven","Reorder scripts in folders":"Sorteer scripts in mappen opnieuw","Repeat":"Herhaling","Restart":"Herstarten","Root folder":"Hoofdmap","Run script":"Voer script uit","Saturday":"zaterdag","Save":"Opslaan","Script":"Script","Script %s was modified on disk":"Script %s is gewijzigd op schijf","Script is not running":"Script is niet actief","Search in scripts":"Zoeken in scripts","Search...":"Zoeken...","Select all":"Selecteer alles","September":"september","Show javascript code":"Javascript-code weergeven","Show only paused scripts":"Toon alleen onderbroken scripts","Show only running scripts":"Toon alleen actieve scripts","Show only scripts with problems":"Toon alleen scripts met problemen","Some files will be rejected":"Sommige bestanden worden geweigerd","Sunday":"zondag","TS description":"Regels maken door Typescript te schrijven","Thursday":"donderdag","Tuesday":"dinsdag","Unknown error":"Onbekende fout","Unknown error!":"Onbekende fout!","Wednesday":"woensdag","Yet exists!":"Toch bestaat!","copy":"kopi\xebren","file reading has failed: %s":"bestands lezen is mislukt: %s","file reading was aborted":"bestands lezen is afgebroken","filter_func":"Functie","filter_id":"ID kaart","filter_name":"Naam","filter_role":"Rol","filter_room":"Kamer","for edit or create script":"voor bewerken of een nieuw script maken","no blocks found":"Geen blokken gevonden","no group":"GEEN GROEP","not properly connected":"Dit blok is niet correct verbonden met andere blokken.","tooltip_ack":"Erkennen","tooltip_from":"Van","tooltip_lc":"Laatst gewijzigd","tooltip_quality":"Kwaliteit","tooltip_ts":"tijdstempel","tooltip_user":"Gebruiker","tooltip_value":"Waarde","use seconds":"gebruik seconden","Save all":"Sla alles op","Change theme (actual \\"%s\\")":"Thema wijzigen (nu - \\"%s\\")","Hide logs":"Verberg logboeken","Show logs":"Toon logboeken","Rules description":"Maak regels met IF, THEN, ELSE blokken","help_on_change":"De code wordt alleen uitgevoerd als het conditieresultaat verandert. Bijv. als de temperatuursensor wordt geactiveerd en de conditie is \\"als de temperatuur hoger is dan 20 \xb0 C\\", worden de \\"dan\\" -acties eenmaal uitgevoerd wanneer de temperatuur hoger is dan 20. De volgende keer worden de \\"dan\\" -acties uitgevoerd wanneer de temperatuur faalt onder de 20 en stijgt dan weer boven de 20.","help_just_check":"De code wordt alleen uitgevoerd als de voorwaarde waar is. Bijv. als het triggeren op de temperatuursensorwaarde en de conditie is \\"als de temperatuur hoger is dan 20 \xb0 C\\", zullen de \\"dan\\" acties worden uitgevoerd elke keer dat de sensor de temperatuur verzendt en deze hoger is dan 20 \xb0 C. Bij 21 \xb0 C, bij 22 \xb0 C enzovoort.","On condition change":"Op voorwaarde verandering","Just check":"Kijk maar","when":"wanneer","and":"en","then":"vervolgens","or":"of","else":"anders","Nothing found":"Niets gevonden","reset search":"reset zoeken","Read only ID selected: %s":"Alleen-lezen ID geselecteerd: %s","OK":"OK","Triggers":"Triggers","cron":"cron","wizard":"tovenaar","interval":"interval","at":"Bij","astro":"astro","on condition change":"op voorwaarde verandering","just check":"kijk maar","Explanation":"Uitleg","seconds":"seconden","minutes":"minuten","hours":"uren","Every day":"Elke dag","milliseconds":"milliseconden","Copied":"Gekopieerd","nadir":"nadir","nightEnd":"Einde van de nacht","nauticalDawn":"Nautische dageraad","dawn":"dageraad","sunrise":"zonsopkomst","sunriseEnd":"Einde zonsopgang","goldenHourEnd":"Einde van gouden uur","solarNoon":"Zonne-middag","goldenHour":"gouden uur","sunsetStart":"Begin van de zonsondergang","sunset":"zonsondergang","dusk":"schemer","nauticalDusk":"Nautische schemering","night":"nacht","one":"een","two":"twee","true":"waar","false":"false","search":"zoeken","Actions":"Acties","Conditions":"Voorwaarden","Schedule":"Schema","Start script":"Start het script","State":"Staat","State condition":"Staat staat","Time condition":"Tijdsvoorwaarde","Set state action":"Stel statusactie in","Exec":"Exec shell","HTTP Call":"HTTP-oproep","Log text":"Log tekst","Pause":"Pauze","on change":"bij verandering","control":"controle","Say It":"Say It","every hour at 0 minutes":"elk uur op 0 minuten","On script save or adapter start":"Bij het opslaan van het script of het starten van de adapter","equal to":"gelijk aan","Actual time of day":"Werkelijke tijd van de dag","with":"met","Shell command":"Shell-opdracht","URL":"URL","Instance:":"Voorbeeld:","Language:":"Taal:","Volume":"Volume","Text:":"Tekst:","undefined":"ongedefinieerd","Default":"Standaard","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"U kunt %s in de tekst gebruiken om de huidige triggerwaarde weer te geven, %id om de geactiveerde object-ID te gebruiken, %name om de geactiveerde object-ID-naam weer te geven of %old om de oude triggerwaarde te gebruiken","Instructions":"Instructies","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"U kunt %s in de URL gebruiken om de huidige triggerwaarde te gebruiken, %id om de geactiveerde object-ID te gebruiken, %name om de geactiveerde object-ID-naam te tonen of %old om de oude triggerwaarde te gebruiken","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"U kunt %s in de waarde gebruiken om de huidige triggerwaarde te gebruiken, %id om de geactiveerde object-ID te gebruiken, %name om de geactiveerde object-ID-naam te tonen of %old om de oude triggerwaarde te gebruiken","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"U kunt %s in de opdracht gebruiken om de huidige triggerwaarde te gebruiken, %id om de getriggerde object-ID te gebruiken, %name om de getriggerde object-ID-naam te tonen of %old om de oude triggerwaarde te gebruiken","every":"elke","with offset":"met offset","on update":"bij update","update":"bijwerken","Triggers the rule periodically or on some specific time":"Activeert de regel periodiek of op een specifieke tijd","Triggers the on script saving or the javascript instance restart":"Activeert het opslaan van het script of het opnieuw opstarten van de JavaScript-instantie","Triggers the rule on update or change of some state":"Activeert de regel voor het bijwerken of wijzigen van een bepaalde staat","Compares the state value with user defined value":"Vergelijkt de statuswaarde met de door de gebruiker gedefinieerde waarde","Compares current time with the user specific time":"Vergelijkt de huidige tijd met de gebruikerspecifieke tijd","Control or update some state":"Beheer of update een bepaalde staat","Executes some shell command":"Voert een shell-commando uit","Make a HTTP get request":"Maak een HTTP-ophaalverzoek","Print some text in log":"Druk wat tekst af in het logboek","Make a pause between actions":"Pauzeer tussen acties","Say some text via sayit adapter":"Zeg wat tekst via de sayit-adapter","Telegram":"Telegram","User:":"Gebruiker:","all":"alle","Sends message via telegram":"Verzendt bericht via telegram","Sends an email":"Stuurt een e-mail","Send email":"E-mail verzenden","Sends message via pushover":"Stuurt bericht via pushover","Pushover":"Pushover","Sends message via whatsapp-cmb":"Stuurt bericht via whatsapp-cmb","Whatsapp-cmb":"Whatsapp-cmb","Sends message via Pushsafer":"Stuurt bericht via Pushsafer","Pushsafer":"Duwijzer","To:":"Naar:","Subject:":"Onderwerpen:","Body:":"Lichaam:","Title:":"Titel:","Sound:":"Geluid:","Priority:":"Prioriteit:","magic":"magie","quiet":"stil","normal":"normaal","high-priority":"hoge prioriteit","acknowledgment":"erkenning","Phone:":"Telefoon:","(optional)":"(optioneel)","Vibration:":"Trilling:","lowest priority":"laagste prioriteit","lower priority":"lagere prioriteit","normal priority":"normale prioriteit","high priority":"hoge prioriteit","highest priority":"hoogste prioriteit","default":"standaard","All":"Alle","Write your own code":"Schrijf je eigen code","User function":"Gebruikersfunctie","This is advances option. You can write your own code here and it will be executed on trigger":"Dit is een voorschotoptie. U kunt hier uw eigen code schrijven en deze wordt bij een trigger uitgevoerd","greater than":"groter dan","offset":"compensatie","Function":"Functie","greater or equal to":"groter of gelijk aan","less or equal to":"minder of gelijk aan","less than":"minder dan","not equal to":"niet gelijk aan","[equal]":"[Gelijk]","[greater or equal]":"[groter of gelijk]","[greater]":"[groter]","[less or equal]":"[minder of gelijk]","[less]":"[minder]","[not equal]":"[niet gelijk]","[includes]":"[inclusief]","[hysteresis]":"[hysterese]","greater or equal":"groter of gelijk","less or equal":"minder of gelijk","includes":"omvat",".":".","()":"()","Mo":"Ma","Tu":"Di","We":"3","Th":"4","Fr":"Vr","Sa":"Za","Su":"Zo","Control or update some state with delay":"Beheer of update een bepaalde staat met vertraging","Delay":"Vertraging","ms":"ms","Set with delay":"Met vertraging ingesteld","clear running":"duidelijk rennen","toggle value":"schakelwaarde","Any month":"Elke maand","Any":"Ieder","with date":"met datum","Date":"Datum","Month":"Maand","Januar":"Januar","Februar":"Februari","March ":"maart","Condition":"Staat","Limit":"Begrenzing","The script will be stopped and must be activated manually after debugging. Continue?":"Het script wordt gestopt en moet na het debuggen handmatig worden geactiveerd. Doorgaan met?","Yes":"Ja","Debug instance":"Debug-instantie","Resume execution":"Uitvoering hervatten","Go to next line":"Ga naar de volgende regel","Step into function":"Stap in functie","Step out from function":"Stap uit de functie","Stop on exception":"Stop bij uitzondering","Console":"Troosten","Stack":"Stack","Pause execution":"Uitvoering pauzeren","Simulate":"Simuleren","Trigger with value":"Trigger met waarde","Value":"Waarde","Write":"Schrijven","Ack":"Erkend","Start":"Begin","Filter":"Filter","Instances":"Instanties","Triggered":"Veroorzaakt","Function: executed":"Functie: uitgevoerd","Operate two states":"Bedien twee toestanden:","store in":"opslaan in","ID1":"ID1","ID2":"ID2","Operations with two states":"Bewerkingen met twee toestanden","debug_label":"Debuggen","debug_help":"Dit is een speciale modus waarin toestanden en objecten niet veranderen. Maar alleen informatie over elke geplande wijziging wordt in het protocol weergegeven.","verbose_label":"Uitgebreide log-uitgangen","verbose_help":"Voegt foutopsporingsuitvoer toe aan het logboek voor veel systeemopdrachten","easy":"eenvoudig","for programmers":"voor programmeurs","for professionals":"voor professionals","Duplicate name":"Dubbele naam","Empty name is not allowed":"Lege naam is niet toegestaan","Time":"Tijd","Server time":"Servertijd","Local time":"Lokale tijd","Description":"Beschrijving","nextSunrise":"Volgende zonsopgang","nextSunset":"Volgende zonsondergang","Astronomical events today":"Astronomische gebeurtenissen vandaag","Compares current time with astronomical event":"Vergelijkt huidige tijd met astronomische gebeurtenis","Show astronomical events":"Laat astronomische gebeurtenissen zien","Astronomical":"Astronomisch","Enter your question":"Voer uw verzoek in","Press Ctrl+Enter to get the answer":"Druk op Ctrl+Enter om het antwoord te krijgen","Ask":"Vragen","Result":"Resultaat","Use generated code":"Gebruik gegenereerde code","No Chat GPT Key found":"Geen Chat GPT-sleutel gevonden","You have to enter OpenAI API key in the configuration of javascript adapter.":"U moet de OpenAI API-sleutel invoeren in de configuratie van de javascript-adapter.","Open configuration":"Configuratie openen"}')},23638:e=>{e.exports=JSON.parse('{"-":"-","Add":"Dodaj","Add new script":"Dodaj nowy skrypt","All files will be accepted":"Wszystkie pliki zostan\u0105 zaakceptowane","April":"Kwiecie\u0144","Are you sure?":"Jeste\u015b pewny?","August":"Sierpie\u0144","Blockly description":"Tworzenie regu\u0142 za pomoc\u0105 blok\xf3w graficznych","Cancel":"Odwo\u0142aj","Cannot delete non empty item!":"Nie mo\u017cna usun\u0105\u0107 niepustego elementu!","Change layout":"Zmiana uk\u0142adu","Check blocks":"Sprawd\u017a bloki","Check is not active, because javascript adapter is disabled":"Sprawdzanie nie jest aktywne, poniewa\u017c adapter Javascript jest wy\u0142\u0105czony","Clear search input":"Wyczy\u015b\u0107 dane wyszukiwania","Click on this icon":"Kliknij t\u0119 ikon\u0119","Close":"Zamknij","Close all but current":"Zamknij wszystkie opr\xf3cz bie\u017c\u0105cych","Collapse all":"Zwin\u0105\u0107 wszystkie","Configuration not saved.":"Konfiguracja nie zosta\u0142a zapisana.","Convert blockly to javascript for ever.":"Bezpowrotna konwersja Blockly na Javascript.","Copy script":"Skopiuj skrypt","Copy to clipboard":"Skopiuj do schowka","Download as file":"Download jako plik plik","Create new":"Utw\xf3rz nowy","Create new folder":"Utw\xf3rz nowy folder","Create new script":"Utw\xf3rz nowy skrypt","Create or edit CRON or time wizard":"Utw\xf3rz lub edytuj CRON lub kreator czasu","Dark Theme":"Ciemny schemat","Dark style":"Ciemny styl","Debug options":"Opcje debugowania","December":"Grudzie\u0144","Define cron...":"Zdefiniuj CRON ...","Define schedule...":"Zdefiniuj harmonogram ...","Delete":"Usu\u0144","Delete %s":"Usu\u0144 %s ...","Delete folder":"Usu\u0144 folder","Delete script":"Usu\u0144 skrypt","Deselect all":"Odznacz wszystkie","Discard changes for %s":"Odrzu\u0107 zmiany dla %s","Done":"Gotowe","Drop some files here or click...":"Upu\u015b\u0107 niekt\xf3re pliki tutaj lub kliknij ...","Edit script or just double click":"Edytuj skrypt lub po prostu kliknij dwukrotnie","End search mode":"Zako\u0144cz tryb wyszukiwania","Error":"B\u0142\u0105d","Error was found":"B\u0142\u0105d zosta\u0142 znaleziony","Existing scripts will be overwritten.":"Istniej\u0105ce skrypty zostan\u0105 zast\u0105pione.","Expand all":"Rozwi\u0144 wszystkie","Expert mode":"Tryb ekspercki","Export":"Eksport","Export all scripts":"Wyeksportuj wszystkie skrypty","Export blocks":"Eksportuj bloki","Export selected blocks":"Eksportuj wybrane bloki","February":"Luty","Folder":"Folder","Friday":"Pi\u0105tek","Function editor":"Edytor funkcji","ID":"ID","Import":"Import","Import blocks":"Importuj bloki","Import error":"B\u0142\u0105d importowania","Import scripts":"Importuj skrypty","Insert object ID":"Wstaw identyfikator obiektu","Instance":"Instancja","Instance is disabled":"Instancja jest wy\u0142\u0105czona","Invalid CRON":"Nieprawid\u0142owy CRON","It will not be possible to revert this operation.":"Cofni\u0119cie tej operacji nie b\u0119dzie mo\u017cliwe.","JS description":"Tworzenie regu\u0142 w Javascript","January":"Stycze\u0144","July":"Lipiec","June":"Czerwiec","Learn More":"Ucz si\u0119 wi\u0119cej","Light style":"Lekki styl","Locate file":"Znajd\u017a plik","Log outputs":"Log dziennika","March":"Marzec","May":"Maj","Menu":"Menu","Message":"Wiadomo\u015b\u0107","Monday":"Poniedzia\u0142ek","Name":"Nazwa","No active host found":"Nie znaleziono aktywnego hosta","November":"Listopad","October":"Pa\u017adziernik","Ok":"Ok","On weekdays":"W dni powszednie","Pause script":"Wstrzymaj skrypt","Please select object ID...":"Wybierz identyfikator obiektu ...","Rename":"Przemianuj","Reorder scripts in folders":"Zmie\u0144 kolejno\u015b\u0107 skrypt\xf3w w folderach","Repeat":"Powt\xf3rz","Restart":"Uruchom ponownie","Root folder":"Folder g\u0142\xf3wny","Run script":"Uruchom skrypt","Saturday":"Sobota","Save":"Zapisz","Script":"Skrypt","Script %s was modified on disk":"Skrypt %s zosta\u0142 zmodyfikowany na dysku","Script is not running":"Skrypt nie dzia\u0142a","Search in scripts":"Szukaj w skryptach","Search...":"Szukaj...","Select all":"Zaznacz wszystko","September":"Wrzesie\u0144","Show javascript code":"Poka\u017c kod JavaScript","Show only paused scripts":"Poka\u017c tylko wstrzymane skrypty","Show only running scripts":"Poka\u017c tylko dzia\u0142aj\u0105ce skrypty","Show only scripts with problems":"Poka\u017c tylko skrypty z problemami","Some files will be rejected":"Niekt\xf3re pliki zostan\u0105 odrzucone","Sunday":"Niedziela","TS description":"Tworzenie regu\u0142 w Typescript","Thursday":"Czwartek","Tuesday":"Wtorek","Unknown error":"Nieznany b\u0142\u0105d","Unknown error!":"Nieznany b\u0142\u0105d!","Wednesday":"\u015aroda","Yet exists!":"A jednak istnieje!","copy":"Kopiuj","file reading has failed: %s":"odczyt pliku nie powi\xf3d\u0142 si\u0119: %s","file reading was aborted":"odczyt pliku zosta\u0142 przerwany","filter_func":"Funkcja","filter_id":"ID","filter_name":"Nazwa","filter_role":"Rola","filter_room":"Pok\xf3j","for edit or create script":"do edycji lub utw\xf3rz nowy skrypt","no blocks found":"Nie znaleziono blok\xf3w","no group":"BRAK GRUPY","not properly connected":"Ten blok nie jest poprawnie pod\u0142\u0105czony do innych blok\xf3w.","tooltip_ack":"Akceptuj","tooltip_from":"Od","tooltip_lc":"Ostatnia zmiana","tooltip_quality":"Jako\u015b\u0107","tooltip_ts":"Znacznik czasu","tooltip_user":"U\u017cytkownik","tooltip_value":"Warto\u015b\u0107","use seconds":"u\u017cyj sekund","Save all":"Zapisz wszystko","Change theme (actual \\"%s\\")":"Zmie\u0144 motyw (obecnie - \u201e%s\u201d)","Hide logs":"Ukryj dzienniki","Show logs":"Poka\u017c dzienniki","Rules description":"Tw\xf3rz regu\u0142y z blokami IF, THEN, ELSE","help_on_change":"Kod zostanie wykonany tylko wtedy, gdy wynik warunku ulegnie zmianie. Na przyk\u0142ad. je\u015bli wyzwalanie na warto\u015b\u0107 czujnika temperatury i warunek \u201eje\u015bli temperatura jest wy\u017csza ni\u017c 20 \xb0 C\u201d, to akcje \u201enast\u0119pnie\u201d zostan\u0105 wykonane raz, gdy temperatura przekroczy 20. Nast\u0119pnym razem dzia\u0142ania \u201enast\u0119pnie\u201d zostan\u0105 wykonane, gdy temperatura nie udaje si\u0119 poni\u017cej 20, a nast\u0119pnie ponownie wzrasta powy\u017cej 20.","help_just_check":"Kod zostanie wykonany tylko za ka\u017cdym razem, gdy warunek b\u0119dzie spe\u0142niony. Na przyk\u0142ad. je\u015bli wyzwalanie na warto\u015b\u0107 czujnika temperatury i warunek to \u201eje\u015bli temperatura jest wy\u017csza ni\u017c 20 \xb0 C\u201d, to dzia\u0142ania \u201enast\u0119pnie\u201d b\u0119d\u0105 wykonywane za ka\u017cdym razem, gdy czujnik wy\u015ble temperatur\u0119 i jest powy\u017cej 20 \xb0 C. O 21 \xb0 C, o 22 \xb0 C i tak dalej.","On condition change":"W przypadku zmiany warunk\xf3w","Just check":"Po prostu sprawd\u017a","when":"gdy","and":"i","then":"nast\u0119pnie","or":"lub","else":"inaczej","Nothing found":"Nic nie znaleziono","reset search":"zresetuj wyszukiwanie","Read only ID selected: %s":"Wybrano identyfikator tylko do odczytu: %s","OK":"OK","Triggers":"Wyzwalacze","cron":"CRON","wizard":"Wizard","interval":"interwa\u0142","at":"w","astro":"Astro","on condition change":"pod warunkiem zmiany warunk\xf3w","just check":"po prostu sprawd\u017a","Explanation":"Wyja\u015bnienie","seconds":"sekundy","minutes":"minuty","hours":"godziny","Every day":"Codziennie","milliseconds":"milisekund","Copied":"Skopiowano","nadir":"P\xf3\u0142noc s\u0142oneczna","nightEnd":"Koniec nocy","nauticalDawn":"\u017beglarski \u015bwit","dawn":"\u015awit","sunrise":"Wsch\xf3d s\u0142o\u0144ca","sunriseEnd":"Koniec wschodu s\u0142o\u0144ca","goldenHourEnd":"Koniec z\u0142otej godziny","solarNoon":"Po\u0142udnie s\u0142oneczne","goldenHour":"Z\u0142ota godzina","sunsetStart":"Pocz\u0105tek zachodu s\u0142o\u0144ca","sunset":"Zach\xf3d s\u0142o\u0144ca","dusk":"Zmierzch","nauticalDusk":"\u017beglarski zmierzch","night":"Noc","one":"jeden","two":"dwa","true":"prawda","false":"fa\u0142sz","search":"Szukaj","Actions":"Dzia\u0142ania","Conditions":"Warunki","Schedule":"Harmonogram","Start script":"Uruchom skrypt","State":"Stan","State condition":"Warunek stanu","Time condition":"Warunek czasowy","Set state action":"Ustaw stan dzia\u0142ania","Exec":"Uruchom shell","HTTP Call":"Po\u0142\u0105czenie HTTP","Log text":"Tekst dziennika","Pause":"Pauza","on change":"na zmian\u0119","control":"kontrola","Say It":"Wypowiedz","every hour at 0 minutes":"co godzin\u0119 po 0 minutach","On script save or adapter start":"Podczas zapisywania skryptu lub uruchamiania adaptera","equal to":"r\xf3wny","Actual time of day":"Aktualna pora dnia","with":"z","Shell command":"Polecenie pow\u0142oki","URL":"URL","Instance:":"Instancja:","Language:":"J\u0119zyk:","Volume":"Wolumen","Text:":"Tekst:","undefined":"nieokre\u015blony","Default":"Domy\u015blna","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Mo\u017cesz u\u017cy\u0107 %s w tek\u015bcie, aby wy\u015bwietli\u0107 aktualn\u0105 warto\u015b\u0107 wyzwalaj\u0105c\u0105, %id, aby u\u017cy\u0107 identyfikatora wyzwolonego obiektu, %name, aby wy\u015bwietli\u0107 nazw\u0119 identyfikatora wyzwolonego obiektu lub %old, aby u\u017cy\u0107 starej warto\u015bci wyzwalaj\u0105cej","Instructions":"Instrukcje","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Mo\u017cesz u\u017cy\u0107 %s w adresie URL, aby u\u017cy\u0107 bie\u017c\u0105cej warto\u015bci wyzwalacza, %id, aby u\u017cy\u0107 wyzwalanego identyfikatora obiektu, %name, aby wy\u015bwietli\u0107 nazw\u0119 identyfikatora wyzwalanego obiektu, lub %old, aby u\u017cy\u0107 starej warto\u015bci wyzwalacza","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Mo\u017cesz u\u017cy\u0107 %s w warto\u015bci, aby u\u017cy\u0107 bie\u017c\u0105cej warto\u015bci wyzwalacza, %id, aby u\u017cy\u0107 identyfikatora wyzwalanego obiektu, %name, aby wy\u015bwietli\u0107 nazw\u0119 identyfikatora wyzwalanego obiektu, lub %old, aby u\u017cy\u0107 starej warto\u015bci wyzwalacza","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"Mo\u017cesz u\u017cy\u0107 %s w poleceniu, aby u\u017cy\u0107 bie\u017c\u0105cej warto\u015bci wyzwalaj\u0105cej, %id, aby u\u017cy\u0107 identyfikatora wyzwalanego obiektu, %name, aby wy\u015bwietli\u0107 nazw\u0119 identyfikatora wyzwalanego obiektu, lub %old, aby u\u017cy\u0107 starej warto\u015bci wyzwalaj\u0105cej","every":"ka\u017cdy","with offset":"z przesuni\u0119ciem","on update":"po aktualizacji","update":"aktualizacja","Triggers the rule periodically or on some specific time":"Uruchamia regu\u0142\u0119 okresowo lub w okre\u015blonym czasie","Triggers the on script saving or the javascript instance restart":"Uruchamia zapisywanie skryptu lub restart instancji javascript","Triggers the rule on update or change of some state":"Uruchamia regu\u0142\u0119 przy aktualizacji lub zmianie jakiego\u015b stanu","Compares the state value with user defined value":"Por\xf3wnuje warto\u015b\u0107 stanu z warto\u015bci\u0105 zdefiniowan\u0105 przez u\u017cytkownika","Compares current time with the user specific time":"Por\xf3wnuje aktualny czas z czasem okre\u015blonym przez u\u017cytkownika","Control or update some state":"Kontroluj lub aktualizuj stan","Executes some shell command":"Wykonuje polecenie pow\u0142oki","Make a HTTP get request":"Z\u0142\xf3\u017c \u017c\u0105danie HTTP get","Print some text in log":"Wydrukuj tekst w dzienniku","Make a pause between actions":"Zr\xf3b przerw\u0119 mi\u0119dzy czynno\u015bciami","Say some text via sayit adapter":"Powiedz tekst przez adapter sayit","Telegram":"Telegram","User:":"U\u017cytkownik:","all":"wszystko","Sends message via telegram":"Wysy\u0142a wiadomo\u015b\u0107 telegramem","Sends an email":"Wysy\u0142a e-mail","Send email":"Wys\u0142a\u0107 email","Sends message via pushover":"Wysy\u0142a wiadomo\u015b\u0107 przez pushover","Pushover":"Pushover","Sends message via whatsapp-cmb":"Wysy\u0142a wiadomo\u015b\u0107 przez WhatsApp-cmb","Whatsapp-cmb":"Whatsapp-cmb","Sends message via Pushsafer":"Wysy\u0142a wiadomo\u015b\u0107 przez Pushsafer","Pushsafer":"Pushsafer","To:":"Do:","Subject:":"Temat:","Body:":"Tre\u015b\u0107:","Title:":"Tytu\u0142:","Sound:":"D\u017awi\u0119k:","Priority:":"Priorytet:","magic":"magia","quiet":"cisza","normal":"normalny","high-priority":"wysoki priorytet","acknowledgment":"potwierdzenie","Phone:":"Telefon:","(optional)":"(opcjonalny)","Vibration:":"Wibracja:","lowest priority":"najni\u017cszy priorytet","lower priority":"ni\u017cszy priorytet","normal priority":"normalny priorytet","high priority":"wysoki priorytet","highest priority":"najwy\u017cszy priorytet","default":"domy\u015blna","All":"Wszystko","Write your own code":"Napisz sw\xf3j w\u0142asny kod","User function":"Funkcja u\u017cytkownika","This is advances option. You can write your own code here and it will be executed on trigger":"To jest opcja zaawansowana. Mo\u017cesz tutaj napisa\u0107 w\u0142asny kod, kt\xf3ry zostanie wykonany po wyzwoleniu","greater than":"wi\u0119cej ni\u017c","offset":"przesuni\u0119cie","Function":"Funkcja","greater or equal to":"wi\u0119cej lub r\xf3wno","less or equal to":"mniej lub r\xf3wno","less than":"mniej ni\u017c","not equal to":"nie r\xf3wna si\u0119","[equal]":"[r\xf3wny]","[greater or equal]":"[wi\u0119ksze lub r\xf3wne]","[greater]":"[wi\u0119ksze]","[less or equal]":"[mniejsze lub r\xf3wne]","[less]":"[mniejsze]","[not equal]":"[nie r\xf3wne]","[includes]":"[obejmuje]","[hysteresis]":"[histereza]","greater or equal":"wi\u0119ksze lub r\xf3wne","less or equal":"mniejsze lub r\xf3wne","includes":"zawiera",".":".","()":"()","Mo":"Po","Tu":"Wt","We":"\u015ar","Th":"Cz","Fr":"Pt","Sa":"So","Su":"Nd","Control or update some state with delay":"Kontroluj lub aktualizuj jaki\u015b stan z op\xf3\u017anieniem","Delay":"Op\xf3\u017anienie","ms":"ms","Set with delay":"Ustaw z op\xf3\u017anieniem","clear running":"czyste uruchomienie","toggle value":"warto\u015b\u0107 prze\u0142\u0105czania","Any month":"Dowolny miesi\u0105c","Any":"Ka\u017cdy","with date":"z dat\u0105","Date":"Data","Month":"Miesi\u0105c","Januar":"Stycze\u0144","Februar":"Luty","March ":"Marzec ","Condition":"Stan","Limit":"Limit","The script will be stopped and must be activated manually after debugging. Continue?":"Skrypt zostanie zatrzymany i nale\u017cy go aktywowa\u0107 r\u0119cznie po debugowaniu. Kontyntynuj?","Yes":"Tak","Debug instance":"Debuguj instancj\u0119","Resume execution":"Wzn\xf3w wykonanie","Go to next line":"Przejd\u017a do nast\u0119pnej linii","Step into function":"Wejd\u017a do funkcji","Step out from function":"Wyjd\u017a z funkcji","Stop on exception":"Zatrzymaj si\u0119 na wyj\u0105tku","Console":"Konsola","Stack":"Stos","Pause execution":"Wstrzymaj wykonanie","Simulate":"Symulacja","Trigger with value":"Wyzwalacz z warto\u015bci\u0105","Value":"Warto\u015b\u0107","Write":"Pisa\u0107","Ack":"Potwierdzony","Start":"Pocz\u0105tek","Filter":"Filtr","Instances":"Instancje","Triggered":"Wyzwolony","Function: executed":"Funkcja: wykonywana","Operate two states":"Obs\u0142uguj dwa stany","store in":"przechowaj w","ID1":"ID1","ID2":"ID2","Operations with two states":"Operacje z dwoma stanami","debug_label":"Odpluskwi\u0107","debug_help":"Jest to specjalny tryb, w kt\xf3rym stany i obiekty si\u0119 nie zmieniaj\u0105. Jednak w protokole b\u0119d\u0105 wy\u015bwietlane tylko informacje o ka\u017cdej planowanej zmianie.","verbose_label":"Pe\u0142ne dane wyj\u015bciowe dziennika","verbose_help":"Dodaje wyniki debugowania do dziennika dla wielu polece\u0144 systemowych","easy":"\u0142atwy","for programmers":"dla programist\xf3w","for professionals":"dla profesjonalist\xf3w","Duplicate name":"Duplikat nazwy","Empty name is not allowed":"Pusta nazwa jest niedozwolona","Time":"Czas","Server time":"Czas serwera","Local time":"Czas lokalny","Description":"Opis","nextSunrise":"Nast\u0119pny wsch\xf3d s\u0142o\u0144ca","nextSunset":"Nast\u0119pny zach\xf3d s\u0142o\u0144ca","Astronomical events today":"Wydarzenia astronomiczne dzisiaj","Compares current time with astronomical event":"Por\xf3wnuje aktualny czas z wydarzeniem astronomicznym","Show astronomical events":"Poka\u017c wydarzenia astronomiczne","Astronomical":"Astronomiczny","Enter your question":"Wpisz swoj\u0105 pro\u015bb\u0119","Press Ctrl+Enter to get the answer":"Naci\u015bnij klawisze Ctrl+Enter, aby uzyska\u0107 odpowied\u017a","Ask":"Zapyta\u0107","Result":"Wynik","Use generated code":"U\u017cyj wygenerowanego kodu","No Chat GPT Key found":"Nie znaleziono klucza GPT czatu","You have to enter OpenAI API key in the configuration of javascript adapter.":"Nale\u017cy wprowadzi\u0107 klucz OpenAI API w konfiguracji adaptera javascript.","Open configuration":"Otwarta konfiguracja"}')},74606:e=>{e.exports=JSON.parse('{"-":"-","Add":"Adicionar","Add new script":"Adicionar novo script","All files will be accepted":"Todos os arquivos ser\xe3o aceitos","April":"abril","Are you sure?":"Voc\xea tem certeza?","August":"agosto","Blockly description":"Criando regras por blocos gr\xe1ficos","Cancel":"Cancelar","Cannot delete non empty item!":"N\xe3o pode ser deletar, porque n\xe3o est\xe1 vazio!","Change layout":"Alterar layout","Check blocks":"Verificar blocos","Check is not active, because javascript adapter is disabled":"A verifica\xe7\xe3o de sintaxe n\xe3o est\xe1 ativa porque o adaptador javascript n\xe3o est\xe1 rodando.","Clear search input":"Limpar entrada de pesquisa","Click on this icon":"Clique neste \xedcone","Close":"Fechar","Close all but current":"Fechar tudo, menos atual","Collapse all":"Recolher todos","Configuration not saved.":"Configura\xe7\xe3o n\xe3o esta salva.","Convert blockly to javascript for ever.":"Converter Blockly em Javascript permanentemente.","Copy script":"Copiar script","Copy to clipboard":"Copiar para \xe1rea de transfer\xeancia","Download as file":"Baixar como arquivo","Create new":"Crie um novo","Create new folder":"Criar nova pasta","Create new script":"Criar novo script","Create or edit CRON or time wizard":"Criar ou editar o assistente cron ou o assistente de hor\xe1rio","Dark Theme":"Layout escuro","Dark style":"Estilo escuro","Debug options":"Op\xe7\xf5es de depura\xe7\xe3o","December":"dezembro","Define cron...":"Definir cron...","Define schedule...":"Definir agendamento ...","Delete":"Deletar","Delete %s":"Deletar %s...","Delete folder":"Deletar pasta","Delete script":"Deletar script","Deselect all":"Desmarcar todos","Discard changes for %s":"Descartar altera\xe7\xf5es para %s","Done":"Pronto","Drop some files here or click...":"Solte alguns arquivos aqui ou clique em...","Edit script or just double click":"Edite o script ou clique duas vezes","End search mode":"Finalizar modo de pesquisa","Error":"Erro","Error was found":"Erro foi encontrado","Existing scripts will be overwritten.":"Os scripts existentes ser\xe3o substitu\xeddos.","Expand all":"Expandir todos","Expert mode":"Modo de especialista","Export":"Exporta\xe7\xe3o","Export all scripts":"Exportar todos os scripts","Export blocks":"Exportar blocos","Export selected blocks":"Exportar blocos selecionados","February":"fevereiro","Folder":"Pasta","Friday":"Sexta-feira","Function editor":"Editor de fun\xe7\xf5es","ID":"ID","Import":"Importar","Import blocks":"Importar blocos","Import error":"Erro de importa\xe7\xe3o","Import scripts":"Importar script","Insert object ID":"Inserir ID do objeto","Instance":"Inst\xe2ncia","Instance is disabled":"Inst\xe2ncia est\xe1 desativada","Invalid CRON":"CRON inv\xe1lido","It will not be possible to revert this operation.":"N\xe3o ser\xe1 poss\xedvel reverter esta opera\xe7\xe3o.","JS description":"Criando regras escrevendo Javascript","January":"janeiro","July":"julho","June":"junho","Learn More":"Aprender mais","Light style":"Estilo claro","Locate file":"Localize o arquivo","Log outputs":"Sa\xeddas de log","March":"mar\xe7o","May":"maio","Menu":"Menu","Message":"mensagem","Monday":"Segunda-feira","Name":"Nome","No active host found":"Nenhum host ativo encontrado","November":"novembro","October":"outubro","Ok":"Ok","On weekdays":"Nos dias \xfateis","Pause script":"Pausar script","Please select object ID...":"Selecione o ID do objeto...","Rename":"Renomear","Reorder scripts in folders":"Reordenar scripts em pastas","Repeat":"Repetir","Restart":"Reiniciar","Root folder":"Pasta principal","Run script":"Executar script","Saturday":"S\xe1bado","Save":"Salve","Script":"Script","Script %s was modified on disk":"O script \\"%s\\" foi modificado no disco r\xedgido","Script is not running":"Script n\xe3o est\xe1 sendo executado","Search in scripts":"Pesquisa em scripts","Search...":"Procurar...","Select all":"Selecionar tudo","September":"setembro","Show javascript code":"Mostrar c\xf3digo Javascript","Show only paused scripts":"Mostrar apenas scripts pausados","Show only running scripts":"Mostrar apenas scripts em execu\xe7\xe3o","Show only scripts with problems":"Mostrar apenas scripts com problemas","Some files will be rejected":"Alguns arquivos ser\xe3o rejeitados","Sunday":"Domingo","TS description":"Criando regras escrevendo Typecript","Thursday":"Quinta-feira","Tuesday":"ter\xe7a","Unknown error":"Erro desconhecido","Unknown error!":"Erro desconhecido!","Wednesday":"quarta","Yet exists!":"Ainda existe!","copy":"copiar","file reading has failed: %s":"a leitura do arquivo falhou: %s","file reading was aborted":"a leitura do arquivo foi abortada","filter_func":"Fun\xe7\xe3o","filter_id":"ID","filter_name":"Nome","filter_role":"Tipo","filter_room":"Quarto","for edit or create script":"para editar ou criar um novo script","no blocks found":"Nenhum bloco encontrado","no group":"SEM GRUPO","not properly connected":"Este bloco n\xe3o est\xe1 conectado corretamente com outros blocos.","tooltip_ack":"reconhecer","tooltip_from":"de","tooltip_lc":"\xdaltima altera\xe7\xe3o","tooltip_quality":"Qualidade","tooltip_ts":"timestamp","tooltip_user":"usu\xe1rio","tooltip_value":"valor","use seconds":"use segundos","Save all":"Salvar tudo","Change theme (actual \\"%s\\")":"Alterar tema (agora - \\"%s\\")","Hide logs":"Ocultar logs","Show logs":"Mostrar logs","Rules description":"Crie regras com blocos IF, THEN, ELSE","help_on_change":"O c\xf3digo ser\xe1 executado apenas se o resultado da condi\xe7\xe3o mudar. Por exemplo. se disparar no valor do sensor de temperatura e a condi\xe7\xe3o for \\"se a temperatura for maior que 20 \xb0 C\\", as a\xe7\xf5es \\"ent\xe3o\\" ser\xe3o executadas uma vez quando a temperatura estiver acima de 20. Na pr\xf3xima vez, as a\xe7\xf5es \\"ent\xe3o\\" ser\xe3o executadas quando a temperatura falha abaixo de 20 e sobe acima de 20 novamente.","help_just_check":"O c\xf3digo ser\xe1 executado apenas sempre que a condi\xe7\xe3o for verdadeira. Por exemplo. se disparar no valor do sensor de temperatura e a condi\xe7\xe3o for \\"se a temperatura for maior que 20 \xb0 C\\", as a\xe7\xf5es \\"ent\xe3o\\" ser\xe3o executadas toda vez que o sensor enviar a temperatura e ela estiver acima de 20 \xb0 C. Por 21 \xb0 C, por 22 \xb0 C e assim por diante.","On condition change":"Na mudan\xe7a de condi\xe7\xe3o","Just check":"Apenas verifique","when":"quando","and":"e","then":"ent\xe3o","or":"ou","else":"outro","Nothing found":"Nada encontrado","reset search":"redefinir pesquisa","Read only ID selected: %s":"ID somente leitura selecionada: %s","OK":"OK","Triggers":"Gatilhos","cron":"CRON","wizard":"Wizard","interval":"intervalo","at":"no","astro":"astro","on condition change":"na mudan\xe7a de condi\xe7\xe3o","just check":"Apenas verifique","Explanation":"Explica\xe7\xe3o","seconds":"segundos","minutes":"minutos","hours":"horas","Every day":"Todos os dias","milliseconds":"milissegundos","Copied":"Copiado","nadir":"nadir","nightEnd":"Fim de noite","nauticalDawn":"Madrugada n\xe1utica","dawn":"alvorecer","sunrise":"nascer do sol","sunriseEnd":"Fim do nascer do sol","goldenHourEnd":"Fim da hora de ouro","solarNoon":"Meio-dia solar","goldenHour":"Hora dourada","sunsetStart":"Come\xe7o do p\xf4r do sol","sunset":"p\xf4r do sol","dusk":"Crep\xfasculo","nauticalDusk":"Crep\xfasculo n\xe1utico","night":"Noite","one":"1","two":"dois","true":"verdade","false":"falso","search":"procurar","Actions":"A\xe7\xf5es","Conditions":"Condi\xe7\xf5es","Schedule":"Cronograma","Start script":"Iniciar script","State":"Estado","State condition":"Condi\xe7\xe3o de estado","Time condition":"Condi\xe7\xe3o de tempo","Set state action":"Definir a\xe7\xe3o de estado","Exec":"Exec shell","HTTP Call":"Chamada HTTP","Log text":"Texto de registro","Pause":"Pausa","on change":"em mudan\xe7a","control":"ao controle","Say It":"Say It","every hour at 0 minutes":"a cada hora em 0 minutos","On script save or adapter start":"Ao salvar o script ou iniciar o adaptador","equal to":"igual a","Actual time of day":"Hora real do dia","with":"com","Shell command":"Comando shell","URL":"URL","Instance:":"Inst\xe2ncia:","Language:":"L\xedngua:","Volume":"Volume","Text:":"Texto:","undefined":"Indefinido","Default":"Predefini\xe7\xe3o","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Voc\xea pode usar %s no texto para exibir o valor do acionador atual, %id para usar o ID do objeto acionado, %name para mostrar o nome do ID do objeto acionado ou %old para usar o valor do acionador antigo","Instructions":"Instru\xe7\xf5es","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Voc\xea pode usar %s na URL para usar o valor do gatilho atual, %id para usar o ID do objeto acionado, %name para mostrar o nome do ID do objeto acionado ou %old para usar o valor do gatilho antigo","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Voc\xea pode usar %s no valor para usar o valor do acionador atual, %id para usar o ID do objeto acionado, %name para mostrar o nome do ID do objeto acionado ou %old para usar o valor do acionador antigo","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"Voc\xea pode usar %s no comando para usar o valor do acionador atual, %id para usar o ID do objeto acionado, %name para mostrar o nome do ID do objeto acionado ou %old para usar o valor do acionador antigo","every":"cada","with offset":"com deslocamento","on update":"em atualiza\xe7\xe3o","update":"atualizar","Triggers the rule periodically or on some specific time":"Aciona a regra periodicamente ou em algum momento espec\xedfico","Triggers the on script saving or the javascript instance restart":"Aciona o salvamento do script ou a reinicializa\xe7\xe3o da inst\xe2ncia javascript","Triggers the rule on update or change of some state":"Aciona a regra na atualiza\xe7\xe3o ou mudan\xe7a de algum estado","Compares the state value with user defined value":"Compara o valor do estado com o valor definido pelo usu\xe1rio","Compares current time with the user specific time":"Compara a hora atual com a hora espec\xedfica do usu\xe1rio","Control or update some state":"Controlar ou atualizar algum estado","Executes some shell command":"Executa algum comando shell","Make a HTTP get request":"Fa\xe7a uma solicita\xe7\xe3o HTTP get","Print some text in log":"Imprimir algum texto no log","Make a pause between actions":"Fa\xe7a uma pausa entre as a\xe7\xf5es","Say some text via sayit adapter":"Diga algum texto atrav\xe9s do adaptador sayit","Telegram":"Telegrama","User:":"Do utilizador:","all":"todos","Sends message via telegram":"Envia mensagem via telegrama","Sends an email":"Envia um email","Send email":"Enviar email","Sends message via pushover":"Envia mensagem via pushover","Pushover":"Pushover","Sends message via whatsapp-cmb":"Envia mensagem via whatsapp-cmb","Whatsapp-cmb":"Whatsapp-cmb","Sends message via Pushsafer":"Envia mensagem via Pushsafer","Pushsafer":"Pushsafer","To:":"Para:","Subject:":"Sujeito:","Body:":"Corpo:","Title:":"T\xedtulo:","Sound:":"Som:","Priority:":"Prioridade:","magic":"Magia","quiet":"quieto","normal":"normal","high-priority":"prioridade m\xe1xima","acknowledgment":"reconhecimento","Phone:":"Telefone:","(optional)":"(opcional)","Vibration:":"Vibra\xe7\xe3o:","lowest priority":"prioridade mais baixa","lower priority":"prioridade mais baixa","normal priority":"prioridade normal","high priority":"prioridade m\xe1xima","highest priority":"Prioridade m\xe1xima","default":"predefini\xe7\xe3o","All":"Todos","Write your own code":"Escreva seu pr\xf3prio c\xf3digo","User function":"Fun\xe7\xe3o do usu\xe1rio","This is advances option. You can write your own code here and it will be executed on trigger":"Esta \xe9 a op\xe7\xe3o de avan\xe7os. Voc\xea pode escrever seu pr\xf3prio c\xf3digo aqui e ele ser\xe1 executado no gatilho","greater than":"Maior que","offset":"Deslocamento","Function":"Fun\xe7\xe3o","greater or equal to":"maior ou igual a","less or equal to":"menor ou igual a","less than":"Menor que","not equal to":"n\xe3o \xe9 igual a","[equal]":"[igual]","[greater or equal]":"[maior ou igual]","[greater]":"[maior]","[less or equal]":"[menor ou igual]","[less]":"[menos]","[not equal]":"[n\xe3o igual]","[includes]":"[inclui]","[hysteresis]":"[histerese]","greater or equal":"maior ou igual","less or equal":"menor ou igual","includes":"inclui",".":".","()":"()","Mo":"Mo","Tu":"Tu","We":"3","Th":"4","Fr":"Fr","Sa":"S\xe1","Su":"Su","Control or update some state with delay":"Controlar ou atualizar algum estado com atraso","Delay":"Atraso","ms":"ms","Set with delay":"Definido com atraso","clear running":"corrida limpa","toggle value":"valor de altern\xe2ncia","Any month":"Qualquer m\xeas","Any":"Nenhum","with date":"com data","Date":"Encontro","Month":"M\xeas","Januar":"Januar","Februar":"Februar","March ":"Mar\xe7o","Condition":"Doen\xe7a","Limit":"Limite","The script will be stopped and must be activated manually after debugging. Continue?":"O script ser\xe1 interrompido e deve ser ativado manualmente ap\xf3s a depura\xe7\xe3o. Continuar?","Yes":"sim","Debug instance":"Inst\xe2ncia de depura\xe7\xe3o","Resume execution":"Retomar execu\xe7\xe3o","Go to next line":"V\xe1 para a pr\xf3xima linha","Step into function":"Entre na fun\xe7\xe3o","Step out from function":"Saia da fun\xe7\xe3o","Stop on exception":"Pare na exce\xe7\xe3o","Console":"Console","Stack":"Pilha","Pause execution":"Pausar a execu\xe7\xe3o","Simulate":"Simular","Trigger with value":"Trigger com valor","Value":"Valor","Write":"Escrever","Ack":"Reconhecido","Start":"Come\xe7ar","Filter":"Filtro","Instances":"Inst\xe2ncias","Triggered":"Provocado","Function: executed":"Fun\xe7\xe3o: executado","Operate two states":"Operar dois estados","store in":"armazenar em","ID1":"ID1","ID2":"ID2","Operations with two states":"Opera\xe7\xf5es com dois estados","debug_label":"Depurar","debug_help":"Este \xe9 um modo especial no qual estados e objetos n\xe3o ser\xe3o alterados. Mas apenas as informa\xe7\xf5es sobre cada mudan\xe7a planejada ser\xe3o exibidas no protocolo.","verbose_label":"Sa\xeddas de log detalhadas","verbose_help":"Adiciona sa\xedda de depura\xe7\xe3o ao log para muitos comandos do sistema","easy":"f\xe1cil","for programmers":"para programadores","for professionals":"para profissionais","Duplicate name":"Nome duplicado","Empty name is not allowed":"Nome vazio n\xe3o \xe9 permitido","Time":"Tempo","Server time":"Tempo de servidor","Local time":"Hora local","Description":"Descri\xe7\xe3o","nextSunrise":"pr\xf3ximo nascer do sol","nextSunset":"Pr\xf3ximo p\xf4r do sol","Astronomical events today":"Eventos astron\xf4micos hoje","Compares current time with astronomical event":"Compara o tempo atual com o evento astron\xf4mico","Show astronomical events":"Mostrar eventos astron\xf4micos","Astronomical":"Astron\xf4mico","Enter your question":"Digite sua solicita\xe7\xe3o","Press Ctrl+Enter to get the answer":"Pressione Ctrl+Enter para obter a resposta","Ask":"Perguntar","Result":"Resultado","Use generated code":"Usar c\xf3digo gerado","No Chat GPT Key found":"Nenhuma chave GPT de bate-papo encontrada","You have to enter OpenAI API key in the configuration of javascript adapter.":"Voc\xea deve inserir a chave da API OpenAI na configura\xe7\xe3o do adaptador javascript.","Open configuration":"Configura\xe7\xe3o aberta"}')},63715:e=>{e.exports=JSON.parse('{"-":"-","Add":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c","Add new script":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442","All files will be accepted":"\u0412\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u043d\u044f\u0442\u044b","April":"\u0410\u043f\u0440\u0435\u043b\u044c","Are you sure?":"\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b?","August":"\u0410\u0432\u0433\u0443\u0441\u0442","Blockly description":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0431\u043b\u043e\u043a\u0430\u043c\u0438","Cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","Cannot delete non empty item!":"\u041d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u0435\u043f\u0443\u0441\u0442\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442!","Change layout":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0430\u043a\u0435\u0442","Check blocks":"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0431\u043b\u043e\u043a\u0438","Check is not active, because javascript adapter is disabled":"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0430\u0434\u0430\u043f\u0442\u0435\u0440 Javascript \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d","Clear search input":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u0432\u043e\u0434","Click on this icon":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 \u044d\u0442\u043e\u0442 \u0437\u043d\u0430\u0447\u043e\u043a","Close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","Close all but current":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435 \u043a\u0440\u043e\u043c\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e","Collapse all":"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u0441\u0435","Configuration not saved.":"\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0430.","Convert blockly to javascript for ever.":"\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c blockly \u0432 Javascript \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430.","Copy script":"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442","Copy to clipboard":"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430","Download as file":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043a\u0430\u043a \u0444\u0430\u0439\u043b","Create new":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439","Create new folder":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u043f\u0430\u043f\u043a\u0443","Create new script":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442","Create or edit CRON or time wizard":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u043b\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 CRON \u0438\u043b\u0438 \u043c\u0430\u0441\u0442\u0435\u0440\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438","Dark Theme":"\u0422\u0451\u043c\u043d\u0430\u044f \u0442\u0435\u043c\u0430","Dark style":"\u0422\u0435\u043c\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c","Debug options":"\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043e\u0442\u043b\u0430\u0434\u043a\u0438","December":"\u0414\u0435\u043a\u0430\u0431\u0440\u044c","Define cron...":"\u0417\u0430\u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e ...","Define schedule...":"\u0417\u0430\u0434\u0430\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435...","Delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","Delete %s":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c %s...","Delete folder":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u0430\u043f\u043a\u0443","Delete script":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442","Deselect all":"\u0421\u043d\u044f\u0442\u044c \u0432\u044b\u0431\u043e\u0440 \u0441\u043e \u0432\u0441\u0435\u0445","Discard changes for %s":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u043b\u044f %s","Done":"\u0413\u043e\u0442\u043e\u0432\u043e","Drop some files here or click...":"\u041f\u0435\u0440\u0435\u0442\u044b\u0449\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0444\u0430\u0439\u043b\u044b \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 ...","Edit script or just double click":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0432\u0430\u0436\u0434\u044b \u0449\u0435\u043b\u043a\u043d\u0443\u0442\u044c","End search mode":"\u0417\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c \u043f\u043e\u0438\u0441\u043a","Error":"\u041e\u0448\u0438\u0431\u043a\u0430","Error was found":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0431\u044b\u043b\u0430 \u043d\u0430\u0439\u0434\u0435\u043d\u0430","Existing scripts will be overwritten.":"\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b.","Expand all":"\u0420\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0432\u0441\u0435","Expert mode":"\u042d\u043a\u0441\u043f\u0435\u0440\u0442\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c","Export":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442","Export all scripts":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432\u0441\u0435\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432","Export blocks":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u043b\u043e\u043a\u0438","Export selected blocks":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0431\u043b\u043e\u043a\u0438","February":"\u0424\u0435\u0432\u0440\u0430\u043b\u044c","Folder":"\u041f\u0430\u043f\u043a\u0430","Friday":"\u043f\u044f\u0442\u043d\u0438\u0446\u0430","Function editor":"\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0438","ID":"ID","Import":"\u0418\u043c\u043f\u043e\u0440\u0442","Import blocks":"\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u043b\u043e\u043a\u0438","Import error":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0438\u043c\u043f\u043e\u0440\u0442\u0430","Import scripts":"\u0418\u043c\u043f\u043e\u0440\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432","Insert object ID":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c ID \u043e\u0431\u044a\u0435\u043a\u0442\u0430","Instance":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440","Instance is disabled":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d","Invalid CRON":"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 CRON","It will not be possible to revert this operation.":"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u044d\u0442\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e.","JS description":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u043f\u0443\u0442\u0451\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f Javascript","January":"\u042f\u043d\u0432\u0430\u0440\u044c","July":"\u0418\u044e\u043b\u044c","June":"\u0418\u044e\u043d\u044c","Learn More":"\u0423\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435","Light style":"\u0421\u0432\u0435\u0442\u043b\u044b\u0439 \u0441\u0442\u0438\u043b\u044c","Locate file":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u0434\u0435\u0440\u0435\u0432\u0435","Log outputs":"\u0416\u0443\u0440\u043d\u0430\u043b","March":"\u041c\u0430\u0440\u0442","May":"\u041c\u0430\u0439","Menu":"\u041c\u0435\u043d\u044e","Message":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435","Monday":"\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","Name":"\u0418\u043c\u044f","No active host found":"\u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439 host \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d","November":"\u041d\u043e\u044f\u0431\u0440\u044c","October":"\u041e\u043a\u0442\u044f\u0431\u0440\u044c","Ok":"Ok","On weekdays":"\u041f\u043e \u0434\u043d\u044f\u043c \u043d\u0435\u0434\u0435\u043b\u0438","Pause script":"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442","Please select object ID...":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 ID \u043e\u0431\u044a\u0435\u043a\u0442\u0430 ...","Rename":"\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c","Reorder scripts in folders":"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0432 \u043f\u0430\u043f\u043a\u0430\u0445","Repeat":"\u041f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u0435","Restart":"\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c","Root folder":"\u041a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u043f\u0430\u043f\u043a\u0430","Run script":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442","Saturday":"\u0441\u0443\u0431\u0431\u043e\u0442\u0430","Save":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c","Script":"\u0441\u043a\u0440\u0438\u043f\u0442","Script %s was modified on disk":"\u0421\u043a\u0440\u0438\u043f\u0442 \\"%s\\" \u0431\u044b\u043b \u0438\u0437\u043c\u0435\u043d\u0435\u043d \u043d\u0430 \u0434\u0438\u0441\u043a\u0435","Script is not running":"\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043d\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d","Search in scripts":"\u041f\u043e\u0438\u0441\u043a \u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445","Search...":"\u041f\u043e\u0438\u0441\u043a...","Select all":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435","September":"\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c","Show javascript code":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u0434 Javascript","Show only paused scripts":"\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438","Show only running scripts":"\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b","Show only scripts with problems":"\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438","Some files will be rejected":"\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u044b","Sunday":"\u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","TS description":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u043f\u0443\u0442\u0451\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f Typescript","Thursday":"\u0427\u0435\u0442\u0432\u0435\u0440\u0433","Tuesday":"\u0432\u0442\u043e\u0440\u043d\u0438\u043a","Unknown error":"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430","Unknown error!":"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430!","Wednesday":"\u0441\u0440\u0435\u0434\u0430","Yet exists!":"\u0418\u043c\u044f \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442!","copy":"\u043a\u043e\u043f\u0438\u044f","file reading has failed: %s":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430: %s","file reading was aborted":"\u0427\u0442\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0431\u044b\u043b\u043e \u043f\u0440\u0435\u0440\u0432\u0430\u043d\u043e","filter_func":"\u0424\u0443\u043d\u043a\u0446\u0438\u044f","filter_id":"ID","filter_name":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","filter_role":"\u0420\u043e\u043b\u044c","filter_room":"\u041a\u043e\u043c\u043d\u0430\u0442\u0430","for edit or create script":"\u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442","no blocks found":"\u0411\u043b\u043e\u043a\u043e\u0432 \u043d\u0435\u0442","no group":"\u041d\u0435\u0442 \u0433\u0440\u0443\u043f\u043f\u044b","not properly connected":"\u042d\u0442\u043e\u0442 \u0431\u043b\u043e\u043a \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0451\u043d \u0438\u043b\u0438 \u043d\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0451\u043d \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0431\u043b\u043e\u043a\u0430\u043c\u0438.","tooltip_ack":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u043e","tooltip_from":"\u041e\u0442","tooltip_lc":"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435","tooltip_quality":"\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439","tooltip_ts":"\u0412\u0440\u0435\u043c\u044f","tooltip_user":"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c","tooltip_value":"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435","use seconds":"\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u043a\u0443\u043d\u0434\u044b","Save all":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0441\u0435","Change theme (actual \\"%s\\")":"\u0421\u043c\u0435\u043d\u0438\u0442\u044c \u0442\u0435\u043c\u0443 (\u0441\u0435\u0439\u0447\u0430\u0441 - \\"%s\\")","Hide logs":"\u0421\u043a\u0440\u044b\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u044b","Show logs":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u044b","Rules description":"\u0421\u043e\u0437\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0441 \u0431\u043b\u043e\u043a\u0430\u043c\u0438 \u0415\u0421\u041b\u0418, \u0422\u041e, \u0418\u041d\u0410\u0427\u0415","help_on_change":"\u041a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u043f\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044e \xab\u0435\u0441\u043b\u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 20\xb0C\xbb, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \xab\u0437\u0430\u0442\u0435\u043c\xbb \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u044b \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u043f\u0440\u0435\u0432\u044b\u0441\u0438\u0442 20\xb0C. \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0437 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \xab\u0437\u0430\u0442\u0435\u043c\xbb \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u044b, \u043a\u043e\u0433\u0434\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u043e\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f \u043d\u0438\u0436\u0435 20\xb0C, \u0430 \u0437\u0430\u0442\u0435\u043c \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0448\u0435 20\xb0C.","help_just_check":"\u041a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0438\u0441\u0442\u0438\u043d\u043d\u043e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440. \u043f\u0440\u0438 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u043f\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044e \xab\u0435\u0441\u043b\u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0432\u044b\u0448\u0435 20\xb0C\xbb, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \xab\u0437\u0430\u0442\u0435\u043c\xbb \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0434\u0430\u0442\u0447\u0438\u043a \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b, \u0438 \u043e\u043d\u043e \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 20\xb0C. \u041d\u0430 21\xb0\u0421, \u043d\u0430 22\xb0\u0421 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435.","On condition change":"\u041f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0440\u0435\u0443\u0437\u043b\u044c\u0442\u0430\u0442\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0439","Just check":"\u041f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c","when":"\u0435\u0441\u043b\u0438","and":"\u0438","then":"\u0442\u043e\u0433\u0434\u0430","or":"\u0438\u043b\u0438","else":"\u0438\u043d\u0430\u0447\u0435","Nothing found":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e","reset search":"C\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u043e\u0438\u0441\u043a","Read only ID selected: %s":"\u0412\u044b\u0431\u0440\u0430\u043d \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f: %s","OK":"\u041e\u043a","Triggers":"\u0422\u0440\u0438\u0433\u0433\u0435\u0440\u044b","cron":"CRON","wizard":"\u041c\u0430\u0441\u0442\u0435\u0440","interval":"\u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b","at":"\u0432","astro":"\u0410\u0441\u0442\u0440\u043e","on condition change":"\u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u044f","just check":"\u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c","Explanation":"\u041e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435","seconds":"\u0441\u0435\u043a\u0443\u043d\u0434","minutes":"\u043c\u0438\u043d\u0443\u0442(\u0443)","hours":"\u0447\u0430\u0441(\u043e\u0432)","Every day":"\u041a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c","milliseconds":"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b","Copied":"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e","nadir":"\u041d\u0430\u0434\u0438\u0440","nightEnd":"\u041a\u043e\u043d\u0435\u0446 \u043d\u043e\u0447\u0438","nauticalDawn":"\u041c\u043e\u0440\u0441\u043a\u043e\u0439 \u0440\u0430\u0441\u0441\u0432\u0435\u0442","dawn":"\u0420\u0430\u0441\u0441\u0432\u0435\u0442","sunrise":"\u0412\u043e\u0441\u0445\u043e\u0434 \u0441\u043e\u043b\u043d\u0446\u0430","sunriseEnd":"\u041a\u043e\u043d\u0435\u0446 \u0432\u043e\u0441\u0445\u043e\u0434\u0430","goldenHourEnd":"\u041a\u043e\u043d\u0435\u0446 \u0437\u043e\u043b\u043e\u0442\u043e\u0433\u043e \u0447\u0430\u0441\u0430","solarNoon":"\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0439 \u043f\u043e\u043b\u0434\u0435\u043d\u044c","goldenHour":"\u0417\u043e\u043b\u043e\u0442\u043e\u0439 \u0447\u0430\u0441","sunsetStart":"\u041d\u0430\u0447\u0430\u043b\u043e \u0437\u0430\u043a\u0430\u0442\u0430","sunset":"\u0417\u0430\u043a\u0430\u0442 \u0441\u043e\u043b\u043d\u0446\u0430","dusk":"\u0421\u0443\u043c\u0435\u0440\u043a\u0438","nauticalDusk":"\u041c\u043e\u0440\u0441\u043a\u0438\u0435 \u0441\u0443\u043c\u0435\u0440\u043a\u0438","night":"\u041d\u043e\u0447\u044c","one":"\u043e\u0434\u0438\u043d","two":"\u0434\u0432\u0430","true":"true","false":"false","search":"\u043f\u043e\u0438\u0441\u043a","Actions":"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f","Conditions":"\u0423\u0441\u043b\u043e\u0432\u0438\u044f","Schedule":"\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435","Start script":"\u0421\u0442\u0430\u0440\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u0430","State":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435","State condition":"\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f","Time condition":"\u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438","Set state action":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435","Exec":"\u0418\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u044c shell","HTTP Call":"HTTP-\u0432\u044b\u0437\u043e\u0432","Log text":"\u0422\u0435\u043a\u0441\u0442 \u0436\u0443\u0440\u043d\u0430\u043b\u0430","Pause":"\u041f\u0430\u0443\u0437\u0430","on change":"\u043f\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e","control":"\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c","Say It":"Say It","every hour at 0 minutes":"\u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0430\u0441 \u0447\u0435\u0440\u0435\u0437 0 \u043c\u0438\u043d\u0443\u0442","On script save or adapter start":"\u041f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0438\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430","equal to":"\u0440\u0430\u0432\u043d\u043e","Actual time of day":"\u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a","with":"\u0441","Shell command":"\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438","URL":"URL","Instance:":"\u041f\u0440\u0438\u043c\u0435\u0440:","Language:":"\u042f\u0437\u044b\u043a:","Volume":"\u0413\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c","Text:":"\u0422\u0435\u043a\u0441\u0442:","undefined":"\u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439","Default":"\u0414\u0435\u0444\u043e\u043b\u0442","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c %s \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430, %id \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430, %name \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0435\u0433\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438\u043b\u0438 %old \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430.","Instructions":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c %s \u0432 URL-\u0430\u0434\u0440\u0435\u0441\u0435, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430, %id, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430, %name, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u0438\u043b\u0438 %old, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430.","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c %s \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0438, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430, %id, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430, %name, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u0438\u043b\u0438 %old, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430.","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c %s \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430, %id, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430, %name, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u044f \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0435\u0433\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u0438\u043b\u0438 %old, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430.","every":"\u043a\u0430\u0436\u0434\u044b\u0435(\u044b\u0439)","with offset":"\u0441\u043e \u0441\u0434\u0432\u0438\u0433\u043e\u043c","on update":"\u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438","update":"\u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c","Triggers the rule periodically or on some specific time":"\u0421\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u043b\u0438 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f","Triggers the on script saving or the javascript instance restart":"\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 javascript","Triggers the rule on update or change of some state":"\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f","Compares the state value with user defined value":"\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c","Compares current time with the user specific time":"\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0441 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","Control or update some state":"\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435","Executes some shell command":"\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438","Make a HTTP get request":"\u0421\u0434\u0435\u043b\u0430\u0439\u0442\u0435 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435","Print some text in log":"\u041d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0435","Make a pause between actions":"\u0421\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u043f\u0430\u0443\u0437\u0443 \u043c\u0435\u0436\u0434\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438","Say some text via sayit adapter":"\u041f\u0440\u043e\u0438\u0437\u043d\u0435\u0441\u0438\u0442\u0435 \u0442\u0435\u043a\u0441\u0442 \u0447\u0435\u0440\u0435\u0437 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 Sayit","Telegram":"Telegram","User:":"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c:","all":"\u0432\u0441\u0435","Sends message via telegram":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c\u0435","Sends an email":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e","Send email":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c email","Sends message via pushover":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043f\u0443\u0441\u0442\u044b\u0448\u043a\u0443","Pushover":"Pushover","Sends message via whatsapp-cmb":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 whatsapp-cmb","Whatsapp-cmb":"Whatsapp-cmb","Sends message via Pushsafer":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 Pushsafer","Pushsafer":"Pushsafer","To:":"\u041a:","Subject:":"\u041f\u0440\u0435\u0434\u043c\u0435\u0442:","Body:":"\u0422\u0435\u043b\u043e:","Title:":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a:","Sound:":"\u0417\u0432\u0443\u043a:","Priority:":"\u041f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442:","magic":"\u043c\u0430\u0433\u0438\u044f","quiet":"\u0442\u0438\u0445\u0438\u0439","normal":"\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439","high-priority":"\u0432\u044b\u0441\u043e\u043a\u0438\u0439-\u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442","acknowledgment":"\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435","Phone:":"\u0422\u0435\u043b\u0435\u0444\u043e\u043d:","(optional)":"(\u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439)","Vibration:":"\u0412\u0438\u0431\u0440\u0430\u0446\u0438\u044f:","lowest priority":"\u0441\u0430\u043c\u044b\u0439 \u043d\u0438\u0437\u043a\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442","lower priority":"\u0431\u043e\u043b\u0435\u0435 \u043d\u0438\u0437\u043a\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442","normal priority":"\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442","high priority":"\u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442","highest priority":"\u0432\u044b\u0441\u0448\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442","default":"\u0434\u0435\u0444\u043e\u043b\u0442","All":"\u0412\u0441\u0435","Write your own code":"\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u043a\u043e\u0434","User function":"\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","This is advances option. You can write your own code here and it will be executed on trigger":"\u042d\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 \u0438 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0443","greater than":"\u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c","offset":"\u0441\u0434\u0432\u0438\u0433","Function":"\u0424\u0443\u043d\u043a\u0446\u0438\u044f","greater or equal to":"\u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e","less or equal to":"\u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e","less than":"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c","not equal to":"\u043d\u0435 \u0440\u0430\u0432\u043d\u043e","[equal]":"[\u0440\u0430\u0432\u043d\u043e]","[greater or equal]":"[\u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e]","[greater]":"[\u0431\u043e\u043b\u044c\u0448\u0435]","[less or equal]":"[\u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e]","[less]":"[\u043c\u0435\u043d\u044c\u0448\u0435]","[not equal]":"[\u043d\u0435 \u0440\u0430\u0432\u043d\u043e]","[includes]":"[\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442]","[hysteresis]":"[\u0433\u0438\u0441\u0442\u0435\u0440\u0435\u0437\u0438\u0441]","greater or equal":"\u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e","less or equal":"\u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e","includes":"\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442",".":".","()":"()","Mo":"\u041f\u043d","Tu":"\u0412\u0442","We":"\u0421\u0440","Th":"\u0427\u0442","Fr":"\u041f\u0442","Sa":"\u0421\u0431","Su":"\u0412\u0441","Control or update some state with delay":"\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u043a\u043e\u0435-\u043b\u0438\u0431\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439","Delay":"\u0417\u0430\u0434\u0435\u0440\u0436\u043a\u0430","ms":"\u043c\u0441","Set with delay":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439","clear running":"\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0443\u0436\u0435 \u0431\u0435\u0433\u0443\u0449\u0438\u0435","toggle value":"\u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435","Any month":"\u0412 \u043b\u044e\u0431\u043e\u0439 \u043c\u0435\u0441\u044f\u0446","Any":"\u041b\u044e\u0431\u0430\u044f","with date":"\u0441 \u0434\u0430\u0442\u043e\u0439","Date":"\u0414\u0430\u0442\u0430","Month":"\u041c\u0435\u0441\u044f\u0446","Januar":"\u042f\u043d\u0432\u0430\u0440\u044c","Februar":"\u0424\u0435\u0432\u0440\u0430\u043b\u044c","March ":"\u041c\u0430\u0440\u0442 ","Condition":"\u0423\u0441\u043b\u043e\u0432\u0438\u0435","Limit":"\u041f\u0440\u0435\u0434\u0435\u043b","The script will be stopped and must be activated manually after debugging. Continue?":"C\u043a\u0440\u0438\u043f\u0442 \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u043e\u0441\u043b\u0435 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c?","Yes":"\u0414\u0430","Debug instance":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043e\u0442\u043b\u0430\u0434\u043a\u0438","Resume execution":"\u0412\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435","Go to next line":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0435","Step into function":"\u0428\u0430\u0433 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435","Step out from function":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 \u0444\u0443\u043d\u043a\u0446\u0438\u0438","Stop on exception":"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438","Console":"\u041f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430","Stack":"Stack","Pause execution":"\u041f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435","Simulate":"\u0421\u0438\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c","Trigger with value":"\u0422\u0440\u0438\u0433\u0433\u0435\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c","Value":"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435","Write":"\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435","Ack":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435","Start":"\u041d\u0430\u0447\u0438\u043d\u0430\u0442\u044c","Filter":"\u0424\u0438\u043b\u044c\u0442\u0440","Instances":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u044b","Triggered":"\u0421\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442","Function: executed":"\u0424\u0443\u043d\u043a\u0446\u0438\u044f: \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e","Operate two states":"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0434 \u0434\u0432\u0443\u043c\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f\u043c\u0438","store in":"\u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432","ID1":"ID1","ID2":"ID2","Operations with two states":"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441 \u0434\u0432\u0443\u043c\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f\u043c\u0438","debug_label":"\u041e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c","debug_help":"\u042d\u0442\u043e \u043e\u0441\u043e\u0431\u044b\u0439 \u0440\u0435\u0436\u0438\u043c, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f. \u041d\u043e \u0432 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u0430\u0436\u0434\u043e\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u043c\u043e\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438.","verbose_label":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b","verbose_help":"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u044b\u0432\u043e\u0434 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0432 \u0436\u0443\u0440\u043d\u0430\u043b \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434.","easy":"\u043b\u0435\u0433\u043a\u0438\u0439","for programmers":"\u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432","for professionals":"\u0434\u043b\u044f \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432","Duplicate name":"\u041f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0435\u0435\u0441\u044f \u0438\u043c\u044f","Empty name is not allowed":"\u041f\u0443\u0441\u0442\u043e\u0435 \u0438\u043c\u044f \u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f","Time":"\u0412\u0440\u0435\u043c\u044f","Server time":"\u0412\u0440\u0435\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430","Local time":"\u041c\u0435\u0441\u0442\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f","Description":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435","nextSunrise":"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u043e\u0441\u0445\u043e\u0434","nextSunset":"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0437\u0430\u043a\u0430\u0442","Astronomical events today":"\u0410\u0441\u0442\u0440\u043e\u043d\u043e\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0441\u0435\u0433\u043e\u0434\u043d\u044f","Compares current time with astronomical event":"\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0441 \u0430\u0441\u0442\u0440\u043e\u043d\u043e\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0435\u043c","Show astronomical events":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0430\u0441\u0442\u0440\u043e\u043d\u043e\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f","Astronomical":"A\u0441\u0442\u0440\u043e\u043d\u043e\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439","Enter your question":"\u0412\u0432\u0435\u0434\u0438 \u0441\u0432\u043e\u044e \u043f\u0440\u043e\u0441\u044c\u0431\u0443","Press Ctrl+Enter to get the answer":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 Ctrl+Enter, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0442\u0432\u0435\u0442","Ask":"\u0421\u043f\u0440\u043e\u0441\u0438\u0442\u044c","Result":"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442","Use generated code":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434","No Chat GPT Key found":"\u041a\u043b\u044e\u0447 GPT \u0434\u043b\u044f \u0447\u0430\u0442\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d","You have to enter OpenAI API key in the configuration of javascript adapter.":"\u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u0432\u0435\u0441\u0442\u0438 \u043a\u043b\u044e\u0447 OpenAI API \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430 javascript.","Open configuration":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"}')},93882:e=>{e.exports=JSON.parse('{"debug_label":"\u0412\u0456\u0434\u043b\u0430\u0433\u043e\u0434\u0436\u0443\u0432\u0430\u0442\u0438","debug_help":"\u0426\u0435 \u043e\u0441\u043e\u0431\u043b\u0438\u0432\u0438\u0439 \u0440\u0435\u0436\u0438\u043c, \u0432 \u044f\u043a\u043e\u043c\u0443 \u0441\u0442\u0430\u043d\u0443 \u0442\u0430 \u043e\u0431\'\u0454\u043a\u0442\u0438 \u043d\u0435 \u0437\u043c\u0456\u043d\u044e\u0432\u0430\u0442\u0438\u043c\u0443\u0442\u044c\u0441\u044f. \u0410\u043b\u0435 \u0432 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0456 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u0438\u043c\u0435\u0442\u044c\u0441\u044f \u043b\u0438\u0448\u0435 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f \u043f\u0440\u043e \u043a\u043e\u0436\u043d\u0443 \u0437\u0430\u043f\u043b\u0430\u043d\u043e\u0432\u0430\u043d\u0443 \u0437\u043c\u0456\u043d\u0443.","verbose_label":"\u0414\u043e\u043a\u043b\u0430\u0434\u043d\u0456 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0443","verbose_help":"\u0414\u043e\u0434\u0430\u0454 \u0432\u0438\u0445\u0456\u0434\u043d\u0456 \u0434\u0430\u043d\u0456 \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u0434\u043e \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0434\u043b\u044f \u0431\u0430\u0433\u0430\u0442\u044c\u043e\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434","()":"()","(optional)":"(\u043d\u0435\u043e\u0431\u043e\u0432\'\u044f\u0437\u043a\u043e\u0432\u043e)","-":"-",".":".","Ack":"\u0412\u0438\u0437\u043d\u0430\u043d\u043e","Actions":"\u0414\u0456\u0457","Actual time of day":"\u0424\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0439 \u0447\u0430\u0441 \u0434\u043e\u0431\u0438","Add":"\u0434\u043e\u0434\u0430\u0442\u0438","Add new script":"\u0414\u043e\u0434\u0430\u0442\u0438 \u043d\u043e\u0432\u0438\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439","All":"\u0432\u0441\u0435","All files will be accepted":"\u0423\u0441\u0456 \u0444\u0430\u0439\u043b\u0438 \u0431\u0443\u0434\u0443\u0442\u044c \u043f\u0440\u0438\u0439\u043d\u044f\u0442\u0456","Any":"\u0411\u0443\u0434\u044c-\u044f\u043a\u0438\u0439","Any month":"\u0411\u0443\u0434\u044c-\u044f\u043a\u0438\u0439 \u043c\u0456\u0441\u044f\u0446\u044c","April":"\u043a\u0432\u0456\u0442\u0435\u043d\u044c","Are you sure?":"\u0422\u0438 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u0438\u0439?","August":"\u0441\u0435\u0440\u043f\u0435\u043d\u044c","Blockly description":"\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0440\u0430\u0432\u0438\u043b \u0437\u0430 \u0433\u0440\u0430\u0444\u0456\u0447\u043d\u0438\u043c\u0438 \u0431\u043b\u043e\u043a\u0430\u043c\u0438","Body:":"\u0422\u0456\u043b\u043e:","Cancel":"\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438","Cannot delete non empty item!":"\u041d\u0435\u043c\u043e\u0436\u043b\u0438\u0432\u043e \u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u043d\u0435\u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439 \u0435\u043b\u0435\u043c\u0435\u043d\u0442!","Change layout":"\u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u043c\u0430\u043a\u0435\u0442","Change theme (actual \\"%s\\")":"\u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u0442\u0435\u043c\u0443 (\u0442\u0435\u043f\u0435\u0440 - \\"%s\\")","Check blocks":"\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0431\u043b\u043e\u043a\u0438","Check is not active, because javascript adapter is disabled":"\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043d\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u0430, \u043e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 Javascript \u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e","Clear search input":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043f\u043e\u0448\u0443\u043a\u043e\u0432\u0438\u0439 \u0437\u0430\u043f\u0438\u0442","Click on this icon":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u0446\u0435\u0439 \u0437\u043d\u0430\u0447\u043e\u043a","Close":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","Close all but current":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438 \u0432\u0441\u0456, \u043a\u0440\u0456\u043c \u043f\u043e\u0442\u043e\u0447\u043d\u0438\u0445","Collapse all":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438 \u0432\u0441\u0456","Compares current time with the user specific time":"\u041f\u043e\u0440\u0456\u0432\u043d\u044e\u0454 \u043f\u043e\u0442\u043e\u0447\u043d\u0438\u0439 \u0447\u0430\u0441 \u0456\u0437 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0438\u043c \u0447\u0430\u0441\u043e\u043c \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Compares the state value with user defined value":"\u041f\u043e\u0440\u0456\u0432\u043d\u044e\u0454 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0441\u0442\u0430\u043d\u0443 \u0437 \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u043c \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c","Condition":"\u0425\u0432\u043e\u0440\u043e\u0431\u0430","Conditions":"\u0423\u043c\u043e\u0432\u0438","Configuration not saved.":"\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f \u043d\u0435 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0430.","Console":"\u041a\u043e\u043d\u0441\u043e\u043b\u044c","Control or update some state":"\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044e\u0439\u0442\u0435 \u0430\u0431\u043e \u043e\u043d\u043e\u0432\u043b\u044e\u0439\u0442\u0435 \u043f\u0435\u0432\u043d\u0438\u0439 \u0441\u0442\u0430\u043d","Control or update some state with delay":"\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044e\u0439\u0442\u0435 \u0430\u0431\u043e \u043e\u043d\u043e\u0432\u043b\u044e\u0439\u0442\u0435 \u0434\u0435\u044f\u043a\u0438\u0439 \u0441\u0442\u0430\u043d \u0456\u0437 \u0437\u0430\u0442\u0440\u0438\u043c\u043a\u043e\u044e","Convert blockly to javascript for ever.":"\u041d\u0430\u0437\u0430\u0432\u0436\u0434\u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0443\u0439\u0442\u0435 Blockly \u0443 Javascript.","Copied":"\u0421\u043a\u043e\u043f\u0456\u0439\u043e\u0432\u0430\u043d\u043e","Copy script":"\u041a\u043e\u043f\u0456\u044e\u0432\u0430\u0442\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439","Copy to clipboard":"\u041a\u043e\u043f\u0456\u044e\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0456\u043d\u0443","Download as file":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b","Create new":"\u0421\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043d\u043e\u0432\u0438\u0439","Create new folder":"\u0421\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043d\u043e\u0432\u0443 \u043f\u0430\u043f\u043a\u0443","Create new script":"\u0421\u0442\u0432\u043e\u0440\u0456\u0442\u044c \u043d\u043e\u0432\u0438\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439","Create or edit CRON or time wizard":"\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0430\u0431\u043e \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u043d\u043d\u044f CRON \u0430\u0431\u043e \u043c\u0430\u0439\u0441\u0442\u0440\u0430 \u0447\u0430\u0441\u0443","Dark Theme":"\u0422\u0435\u043c\u043d\u0430 \u0442\u0435\u043c\u0430","Dark style":"\u0422\u0435\u043c\u043d\u0438\u0439 \u0441\u0442\u0438\u043b\u044c","Date":"\u0414\u0430\u0442\u0430","Debug instance":"\u0415\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f","Debug options":"\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f","December":"\u0413\u0440\u0443\u0434\u0435\u043d\u044c","Default":"\u0417\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c","Define cron...":"\u0412\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 cron...","Define schedule...":"\u0412\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u0440\u043e\u0437\u043a\u043b\u0430\u0434...","Delay":"\u0417\u0430\u0442\u0440\u0438\u043c\u043a\u0430","Delete":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438","Delete %s":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 %s...","Delete folder":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u043f\u0430\u043f\u043a\u0443","Delete script":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439","Deselect all":"\u0417\u043d\u044f\u0442\u0438 \u0432\u0438\u0431\u0456\u0440 \u0456\u0437 \u0443\u0441\u0456\u0445","Discard changes for %s":"\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u0437\u043c\u0456\u043d\u0438 \u0434\u043b\u044f %s","Done":"\u0413\u043e\u0442\u043e\u0432\u043e","Drop some files here or click...":"\u041f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u043a\u0456\u043b\u044c\u043a\u0430 \u0444\u0430\u0439\u043b\u0456\u0432 \u0441\u044e\u0434\u0438 \u0430\u0431\u043e \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c...","Edit script or just double click":"\u0412\u0456\u0434\u0440\u0435\u0434\u0430\u0433\u0443\u0439\u0442\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439 \u0430\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0432\u0456\u0447\u0456 \u043a\u043b\u0430\u0446\u043d\u0456\u0442\u044c","End search mode":"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0440\u0435\u0436\u0438\u043c \u043f\u043e\u0448\u0443\u043a\u0443","Error":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430","Error was found":"\u0412\u0438\u044f\u0432\u043b\u0435\u043d\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443","Every day":"\u041a\u043e\u0436\u0435\u043d \u0434\u0435\u043d\u044c","Exec":"\u0412\u0438\u043a\u043e\u043d\u0430\u0432\u0447\u0430 \u043e\u0431\u043e\u043b\u043e\u043d\u043a\u0430","Executes some shell command":"\u0412\u0438\u043a\u043e\u043d\u0443\u0454 \u043f\u0435\u0432\u043d\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043e\u0431\u043e\u043b\u043e\u043d\u043a\u0438","Existing scripts will be overwritten.":"\u0406\u0441\u043d\u0443\u044e\u0447\u0456 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457 \u0431\u0443\u0434\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043e.","Expand all":"\u0420\u043e\u0437\u0433\u043e\u0440\u043d\u0443\u0442\u0438 \u0432\u0441\u0435","Expert mode":"\u0415\u043a\u0441\u043f\u0435\u0440\u0442\u043d\u0438\u0439 \u0440\u0435\u0436\u0438\u043c","Explanation":"\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u043d\u044f","Export":"\u0415\u043a\u0441\u043f\u043e\u0440\u0442","Export all scripts":"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0456 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457","Export blocks":"\u0415\u043a\u0441\u043f\u043e\u0440\u0442 \u0431\u043b\u043e\u043a\u0456\u0432","Export selected blocks":"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043d\u0456 \u0431\u043b\u043e\u043a\u0438","Februar":"\u041b\u044e\u0442\u0438\u0439","February":"\u041b\u044e\u0442\u0438\u0439","Filter":"\u0444\u0456\u043b\u044c\u0442\u0440","Folder":"\u041f\u0430\u043f\u043a\u0430","Fr":"\u041e","Friday":"\u041f\'\u044f\u0442\u043d\u0438\u0446\u044f","Function":"\u0444\u0443\u043d\u043a\u0446\u0456\u044f","Function editor":"\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0444\u0443\u043d\u043a\u0446\u0456\u0439","Function: executed":"\u0424\u0443\u043d\u043a\u0446\u0456\u044f: \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043e","Go to next line":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0434\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430","HTTP Call":"\u0412\u0438\u043a\u043b\u0438\u043a HTTP","Hide logs":"\u041f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0438","ID":"ID","ID1":"ID1","ID2":"ID2","Import":"\u0406\u043c\u043f\u043e\u0440\u0442","Import blocks":"\u0406\u043c\u043f\u043e\u0440\u0442 \u0431\u043b\u043e\u043a\u0456\u0432","Import error":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u0456\u043c\u043f\u043e\u0440\u0442\u0443","Import scripts":"\u0406\u043c\u043f\u043e\u0440\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u0456\u0432","Insert object ID":"\u0412\u0441\u0442\u0430\u0432\u0442\u0435 ID \u043e\u0431\'\u0454\u043a\u0442\u0430","Instance":"\u0415\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440","Instance is disabled":"\u041f\u0440\u0438\u043c\u0456\u0440\u043d\u0438\u043a \u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e","Instance:":"\u0435\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440:","Instances":"\u041f\u0440\u0438\u043c\u0456\u0440\u043d\u0438\u043a\u0438","Instructions":"\u0406\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u0457","Invalid CRON":"\u041d\u0435\u0434\u0456\u0439\u0441\u043d\u0438\u0439 CRON","It will not be possible to revert this operation.":"\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u0446\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u044e \u0431\u0443\u0434\u0435 \u043d\u0435\u043c\u043e\u0436\u043b\u0438\u0432\u043e.","JS description":"\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0440\u0430\u0432\u0438\u043b \u0448\u043b\u044f\u0445\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044f Javascript","Januar":"\u0441\u0456\u0447\u0435\u043d\u044c","January":"\u0441\u0456\u0447\u043d\u044f","July":"\u043b\u0438\u043f\u0435\u043d\u044c","June":"\u0447\u0435\u0440\u0432\u0435\u043d\u044c","Just check":"\u041f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435","Language:":"\u041c\u043e\u0432\u0443:","Learn More":"\u0412\u0438\u0432\u0447\u0430\u0439\u0442\u0435 \u0431\u0456\u043b\u044c\u0448\u0435","Light style":"\u041b\u0435\u0433\u043a\u0438\u0439 \u0441\u0442\u0438\u043b\u044c","Limit":"\u041b\u0456\u043c\u0456\u0442","Locate file":"\u0417\u043d\u0430\u0439\u0442\u0438 \u0444\u0430\u0439\u043b","Log outputs":"\u0412\u0438\u0445\u043e\u0434\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0443","Log text":"\u0422\u0435\u043a\u0441\u0442 \u0436\u0443\u0440\u043d\u0430\u043b\u0443","Make a HTTP get request":"\u0417\u0440\u043e\u0431\u0456\u0442\u044c HTTP-\u0437\u0430\u043f\u0438\u0442 \u043d\u0430 \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f","Make a pause between actions":"\u041c\u0456\u0436 \u0434\u0456\u044f\u043c\u0438 \u0440\u043e\u0431\u0456\u0442\u044c \u043f\u0430\u0443\u0437\u0443","March":"\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c","March ":"\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c","May":"\u041c\u043e\u0436\u0435","Menu":"\u041c\u0435\u043d\u044e","Message":"\u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f","Mo":"\u043f\u043d","Monday":"\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a","Month":"\u043c\u0456\u0441\u044f\u0446\u044c","Name":"\u0406\u043c\'\u044f","No active host found":"\u0410\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0445\u043e\u0441\u0442 \u043d\u0435 \u0437\u043d\u0430\u0439\u0434\u0435\u043d\u043e","Nothing found":"\u041d\u0456\u0447\u043e\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0439\u0434\u0435\u043d\u043e","November":"\u041b\u0438\u0441\u0442\u043e\u043f\u0430\u0434","OK":"\u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0443","October":"\u0436\u043e\u0432\u0442\u0435\u043d\u044c","Ok":"\u0412 \u043f\u043e\u0440\u044f\u0434\u043a\u0443","On condition change":"\u0417\u0430 \u0443\u043c\u043e\u0432\u0438 \u0437\u043c\u0456\u043d\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0443","On script save or adapter start":"\u041f\u0456\u0434 \u0447\u0430\u0441 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043d\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u044e \u0430\u0431\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430","On weekdays":"\u0412 \u0431\u0443\u0434\u043d\u0456 \u0434\u043d\u0456","Operate two states":"\u041a\u0435\u0440\u0443\u0439\u0442\u0435 \u0434\u0432\u043e\u043c\u0430 \u0441\u0442\u0430\u043d\u0430\u043c\u0438","Operations with two states":"\u041e\u043f\u0435\u0440\u0430\u0446\u0456\u0457 \u0437 \u0434\u0432\u043e\u043c\u0430 \u0441\u0442\u0430\u043d\u0430\u043c\u0438","Pause":"\u041f\u0430\u0443\u0437\u0430","Pause execution":"\u041f\u0440\u0438\u0437\u0443\u043f\u0438\u043d\u0438\u0442\u0438 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f","Pause script":"\u041f\u0440\u0438\u0437\u0443\u043f\u0438\u043d\u0438\u0442\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439","Phone:":"\u0442\u0435\u043b\u0435\u0444\u043e\u043d:","Please select object ID...":"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 \u043e\u0431\'\u0454\u043a\u0442\u0430...","Print some text in log":"\u041d\u0430\u0434\u0440\u0443\u043a\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u043a\u0441\u0442 \u0443 \u0436\u0443\u0440\u043d\u0430\u043b\u0456","Priority:":"\u041f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442:","Pushover":"Pushover","Pushsafer":"Pushsafer","Read only ID selected: %s":"\u0412\u0438\u0431\u0440\u0430\u043d\u043e \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 \u043b\u0438\u0448\u0435 \u0434\u043b\u044f \u0447\u0438\u0442\u0430\u043d\u043d\u044f: %s","Rename":"\u041f\u0435\u0440\u0435\u0439\u043c\u0435\u043d\u0443\u0432\u0430\u0442\u0438","Reorder scripts in folders":"\u0417\u043c\u0456\u043d\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457\u0432 \u0443 \u043f\u0430\u043f\u043a\u0430\u0445","Repeat":"\u041f\u043e\u0432\u0442\u043e\u0440\u0456\u0442\u044c","Restart":"\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c","Resume execution":"\u0412\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f","Root folder":"\u041a\u043e\u0440\u0435\u043d\u0435\u0432\u0430 \u043f\u0430\u043f\u043a\u0430","Rules description":"\u0421\u0442\u0432\u043e\u0440\u044e\u0439\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0437 \u0431\u043b\u043e\u043a\u0430\u043c\u0438 IF, THEN, ELSE","Run script":"\u0417\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439","Sa":"Sa","Saturday":"\u0421\u0443\u0431\u043e\u0442\u0430","Save":"\u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438","Save all":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0432\u0441\u0435","Say It":"\u0421\u043a\u0430\u0436\u0438 \u0446\u0435","Say some text via sayit adapter":"\u0421\u043a\u0430\u0436\u0456\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u0447\u0435\u0440\u0435\u0437 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 sayit","Schedule":"\u0440\u043e\u0437\u043a\u043b\u0430\u0434","Script":"\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439","Script %s was modified on disk":"\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439 %s \u0437\u043c\u0456\u043d\u0435\u043d\u043e \u043d\u0430 \u0434\u0438\u0441\u043a\u0443","Script is not running":"\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439 \u043d\u0435 \u043f\u0440\u0430\u0446\u044e\u0454","Search in scripts":"\u041f\u043e\u0448\u0443\u043a \u0443 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445","Search...":"\u043f\u043e\u0448\u0443\u043a...","Select all":"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435","Send email":"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u043b\u0438\u0441\u0442","Sends an email":"\u041d\u0430\u0434\u0441\u0438\u043b\u0430\u0454 \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0438\u0439 \u043b\u0438\u0441\u0442","Sends message via Pushsafer":"\u041d\u0430\u0434\u0441\u0438\u043b\u0430\u0454 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0447\u0435\u0440\u0435\u0437 Pushsafer","Sends message via pushover":"\u041d\u0430\u0434\u0441\u0438\u043b\u0430\u0454 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0447\u0435\u0440\u0435\u0437 pushover","Sends message via telegram":"\u041d\u0430\u0434\u0441\u0438\u043b\u0430\u0454 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c","Sends message via whatsapp-cmb":"\u041d\u0430\u0434\u0441\u0438\u043b\u0430\u0454 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0447\u0435\u0440\u0435\u0437 whatsapp-cmb","September":"\u0412\u0435\u0440\u0435\u0441\u0435\u043d\u044c","Set state action":"\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0434\u0456\u044e \u0441\u0442\u0430\u043d\u0443","Set with delay":"\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0456\u0437 \u0437\u0430\u0442\u0440\u0438\u043c\u043a\u043e\u044e","Shell command":"\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0431\u043e\u043b\u043e\u043d\u043a\u0438","Show javascript code":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u043a\u043e\u0434 Javascript","Show logs":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0438","Show only paused scripts":"\u041f\u043e\u043a\u0430\u0437\u0443\u0432\u0430\u0442\u0438 \u043b\u0438\u0448\u0435 \u043f\u0440\u0438\u0437\u0443\u043f\u0438\u043d\u0435\u043d\u0456 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457","Show only running scripts":"\u041f\u043e\u043a\u0430\u0437\u0443\u0432\u0430\u0442\u0438 \u043b\u0438\u0448\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u0456 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457","Show only scripts with problems":"\u041f\u043e\u043a\u0430\u0437\u0443\u0432\u0430\u0442\u0438 \u043b\u0438\u0448\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457 \u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438","Simulate":"\u0421\u0438\u043c\u0443\u043b\u044e\u0432\u0430\u0442\u0438","Some files will be rejected":"\u0414\u0435\u044f\u043a\u0456 \u0444\u0430\u0439\u043b\u0438 \u0431\u0443\u0434\u0435 \u0432\u0456\u0434\u0445\u0438\u043b\u0435\u043d\u043e","Sound:":"\u0437\u0432\u0443\u043a:","Stack":"\u0421\u0442\u0435\u043a","Start":"\u0441\u0442\u0430\u0440\u0442","Start script":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439","State":"\u0414\u0435\u0440\u0436\u0430\u0432\u0430","State condition":"\u0421\u0442\u0430\u043d \u0441\u0442\u0430\u043d\u0443","Step into function":"\u041a\u0440\u043e\u043a \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457","Step out from function":"\u0412\u0438\u0439\u0442\u0438 \u0437 \u0444\u0443\u043d\u043a\u0446\u0456\u0457","Stop on exception":"\u0417\u0443\u043f\u0438\u043d\u043a\u0430 \u043d\u0430 \u0432\u0438\u043d\u044f\u0442\u043a\u0430\u0445","Su":"\u041d\u0434","Subject:":"\u0422\u0435\u043c\u0430:","Sunday":"\u043d\u0435\u0434\u0456\u043b\u044f","TS description":"\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0440\u0430\u0432\u0438\u043b \u0448\u043b\u044f\u0445\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044f Typescript","Telegram":"\u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0430","Text:":"\u0422\u0435\u043a\u0441\u0442:","Th":"\u0447\u0442","The script will be stopped and must be activated manually after debugging. Continue?":"\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439 \u0431\u0443\u0434\u0435 \u0437\u0443\u043f\u0438\u043d\u0435\u043d\u043e, \u0456 \u0439\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0430\u043a\u0442\u0438\u0432\u0443\u0432\u0430\u0442\u0438 \u0432\u0440\u0443\u0447\u043d\u0443 \u043f\u0456\u0441\u043b\u044f \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f. \u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438?","This is advances option. You can write your own code here and it will be executed on trigger":"\u0426\u0435 \u0430\u0432\u0430\u043d\u0441\u043e\u0432\u0438\u0439 \u0432\u0430\u0440\u0456\u0430\u043d\u0442. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u0438 \u0442\u0443\u0442 \u0441\u0432\u0456\u0439 \u0432\u043b\u0430\u0441\u043d\u0438\u0439 \u043a\u043e\u0434, \u0456 \u0432\u0456\u043d \u0431\u0443\u0434\u0435 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043e \u043d\u0430 \u0442\u0440\u0438\u0433\u0435\u0440\u0456","Thursday":"\u0447\u0435\u0442\u0432\u0435\u0440","Time condition":"\u0423\u043c\u043e\u0432\u0430 \u0447\u0430\u0441\u0443","Title:":"\u041d\u0430\u0437\u0432\u0430:","To:":"\u0434\u043e:","Trigger with value":"\u0422\u0440\u0438\u0433\u0435\u0440 \u0437\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c","Triggered":"\u0421\u043f\u0440\u0430\u0446\u044c\u043e\u0432\u0443\u0454","Triggers":"\u0422\u0440\u0438\u0433\u0435\u0440\u0438","Triggers the on script saving or the javascript instance restart":"\u0406\u043d\u0456\u0446\u0456\u044e\u0454 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043d\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u044e \u0430\u0431\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u0435\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 JavaScript","Triggers the rule on update or change of some state":"\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0454 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0440\u0438 \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0456 \u0430\u0431\u043e \u0437\u043c\u0456\u043d\u0456 \u044f\u043a\u043e\u0433\u043e\u0441\u044c \u0441\u0442\u0430\u043d\u0443","Triggers the rule periodically or on some specific time":"\u0421\u043f\u0440\u0430\u0446\u044c\u043e\u0432\u0443\u0454 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0435\u0440\u0456\u043e\u0434\u0438\u0447\u043d\u043e \u0430\u0431\u043e \u0432 \u043f\u0435\u0432\u043d\u0438\u0439 \u0447\u0430\u0441","Tu":"\u0432\u0442","Tuesday":"\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a","URL":"URL","Unknown error":"\u041d\u0435\u0432\u0456\u0434\u043e\u043c\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0430","Unknown error!":"\u041d\u0435\u0432\u0456\u0434\u043e\u043c\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0430!","User function":"\u0424\u0443\u043d\u043a\u0446\u0456\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","User:":"\u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447:","Value":"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f","Vibration:":"\u0412\u0456\u0431\u0440\u0430\u0446\u0456\u044f:","Volume":"\u041e\u0431\u0441\u044f\u0433","We":"\u043c\u0438","Wednesday":"\u0421\u0435\u0440\u0435\u0434\u0430","Whatsapp-cmb":"Whatsapp-cmb","Write":"\u041d\u0430\u043f\u0438\u0448\u0456\u0442\u044c","Write your own code":"\u041d\u0430\u043f\u0438\u0448\u0456\u0442\u044c \u0432\u043b\u0430\u0441\u043d\u0438\u0439 \u043a\u043e\u0434","Yes":"\u0422\u0430\u043a","Yet exists!":"\u0412\u0441\u0435 \u0436 \u0456\u0441\u043d\u0443\u0454!","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 %s \u0432 URL-\u0430\u0434\u0440\u0435\u0441\u0456, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043f\u043e\u0442\u043e\u0447\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0433\u0435\u0440\u0430, %id, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043e\u0431\u2019\u0454\u043a\u0442\u0430, %name, \u0449\u043e\u0431 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u043d\u0430\u0437\u0432\u0443 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440\u0430 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043e\u0431\u2019\u0454\u043a\u0442\u0430, \u0430\u0431\u043e %old, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u0430\u0440\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0433\u0435\u0440\u0430","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 %s \u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0456, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043f\u043e\u0442\u043e\u0447\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0433\u0435\u0440\u0430, %id, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043e\u0431\u2019\u0454\u043a\u0442\u0430, %name, \u0449\u043e\u0431 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u043d\u0430\u0437\u0432\u0443 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440\u0430 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043e\u0431\u2019\u0454\u043a\u0442\u0430, \u0430\u0431\u043e %old, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u0430\u0440\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0433\u0435\u0440\u0430","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 %s \u0443 \u0442\u0435\u043a\u0441\u0442\u0456 \u0434\u043b\u044f \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0433\u0435\u0440\u0430, %id \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440\u0430 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043e\u0431\u2019\u0454\u043a\u0442\u0430, %name \u0434\u043b\u044f \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0456\u043c\u0435\u043d\u0456 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440\u0430 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043e\u0431\u2019\u0454\u043a\u0442\u0430 \u0430\u0431\u043e %old \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0433\u0435\u0440\u0430","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 %s \u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u0456, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043f\u043e\u0442\u043e\u0447\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0433\u0435\u0440\u0430, %id, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043e\u0431\u2019\u0454\u043a\u0442\u0430, %name, \u0449\u043e\u0431 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u043d\u0430\u0437\u0432\u0443 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440\u0430 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043e\u0431\u2019\u0454\u043a\u0442\u0430, \u0430\u0431\u043e %old, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u0430\u0440\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0433\u0435\u0440\u0430","[equal]":"[\u0440\u0456\u0432\u043d\u0438\u0439]","[greater or equal]":"[\u0431\u0456\u043b\u044c\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454]","[greater]":"[\u0431\u0456\u043b\u044c\u0448\u0438\u0439]","[hysteresis]":"[\u0433\u0456\u0441\u0442\u0435\u0440\u0435\u0437\u0438\u0441]","[includes]":"[\u0432\u043a\u043b\u044e\u0447\u0430\u0454]","[less or equal]":"[\u043c\u0435\u043d\u0448\u0435 \u0430\u0431\u043e \u0440\u0456\u0432\u043d\u043e]","[less]":"[\u043c\u0435\u043d\u0448\u0435]","[not equal]":"[\u043d\u0435 \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454]","acknowledgment":"\u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043d\u043d\u044f","all":"\u0432\u0441\u0435","and":"\u0456","astro":"\u0410\u0441\u0442\u0440\u043e","at":"\u0432","clear running":"\u0447\u0456\u0442\u043a\u0438\u0439 \u0431\u0456\u0433","control":"\u041a\u041e\u041d\u0422\u0420\u041e\u041b\u042c","copy":"\u043a\u043e\u043f\u0456\u044f","cron":"CRON","dawn":"\u0421\u0432\u0456\u0442\u0430\u043d\u043e\u043a","default":"\u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c","dusk":"\u0421\u0443\u0442\u0456\u043d\u043a\u0438","else":"\u0456\u043d\u0448\u0435","equal to":"\u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454","every":"\u043a\u043e\u0436\u0435\u043d","every hour at 0 minutes":"\u0449\u043e\u0433\u043e\u0434\u0438\u043d\u0438 \u043e 0 \u0445\u0432\u0438\u043b\u0438\u043d","false":"\u043f\u043e\u043c\u0438\u043b\u043a\u043e\u0432\u0438\u0439","file reading has failed: %s":"\u043d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u0438 \u0444\u0430\u0439\u043b: %s","file reading was aborted":"\u0447\u0438\u0442\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0443 \u0431\u0443\u043b\u043e \u043f\u0435\u0440\u0435\u0440\u0432\u0430\u043d\u043e","filter_func":"\u0444\u0443\u043d\u043a\u0446\u0456\u044f","filter_id":"ID","filter_name":"\u0406\u043c\'\u044f","filter_role":"\u0420\u043e\u043b\u044c","filter_room":"\u041a\u0456\u043c\u043d\u0430\u0442\u0430","for edit or create script":"\u0434\u043b\u044f \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u043d\u043d\u044f \u0430\u0431\u043e \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u044e","goldenHour":"\u0417\u043e\u043b\u043e\u0442\u0430 \u0433\u043e\u0434\u0438\u043d\u0430","goldenHourEnd":"\u041a\u0456\u043d\u0435\u0446\u044c \u0437\u043e\u043b\u043e\u0442\u043e\u0457 \u0433\u043e\u0434\u0438\u043d\u0438","greater or equal":"\u0431\u0456\u043b\u044c\u0448\u0438\u0439 \u0430\u0431\u043e \u0440\u0456\u0432\u043d\u0438\u0439","greater or equal to":"\u0431\u0456\u043b\u044c\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454","greater than":"\u0431\u0456\u043b\u044c\u0448\u0435, \u043d\u0456\u0436, \u0432\u0435\u043b\u0438\u0447\u043d\u0456\u0448\u0435 \u043d\u0456\u0436, \u043a\u0440\u0443\u0442\u0456\u0448\u0438\u0439 \u0437\u0430","help_just_check":"\u041a\u043e\u0434 \u0431\u0443\u0434\u0435 \u0432\u0438\u043a\u043e\u043d\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u043b\u0438\u0448\u0435 \u0449\u043e\u0440\u0430\u0437\u0443, \u043a\u043e\u043b\u0438 \u0443\u043c\u043e\u0432\u0430 \u0432\u0438\u043a\u043e\u043d\u0443\u0454\u0442\u044c\u0441\u044f. \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u044f\u043a\u0449\u043e \u0441\u043f\u0440\u0430\u0446\u044c\u043e\u0432\u0443\u0454 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0438 \u0442\u0430 \u0443\u043c\u043e\u0432\u0430 \xab\u044f\u043a\u0449\u043e \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u043f\u0435\u0440\u0435\u0432\u0438\u0449\u0443\u0454 20\xb0C\xbb, \u0434\u0456\u0457 \xab\u0442\u043e\u0434\u0456\xbb \u0432\u0438\u043a\u043e\u043d\u0443\u0432\u0430\u0442\u0438\u043c\u0443\u0442\u044c\u0441\u044f \u0449\u043e\u0440\u0430\u0437\u0443, \u043a\u043e\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u0454 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443, \u0456 \u0432\u043e\u043d\u0430 \u043f\u0435\u0440\u0435\u0432\u0438\u0449\u0443\u0454 20\xb0C. \u041d\u0430 21\xb0C, \u043d\u0430 22\xb0C \u0456 \u0442\u0430\u043a \u0434\u0430\u043b\u0456.","help_on_change":"\u041a\u043e\u0434 \u0431\u0443\u0434\u0435 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043e \u043b\u0438\u0448\u0435 \u0443 \u0440\u0430\u0437\u0456 \u0437\u043c\u0456\u043d\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0443 \u0443\u043c\u043e\u0432\u0438. \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u044f\u043a\u0449\u043e \u0441\u043f\u0440\u0430\u0446\u044c\u043e\u0432\u0443\u0454 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0438 \u0442\u0430 \u0443\u043c\u043e\u0432\u0430 \xab\u044f\u043a\u0449\u043e \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u043f\u0435\u0440\u0435\u0432\u0438\u0449\u0443\u0454 20\xb0C\xbb, \u0434\u0456\u0457 \xab\u0442\u043e\u0434\u0456\xbb \u0431\u0443\u0434\u0443\u0442\u044c \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u0456 \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u043a\u043e\u043b\u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0431\u0443\u0434\u0435 \u0432\u0438\u0449\u0435 20. \u041d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0443 \u0434\u0456\u0457 \xab\u0442\u043e\u0434\u0456\xbb \u0431\u0443\u0434\u0435 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043e, \u043a\u043e\u043b\u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u043f\u0430\u0434\u0430\u0454 \u043d\u0438\u0436\u0447\u0435 20, \u0430 \u043f\u043e\u0442\u0456\u043c \u0437\u043d\u043e\u0432\u0443 \u043f\u0456\u0434\u043d\u0456\u043c\u0430\u0454\u0442\u044c\u0441\u044f \u0432\u0438\u0449\u0435 20.","high priority":"\u0432\u0438\u0441\u043e\u043a\u0438\u0439 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442","high-priority":"\u0432\u0438\u0441\u043e\u043a\u0438\u0439 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442","highest priority":"\u043d\u0430\u0439\u0432\u0438\u0449\u0438\u0439 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442","hours":"\u0433\u043e\u0434\u0438\u043d\u0438","includes":"\u0432\u043a\u043b\u044e\u0447\u0430\u0454 \u0432 \u0441\u0435\u0431\u0435","interval":"\u0456\u043d\u0442\u0435\u0440\u0432\u0430\u043b","just check":"\u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435","less or equal":"\u043c\u0435\u043d\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454","less or equal to":"\u043c\u0435\u043d\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454","less than":"\u043c\u0435\u043d\u0448\u0435 \u043d\u0456\u0436","lower priority":"\u043d\u0438\u0436\u0447\u0438\u0439 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442","lowest priority":"\u043d\u0430\u0439\u043d\u0438\u0436\u0447\u0438\u0439 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442","magic":"\u043c\u0430\u0433\u0456\u044f","milliseconds":"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434","minutes":"\u0445\u0432\u0438\u043b\u0438\u043d","ms":"\u0420\u0421","nadir":"\u041d\u0430\u0434\u0456\u0440","nauticalDawn":"\u041c\u043e\u0440\u0441\u044c\u043a\u0438\u0439 \u0441\u0432\u0456\u0442\u0430\u043d\u043e\u043a","nauticalDusk":"\u041c\u043e\u0440\u0441\u044c\u043a\u0456 \u0441\u0443\u0442\u0456\u043d\u043a\u0438","night":"\u043d\u0456\u0447","nightEnd":"\u041a\u0456\u043d\u0435\u0446\u044c \u043d\u043e\u0447\u0456","no blocks found":"\u0411\u043b\u043e\u043a\u0456\u0432 \u043d\u0435 \u0437\u043d\u0430\u0439\u0434\u0435\u043d\u043e","no group":"\u041d\u0415\u041c\u0410\u0404 \u0413\u0420\u0423\u041f\u0418","normal":"\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e","normal priority":"\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0438\u0439 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442","not equal to":"\u043d\u0435 \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454","not properly connected":"\u0426\u0435\u0439 \u0431\u043b\u043e\u043a \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0437\u2019\u0454\u0434\u043d\u0430\u043d\u0438\u0439 \u0437 \u0456\u043d\u0448\u0438\u043c\u0438 \u0431\u043b\u043e\u043a\u0430\u043c\u0438.","offset":"\u0437\u0441\u0443\u0432","on change":"\u043d\u0430 \u0437\u043c\u0456\u043d\u0443","on condition change":"\u043f\u0440\u043e \u0437\u043c\u0456\u043d\u0443 \u0443\u043c\u043e\u0432","on update":"\u043d\u0430 \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f","one":"\u043e\u0434\u0438\u043d","or":"\u0430\u0431\u043e","quiet":"\u0442\u0438\u0445\u043e","reset search":"\u0441\u043a\u0438\u043d\u0443\u0442\u0438 \u043f\u043e\u0448\u0443\u043a","search":"\u043f\u043e\u0448\u0443\u043a","seconds":"\u0441\u0435\u043a\u0443\u043d\u0434","solarNoon":"\u0421\u043e\u043d\u044f\u0447\u043d\u0438\u0439 \u043f\u043e\u043b\u0443\u0434\u0435\u043d\u044c","store in":"\u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438 \u0432","sunrise":"\u0441\u0445\u0456\u0434 \u0441\u043e\u043d\u0446\u044f","sunriseEnd":"\u041a\u0456\u043d\u0435\u0446\u044c \u0441\u0445\u043e\u0434\u0443 \u0441\u043e\u043d\u0446\u044f","sunset":"\u0417\u0430\u0445\u0456\u0434 \u0441\u043e\u043d\u0446\u044f","sunsetStart":"\u041f\u043e\u0447\u0430\u0442\u043e\u043a \u0437\u0430\u0445\u043e\u0434\u0443 \u0441\u043e\u043d\u0446\u044f","then":"\u043f\u043e\u0442\u0456\u043c","toggle value":"\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u043f\u0435\u0440\u0435\u043c\u0438\u043a\u0430\u043d\u043d\u044f","tooltip_ack":"\u0412\u0438\u0437\u043d\u0430\u0442\u0438","tooltip_from":"\u0412\u0456\u0434","tooltip_lc":"\u0412\u043e\u0441\u0442\u0430\u043d\u043d\u0454 \u0437\u043c\u0456\u043d\u0435\u043d\u043e","tooltip_quality":"\u044f\u043a\u0456\u0441\u0442\u044c","tooltip_ts":"\u041c\u0456\u0442\u043a\u0430 \u0447\u0430\u0441\u0443","tooltip_user":"\u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447","tooltip_value":"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f","true":"\u043f\u0440\u0430\u0432\u0434\u0430","two":"\u0434\u0432\u0430","undefined":"\u043d\u0435\u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439","update":"\u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f","use seconds":"\u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u0441\u0435\u043a\u0443\u043d\u0434\u0438","when":"\u043a\u043e\u043b\u0438","with":"\u0437","with date":"\u0437 \u0434\u0430\u0442\u043e\u044e","with offset":"\u0437\u0456 \u0437\u043c\u0456\u0449\u0435\u043d\u043d\u044f\u043c","wizard":"\u043c\u0430\u0439\u0441\u0442\u0435\u0440","easy":"\u043b\u0435\u0433\u043a\u043e","for programmers":"\u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0456\u0441\u0442\u0456\u0432","for professionals":"\u0434\u043b\u044f \u043f\u0440\u043e\u0444\u0435\u0441\u0456\u043e\u043d\u0430\u043b\u0456\u0432","Duplicate name":"\u041f\u043e\u0432\u0442\u043e\u0440\u044e\u0432\u0430\u043d\u0435 \u0456\u043c\'\u044f","Empty name is not allowed":"\u041f\u043e\u0440\u043e\u0436\u043d\u0454 \u0456\u043c\'\u044f \u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0454\u0442\u044c\u0441\u044f","Time":"\u0447\u0430\u0441","Server time":"\u0427\u0430\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430","Local time":"\u041c\u0456\u0441\u0446\u0435\u0432\u0438\u0439 \u0447\u0430\u0441","Description":"\u043e\u043f\u0438\u0441","nextSunrise":"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u0441\u0445\u0456\u0434 \u0441\u043e\u043d\u0446\u044f","nextSunset":"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u0437\u0430\u0445\u0456\u0434 \u0441\u043e\u043d\u0446\u044f","Astronomical events today":"\u0410\u0441\u0442\u0440\u043e\u043d\u043e\u043c\u0456\u0447\u043d\u0456 \u043f\u043e\u0434\u0456\u0457 \u0441\u044c\u043e\u0433\u043e\u0434\u043d\u0456","Compares current time with astronomical event":"\u041f\u043e\u0440\u0456\u0432\u043d\u044e\u0454 \u043f\u043e\u0442\u043e\u0447\u043d\u0438\u0439 \u0447\u0430\u0441 \u0437 \u0430\u0441\u0442\u0440\u043e\u043d\u043e\u043c\u0456\u0447\u043d\u043e\u044e \u043f\u043e\u0434\u0456\u0454\u044e","Show astronomical events":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0430\u0441\u0442\u0440\u043e\u043d\u043e\u043c\u0456\u0447\u043d\u0456 \u043f\u043e\u0434\u0456\u0457","Astronomical":"\u0410\u0441\u0442\u0440\u043e\u043d\u043e\u043c\u0456\u0447\u043d\u0438\u0439","Enter your question":"\u0412\u0432\u0435\u0434\u0438 \u0441\u0432\u043e\u0454 \u043f\u0440\u043e\u0445\u0430\u043d\u043d\u044f","Press Ctrl+Enter to get the answer":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c Ctrl+Enter, \u0449\u043e\u0431 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u044c","Ask":"\u0417\u0430\u043f\u0438\u0442\u0443\u0439\u0442\u0435","Result":"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442","Use generated code":"\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u0437\u0433\u0435\u043d\u0435\u0440\u043e\u0432\u0430\u043d\u0438\u0439 \u043a\u043e\u0434","No Chat GPT Key found":"\u041a\u043b\u044e\u0447 GPT \u0434\u043b\u044f \u0447\u0430\u0442\u0443 \u043d\u0435 \u0437\u043d\u0430\u0439\u0434\u0435\u043d\u043e","You have to enter OpenAI API key in the configuration of javascript adapter.":"\u0412\u0438 \u043f\u043e\u0432\u0438\u043d\u043d\u0456 \u0432\u0432\u0435\u0441\u0442\u0438 \u043a\u043b\u044e\u0447 OpenAI API \u0443 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430 JavaScript.","Open configuration":"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0430 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f"}')},80222:e=>{e.exports=JSON.parse('{"-":"-","Add":"\u6dfb\u52a0","Add new script":"\u6dfb\u52a0\u65b0\u811a\u672c","All files will be accepted":"\u6240\u6709\u6587\u4ef6\u90fd\u5c06\u88ab\u63a5\u53d7","April":"\u56db\u6708","Are you sure?":"\u4f60\u786e\u5b9a\u5417\uff1f","August":"\u516b\u6708","Blockly description":"\u6309\u56fe\u5f62\u5757\u521b\u5efa\u89c4\u5219","Cancel":"\u53d6\u6d88","Cannot delete non empty item!":"\u65e0\u6cd5\u5220\u9664\u975e\u7a7a\u9879\u76ee\uff01","Change layout":"\u53d8\u66f4\u7248\u9762","Check blocks":"\u68c0\u67e5\u5757","Check is not active, because javascript adapter is disabled":"\u68c0\u67e5\u672a\u6fc0\u6d3b\uff0c\u56e0\u4e3a\u7981\u7528\u4e86Javascript\u9002\u914d\u5668","Clear search input":"\u6e05\u9664\u641c\u7d22\u8f93\u5165","Click on this icon":"\u5355\u51fb\u6b64\u56fe\u6807","Close":"\u5173\u95ed","Close all but current":"\u5173\u95ed\u6240\u6709\uff08\u5f53\u524d\u9664\u5916\uff09","Collapse all":"\u5168\u90e8\u6536\u7f29","Configuration not saved.":"\u914d\u7f6e\u672a\u4fdd\u5b58\u3002","Convert blockly to javascript for ever.":"\u7acb\u5373\u5c06blockly\u8f6c\u6362\u4e3aJavascript\u3002","Copy script":"\u590d\u5236\u811a\u672c","Copy to clipboard":"\u590d\u5236\u5230\u526a\u8d34\u677f","Download as file":"\u6863\u6848","Create new":"\u521b\u5efa\u65b0\u7684","Create new folder":"\u521b\u5efa\u65b0\u6587\u4ef6\u5939","Create new script":"\u521b\u5efa\u65b0\u811a\u672c","Create or edit CRON or time wizard":"\u521b\u5efa\u6216\u7f16\u8f91\u5468\u671f\u4efb\u52a1\u6216\u65f6\u95f4\u5411\u5bfc","Dark Theme":"\u6df1\u8272\u8c03\u4e3b\u9898","Dark style":"\u6df1\u8272\u8c03\u98ce\u683c","Debug options":"\u8c03\u8bd5\u9009\u9879","December":"\u5341\u4e8c\u6708","Define cron...":"\u5b9a\u4e49\u5468\u671f\u4efb\u52a1...","Define schedule...":"\u5b9a\u4e49\u8c03\u5ea6\u5668......","Delete":"\u5220\u9664","Delete %s":"\u5220\u9664%s...","Delete folder":"\u5220\u9664\u6587\u4ef6\u5939","Delete script":"\u5220\u9664\u811a\u672c","Deselect all":"\u53d6\u6d88\u5168\u9009","Discard changes for %s":"\u653e\u5f03%s\u7684\u66f4\u6539","Done":"\u5b8c\u6210","Drop some files here or click...":"\u5c06\u6587\u4ef6\u62d6\u62fd\u5230\u8fd9\u91cc\u6216\u5355\u51fb......","Edit script or just double click":"\u53cc\u51fb\u7f16\u8f91\u811a\u672c","End search mode":"\u7ed3\u675f\u641c\u7d22\u6a21\u5f0f","Error":"\u9519\u8bef","Error was found":"\u53d1\u73b0\u9519\u8bef","Existing scripts will be overwritten.":"\u73b0\u6709\u811a\u672c\u5c06\u88ab\u8986\u76d6\u3002","Expand all":"\u5c55\u5f00\u5168\u90e8","Expert mode":"\u4e13\u5bb6\u6a21\u5f0f","Export":"\u5bfc\u51fa","Export all scripts":"\u5bfc\u51fa\u6240\u6709\u811a\u672c","Export blocks":"\u5bfc\u51fa\u5757","Export selected blocks":"\u5bfc\u51fa\u9009\u5b9a\u7684\u5757","February":"\u4e8c\u6708","Folder":"\u6587\u4ef6\u5939","Friday":"\u661f\u671f\u4e94","Function editor":"\u529f\u80fd\u7f16\u8f91\u5668","ID":"ID","Import":"\u5bfc\u5165","Import blocks":"\u5bfc\u5165\u5757","Import error":"\u5bfc\u5165\u9519\u8bef","Import scripts":"\u5bfc\u5165\u811a\u672c","Insert object ID":"\u63d2\u5165\u5bf9\u8c61ID","Instance":"\u5b9e\u4f8b","Instance is disabled":"\u5b9e\u4f8b\u5df2\u7981\u7528","Invalid CRON":"\u65e0\u6548\u7684\u5468\u671f\u4efb\u52a1","It will not be possible to revert this operation.":"\u65e0\u6cd5\u6062\u590d\u6b64\u64cd\u4f5c\u3002","JS description":"\u901a\u8fc7\u7f16\u5199Javascript\u6765\u521b\u5efa\u89c4\u5219","January":"\u4e00\u6708","July":"\u4e03\u6708","June":"\u516d\u6708","Learn More":"\u4e86\u89e3\u66f4\u591a","Light style":"\u6d45\u8272\u8c03\u98ce\u683c","Locate file":"\u5b9a\u4f4d\u6587\u4ef6","Log outputs":"\u8bb0\u5f55\u8f93\u51fa","March":"\u4e09\u6708","May":"\u4e94\u6708","Menu":"\u83dc\u5355","Message":"\u4fe1\u606f","Monday":"\u661f\u671f\u4e00","Name":"\u540d\u79f0","No active host found":"\u627e\u4e0d\u5230\u6d3b\u52a8\u4e3b\u673a","November":"\u5341\u4e00\u6708","October":"\u5341\u6708","Ok":"\u786e\u5b9a","On weekdays":"\u5728\u5de5\u4f5c\u65e5","Pause script":"\u6682\u505c\u811a\u672c","Please select object ID...":"\u8bf7\u9009\u62e9\u5bf9\u8c61ID...","Rename":"\u91cd\u547d\u540d","Reorder scripts in folders":"\u91cd\u65b0\u6392\u5e8f\u6587\u4ef6\u5939\u4e2d\u7684\u811a\u672c","Repeat":"\u91cd\u590d","Restart":"\u91cd\u542f","Root folder":"\u6839\u6587\u4ef6\u5939","Run script":"\u8fd0\u884c\u811a\u672c","Saturday":"\u661f\u671f\u516d","Save":"\u4fdd\u5b58","Script":"\u811a\u672c","Script %s was modified on disk":"\u811a\u672c%s\u5df2\u5728\u78c1\u76d8\u4e0a\u4fee\u6539","Script is not running":"\u811a\u672c\u6ca1\u6709\u8fd0\u884c","Search in scripts":"\u5728\u811a\u672c\u4e2d\u641c\u7d22","Search...":"\u641c\u7d22...","Select all":"\u5168\u9009","September":"\u4e5d\u6708","Show javascript code":"\u663e\u793aJavascript\u4ee3\u7801","Show only paused scripts":"\u4ec5\u663e\u793a\u6682\u505c\u7684\u811a\u672c","Show only running scripts":"\u4ec5\u663e\u793a\u6b63\u5728\u8fd0\u884c\u7684\u811a\u672c","Show only scripts with problems":"\u4ec5\u663e\u793a\u6709\u95ee\u9898\u7684\u811a\u672c","Some files will be rejected":"\u6709\u4e9b\u6587\u4ef6\u5c06\u88ab\u62d2\u7edd","Sunday":"\u661f\u671f\u65e5","TS description":"\u901a\u8fc7\u7f16\u5199Typescript\u6765\u521b\u5efa\u89c4\u5219","Thursday":"\u661f\u671f\u56db","Tuesday":"\u661f\u671f\u4e8c","Unknown error":"\u672a\u77e5\u9519\u8bef","Unknown error!":"\u672a\u77e5\u9519\u8bef\uff01","Wednesday":"\u661f\u671f\u4e09","Yet exists!":"\u4e0d\u5b58\u5728\uff01","copy":"\u590d\u5236","file reading has failed: %s":"\u6587\u4ef6\u8bfb\u53d6\u5931\u8d25\uff1a%s","file reading was aborted":"\u6587\u4ef6\u8bfb\u53d6\u4e2d\u6b62","filter_func":"\u529f\u80fd","filter_id":"ID","filter_name":"\u540d\u5b57","filter_role":"\u89d2\u8272","filter_room":"\u623f\u95f4","for edit or create script":"\u7528\u4e8e\u7f16\u8f91\u6216\u521b\u5efa\u811a\u672c","no blocks found":"\u627e\u4e0d\u5230\u5757","no group":"\u6ca1\u6709\u7ec4","not properly connected":"\u6b64\u5757\u672a\u6b63\u786e\u8fde\u63a5\u5230\u5176\u4ed6\u5757\u3002","tooltip_ack":"\u786e\u8ba4","tooltip_from":"\u4ece","tooltip_lc":"\u4e0a\u4e00\u6b21\u6539\u53d8","tooltip_quality":"\u8d28\u91cf","tooltip_ts":"\u65f6\u95f4\u6233","tooltip_user":"\u7528\u6237","tooltip_value":"\u503c","use seconds":"\u7cbe\u786e\u5230\u79d2","Save all":"\u4fdd\u5b58\u5168\u90e8","Change theme (actual \\"%s\\")":"\u66f4\u6539\u4e3b\u9898\uff08\u73b0\u5728\u4e3a\u201c%s\u201d\uff09","Hide logs":"\u9690\u85cf\u65e5\u5fd7","Show logs":"\u663e\u793a\u8bb0\u5f55","Rules description":"\u4f7f\u7528IF\uff0cTHEN\uff0cELSE\u5757\u521b\u5efa\u89c4\u5219","help_on_change":"\u4ec5\u5f53\u6761\u4ef6\u7ed3\u679c\u66f4\u6539\u65f6\uff0c\u4ee3\u7801\u624d\u4f1a\u6267\u884c\u3002\u4f8b\u5982\u3002\u5982\u679c\u89e6\u53d1\u6e29\u5ea6\u4f20\u611f\u5668\u503c\u4e14\u6761\u4ef6\u4e3a\u201c\u5982\u679c\u6e29\u5ea6\u5927\u4e8e20\xb0C\u201d\uff0c\u5219\u6e29\u5ea6\u8d85\u8fc720\u65f6\u5c06\u6267\u884c\u4e00\u6b21\u201c\u5219\u201d\u52a8\u4f5c\uff0c\u4e0b\u4e00\u6b21\uff0c\u5f53\u6e29\u5ea6\u8d85\u8fc720\u65f6\u5c06\u6267\u884c\u201c\u5219\u201d\u52a8\u4f5c\u4f4e\u4e8e20\u5931\u8d25\uff0c\u7136\u540e\u518d\u6b21\u8d85\u8fc720\u3002","help_just_check":"\u4ec5\u5728\u6761\u4ef6\u4e3a\u771f\u65f6\u624d\u6267\u884c\u4ee3\u7801\u3002\u4f8b\u5982\u3002\u5982\u679c\u89e6\u53d1\u6e29\u5ea6\u4f20\u611f\u5668\u503c\u5e76\u4e14\u6761\u4ef6\u4e3a\u201c\u5982\u679c\u6e29\u5ea6\u5927\u4e8e20\xb0C\u201d\uff0c\u5219\u6bcf\u6b21\u4f20\u611f\u5668\u53d1\u9001\u6e29\u5ea6\u4e14\u6e29\u5ea6\u8d85\u8fc720\xb0C\u65f6\uff0c\u5c06\u6267\u884c\u201c\u7136\u540e\u201d\u52a8\u4f5c\u3002 21\xb0C\uff0c22\xb0C\u7b49\u3002","On condition change":"\u6761\u4ef6\u53d8\u5316\u65f6","Just check":"\u53ea\u662f\u68c0\u67e5","when":"\u4ec0\u4e48\u65f6\u5019","and":"\u548c","then":"\u7136\u540e","or":"\u6216","else":"\u522b\u7684","Nothing found":"\u6ca1\u6709\u53d1\u73b0","reset search":"\u91cd\u7f6e\u641c\u7d22","Read only ID selected: %s":"\u9009\u62e9\u7684\u53ea\u8bfbID\uff1a%s","OK":"\u597d\u7684","Triggers":"\u6273\u673a","cron":"\u514b\u6717","wizard":"\u5deb\u5e08","interval":"\u95f4\u9694","at":"\u5728","astro":"\u5929\u6587","on condition change":"\u5728\u6761\u4ef6\u53d8\u5316\u65f6","just check":"\u53ea\u662f\u68c0\u67e5","Explanation":"\u89e3\u91ca","seconds":"\u79d2","minutes":"\u5206\u949f","hours":"\u5c0f\u65f6","Every day":"\u6bcf\u5929","milliseconds":"\u6beb\u79d2","Copied":"\u590d\u5236\u7684","nadir":"\u6700\u4f4e\u70b9","nightEnd":"\u591c\u665a\u7ed3\u675f","nauticalDawn":"\u822a\u6d77\u9ece\u660e","dawn":"\u9ece\u660e","sunrise":"\u65e5\u51fa","sunriseEnd":"\u65e5\u51fa\u7ed3\u675f","goldenHourEnd":"\u9ec4\u91d1\u65f6\u6bb5\u7ed3\u675f","solarNoon":"\u661f\u671f\u65e5\u6b63\u5348","goldenHour":"\u9ec4\u91d1\u65f6\u6bb5","sunsetStart":"\u65e5\u843d\u5f00\u59cb","sunset":"\u65e5\u843d","dusk":"\u9ec4\u660f","nauticalDusk":"\u822a\u6d77\u9ec4\u660f","night":"\u591c\u665a","one":"\u4e00","two":"\u4e8c","true":"\u771f\u7684","false":"\u9519\u8bef\u7684","search":"\u641c\u7d22","Actions":"\u52a8\u4f5c","Conditions":"\u60c5\u51b5","Schedule":"\u65e5\u7a0b","Start script":"\u542f\u52a8\u811a\u672c","State":"\u72b6\u6001","State condition":"\u72b6\u6001\u6761\u4ef6","Time condition":"\u65f6\u95f4\u6761\u4ef6","Set state action":"\u8bbe\u5b9a\u72b6\u6001\u52a8\u4f5c","Exec":"\u6267\u884c\u529b","HTTP Call":"HTTP\u547c\u53eb","Log text":"\u8bb0\u5f55\u6587\u5b57","Pause":"\u6682\u505c","on change":"\u5728\u53d8\u5316","control":"\u63a7\u5236","Say It":"Say It","every hour at 0 minutes":"\u6bcf\u5c0f\u65f60\u5206\u949f","On script save or adapter start":"\u5728\u811a\u672c\u4fdd\u5b58\u6216\u9002\u914d\u5668\u542f\u52a8\u65f6","equal to":"\u7b49\u4e8e","Actual time of day":"\u4e00\u5929\u4e2d\u7684\u5b9e\u9645\u65f6\u95f4","with":"\u548c","Shell command":"Shell\u547d\u4ee4","URL":"\u7f51\u5740","Instance:":"\u5b9e\u4f8b\uff1a","Language:":"\u8bed\u8a00\uff1a","Volume":"\u4f53\u79ef","Text:":"\u6587\u672c\uff1a","undefined":"\u4e0d\u660e\u786e\u7684","Default":"\u9ed8\u8ba4","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"\u60a8\u53ef\u4ee5\u5728\u6587\u672c\u4e2d\u4f7f\u7528 %s \u663e\u793a\u5f53\u524d\u89e6\u53d1\u503c\uff0c%id \u4f7f\u7528\u89e6\u53d1\u5bf9\u8c61 ID\uff0c%name \u663e\u793a\u89e6\u53d1\u5bf9\u8c61 ID \u540d\u79f0\u6216 %old \u4f7f\u7528\u65e7\u89e6\u53d1\u503c","Instructions":"\u6307\u793a","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"\u60a8\u53ef\u4ee5\u5728 URL \u4e2d\u4f7f\u7528 %s \u4ee5\u4f7f\u7528\u5f53\u524d\u89e6\u53d1\u503c\uff0c%id \u4ee5\u4f7f\u7528\u89e6\u53d1\u5bf9\u8c61 ID\uff0c%name \u4ee5\u663e\u793a\u89e6\u53d1\u5bf9\u8c61 ID \u540d\u79f0\u6216 %old \u4ee5\u4f7f\u7528\u65e7\u89e6\u53d1\u503c","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"\u60a8\u53ef\u4ee5\u5728\u503c\u4e2d\u4f7f\u7528 %s \u4ee5\u4f7f\u7528\u5f53\u524d\u89e6\u53d1\u5668\u503c\uff0c%id \u4f7f\u7528\u89e6\u53d1\u5bf9\u8c61 ID\uff0c%name \u663e\u793a\u89e6\u53d1\u5bf9\u8c61 ID \u540d\u79f0\u6216 %old \u4f7f\u7528\u65e7\u89e6\u53d1\u5668\u503c","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u4e2d\u4f7f\u7528 %s \u4ee5\u4f7f\u7528\u5f53\u524d\u89e6\u53d1\u503c\uff0c%id \u4f7f\u7528\u89e6\u53d1\u5bf9\u8c61 ID\uff0c%name \u663e\u793a\u89e6\u53d1\u5bf9\u8c61 ID \u540d\u79f0\u6216 %old \u4f7f\u7528\u65e7\u89e6\u53d1\u503c","every":"\u6bcf\u4e00\u4e2a","with offset":"\u5e26\u504f\u79fb","on update":"\u66f4\u65b0\u65f6","update":"\u66f4\u65b0","Triggers the rule periodically or on some specific time":"\u5b9a\u671f\u6216\u5728\u7279\u5b9a\u65f6\u95f4\u89e6\u53d1\u89c4\u5219","Triggers the on script saving or the javascript instance restart":"\u89e6\u53d1\u811a\u672c\u4fdd\u5b58\u6216javascript\u5b9e\u4f8b\u91cd\u542f","Triggers the rule on update or change of some state":"\u5728\u67d0\u4e9b\u72b6\u6001\u7684\u66f4\u65b0\u6216\u66f4\u6539\u65f6\u89e6\u53d1\u89c4\u5219","Compares the state value with user defined value":"\u6bd4\u8f83\u72b6\u6001\u503c\u548c\u7528\u6237\u5b9a\u4e49\u7684\u503c","Compares current time with the user specific time":"\u5c06\u5f53\u524d\u65f6\u95f4\u4e0e\u7528\u6237\u7279\u5b9a\u65f6\u95f4\u8fdb\u884c\u6bd4\u8f83","Control or update some state":"\u63a7\u5236\u6216\u66f4\u65b0\u67d0\u4e9b\u72b6\u6001","Executes some shell command":"\u6267\u884c\u4e00\u4e9bshell\u547d\u4ee4","Make a HTTP get request":"\u53d1\u51faHTTP\u83b7\u53d6\u8bf7\u6c42","Print some text in log":"\u5728\u65e5\u5fd7\u4e2d\u6253\u5370\u4e00\u4e9b\u6587\u672c","Make a pause between actions":"\u5728\u52a8\u4f5c\u4e4b\u95f4\u6682\u505c","Say some text via sayit adapter":"\u901a\u8fc7sayit\u9002\u914d\u5668\u8bf4\u4e00\u4e9b\u6587\u5b57","Telegram":"\u7535\u62a5","User:":"\u7528\u6237\uff1a","all":"\u5168\u90e8","Sends message via telegram":"\u901a\u8fc7\u7535\u62a5\u53d1\u9001\u6d88\u606f","Sends an email":"\u53d1\u9001\u90ae\u4ef6","Send email":"\u53d1\u9001\u7535\u5b50\u90ae\u4ef6","Sends message via pushover":"\u901a\u8fc7\u63a8\u64ad\u53d1\u9001\u6d88\u606f","Pushover":"\u4fef\u5367\u6491","Sends message via whatsapp-cmb":"\u901a\u8fc7whatsapp-cmb\u53d1\u9001\u6d88\u606f","Whatsapp-cmb":"Whatsapp\u7684cmb","Sends message via Pushsafer":"\u901a\u8fc7Pushsafer\u53d1\u9001\u6d88\u606f","Pushsafer":"\u63a8\u5b89\u5168","To:":"\u5230\uff1a","Subject:":"\u5b66\u79d1\uff1a","Body:":"\u8eab\u4f53\uff1a","Title:":"\u6807\u9898\uff1a","Sound:":"\u58f0\u97f3\uff1a","Priority:":"\u4f18\u5148\uff1a","magic":"\u9b54\u6cd5","quiet":"\u5b89\u9759\u7684","normal":"\u666e\u901a\u7684","high-priority":"\u9ad8\u4f18\u5148\u7ea7","acknowledgment":"\u81f4\u8c22","Phone:":"\u7535\u8bdd\uff1a","(optional)":"\uff08\u9009\u4fee\u7684\uff09","Vibration:":"\u632f\u52a8\uff1a","lowest priority":"\u6700\u4f4e\u4f18\u5148\u7ea7","lower priority":"\u4f4e\u4f18\u5148\u7ea7","normal priority":"\u6b63\u5e38\u4f18\u5148","high priority":"\u9ad8\u4f18\u5148\u7ea7","highest priority":"\u6700\u9ad8\u4f18\u5148\u7ea7","default":"\u9ed8\u8ba4","All":"\u6240\u6709","Write your own code":"\u7f16\u5199\u81ea\u5df1\u7684\u4ee3\u7801","User function":"\u7528\u6237\u529f\u80fd","This is advances option. You can write your own code here and it will be executed on trigger":"\u8fd9\u662f\u9ad8\u7ea7\u9009\u9879\u3002\u60a8\u53ef\u4ee5\u5728\u6b64\u5904\u7f16\u5199\u81ea\u5df1\u7684\u4ee3\u7801\uff0c\u5b83\u5c06\u5728\u89e6\u53d1\u5668\u4e0a\u6267\u884c","greater than":"\u6bd4...\u66f4\u68d2","offset":"\u62b5\u6d88","Function":"\u529f\u80fd","greater or equal to":"\u5927\u4e8e\u6216\u7b49\u4e8e","less or equal to":"\u5c0f\u4e8e\u6216\u7b49\u4e8e","less than":"\u5c11\u4e8e","not equal to":"\u4e0d\u7b49\u4e8e","[equal]":"[\u5e73\u7b49\u7684]","[greater or equal]":"[\u5927\u4e8e\u7b49\u4e8e]","[greater]":"[\u66f4\u5927]","[less or equal]":"[\u5c0f\u4e8e\u6216\u7b49\u4e8e]","[less]":"[\u8f83\u5c11\u7684]","[not equal]":"[\u4e0d\u76f8\u7b49]","[includes]":"[\u5305\u62ec]","[hysteresis]":"[\u78c1\u6ede]","greater or equal":"\u5927\u4e8e\u6216\u7b49\u4e8e","less or equal":"\u5c0f\u4e8e\u6216\u7b49\u4e8e","includes":"\u5305\u62ec",".":".","()":"()","Mo":"\u83ab","Tu":"\u6d82","We":"3","Th":"4","Fr":"r","Sa":"\u8428","Su":"\u82cf","Control or update some state with delay":"\u5ef6\u8fdf\u63a7\u5236\u6216\u66f4\u65b0\u67d0\u4e9b\u72b6\u6001","Delay":"\u5ef6\u8fdf","ms":"\u6beb\u79d2","Set with delay":"\u5ef6\u8fdf\u8bbe\u7f6e","clear running":"\u7545\u901a\u65e0\u963b","toggle value":"\u5207\u6362\u503c","Any month":"\u4efb\u4f55\u6708\u4efd","Any":"\u4efb\u4f55","with date":"\u6709\u65e5\u671f","Date":"\u65e5\u671f","Month":"\u6708","Januar":"\u4e9a\u52aa\u5c14","Februar":"\u4e8c\u6708","March ":"\u884c\u8fdb","Condition":"\u5065\u5eb7\uff09\u72b6\u51b5","Limit":"\u9650\u5236","The script will be stopped and must be activated manually after debugging. Continue?":"\u8be5\u811a\u672c\u5c06\u505c\u6b62\uff0c\u5e76\u4e14\u5fc5\u987b\u5728\u8c03\u8bd5\u540e\u624b\u52a8\u6fc0\u6d3b\u3002\u7ee7\u7eed\uff1f","Yes":"\u662f\u7684","Debug instance":"\u8c03\u8bd5\u5b9e\u4f8b","Resume execution":"\u6062\u590d\u6267\u884c","Go to next line":"\u8f6c\u5230\u4e0b\u4e00\u884c","Step into function":"\u8fdb\u5165\u529f\u80fd","Step out from function":"\u9000\u51fa\u51fd\u6570","Stop on exception":"\u5f02\u5e38\u505c\u6b62","Console":"\u5b89\u6170","Stack":"\u5806","Pause execution":"\u6682\u505c\u6267\u884c","Simulate":"\u6a21\u62df","Trigger with value":"\u7528\u503c\u89e6\u53d1","Value":"\u4ef7\u503c","Write":"\u5199","Ack":"\u786e\u8ba4","Start":"\u5f00\u59cb","Filter":"\u7b5b\u9009","Instances":"\u5b9e\u4f8b","Triggered":"\u89e6\u53d1","Function: executed":"\u529f\u80fd\uff1a\u6267\u884c","Operate two states":"\u64cd\u4f5c\u4e24\u79cd\u72b6\u6001","store in":"\u5b58\u653e\u5728","ID1":"ID1","ID2":"ID2","Operations with two states":"\u5177\u6709\u4e24\u79cd\u72b6\u6001\u7684\u64cd\u4f5c","debug_label":"\u8c03\u8bd5","debug_help":"\u8fd9\u662f\u4e00\u79cd\u7279\u6b8a\u6a21\u5f0f\uff0c\u5176\u4e2d\u72b6\u6001\u548c\u5bf9\u8c61\u4e0d\u4f1a\u6539\u53d8\u3002\u4f46\u53ea\u6709\u6709\u5173\u6bcf\u4e2a\u8ba1\u5212\u66f4\u6539\u7684\u4fe1\u606f\u624d\u4f1a\u663e\u793a\u5728\u534f\u8bae\u4e2d\u3002","verbose_label":"\u8be6\u7ec6\u65e5\u5fd7\u8f93\u51fa","verbose_help":"\u5c06\u8c03\u8bd5\u8f93\u51fa\u6dfb\u52a0\u5230\u8bb8\u591a\u7cfb\u7edf\u547d\u4ee4\u7684\u65e5\u5fd7\u4e2d","easy":"\u7b80\u5355\u7684","for programmers":"\u5bf9\u4e8e\u7a0b\u5e8f\u5458","for professionals":"\u5bf9\u4e8e\u4e13\u4e1a\u4eba\u58eb","Duplicate name":"\u91cd\u540d","Empty name is not allowed":"\u4e0d\u5141\u8bb8\u4f7f\u7528\u7a7a\u540d\u79f0","Time":"\u65f6\u95f4","Server time":"\u670d\u52a1\u5668\u65f6\u95f4","Local time":"\u5f53\u5730\u65f6\u95f4","Description":"\u63cf\u8ff0","nextSunrise":"\u4e0b\u4e00\u4e2a\u65e5\u51fa","nextSunset":"\u4e0b\u4e00\u4e2a\u65e5\u843d","Astronomical events today":"\u4eca\u5929\u7684\u5929\u6587\u4e8b\u4ef6","Compares current time with astronomical event":"\u5c06\u5f53\u524d\u65f6\u95f4\u4e0e\u5929\u6587\u4e8b\u4ef6\u8fdb\u884c\u6bd4\u8f83","Show astronomical events":"\u663e\u793a\u5929\u6587\u4e8b\u4ef6","Astronomical":"\u5929\u6587","Enter your question":"\u8f93\u5165\u60a8\u7684\u8981\u6c42","Press Ctrl+Enter to get the answer":"\u6309 Ctrl+Enter \u5373\u53ef\u5f97\u5230\u7b54\u6848","Ask":"\u95ee","Result":"\u7ed3\u679c","Use generated code":"\u4f7f\u7528\u751f\u6210\u7684\u4ee3\u7801","No Chat GPT Key found":"\u627e\u4e0d\u5230\u804a\u5929 GPT \u5bc6\u94a5","You have to enter OpenAI API key in the configuration of javascript adapter.":"\u60a8\u5fc5\u987b\u5728 javascript \u9002\u914d\u5668\u7684\u914d\u7f6e\u4e2d\u8f93\u5165 OpenAI API \u5bc6\u94a5\u3002","Open configuration":"\u5f00\u653e\u914d\u7f6e"}')}}]); +//# sourceMappingURL=184.8afcb7e1.chunk.js.map \ No newline at end of file diff --git a/admin/static/js/184.8afcb7e1.chunk.js.map b/admin/static/js/184.8afcb7e1.chunk.js.map new file mode 100644 index 000000000..2545cc279 --- /dev/null +++ b/admin/static/js/184.8afcb7e1.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/184.8afcb7e1.chunk.js","mappings":"47hBAmBA,MAAMA,WAAqBC,IAAAA,UACvBC,WAAAA,CAAYC,GACRC,MAAMD,GAAO,KAgCjBE,aAAe,KACXC,KAAKH,MAAMI,SAAS,EACtB,KAEFC,SAAW,KACPF,KAAKH,MAAMM,SAASH,KAAKI,MAAOJ,KAAKK,MAAMC,GAAIN,KAAKK,MAAME,KAAMP,KAAKK,MAAMG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ogs/Delete.jsx","Dialogs/AddNewScript.jsx","Dialogs/New.jsx","Dialogs/Error.jsx","Dialogs/AdapterDebug.jsx","SideMenu.jsx","Log.jsx","Components/ScriptEditorVanilaMonaco.jsx","Dialogs/Export.jsx","Dialogs/Import.jsx","Components/BlocklyEditor.jsx","Dialogs/ScriptEditor.jsx","webpack://js/./src/Components/RulesEditor/style.module.scss?d9e3","webpack://js/./src/Components/RulesEditor/components/CardMenu/style.module.scss?24d8","Components/RulesEditor/helpers/MaterialDynamicIcon.jsx","Components/RulesEditor/components/CardMenu/index.jsx","webpack://js/./src/Components/RulesEditor/components/CurrentItem/style.module.scss?3318","Components/RulesEditor/helpers/deepCopy.jsx","Components/RulesEditor/helpers/filterElement.jsx","webpack://js/./src/Components/RulesEditor/components/GenericBlock/style.module.scss?9124","webpack://js/./src/Components/RulesEditor/components/CustomButton/style.module.scss?0052","Components/RulesEditor/components/CustomButton/index.jsx","webpack://js/./src/Components/RulesEditor/components/CustomCheckbox/style.module.scss?0cc5","Components/RulesEditor/components/CustomCheckbox/index.jsx","webpack://js/./src/Components/RulesEditor/components/CustomInput/style.module.scss?7193","Components/RulesEditor/components/CustomInput/index.jsx","Components/RulesEditor/components/CustomInstance/index.jsx","webpack://js/./src/Components/RulesEditor/components/CustomModal/style.module.scss?7408","Components/RulesEditor/components/CustomModal/index.jsx","webpack://js/./src/Components/RulesEditor/components/CustomSelect/style.module.scss?40f6","Components/RulesEditor/components/CustomSelect/index.jsx","webpack://js/./src/Components/RulesEditor/components/CustomSlider/style.module.scss?f41a","Components/RulesEditor/components/CustomSlider/index.jsx","webpack://js/./src/Components/RulesEditor/components/CustomSwitch/style.module.scss?0c1c","Components/RulesEditor/components/CustomSwitch/index.jsx","webpack://js/./src/Components/RulesEditor/components/CustomTime/style.module.scss?880f","Components/RulesEditor/components/CustomTime/index.jsx","webpack://js/./src/Components/RulesEditor/components/CustomDate/style.module.scss?8a42","Components/RulesEditor/components/CustomDate/index.jsx","Components/RulesEditor/helpers/utils.jsx","Components/RulesEditor/helpers/Tour.jsx","Components/RulesEditor/components/GenericBlock/index.jsx","Components/RulesEditor/components/Blocks/ActionSayText.jsx","Components/RulesEditor/components/Blocks/ActionSendEmail.jsx","Components/RulesEditor/components/Blocks/ActionTelegram.jsx","Components/RulesEditor/components/Blocks/ActionPushover.jsx","Components/RulesEditor/components/Blocks/ActionWhatsappcmb.jsx","Components/RulesEditor/components/Blocks/ActionPushsafer.jsx","Components/RulesEditor/helpers/Compile.jsx","Components/RulesEditor/components/Blocks/TriggerScriptSave.jsx","Components/RulesEditor/components/Blocks/TriggerSchedule.jsx","Components/RulesEditor/components/Blocks/TriggerState.jsx","Components/RulesEditor/components/Blocks/ConditionState.jsx","Components/RulesEditor/components/Blocks/ConditionTime.jsx","Components/RulesEditor/components/Blocks/ConditionAstronomical.jsx","Components/RulesEditor/components/Blocks/ActionSetState.jsx","Components/RulesEditor/components/Blocks/ActionExec.jsx","Components/RulesEditor/components/Blocks/ActionHTTPCall.jsx","Components/RulesEditor/components/Blocks/ActionPrintText.jsx","Components/RulesEditor/components/Blocks/ActionPause.jsx","Components/RulesEditor/components/Blocks/ActionFunction.jsx","Components/RulesEditor/components/Blocks/ActionSetStateDelayed.jsx","Components/RulesEditor/components/Blocks/ActionOperateStates.jsx","Components/RulesEditor/components/StandardBlocks/index.jsx","Components/RulesEditor/components/ContextWrapper/index.jsx","Components/RulesEditor/components/CurrentItem/index.jsx","Components/RulesEditor/helpers/findElement.jsx","Components/RulesEditor/components/CustomDragLayer/index.jsx","webpack://js/./src/Components/RulesEditor/components/ContentBlockItems/style.module.scss?385e","Components/RulesEditor/hooks/useStateLocal.jsx","Components/RulesEditor/helpers/cardSort.jsx","webpack://js/./src/Components/RulesEditor/components/DragWrapper/style.module.scss?b1b7","Components/RulesEditor/components/DragWrapper/index.jsx","Components/RulesEditor/components/ContentBlockItems/DialogHelp.jsx","Components/RulesEditor/components/ContentBlockItems/DialogCondition.jsx","Components/RulesEditor/components/ContentBlockItems/index.jsx","webpack://js/./src/Components/RulesEditor/components/Menu/style.module.scss?9893","Components/RulesEditor/components/CardMenu/CustomDragItem.jsx","webpack://js/./src/Components/RulesEditor/components/HamburgerMenu/hamburgerMenu.module.scss?ab25","Components/RulesEditor/components/HamburgerMenu/index.jsx","Components/RulesEditor/components/Menu/index.jsx","Components/RulesEditor/index.jsx","Components/Debugger/Editor.jsx","Components/Debugger/Console.jsx","Components/Debugger/Stack.jsx","Components/Debugger/index.jsx","OpenAi/OpenAiPrompt.jsx","OpenAi/OpenAiDialog.jsx","Editor.jsx","Dialogs/ImportFile.jsx","App.jsx","serviceWorker.jsx","bootstrap.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport Button from '@mui/material/Button';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogActions from '@mui/material/DialogActions';\nimport Dialog from '@mui/material/Dialog';\nimport TextField from '@mui/material/TextField';\nimport FormControl from '@mui/material/FormControl';\nimport Select from '@mui/material/Select';\nimport InputLabel from '@mui/material/InputLabel';\nimport MenuItem from '@mui/material/MenuItem';\n\nimport IconCancel from '@mui/icons-material/Cancel';\nimport IconOk from '@mui/icons-material/Check';\n\nimport { I18n } from '@iobroker/adapter-react-v5';\n\nclass DialogRename extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n name: props.name,\n id: props.id,\n instance: props.instance || 0\n };\n this.isShowInstance = !props.folder && props.instances && (props.instance || props.instances[0] || props.instances.length > 1);\n this.prefix = this.getPrefix(props.id);\n this.oldId = props.id;\n }\n\n getPrefix(id) {\n const parts = (id || '').split('.');\n parts.pop();\n return parts.join('.');\n }\n\n getId(name) {\n name = (name || '').replace(/[\\\\/\\][*,;'\"`<>?\\s]/g, '_');\n return this.prefix + '.' + name;\n }\n\n componentWillReceiveProps(nextProps) {\n if (nextProps.name !== this.props.name) {\n this.setState({name: nextProps.name});\n }\n if (nextProps.id !== this.props.id) {\n this.prefix = this.getPrefix(nextProps.id);\n this.setState({id: nextProps.id});\n }\n }\n\n handleCancel = () => {\n this.props.onClose();\n };\n\n handleOk = () => {\n this.props.onRename(this.oldId, this.state.id, this.state.name, this.state.instance);\n this.props.onClose();\n };\n\n handleChange = name => {\n this.setState({name, id: this.getId(name)});\n };\n\n render() {\n return false}\n maxWidth=\"md\"\n fullWidth\n open={!0}\n aria-labelledby=\"confirmation-dialog-title\"\n >\n {I18n.t('Rename')}\n \n
\n {\n if (ev.key === 'Enter') {\n // Do code here\n ev.preventDefault();\n setTimeout(() => this.handleOk(), 200);\n }\n }}\n onChange={e => this.handleChange(e.target.value)}\n margin=\"normal\"\n />\n \n {\n this.isShowInstance && (\n \n {I18n.t('Instance')}\n this.setState({instance: parseInt(e.target.value, 10)})}\n inputProps={{name: 'instance', id: 'instance'}}\n >\n {this.props.instances.map(instance => {instance || '0'})}\n \n )\n }\n \n
\n \n \n \n \n ;\n }\n}\n\nDialogRename.propTypes = {\n onClose: PropTypes.func,\n onRename: PropTypes.func,\n name: PropTypes.string,\n id: PropTypes.string,\n instance: PropTypes.number,\n instances: PropTypes.array,\n folder: PropTypes.bool,\n};\n\nexport default DialogRename;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Button from '@mui/material/Button';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogActions from '@mui/material/DialogActions';\nimport Dialog from '@mui/material/Dialog';\nimport {MdDelete as IconDelete} from 'react-icons/md';\n\nimport IconOk from '@mui/icons-material/Check';\nimport IconCancel from '@mui/icons-material/Cancel';\n\nimport { I18n } from '@iobroker/adapter-react-v5';\nimport withStyles from '@mui/styles/withStyles';\n\nconst styles = theme => ({\n\n});\n\nclass DialogDelete extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n name: props.name,\n id: props.id,\n };\n }\n\n componentWillReceiveProps(nextProps) {\n if (nextProps.name !== this.props.name) {\n this.setState({name: nextProps.name});\n }\n if (nextProps.id !== this.props.id) {\n this.setState({id: nextProps.id});\n }\n }\n\n handleCancel = () => {\n this.props.onClose(null);\n };\n\n handleOk = () => {\n this.props.onDelete(this.state.id);\n this.props.onClose(this.props.value);\n };\n\n render() {\n return false}\n maxWidth=\"md\"\n open={!0}\n aria-labelledby=\"confirmation-dialog-title\"\n >\n {I18n.t('Are you sure?')}\n \n \n {I18n.t('Delete %s', this.state.name)}\n \n \n \n \n \n ;\n }\n}\n\nDialogDelete.propTypes = {\n onClose: PropTypes.func,\n onDelete: PropTypes.func,\n name: PropTypes.string,\n id: PropTypes.string,\n};\n\nexport default withStyles(styles)(DialogDelete);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\nimport Button from '@mui/material/Button';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogActions from '@mui/material/DialogActions';\nimport Dialog from '@mui/material/Dialog';\nimport Card from '@mui/material/Card';\nimport CardActionArea from '@mui/material/CardActionArea';\nimport CardActions from '@mui/material/CardActions';\nimport CardContent from '@mui/material/CardContent';\nimport CardMedia from '@mui/material/CardMedia';\n\nimport ImgJS from '../assets/tileJS.png';\nimport ImgTS from '../assets/tileTS.png';\nimport ImgBlockly from '../assets/tileBlockly.png';\nimport ImgRules from '../assets/tileRules.png';\nimport IconCancel from '@mui/icons-material/Cancel';\n\nimport { I18n } from '@iobroker/adapter-react-v5';\n\nconst styles = theme => ({\n card: {\n maxWidth: 345,\n minWidth: 250,\n display: 'inline-block',\n margin: '0 10px 0 10px',\n },\n media: {\n height: 122,\n },\n text: {\n maxWidth: 218,\n minHeight: 30,\n },\n complexity: {\n fontWeight: 'bold',\n fontStyle: 'italic',\n marginBottom: theme.spacing(1),\n },\n});\n\nclass DialogAddNew extends React.Component {\n handleCancel = () => {\n this.props.onClose();\n };\n\n handleOk = type => {\n this.props.onClose(type);\n };\n\n openHtml(html) {\n const lang = I18n.getLanguage();\n if (!html.includes('javascript.md') && (lang === 'de' || lang === 'ru')) {\n html = html.replace(/\\/en\\//, '/' + lang + '/');\n }\n const win = window.open(html, '_blank');\n win.focus();\n }\n\n getJSCard() {\n return \n this.props.onClose && this.props.onClose('Javascript/js')}>\n \n \n

JavaScript

\n
{I18n.t('for programmers')}
\n
{I18n.t('JS description')}
\n
\n
\n \n \n \n \n
;\n }\n\n getTSCard() {\n return \n this.props.onClose && this.props.onClose('TypeScript/ts')}>\n \n \n

TypeScript

\n
{I18n.t('for professionals')}
\n
{I18n.t('TS description')}
\n
\n
\n \n \n \n \n
;\n }\n\n getBlocklyCard() {\n return \n this.props.onClose && this.props.onClose('Blockly')}>\n \n \n

Blockly

\n
{I18n.t('normal')}
\n
{I18n.t('Blockly description')}
\n
\n
\n \n \n \n \n
;\n }\n\n getRulesCard() {\n return \n this.props.onClose && this.props.onClose('Rules')}>\n \n \n

Rules

\n
{I18n.t('easy')}
\n
{I18n.t('Rules description')}
\n
\n
\n \n \n \n \n
;\n }\n\n render() {\n return false}\n maxWidth=\"lg\"\n fullWidth\n open={!0}\n aria-labelledby=\"confirmation-dialog-title\"\n >\n {I18n.t('Add new script')}\n \n {this.getRulesCard()}\n {this.getBlocklyCard()}\n {this.getJSCard()}\n {this.getTSCard()}\n \n \n \n \n ;\n }\n}\n\nDialogAddNew.propTypes = {\n onClose: PropTypes.func\n};\n\nexport default withStyles(styles)(DialogAddNew);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport Button from '@mui/material/Button';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogActions from '@mui/material/DialogActions';\nimport Dialog from '@mui/material/Dialog';\nimport TextField from '@mui/material/TextField';\nimport FormControl from '@mui/material/FormControl';\nimport Select from '@mui/material/Select';\nimport InputLabel from '@mui/material/InputLabel';\nimport MenuItem from '@mui/material/MenuItem';\n\nimport IconOk from '@mui/icons-material/Check';\nimport IconCancel from '@mui/icons-material/Cancel';\n\nimport { I18n } from '@iobroker/adapter-react-v5';\n\nconst styles = theme => ({\n\n});\n\nclass DialogNew extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n name: props.name || 'Script',\n instance: props.instance || 0,\n parent: props.parent,\n error: ''\n };\n this.isShowInstance = !props.folder && props.instances && (props.instance || props.instances[0] || props.instances.length > 1);\n }\n\n getId(name) {\n name = name || this.state.name || '';\n name = name.replace(/[\\\\/\\][.*,;'\"`<>?\\s]/g, '_').trim().replace(/\\.$/, '_');\n return (this.state ? this.state.parent : this.props.parent) + '.' + name;\n }\n\n componentWillReceiveProps(nextProps) {\n if (nextProps.name !== this.props.name) {\n this.setState({name: nextProps.name});\n }\n }\n\n handleCancel = () => {\n this.props.onClose();\n };\n\n handleOk = () => {\n this.props.onAdd(this.getId(this.state.name), this.state.name, this.state.instance, this.props.type);\n this.props.onClose();\n };\n\n handleChange = name => {\n const id = this.getId(name);\n if (!name) {\n this.setState({name, id, error: I18n.t('Empty name is not allowed')});\n } else\n if (this.props.existingItems && this.props.existingItems.indexOf(id) !== -1) {\n this.setState({name, id, error: I18n.t('Duplicate name')});\n } else {\n this.setState({name, id, error: ''});\n }\n };\n\n render() {\n return false}\n maxWidth=\"md\"\n fullWidth\n open={!0}\n aria-labelledby=\"confirmation-dialog-title\"\n >\n {this.props.title || I18n.t('Create new')}\n \n
\n {\n if (ev.key === 'Enter') {\n // Do code here\n ev.preventDefault();\n setTimeout(() => this.handleOk(), 200);\n }\n }}\n onChange={e => this.handleChange(e.target.value)}\n margin=\"normal\"\n />\n \n {I18n.t('Folder')}\n this.setState({parent: e.target.value})}\n inputProps={{name: 'parent', id: 'parent'}}\n >\n {this.props.parents.map(parent => {\n const parts = parent.id.split('.');\n parts.splice(0, 2); // remove script.js\n const names = [];\n let id = 'script.js';\n parts.forEach((n, i) => {\n id += '.' + n;\n const el = this.props.parents.find(item => item.id === id);\n if (el) {\n names.push(el.name);\n } else {\n names.push(n);\n }\n });\n if (!names.length) {\n names.push(parent.name);\n }\n return ({names.join(' / ')});\n })}\n \n \n \n {\n this.isShowInstance && (\n \n {I18n.t('Instance')}\n this.setState({instance: parseInt(e.target.value, 10)})}\n inputProps={{name: 'instance', id: 'instance'}}\n >\n {this.props.instances.map(instance => ({instance || '0'}))}\n \n )\n }\n \n
\n \n \n \n \n ;\n }\n}\n\nDialogNew.propTypes = {\n onClose: PropTypes.func,\n onAdd: PropTypes.func,\n name: PropTypes.string,\n title: PropTypes.string,\n parent: PropTypes.string,\n instance: PropTypes.number,\n instances: PropTypes.array,\n parents: PropTypes.array,\n existingItems: PropTypes.array,\n folder: PropTypes.bool,\n type: PropTypes.string,\n};\n\nexport default withStyles(styles)(DialogNew);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\nimport Button from '@mui/material/Button';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogContentText from '@mui/material/DialogContentText';\nimport DialogTitle from '@mui/material/DialogTitle';\n\nimport IconOk from '@mui/icons-material/Check';\n\nimport { I18n } from '@iobroker/adapter-react-v5';\n\nconst styles = theme => ({\n titleBackground: {\n background: theme.palette.error.main,\n },\n titleColor: {\n color: theme.palette.error.contrastText,\n '&>h2': {\n color: theme.palette.error.contrastText,\n }\n },\n});\n\nclass DialogError extends React.Component {\n constructor(props) {\n super(props);\n console.log('Error created')\n }\n handleOk = () => {\n this.props.onClose && this.props.onClose();\n };\n\n render() {\n return this.handleOk()}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n {this.props.title || I18n.t('Error')}\n \n \n {this.props.text || I18n.t('Unknown error!')}\n \n \n \n \n \n ;\n }\n}\n\nDialogError.propTypes = {\n onClose: PropTypes.func,\n title: PropTypes.string,\n text: PropTypes.string,\n icon: PropTypes.object\n};\n\nexport default withStyles(styles)(DialogError);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport Button from '@mui/material/Button';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogActions from '@mui/material/DialogActions';\nimport Dialog from '@mui/material/Dialog';\nimport ListItemIcon from '@mui/material/ListItemIcon';\nimport List from '@mui/material/List';\nimport ListItem from '@mui/material/ListItem';\nimport Grid from '@mui/material/Grid';\nimport ListItemText from '@mui/material/ListItemText';\nimport Input from '@mui/material/Input';\nimport InputAdornment from '@mui/material/InputAdornment';\nimport IconButton from '@mui/material/IconButton';\n\nimport IconOk from '@mui/icons-material/Check';\nimport IconCancel from '@mui/icons-material/Cancel';\nimport IconClose from '@mui/icons-material/Close';\n\nimport { I18n } from '@iobroker/adapter-react-v5';\n\nconst styles = theme => ({\n buttonIcon: {\n marginRight: theme.spacing(1),\n },\n icon: {\n width: 24,\n height: 24,\n },\n filter: {\n width: '100%',\n },\n filterWithButton: {\n width: '100%',\n },\n title: {\n fontWeight: 'bold',\n marginTop: theme.spacing(2),\n }\n});\n\n\nclass DialogAdapterDebug extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n instances: [],\n filter: window.localStorage.getItem('javascript.debug.filter') || '',\n showAskForStop: false,\n jsInstance: window.localStorage.getItem('javascript.debug.instance') || '',\n jsInstanceHost: '',\n adapterToDebug: window.localStorage.getItem('javascript.debug.adapter') || '',\n };\n }\n\n componentDidMount() {\n this.props.socket.getAdapterInstances()\n .then(instances => {\n instances = instances.filter(i => i && !i.common?.onlyWWW).map(item => {\n const name = item._id.replace(/^system\\.adapter\\./, '');\n const [adapter] = name.split('.');\n return {\n id: name,\n enabled: item.common?.enabled,\n host: item.common?.host,\n icon: item.common?.icon ? `../../adapter/${adapter}/${item.common.icon}` : '',\n };\n });\n instances.sort((a, b) => a.id > b.id ? 1 : (a.id < b.id ? -1 : 0));\n let jsInstance = this.state.jsInstance || '';\n let jsInstanceObj = this.state.jsInstance && instances.find(item => item.id === this.state.jsInstance);\n let jsInstanceHost;\n\n // check if selected instance is in the list\n if (!this.state.jsInstance || !jsInstanceObj) {\n jsInstance = instances.find(item => item.id.startsWith('javascript.')); // take the first one\n jsInstanceHost = jsInstance ? jsInstance.host : '';\n jsInstance = jsInstance ? jsInstance.id : '';\n } else {\n jsInstanceHost = jsInstanceObj ? jsInstanceObj.host : '';\n }\n\n let adapterToDebug = this.state.adapterToDebug || '';\n if (adapterToDebug && !instances.find(item => item.id === adapterToDebug)) {\n adapterToDebug = '';\n }\n\n this.setState({instances, jsInstance, adapterToDebug, jsInstanceHost});\n });\n }\n\n handleOk = () => {\n // TODO\n if (this.state.instances.find(item => item.id === this.state.adapterToDebug).enabled) {\n return this.props.socket.getObject('system.adapter.' + this.state.adapterToDebug)\n .then(obj => {\n obj.common.enabled = false;\n this.props.socket.setObject(obj._id, obj)\n .then(() =>\n this.props.onDebug(this.state.jsInstance, this.state.adapterToDebug));\n })\n } else {\n this.props.onDebug(this.state.jsInstance, this.state.adapterToDebug);\n }\n };\n\n\n renderJavascriptList() {\n const js = this.state.instances.filter(item => item.id.startsWith('javascript.'));\n if (js.length < 2) {\n return null;\n } else {\n return \n
{I18n.t('Host')}
\n \n {js.map(item => \n {item.id}\n \n )}\n \n
;\n }\n }\n\n renderInstances() {\n if (!this.state.jsInstance) {\n return ;\n } else {\n const instances = this.state.instances.filter(item =>\n item.id !== this.state.jsInstance && item.host === this.state.jsInstanceHost && (!this.state.filter || item.id.includes(this.state.filter.toLowerCase()) ));\n return \n
{I18n.t('Instances')}
\n \n {instances.map(item => this.setState({adapterToDebug: item.id}, () => this.handleOk())}\n onClick={() => this.setState({adapterToDebug: item.id})}\n >\n {item.id}\n \n )}\n \n
;\n }\n }\n\n render() {\n return false}\n aria-labelledby=\"confirmation-dialog-title\"\n >\n {this.props.title || I18n.t('Debug instance')}\n \n \n \n {\n this.setState({filter: e.target.value});\n window.localStorage.setItem('javascript.debug.filter', e.target.value);\n }}\n endAdornment={\n \n {this.state.filter ? this.setState({filter: ''})}\n >\n \n : ''}\n \n }\n />\n \n \n \n {this.renderJavascriptList()}\n {this.renderInstances()}\n \n \n \n\n \n \n \n \n \n ;\n }\n}\n\nDialogAdapterDebug.propTypes = {\n socket: PropTypes.object.isRequired,\n onClose: PropTypes.func.isRequired,\n onDebug: PropTypes.func.isRequired,\n};\n\nexport default withStyles(styles)(DialogAdapterDebug);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport Drawer from '@mui/material/Drawer';\nimport Divider from '@mui/material/Divider';\nimport List from '@mui/material/List';\nimport ListItem from '@mui/material/ListItem';\nimport ListItemIcon from '@mui/material/ListItemIcon';\nimport ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction';\nimport ListItemText from '@mui/material/ListItemText';\nimport IconButton from '@mui/material/IconButton';\nimport Menu from '@mui/material/Menu';\nimport MenuItem from '@mui/material/MenuItem';\nimport Input from '@mui/material/Input';\nimport { useDrag, useDrop, DndProvider as DragDropContext } from 'react-dnd';\nimport { HTML5Backend } from 'react-dnd-html5-backend';\n\nimport { MdMoreVert as IconMore } from 'react-icons/md';\nimport { FaFolder as IconFolder } from 'react-icons/fa';\nimport { FaFolderOpen as IconFolderOpened } from 'react-icons/fa';\nimport { MdContentCopy as IconCopy } from 'react-icons/md';\nimport { MdDelete as IconDelete } from 'react-icons/md';\nimport { MdInput as IconDoEdit } from 'react-icons/md';\nimport { MdClose as IconClear } from 'react-icons/md';\nimport { MdFormatClear as IconClose } from 'react-icons/md';\nimport { MdPlayArrow as IconPlay } from 'react-icons/md';\nimport { MdAdd as IconAdd } from 'react-icons/md';\nimport { MdCreateNewFolder as IconAddFolder } from 'react-icons/md';\nimport { MdPause as IconPause } from 'react-icons/md';\nimport { MdSwapVert as IconReorder } from 'react-icons/md';\nimport { MdEdit as IconEdit } from 'react-icons/md';\nimport { MdSearch as IconFind } from 'react-icons/md';\nimport { MdPersonPin as IconExpert } from 'react-icons/md';\nimport { FaFileExport as IconExport } from 'react-icons/fa';\nimport { FaFileImport as IconImport } from 'react-icons/fa';\nimport { MdPalette as IconDark } from 'react-icons/md';\nimport { MdUnfoldMore as IconExpandAll } from 'react-icons/md';\nimport { MdUnfoldLess as IconCollapseAll } from 'react-icons/md';\nimport { MdBugReport as IconDebug } from 'react-icons/md';\n\nimport { red, green, yellow } from '@mui/material/colors';\n\nimport ImgJS from './assets/js.png';\nimport ImgBlockly from './assets/blockly.png';\nimport ImgTypeScript from './assets/typescript.png';\nimport ImgRules from './assets/rules.png';\n\nimport { I18n, Utils } from '@iobroker/adapter-react-v5';\n\nimport DialogRename from './Dialogs/Rename';\nimport DialogDelete from './Dialogs/Delete';\nimport DialogAddNewScript from './Dialogs/AddNewScript';\nimport DialogNew from './Dialogs/New';\nimport DialogError from './Dialogs/Error';\nimport DialogAdapterDebug from './Dialogs/AdapterDebug';\n\nconst MENU_ITEM_HEIGHT = 48;\nconst COLOR_RUN = green[400];\nconst COLOR_PROBLEM = yellow[400];\nconst COLOR_PAUSE = red[400];\nconst ROOT_ID = 'script.js';\nconst COMMON_ID = ROOT_ID + '.common';\nconst GLOBAL_ID = ROOT_ID + '.global';\nconst NARROW_WIDTH = 350;\nconst LEVEL_PADDING = 16;\n\nconst SELECTED_STYLE = {\n background: '#164477',\n color: 'white'\n};\n\nconst styles = theme => ({\n drawerPaper: {\n position: 'relative',\n width: '100%', //Theme.menu.width,\n height: '100%',\n overflow: 'hidden',\n },\n toolbar: {\n height: theme.toolbar.height,\n },\n toolbarButtons: {\n color: theme.palette.mode === 'dark'? 'white !important' : 'black !important',\n },\n iconButtonsDisabled: {\n filter: 'grayscale(100%)',\n opacity: 0.5,\n },\n toolbarSearch: {\n width: 'calc(100% - 105px)',\n lineHeight: '34px',\n marginLeft: 5,\n },\n iconButtons: {\n width: 32,\n height: 32,\n padding: 2,\n },\n iconDropdownMenu: {\n paddingRight: 5,\n },\n iconOnTheRight: {\n position: 'absolute',\n right: 10,\n top: 'calc(50% - 8px)',\n },\n menu: {\n width: '100%',\n height: '100%',\n },\n innerMenu: {\n width: '100%',\n height: 'calc(100% - 76px)',\n overflowX: 'hidden',\n overflowY: 'auto',\n },\n listItemIcon: {\n minWidth: 32,\n },\n filterIcon: {\n width: 18,\n height: 18,\n borderRadius: 2,\n marginRight: 5,\n },\n scriptIcon: {\n width: 18,\n height: 18,\n borderRadius: 2,\n marginTop: 4,\n marginBottom: 4,\n marginLeft: 8,\n marginRight: 4,\n },\n folder: {\n //background: theme.palette.mode === 'dark' ? '#6a6a6a' : '#e2e2e2',\n cursor: 'pointer',\n padding: 0,\n userSelect: 'none',\n },\n folderReorder: {\n opacity: 0.3,\n transitionDuration: '0.5s',\n transitionProperty: 'opacity',\n },\n folderIcon: {\n width: 20,\n height: 20,\n },\n folderIconReorder: {\n paddingTop: 4,\n paddingBottom: 4,\n paddingLeft: 8,\n paddingRight: 4,\n },\n folderIconNoReorder: {\n cursor: 'pointer',\n paddingTop: 4,\n paddingBottom: 4,\n paddingLeft: 8,\n paddingRight: 4,\n },\n script: {\n cursor: 'pointer',\n padding: 0,\n userSelect: 'none',\n },\n scriptReorder: {\n opacity: 1,\n transitionDuration: '0.5s',\n transitionProperty: 'opacity',\n },\n reorder: {\n //padding: '9px 16px 9px 9px',\n },\n expandButton: {\n width: 37,\n height: 37,\n },\n selected: SELECTED_STYLE,\n instances: {\n color: 'gray',\n fontSize: 'smaller',\n },\n childrenCount: {\n float: 'right',\n marginRight: 5,\n fontSize: 10,\n opacity: 0.4,\n },\n footer: {\n height: 24,\n },\n footerButtons: {\n '&:hover': {\n backgroundColor: '#dbdbdb',\n },\n color: theme.palette.mode === 'dark' ? '#ffffff' : '#111111',\n cursor: 'pointer',\n marginTop: 1,\n marginRight: 2,\n height: 22,\n width: 22,\n },\n footerButtonsRight: {\n float: 'right',\n },\n\n mainList: {\n '& .js-folder-dragover>div>li>.folder-reorder': {\n background: '#40adff'\n },\n '& .js-folder-dragging .folder-reorder': {\n opacity: 1,\n },\n '& .js-folder-dragging .script-reorder': {\n opacity: 0.3,\n },\n },\n});\n\nconst images = {\n 'Blockly': ImgBlockly,\n 'Javascript/js': ImgJS,\n def: ImgJS,\n 'Rules':ImgRules,\n 'TypeScript/ts': ImgTypeScript,\n};\n\nconst getObjectName = (id, obj, lang) => {\n lang = lang || I18n.getLanguage();\n if (obj && obj.common && obj.common.name) {\n if (typeof obj.common.name === 'object') {\n return (obj.common.name[lang] || obj.common.name.en || id.replace(/^script\\.js./, '')).toString();\n } else {\n return obj.common.name.toString();\n }\n } else {\n return id.replace(/^script\\.js./, '');\n }\n};\n\nconst prepareList = data => {\n const result = [{\n id: ROOT_ID,\n depth: 0,\n index: 0,\n parent: null,\n title: 'root',\n type: 'folder',\n }];\n const ids = Object.keys(data);\n\n /*ids.sort((a, b) => {\n if ((a === 'script.js.common' || a === 'script.js.global') && (b === 'script.js.common' || b === 'script.js.global')) {\n return a > b ? 1 : -1;\n } else if (a === 'script.js.common' || a === 'script.js.global' || b === 'script.js.common' || b === 'script.js.global') {\n return 1;\n } else {\n return a > b ? 1 : -1;\n }\n });*/\n\n for (let i = 0; i < ids.length; i++) {\n const obj = data[ids[i]];\n const parts = ids[i].split('.');\n parts.pop();\n result.push({\n id: ids[i],\n title: getObjectName(ids[i], obj),\n enabled: obj && obj.common && obj.common.enabled,\n depth: parts.length - 1,\n type: obj.type === 'script' ? obj.common.engineType : 'folder',\n parent: parts.length > 1 ? parts.join('.') : null,\n instance: obj.common.engine ? parseInt(obj.common.engine.split('.').pop(), 10) || 0 : null,\n });\n }\n\n // Place all folder-less scripts at start\n /*result.sort((a, b) => {\n // without folders => always at start\n if (!a.parent && a.type !== 'folder' && !b.parent && b.type !== 'folder') {\n if (a.id === b.id) {\n return 0;\n } else {\n return a.id > b.id ? 1 : -1;\n }\n } else if (!a.parent && a.type !== 'folder') {\n return -1;\n } else if (!b.parent && b.type !== 'folder') {\n return 1;\n } else {\n // common and global are always at the end\n if ((a.id.startsWith('script.js.common') || a.id.startsWith('script.js.global')) &&\n (b.id.startsWith('script.js.common') || b.id.startsWith('script.js.global'))) {\n if (a.id === b.id) {\n return 0;\n } else {\n return a.id > b.id ? 1 : -1;\n }\n } else if (a.id.startsWith('script.js.common') || a.id.startsWith('script.js.global')) {\n return 1;\n } else if (b.id.startsWith('script.js.common') || b.id.startsWith('script.js.global')) {\n return -1;\n } else {\n if (a.id === b.id) {\n return 0;\n } else {\n return a.id > b.id ? 1 : -1;\n }\n }\n }\n });*/\n\n let modified;\n do {\n modified = false;\n // check if all parents exists\n // eslint-disable-next-line\n result.forEach(item => {\n if (item.parent) {\n const parent = result.find(it => it.id === item.parent);\n if (!parent) {\n const parts = item.parent.split('.');\n parts.pop();\n result.push({\n id: item.parent,\n title: item.parent.split('.').pop(),\n depth: parts.length - 1,\n type: 'folder',\n parent: parts.length > 1 ? parts.join('.') : null\n });\n modified = true;\n }\n }\n });\n } while (modified);\n\n // Folders first\n result.sort((a, b) => {\n const idA = a.id.toLowerCase();\n const idB = b.id.toLowerCase();\n if (a.type === 'folder' && b.type !== 'folder') {\n return -1;\n } else if (b.type === 'folder' && a.type !== 'folder') {\n return 1;\n }\n\n if (idA > idB) {\n return 1;\n } else if (idA < idB) {\n return -1;\n } else {\n return 0;\n }\n });\n\n // Fill all indexes\n result.forEach((item, i) => item.index = i);\n\n // Fill all parentIndex\n result.forEach(item => {\n if (item.parent) {\n const parent = result.find(it => it.id === item.parent);\n if (parent) {\n item.parentIndex = parent.index;\n }\n }\n });\n\n return result;\n};\n\nexport const Droppable = (props) => {\n const { onDrop} = props;\n\n const [{ isOver, isOverAny}, drop] = useDrop({\n accept: ['script'],\n drop: e => isOver ? onDrop(e) : undefined,\n collect: monitor => ({\n isOver: monitor.isOver({ shallow: true }),\n isOverAny: monitor.isOver(),\n }),\n });\n\n return
\n {props.children}\n
;\n};\n\nexport const Draggable = props => {\n const { name } = props;\n const [{ opacity }, drag] = useDrag({\n type: 'script',\n item: () => ({name}),\n collect: monitor => ({opacity: monitor.isDragging() ? 0.3 : 1,}),\n });\n // About transform: https://github.com/react-dnd/react-dnd/issues/832#issuecomment-442071628\n return
\n {props.children}\n
;\n};\n\nclass SideDrawer extends React.Component {\n constructor(props) {\n super(props);\n\n let expanded = window.localStorage ? window.localStorage.getItem('SideMenu.expanded') : '[]';\n try {\n expanded = JSON.parse(expanded) || [];\n } catch (e) {\n expanded = [];\n }\n\n this.inputRef = new React.createRef();\n\n this.state = {\n listItems: prepareList(props.scripts || {}),\n expanded: expanded,\n problems: [],\n reorder: false,\n themeName: this.props.themeName,\n selected: window.localStorage ? window.localStorage.getItem('SideMenu.selected') || null : null,\n creatingScript: false,\n creatingFolder: false,\n copingScript: '',\n renaming: null,\n deleting: null,\n choosingType: null,\n errorText: '',\n instances: props.instances || [],\n menuOpened: false,\n menuAnchorEl: null,\n searchMode: false,\n expertMode: this.props.expertMode,\n searchText: '',\n width: this.props.width || 300,\n typeFilter: window.localStorage ? window.localStorage.getItem('SideMenu.typeFilter') || '' : '', // blockly, js, ts\n statusFilter: window.localStorage ? window.localStorage.getItem('SideMenu.statusFilter') || '' : '',\n runningInstances: this.props.runningInstances || {},\n scriptsHash: props.scriptsHash,\n showAdapterDebug: false,\n };\n\n const newExp = this.ensureSelectedIsVisible();\n if (newExp) {\n this.state.expanded = newExp;\n }\n\n // debounce search process\n this.filterTimer = null;\n\n this.state.isAllZeroInstances = this.getIsAllZeroInstances();\n\n this.problems = null; //cache\n this.problemsTimer = null;\n this.onProblemUpdatedBound = this.onProblemUpdated.bind(this);\n }\n\n readProblems(cb, tasks) {\n if (!tasks) {\n tasks = Object.keys(this.props.scripts);\n }\n if (!tasks || !tasks.length) {\n cb && cb();\n } else {\n const id = tasks.shift();\n if (this.props.scripts[id] &&\n this.props.scripts[id].type === 'script' &&\n this.props.scripts[id].common &&\n this.props.scripts[id].common.enabled &&\n !id.match(/^script\\.js\\.global\\./) // GLOBAL_ID\n ) {\n const instance = this.props.scripts[id].common.engine.split('.').pop();\n const that = this; // sometimes lambda does not work\n const _id = `javascript.${instance}.scriptProblem.${id.substring(ROOT_ID.length + 1)}`;\n\n this.props.socket.getState(_id, (err, state) => {\n that.onProblemUpdated(_id, state);\n setTimeout(() => that.readProblems(cb, tasks), 0);\n });\n } else {\n setTimeout(() => this.readProblems(cb, tasks), 0);\n }\n }\n }\n\n componentDidMount() {\n this.readProblems(() => {\n this.props.instances.forEach(instance => {\n this.props.socket.subscribeState(`javascript.${instance}.scriptProblem.*`, this.onProblemUpdatedBound);\n });\n });\n }\n\n componentWillUnmount() {\n this.props.instances.forEach(instance => {\n this.props.socket.unsubscribeState(`javascript.${instance}.scriptProblem.*`, this.onProblemUpdatedBound);\n });\n }\n\n onProblemUpdated(id, state) {\n if (!state || !id) return;\n id = `${ROOT_ID}.${id.replace(/^javascript\\.\\d+\\.scriptProblem\\./, '')}`;\n\n if (!this.problems) {\n this.problems = JSON.parse(JSON.stringify(this.state.problems));\n }\n let changed = false;\n\n if (state.val) {\n if (this.problems.indexOf(id) === -1) {\n this.problems.push(id);\n changed = true;\n }\n } else {\n const pos = this.problems.indexOf(id);\n if (pos !== -1) {\n this.problems.splice(pos, 1);\n changed = true;\n }\n }\n\n if (changed && !this.problemsTimer) {\n this.problemsTimer = setTimeout(() => {\n this.problemsTimer = null;\n this.setState({ problems: this.problems });\n this.problems = null;\n }, 300);\n }\n }\n\n static filterListStatic(isSearchEnabled, listItems, searchMode, searchText, objects) {\n listItems = JSON.parse(JSON.stringify(listItems));\n let changed = false;\n let newState = {listItems};\n if (isSearchEnabled !== false && searchMode && searchText) {\n const text = searchText.toLowerCase();\n listItems.forEach(item => {\n const id = item.title.toLowerCase();\n item.filteredPartly = false;\n let found = id.includes(text);\n if (!found && (objects && objects[item.id] && objects[item.id].common && objects[item.id].common.source)) {\n if (objects[item.id].common.engineType === 'Blockly') {\n const pos = objects[item.id].common.source.lastIndexOf('//');\n found = objects[item.id].common.source.substring(0, pos).toLowerCase().includes(text);\n } else {\n found = objects[item.id].common.source.toLowerCase().includes(text);\n }\n }\n if (found) {\n if (item.filtered) {\n item.filtered = false;\n changed = true;\n }\n } else if (!item.filtered) {\n item.filtered = true;\n changed = true;\n }\n });\n\n if (changed) {\n // check that all parents of every non-filtered item are visible\n for (let i = listItems.length - 1; i >= 0; i--) {\n const item = listItems[i];\n if (!item.filtered || item.filteredPartly) {\n let it = item;\n do {\n if (it.parent && listItems[it.parentIndex]) {\n changed = true;\n listItems[it.parentIndex].filteredPartly = true;\n }\n it = it.parent && listItems[it.parentIndex] ? listItems[it.parentIndex] : null;\n } while(it);\n }\n }\n }\n } else {\n listItems.forEach(item => {\n if (item.filtered || item.filteredPartly) {\n item.filtered = false;\n item.filteredPartly = false;\n changed = true;\n }\n });\n if (isSearchEnabled === false) {\n newState.searchText = '';\n newState.searchMode = false;\n changed = true;\n }\n }\n\n return changed ? newState : null;\n }\n\n filterList(isSearchEnabled, cb) {\n const newState = SideDrawer.filterListStatic(\n isSearchEnabled,\n this.state.listItems,\n this.state.searchMode,\n this.state.searchText,\n this.props.scripts,\n );\n\n if (newState) {\n this.setState(newState, () => cb && cb());\n } else if (cb) {\n cb();\n }\n }\n\n static ensureSelectedIsVisibleStatic(selected, expanded, listItems) {\n expanded = JSON.parse(JSON.stringify(expanded));\n let changed = false;\n\n // ensure that the item is visible\n let el = typeof selected === 'object' ? selected : listItems.find(it => it.id === selected);\n do {\n // eslint-disable-next-line\n el = el && el.parent && listItems.find(it => it.id === el.parent);\n if (el) {\n if (expanded.indexOf(el.id) === -1) {\n expanded.push(el.id);\n changed = true;\n }\n }\n } while(el);\n return changed && expanded;\n }\n\n ensureSelectedIsVisible(selected, expanded) {\n SideDrawer.ensureSelectedIsVisibleStatic(selected || this.state.selected, expanded || this.state.expanded, this.state.listItems);\n }\n\n static getDerivedStateFromProps(props, state) {\n const newState = {};\n let changed = false;\n if (state.expertMode !== props.expertMode) {\n changed = true;\n newState.expertMode = props.expertMode;\n }\n if (state.scriptsHash !== props.scriptsHash && props.scripts) {\n const listItems = prepareList(props.scripts || {});\n\n newState.listItems = listItems;\n\n if (state.searchText) {\n const nState = SideDrawer.filterListStatic(true, listItems, state.searchMode, state.searchText, props.scripts);\n nState && Object.assign(newState, nState);\n }\n\n const isAllZeroInstances = SideDrawer.getIsAllZeroInstancesStatic(listItems, props.instances || []);\n\n const newExp = SideDrawer.ensureSelectedIsVisibleStatic(state.selected, state.expanded, state.listItems);\n\n newState.isAllZeroInstances = isAllZeroInstances;\n if (newExp) {\n newState.expanded = newExp;\n }\n changed = true;\n }\n\n if (state.width !== props.width) {\n changed = true;\n newState.width = props.width;\n }\n if (state.themeName !== props.themeName) {\n changed = true;\n newState.themeName = props.themeName;\n }\n\n if (props.selectId && state.selected !== props.selectId) {\n const item = state.listItems.find(item => item.id === props.selectId);\n\n if (!state.reorder && item) {\n const expanded = SideDrawer.ensureSelectedIsVisibleStatic(item, state.expanded, state.listItems);\n newState.selected = item.id;\n if (expanded) {\n newState.expanded = expanded;\n }\n changed = true;\n window.localStorage && window.localStorage.setItem('SideMenu.selected', item.id);\n }\n }\n\n if (changed) {\n return newState;\n } else {\n return null;\n }\n }\n\n static getIsAllZeroInstancesStatic(listItems, instances) {\n let isAllZeroInstances = !instances[0] && instances.length <= 1;\n\n if (isAllZeroInstances) {\n listItems.forEach(item => {\n if (item.type !== 'folder' && item.instance !== 0) {\n isAllZeroInstances = false;\n }\n });\n }\n return isAllZeroInstances;\n }\n\n getIsAllZeroInstances(listItems, instances) {\n listItems = listItems || this.state.listItems;\n instances = instances || this.state.instances;\n return SideDrawer.getIsAllZeroInstancesStatic(listItems || this.state.listItems, instances || this.state.instances);\n }\n\n saveExpanded(expanded) {\n window.localStorage.setItem('SideMenu.expanded', JSON.stringify(expanded || this.state.expanded));\n }\n\n showError(errorText) {\n this.setState({ errorText });\n }\n\n onToggle(id, e) {\n e && e.stopPropagation();\n if (id === ROOT_ID) {\n return;\n }\n const expanded = [...this.state.expanded];\n const newState = {expanded};\n const pos = expanded.indexOf(id);\n if (pos !== -1) {\n expanded.splice(pos, 1);\n if (this.state.selected && this.state.selected.startsWith(`${id}.`)) {\n newState.selected = id;\n window.localStorage && window.localStorage.setItem('SideMenu.selected', id);\n }\n } else {\n expanded.push(id);\n expanded.sort();\n }\n this.setState({ expanded });\n this.saveExpanded(expanded);\n }\n\n renderItemButtonsOnEnd(item, children) {\n if (this.state.reorder) {\n return null;\n }\n if (item.type !== 'folder') {\n let color = item.enabled ? COLOR_RUN : COLOR_PAUSE;\n if (item.enabled && this.state.problems.includes(item.id)) {\n color = COLOR_PROBLEM;\n }\n\n return [\n {\n e.stopPropagation();\n this.props.onEnableDisable && this.props.onEnableDisable(item.id, !item.enabled)\n }}\n title={item.enabled ? I18n.t('Pause script') : I18n.t('Run script')}\n disabled={this.props.debugMode}\n key=\"startStop\"\n style={{ color }}\n size=\"medium\"\n >\n {item.enabled ? : }\n ,\n this.state.width > NARROW_WIDTH ? this.onDelete(item, e)}\n size=\"medium\"\n >\n \n : null,\n this.onEdit(item, e)}\n size=\"medium\">\n \n ,\n ];\n } else if (this.state.width > NARROW_WIDTH) {\n if (item.id !== ROOT_ID && item.id !== COMMON_ID && item.id !== GLOBAL_ID && (!children || !children.length)) {\n return this.onDelete(item, e)}\n size=\"medium\"\n >\n \n ;\n } else {\n return null;\n }\n }\n }\n\n onDelete(item, e) {\n e && e.stopPropagation();\n return new Promise(resolve => {\n if (typeof item !== 'object') {\n this.setState({ deleting: item });\n } else {\n this.setState({ deleting: item.id });\n }\n });\n }\n\n onEdit(item, e) {\n this.onClick(item, e);\n this.props.onEdit && this.props.onEdit(item.id);\n }\n\n getTextStyle(item) {\n if (!this.state.reorder && item.type !== 'folder') {\n return {\n //width: 130,\n width: `calc(100% - ${this.state.width > NARROW_WIDTH ? 185 : 137}px)`,\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n flex: 'none',\n padding: '0 16px 0 0',\n };\n }\n\n return {\n whiteSpace: 'nowrap',\n padding: '0 16px 0 0',\n };\n }\n\n onClick(item, e) {\n e && e.stopPropagation();\n if (!this.state.reorder && item) {\n const expanded = this.ensureSelectedIsVisible(item);\n const newState = {selected: item.id};\n if (expanded) {\n newState.expanded = expanded;\n }\n this.setState(newState);\n window.localStorage && window.localStorage.setItem('SideMenu.selected', item.id);\n }\n }\n\n onDblClick(item, e) {\n e && e.stopPropagation();\n if (this.state.reorder) {\n return;\n }\n if (item.type === 'folder') {\n this.onToggle(item.id);\n } else {\n this.onEdit(item);\n }\n }\n\n isFilteredOut(item) {\n if (item.filtered && !item.filteredPartly) {\n return true;\n }\n\n if (this.state.typeFilter && item.type !== 'folder' && item.type !== this.state.typeFilter) {\n return true;\n }\n\n if (this.state.statusFilter &&\n item.type !== 'folder' &&\n (\n (this.state.statusFilter === 'running' && !item.enabled) ||\n (this.state.statusFilter === 'paused' && item.enabled) ||\n (this.state.statusFilter === 'problems' && (!item.enabled || this.state.problems.indexOf(item.id) === -1)))\n ) {\n return true;\n }\n\n return item.id === GLOBAL_ID && !this.state.expertMode;\n }\n\n renderListItem(item, children, childrenFiltered) {\n if (item.id === ROOT_ID && !this.state.reorder) {\n return null;\n }\n\n const depthPx = (this.state.reorder ? item.depth : item.depth - 1) * LEVEL_PADDING;\n\n let title = item.title;\n\n if (this.state.searchText) {\n const pos = title.toLowerCase().indexOf(this.state.searchText.toLowerCase());\n if (pos !== -1) {\n title = [\n {title.substring(0, pos)},\n {title.substring(pos, pos + this.state.searchText.length)},\n {title.substring(pos + this.state.searchText.length)},\n ];\n }\n }\n\n if (!this.state.isAllZeroInstances && item.type !== 'folder') {\n title = [\n [{item.instance}] ,\n {title},\n ];\n }\n const reorder = this.state.reorder && !this.props.debugMode;\n\n const style = Object.assign({\n marginLeft: depthPx,\n cursor: item.type === 'folder' && reorder ? 'default' : 'inherit',\n width: `calc(100% - ${depthPx}px)`,\n }, item.id === this.state.selected && !reorder ? SELECTED_STYLE : {});\n\n if (!reorder) {\n style.opacity = item.filteredPartly ? 0.5 : 1;\n }\n\n if (item.id === GLOBAL_ID && item.id !== this.state.selected) {\n style.color = '#00a200';\n }\n\n let isExpanded = item.id === ROOT_ID;\n if (!isExpanded && children) {\n isExpanded = this.state.expanded.includes(item.id);\n }\n\n let iconStyle = {};\n if (item.id === GLOBAL_ID) {\n iconStyle.color = '#356956';\n } else if (item.id === COMMON_ID) {\n iconStyle.color = '#4899e1';\n }\n let iconClass;\n if (item.type === 'folder') {\n iconClass = Utils.clsx(this.props.classes.folderIcon, reorder ? this.props.classes.folderIconReorder : this.props.classes.folderIconNoReorder);\n } else {\n iconClass = Utils.clsx(this.props.classes.scriptIcon, reorder ? this.props.classes.scriptIconReorder : this.props.classes.scriptIconNoReorder);\n }\n\n let childrenCount = null;\n if ((childrenFiltered && childrenFiltered.length) || (children && children.length)) {\n childrenCount = {childrenFiltered && childrenFiltered.length !== children.length ? `${childrenFiltered.length}(${children.length})` : children.length};\n }\n\n return this.onClick(item, e)}\n onDoubleClick={e => this.onDblClick(item, e)}\n >\n {\n item.type === 'folder' ? (\n reorder || isExpanded ?\n !reorder && this.onToggle(item.id, e)} /> :\n !reorder && this.onToggle(item.id, e)} />\n )\n :\n {item.type}\n }\n {title}{childrenCount}} />\n {this.renderItemButtonsOnEnd(item, children)}\n ;\n }\n\n onDragFinish(source, target) {\n let newId = `${target}.${source.split('.').pop()}`;\n if (newId !== source) {\n // If target yet exists => add Copy to\n if (this.state.listItems.find(item => item.id === newId)) {\n newId += `_${I18n.t('copy')}`;\n }\n\n this.props.onRename && this.props.onRename(source, newId);\n }\n return undefined;\n }\n\n renderOneItem(items, item /* , dragging */) {\n let childrenFiltered = (this.state.statusFilter || this.state.typeFilter) && items.filter(i => i.parent === item.id ? !this.isFilteredOut(i) : false);\n let children = items.filter(i => i.parent === item.id);\n\n if (this.isFilteredOut(item)) {\n return;\n }\n\n if (item.type === 'folder' && (this.state.statusFilter || this.state.typeFilter) && !childrenFiltered.length) {\n return;\n }\n const reorder = this.state.reorder && !this.props.debugMode;\n\n const element = this.renderListItem(item, children, childrenFiltered);\n const result = [];\n let reactChildren;\n if (children && (reorder || this.state.expanded.includes(item.id) || item.id === ROOT_ID)) {\n reactChildren = children.map(it => this.renderOneItem(items, it));\n }\n\n if (reorder) {\n if (item.type === 'folder') {\n result.push( this.onDragFinish(e.name, item.id)}>\n {element}\n {reactChildren || null}\n );\n } else {\n result.push(\n {element}\n {reactChildren || null}\n );\n }\n } else {\n result.push(element);\n reactChildren && reactChildren.forEach(e => result.push(e));\n }\n\n return result;\n }\n\n renderAllItems(items) {\n const result = items\n .filter(item => !item.parent)\n .map(item =>\n this.renderOneItem(items, item));\n\n return \n {result}\n ;\n }\n\n onAddNew(e) {\n e && e.stopPropagation();\n let item = this.state.listItems.find(i => i.id === this.state.selected);\n let parent = ROOT_ID;\n while (item && item.type !== 'folder') {\n item = this.state.listItems[item.parentIndex];\n }\n if (item) {\n parent = item.id;\n }\n\n this.parent = parent;\n this.setState({ choosingType: true });\n }\n\n onCopy(e, id) {\n e && e.stopPropagation();\n let item = this.state.listItems.find(i => i.id === id);\n let parent = ROOT_ID;\n while (item && item.type !== 'folder') {\n item = this.state.listItems[item.parentIndex];\n }\n if (item) {\n parent = item.id;\n }\n\n this.parent = parent;\n this.setState({ copingScript: id });\n }\n\n onAddNewFolder(e) {\n e && e.stopPropagation();\n let item = this.state.listItems.find(i => i.id === this.state.selected);\n let parent = ROOT_ID;\n while (item && item.type !== 'folder') {\n item = this.state.listItems[item.parentIndex];\n }\n if (item) {\n parent = item.id;\n }\n\n this.parent = parent;\n this.setState({ creatingFolder: true });\n }\n\n onRename(e) {\n e && e.stopPropagation();\n this.setState({ renaming: this.state.selected });\n }\n\n getUniqueName(copyId) {\n let i = 1;\n let word = `${I18n.t('Script')} `;\n if (copyId) {\n let name = getObjectName(copyId, this.props.scripts[copyId]);\n const m = name.match(/\\d+$/);\n if (m) {\n word = name.replace(/\\d+$/, '');\n i = parseInt(m[0], 10) + 1;\n } else {\n word = name;\n }\n }\n\n // eslint-disable-next-line\n while (this.state.listItems.find(it => it.id === `${this.parent}.${word.replace(/\\.\\s/g, '_')}${i}`)) {\n i++;\n }\n /*ignore jslint end*/\n return word + i;\n }\n\n getUniqueFolderName() {\n let i = 1;\n // eslint-disable-next-line\n while (this.state.listItems.find(it => it.id === `${this.parent}.${I18n.t('Folder')}_${i}`)) {\n i++;\n }\n return `${I18n.t('Folder')} ${i}`;\n }\n\n onCloseMenu(cb) {\n this.setState({ menuOpened: false, menuAnchorEl: null, menuAnchorFilterEl: null }, cb);\n }\n\n getFilterBadge() {\n return [\n this.state.statusFilter === true && ,\n this.state.statusFilter === false && ,\n this.state.typeFilter === 'Blockly' && 'Bl',\n this.state.typeFilter === 'Javascript/js' && 'JS',\n this.state.typeFilter === 'TypeScript/ts' && 'TS',\n ];\n }\n\n getMainMenu(children, selectedItem) {\n return this.setState({ menuOpened: false, menuAnchorEl: null })}\n PaperProps={{\n style: {\n maxHeight: MENU_ITEM_HEIGHT * 7.5,\n // width: 200,\n },\n }}\n >\n {this.state.width <= NARROW_WIDTH ? {\n event.stopPropagation();\n event.preventDefault();\n if (this.state.listItems.find(item => item.parent === this.state.selected)) {\n this.showError(I18n.t('Cannot delete non empty item!'));\n return;\n }\n\n this.setState({ menuOpened: false, menuAnchorEl: null }, () =>\n this.onDelete(this.state.selected).then(() => {}));\n }}>{I18n.t('Delete')}\n : null}\n {\n event.stopPropagation();\n event.preventDefault();\n this.onCloseMenu(() =>\n this.props.onExpertModeChange && this.props.onExpertModeChange(!this.state.expertMode));\n }}>\n {I18n.t('Expert mode')}\n \n {this.props.onExport && {\n event.stopPropagation();\n event.preventDefault();\n this.onCloseMenu(() => this.props.onExport());\n }}>\n {I18n.t('Export all scripts')}\n }\n {this.props.onImport && {\n event.stopPropagation();\n event.preventDefault();\n this.onCloseMenu(() => this.props.onImport());\n }}>\n {I18n.t('Import scripts')}\n }\n {this.props.onThemeChange && this.onCloseMenu(() => {\n // TODO: use Utils.toggleTheme(themeName)\n // newThemeName = Utils.toggleTheme(themeName);\n const newThemeName = this.state.themeName === 'dark' ? 'blue' :\n this.state.themeName === 'blue' ? 'colored' : this.state.themeName === 'colored' ? 'light' :\n this.state.themeName === 'light' ? 'dark' : 'colored';\n this.props.onThemeChange(newThemeName);\n })}\n >\n {I18n.t('Change theme (actual \"%s\")', this.state.themeName)}\n }\n {this.props.onAddNew && {\n const selected = this.state.selected;\n this.onCloseMenu(() => this.onCopy(event, selected));\n }}\n >\n \n {I18n.t('Copy script')}\n }\n {this.state.expertMode && {\n event.stopPropagation();\n event.preventDefault();\n this.onCloseMenu(() =>\n this.setState({ showAdapterDebug: true }));\n }}\n >\n \n {I18n.t('Debug instance')}\n }\n ;\n }\n\n // render menu and toolbar\n getToolbarButtons() {\n const result = [];\n const classes = this.props.classes;\n const reorder = this.state.reorder && !this.props.debugMode;\n if (this.state.searchMode && !this.props.debugMode) {\n result.push( {\n this.setState({ searchText: e.target.value });\n this.filterTimer && clearTimeout(this.filterTimer);\n this.filterTimer = setTimeout(() => {\n this.filterTimer = null;\n this.filterList(true);\n this.props.onSearch && this.props.onSearch(this.state.searchText);\n }, 400);\n }}\n />);\n\n result.push( {\n e.stopPropagation();\n this.filterList(false, () => this.props.onSearch && this.props.onSearch(this.state.searchText));\n }}\n size=\"medium\">);\n\n this.state.searchText && result.push( {\n e.stopPropagation();\n this.setState({ searchText: '' }, () => {\n this.filterList(true);\n this.props.onSearch && this.props.onSearch(this.state.searchText);\n });\n }}\n size=\"medium\"\n >\n \n );\n } else {\n if (!reorder) {\n // Open Menu\n result.push( {\n event.stopPropagation();\n event.preventDefault();\n this.setState({ menuOpened: true, menuAnchorEl: event.currentTarget });\n }}\n size=\"medium\"\n >\n {/**/}\n \n {/**/}\n );\n\n const selectedItem = this.state.listItems.find(it => it.id === this.state.selected);\n let children;\n if (selectedItem && this.state.width <= NARROW_WIDTH && selectedItem.type === 'folder') {\n children = this.state.listItems.filter(i => i.parent === this.state.selected);\n }\n\n // Menu\n result.push(this.getMainMenu(children, selectedItem));\n\n // New Script\n result.push( this.onAddNew(e)}\n size=\"medium\"\n >\n \n );\n\n // New Folder\n result.push( this.onAddNewFolder()}\n size=\"medium\"\n >\n \n );\n }\n\n // Search\n result.push( {\n e.stopPropagation();\n this.setState({ searchMode: true });\n }}\n size=\"medium\"\n >\n \n );\n\n // Reorder button\n result.push( {\n e.stopPropagation();\n this.setState({ reorder: !this.state.reorder });\n }}\n size=\"medium\"\n >\n \n );\n\n if (!reorder && this.state.selected && this.state.selected !== GLOBAL_ID && this.state.selected !== COMMON_ID) {\n // Rename\n result.push( this.onRename(e)}\n size=\"medium\"\n >\n \n );\n\n // const selectedItem = this.state.listItems.find(i => i.id === this.state.selected);\n // if (selectedItem && selectedItem.type !== 'folder') {\n // // Restart\n // result.push(( {\n // e.stopPropagation();\n // this.props.onEnableDisable && this.props.onEnableDisable();\n // }}\n // >));\n // }\n }\n result.push(v{this.props.version});\n }\n return result;\n }\n\n getFolders() {\n const folders = [{ id: ROOT_ID, name: I18n.t('Root folder') }];\n this.state.listItems.forEach(item => {\n if (item.type === 'folder' && item.id !== ROOT_ID) { // root has been added above\n if (!item.id.startsWith(GLOBAL_ID) || this.state.expertMode) {\n folders.push({ id: item.id, name: item.title });\n }\n }\n });\n return folders;\n }\n\n onCollapseAll() {\n this.setState({ expanded: [] });\n this.saveExpanded([]);\n }\n\n onExpandAll() {\n const expanded = [];\n this.state.listItems.forEach(item =>\n this.state.listItems.find(it => it.parent === item.id) && expanded.push(item.id));\n this.setState({ expanded });\n this.saveExpanded(expanded);\n }\n\n getBottomButtons() {\n if (this.state.reorder || this.props.debugMode) {\n return null;\n }\n return [\n {\n event.stopPropagation();\n event.preventDefault();\n const statusFilter = this.state.statusFilter === 'running' ? '' : 'running';\n window.localStorage && window.localStorage.setItem('SideMenu.statusFilter', statusFilter);\n this.setState({ statusFilter });\n }}\n />,\n\n {\n const statusFilter = this.state.statusFilter === 'paused' ? '' : 'paused';\n window.localStorage && window.localStorage.setItem('SideMenu.statusFilter', statusFilter);\n this.setState({ statusFilter });\n }}\n />,\n {\n const statusFilter = this.state.statusFilter === 'problems' ? '' : 'problems';\n window.localStorage && window.localStorage.setItem('SideMenu.statusFilter', statusFilter);\n this.setState({ statusFilter });\n }}\n />,\n {\n const typeFilter = this.state.typeFilter === 'Blockly' ? '' : 'Blockly';\n window.localStorage && window.localStorage.setItem('SideMenu.typeFilter', typeFilter);\n this.setState({ typeFilter });\n }}\n />,\n {\n const typeFilter = this.state.typeFilter === 'Javascript/js' ? '' : 'Javascript/js';\n window.localStorage && window.localStorage.setItem('SideMenu.typeFilter', typeFilter);\n this.setState({ typeFilter });\n }}\n />,\n {\n const typeFilter = this.state.typeFilter === 'TypeScript/ts' ? '' : 'TypeScript/ts';\n window.localStorage && window.localStorage.setItem('SideMenu.typeFilter', typeFilter);\n this.setState({ typeFilter });\n }}\n />,\n {\n const typeFilter = this.state.typeFilter === 'Rules' ? '' : 'Rules';\n window.localStorage && window.localStorage.setItem('SideMenu.typeFilter', typeFilter);\n this.setState({ typeFilter });\n }}\n />,\n this.onExpandAll()}\n />,\n this.state.expanded.length ? this.onCollapseAll()}\n /> : null,\n ];\n }\n\n getAdapterDebugDialog() {\n if (this.state.showAdapterDebug) {\n return this.setState({ showAdapterDebug: false })}\n onDebug={(instance, adapter) => this.setState({ showAdapterDebug: false }, () => this.props.onDebugInstance({instance, adapter}))}\n />;\n }\n }\n\n render() {\n const {classes} = this.props;\n\n const renamingItem = this.state.renaming && this.state.listItems.find(i => i.id === this.state.renaming);\n const copingItem = this.state.copingScript && this.props.scripts[this.state.copingScript];\n\n return [\n this.onClick({id: ''})}\n >\n
\n {this.getToolbarButtons()}\n
\n\n \n\n \n
\n {this.renderAllItems(this.state.listItems)}\n
\n
\n\n \n\n
{this.getBottomButtons()}
\n ,\n\n renamingItem ? this.setState({ renaming: false })}\n onRename={(oldId, newName, newId, newInstance) => this.props.onRename && this.props.onRename(oldId, newName, newId, newInstance)}\n /> : null,\n\n this.state.deleting ? i.id === this.state.deleting).title}\n id={this.state.deleting}\n onClose={() => this.setState({ deleting: false })}\n onDelete={id => this.props.onDelete && this.props.onDelete(id)}\n /> : null,\n\n this.state.choosingType ? {\n const newState = { choosingType: false };\n if (type) {\n newState.creatingScript = type;\n }\n this.setState(newState);\n }}\n /> : null,\n\n this.state.creatingScript ? this.setState({ creatingScript: false })}\n title={I18n.t('Create new script')}\n name={this.getUniqueName()}\n parents={this.getFolders()}\n folder={false}\n existingItems={this.state.listItems.map(item => item.id)}\n instance={this.props.instances[0] || 0}\n instances={this.props.instances}\n type={this.state.creatingScript}\n parent={this.parent}\n onAdd={(id, name, instance, type) =>\n this.props.onAddNew && this.props.onAddNew(id, name, false, instance, type)}\n /> : null,\n\n this.state.copingScript ? this.setState({ copingScript: '' })}\n title={I18n.t('Copy script')}\n name={this.getUniqueName(this.state.copingScript)}\n parents={this.getFolders()}\n folder={false}\n instance={parseInt((copingItem && copingItem.common && copingItem.common.engine && copingItem.common.engine.split('.').pop()) || 0, 10)}\n instances={this.props.instances}\n type={(copingItem && copingItem.common && copingItem.common.engineType) || 'Javascript/js'}\n parent={this.parent}\n onAdd={(id, name, instance, type) => {\n const copingItem = this.state.copingScript && this.props.scripts[this.state.copingScript];\n if (copingItem && copingItem.common) {\n // disable script by coping\n copingItem.common.enabled = false;\n }\n this.props.onAddNew && this.props.onAddNew(id, name, false, instance, type, copingItem && copingItem.common && copingItem.common.source);\n }}\n /> : null,\n\n this.state.creatingFolder ? this.setState({ creatingFolder: false })}\n title={I18n.t('Create new folder')}\n parents={this.getFolders()}\n name={this.getUniqueFolderName()}\n parent={this.parent}\n onAdd={(id, name) => this.props.onAddNew && this.props.onAddNew(id, name, true)}\n /> : null,\n\n this.state.errorText ? this.setState({ errorText: '' })} text={this.state.errorText} /> : null,\n\n this.getAdapterDebugDialog(),\n ];\n }\n}\n\nSideDrawer.propTypes = {\n classes: PropTypes.object.isRequired,\n instances: PropTypes.array.isRequired,\n scripts: PropTypes.object.isRequired,\n scriptsHash: PropTypes.number,\n onEdit: PropTypes.func,\n selectId: PropTypes.string,\n expertMode: PropTypes.bool,\n onExpertModeChange: PropTypes.func,\n onEnableDisable: PropTypes.func,\n runningInstances: PropTypes.object,\n socket: PropTypes.object,\n themeName: PropTypes.string,\n themeType: PropTypes.string,\n onSelect: PropTypes.func,\n onAddNew: PropTypes.func,\n onRename: PropTypes.func,\n onDelete: PropTypes.func,\n onImport: PropTypes.func,\n onExport: PropTypes.func,\n onSearch: PropTypes.func,\n onThemeChange: PropTypes.func,\n onDebugInstance: PropTypes.func,\n width: PropTypes.number,\n debugMode: PropTypes.bool,\n version: PropTypes.string,\n};\n\nexport default withStyles(styles)(SideDrawer);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport IconButton from '@mui/material/IconButton';\n\nimport { MdDeleteForever as IconDelete } from 'react-icons/md';\nimport { MdVerticalAlignBottom as IconBottom } from 'react-icons/md';\nimport { MdContentCopy as IconCopy } from 'react-icons/md';\nimport { MdVisibilityOff as IconHide } from 'react-icons/md';\n\nimport { I18n, Utils } from '@iobroker/adapter-react-v5';\n\n// replace later with MdHorizontalSplit and MdVerticalSplit\nconst IconVerticalSplit = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgAQMAAADYVuV7AAAABlBMVEUAAAAzMzPI8eYgAAAAAXRSTlMAQObYZgAAACFJREFUeAFjAIJRwP////8PYIKWHCigNQdKj/pn1D+jAABTG16wVQqVpQAAAABJRU5ErkJggg==';\nconst IconHorizontalSplit = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgAQMAAADYVuV7AAAABlBMVEUAAAAzMzPI8eYgAAAAAXRSTlMAQObYZgAAABtJREFUeAFjAIJRwP8fCj7QkENn/4z6Z5QzCgBjbWaoyx1PqQAAAABJRU5ErkJggg==';\n\nfunction getTimeString(d) {\n let text;\n let i = d.getHours();\n if (i < 10) {\n i = `0${i.toString()}`;\n }\n text = `${i}:`;\n\n i = d.getMinutes();\n if (i < 10) {\n i = `0${i.toString()}`;\n }\n text += `${i}:`;\n i = d.getSeconds();\n if (i < 10) {\n i = `0${i.toString()}`;\n }\n text += `${i}.`;\n i = d.getMilliseconds();\n if (i < 10) {\n i = `00${i.toString()}`;\n } else if (i < 100) {\n i = `0${i.toString()}`;\n }\n text += i;\n return text;\n}\nconst TOOLBOX_WIDTH = 34;\n\nconst styles = theme => ({\n logBox: {\n width: '100%',\n height: '100%',\n position: 'relative',\n overflow: 'hidden',\n },\n logBoxInner: {\n display: 'inline-block',\n color: theme.palette.mode === 'dark' ? 'white' : 'black',\n width: `calc(100% - ${TOOLBOX_WIDTH}px)`,\n height: '100%',\n //marginLeft: TOOLBOX_WIDTH,\n overflow: 'auto',\n position: 'relative',\n verticalAlign: 'top',\n },\n info: {\n background: theme.palette.mode === 'dark' ? 'darkgrey' : 'lightgrey',\n color: theme.palette.mode === 'dark' ? 'black' : 'black',\n },\n error: {\n background: '#FF0000',\n color: theme.palette.mode === 'dark' ? 'black' : 'white',\n },\n warn: {\n background: '#FF8000',\n color: theme.palette.mode === 'dark' ? 'black' : 'white',\n },\n debug: {\n background: 'gray',\n opacity: 0.8,\n color: theme.palette.mode === 'dark' ? 'black' : 'white',\n },\n silly: {\n background: 'gray',\n opacity: 0.6,\n color: theme.palette.mode === 'dark' ? 'black' : 'white',\n },\n table: {\n fontFamily: 'monospace',\n width: '100%',\n\n },\n toolbox: {\n width: TOOLBOX_WIDTH,\n height: '100%',\n boxShadow: '2px 0px 4px -1px rgba(0, 0, 0, 0.2), 4px 0px 5px 0px rgba(0, 0, 0, 0.14), 1px 0px 10px 0px rgba(0, 0, 0, 0.12)',\n display: 'inline-block',\n verticalAlign: 'top',\n overflow: 'hidden',\n },\n trTime: {\n width: 90,\n },\n trSeverity: {\n width: 40,\n fontWeight: 'bold',\n },\n iconButtons: {\n width: 32,\n height: 32,\n padding: 4,\n },\n layoutIcon: {\n width: 24,\n height: 24,\n background: theme.palette.mode === 'dark' ? '#9d9d9d' : undefined,\n borderRadius: theme.palette.mode === 'dark' ? 30 : undefined,\n },\n});\n\nfunction paddingMs(ms) {\n if (ms < 10) {\n return `00${ms}`;\n }\n if (ms < 100) {\n return `0${ms}`;\n }\n return ms;\n}\n\nlet gText = {};\n\nclass Log extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n lines: {},\n goBottom: true,\n selected: null,\n editing: this.props.editing || [],\n };\n this.lastIndex = null;\n this.messagesEnd = React.createRef();\n }\n\n generateLine(message) {\n return \n {getTimeString(new Date(message.ts))}\n {message.severity}\n {message.message}\n ;\n }\n\n scrollToBottom() {\n this.messagesEnd && this.messagesEnd.current && this.messagesEnd.current.scrollIntoView({ behavior: 'smooth' });\n }\n\n logHandler = message => {\n let allLines = this.state.lines;\n const scripts = this.state.editing.filter(id => message.message.includes(id));\n let selected;\n if (!scripts.length) {\n return;\n } else if (scripts.length === 1) {\n selected = scripts[0];\n } else {\n // try to get the script with the longest common substring\n scripts.sort();\n selected = scripts[scripts.length - 1];\n }\n\n let lines = allLines[selected] || [];\n let text = gText[selected] || [];\n\n lines.push(this.generateLine(message));\n let severity = message.severity;\n if (severity === 'info' || severity === 'warn') {\n severity += ' ';\n }\n const date = new Date(message.ts);\n text.push(`${date.toLocaleString()}.${paddingMs(date.getMilliseconds())}\\t[${severity}]: ${message.message}`);\n if (lines.length > 300) {\n lines.splice(0, lines.length - 300);\n text.splice(0, lines.length - 300);\n }\n gText[selected] = text;\n allLines[selected] = lines;\n\n this.setState({ lines: allLines });\n }\n\n componentDidMount() {\n this.props.socket.registerLogHandler(this.logHandler);\n }\n\n componentWillUnmount() {\n this.props.socket.unregisterLogHandler(this.logHandler);\n }\n\n componentDidUpdate() {\n this.state.goBottom && this.scrollToBottom();\n }\n\n static getDerivedStateFromProps(props, state) {\n let changed = false;\n let newState = {};\n\n if (props.selected !== state.selected) {\n let selected = props.selected;\n let allLines = state.lines;\n allLines[selected] = allLines[selected] || [];\n gText[selected] = gText[selected] || [];\n newState.selected = selected;\n changed = true;\n }\n\n if (JSON.stringify(props.editing) !== JSON.stringify(state.editing)) {\n const editing = JSON.parse(JSON.stringify(props.editing));\n changed = true;\n let allLines = state.lines;\n\n for (const id in gText) {\n if (gText.hasOwnProperty(id)) {\n if (!editing.includes(id)) {\n delete gText[id];\n delete allLines[id];\n }\n }\n }\n\n newState.editing = editing;\n }\n return changed ? newState : null;\n }\n\n onCopy() {\n Utils.copyToClipboard((gText[this.state.selected] || []).join('\\n'));\n }\n\n clearLog() {\n let allLines = this.state.lines;\n if (allLines[this.state.selected]) {\n allLines[this.state.selected] = [];\n }\n if (gText[this.state.selected]) {\n gText[this.state.selected] = [];\n }\n this.setState({ lines: allLines });\n }\n\n renderLogList(lines) {\n if (this.state.selected && lines && lines.length) {\n return
\n {lines}
\n
\n
;\n } else {\n return
{I18n.t('Log outputs')}
;\n }\n }\n\n render() {\n const lines = this.state.selected && this.state.lines[this.state.selected];\n return
\n
\n this.setState({ goBottom: !this.state.goBottom })}\n color={this.state.goBottom ? 'secondary' : ''}\n size=\"medium\">\n {lines && lines.length ? this.clearLog()}\n size=\"medium\"> : null}\n {lines && lines.length ? this.onCopy()}\n size=\"medium\"> : null}\n {this.props.onLayoutChange ? this.props.onLayoutChange()}\n title={I18n.t('Change layout')}\n size=\"medium\">\"split\" : null}\n this.props.onHideLog()}\n title={I18n.t('Hide logs')}\n size=\"medium\">\n
\n {this.renderLogList(lines)}\n
;\n }\n}\n\nLog.propTypes = {\n selected: PropTypes.string,\n socket: PropTypes.object,\n onLayoutChange: PropTypes.func,\n verticalLayout: PropTypes.bool,\n};\n\nexport default withStyles(styles)(Log);\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Fab } from '@mui/material';\n\nimport { MdGTranslate as IconNoCheck } from 'react-icons/md';\n\nimport { I18n } from '@iobroker/adapter-react-v5';\n\nfunction isIdOfGlobalScript(id) {\n return /^script\\.js\\.global\\./.test(id);\n}\nlet index = 0;\nclass ScriptEditor extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n name: 'current',\n isDark: props.isDark || false,\n language: props.language || 'javascript',\n readOnly: props.readOnly || false,\n alive: true,\n check: false,\n searchText: this.props.searchText || '',\n typingsLoaded: false,\n };\n this.runningInstancesStr = JSON.stringify(this.props.runningInstances);\n this.monacoDiv = null; //ref\n this.editor = null;\n this.monaco = window.monaco;\n this.insert = '';\n this.originalCode = props.code || '';\n this.typings = {}; // TypeScript declarations\n this.lastSearch = '';\n }\n\n waitForMonaco(cb) {\n let monacoLoaded = this.monaco?.languages?.typescript?.typescriptDefaults?.getCompilerOptions;\n if (!monacoLoaded || !this.props.runningInstances) {\n this.monaco = window.monaco;\n monacoLoaded = this.monaco?.languages?.typescript?.typescriptDefaults?.getCompilerOptions;\n this.monacoCounter = this.monacoCounter || 0;\n this.monacoCounter++;\n if (!monacoLoaded && this.monacoCounter < 20) {\n console.log('wait for monaco loaded');\n setTimeout(() => this.waitForMonaco(cb), 200);\n return;\n }\n if (this.monacoCounter >= 20) {\n console.error('Cannot load monaco!');\n }\n } else {\n cb && cb();\n }\n }\n\n loadTypings(runningInstances) {\n if (!this.editor) {\n return;\n }\n runningInstances = runningInstances || this.props.runningInstances;\n\n const scriptAdapterInstance = runningInstances && Object.keys(runningInstances).find(id => runningInstances[id]);\n if (scriptAdapterInstance) {\n this.props.socket.sendTo(scriptAdapterInstance.replace('system.adapter.', ''), 'loadTypings', null)\n .then(result => {\n this.setState({ alive: true, check: true, typingsLoaded: true });\n this.setTypeCheck(true);\n if (result.typings) {\n this.typings = result.typings;\n this.setEditorTypings(this.state.name);\n } else {\n console.error(`failed to load typings: ${result.error}`);\n }\n });\n }\n }\n\n componentDidMount() {\n const monacoLoaded = this.monaco?.languages?.typescript?.typescriptDefaults?.getCompilerOptions;\n if (!monacoLoaded || !this.props.runningInstances) {\n this.monaco = window.monaco;\n if (!monacoLoaded) {\n console.log('wait for monaco loaded...');\n this.waitForMonaco(() => this.componentDidMount());\n\n return;\n }\n }\n if (!this.editor && monacoLoaded) {\n console.log('Init editor');\n this.props.onRegisterSelect && this.props.onRegisterSelect(() => this.editor.getModel().getValueInRange(this.editor.getSelection()));\n // For some reason, we have to get the original compiler options\n // and assign new properties one by one\n const compilerOptions = this.monaco.languages.typescript.typescriptDefaults['getCompilerOptions']();\n compilerOptions.target = this.monaco.languages.typescript.ScriptTarget.ES2015;\n compilerOptions.allowJs = true;\n compilerOptions.checkJs = this.props.checkJs !== false;\n compilerOptions.noLib = true;\n compilerOptions.lib = [];\n compilerOptions.useUnknownInCatchVariables = false;\n compilerOptions.moduleResolution = this.monaco.languages.typescript.ModuleResolutionKind.NodeJs;\n this.monaco.languages.typescript.typescriptDefaults.setCompilerOptions(compilerOptions);\n\n this.setTypeCheck(false);\n\n // Create the editor instances\n this.editor = this.monaco.editor.create(this.monacoDiv, {\n lineNumbers: 'on',\n scrollBeyondLastLine: false,\n automaticLayout: true,\n glyphMargin: !!this.props.breakpoints,\n });\n\n this.editor.onDidChangeModelContent(() =>\n this.onChange(this.editor.getValue()));\n\n // Load typings for the JS editor\n /** @type {string} */\n this.loadTypings();\n\n this.editor.addCommand(this.monaco.KeyMod.CtrlCmd | this.monaco.KeyCode.KEY_S, () =>\n this.onForceSave());\n\n setTimeout(() => {\n this.highlightText(this.state.searchText);\n this.location = this.props.location;\n this.breakpoints = this.props.breakpoints;\n this.showDecorators();\n });\n }\n const options = {\n selectOnLineNumbers: true,\n scrollBeyondLastLine: false,\n automaticLayout: true,\n readOnly: this.state.readOnly,\n language: this.state.language,\n isDark: this.state.isDark,\n };\n\n this.setEditorOptions(options);\n this.editor.focus();\n this.editor.setValue(this.originalCode);\n\n if (this.props.onToggleBreakpoint) {\n // add onMouseDown listener to toggle breakpoints\n this.editor.onMouseDown(e => {\n if (e.target.detail && e.target.detail.glyphMarginLeft !== undefined) {\n this.props.onToggleBreakpoint(e.target.position.lineNumber - 1);\n }\n });\n } else {\n // remove onMouseDown listener\n this.editor.onMouseDown(() => { /* nop */ });\n }\n }\n\n /**\n * Sets some options of the code editor\n * @param {object} options The editor options to change\n * @param {Partial<{readOnly: boolean, lineWrap: boolean, language: EditorLanguage, typeCheck: boolean}>} options\n */\n setEditorOptions(options) {\n if (options) {\n if (options.language) {\n this.setEditorLanguage(options.language);\n }\n if (options.readOnly !== undefined) {\n this.editor.updateOptions({ readOnly: options.readOnly });\n }\n if (options.lineWrap !== undefined) {\n this.editor.updateOptions({ wordWrap: options.lineWrap ? 'on' : 'off' });\n }\n if (options.typeCheck !== undefined) {\n this.setTypeCheck(options.typeCheck);\n }\n if (options.isDark !== undefined) {\n this.monaco.editor.setTheme(options.isDark ? 'vs-dark' : 'vs');\n }\n }\n }\n\n componentWillUnmount() {\n if (this.editor) {\n this.props.onRegisterSelect && this.props.onRegisterSelect(null);\n this.editor.dispose();\n this.editor = null;\n }\n }\n\n /** @typedef {\"javascript\" | \"typescript\"} EditorLanguage */\n\n /**\n * Sets the language of the code editor\n * @param {EditorLanguage} language\n */\n setEditorLanguage(language) {\n // we need to recreate the model when changing languages,\n // so remember its settings\n const model = this.editor.getModel();\n const code = model.getValue();\n const uri = model.uri.path;\n\n const filenameWithoutExtension =\n typeof uri === 'string' && uri.includes('.')\n ? uri.substr(0, uri.lastIndexOf('.'))\n : 'index';\n\n const extension =\n language === 'javascript' ? 'js'\n : (language === 'typescript' ? 'ts' : language);\n\n // get rid of the original model\n model.dispose();\n\n // Both JS and TS need the model to work in TypeScript as the script type\n // is inferred from the file extension\n const newLanguage = (language === 'javascript' || language === 'typescript') ? 'typescript' : language;\n\n const newModel = this.monaco.editor.createModel(\n code,\n newLanguage,\n this.monaco.Uri.from({ path: `${filenameWithoutExtension}${index++}.${extension}` }),\n );\n\n this.editor.setModel(newModel);\n }\n\n /**\n * Enables or disables the type checking in the editor\n * @param {boolean} enabled - Whether type checking is enabled or not\n */\n setTypeCheck(enabled) {\n const options = {\n noSemanticValidation: !this.state.alive || !enabled, // toggle the type checking\n noSyntaxValidation: !this.state.alive // always check the syntax\n };\n this.monaco.languages.typescript.typescriptDefaults.setDiagnosticsOptions(options);\n }\n\n /**\n * @param {string} [currentScriptName] The name of the current script\n */\n setEditorTypings(currentScriptName = '') {\n const isGlobalScript = isIdOfGlobalScript(currentScriptName);\n // The filename of the declarations this script can see if it is a global script\n const partialDeclarationsPath = `${currentScriptName}.d.ts`;\n const wantedTypings = [];\n for (const path of Object.keys(this.typings)) {\n // global scripts don't get to see all other global scripts\n // but only a part of them\n if (isGlobalScript) {\n if (path === 'global.d.ts') {\n continue;\n }\n if (path.startsWith('script.js.global') && path !== partialDeclarationsPath) {\n continue;\n }\n }\n wantedTypings.push({\n filePath: path,\n content: this.typings[path],\n });\n }\n\n // TODO BF: check https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-semantic-tokens-provider-example\n // to support 0.21.0\n\n if (this.monaco?.languages?.typescript?.typescriptDefaults?.setExtraLibs) {\n this.monaco.languages.typescript.typescriptDefaults.setExtraLibs(wantedTypings);\n } else if (this.monaco?.languages?.typescript?.typescriptDefaults?.addExtraLib) {\n const existingLibs = this.monaco.languages.typescript.typescriptDefaults.getExtraLibs();\n wantedTypings.forEach(lib => {\n if (!existingLibs[lib.filePath]) {\n this.monaco.languages.typescript.typescriptDefaults.addExtraLib(lib, lib.filePath);\n }\n });\n }\n }\n\n /**\n * Inserts some text into the given editor\n * @param {string} text The text to add\n */\n insertTextIntoEditor(text) {\n const selection = this.editor.getSelection();\n const range = new this.monaco.Range(\n selection.startLineNumber,\n selection.startColumn,\n selection.endLineNumber,\n selection.endColumn,\n );\n this.editor.executeEdits('', [{ range, text, forceMoveMarkers: true }]);\n this.editor.focus();\n }\n\n highlightText(text) {\n const range = text && this.editor.getModel().findMatches(text);\n if (range && range.length) {\n range.forEach(r => this.editor.setSelection(r.range));\n this.editor.revealLine(range[0].range.startLineNumber);\n } else if (this.editor) {\n const row = this.editor.getPosition().lineNumber;\n const col = this.editor.getPosition().column;\n this.editor.setSelection(new this.monaco.Range(row, col, row, col));\n }\n }\n\n showDecorators() {\n this.decorations = this.decorations || [];\n const decorations = [];\n if (this.location) {\n decorations.push({\n range: new this.monaco.Range(this.location.lineNumber + 1, this.location.columnNumber + 1, this.location.lineNumber + 1, 1000),\n options: {\n isWholeLine: false,\n className: this.props.isDark ? 'monacoCurrentLineDark' : 'monacoCurrentLine',\n },\n });\n decorations.push({\n range: new this.monaco.Range(this.location.lineNumber + 1, 0, this.location.lineNumber + 1, 0),\n options: {\n isWholeLine: true,\n className: this.props.isDark ? 'monacoCurrentFullLineDark' : 'monacoCurrentFullLine',\n },\n });\n }\n\n if (this.breakpoints) {\n this.breakpoints.forEach(bp => {\n decorations.push({\n range: new this.monaco.Range(bp.location.lineNumber + 1, 0, bp.location.lineNumber + 1, 100),\n options: {\n isWholeLine: true,\n glyphMarginClassName: this.props.isDark ? 'monacoBreakPointDark' : 'monacoBreakPoint',\n },\n });\n });\n }\n this.editor && (this.decorations =\n this.editor.deltaDecorations(this.decorations, decorations));\n }\n\n initNewScript(name, code) {\n this.setState({ name });\n this.originalCode = code || '';\n this.editor && this.editor.setValue(code);\n this.highlightText(this.lastSearch);\n this.showDecorators();\n // this.setEditorLanguage();\n // Update the typings because global scripts need different typings than normal scripts\n // and each global script has different typings\n this.setEditorTypings(name);\n }\n\n scrollToLineIfNeeded(lineNumber) {\n if (this.editor) {\n const ranges = this.editor.getVisibleRanges();\n if (!ranges || !ranges[0] || ranges[0].startLineNumber > lineNumber || lineNumber > ranges[0].endLineNumber) {\n this.editor.revealLineInCenter(lineNumber);\n }\n }\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n const options = {};\n if (this.state.name !== nextProps.name) {\n // A different script was selected\n this.initNewScript(nextProps.name, nextProps.code);\n }\n\n // if some running instance is found and\n if (JSON.stringify(nextProps.runningInstances) !== this.runningInstancesStr) {\n this.runningInstancesStr = JSON.stringify(nextProps.runningInstances);\n if (!this.state.typingsLoaded) {\n this.loadTypings(nextProps.runningInstances);\n }\n }\n\n // if the code not yet changed, update the new code\n if (this.editor && !nextProps.changed && (nextProps.code !== this.originalCode || nextProps.code !== this.editor.getValue())) {\n this.originalCode = nextProps.code;\n this.editor.setValue(this.originalCode);\n this.showDecorators();\n this.location && this.scrollToLineIfNeeded(this.location.lineNumber + 1);\n }\n\n if (nextProps.searchText !== this.lastSearch) {\n this.lastSearch = nextProps.searchText;\n this.highlightText(this.lastSearch);\n }\n\n if (JSON.stringify(nextProps.location) !== JSON.stringify(this.location) &&\n JSON.stringify(nextProps.breakpoints) !== JSON.stringify(this.breakpoints)\n ) {\n this.location = nextProps.location;\n this.breakpoints = nextProps.breakpoints;\n this.showDecorators();\n this.editor && this.location && this.scrollToLineIfNeeded(this.location.lineNumber + 1);\n // this.editor && this.location && this.editor.setPosition(this.location.lineNumber + 1, this.location.columnNumber + 1);\n } else if (JSON.stringify(nextProps.breakpoints) !== JSON.stringify(this.breakpoints)) {\n this.breakpoints = nextProps.breakpoints;\n this.showDecorators();\n } else if (JSON.stringify(nextProps.location) !== JSON.stringify(this.location)) {\n this.location = nextProps.location;\n this.showDecorators();\n this.editor && this.location && this.scrollToLineIfNeeded(this.location.lineNumber + 1);\n // this.editor && this.location && this.editor.setPosition(this.location.lineNumber + 1, this.location.columnNumber + 1);\n }\n\n if (this.state.language !== (nextProps.language || 'javascript')) {\n this.setState({ language: nextProps.language || 'javascript' });\n options.language = nextProps.language || 'javascript';\n } else if (this.state.readOnly !== (nextProps.readOnly || false)) {\n this.setState({ readOnly: nextProps.readOnly || false });\n options.readOnly = nextProps.readOnly;\n } else if (this.state.isDark !== (nextProps.isDark || false)) {\n this.setState({ isDark: nextProps.isDark || false });\n options.isDark = nextProps.isDark;\n }\n\n this.setEditorOptions(options);\n\n if (this.insert !== nextProps.insert) {\n this.insert = nextProps.insert;\n if (this.insert) {\n console.log(`Insert text: ${this.insert}`);\n setTimeout(insert => {\n this.insertTextIntoEditor(insert);\n setTimeout(() => this.props.onInserted && this.props.onInserted(), 100);\n }, 100, this.insert);\n }\n }\n }\n\n onChange(newValue, e) {\n if (!this.props.readOnly) {\n this.props.onChange && this.props.onChange(this.editor.getValue());\n }\n }\n\n render() {\n if (!this.monaco?.languages?.typescript?.typescriptDefaults || !this.props.runningInstances) {\n setTimeout(() => {\n this.monaco = window.monaco;\n this.forceUpdate();\n }, 200);\n return null;\n }\n\n return
this.monacoDiv = el} style={{width: '100%', height: '100%', overflow: 'hidden', position: 'relative'}}>\n {!this.state.check && \n \n }\n
;\n }\n}\n\nScriptEditor.propTypes = {\n adapterName: PropTypes.string.isRequired,\n socket: PropTypes.object,\n runningInstances: PropTypes.object,\n name: PropTypes.string,\n onChange: PropTypes.func,\n onForceSave: PropTypes.func,\n onInserted: PropTypes.func,\n isDark: PropTypes.bool,\n readOnly: PropTypes.bool,\n code: PropTypes.string,\n language: PropTypes.string,\n onRegisterSelect: PropTypes.func,\n searchText: PropTypes.string,\n checkJs: PropTypes.bool,\n changed: PropTypes.bool,\n\n breakpoints: PropTypes.array,\n location: PropTypes.object,\n onToggleBreakpoint: PropTypes.func,\n};\n\nexport default ScriptEditor;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport Button from '@mui/material/Button';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogActions from '@mui/material/DialogActions';\nimport Dialog from '@mui/material/Dialog';\nimport Popper from '@mui/material/Popper';\nimport Fade from '@mui/material/Fade';\nimport Paper from '@mui/material/Paper';\n\nimport IconCopy from '@mui/icons-material/FileCopy';\nimport { FaFileExport as IconExport } from 'react-icons/fa';\nimport IconCancel from '@mui/icons-material/Cancel';\nimport { I18n, Utils } from '@iobroker/adapter-react-v5';\n\nconst styles = theme => ({\n textArea: {\n width: '100%',\n height: '100%',\n overflow: 'auto',\n },\n textAreaLight: {\n background: 'lightgray',\n },\n dialog: {\n height: '95%',\n },\n typography: {\n padding: theme.spacing(2),\n },\n overflowY: {\n overflowY: 'hidden',\n },\n});\n\nclass DialogExport extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n anchorEl: null,\n popper: '',\n };\n }\n\n handleCancel() {\n this.props.onClose();\n }\n\n onCopy(event) {\n Utils.copyToClipboard(this.props.text);\n const anchorEl = event.currentTarget;\n\n setTimeout(() => {\n this.setState({ popper: I18n.t('Copied'), anchorEl });\n setTimeout(() => this.setState({ popper: '', anchorEl: null }), 1000);\n }, 50);\n }\n\n render() {\n const classes = this.props.classes;\n const file = new Blob([this.props.text], {type: 'application/xml'});\n const fileName = this.props.scriptId.substring('scripts.js'.length) + '.xml';\n\n return false}\n maxWidth=\"lg\"\n classes={{ paper: classes.dialog }}\n fullWidth\n open={this.props.open}\n aria-labelledby=\"export-dialog-title\"\n >\n {I18n.t('Export selected blocks')}\n \n {this.props.text}\n \n \n \n \n \n\n \n {({ TransitionProps }) => (\n \n \n

{this.state.popper}

\n
\n
\n )}\n \n