diff --git a/README.md b/README.md index 3bd94dace..62a5b7522 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Executes Javascript, Typescript Scripts. -### **WORK IN PROGRESS** +### 9.0.1 (2025-06-04) * (@klein0r) Added possibility to escape chars in formatTimeDiff * (@GermanBluefox) Back-end was migrated to TypeScript diff --git a/admin/assets/index-BzrDXg4S.js b/admin/assets/index-B0RKH_iG.js similarity index 99% rename from admin/assets/index-BzrDXg4S.js rename to admin/assets/index-B0RKH_iG.js index f35b6b6c1..e26f04008 100644 --- a/admin/assets/index-BzrDXg4S.js +++ b/admin/assets/index-B0RKH_iG.js @@ -1326,4 +1326,4 @@ Do not import any libraries as all functions are already imported.`}]})).choices ${X}`}console.log(K),a(X||"")}catch(se){console.log(JSON.stringify(se)),se.error&&y(se.error.message),console.error(`Cannot request: ${se}, ${JSON.stringify(se.error||se,null,2)}`)}b(!1)},[n,w,o.runningInstances,o.socket]);return f.jsxs(f.Fragment,{children:[f.jsx(D.IconButton,{"aria-label":"AI",title:I.I18n.t("AI code generator"),style:A0.toolbarButtons,size:"medium",onClick:()=>h(!0),children:f.jsx(bP,{})},"ai"),C&&f.jsxs(D.Dialog,{maxWidth:"lg",open:!0,onClose:()=>E(!1),fullWidth:!0,children:[f.jsx(D.DialogTitle,{children:I.I18n.t("No Chat GPT Key found")}),f.jsxs(D.DialogContent,{style:{display:"flex",flexDirection:"column",gap:8},children:[f.jsx("div",{children:I.I18n.t("You have to enter OpenAI API key in the configuration of javascript adapter.")}),f.jsx(D.Button,{variant:"contained",onClick:()=>{const B=Object.keys(o.runningInstances);window.open(`../../#tab-instances/config/${B[0]||"system.adapter.javascript.0"}`,"_blank"),E(!1)},children:I.I18n.t("Open configuration")})]}),f.jsx(D.DialogActions,{children:f.jsx(D.Button,{variant:"contained",startIcon:f.jsx(f_,{}),onClick:()=>E(!1),children:I.I18n.t("Close")})})]}),c&&f.jsxs(D.Dialog,{maxWidth:"lg",sx:{"& .MuiDialog-paper":A0.fullHeightDialog},open:!0,onClose:()=>h(!1),fullWidth:!0,children:[f.jsx(D.DialogTitle,{children:I.I18n.t("AI code generator")}),f.jsxs(D.DialogContent,{style:{display:"flex",flexDirection:"column",gap:8,height:"100%"},children:[f.jsx("div",{children:f.jsx(D.TextField,{variant:"standard",multiline:!0,autoFocus:!0,disabled:g,fullWidth:!0,onKeyUp:B=>{B.key==="Enter"&&B.ctrlKey&&N()},label:I.I18n.t("Enter your question"),helperText:I.I18n.t("Press Ctrl+Enter to get the answer"),value:n,onChange:B=>{window.localStorage.setItem("openai-question",B.target.value),s(B.target.value)}})}),f.jsxs("div",{style:{display:"flex",alignItems:"baseline"},children:[f.jsx(D.Button,{variant:"contained",disabled:g||!n,startIcon:f.jsx(YA,{}),onClick:async()=>N(),children:g?f.jsx(D.CircularProgress,{size:24}):I.I18n.t("Ask")}),f.jsxs(D.FormControl,{style:{width:150,marginLeft:20},variant:"standard",children:[f.jsx(D.InputLabel,{children:I.I18n.t("Model")}),f.jsxs(D.Select,{variant:"standard",value:w,onChange:B=>{window.localStorage.setItem("openai-model",B.target.value),$&&y(!1),T(B.target.value)},children:[f.jsx(D.MenuItem,{value:"gpt-4o",children:"GPT-4o"}),f.jsx(D.MenuItem,{value:"gpt-4-turbo",children:"GPT-4 Turbo"}),f.jsx(D.MenuItem,{value:"gpt-4-32k",children:"GPT-4 32k"}),f.jsx(D.MenuItem,{value:"gpt-4",children:"GPT-4"}),f.jsx(D.MenuItem,{value:"gpt-3.5-turbo-16k",children:"GPT-3.5 Turbo"})]})]})]}),f.jsx("div",{children:I.I18n.t("Result")}),f.jsx("div",{style:{height:"calc(100% - 155px)"},children:$?f.jsx("div",{style:{color:o.themeType==="dark"?"#984242":"#bb0000"},children:$}):f.jsx(Gv,{triggerPrettier:1,adapterName:o.adapterName,runningInstances:o.runningInstances,style:{height:"100%",width:"100%",resize:"none"},name:"ai",socket:o.socket,readOnly:!0,checkJs:!0,code:i,isDark:o.themeType==="dark",language:o.language||"javascript"})})]}),f.jsxs(D.DialogActions,{children:[f.jsx(D.Button,{color:"grey",variant:"outlined",disabled:!i,startIcon:f.jsx(ST,{}),onClick:()=>{I.Utils.copyToClipboard(i),window.alert(I.I18n.t("Copied"))},children:I.I18n.t("Copy to clipboard")}),f.jsx(D.Button,{color:"primary",variant:"contained",disabled:!i||$,startIcon:f.jsx(Va,{}),onClick:()=>{o.onAddCode(i),h(!1)},children:I.I18n.t("Use generated code")}),f.jsx(D.Button,{color:"grey",variant:"contained",startIcon:f.jsx(f_,{}),onClick:()=>h(!1),children:I.I18n.t("Close")})]})]})]})},O0={Blockly:_T,"Javascript/js":q$,Rules:CT,def:q$,"TypeScript/ts":wT},vP=48,R0="#02a102",d_="#70aae9",yP=L0[400],_P=B0[400],Et={toolbar:o=>({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)",backgroundColor:o.palette.mode==="dark"?"#1e1e1e":"#E2E2E2"}),toolbarButtons:{padding:4,marginLeft:4},toolbarButtonsDisabled:{filter:"grayscale(100%)",opacity:.5},editorDiv:o=>({height:`calc(100% - ${(parseInt(o.toolbar.height,10)||48)+38+10}px)`,width:"100%",overflow:"hidden",position:"relative"}),textButton:{marginRight:10,minHeight:24,padding:"6px 16px"},saveButton:{background:"#ff9900"},tabIcon:{width:24,height:24,verticalAlign:"middle",marginBottom:2,marginRight:2,borderRadius:3},hintIcon:{padding:"0 8px 0 8px"},hintButton:{marginTop:8,marginLeft:20},tabMenuButton:{position:"absolute",top:0,right:0},tabChanged:o=>({color:o.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:8,marginLeft:8},tabButton:{minHeight:48},tabButtonWrapper:{display:"inline-block"},menuIcon:{width:18,height:18,borderRadius:2,marginRight:5}};class Sh extends Ue.Component{getSelect=null;cron={initValue:null,callback:null};scriptDialog={initValue:null,callback:null,args:null,isReturn:!1};objects;scripts;selectId={initValue:null,callback:null};confirmCallback=null;constructor(n){super(n);const s=window.localStorage.getItem("Editor.selected")||"",i=window.localStorage.getItem("Editor.editing")||"[]";let a;try{a=JSON.parse(i)}catch{a=[]}s&&!a.includes(s)&&a.push(s),this.state={askAboutDebug:!1,astroEvents:null,blockly:null,changed:{},cmdToBlockly:"",cmdToRules:"",confirm:"",debugEnabled:!1,editing:a,insert:"",instancesLoaded:!1,isTourOpen:window.localStorage.getItem("tour")!=="true",menuDebugAnchorEl:null,menuOpened:!!this.props.menuOpened,menuTabsOpened:!1,triggerPrettier:1,rules:null,runningInstances:this.props.runningInstances||{},searchText:"",selected:s,showAdapterDebug:!1,showAstro:!1,showCompiledCode:!1,showCron:!1,showDebugMenu:!1,showScript:!1,showSelectId:!1,themeType:this.props.themeType,toast:"",tourStep:Ss.selectTriggers,verboseEnabled:!1,visible:n.visible},this.setChangedInAdmin(),window.systemLang=I.I18n.getLanguage(),window.main={objects:{},getObject:(c,h)=>this.props.socket.getObject(c).then(g=>h&&h(null,g)).catch(g=>h&&h(g)),instances:[],selectIdDialog:(c,h,g)=>{typeof h=="function"&&(g=h,h=null),this.selectId.callback=g,this.selectId.initValue=c,this.selectId.type=h,this.setState({showSelectId:!0})},cronDialog:(c,h)=>{this.cron.callback=h,this.cron.initValue=c,this.setState({showCron:!0})},showScriptDialog:(c,h,g,b)=>{this.scriptDialog.callback=b,this.scriptDialog.initValue=c,this.scriptDialog.args=h,this.scriptDialog.isReturn=g||!1,this.setState({showScript:!0})}},this.objects=n.objects,this.scripts={},!this.state.selected&&this.state.editing.length&&Object.assign(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(n=>{const s={},i=n.map(a=>(s[a._id]=a,a._id));window.main.objects=s,window.main.instances=i,this.setState({instancesLoaded:!0})})}static onInstanceChanged(n,s){if(n)if(!s&&window.main.instances.includes(n)){delete window.main.objects[n];const i=window.main.instances.indexOf(n);window.main.instances.splice(i,1)}else s&&s.type==="instance"&&(window.main.instances.includes(n)||(window.main.instances.push(n),window.main.instances.sort()),window.main.objects[n]=s)}setChangedInAdmin(){const n=Object.keys(this.state.changed).find(s=>this.state.changed[s]);typeof window.parent<"u"&&window.parent&&(window.parent.configNotSaved=!!n)}componentDidMount(){window.addEventListener("beforeunload",this.onBrowserClose,!1),this.props.socket.subscribeObject("system.adapter.*",Sh.onInstanceChanged)}componentWillUnmount(){window.removeEventListener("beforeunload",this.onBrowserClose),this.props.socket.unsubscribeObject("system.adapter.*",Sh.onInstanceChanged)}onBrowserClose=n=>{const s=Object.keys(this.scripts).find(i=>JSON.stringify(this.scripts[i])!==JSON.stringify(this.props.objects[i].common));if(s){console.log(`Script ${JSON.stringify(this.scripts[s])}`);const i=I.I18n.t("Configuration not saved.");return n=n||window.event,n&&(n.returnValue=i),i}};removeNonExistingScripts(n,s){n=n||this.props,s=s||{};let i=!1;if(this.state.editing&&this.state.editing.find(c=>n&&!n.objects[c])){const c=JSON.parse(JSON.stringify(this.state.editing));for(let h=c.length-1;h>=0;h--)this.objects[c[h]]||(i=!0,c.splice(h,1));i&&(s.editing=c),this.state.selected&&!this.objects[this.state.selected]&&(i=!0,s.selected=c[0]||"",s.selected&&this.scripts[s.selected]&&(this.state.blockly!==(this.scripts[s.selected].engineType==="Blockly")&&(s.blockly=this.scripts[s.selected].engineType==="Blockly",i=!0),this.state.rules!==(this.scripts[s.selected].engineType==="Rules")&&(s.rules=this.scripts[s.selected].engineType==="Rules",i=!0),this.state.verboseEnabled!==this.scripts[s.selected].verbose&&(s.verboseEnabled=this.scripts[s.selected].verbose,i=!0),this.state.debugEnabled!==this.scripts[s.selected].debug&&(s.debugEnabled=this.scripts[s.selected].debug,i=!0)))}return i}UNSAFE_componentWillReceiveProps(n){var a,c;const s={};let i=!1;if(JSON.stringify(n.runningInstances)!==JSON.stringify(this.state.runningInstances)&&(i=!0,s.runningInstances=n.runningInstances),this.state.menuOpened!==n.menuOpened&&(s.menuOpened=n.menuOpened,i=!0),this.state.themeType!==n.themeType&&(s.themeType=n.themeType,i=!0),this.removeNonExistingScripts(n,s)&&(i=!0),this.state.searchText!==n.searchText&&(s.searchText=n.searchText,i=!0),this.objects!==n.objects){this.objects=n.objects,window.main.objects=n.objects,Object.keys(this.scripts).forEach(g=>{const b=this.scripts[g].source;this.scripts[g]=JSON.parse(JSON.stringify(this.objects[g].common)),this.scripts[g].source=b}),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!==(this.scripts[this.state.selected].engineType==="Blockly")&&(s.blockly=this.scripts[this.state.selected].engineType==="Blockly",i=!0),this.state.rules!==(this.scripts[this.state.selected].engineType==="Rules")&&(s.rules=this.scripts[this.state.selected].engineType==="Rules",i=!0),this.state.verboseEnabled!==this.scripts[this.state.selected].verbose&&(s.verboseEnabled=this.scripts[this.state.selected].verbose,i=!0),this.state.debugEnabled!==this.scripts[this.state.selected].debug&&(s.debugEnabled=this.scripts[this.state.selected].debug,i=!0));const h=JSON.parse(JSON.stringify(this.state.editing));for(let g=h.length-1;g>=0;g--)this.objects[h[g]]||(i=!0,h.splice(g,1),this.state.changed[h[g]]!==void 0&&(s.changed=s.changed||JSON.parse(JSON.stringify(this.state.changed)),s.changed&&delete s.changed[h[g]]));this.state.selected&&!this.objects[this.state.selected]&&(s.selected=h[0]||""),i&&(s.editing=h)}else for(const h in this.scripts)if(Object.prototype.hasOwnProperty.call(this.scripts,h)){if((a=this.objects[h])!=null&&a.common){if(this.objects[h].type==="script"){const g=this.scripts[h].source,b=JSON.parse(JSON.stringify(this.scripts[h]));b.source=this.objects[h].common.source,JSON.stringify(b)!==JSON.stringify(this.objects[h].common)&&(this.scripts[h]=JSON.parse(JSON.stringify(this.objects[h].common)),this.scripts[h].source=g),g!==this.objects[h].common.source?this.state.changed[h]?(c=this.objects[h].from)!=null&&c.startsWith("system.adapter.javascript.")&&(this.objects[h].from="system.adapter.admin.0",this.setState({toast:I.I18n.t("Script %s was modified on disk.",h.split(".").pop())})):this.scripts[h].source=this.objects[h].common.source:this.state.changed[h]&&(s.changed=s.changed||JSON.parse(JSON.stringify(this.state.changed)),s.changed&&(s.changed[h]=!1),i=!0)}}else if(this.scripts[h]&&(delete this.scripts[h],this.state.selected===h)){if(this.state.editing.indexOf(h)!==-1){const g=JSON.parse(JSON.stringify(this.state.editing)),b=g.indexOf(h);b!==-1&&(g.splice(b,1),s.editing=g,i=!0)}s.selected=this.state.editing[0]||"",i=!0}}if(this.state.selected!==n.selected&&n.selected){n.selected&&(this.scripts[n.selected]=this.scripts[n.selected]||JSON.parse(JSON.stringify(this.props.objects[n.selected].common)));const h=this.props.objects[n.selected]&&this.props.objects[n.selected].common,g=h&&JSON.stringify(this.scripts[n.selected])!==JSON.stringify(h),b=JSON.parse(JSON.stringify(this.state.editing));n.selected&&b.indexOf(n.selected)===-1&&(b.push(n.selected),this.props.onSelectedChange(n.selected,b),window.localStorage&&window.localStorage.setItem("Editor.editing",JSON.stringify(b))),i=!0,s.changed=s.changed||JSON.parse(JSON.stringify(this.state.changed)),s.changed&&(s.changed[n.selected]=g),s.editing=b,s.selected=n.selected,s.blockly=this.scripts[n.selected].engineType==="Blockly",s.rules=this.scripts[n.selected].engineType==="Rules",s.verboseEnabled=this.scripts[n.selected].verbose,s.debugEnabled=this.scripts[n.selected].debug,s.showCompiledCode=!1}this.state.visible!==n.visible&&(i=!0,s.visible=n.visible),i&&this.setState(s,()=>this.setChangedInAdmin())}onRestart(){this.props.onRestart&&this.props.onRestart(this.state.selected)}onStartStop(){const n=JSON.parse(JSON.stringify(this.scripts[this.state.selected]));n.enabled=!n.enabled,this.props.onChange&&this.props.onChange(this.state.selected,n)}onSave(){if(this.state.isTourOpen&&this.state.tourStep===Ss.saveTheScript&&(this.setState({isTourOpen:!1}),window.localStorage.setItem("tour","true")),this.state.changed[this.state.selected]){const n=JSON.parse(JSON.stringify(this.state.changed));n[this.state.selected]=!1,this.setState({changed:n},()=>{this.setChangedInAdmin(),this.props.onChange&&this.props.onChange(this.state.selected,this.scripts[this.state.selected])})}}onSaveAll(){const n=JSON.parse(JSON.stringify(this.state.changed));Object.keys(n).forEach(s=>{n[s]&&(n[s]=!1,this.props.onChange&&this.props.onChange(s,this.scripts[s]))}),this.setState({changed:n},()=>this.setChangedInAdmin())}onCancel(){this.scripts[this.state.selected]=JSON.parse(JSON.stringify(this.props.objects[this.state.selected].common));const n=JSON.parse(JSON.stringify(this.state.changed));n[this.state.selected]=!1,this.setState({changed:n},()=>this.setChangedInAdmin())}onRegisterSelect(n){this.getSelect=n}onConvertBlockly2JS(){this.showConfirmDialog(I.I18n.t("It will not be possible to revert this operation."),n=>{if(n){this.scripts[this.state.selected].engineType="Javascript/js";const i=this.scripts[this.state.selected].source.split(` `);i.pop(),this.scripts[this.state.selected].source=i.join(` `);const a=this.state.selected,c=JSON.parse(JSON.stringify(this.state.changed));c[this.state.selected]=!0,this.setState({changed:c,blockly:!1,selected:""},()=>{this.setChangedInAdmin(),setTimeout(()=>this.setState({selected:a}),100)})}})}onChange(n){n=n||{},n&&(n.script!==void 0&&(this.scripts[this.state.selected].source=n.script),n.debug!==void 0&&(this.scripts[this.state.selected].debug=n.debug),n.verbose!==void 0&&(this.scripts[this.state.selected].verbose=n.verbose));const s=JSON.stringify(this.scripts[this.state.selected])!==JSON.stringify(this.props.objects[this.state.selected].common);if(s!==(this.state.changed[this.state.selected]||!1)){const i=JSON.parse(JSON.stringify(this.state.changed));i[this.state.selected]=s,this.objects[this.state.selected].from="system.adapter.admin.0",this.setState({changed:i},()=>this.setChangedInAdmin())}}onTabChange(n){if(this.props.debugMode)return;window.localStorage&&window.localStorage.setItem("Editor.selected",n);const s=this.scripts[n]||this.props.objects[n]&&this.props.objects[n].common;this.setState({selected:n,rules:s.engineType==="Rules",blockly:s.engineType==="Blockly",showCompiledCode:!1,verboseEnabled:s.verbose,debugEnabled:s.debug}),this.props.onSelectedChange&&this.props.onSelectedChange(n,this.state.editing)}isScriptChanged(n){return!!(this.scripts[n]&&this.props.objects[n]&&JSON.stringify(this.scripts[n])!==JSON.stringify(this.props.objects[n].common))}onTabClose(n,s){s==null||s.stopPropagation();const i=this.state.editing.indexOf(n);if(this.state.editing.includes(n))if(this.isScriptChanged(n))this.showConfirmDialog(I.I18n.t("Discard changes for %s",this.props.objects[n].common.name),a=>{a&&(delete this.scripts[n],this.onTabClose(n))});else{const a=JSON.parse(JSON.stringify(this.state.editing));a.splice(i,1);const c={editing:a};if(n===this.state.selected?a.length?i===0||a.length===1?c.selected=a[0]:c.selected=a[i-1]:c.selected="":this.state.selected&&!a.length&&(c.selected=""),window.localStorage&&window.localStorage.setItem("Editor.editing",JSON.stringify(a)),c.selected!==void 0){c.changed=c.changed||JSON.parse(JSON.stringify(this.state.changed))||{},c.changed&&(c.changed[c.selected]=this.isScriptChanged(c.selected));const h=c.selected&&(this.scripts[c.selected]||this.props.objects[c.selected]&&this.props.objects[c.selected].common);c.blockly=h?h.engineType==="Blockly":!1,c.rules=h?h.engineType==="Rules":!1,c.verboseEnabled=h?h.verbose:!1,c.debugEnabled=h?h.debug:!1,c.showCompiledCode=!1}this.setState(c,()=>{this.setChangedInAdmin(),c.selected!==void 0?(this.props.onSelectedChange&&this.props.onSelectedChange(c.selected,this.state.editing),window.localStorage&&window.localStorage.setItem("Editor.selected",c.selected)):this.props.onSelectedChange&&this.props.onSelectedChange(this.state.selected,this.state.editing)})}}showConfirmDialog(n,s){this.confirmCallback=s,this.setState({confirm:n})}sendCommandToBlockly(n){this.setState({cmdToBlockly:n},()=>setTimeout(()=>this.setState({cmdToBlockly:""}),200))}sendCommandToRules(n){this.setState({cmdToRules:n},()=>setTimeout(()=>this.setState({cmdToRules:""}),200))}static getText(n){return typeof n=="object"?n[I.I18n.getLanguage()]||n.en:n}getScriptFullName(n){const s=n.split(".");s.shift(),s.shift();const i=[];let a="script.js";for(let c=0;cthis.onTabChange(s),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",allowScrollButtonsMobile:!0,children:[this.state.editing.map(n=>{if(!this.props.objects[n]){const h=[f.jsx(D.Box,{sx:this.isScriptChanged(n)?Et.tabChanged:void 0,style:Et.tabText,children:n.split(".").pop()},"text"),f.jsx(D.IconButton,{onClick:g=>this.onTabClose(n,g),style:Et.closeButton,size:"small",component:"span",children:f.jsx(Xl,{})},"icon")];return f.jsx(D.Tab,{wrapped:!0,href:`#${n}`,label:h,value:n,sx:{"& .MuiTab-wrapper":Et.tabButtonWrapper}},n)}let s=Sh.getText(this.props.objects[n].common.name)||"";const i=this.getScriptFullName(n);s.length>18&&(s=`${s.substring(0,15)}...`);const a=this.scripts[n]&&this.props.objects[n].common&&this.props.objects[n].common.source!==this.scripts[n].source,c=[f.jsx(D.Box,{sx:this.isScriptChanged(n)?Et.tabChanged:void 0,style:Et.tabText,children:s},"text"),a?f.jsx("span",{style:Et.tabChangedIcon,children:"▣"},"changedSign"):null,!this.props.debugInstance&&(!this.props.debugMode||this.state.selected!==n)&&f.jsx(D.IconButton,{onClick:h=>this.onTabClose(n,h),style:Et.closeButton,size:"small",component:"span",children:f.jsx(Xl,{})},"icon")];return f.jsx(D.Tab,{disabled:!!this.props.debugInstance||this.state.selected!==n&&this.props.debugMode,wrapped:!0,iconPosition:"start",icon:f.jsx("img",{alt:"",src:O0[this.props.objects[n].common.engineType]||O0.def,style:Et.tabIcon},"icon"),href:`#${n}`,label:c,style:Et.tabButton,value:n,title:i,sx:{"& .MuiTab-wrapper":Et.tabButtonWrapper}},n)}),this.props.debugInstance?f.jsx(D.Tab,{disabled:!1,wrapped:!0,href:`#${this.props.debugInstance.adapter}`,label:this.props.debugInstance.adapter,style:Et.tabButton,value:this.props.debugInstance.adapter,title:this.props.debugInstance.adapter,sx:{"& .MuiTab-wrapper":Et.tabButtonWrapper}},this.props.debugInstance.adapter):""]},"tabs1"),this.state.editing.length>1?f.jsx(D.IconButton,{href:"#","aria-label":"Close all but current",style:Et.tabMenuButton,title:I.I18n.t("Close all but current"),"aria-haspopup":"false",onClick:n=>{const s=[this.state.selected];Object.keys(this.scripts).forEach(i=>i!==this.state.selected&&JSON.stringify(this.scripts[i])!==JSON.stringify(this.props.objects[i].common)&&s.push(i)),window.localStorage&&window.localStorage.setItem("Editor.editing",JSON.stringify(s)),this.setState({menuTabsOpened:!1,editing:s})},size:"medium",children:f.jsx(nx,{})},"menuButton"):null]:f.jsx(D.Box,{sx:Et.toolbar,children:f.jsxs(D.Button,{color:"grey",disabled:!0,style:Et.hintButton,href:"",children:[f.jsx("span",{children:I.I18n.t("Click on this icon")},"select2"),f.jsx(j0,{style:Et.hintIcon},"select3"),f.jsx("span",{children:I.I18n.t("for edit or create script")},"select4")]},"select1")},"tabs2")}getDebugMenu(){return this.state.showDebugMenu?f.jsxs(D.Menu,{id:"menu-debug",anchorEl:this.state.menuDebugAnchorEl,open:this.state.showDebugMenu,onClose:()=>this.setState({showDebugMenu:!1,menuDebugAnchorEl:null}),slotProps:{root:{style:{maxHeight:vP*7.5}}},children:[f.jsxs(D.MenuItem,{title:I.I18n.t("debug_help"),onClick:n=>{n.stopPropagation(),n.preventDefault(),this.setState({showDebugMenu:!1,menuDebugAnchorEl:null,debugEnabled:!this.state.debugEnabled},()=>this.onChange({debug:this.state.debugEnabled}))},children:[f.jsx(D.Checkbox,{checked:this.state.debugEnabled}),f.jsx(lf,{style:{...Et.menuIcon,color:R0}}),I.I18n.t("debug_label")]},"debugEnabled"),f.jsxs(D.MenuItem,{title:I.I18n.t("verbose_help"),onClick:n=>{n.stopPropagation(),n.preventDefault(),this.setState({showDebugMenu:!1,menuDebugAnchorEl:null,verboseEnabled:!this.state.verboseEnabled},()=>this.onChange({verbose:this.state.verboseEnabled}))},children:[f.jsx(D.Checkbox,{checked:this.state.verboseEnabled}),f.jsx(HC,{style:{...Et.menuIcon,color:d_}}),I.I18n.t("verbose_label")]},"verboseEnabled")]},"menuDebug"):null}getDebugBadge(){return[this.state.debugEnabled&&this.state.verboseEnabled?f.jsx(lf,{style:{...Et.menuIcon,color:d_}},"DebugVerbose"):null,this.state.debugEnabled&&!this.state.verboseEnabled?f.jsx(lf,{style:{...Et.menuIcon,color:R0}},"DebugNoVerbose"):null,!this.state.debugEnabled&&this.state.verboseEnabled?f.jsx(HC,{style:{...Et.menuIcon,color:d_}},"noDebugVerbose"):null]}getAskAboutDebug(){return this.state.askAboutDebug?f.jsx(I.DialogConfirm,{onClose:()=>{this.setState({askAboutDebug:!1},()=>this.props.onDebugModeChange(!0))},ok:I.I18n.t("Yes"),cancel:I.I18n.t("Cancel"),text:I.I18n.t("The script will be stopped and must be activated manually after debugging. Continue?")}):null}getToolbar(){const n=!!(this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].engine&&this.state.runningInstances[this.scripts[this.state.selected].engine]),s=!!(this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].enabled);if(this.state.selected){const i=Object.keys(this.state.changed).filter(c=>this.state.changed[c]).length,a=this.state.changed[this.state.selected];return f.jsxs(D.Toolbar,{variant:"dense",sx:Et.toolbar,children:[!this.props.debugInstance&&this.state.menuOpened&&this.props.onLocate&&f.jsx(D.IconButton,{style:Et.toolbarButtons,title:I.I18n.t("Locate file"),onClick:()=>this.props.onLocate(this.state.selected),size:"medium",children:f.jsx(sx,{})},"locate"),!this.props.debugInstance&&!a&&n?f.jsx(D.IconButton,{disabled:this.props.debugMode,style:Et.toolbarButtons,onClick:()=>this.onRestart(),title:I.I18n.t("Restart"),size:"medium",children:f.jsx(H0,{})},"restart"):null,!this.props.debugInstance&&!a?f.jsx(D.IconButton,{disabled:this.props.debugMode,onClick:()=>this.onStartStop(),title:s?I.I18n.t("Pause script"):I.I18n.t("Run script"),size:"medium",style:{...Et.toolbarButtons,color:s?yP:_P},children:s?f.jsx(bf,{}):f.jsx(V$,{})},"start-stop"):null,!this.props.debugInstance&&!a&&!s?f.jsx("span",{style:Et.notRunning,children:I.I18n.t("Script is not running")}):null,!a&&s&&!n?f.jsx("span",{style:Et.notRunning,children:I.I18n.t("Instance is disabled")}):null,a?f.jsx(D.Button,{color:"grey",variant:"contained",style:{...Et.textButton,...Et.saveButton},className:"button-save",onClick:()=>this.onSave(),endIcon:f.jsx(VC,{}),children:I.I18n.t("Save")},"save"):null,i>1||i===1&&!a?f.jsx(D.Button,{color:"grey",variant:"contained",style:Et.textButton,onClick:()=>this.onSaveAll(),endIcon:f.jsx(VC,{}),children:I.I18n.t("Save all")},"saveall"):null,a?f.jsx(D.Button,{color:"grey",variant:"contained",style:Et.textButton,onClick:()=>this.onCancel(),endIcon:f.jsx(Iv,{}),children:I.I18n.t("Cancel")},"cancel"):null,f.jsx("div",{style:{flex:2}}),!this.props.debugInstance&&!this.state.showCompiledCode&&f.jsx(D.IconButton,{style:Et.toolbarButtons,title:I.I18n.t("Prettify the script"),onClick:()=>this.setState({triggerPrettier:this.state.triggerPrettier+1}),size:"medium",children:f.jsx(rx,{})},"prettier"),this.state.blockly&&!this.state.showCompiledCode?f.jsx(D.IconButton,{"aria-label":"Export Blocks",title:I.I18n.t("Export blocks"),style:Et.toolbarButtons,onClick:()=>this.sendCommandToBlockly("export"),size:"medium",children:f.jsx(G$,{})},"export"):null,this.state.blockly&&!this.state.showCompiledCode&&f.jsx(D.IconButton,{"aria-label":"Import Blocks",title:I.I18n.t("Import blocks"),style:Et.toolbarButtons,onClick:()=>this.sendCommandToBlockly("import"),size:"medium",children:f.jsx(m_,{})},"import"),this.state.blockly&&!this.state.showCompiledCode&&f.jsx(D.IconButton,{"aria-label":"Check code",title:I.I18n.t("Check blocks"),style:Et.toolbarButtons,onClick:()=>this.sendCommandToBlockly("check"),size:"medium",children:f.jsx(ix,{})},"check"),!this.props.debugMode&&!this.state.blockly&&!this.state.rules&&!this.state.showCompiledCode?f.jsx(D.IconButton,{"aria-label":"create CRON",title:I.I18n.t("Create or edit CRON or time wizard"),style:Et.toolbarButtons,onClick:()=>this.setState({showCron:!0}),size:"medium",children:f.jsx(ox,{})},"select-cron"):null,this.scripts[this.state.selected]&&this.scripts[this.state.selected].engineType!=="Blockly"&&this.scripts[this.state.selected].engineType!=="Rules"?f.jsx($P,{adapterName:this.props.adapterName,socket:this.props.socket,runningInstances:this.state.runningInstances,themeType:this.state.themeType,language:this.scripts[this.state.selected].engineType==="TypeScript/ts"?"typescript":"javascript",onAddCode:c=>this.setState({insert:c})}):null,f.jsx(D.IconButton,{"aria-label":"Show astronomical events",title:I.I18n.t("Show astronomical events"),style:Et.toolbarButtons,disabled:!n,onClick:()=>{this.setState({showAstro:!0,astroEvents:null}),this.props.socket.sendTo(this.scripts[this.state.selected].engine.replace("system.adapter.",""),"calcAstroAll",{}).then(c=>this.setState({astroEvents:c}))},size:"medium",children:f.jsx(ax,{})},"show-astro"),!this.props.debugMode&&!this.state.blockly&&!this.state.rules&&!this.state.showCompiledCode&&f.jsx(D.IconButton,{"aria-label":"select ID",title:I.I18n.t("Insert object ID"),style:Et.toolbarButtons,onClick:()=>this.setState({showSelectId:!0}),size:"medium",children:f.jsx(lx,{})},"select-id"),this.state.blockly&&!this.state.rules&&this.state.showCompiledCode&&f.jsx(D.Button,{color:"grey","aria-label":"convert to javascript",title:I.I18n.t("Convert blockly to javascript for ever."),onClick:()=>this.onConvertBlockly2JS(),children:"Blockly=>JS"},"convert2js"),this.state.rules&&!this.state.showCompiledCode&&f.jsx(D.IconButton,{"aria-label":"Export Blocks",title:I.I18n.t("Export blocks"),style:Et.toolbarButtons,onClick:()=>this.sendCommandToRules("export"),size:"medium",children:f.jsx(G$,{})},"export"),this.state.rules&&!this.state.showCompiledCode&&f.jsx(D.IconButton,{"aria-label":"Import Blocks",title:I.I18n.t("Import blocks"),style:Et.toolbarButtons,onClick:()=>this.sendCommandToRules("import"),size:"medium",children:f.jsx(m_,{})},"import"),this.props.expertMode&&!a&&(this.props.debugMode||!this.state.blockly&&!this.state.rules||(this.state.blockly||this.state.rules)&&this.state.showCompiledCode)&&f.jsx(D.IconButton,{style:Et.toolbarButtons,color:this.props.debugMode?"primary":"default",disabled:!this.props.debugMode&&!n,onClick:()=>{!this.props.debugMode&&s?this.setState({askAboutDebug:!0}):this.props.onDebugModeChange(!this.props.debugMode)},size:"medium",children:f.jsx(lf,{style:{fontSize:32}})}),(this.state.blockly||this.state.rules)&&f.jsx(D.Button,{"aria-label":"blockly",title:I.I18n.t("Show javascript code"),className:"button-js-code",color:this.state.showCompiledCode?"secondary":"inherit",disabled:this.props.debugMode,style:{...Et.toolbarButtons,...this.props.debugMode?Et.toolbarButtonsDisabled:void 0,padding:"0 5px"},onClick:()=>{this.props.debugMode||(this.setState({showCompiledCode:!this.state.showCompiledCode}),this.state.isTourOpen&&this.state.tourStep===Ss.showJavascript&&this.setState({tourStep:Ss.switchBackToRules}),this.state.isTourOpen&&this.state.tourStep===Ss.switchBackToRules&&this.setState({tourStep:Ss.saveTheScript}))},children:f.jsx("img",{alt:this.state.blockly?"blockly2js":"rules2js",src:this.state.blockly?hM:pM})},"blockly-code"),f.jsx(D.IconButton,{disabled:this.props.debugMode,"aria-label":"Debug menu",title:I.I18n.t("Debug options"),style:Et.toolbarButtons,onClick:c=>this.setState({showDebugMenu:!0,menuDebugAnchorEl:c.currentTarget}),size:"medium",children:f.jsx(D.Badge,{style:Et.badgeMargin,badgeContent:this.getDebugBadge(),children:f.jsx(cx,{})})},"debug")]},"toolbar1")}return null}getScriptEditor(){return!this.props.debugMode&&this.state.selected&&this.props.objects[this.state.selected]&&this.state.blockly!==null&&(!this.state.blockly||this.state.showCompiledCode)&&(!this.state.rules||this.state.showCompiledCode)?(this.scripts[this.state.selected]=this.scripts[this.state.selected]||JSON.parse(JSON.stringify(this.props.objects[this.state.selected].common)),f.jsx(D.Box,{sx:Et.editorDiv,children:f.jsx(Gv,{name:this.state.selected,adapterName:this.props.adapterName,insert:this.state.insert,onInserted:()=>this.setState({insert:""}),onForceSave:()=>this.onSave(),searchText:this.state.searchText,onRegisterSelect:n=>this.onRegisterSelect(n),readOnly:this.state.showCompiledCode,changed:this.state.changed[this.state.selected],code:this.scripts[this.state.selected].source||"",isDark:this.state.themeType==="dark",socket:this.props.socket,runningInstances:this.state.runningInstances,triggerPrettier:this.state.triggerPrettier,onChange:n=>this.onChange({script:n}),language:this.scripts[this.state.selected].engineType==="TypeScript/ts"?"typescript":"javascript"},"scriptEditor1")},"scriptEditorDiv")):null}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)),f.jsx(D.Box,{sx:Et.editorDiv,children:f.jsx(fn,{command:this.state.cmdToBlockly,themeType:this.state.themeType,searchText:this.state.searchText,code:this.scripts[this.state.selected].source||"",scriptId:this.state.selected,onChange:n=>this.onChange({script:n})},"BlocklyEditor")},"blocklyEditorDiv")):null}getRulesEditor(){var n,s;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 i=!!this.state.selected&&!!((n=this.scripts[this.state.selected])!=null&&n.engine)&&this.state.runningInstances[this.scripts[this.state.selected].engine],a=!!this.state.selected&&((s=this.scripts[this.state.selected])==null?void 0:s.enabled);return f.jsx(D.Box,{sx:Et.editorDiv,children:f.jsx(VL,{scriptId:this.state.selected,setTourStep:this.setTourStep,tourStep:this.state.tourStep,isTourOpen:this.state.isTourOpen,changed:this.state.changed[this.state.selected],running:i&&a,command:this.state.cmdToRules,themeType:this.state.themeType,themeName:this.props.themeName,theme:this.props.theme,searchText:this.state.searchText,resizing:this.props.resizing,code:this.scripts[this.state.selected].source||"",onChange:c=>this.onChange({script:c})},"flowEditor")},"flowEditorDiv")}return null}getConfirmDialog(){return this.state.confirm?f.jsx(I.DialogConfirm,{text:this.state.confirm,onClose:n=>{if(this.confirmCallback){const s=this.confirmCallback;this.confirmCallback=null,s(n)}this.setState({confirm:""})}},"dialogConfirm1"):null}getSelectIdDialog(){var n;if(this.state.showSelectId){const s=["state","channel","device","adapter","instance","enum","host","config","script","user","group"],i=["adapter","instance","enum","host","config","script","user","group"];let a=this.selectId.callback?this.selectId.initValue||"":this.getSelect&&this.getSelect()||"",c=a.indexOf("/*");c!==-1&&(a=a.substring(0,c)),c=a.indexOf("//"),c!==-1&&(a=a.substring(0,c));let h=a.match(/"([^"]+)"/);return h&&(a=h[1]),h=a.match(/'([^']+)'/),h&&(a=h[1]),f.jsx(I.DialogSelectID,{theme:this.props.theme,imagePrefix:"../..",themeName:this.props.themeName,themeType:this.state.themeType,socket:this.props.socket,selected:a,expertMode:this.selectId.type&&this.selectId.type!=="all"&&i.includes(this.selectId.type)?!0:void 0,types:((n=this.selectId)==null?void 0:n.type)==="all"?s:[this.selectId.type||"state"],onClose:()=>{this.setState({showSelectId:!1}),this.selectId.callback&&(this.selectId.callback=null)},onOk:(g,b)=>{this.selectId.initValue=null,this.selectId.callback?(this.selectId.callback(g),this.selectId.callback=null):this.setState({insert:`'${g}'/*${b}*/`})}},"dialogSelectID1")}return null}getCronDialog(){return this.state.showCron?f.jsx(I.DialogCron,{theme:this.props.theme,cron:this.cron.callback?this.cron.initValue||"":this.getSelect?this.getSelect():"* * * * *",onClose:()=>this.setState({showCron:!1}),onOk:n=>{this.cron.initValue=null,this.cron.callback?(this.cron.callback(n),this.cron.callback=null):this.setState({insert:`'${n}'`})}},"dialogCron1"):null}getAstroDialog(){return this.state.showAstro?f.jsxs(D.Dialog,{open:!0,onClose:()=>this.setState({showAstro:!1}),children:[f.jsx(D.DialogTitle,{children:I.I18n.t("Astronomical events today")}),f.jsx(D.DialogContent,{children:this.state.astroEvents?f.jsx(D.TableContainer,{component:D.Paper,children:f.jsxs(D.Table,{size:"small",children:[f.jsx(D.TableHead,{children:f.jsxs(D.TableRow,{children:[f.jsx(D.TableCell,{children:I.I18n.t("Name")}),f.jsx(D.TableCell,{children:I.I18n.t("Server time")}),f.jsx(D.TableCell,{children:I.I18n.t("Description")})]})}),f.jsx(D.TableBody,{children:Object.keys(this.state.astroEvents).map(n=>{var s,i,a,c;return f.jsxs(D.TableRow,{children:[f.jsx(D.TableCell,{component:"th",scope:"row",children:n.startsWith("next")?"":n}),f.jsx(D.Tooltip,{title:`${I.I18n.t("Local time")}: ${(s=this.state.astroEvents)!=null&&s[n].isValidDate?new Date((i=this.state.astroEvents)==null?void 0:i[n].date).toLocaleTimeString():"n/a"}`,children:f.jsx(D.TableCell,{align:"right",children:(a=this.state.astroEvents)!=null&&a[n].isValidDate?(c=this.state.astroEvents)==null?void 0:c[n].serverTime:"n/a"})}),f.jsx(D.TableCell,{children:I.I18n.t(n)})]},n)})})]})}):f.jsx(D.LinearProgress,{})}),f.jsx(D.DialogActions,{children:f.jsx(D.Button,{variant:"contained",onClick:()=>this.setState({showAstro:!1}),color:"primary",startIcon:f.jsx(Xl,{}),children:I.I18n.t("Close")})})]},"dialogAstro"):null}getEditorDialog(){return this.state.showScript?f.jsx(PM,{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:n=>{this.scriptDialog.initValue=null,this.scriptDialog.callback&&(n!==!1&&this.scriptDialog.callback(n||""),this.scriptDialog.callback=null),this.setState({showScript:!1})}},"scriptEditorDialog"):null}getToast(){return f.jsx(D.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"left"},open:!!this.state.toast,autoHideDuration:6e3,onClose:()=>this.setState({toast:""}),ContentProps:{"aria-describedby":"message-id"},message:f.jsx("span",{id:"message-id",children:this.state.toast}),action:[f.jsx(D.IconButton,{"aria-label":"close",color:"inherit",style:Et.closeToast,onClick:()=>this.setState({toast:""}),size:"medium",children:f.jsx(Xl,{})},"close")]},"toast")}setTourStep=n=>this.setState({tourStep:n});getTour(){return this.state.instancesLoaded&&this.state.selected&&this.props.isAnyRulesExists===1&&this.props.objects[this.state.selected]&&this.state.rules&&this.state.visible?f.jsx(Rw,{steps:FN,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"):null}getDebug(){return this.props.debugMode?this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].engine&&this.state.runningInstances[this.scripts[this.state.selected].engine]?f.jsx($v,{runningInstances:this.state.runningInstances,adapterName:this.props.adapterName,socket:this.props.socket,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):null}render(){return this.state.selected&&this.props.objects[this.state.selected]&&this.state.blockly===null&&this.state.rules===null&&(this.scripts[this.state.selected]=this.scripts[this.state.selected]||JSON.parse(JSON.stringify(this.props.objects[this.state.selected].common)),setTimeout(()=>{const n={blockly:this.scripts[this.state.selected].engineType==="Blockly",rules:this.scripts[this.state.selected].engineType==="Rules",showCompiledCode:!1,debugEnabled:this.scripts[this.state.selected].debug,verboseEnabled:this.scripts[this.state.selected].verbose};this.removeNonExistingScripts(null,n),this.setState(n)},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 Sr={dialog:{height:"95%"},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}};class rC extends Ue.Component{constructor(n){super(n),this.state={error:"",imageStatus:""}}componentDidMount(){setTimeout(()=>{var n;try{(n=window.document.getElementById("import-text-area"))==null||n.focus()}catch{}},100)}handleCancel(){this.props.onClose()}static readFileDataUrl(n,s){const i=new FileReader;i.onload=()=>{s(null,{data:i.result,name:n.name})},i.onabort=()=>{console.error("file reading was aborted"),s(I.I18n.t("file reading was aborted"))},i.onerror=a=>{console.error("file reading has failed"),s(I.I18n.t("file reading has failed: %s",a))},i.readAsDataURL(n)}handleDropFile(n){if(!(n!=null&&n.length))return;const s=n[n.length-1];s&&rC.readFileDataUrl(s,(i,a)=>{var c;i||!a?this.setState({error:i||"No data"}):this.props.onClose(((c=a.data)==null?void 0:c.toString())||"")})}render(){const n={...Sr.dropzone,...this.state.imageStatus==="accepted"?Sr.dropzoneAccepted:this.state.imageStatus==="rejected"?Sr.dropzoneRejected:void 0};return f.jsxs(D.Dialog,{onClose:()=>!1,maxWidth:"lg",sx:{"& .MuiDialog-paper":Sr.dialog},fullWidth:!0,open:!0,"aria-labelledby":"import-dialog-title",PaperProps:{style:{minHeight:"90%",maxHeight:"90%"}},children:[f.jsx(D.DialogTitle,{id:"import-dialog-title",children:I.I18n.t("Import scripts")}),f.jsxs(D.DialogContent,{children:[f.jsx(U0,{maxSize:5e7,onDrop:(s,i)=>{var a,c,h;s.length?this.handleDropFile(s):window.alert(((h=(c=(a=i==null?void 0:i[0])==null?void 0:a.errors)==null?void 0:c[0])==null?void 0:h.message)||I.I18n.t("ra_Cannot upload"))},multiple:!1,accept:{"application/zip":[],"application/x-zip-compressed":[]},children:({getRootProps:s,getInputProps:i,isDragActive:a,isDragReject:c})=>c?(this.state.imageStatus!=="rejected"&&this.setState({imageStatus:"rejected"}),f.jsxs("div",{style:{...n,...Sr.dropzoneDiv},...s(),children:[f.jsx("input",{...i()}),f.jsx("span",{style:Sr.text,children:I.I18n.t("Some files will be rejected")},"text"),f.jsx(Iv,{style:{...Sr.icon,...Sr.iconError}},"icon")]})):a?(this.state.imageStatus!=="accepted"&&this.setState({imageStatus:"accepted"}),f.jsxs("div",{style:{...n,...Sr.dropzoneDiv},...s(),children:[f.jsx("input",{...i()}),f.jsx("span",{style:Sr.text,children:I.I18n.t("All files will be accepted")},"text"),f.jsx(Ev,{style:{...Sr.icon,...Sr.iconOk}},"icon")]})):(this.state.imageStatus!=="wait"&&this.setState({imageStatus:"wait"}),f.jsxs("div",{style:{...n,...Sr.dropzoneDiv},...s(),children:[f.jsx("input",{...i()}),f.jsx("span",{style:Sr.text,children:I.I18n.t("Drop some files here or click...")},"text"),f.jsx(W0,{style:Sr.icon},"icon")]}))},"image-drop"),this.state.error?f.jsx(Uf,{text:this.state.error,onClose:()=>this.setState({error:""})}):null]}),f.jsx(D.DialogActions,{children:f.jsx(D.Button,{color:"grey",variant:"contained",onClick:()=>this.handleCancel(),startIcon:f.jsx(Jo,{}),children:I.I18n.t("Close")})})]})}}const wP="Acknowledged",CP="Actions",SP="Add",TP="All",kP="Any",EP="Apply",IP="April",xP="Ask",DP="Astronomical",AP="August",OP="Cancel",RP="Close",MP="Condition",NP="Conditions",LP="Console",BP="Copied",PP="December",jP="Default",FP="Delay",zP="Delete",UP="Description",WP="Done",HP="Exec shell",VP="Explanation",GP="Export",KP="Februar",JP="February",qP="Filter",YP="Folder",XP="Fr",ZP="Friday",QP="ID",e2="ID1",t2="ID2",n2="Import",s2="Instance",r2="Instances",i2="Instructions",o2="Januar",a2="January",l2="July",c2="June",u2="Limit",d2="March",h2="May",p2="Menu",g2="Message",f2="Mo",m2="Model",b2="Monday",$2="Month",v2="More",y2="Name",_2="November",w2="OK",C2="October",S2="Ok",T2="Pause",k2="Pushover",E2="Pushsafer",I2="Rename",x2="Repeat",D2="Restart",A2="Result",O2="Sa",R2="Saturday",M2="Save",N2="Schedule",L2="Script",B2="September",P2="Simulate",j2="Stack",F2="Start",z2="State",U2="Su",W2="Sunday",H2="Telegram",V2="Th",G2="Thursday",K2="Time",J2="Triggered",q2="Triggers",Y2="Tu",X2="Tuesday",Z2="URL",Q2="Value",ej="Volume",tj="We",nj="Wednesday",sj="Write",rj="Yes",ij="acknowledgment",oj="all",aj="and",lj="Astro",cj="at",uj="control",dj="copy",hj="CRON",pj="Dawn",gj="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.",fj="Debug",mj="Dusk",bj="easy",$j="every",vj="Function",yj="ID",_j="Name",wj="Role",Cj="Room",Sj="Golden hour",Tj="End of golden hour",kj='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°C", the "then" actions will be executed every time when sensor sends the temperature and it is over 20°C. By 21°C, by 22°C and so on.',Ej='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°C", 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.',Ij="hours",xj="includes",Dj="interval",Aj="magic",Oj="milliseconds",Rj="minutes",Mj="ms",Nj="Nadir",Lj="Nautical dawn",Bj="Nautical dusk",Pj="Next Sunrise",jj="Next sunset",Fj="Night",zj="Night end",Uj="normal",Wj="offset",Hj="one",Vj="or",Gj="quiet",Kj="search",Jj="seconds",qj="Solar noon",Yj="sunrise",Xj="Sunrise end",Zj="Sunset",Qj="Sunset start",eF="then",tF="Acknowledge",nF="From",sF="Last changed",rF="Quality",iF="Timestamp",oF="User",aF="Value",lF="two",cF="update",uF="Adds debug output to the log for many system commands",dF="Verbose log outputs",hF="when",pF="Wizard",gF={"%s not found":"%s not found","()":"()","(optional)":"(optional)","-":"-",".":".","AI code generator":"AI code generator",Ack:wP,Actions:CP,"Actual time of day":"Actual time of day",Add:SP,"Add new script":"Add new script",All:TP,"All files will be accepted":"All files will be accepted",Any:kP,"Any month":"Any month",Apply:EP,April:IP,"Are you sure?":"Are you sure?",Ask:xP,Astronomical:DP,"Astronomical events today":"Astronomical events today",August:AP,"Blockly description":"Creating rules by graphic blocks","Body:":"Body:",Cancel:OP,"Cannot delete non empty item!":"Cannot delete non empty item!","Change layout":"Change layout",'Change theme (actual "%s")':'Change theme (now - "%s")',"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:RP,"Close all but current":"Close all but current","Collapse all":"Collapse all","Compares current time with astronomical event":"Compares current time with astronomical event","Compares current time with the user specific time":"Compares current time with the user specific time","Compares the state value with user defined value":"Compares the state value with user defined value",Condition:MP,Conditions:NP,"Configuration not saved.":"Configuration not saved.",Console:LP,"Control or update some state":"Control or update some state","Control or update some state with delay":"Control or update some state with delay","Convert blockly to javascript for ever.":"Permanently convert Blockly to Javascript.",Copied:BP,"Copy script":"Copy script","Copy to clipboard":"Copy to clipboard","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",Date:"Date","Debug instance":"Debug instance","Debug options":"Debug options",December:PP,Default:jP,"Define cron...":"Define cron...","Define schedule...":"Define schedule...",Delay:FP,Delete:zP,"Delete %s":"Delete %s...","Delete folder":"Delete folder","Delete script":"Delete script",Description:UP,"Deselect all":"Deselect all","Discard changes for %s":"Discard changes for %s",Done:WP,"Double click to write value":"Double click to write value","Download as file":"Download as file","Drop some files here or click...":"Drop some files here or click...","Duplicate name":"Duplicate name","Edit script or just double click":"Edit script or just double click","Empty name is not allowed":"Empty name is not allowed","End search mode":"End search mode","Enter your question":"Enter your request",Error:"Error","Error formatting code":"Error formatting code","Error was found":"Error was found","Every day":"Every day",Exec:HP,"Executes some shell command":"Executes some shell command","Existing scripts will be overwritten.":"Existing scripts will be overwritten.","Expand all":"Expand all","Expert mode":"Expert mode",Explanation:VP,Export:GP,"Export all scripts":"Export all scripts","Export blocks":"Export blocks","Export selected blocks":"Export selected blocks",Februar:KP,February:JP,Filter:qP,Folder:YP,Fr:XP,Friday:ZP,Function:"Function","Function editor":"Function editor","Function: executed":"Function: executed","Go to next line":"Go to next line","HTTP Call":"HTTP Call","Hide logs":"Hide logs",ID:QP,ID1:e2,ID2:t2,Import:n2,"Import blocks":"Import blocks","Import error":"Import error","Import scripts":"Import scripts","Insert object ID":"Insert object ID",Instance:s2,"Instance is disabled":"Instance is disabled","Instance:":"Instance:",Instances:r2,Instructions:i2,"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",Januar:o2,January:a2,July:l2,June:c2,"Just check":"Just check","Language:":"Language:","Learn More":"Learn More","Light style":"Light style",Limit:u2,"Local time":"Local time","Locate file":"Locate file","Log outputs":"Log outputs","Log text":"Log text","Log: %s":"Log: %s","Make a HTTP get request":"Make a HTTP get request","Make a pause between actions":"Make a pause between actions",March:d2,"March ":"March ",May:h2,Menu:p2,Message:g2,Mo:f2,Model:m2,Monday:b2,Month:$2,More:v2,Name:y2,"No Chat GPT Key found":"No Chat GPT Key found","No active host found":"No active host found","Nothing found":"Nothing found",November:_2,OK:w2,October:C2,Ok:S2,"On condition change":"On condition result change","On script save or adapter start":"On script save or adapter start","On weekdays":"On weekdays","Open configuration":"Open configuration","Operate two states":"Operate two states","Operations with two states":"Operations with two states",Pause:T2,"Pause execution":"Pause execution","Pause script":"Pause script","Phone:":"Phone:","Please select object ID...":"Please select object ID...","Press Ctrl+Enter to get the answer":"Press Ctrl+Enter to get the answer","Prettify the script":"Prettify the script","Print some text in log":"Print some text in log","Priority:":"Priority:",Pushover:k2,Pushsafer:E2,"Read only ID selected: %s":"Read only ID selected: %s",Rename:I2,"Reorder scripts in folders":"Reorder scripts in folders",Repeat:x2,Restart:D2,Result:A2,"Resume execution":"Resume execution","Root folder":"Root folder","Rules description":"Create rules with IF, THEN, ELSE blocks","Run script":"Run script",Sa:O2,Saturday:R2,Save:M2,"Save all":"Save all","Say It":"Say It","Say some text via sayit adapter":"Say some text via sayit adapter",Schedule:N2,Script:L2,"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","Send email":"Send email","Sends an email":"Sends an email","Sends message via Pushsafer":"Sends message via Pushsafer","Sends message via pushover":"Sends message via pushover","Sends message via telegram":"Sends message via telegram","Sends message via whatsapp-cmb":"Sends message via whatsapp-cmb",September:B2,"Server time":"Server time","Set state action":"Set state action","Set with delay":"Set with delay","Shell command":"Shell command","Show astronomical events":"Show astronomical events","Show javascript code":"Show Javascript code","Show logs":"Show logs","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",Simulate:P2,"Some files will be rejected":"Some files will be rejected","Sound:":"Sound:",Stack:j2,Start:F2,"Start script":"Start script",State:z2,"State condition":"State condition","Step into function":"Step into function","Step out from function":"Step out from function","Stop on exception":"Stop on exception",Su:U2,"Subject:":"Subject:",Sunday:W2,"TS description":"Creating rules by writing Typescript",Telegram:H2,"Text:":"Text:",Th:V2,"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?","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",Thursday:G2,Time:K2,"Time condition":"Time condition","Title:":"Title:","To:":"To:","Trigger with value":"Trigger with value",Triggered:J2,Triggers:q2,"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","Triggers the rule periodically or on some specific time":"Triggers the rule periodically or on some specific time",Tu:Y2,Tuesday:X2,URL:Z2,"Unknown error":"Unknown error","Unknown error!":"Unknown error!","Use generated code":"Use generated code","User function":"User function","User:":"User:",Value:Q2,"Vibration:":"Vibration:",Volume:ej,We:tj,Wednesday:nj,"Whatsapp-cmb":"Whatsapp-cmb",Write:sj,"Write your own code":"Write your own code",Yes:rj,"Yet exists!":"Yet exists!","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 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","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","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 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.","[equal]":"[equal]","[greater or equal]":"[greater or equal]","[greater]":"[greater]","[hysteresis]":"[hysteresis]","[includes]":"[includes]","[less or equal]":"[less or equal]","[less]":"[less]","[not equal]":"[not equal]",acknowledgment:ij,all:oj,and:aj,astro:lj,at:cj,"clear running":"clear running",control:uj,copy:dj,cron:hj,dawn:pj,debug_help:gj,debug_label:fj,default:"default",dusk:mj,easy:bj,else:"else","equal to":"equal to",every:$j,"every hour at 0 minutes":"every hour at 0 minutes",false:"false","file reading has failed: %s":"file reading has failed: %s","file reading was aborted":"file reading was aborted",filter_func:vj,filter_id:yj,filter_name:_j,filter_role:wj,filter_room:Cj,"for edit or create script":"for edit or create a new script","for professionals":"for professionals","for programmers":"for programmers",goldenHour:Sj,goldenHourEnd:Tj,"greater or equal":"greater or equal","greater or equal to":"greater or equal to","greater than":"greater than",help_just_check:kj,help_on_change:Ej,"high priority":"high priority","high-priority":"high-priority","highest priority":"highest priority",hours:Ij,includes:xj,interval:Dj,"just check":"just check","less or equal":"less or equal","less or equal to":"less or equal to","less than":"less than","lower priority":"lower priority","lowest priority":"lowest priority",magic:Aj,milliseconds:Oj,minutes:Rj,ms:Mj,nadir:Nj,nauticalDawn:Lj,nauticalDusk:Bj,nextSunrise:Pj,nextSunset:jj,night:Fj,nightEnd:zj,"no blocks found":"No blocks found","no group":"NO GROUP",normal:Uj,"normal priority":"normal priority","not equal to":"not equal to","not properly connected":"This block is not properly connected to other blocks.",offset:Wj,"on change":"on change","on condition change":"on condition change","on update":"on update",one:Hj,or:Vj,quiet:Gj,"reset search":"reset search",search:Kj,seconds:Jj,solarNoon:qj,"store in":"store in",sunrise:Yj,sunriseEnd:Xj,sunset:Zj,sunsetStart:Qj,then:eF,"toggle value":"toggle value",tooltip_ack:tF,tooltip_from:nF,tooltip_lc:sF,tooltip_quality:rF,tooltip_ts:iF,tooltip_user:oF,tooltip_value:aF,true:"true",two:lF,undefined:"undefined",update:cF,"use seconds":"use seconds","use trigger value":"use trigger value",verbose_help:uF,verbose_label:dF,when:hF,with:"with","with date":"with date","with offset":"with offset",wizard:pF},fF="Bestätigt",mF="Aktionen",bF="Hinzufügen",$F="Alle",vF="Egal",yF="Anwenden",_F="April",wF="Fragen",CF="Astronomisch",SF="August",TF="Abbrechen",kF="Schließen",EF="Bedingung",IF="Bedingungen",xF="Konsole",DF="Kopiert",AF="Dezember",OF="Standard",RF="Verzögerung",MF="Löschen",NF="Beschreibung",LF="Fertig",BF="Exec shell",PF="Erläuterung",jF="Export",FF="Februar",zF="Februar",UF="Filter",WF="Ordner",HF="Fr",VF="Freitag",GF="ID",KF="ID1",JF="ID2",qF="Import",YF="Instanz",XF="Instanzen",ZF="Anleitung",QF="Januar",ez="Januar",tz="Juli",nz="Juni",sz="Grenze",rz="März",iz="Mai",oz="Menü",az="Nachricht",lz="Mo",cz="Modell",uz="Montag",dz="Monat",hz="Mehr",pz="Name",gz="November",fz="OK",mz="Oktober",bz="Ok",$z="Pause",vz="Pushover",yz="Pushsafer",_z="Umbenennen",wz="Wiederholen",Cz="Neustart",Sz="Ergebnis",Tz="Sa",kz="Samstag",Ez="Speichern",Iz="Zeitplan",xz="Skript",Dz="September",Az="Simulieren",Oz="Stack",Rz="Start",Mz="Zustand",Nz="So",Lz="Sonntag",Bz="Telegram",Pz="Do",jz="Donnerstag",Fz="Zeit",zz="Ausgelöst",Uz="Löst aus",Wz="Di",Hz="Dienstag",Vz="URL",Gz="Wert",Kz="Volumen",Jz="Mi",qz="Mittwoch",Yz="Schreiben",Xz="Ja",Zz="Wissen",Qz="alle",eU="und",tU="Astro",nU="beim",sU="Steuerung",rU="Kopie",iU="CRON",oU="Morgendämmerung",aU="Dies ist ein spezieller Modus, in dem sich Zustände und Objekte nicht ändern. Im Protokoll werden jedoch nur Informationen zu jeder geplanten Änderung angezeigt.",lU="Debuggen",cU="Abenddämmerung",uU="einfach",dU="jeder",hU="Funktion",pU="ID",gU="Name",fU="Rolle",mU="Raum",bU="Goldene Abendstunde",$U="Vormittag",vU='Der Code wird jedes Mal ausgeführt, wenn die Bedingung erfüllt ist. z.B. wenn der Temperatur wert sich ändert und die Bedingung "Wenn die Temperatur größer als 20°C ist" lautet, werden die "Dann" -Aktionen jedes Mal ausgeführt, wenn der Sensor die Temperatur sendet und diese über 20°C liegt. Bei 21°C, bei 22°C und so weiter.',yU='Der Code wird nur ausgeführt, wenn sich das Ergebnis der Bedingung ändert. z.B. wenn sich der Temperatur wert ändert und die Bedingung "Wenn die Temperatur größer als 20°C ist" lautet, werden die "Dann" -Aktionen einmal ausgeführt, wenn die Temperatur über 20°C liegt. Das nächste Mal werden die "Dann" -Aktionen ausgeführt, wenn die Temperatur unter 20°C gefallen ist und dann wieder über 20°C ansteigt.',_U="Stunden",wU="beinhaltet",CU="Intervall",SU="Magie",TU="Millisekunden",kU="Minuten",EU="ms",IU="Nadir",xU="nautische Morgendämmerung",DU="nautische Abenddämmerung",AU="Nächster Sonnenaufgang",OU="Nächster Sonnenuntergang",RU="Nacht",MU="astronomische Morgendämmerung",NU="Normal",LU="Versatz",BU="einer",PU="oder",jU="ruhig",FU="Suche",zU="Sekunden",UU="(Nach-)Mittag",WU="Sonnenaufgang",HU="Goldene Morgenstunde",VU="Sonnenuntergang",GU="Sonnenuntergang (Anfang)",KU="dann",JU="Bestätigen",qU="Von",YU="Zuletzt geändert",XU="Qualität",ZU="Zeitstempel",QU="Benutzer",eW="Wert",tW="zwei",nW="Aktualisieren",sW="Fügt Debug-Ausgaben für viele Systembefehle zum Protokoll hinzu",rW="Ausführliche Protokollausgaben",iW="falls",oW="Assistent",aW={"%s not found":"%s nicht gefunden","()":"()","(optional)":"(optional)","-":"-",".":".","AI code generator":"KI-Codegenerator",Ack:fF,Actions:mF,"Actual time of day":"Tatsächliche Tageszeit",Add:bF,"Add new script":"Neues Skript hinzufügen",All:$F,"All files will be accepted":"Alle Dateien werden akzeptiert",Any:vF,"Any month":"Jeden Monat",Apply:yF,April:_F,"Are you sure?":"Wirklich sicher?",Ask:wF,Astronomical:CF,"Astronomical events today":"Astronomische Ereignisse heute",August:SF,"Blockly description":"Erstellen von Regeln durch Grafikblöcke","Body:":"Körper:",Cancel:TF,"Cannot delete non empty item!":"Kann nicht gelöscht werden, weil noch einige Elementen darin sind!","Change layout":"Layout ändern",'Change theme (actual "%s")':'Thema ändern (jetzt - "%s")',"Check blocks":"Blöcke prüfen","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öschen","Click on this icon":"Auf dieses Symbol klicken",Close:kF,"Close all but current":"Alle anderen außer dem Aktiven schließen","Collapse all":"Alles einklappen","Compares current time with astronomical event":"Vergleicht die aktuelle Zeit mit einem astronomischen Ereignis","Compares current time with the user specific time":"Vergleicht die aktuelle Zeit mit der benutzerspezifischen Zeit","Compares the state value with user defined value":"Vergleicht den Zustandswert mit dem benutzerdefinierten Wert",Condition:EF,Conditions:IF,"Configuration not saved.":"Die Konfiguration ist nicht gespeichert.",Console:xF,"Control or update some state":"Zustand steuern oder aktualisieren","Control or update some state with delay":"Zustand mit Verzögerung steuern oder aktualisieren","Convert blockly to javascript for ever.":"Blockly dauerhaft in Javascript konvertieren.",Copied:DF,"Copy script":"Skript kopieren","Copy to clipboard":"In die Zwischenablage kopieren","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",Date:"Datum","Debug instance":"Debug-Instanz","Debug options":"Debug-Optionen",December:AF,Default:OF,"Define cron...":"Cron definieren ...","Define schedule...":"Zeitplan definieren ...",Delay:RF,Delete:MF,"Delete %s":"Löschen %s...","Delete folder":"Ordner löschen","Delete script":"Skript löschen",Description:NF,"Deselect all":"Alles abwählen","Discard changes for %s":"Änderungen für %s verwerfen",Done:LF,"Double click to write value":"Doppelklick zum Schreiben des Wertes","Download as file":"Download als Datei","Drop some files here or click...":"Dateien hier ablegen oder klicken ...","Duplicate name":"Doppelter Name","Edit script or just double click":"Skript bearbeiten oder einfach doppelklicken","Empty name is not allowed":"Leerer Name ist nicht zulässig","End search mode":"Suchmodus beenden","Enter your question":"Anfrage eingeben",Error:"Fehler","Error formatting code":"Fehler beim Formatieren des Codes","Error was found":"Fehler wurde gefunden","Every day":"Täglich",Exec:BF,"Executes some shell command":"Führt einen Shell-Befehl aus","Existing scripts will be overwritten.":"Vorhandene Skripte werden überschrieben.","Expand all":"Alle erweitern","Expert mode":"Expertenmodus",Explanation:PF,Export:jF,"Export all scripts":"Alle Skripte exportieren","Export blocks":"Blöcke exportieren","Export selected blocks":"Ausgewählte Blöcke exportieren",Februar:FF,February:zF,Filter:UF,Folder:WF,Fr:HF,Friday:VF,Function:"Funktion","Function editor":"Funktions-Editor","Function: executed":"Funktion: ausgeführt","Go to next line":"Gehe zur nächsten Zeile","HTTP Call":"HTTP-Aufruf","Hide logs":"Protokoll ausblenden",ID:GF,ID1:KF,ID2:JF,Import:qF,"Import blocks":"Blöcke importieren","Import error":"Fehler beim Importieren","Import scripts":"Skripte importieren","Insert object ID":"Objekt-ID einfügen",Instance:YF,"Instance is disabled":"Instanz ist deaktiviert","Instance:":"Instanz:",Instances:XF,Instructions:ZF,"Invalid CRON":"Ungültiger CRON","It will not be possible to revert this operation.":"Dieser Vorgang kann nicht rückgängig gemacht werden.","JS description":"Regeln erstellen mit JavaScript",Januar:QF,January:ez,July:tz,June:nz,"Just check":"Einfach überprüfen","Language:":"Sprache:","Learn More":"Mehr erfahren","Light style":"Heller Stil",Limit:sz,"Local time":"Lokale Zeit","Locate file":"Datei zeigen","Log outputs":"Protokoll","Log text":"Protokolltext","Log: %s":"Log: %s","Make a HTTP get request":"Eine HTTP-Abrufanforderung stellen","Make a pause between actions":"Eine Pause zwischen den Aktionen machen",March:rz,"March ":"März ",May:iz,Menu:oz,Message:az,Mo:lz,Model:cz,Monday:uz,Month:dz,More:hz,Name:pz,"No Chat GPT Key found":"Kein Chat-GPT-Schlüssel gefunden","No active host found":"Kein aktiver Host gefunden","Nothing found":"Nichts gefunden",November:gz,OK:fz,October:mz,Ok:bz,"On condition change":"Bei Änderung des Ergebnis der Bedingung","On script save or adapter start":"Beim Speichern des Skripts oder beim Starten des Adapters","On weekdays":"An Wochentagen","Open configuration":"Konfiguration öffnen","Operate two states":"Zwei Zustände operieren","Operations with two states":"Operationen mit zwei Zuständen",Pause:$z,"Pause execution":"Ausführung pausieren","Pause script":"Skript anhalten","Phone:":"Telefon:","Please select object ID...":"Objekt-ID auswählen ...","Press Ctrl+Enter to get the answer":"Strg+Eingabetaste, um die Antwort zu erhalten","Prettify the script":"Verschönern Sie das Skript","Print some text in log":"Einen Text im Protokoll ausdrucken","Priority:":"Priorität:",Pushover:vz,Pushsafer:yz,"Read only ID selected: %s":"Schreibgeschützte ID ausgewählt: %s",Rename:_z,"Reorder scripts in folders":"Skripte in Ordnern neu ordnen",Repeat:wz,Restart:Cz,Result:Sz,"Resume execution":"Ausführung fortsetzen","Root folder":"Root-Verzeichnis","Rules description":"Regeln erstellen mit WENN-, DANN- und SONST-Blöcken","Run script":"Skript ausführen",Sa:Tz,Saturday:kz,Save:Ez,"Save all":"Alle speichern","Say It":"Say It","Say some text via sayit adapter":"Einen Text über den Sayit-Adapter sagen",Schedule:Iz,Script:xz,"Script %s was modified on disk":'Skript "%s" wurde auf der Festplatte geändert',"Script is not running":"Skript läuft nicht","Search in scripts":"Suche in Skripten","Search...":"Suche...","Select all":"Alles auswählen","Send email":"E-Mail senden","Sends an email":"Sendet eine E-Mail","Sends message via Pushsafer":"Sendet eine Nachricht über Pushsafer","Sends message via pushover":"Sendet eine Nachricht per Pushover","Sends message via telegram":"Sendet eine Nachricht per telegram","Sends message via whatsapp-cmb":"Sendet eine Nachricht über WhatsApp-Cmb",September:Dz,"Server time":"Server-Zeit","Set state action":"Zustand setzten","Set with delay":"Setzen mit Verzögerung","Shell command":"Shell-Befehl","Show astronomical events":"Astronomische Ereignisse anzeigen","Show javascript code":"Javascript-Code zeigen","Show logs":"Protokoll anzeigen","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",Simulate:Az,"Some files will be rejected":"Einige Dateien werden abgelehnt","Sound:":"Klang:",Stack:Oz,Start:Rz,"Start script":"Skript starten",State:Mz,"State condition":"Zustandsbedingung","Step into function":"Schritt in die Funktion","Step out from function":"Raus aus der Funktion","Stop on exception":"Bei Ausnahme anhalten",Su:Nz,"Subject:":"Gegenstand:",Sunday:Lz,"TS description":"Regeln erstellen mit TypeScript",Telegram:Bz,"Text:":"Text:",Th:Pz,"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?","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önnen hier Ihren eigenen Code schreiben, der beim Auslösen ausgeführt wird",Thursday:jz,Time:Fz,"Time condition":"Zeitbedingung","Title:":"Titel:","To:":"Zu:","Trigger with value":"Trigger mit Wert",Triggered:zz,Triggers:Uz,"Triggers the on script saving or the javascript instance restart":"Löst das Speichern des Skripts oder den Neustart der Javascript-Instanz aus","Triggers the rule on update or change of some state":"Löst die Regel beim Aktualisieren oder Ändern eines Zustands aus","Triggers the rule periodically or on some specific time":"Löst periodisch oder zu einem bestimmten Zeitpunkt aus",Tu:Wz,Tuesday:Hz,URL:Vz,"Unknown error":"Unbekannter Fehler","Unknown error!":"Unbekannter Fehler!","Use generated code":"Code verwenden","User function":"Benutzerfunktion","User:":"Benutzer:",Value:Gz,"Vibration:":"Vibration:",Volume:Kz,We:Jz,Wednesday:qz,"Whatsapp-cmb":"WhatsApp-cmb",Write:Yz,"Write your own code":"Eigenen Code schreiben",Yes:Xz,"Yet exists!":"Existiert schon!","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Sie können %s in der URL verwenden, um den aktuellen Triggerwert zu verwenden, %id, um die ausgelöste Objekt-ID zu verwenden, %name, um den ID-Namen des ausgelösten 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önnen %s im Befehl verwenden, um den aktuellen Triggerwert zu verwenden, %id, um die ausgelöste Objekt-ID zu verwenden, %name, um den ID-Namen des ausgelösten Objekts anzuzeigen, oder %old, um den alten Triggerwert zu verwenden","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Sie können %s im Text verwenden, um den aktuellen Triggerwert anzuzeigen, %id, um die ausgelöste Objekt-ID zu verwenden, %name, um den ID-Namen des ausgelösten 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önnen %s im Wert verwenden, um den aktuellen Triggerwert zu verwenden, %id, um die ID des ausgelösten Objekts zu verwenden, %name, um den ID-Namen des ausgelösten Objekts anzuzeigen, oder %old, um den alten Triggerwert zu verwenden","You have to enter OpenAI API key in the configuration of javascript adapter.":"Sie müssen den OpenAI-API-Schlüssel in der Konfiguration des Javascript-Adapters eingeben.","[equal]":"[gleich]","[greater or equal]":"[größer oder gleich]","[greater]":"[größer]","[hysteresis]":"[Hysterese]","[includes]":"[enthält]","[less or equal]":"[kleiner oder gleich]","[less]":"[kleiner]","[not equal]":"[ungleich]",acknowledgment:Zz,all:Qz,and:eU,astro:tU,at:nU,"clear running":"laufende abbrechen",control:sU,copy:rU,cron:iU,dawn:oU,debug_help:aU,debug_label:lU,default:"Standard",dusk:cU,easy:uU,else:"sonst","equal to":"gleich",every:dU,"every hour at 0 minutes":"jede Stunde bei 0 Minuten",false:"falsch","file reading has failed: %s":"Das Lesen der Datei ist fehlgeschlagen: %s","file reading was aborted":"Das Lesen der Datei wurde abgebrochen",filter_func:hU,filter_id:pU,filter_name:gU,filter_role:fU,filter_room:mU,"for edit or create script":"zum Bearbeiten oder zum Erstellen eines neues Skripts","for professionals":"für Profis","for programmers":"für Programmierer",goldenHour:bU,goldenHourEnd:$U,"greater or equal":"größer oder gleich","greater or equal to":"größer oder gleich","greater than":"größer als",help_just_check:vU,help_on_change:yU,"high priority":"hohe Priorität","high-priority":"hohe Priorität","highest priority":"höchste Priorität",hours:_U,includes:wU,interval:CU,"just check":"einfach prüfen","less or equal":"kleiner oder gleich","less or equal to":"kleiner oder gleich","less than":"kleiner als","lower priority":"geringere Priorität","lowest priority":"niedrigste Priorität",magic:SU,milliseconds:TU,minutes:kU,ms:EU,nadir:IU,nauticalDawn:xU,nauticalDusk:DU,nextSunrise:AU,nextSunset:OU,night:RU,nightEnd:MU,"no blocks found":"Keine Blöcke gefunden","no group":"KEINE GRUPPE",normal:NU,"normal priority":"normale Priorität","not equal to":"ungleich","not properly connected":"Dieser Block ist mit anderen nicht richtig verbunden.",offset:LU,"on change":"bei Änderung","on condition change":"bei Zustandsänderung","on update":"beim Aktualisieren",one:BU,or:PU,quiet:jU,"reset search":"Suche zurücksetzen",search:FU,seconds:zU,solarNoon:UU,"store in":"speichern in",sunrise:WU,sunriseEnd:HU,sunset:VU,sunsetStart:GU,then:KU,"toggle value":"Wert umschalten",tooltip_ack:JU,tooltip_from:qU,tooltip_lc:YU,tooltip_quality:XU,tooltip_ts:ZU,tooltip_user:QU,tooltip_value:eW,true:"wahr",two:tW,undefined:"nicht definiert",update:nW,"use seconds":"Sekunden verwenden","use trigger value":"Triggerwert benutzen",verbose_help:sW,verbose_label:rW,when:iW,with:"mit","with date":"mit Datum","with offset":"mit Versatz",wizard:oW},lW="Admitido",cW="Comportamiento",uW="Añadir",dW="Todos",hW="Alguna",pW="Apply",gW="abril",fW="Preguntar",mW="Astronómico",bW="agosto",$W="Cancelar",vW="Cerrar",yW="Condición",_W="Condiciones",wW="Consola",CW="Copiado",SW="diciembre",TW="Defecto",kW="Demora",EW="Eliminar",IW="Descripción",xW="Hecho",DW="Ejecutivo shell",AW="Explicación",OW="Exportar",RW="Februar",MW="febrero",NW="Filtrar",LW="Carpeta",BW="P.",PW="viernes",jW="CARNÉ DE IDENTIDAD",FW="ID1",zW="ID2",UW="Importar",WW="Ejemplo",HW="Instancias",VW="Instrucciones",GW="Enero",KW="enero",JW="julio",qW="junio",YW="Límite",XW="marzo",ZW="Mayo",QW="Menú",e3="Mensaje",t3="Mes",n3="Modelo",s3="lunes",r3="Mes",i3="Más",o3="Nombre",a3="noviembre",l3="OK",c3="octubre",u3="Okay",d3="Pausa",h3="Persona fácil de convencer",p3="Pushsafer",g3="Rebautizar",f3="Repetir",m3="Reiniciar",b3="Resultado",$3="Sa",v3="sábado",y3="Salvar",_3="Calendario",w3="Guión",C3="septiembre",S3="Simular",T3="Stack",k3="Comienzo",E3="Expresar",I3="Su",x3="domingo",D3="Telegrama",A3="4",O3="jueves",R3="Tiempo",M3="Motivado",N3="Disparadores",L3="Tu",B3="martes",P3="URL",j3="Valor",F3="Volumen",z3="3",U3="miércoles",W3="Escribir",H3="sí",V3="Reconocimiento",G3="todos",K3="y",J3="astro",q3="a",Y3="control",X3="Copiar",Z3="CRON",Q3="Amanecer",e5="Este es un modo especial en el que los estados y los objetos no cambiarán. Pero solo se mostrará información sobre cada cambio planificado en el protocolo.",t5="Depurar",n5="Oscuridad",s5="fácil",r5="cada",i5="Función",o5="CARNÉ DE IDENTIDAD",a5="Nombre",l5="Papel",c5="Habitación",u5="hora dorada",d5="Fin de la hora dorada",h5='El código se ejecutará solo cada vez que la condición sea verdadera. P.ej. si se activa en el valor del sensor de temperatura y la condición es "si la temperatura es superior a 20 ° C", las acciones "entonces" se ejecutarán cada vez que el sensor envíe la temperatura y supere los 20 ° C. Por 21 ° C, por 22 ° C y así sucesivamente.',p5='El código se ejecutará solo si cambia el resultado de la condición. P.ej. si se activa en el valor del sensor de temperatura y la condición es "si la temperatura es superior a 20 ° C", las acciones "entonces" se ejecutarán una vez cuando la temperatura sea superior a 20. La próxima vez, las acciones "entonces" se ejecutarán cuando la temperatura falla por debajo de 20 y luego sube por encima de 20 nuevamente.',g5="horas",f5="incluye",m5="intervalo",b5="magia",$5="milisegundos",v5="minutos",y5="ms",_5="nadir",w5="Amanecer náutico",C5="Atardecer náutico",S5="próximo amanecer",T5="Próxima puesta de sol",k5="Noche",E5="Fin de la noche",I5="normal",x5="compensar",D5="uno",A5="o",O5="tranquilo",R5="buscar",M5="segundos",N5="Mediodía solar",L5="amanecer",B5="Final del amanecer",P5="puesta de sol",j5="Inicio al atardecer",F5="entonces",z5="Reconocer",U5="De",W5="Último cambio",H5="Calidad",V5="Marca de tiempo",G5="Usuario",K5="Valor",J5="dos",q5="actualizar",Y5="Agrega salida de depuración al registro para muchos comandos del sistema",X5="Salidas de registro detalladas",Z5="cuando",Q5="Wizard",eH={"%s not found":"%s no encontrado","()":"()","(optional)":"(Opcional)","-":"-",".":".","AI code generator":"Generador de código de IA",Ack:lW,Actions:cW,"Actual time of day":"Hora real del día",Add:uW,"Add new script":"Agregar nuevo script",All:dW,"All files will be accepted":"Todos los archivos serán aceptados.",Any:hW,"Any month":"Cualquier mes",Apply:pW,April:gW,"Are you sure?":"¿Estás seguro?",Ask:fW,Astronomical:mW,"Astronomical events today":"Eventos astronómicos hoy",August:bW,"Blockly description":"Crear reglas por bloques gráficos","Body:":"Cuerpo:",Cancel:$W,"Cannot delete non empty item!":"¡No se puede eliminar un elemento no vacío!","Change layout":"Cambia el diseño",'Change theme (actual "%s")':'Cambiar tema (ahora - "%s")',"Check blocks":"Comprobar bloques","Check is not active, because javascript adapter is disabled":"La comprobación no está activa porque el adaptador Javascript está desactivado","Clear search input":"Borrar entrada de búsqueda","Click on this icon":"Haga clic en este ícono",Close:vW,"Close all but current":"Cerrar todo menos el actual","Collapse all":"Desplegar todo","Compares current time with astronomical event":"Compara la hora actual con un evento astronómico","Compares current time with the user specific time":"Compara la hora actual con la hora específica del usuario","Compares the state value with user defined value":"Compara el valor del estado con el valor definido por el usuario",Condition:yW,Conditions:_W,"Configuration not saved.":"Configuración no guardada.",Console:wW,"Control or update some state":"Controlar o actualizar algún estado","Control or update some state with delay":"Controlar o actualizar algún estado con retraso","Convert blockly to javascript for ever.":"Convierta instantáneamente en bloque a Javascript.",Copied:CW,"Copy script":"Copiar guion","Copy to clipboard":"Copiar al portapapeles","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",Date:"Fecha","Debug instance":"Instancia de depuración","Debug options":"Opciones de depuración",December:SW,Default:TW,"Define cron...":"Definir cron ...","Define schedule...":"Definir horario ...",Delay:kW,Delete:EW,"Delete %s":"Eliminar %s ...","Delete folder":"Eliminar carpeta","Delete script":"Eliminar guión",Description:IW,"Deselect all":"Deseleccionar todo","Discard changes for %s":"Descartar cambios para %s",Done:xW,"Double click to write value":"Doble clic para escribir el valor","Download as file":"Descargar como archivo","Drop some files here or click...":"Suelta algunos archivos aquí o haz clic ...","Duplicate name":"Nombre duplicado","Edit script or just double click":"Editar guión o simplemente hacer doble clic","Empty name is not allowed":"No se permite el nombre vacío","End search mode":"Fin del modo de búsqueda","Enter your question":"Ingrese su solicitud",Error:"Error","Error formatting code":"Código de formato de error","Error was found":"Error encontrado","Every day":"Diario",Exec:DW,"Executes some shell command":"Ejecuta algún comando de shell","Existing scripts will be overwritten.":"Los guiones existentes se sobrescribirán.","Expand all":"Expandir todo","Expert mode":"Modo experto",Explanation:AW,Export:OW,"Export all scripts":"Exportar todos los scripts","Export blocks":"Exportar bloques","Export selected blocks":"Exportar bloques seleccionados",Februar:RW,February:MW,Filter:NW,Folder:LW,Fr:BW,Friday:PW,Function:"Función","Function editor":"Editor de funciones","Function: executed":"Función: ejecutada","Go to next line":"Ir a la siguiente línea","HTTP Call":"Llamada HTTP","Hide logs":"Ocultar registros",ID:jW,ID1:FW,ID2:zW,Import:UW,"Import blocks":"Importar bloques","Import error":"Error de importación","Import scripts":"Importar guiones","Insert object ID":"Insertar ID de objeto",Instance:WW,"Instance is disabled":"La instancia está deshabilitada","Instance:":"Ejemplo:",Instances:HW,Instructions:VW,"Invalid CRON":"CRON inválido","It will not be possible to revert this operation.":"No será posible revertir esta operación.","JS description":"Crear reglas escribiendo Javascript",Januar:GW,January:KW,July:JW,June:qW,"Just check":"Sólo revisa","Language:":"Idioma:","Learn More":"Aprende más","Light style":"Estilo ligero",Limit:YW,"Local time":"Hora local","Locate file":"Localizar el archivo","Log outputs":"Salidas de registro","Log text":"Texto de registro","Log: %s":"Log: %s","Make a HTTP get request":"Realizar una solicitud de obtención HTTP","Make a pause between actions":"Hacer una pausa entre acciones",March:XW,"March ":"marzo",May:ZW,Menu:QW,Message:e3,Mo:t3,Model:n3,Monday:s3,Month:r3,More:i3,Name:o3,"No Chat GPT Key found":"No se ha encontrado ninguna clave GPT de chat","No active host found":"No se encontró un host activo","Nothing found":"Nada Encontrado",November:a3,OK:l3,October:c3,Ok:u3,"On condition change":"En condición de cambio","On script save or adapter start":"Al guardar el script o al iniciar el adaptador","On weekdays":"De lunes a viernes","Open configuration":"Configuración abierta","Operate two states":"Operar dos estados","Operations with two states":"Operaciones con dos estados",Pause:d3,"Pause execution":"Pausar ejecución","Pause script":"Pausar guion","Phone:":"Teléfono:","Please select object ID...":"Por favor, seleccione la ID del objeto ...","Press Ctrl+Enter to get the answer":"Presiona Ctrl+Enter para obtener la respuesta","Prettify the script":"Embellecer el guión","Print some text in log":"Imprime texto en el registro","Priority:":"Prioridad:",Pushover:h3,Pushsafer:p3,"Read only ID selected: %s":"ID de solo lectura seleccionado: %s",Rename:g3,"Reorder scripts in folders":"Reordenar guiones en carpetas",Repeat:f3,Restart:m3,Result:b3,"Resume execution":"Reanudar ejecución","Root folder":"Carpeta raíz","Rules description":"Crea reglas con bloques IF, THEN, ELSE","Run script":"Ejecutar guión",Sa:$3,Saturday:v3,Save:y3,"Save all":"Salvar a todos","Say It":"Say It","Say some text via sayit adapter":"Di un mensaje de texto a través del adaptador sayit",Schedule:_3,Script:w3,"Script %s was modified on disk":"El script %s fue modificado en el disco","Script is not running":"El script no se está ejecutando","Search in scripts":"Buscar en guiones","Search...":"Buscar...","Select all":"Seleccionar todo","Send email":"Enviar correo electrónico","Sends an email":"Envía un correo electrónico","Sends message via Pushsafer":"Envía mensaje a través de Pushsafer","Sends message via pushover":"Envía un mensaje a través de un pushover","Sends message via telegram":"Envía mensaje por telegrama","Sends message via whatsapp-cmb":"Envía mensaje vía whatsapp-cmb",September:C3,"Server time":"Tiempo del servidor","Set state action":"Establecer acción estatal","Set with delay":"Establecer con retraso","Shell command":"Comando de Shell","Show astronomical events":"Mostrar eventos astronómicos","Show javascript code":"Mostrar código Javascript","Show logs":"Mostrar registros","Show only paused scripts":"Mostrar solo secuencias de comandos pausadas","Show only running scripts":"Mostrar solo scripts en ejecución","Show only scripts with problems":"Mostrar solo guiones con problemas",Simulate:S3,"Some files will be rejected":"Algunos archivos serán rechazados","Sound:":"Sonido:",Stack:T3,Start:k3,"Start script":"Iniciar guion",State:E3,"State condition":"Condición del estado","Step into function":"Entra en función","Step out from function":"Sal de la función","Stop on exception":"Deténgase en excepción",Su:I3,"Subject:":"Sujeto:",Sunday:x3,"TS description":"Crear reglas escribiendo el mecanografiado",Telegram:D3,"Text:":"Texto:",Th:A3,"The script will be stopped and must be activated manually after debugging. Continue?":"El script se detendrá y deberá activarse manualmente después de la depuración. ¿Continuar?","This is advances option. You can write your own code here and it will be executed on trigger":"Esta es la opción de avances. Puede escribir su propio código aquí y se ejecutará en el disparador",Thursday:O3,Time:R3,"Time condition":"Condición de tiempo","Title:":"Título:","To:":"A:","Trigger with value":"Activar con valor",Triggered:M3,Triggers:N3,"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ón o cambio de algún estado","Triggers the rule periodically or on some specific time":"Activa la regla periódicamente o en un momento específico",Tu:L3,Tuesday:B3,URL:P3,"Unknown error":"Error desconocido","Unknown error!":"¡Error desconocido!","Use generated code":"Usar código generado","User function":"Función de usuario","User:":"Usuario:",Value:j3,"Vibration:":"Vibración:",Volume:F3,We:z3,Wednesday:U3,"Whatsapp-cmb":"Whatsapp-cmb",Write:W3,"Write your own code":"Escribe tu propio código",Yes:H3,"Yet exists!":"¡Sin embargo existe!","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ón 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ón 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ón 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ón anterior","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ón 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ón 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ón 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ón antiguo","You have to enter OpenAI API key in the configuration of javascript adapter.":"Debe ingresar la clave API de OpenAI en la configuración del adaptador de JavaScript.","[equal]":"[igual]","[greater or equal]":"[mayor o igual]","[greater]":"[mayor que]","[hysteresis]":"[histéresis]","[includes]":"[incluye]","[less or equal]":"[menor o igual]","[less]":"[menos]","[not equal]":"[no es igual]",acknowledgment:V3,all:G3,and:K3,astro:J3,at:q3,"clear running":"carrera clara",control:Y3,copy:X3,cron:Z3,dawn:Q3,debug_help:e5,debug_label:t5,default:"defecto",dusk:n5,easy:s5,else:"demás","equal to":"igual a",every:r5,"every hour at 0 minutes":"cada hora a los 0 minutos",false:"falso","file reading has failed: %s":"la lectura del archivo ha fallado: %s","file reading was aborted":"la lectura del archivo fue abortada",filter_func:i5,filter_id:o5,filter_name:a5,filter_role:l5,filter_room:c5,"for edit or create script":"para editar o crear un nuevo script","for professionals":"para profesionales","for programmers":"para programadores",goldenHour:u5,goldenHourEnd:d5,"greater or equal":"mayor o igual","greater or equal to":"mayor o igual a","greater than":"mas grande que",help_just_check:h5,help_on_change:p5,"high priority":"alta prioridad","high-priority":"alta prioridad","highest priority":"más alta prioridad",hours:g5,includes:f5,interval:m5,"just check":"Sólo revisa","less or equal":"menor o igual","less or equal to":"menor o igual a","less than":"menos que","lower priority":"prioridad más baja","lowest priority":"prioridad más baja",magic:b5,milliseconds:$5,minutes:v5,ms:y5,nadir:_5,nauticalDawn:w5,nauticalDusk:C5,nextSunrise:S5,nextSunset:T5,night:k5,nightEnd:E5,"no blocks found":"No se encontraron bloques","no group":"NO GRUPO",normal:I5,"normal priority":"prioridad normal","not equal to":"no igual a","not properly connected":"Este bloque no está conectado correctamente a otros bloques.",offset:x5,"on change":"en el cambio","on condition change":"con cambio de condición","on update":"en actualización",one:D5,or:A5,quiet:O5,"reset search":"restablecer la búsqueda",search:R5,seconds:M5,solarNoon:N5,"store in":"almacenar en",sunrise:L5,sunriseEnd:B5,sunset:P5,sunsetStart:j5,then:F5,"toggle value":"alternar valor",tooltip_ack:z5,tooltip_from:U5,tooltip_lc:W5,tooltip_quality:H5,tooltip_ts:V5,tooltip_user:G5,tooltip_value:K5,true:"cierto",two:J5,undefined:"indefinido",update:q5,"use seconds":"usar segundos","use trigger value":"usar valor de activación",verbose_help:Y5,verbose_label:X5,when:Z5,with:"con","with date":"con fecha","with offset":"con desplazamiento",wizard:Q5},tH="Reconnu",nH="Actions",sH="Ajouter",rH="Tout",iH="Tout",oH="Postuler",aH="avril",lH="Demander",cH="Astronomique",uH="août",dH="Annuler",hH="proche",pH="État",gH="Conditions",fH="Console",mH="Copié",bH="décembre",$H="Défaut",vH="Retard",yH="Effacer",_H="Description",wH="Terminé",CH="Exec shell",SH="Explication",TH="Exportation",kH="Février",EH="février",IH="Filtre",xH="Dossier",DH="Fr",AH="Vendredi",OH="ID",RH="ID1",MH="ID2",NH="Importation",LH="Exemple",BH="Instances",PH="Instructions",jH="Janvier",FH="janvier",zH="juillet",UH="juin",WH="Limite",HH="Mars",VH="Mai",GH="M e n u",KH="Message",JH="Mo",qH="Modèle",YH="Lundi",XH="Mois",ZH="Plus",QH="Nom",e4="novembre",t4="OK",n4="octobre",s4="D'accord",r4="Pause",i4="Pushover",o4="Pushsafer",a4="Renommer",l4="Répéter",c4="Redémarrer",u4="Résultat",d4="Sa",h4="samedi",p4="sauver",g4="Horaire",f4="Scénario",m4="septembre",b4="Simuler",$4="Stack",v4="Début",y4="État",_4="Su",w4="dimanche",C4="Télégramme",S4="4",T4="Jeudi",k4="Temps",E4="Déclenché",I4="Déclencheurs",x4="Tu",D4="Mardi",A4="URL",O4="Valeur",R4="Le volume",M4="3",N4="Mercredi",L4="Écrivez",B4="Oui",P4="reconnaissance",j4="tout",F4="et",z4="astro",U4="à",W4="contrôler",H4="copie",V4="CRON",G4="Aube",K4="Il s'agit d'un mode spécial dans lequel les états et les objets ne changeront pas. Mais seules les informations sur chaque changement prévu seront affichées dans le protocole.",J4="Déboguer",q4="Crépuscule",Y4="facile",X4="chaque",Z4="Une fonction",Q4="ID",e8="Nom",t8="Rôle",n8="Pièce",s8="Heure d'or",r8="Fin de l'heure d'or",i8="Le code ne sera exécuté que chaque fois que la condition est vraie. Par exemple. si déclenchement sur la valeur du capteur de température et que la condition est «si la température est supérieure à 20 ° C», les actions «alors» seront exécutées à chaque fois que le capteur envoie la température et qu'elle est supérieure à 20 ° C. À 21 ° C, à 22 ° C et ainsi de suite.",o8="Le code ne sera exécuté que si le résultat de la condition change. Par exemple. si le déclenchement sur la valeur du capteur de température et que la condition est «si la température est supérieure à 20 ° C», les actions «alors» seront exécutées une fois lorsque la température est supérieure à 20. La prochaine fois, les actions «alors» seront exécutées lorsque la température échoue sous 20 puis remonte au-dessus de 20.",a8="les heures",l8="comprend",c8="intervalle",u8="la magie",d8="millisecondes",h8="minutes",p8="ms",g8="nadir",f8="Aube nautique",m8="Crépuscule nautique",b8="Prochain lever de soleil",$8="Prochain coucher de soleil",v8="Nuit",y8="Fin de nuit",_8="Ordinaire",w8="décalage",C8="une",S8="ou",T8="calmer",k8="chercher",E8="secondes",I8="Midi solaire",x8="lever du soleil",D8="Fin du lever du soleil",A8="le coucher du soleil",O8="Début du coucher du soleil",R8="alors",M8="Reconnaître",N8="De",L8="Dernière modification",B8="Qualité",P8="Horodatage",j8="Utilisateur",F8="Valeur",z8="deux",U8="mettre à jour",W8="Ajoute une sortie de débogage au journal pour de nombreuses commandes système",H8="Sorties de journal détaillées",V8="lorsque",G8="Wizard",K8={"%s not found":"%s non trouvé","()":"()","(optional)":"(optionnel)","-":"-",".":".","AI code generator":"Générateur de code IA",Ack:tH,Actions:nH,"Actual time of day":"Heure réelle de la journée",Add:sH,"Add new script":"Ajouter un nouveau script",All:rH,"All files will be accepted":"Tous les fichiers seront acceptés",Any:iH,"Any month":"N'importe quel mois",Apply:oH,April:aH,"Are you sure?":"Êtes-vous sûr?",Ask:lH,Astronomical:cH,"Astronomical events today":"Événements astronomiques aujourd'hui",August:uH,"Blockly description":"Création de règles par blocs graphiques","Body:":"Corps:",Cancel:dH,"Cannot delete non empty item!":"Impossible de supprimer un élément non vide!","Change layout":"Changer la disposition",'Change theme (actual "%s")':'Changer de thème (maintenant - "%s")',"Check blocks":"Vérifier les blocs","Check is not active, because javascript adapter is disabled":"La vérification n'est pas active, car l'adaptateur Javascript est désactivé","Clear search input":"Effacer la recherche","Click on this icon":"Cliquez sur cette icône",Close:hH,"Close all but current":"Ferme tout sauf courant","Collapse all":"Réduire tout","Compares current time with astronomical event":"Compare l'heure actuelle avec un événement astronomique","Compares current time with the user specific time":"Compare l'heure actuelle avec l'heure spécifique de l'utilisateur","Compares the state value with user defined value":"Compare la valeur d'état avec la valeur définie par l'utilisateur",Condition:pH,Conditions:gH,"Configuration not saved.":"Configuration non enregistrée.",Console:fH,"Control or update some state":"Contrôler ou mettre à jour un état","Control or update some state with delay":"Contrôler ou mettre à jour un état avec un délai","Convert blockly to javascript for ever.":"Convertissez instantanément en Javascript.",Copied:mH,"Copy script":"Copier le script","Copy to clipboard":"Copier dans le presse-papier","Create new":"Créer un nouveau","Create new folder":"Créer un nouveau dossier","Create new script":"Créer un nouveau script","Create or edit CRON or time wizard":"Créer ou éditer CRON ou un assistant de temps","Dark Theme":"Thème sombre","Dark style":"Style sombre",Date:"Date","Debug instance":"Instance de débogage","Debug options":"Options de débogage",December:bH,Default:$H,"Define cron...":"Définir le cron ...","Define schedule...":"Définir le calendrier ...",Delay:vH,Delete:yH,"Delete %s":"Supprimer %s ...","Delete folder":"Supprimer le dossier","Delete script":"Supprimer le script",Description:_H,"Deselect all":"Tout déselectionner","Discard changes for %s":"Ignorer les modifications pour %s",Done:wH,"Double click to write value":"Double clic pour écrire la valeur","Download as file":"Télécharger le fichier","Drop some files here or click...":"Déposer des fichiers ici ou cliquez sur ...","Duplicate name":"Nom en double","Edit script or just double click":"Modifiez le script ou double-cliquez simplement sur","Empty name is not allowed":"Le nom vide n'est pas autorisé","End search mode":"Fin du mode de recherche","Enter your question":"Entrez votre demande",Error:"Erreur","Error formatting code":"Erreur lors du formatage du code","Error was found":"Une erreur a été trouvée","Every day":"Tous les jours",Exec:CH,"Executes some shell command":"Exécute une commande shell","Existing scripts will be overwritten.":"Les scripts existants seront écrasés.","Expand all":"Développer tout","Expert mode":"Mode expert",Explanation:SH,Export:TH,"Export all scripts":"Exporter tous les scripts","Export blocks":"Blocs d'exportation","Export selected blocks":"Exporter les blocs sélectionnés",Februar:kH,February:EH,Filter:IH,Folder:xH,Fr:DH,Friday:AH,Function:"Fonction","Function editor":"Éditeur de fonction","Function: executed":"Fonction : exécutée","Go to next line":"Aller à la ligne suivante","HTTP Call":"Appel HTTP","Hide logs":"Masquer les journaux",ID:OH,ID1:RH,ID2:MH,Import:NH,"Import blocks":"Blocs d'importation","Import error":"Erreur d'importation","Import scripts":"Importer des scripts","Insert object ID":"Insérer un identifiant d'objet",Instance:LH,"Instance is disabled":"L'instance est désactivée","Instance:":"Exemple:",Instances:BH,Instructions:PH,"Invalid CRON":"CRON invalide","It will not be possible to revert this operation.":"Il ne sera pas possible de revenir sur cette opération.","JS description":"Créer des règles en écrivant du Javascript",Januar:jH,January:FH,July:zH,June:UH,"Just check":"Vérifiez simplement","Language:":"Langue:","Learn More":"Apprendre encore plus","Light style":"Style de lumière",Limit:WH,"Local time":"Heure locale","Locate file":"Localiser le fichier","Log outputs":"Journal des sorties","Log text":"Texte du journal","Log: %s":"Log : %s","Make a HTTP get request":"Faire une requête HTTP Get","Make a pause between actions":"Faites une pause entre les actions",March:HH,"March ":"mars",May:VH,Menu:GH,Message:KH,Mo:JH,Model:qH,Monday:YH,Month:XH,More:ZH,Name:QH,"No Chat GPT Key found":"Aucune clé GPT de chat trouvée","No active host found":"Aucun hôte actif trouvé","Nothing found":"Rien n'a été trouvé",November:e4,OK:t4,October:n4,Ok:s4,"On condition change":"En cas de changement de condition","On script save or adapter start":"Lors de l'enregistrement du script ou du démarrage de l'adaptateur","On weekdays":"En semaine","Open configuration":"Configuration ouverte","Operate two states":"Opérer deux états","Operations with two states":"Opérations à deux états",Pause:r4,"Pause execution":"Suspendre l'exécution","Pause script":"Script de pause","Phone:":"Téléphone:","Please select object ID...":"Veuillez sélectionner l'ID d'objet ...","Press Ctrl+Enter to get the answer":"Appuyez sur Ctrl+Entrée pour obtenir la réponse","Prettify the script":"Embellir le scénario","Print some text in log":"Imprimer du texte dans le journal","Priority:":"Priorité:",Pushover:i4,Pushsafer:o4,"Read only ID selected: %s":"ID en lecture seule sélectionné: %s",Rename:a4,"Reorder scripts in folders":"Réorganiser les scripts dans des dossiers",Repeat:l4,Restart:c4,Result:u4,"Resume execution":"Reprendre l'exécution","Root folder":"Dossier racine","Rules description":"Créer des règles avec des blocs IF, THEN, ELSE","Run script":"Script de lancement",Sa:d4,Saturday:h4,Save:p4,"Save all":"Sauver tous","Say It":"Say It","Say some text via sayit adapter":"Dites du texte via l'adaptateur sayit",Schedule:g4,Script:f4,"Script %s was modified on disk":"Le script %s a été modifié sur le disque","Script is not running":"Le script n'est pas en cours d'exécution","Search in scripts":"Rechercher dans les scripts","Search...":"Chercher...","Select all":"Tout sélectionner","Send email":"Envoyer un e-mail","Sends an email":"Envoie un e-mail","Sends message via Pushsafer":"Envoie un message via Pushsafer","Sends message via pushover":"Envoie un message via pushover","Sends message via telegram":"Envoie un message par télégramme","Sends message via whatsapp-cmb":"Envoie un message via whatsapp-cmb",September:m4,"Server time":"Heure du serveur","Set state action":"Définir l'action de l'état","Set with delay":"Set avec retard","Shell command":"Commande Shell","Show astronomical events":"Afficher les événements astronomiques","Show javascript code":"Afficher le code Javascript","Show logs":"Afficher les journaux","Show only paused scripts":"Afficher uniquement les scripts en pause","Show only running scripts":"Afficher uniquement les scripts en cours d'exécution","Show only scripts with problems":"Afficher uniquement les scripts avec des problèmes",Simulate:b4,"Some files will be rejected":"Certains fichiers seront rejetés","Sound:":"Sonner:",Stack:$4,Start:v4,"Start script":"Lancer le script",State:y4,"State condition":"État condition","Step into function":"Entrez dans la fonction","Step out from function":"Sortez de la fonction","Stop on exception":"Arrêt sur exception",Su:_4,"Subject:":"Sujet:",Sunday:w4,"TS description":"Créer des règles en écrivant des caractères dactylographiés",Telegram:C4,"Text:":"Texte:",Th:S4,"The script will be stopped and must be activated manually after debugging. Continue?":"Le script sera arrêté et doit être activé manuellement après le débogage. Continuez?","This is advances option. You can write your own code here and it will be executed on trigger":"C'est une option avancée. Vous pouvez écrire votre propre code ici et il sera exécuté au déclenchement",Thursday:T4,Time:k4,"Time condition":"Condition de temps","Title:":"Titre:","To:":"À:","Trigger with value":"Déclencheur avec valeur",Triggered:E4,Triggers:I4,"Triggers the on script saving or the javascript instance restart":"Déclenche l'enregistrement du script ou le redémarrage de l'instance javascript","Triggers the rule on update or change of some state":"Déclenche la règle sur la mise à jour ou le changement d'un état","Triggers the rule periodically or on some specific time":"Déclenche la règle périodiquement ou à une heure précise",Tu:x4,Tuesday:D4,URL:A4,"Unknown error":"Erreur inconnue","Unknown error!":"Erreur inconnue!","Use generated code":"Utiliser le code généré","User function":"Fonction utilisateur","User:":"Utilisateur:",Value:O4,"Vibration:":"Vibration:",Volume:R4,We:M4,Wednesday:N4,"Whatsapp-cmb":"Whatsapp-cmb",Write:L4,"Write your own code":"Écrivez votre propre code",Yes:B4,"Yet exists!":"Pourtant existe!","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éclenchement actuelle, %id pour utiliser l'ID de l'objet déclenché, %name pour afficher le nom de l'ID de l'objet déclenché ou %old pour utiliser l'ancienne valeur de déclenchement","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éclenchement actuelle, %id pour utiliser l'ID de l'objet déclenché, %name pour afficher le nom de l'ID de l'objet déclenché ou %old pour utiliser l'ancienne valeur de déclenchement","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éclenchement actuelle, %id pour utiliser l'ID de l'objet déclenché, %name pour afficher le nom de l'ID de l'objet déclenché ou %old pour utiliser l'ancienne valeur de déclenchement","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éclenchement actuelle, %id pour utiliser l'ID de l'objet déclenché, %name pour afficher le nom de l'ID de l'objet déclenché ou %old pour utiliser l'ancienne valeur de déclenchement","You have to enter OpenAI API key in the configuration of javascript adapter.":"Vous devez entrer la clé API OpenAI dans la configuration de l'adaptateur javascript.","[equal]":"[égal]","[greater or equal]":"[supérieur ou égal]","[greater]":"[plus grand]","[hysteresis]":"[hystérèse]","[includes]":"[comprend]","[less or equal]":"[inférieur ou égal]","[less]":"[moins]","[not equal]":"[inégal]",acknowledgment:P4,all:j4,and:F4,astro:z4,at:U4,"clear running":"course claire",control:W4,copy:H4,cron:V4,dawn:G4,debug_help:K4,debug_label:J4,default:"défaut",dusk:q4,easy:Y4,else:"autre","equal to":"égal à",every:X4,"every hour at 0 minutes":"toutes les heures à 0 minute",false:"faux","file reading has failed: %s":"La lecture du fichier a échoué: %s","file reading was aborted":"la lecture du fichier a été abandonnée",filter_func:Z4,filter_id:Q4,filter_name:e8,filter_role:t8,filter_room:n8,"for edit or create script":"pour éditer ou créer un nouveau script","for professionals":"pour les professionnels","for programmers":"pour les programmeurs",goldenHour:s8,goldenHourEnd:r8,"greater or equal":"supérieur ou égal","greater or equal to":"supérieur ou égal à","greater than":"plus grand que",help_just_check:i8,help_on_change:o8,"high priority":"haute priorité","high-priority":"haute priorité","highest priority":"priorité la plus élevée",hours:a8,includes:l8,interval:c8,"just check":"Vérifiez simplement","less or equal":"inférieur ou égal","less or equal to":"inférieur ou égal à","less than":"moins que","lower priority":"priorité inférieure","lowest priority":"priorité la plus basse",magic:u8,milliseconds:d8,minutes:h8,ms:p8,nadir:g8,nauticalDawn:f8,nauticalDusk:m8,nextSunrise:b8,nextSunset:$8,night:v8,nightEnd:y8,"no blocks found":"Aucun bloc trouvé","no group":"PAS DE GROUPE",normal:_8,"normal priority":"priorité normale","not equal to":"pas égal à","not properly connected":"Ce bloc n'est pas correctement connecté à d'autres blocs.",offset:w8,"on change":"sur le changement","on condition change":"sur changement de condition","on update":"sur mise à jour",one:C8,or:S8,quiet:T8,"reset search":"Réinitialiser la recherche",search:k8,seconds:E8,solarNoon:I8,"store in":"stocker dans",sunrise:x8,sunriseEnd:D8,sunset:A8,sunsetStart:O8,then:R8,"toggle value":"valeur de bascule",tooltip_ack:M8,tooltip_from:N8,tooltip_lc:L8,tooltip_quality:B8,tooltip_ts:P8,tooltip_user:j8,tooltip_value:F8,true:"vrai",two:z8,undefined:"indéfini",update:U8,"use seconds":"utiliser les secondes","use trigger value":"use trigger value",verbose_help:W8,verbose_label:H8,when:V8,with:"avec","with date":"avec date","with offset":"avec offset",wizard:G8},J8="Riconosciuto",q8="Azioni",Y8="Inserisci",X8="Tutti",Z8="Qualunque",Q8="Applica",eV="aprile",tV="Chiedere",nV="Astronomico",sV="agosto",rV="Annulla",iV="Vicino",oV="Condizione",aV="Condizioni",lV="Console",cV="Copiato",uV="dicembre",dV="Predefinito",hV="Ritardo",pV="Elimina",gV="Descrizione",fV="Fatto",mV="Execshell",bV="Spiegazione",$V="Esportare",vV="Februar",yV="febbraio",_V="Filtro",wV="Cartella",CV="P",SV="Venerdì",TV="ID",kV="ID1",EV="ID2",IV="Importare",xV="Esempio",DV="istanze",AV="Istruzioni",OV="Januar",RV="gennaio",MV="luglio",NV="giugno",LV="Limite",BV="marzo",PV="Maggio",jV="Menu",FV="Messaggio",zV="Mo",UV="Modello",WV="Lunedi",HV="Mese",VV="Di più",GV="Nome",KV="novembre",JV="OK",qV="ottobre",YV="Ok",XV="Pausa",ZV="Pushover",QV="Pushsafer",eG="Rinominare",tG="Ripetere",nG="Ricomincia",sG="Risultato",rG="Sa",iG="Sabato",oG="Salva",aG="Programma",lG="copione",cG="settembre",uG="Simulare",dG="Stack",hG="Cominciare",pG="Stato",gG="Su",fG="Domenica",mG="Telegramma",bG="4",$G="giovedi",vG="Tempo",yG="Innescato",_G="Trigger",wG="Tu",CG="martedì",SG="URL",TG="Valore",kG="Volume",EG="3",IG="mercoledì",xG="Scrivi",DG="sì",AG="riconoscimento",OG="tutti",RG="e",MG="astro",NG="a",LG="controllo",BG="copia",PG="CRON",jG="alba",FG="Questa è una modalità speciale in cui gli stati e gli oggetti non cambieranno. Ma nel protocollo verranno visualizzate solo le informazioni su ogni modifica pianificata.",zG="Debug",UG="crepuscolo",WG="facile",HG="ogni",VG="Funzione",GG="ID",KG="Nome",JG="Ruolo",qG="Camera",YG="Ora d'oro",XG="Fine dell'ora d'oro",ZG='Il codice verrà eseguito solo ogni volta che la condizione è vera. Per esempio. se si attiva il valore del sensore di temperatura e la condizione è "se la temperatura è maggiore di 20 ° C", le azioni "allora" verranno eseguite ogni volta che il sensore invia la temperatura e questa è superiore a 20 ° C. Di 21 ° C, di 22 ° C e così via.',QG='Il codice verrà eseguito solo se il risultato della condizione cambia. Per esempio. se si attiva il valore del sensore di temperatura e la condizione è "se la temperatura è maggiore di 20 ° C", le azioni "allora" verranno eseguite una volta quando la temperatura è superiore a 20. La prossima volta le azioni "allora" verranno eseguite quando la temperatura fallisce sotto 20 e poi sale di nuovo oltre 20.',e6="ore",t6="include",n6="intervallo",s6="Magia",r6="millisecondi",i6="minuti",o6="ms",a6="nadir",l6="Alba nautica",c6="Crepuscolo nautico",u6="Prossima alba",d6="Prossimo tramonto",h6="Notte",p6="Fine della notte",g6="normale",f6="compensare",m6="uno",b6="o",$6="silenzioso",v6="ricerca",y6="secondi",_6="Mezzogiorno solare",w6="Alba",C6="Fine dell'alba",S6="tramonto",T6="Inizio del tramonto",k6="poi",E6="Riconoscere",I6="A partire dal",x6="Ultima modifica",D6="Qualità",A6="timestamp",O6="Utente",R6="Valore",M6="Due",N6="aggiornare",L6="Aggiunge l'output di debug al registro per molti comandi di sistema",B6="Output di log dettagliati",P6="quando",j6="procedura guidata",F6={"%s not found":"%s non trovato","()":"()","(optional)":"(opzionale)","-":"-",".":".","AI code generator":"Generatore di codice AI",Ack:J8,Actions:q8,"Actual time of day":"Ora effettiva della giornata",Add:Y8,"Add new script":"Aggiungi nuovo script",All:X8,"All files will be accepted":"Tutti i file saranno accettati",Any:Z8,"Any month":"Ogni mese",Apply:Q8,April:eV,"Are you sure?":"Sei sicuro?",Ask:tV,Astronomical:nV,"Astronomical events today":"Eventi astronomici oggi",August:sV,"Blockly description":"Creazione di regole tramite blocchi grafici","Body:":"Corpo:",Cancel:rV,"Cannot delete non empty item!":"Impossibile eliminare l'elemento non vuoto!","Change layout":"Cambia layout",'Change theme (actual "%s")':'Cambia tema (ora - "%s")',"Check blocks":"Controlla i blocchi","Check is not active, because javascript adapter is disabled":"Il controllo non è attivo perché l'adattatore Javascript è disabilitato","Clear search input":"Cancella input di ricerca","Click on this icon":"Clicca su questa icona",Close:iV,"Close all but current":"Chiudi tutto tranne corrente","Collapse all":"Comprimi tutto","Compares current time with astronomical event":"Confronta l'ora corrente con l'evento astronomico","Compares current time with the user specific time":"Confronta l'ora corrente con l'ora specifica dell'utente","Compares the state value with user defined value":"Confronta il valore dello stato con il valore definito dall'utente",Condition:oV,Conditions:aV,"Configuration not saved.":"Configurazione non salvata.",Console:lV,"Control or update some state":"Controlla o aggiorna uno stato","Control or update some state with delay":"Controlla o aggiorna uno stato con ritardo","Convert blockly to javascript for ever.":"Converti istantaneamente a blocchi in Javascript.",Copied:cV,"Copy script":"Copia script","Copy to clipboard":"Copia negli appunti","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",Date:"Data","Debug instance":"Istanza di debug","Debug options":"Opzioni di debug",December:uV,Default:dV,"Define cron...":"Definisci cron ...","Define schedule...":"Definisci programma ...",Delay:hV,Delete:pV,"Delete %s":"Elimina %s ...","Delete folder":"Elimina cartella","Delete script":"Elimina script",Description:gV,"Deselect all":"Deselezionare tutto","Discard changes for %s":"Annulla modifiche per %s",Done:fV,"Double click to write value":"Doppio clic per scrivere il valore","Download as file":"Scarica come file","Drop some files here or click...":"Trascina alcuni file qui o fai clic su ...","Duplicate name":"Nome duplicato","Edit script or just double click":"Modifica lo script o fai doppio clic","Empty name is not allowed":"Il nome vuoto non è consentito","End search mode":"Termina la modalità di ricerca","Enter your question":"Inserisci la tua richiesta",Error:"Errore","Error formatting code":"Errore di formattazione del codice","Error was found":"Errore trovato","Every day":"Ogni giorno",Exec:mV,"Executes some shell command":"Esegue alcuni comandi della shell","Existing scripts will be overwritten.":"Gli script esistenti verranno sovrascritti.","Expand all":"Espandi tutto","Expert mode":"Modalità esperto",Explanation:bV,Export:$V,"Export all scripts":"Esporta tutti gli script","Export blocks":"Esporta blocchi","Export selected blocks":"Esporta i blocchi selezionati",Februar:vV,February:yV,Filter:_V,Folder:wV,Fr:CV,Friday:SV,Function:"Funzione","Function editor":"Editor di funzioni","Function: executed":"Funzione: eseguita","Go to next line":"Vai alla riga successiva","HTTP Call":"Chiamata HTTP","Hide logs":"Nascondi i registri",ID:TV,ID1:kV,ID2:EV,Import:IV,"Import blocks":"Importa blocchi","Import error":"Errore di importazione","Import scripts":"Importa script","Insert object ID":"Inserisci l'ID oggetto",Instance:xV,"Instance is disabled":"L'istanza è disabilitata","Instance:":"Esempio:",Instances:DV,Instructions:AV,"Invalid CRON":"CRON non valido","It will not be possible to revert this operation.":"Non sarà possibile ripristinare questa operazione.","JS description":"Creare regole scrivendo Javascript",Januar:OV,January:RV,July:MV,June:NV,"Just check":"Controlla solamente","Language:":"Linguaggio:","Learn More":"Per saperne di più","Light style":"Stile leggero",Limit:LV,"Local time":"Ora locale","Locate file":"Localizza file","Log outputs":"Registra le uscite","Log text":"Testo del registro","Log: %s":"Log: %s","Make a HTTP get request":"Effettua una richiesta get HTTP","Make a pause between actions":"Fai una pausa tra le azioni",March:BV,"March ":"marzo",May:PV,Menu:jV,Message:FV,Mo:zV,Model:UV,Monday:WV,Month:HV,More:VV,Name:GV,"No Chat GPT Key found":"Nessuna chiave GPT chat trovata","No active host found":"Nessun host attivo trovato","Nothing found":"Non abbiamo trovato nulla",November:KV,OK:JV,October:qV,Ok:YV,"On condition change":"A condizione che cambino","On script save or adapter start":"Al salvataggio dello script o all'avvio dell'adattatore","On weekdays":"Nei giorni della settimana","Open configuration":"Configurazione aperta","Operate two states":"Gestisci due stati","Operations with two states":"Operazioni con due stati",Pause:XV,"Pause execution":"Metti in pausa l'esecuzione","Pause script":"Metti in pausa lo script","Phone:":"Telefono:","Please select object ID...":"Seleziona l'ID oggetto ...","Press Ctrl+Enter to get the answer":"Premi Ctrl+Invio per ottenere la risposta","Prettify the script":"Abbellire la sceneggiatura","Print some text in log":"Stampa del testo nel registro","Priority:":"Priorità:",Pushover:ZV,Pushsafer:QV,"Read only ID selected: %s":"ID di sola lettura selezionato: %s",Rename:eG,"Reorder scripts in folders":"Riordina gli script nelle cartelle",Repeat:tG,Restart:nG,Result:sG,"Resume execution":"Riprendi esecuzione","Root folder":"Cartella root","Rules description":"Crea regole con i blocchi IF, THEN, ELSE","Run script":"Esegui script",Sa:rG,Saturday:iG,Save:oG,"Save all":"Salva tutto","Say It":"Say It","Say some text via sayit adapter":"Pronuncia del testo tramite l'adattatore sayit",Schedule:aG,Script:lG,"Script %s was modified on disk":"Lo script %s è stato modificato sul disco","Script is not running":"Lo script non è in esecuzione","Search in scripts":"Cerca negli script","Search...":"Ricerca...","Select all":"Seleziona tutto","Send email":"Invia una email","Sends an email":"Invia un'e-mail","Sends message via Pushsafer":"Invia messaggio tramite Pushsafer","Sends message via pushover":"Invia messaggio tramite pushover","Sends message via telegram":"Invia messaggio tramite telegramma","Sends message via whatsapp-cmb":"Invia messaggio tramite whatsapp-cmb",September:cG,"Server time":"Ora del server","Set state action":"Imposta l'azione dello stato","Set with delay":"Impostato con ritardo","Shell command":"Comando Shell","Show astronomical events":"Mostra eventi astronomici","Show javascript code":"Mostra codice Javascript","Show logs":"Mostra i log","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",Simulate:uG,"Some files will be rejected":"Alcuni file verranno rifiutati","Sound:":"Suono:",Stack:dG,Start:hG,"Start script":"Avvia script",State:pG,"State condition":"Condizione dello stato","Step into function":"Entra in funzione","Step out from function":"Esci dalla funzione","Stop on exception":"Ferma in caso di eccezione",Su:gG,"Subject:":"Soggetto:",Sunday:fG,"TS description":"Creare regole scrivendo dattiloscritto",Telegram:mG,"Text:":"Testo:",Th:bG,"The script will be stopped and must be activated manually after debugging. Continue?":"Lo script verrà interrotto e dovrà essere attivato manualmente dopo il debug. Continua?","This is advances option. You can write your own code here and it will be executed on trigger":"Questa è un'opzione anticipata. Puoi scrivere il tuo codice qui e verrà eseguito al trigger",Thursday:$G,Time:vG,"Time condition":"Condizione temporale","Title:":"Titolo:","To:":"Per:","Trigger with value":"Trigger con valore",Triggered:yG,Triggers:_G,"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","Triggers the rule periodically or on some specific time":"Attiva la regola periodicamente o in un momento specifico",Tu:wG,Tuesday:CG,URL:SG,"Unknown error":"Errore sconosciuto","Unknown error!":"Errore sconosciuto!","Use generated code":"Usa il codice generato","User function":"Funzione utente","User:":"Utente:",Value:TG,"Vibration:":"Vibrazione:",Volume:kG,We:EG,Wednesday:IG,"Whatsapp-cmb":"Whatsapp-cmb",Write:xG,"Write your own code":"Scrivi il tuo codice",Yes:DG,"Yet exists!":"Esiste ancora!","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"È 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 command to use current trigger value or %id to use the triggered object ID":"È 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","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"È 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","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"È 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 have to enter OpenAI API key in the configuration of javascript adapter.":"Devi inserire la chiave API OpenAI nella configurazione dell'adattatore javascript.","[equal]":"[pari]","[greater or equal]":"[maggiore o uguale]","[greater]":"[maggiore]","[hysteresis]":"[isteresi]","[includes]":"[include]","[less or equal]":"[minore o uguale]","[less]":"[Di meno]","[not equal]":"[non uguale]",acknowledgment:AG,all:OG,and:RG,astro:MG,at:NG,"clear running":"chiara esecuzione",control:LG,copy:BG,cron:PG,dawn:jG,debug_help:FG,debug_label:zG,default:"predefinito",dusk:UG,easy:WG,else:"altro","equal to":"uguale a",every:HG,"every hour at 0 minutes":"ogni ora a 0 minuti",false:"falso","file reading has failed: %s":"lettura file non riuscita: %s","file reading was aborted":"la lettura del file è stata interrotta",filter_func:VG,filter_id:GG,filter_name:KG,filter_role:JG,filter_room:qG,"for edit or create script":"per modificare o creare un nuovo script","for professionals":"per i professionisti","for programmers":"per i programmatori",goldenHour:YG,goldenHourEnd:XG,"greater or equal":"maggiore o uguale","greater or equal to":"maggiore o uguale a","greater than":"più grande di",help_just_check:ZG,help_on_change:QG,"high priority":"priorità alta","high-priority":"priorità alta","highest priority":"massima priorità",hours:e6,includes:t6,interval:n6,"just check":"controlla solamente","less or equal":"inferiore o uguale","less or equal to":"minore o uguale a","less than":"meno di","lower priority":"priorità inferiore","lowest priority":"priorità più bassa",magic:s6,milliseconds:r6,minutes:i6,ms:o6,nadir:a6,nauticalDawn:l6,nauticalDusk:c6,nextSunrise:u6,nextSunset:d6,night:h6,nightEnd:p6,"no blocks found":"Nessun blocco trovato","no group":"NESSUN GRUPPO",normal:g6,"normal priority":"priorità normale","not equal to":"non uguale a","not properly connected":"Questo blocco non è correttamente collegato ad altri blocchi.",offset:f6,"on change":"sul cambiamento","on condition change":"a cambio di condizione","on update":"in aggiornamento",one:m6,or:b6,quiet:$6,"reset search":"resetta la ricerca",search:v6,seconds:y6,solarNoon:_6,"store in":"conservare in",sunrise:w6,sunriseEnd:C6,sunset:S6,sunsetStart:T6,then:k6,"toggle value":"alterna valore",tooltip_ack:E6,tooltip_from:I6,tooltip_lc:x6,tooltip_quality:D6,tooltip_ts:A6,tooltip_user:O6,tooltip_value:R6,true:"vero",two:M6,undefined:"non definito",update:N6,"use seconds":"usa i secondi","use trigger value":"usa il trigger",verbose_help:L6,verbose_label:B6,when:P6,with:"con","with date":"con data","with offset":"con offset",wizard:j6},z6="Erkend",U6="Acties",W6="Toevoegen",H6="Alle",V6="Ieder",G6="Solliciteer",K6="april",J6="Vragen",q6="Astronomisch",Y6="augustus",X6="annuleren",Z6="Dichtbij",Q6="Staat",e9="Voorwaarden",t9="Troosten",n9="Gekopieerd",s9="december",r9="Standaard",i9="Vertraging",o9="Verwijder",a9="Beschrijving",l9="Gedaan",c9="Exec shell",u9="Uitleg",d9="Exporteren",h9="Februari",p9="februari",g9="Filter",f9="Map",m9="Vr",b9="vrijdag",$9="ID kaart",v9="ID1",y9="ID2",_9="Importeren",w9="Voorbeeld",C9="Instanties",S9="Instructies",T9="Januar",k9="januari",E9="juli",I9="juni",x9="Begrenzing",D9="maart",A9="mei",O9="Menu",R9="Bericht",M9="Ma",N9="Model",L9="maandag",B9="Maand",P9="Meer",j9="Naam",F9="november",z9="OK",U9="oktober",W9="OK",H9="Pauze",V9="Pushover",G9="Duwijzer",K9="andere naam geven",J9="Herhaling",q9="Herstarten",Y9="Resultaat",X9="Za",Z9="zaterdag",Q9="Opslaan",e7="Schema",t7="Script",n7="september",s7="Simuleren",r7="Stack",i7="Begin",o7="Staat",a7="Zo",l7="zondag",c7="Telegram",u7="4",d7="donderdag",h7="Tijd",p7="Veroorzaakt",g7="Triggers",f7="Di",m7="dinsdag",b7="URL",$7="Waarde",v7="Volume",y7="3",_7="woensdag",w7="Schrijven",C7="Ja",S7="erkenning",T7="alle",k7="en",E7="astro",I7="Bij",x7="controle",D7="kopiëren",A7="cron",O7="dageraad",R7="Dit is een speciale modus waarin toestanden en objecten niet veranderen. Maar alleen informatie over elke geplande wijziging wordt in het protocol weergegeven.",M7="Debuggen",N7="schemer",L7="eenvoudig",B7="elke",P7="Functie",j7="ID kaart",F7="Naam",z7="Rol",U7="Kamer",W7="gouden uur",H7="Einde van gouden uur",V7='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 ° C", zullen de "dan" acties worden uitgevoerd elke keer dat de sensor de temperatuur verzendt en deze hoger is dan 20 ° C. Bij 21 ° C, bij 22 ° C enzovoort.',G7='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 ° 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.',K7="uren",J7="omvat",q7="interval",Y7="magie",X7="milliseconden",Z7="minuten",Q7="ms",eK="nadir",tK="Nautische dageraad",nK="Nautische schemering",sK="Volgende zonsopgang",rK="Volgende zonsondergang",iK="nacht",oK="Einde van de nacht",aK="normaal",lK="compensatie",cK="een",uK="of",dK="stil",hK="zoeken",pK="seconden",gK="Zonne-middag",fK="zonsopkomst",mK="Einde zonsopgang",bK="zonsondergang",$K="Begin van de zonsondergang",vK="vervolgens",yK="Erkennen",_K="Van",wK="Laatst gewijzigd",CK="Kwaliteit",SK="tijdstempel",TK="Gebruiker",kK="Waarde",EK="twee",IK="bijwerken",xK="Voegt foutopsporingsuitvoer toe aan het logboek voor veel systeemopdrachten",DK="Uitgebreide log-uitgangen",AK="wanneer",OK="tovenaar",RK={"%s not found":"%s niet gevonden","()":"()","(optional)":"(optioneel)","-":"-",".":".","AI code generator":"AI-codegenerator",Ack:z6,Actions:U6,"Actual time of day":"Werkelijke tijd van de dag",Add:W6,"Add new script":"Nieuw script toevoegen",All:H6,"All files will be accepted":"Alle bestanden worden geaccepteerd",Any:V6,"Any month":"Elke maand",Apply:G6,April:K6,"Are you sure?":"Weet je zeker dat?",Ask:J6,Astronomical:q6,"Astronomical events today":"Astronomische gebeurtenissen vandaag",August:Y6,"Blockly description":"Regels maken door grafische blokken","Body:":"Lichaam:",Cancel:X6,"Cannot delete non empty item!":"Kan niet leeg item niet verwijderen!","Change layout":"Opmaak veranderen",'Change theme (actual "%s")':'Thema wijzigen (nu - "%s")',"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:Z6,"Close all but current":"Alles sluiten behalve huidig","Collapse all":"Alles inklappen","Compares current time with astronomical event":"Vergelijkt huidige tijd met astronomische gebeurtenis","Compares current time with the user specific time":"Vergelijkt de huidige tijd met de gebruikerspecifieke tijd","Compares the state value with user defined value":"Vergelijkt de statuswaarde met de door de gebruiker gedefinieerde waarde",Condition:Q6,Conditions:e9,"Configuration not saved.":"Configuratie niet opgeslagen.",Console:t9,"Control or update some state":"Beheer of update een bepaalde staat","Control or update some state with delay":"Beheer of update een bepaalde staat met vertraging","Convert blockly to javascript for ever.":"Converteer direct blockly naar Javascript.",Copied:n9,"Copy script":"Kopieer script","Copy to clipboard":"Kopieer naar klembord","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ëer of bewerk CRON of tijdwizard","Dark Theme":"Donker thema","Dark style":"Donkere stijl",Date:"Datum","Debug instance":"Debug-instantie","Debug options":"Foutopsporingsopties",December:s9,Default:r9,"Define cron...":"Definieer cron ...","Define schedule...":"Definieer schema ...",Delay:i9,Delete:o9,"Delete %s":"%s verwijderen ...","Delete folder":"Verwijder map","Delete script":"Script verwijderen",Description:a9,"Deselect all":"Deselecteer alles","Discard changes for %s":"Wijzigingen voor %s annuleren",Done:l9,"Double click to write value":"Dubbelklikken om waarde te schrijven","Download as file":"Download","Drop some files here or click...":"Zet hier enkele bestanden neer of klik op ...","Duplicate name":"Dubbele naam","Edit script or just double click":"Bewerk het script of dubbelklik erop","Empty name is not allowed":"Lege naam is niet toegestaan","End search mode":"Zoekmodus beëindigen","Enter your question":"Voer uw verzoek in",Error:"Fout","Error formatting code":"Fout bij het opmaken van de code","Error was found":"Er is een fout gevonden","Every day":"Elke dag",Exec:c9,"Executes some shell command":"Voert een shell-commando uit","Existing scripts will be overwritten.":"Bestaande scripts worden overschreven.","Expand all":"Alles uitvouwen","Expert mode":"Expert modus",Explanation:u9,Export:d9,"Export all scripts":"Exporteer alle scripts","Export blocks":"Blokken exporteren","Export selected blocks":"Exporteer geselecteerde blokken",Februar:h9,February:p9,Filter:g9,Folder:f9,Fr:m9,Friday:b9,Function:"Functie","Function editor":"Functie-editor","Function: executed":"Functie: uitgevoerd","Go to next line":"Ga naar de volgende regel","HTTP Call":"HTTP-oproep","Hide logs":"Verberg logboeken",ID:$9,ID1:v9,ID2:y9,Import:_9,"Import blocks":"Blokken importeren","Import error":"Importfout","Import scripts":"Scripts importeren","Insert object ID":"Object-ID invoegen",Instance:w9,"Instance is disabled":"Exemplaar is uitgeschakeld","Instance:":"Voorbeeld:",Instances:C9,Instructions:S9,"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",Januar:T9,January:k9,July:E9,June:I9,"Just check":"Kijk maar","Language:":"Taal:","Learn More":"Leer meer","Light style":"Lichte stijl",Limit:x9,"Local time":"Lokale tijd","Locate file":"Vind het bestand","Log outputs":"Log uitgangen","Log text":"Log tekst","Log: %s":"Logboek: %s","Make a HTTP get request":"Maak een HTTP-ophaalverzoek","Make a pause between actions":"Pauzeer tussen acties",March:D9,"March ":"maart",May:A9,Menu:O9,Message:R9,Mo:M9,Model:N9,Monday:L9,Month:B9,More:P9,Name:j9,"No Chat GPT Key found":"Geen Chat GPT-sleutel gevonden","No active host found":"Geen actieve host gevonden","Nothing found":"Niets gevonden",November:F9,OK:z9,October:U9,Ok:W9,"On condition change":"Op voorwaarde verandering","On script save or adapter start":"Bij het opslaan van het script of het starten van de adapter","On weekdays":"Op weekdagen","Open configuration":"Configuratie openen","Operate two states":"Bedien twee toestanden:","Operations with two states":"Bewerkingen met twee toestanden",Pause:H9,"Pause execution":"Uitvoering pauzeren","Pause script":"Pauzeer script","Phone:":"Telefoon:","Please select object ID...":"Selecteer object-ID ...","Press Ctrl+Enter to get the answer":"Druk op Ctrl+Enter om het antwoord te krijgen","Prettify the script":"Maak het script mooier","Print some text in log":"Druk wat tekst af in het logboek","Priority:":"Prioriteit:",Pushover:V9,Pushsafer:G9,"Read only ID selected: %s":"Alleen-lezen ID geselecteerd: %s",Rename:K9,"Reorder scripts in folders":"Sorteer scripts in mappen opnieuw",Repeat:J9,Restart:q9,Result:Y9,"Resume execution":"Uitvoering hervatten","Root folder":"Hoofdmap","Rules description":"Maak regels met IF, THEN, ELSE blokken","Run script":"Voer script uit",Sa:X9,Saturday:Z9,Save:Q9,"Save all":"Sla alles op","Say It":"Say It","Say some text via sayit adapter":"Zeg wat tekst via de sayit-adapter",Schedule:e7,Script:t7,"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","Send email":"E-mail verzenden","Sends an email":"Stuurt een e-mail","Sends message via Pushsafer":"Stuurt bericht via Pushsafer","Sends message via pushover":"Stuurt bericht via pushover","Sends message via telegram":"Verzendt bericht via telegram","Sends message via whatsapp-cmb":"Stuurt bericht via whatsapp-cmb",September:n7,"Server time":"Servertijd","Set state action":"Stel statusactie in","Set with delay":"Met vertraging ingesteld","Shell command":"Shell-opdracht","Show astronomical events":"Laat astronomische gebeurtenissen zien","Show javascript code":"Javascript-code weergeven","Show logs":"Toon logboeken","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",Simulate:s7,"Some files will be rejected":"Sommige bestanden worden geweigerd","Sound:":"Geluid:",Stack:r7,Start:i7,"Start script":"Start het script",State:o7,"State condition":"Staat staat","Step into function":"Stap in functie","Step out from function":"Stap uit de functie","Stop on exception":"Stop bij uitzondering",Su:a7,"Subject:":"Onderwerpen:",Sunday:l7,"TS description":"Regels maken door Typescript te schrijven",Telegram:c7,"Text:":"Tekst:",Th:u7,"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?","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",Thursday:d7,Time:h7,"Time condition":"Tijdsvoorwaarde","Title:":"Titel:","To:":"Naar:","Trigger with value":"Trigger met waarde",Triggered:p7,Triggers:g7,"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","Triggers the rule periodically or on some specific time":"Activeert de regel periodiek of op een specifieke tijd",Tu:f7,Tuesday:m7,URL:b7,"Unknown error":"Onbekende fout","Unknown error!":"Onbekende fout!","Use generated code":"Gebruik gegenereerde code","User function":"Gebruikersfunctie","User:":"Gebruiker:",Value:$7,"Vibration:":"Trilling:",Volume:v7,We:y7,Wednesday:_7,"Whatsapp-cmb":"Whatsapp-cmb",Write:w7,"Write your own code":"Schrijf je eigen code",Yes:C7,"Yet exists!":"Toch bestaat!","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 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","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","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 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.","[equal]":"[Gelijk]","[greater or equal]":"[groter of gelijk]","[greater]":"[groter]","[hysteresis]":"[hysterese]","[includes]":"[inclusief]","[less or equal]":"[minder of gelijk]","[less]":"[minder]","[not equal]":"[niet gelijk]",acknowledgment:S7,all:T7,and:k7,astro:E7,at:I7,"clear running":"duidelijk rennen",control:x7,copy:D7,cron:A7,dawn:O7,debug_help:R7,debug_label:M7,default:"standaard",dusk:N7,easy:L7,else:"anders","equal to":"gelijk aan",every:B7,"every hour at 0 minutes":"elk uur op 0 minuten",false:"false","file reading has failed: %s":"bestands lezen is mislukt: %s","file reading was aborted":"bestands lezen is afgebroken",filter_func:P7,filter_id:j7,filter_name:F7,filter_role:z7,filter_room:U7,"for edit or create script":"voor bewerken of een nieuw script maken","for professionals":"voor professionals","for programmers":"voor programmeurs",goldenHour:W7,goldenHourEnd:H7,"greater or equal":"groter of gelijk","greater or equal to":"groter of gelijk aan","greater than":"groter dan",help_just_check:V7,help_on_change:G7,"high priority":"hoge prioriteit","high-priority":"hoge prioriteit","highest priority":"hoogste prioriteit",hours:K7,includes:J7,interval:q7,"just check":"kijk maar","less or equal":"minder of gelijk","less or equal to":"minder of gelijk aan","less than":"minder dan","lower priority":"lagere prioriteit","lowest priority":"laagste prioriteit",magic:Y7,milliseconds:X7,minutes:Z7,ms:Q7,nadir:eK,nauticalDawn:tK,nauticalDusk:nK,nextSunrise:sK,nextSunset:rK,night:iK,nightEnd:oK,"no blocks found":"Geen blokken gevonden","no group":"GEEN GROEP",normal:aK,"normal priority":"normale prioriteit","not equal to":"niet gelijk aan","not properly connected":"Dit blok is niet correct verbonden met andere blokken.",offset:lK,"on change":"bij verandering","on condition change":"op voorwaarde verandering","on update":"bij update",one:cK,or:uK,quiet:dK,"reset search":"reset zoeken",search:hK,seconds:pK,solarNoon:gK,"store in":"opslaan in",sunrise:fK,sunriseEnd:mK,sunset:bK,sunsetStart:$K,then:vK,"toggle value":"schakelwaarde",tooltip_ack:yK,tooltip_from:_K,tooltip_lc:wK,tooltip_quality:CK,tooltip_ts:SK,tooltip_user:TK,tooltip_value:kK,true:"waar",two:EK,undefined:"ongedefinieerd",update:IK,"use seconds":"gebruik seconden","use trigger value":"triggerwaarde gebruiken",verbose_help:xK,verbose_label:DK,when:AK,with:"met","with date":"met datum","with offset":"met offset",wizard:OK},MK="Potwierdzony",NK="Działania",LK="Dodaj",BK="Wszystko",PK="Każdy",jK="Zastosuj",FK="Kwiecień",zK="Zapytać",UK="Astronomiczny",WK="Sierpień",HK="Odwołaj",VK="Zamknij",GK="Stan",KK="Warunki",JK="Konsola",qK="Skopiowano",YK="Grudzień",XK="Domyślna",ZK="Opóźnienie",QK="Usuń",eJ="Opis",tJ="Gotowe",nJ="Uruchom shell",sJ="Wyjaśnienie",rJ="Eksport",iJ="Luty",oJ="Luty",aJ="Filtr",lJ="Folder",cJ="Pt",uJ="Piątek",dJ="ID",hJ="ID1",pJ="ID2",gJ="Import",fJ="Instancja",mJ="Instancje",bJ="Instrukcje",$J="Styczeń",vJ="Styczeń",yJ="Lipiec",_J="Czerwiec",wJ="Limit",CJ="Marzec",SJ="Maj",TJ="Menu",kJ="Wiadomość",EJ="Po",IJ="Model",xJ="Poniedziałek",DJ="Miesiąc",AJ="Więcej",OJ="Nazwa",RJ="Listopad",MJ="OK",NJ="Październik",LJ="Ok",BJ="Pauza",PJ="Pushover",jJ="Pushsafer",FJ="Przemianuj",zJ="Powtórz",UJ="Uruchom ponownie",WJ="Wynik",HJ="So",VJ="Sobota",GJ="Zapisz",KJ="Harmonogram",JJ="Skrypt",qJ="Wrzesień",YJ="Symulacja",XJ="Stos",ZJ="Początek",QJ="Stan",eq="Nd",tq="Niedziela",nq="Telegram",sq="Cz",rq="Czwartek",iq="Czas",oq="Wyzwolony",aq="Wyzwalacze",lq="Wt",cq="Wtorek",uq="URL",dq="Wartość",hq="Wolumen",pq="Śr",gq="Środa",fq="Pisać",mq="Tak",bq="potwierdzenie",$q="wszystko",vq="i",yq="Astro",_q="w",wq="kontrola",Cq="Kopiuj",Sq="CRON",Tq="Świt",kq="Jest to specjalny tryb, w którym stany i obiekty się nie zmieniają. Jednak w protokole będą wyświetlane tylko informacje o każdej planowanej zmianie.",Eq="Odpluskwić",Iq="Zmierzch",xq="łatwy",Dq="każdy",Aq="Funkcja",Oq="ID",Rq="Nazwa",Mq="Rola",Nq="Pokój",Lq="Złota godzina",Bq="Koniec złotej godziny",Pq="Kod zostanie wykonany tylko za każdym razem, gdy warunek będzie spełniony. Na przykład. jeśli wyzwalanie na wartość czujnika temperatury i warunek to „jeśli temperatura jest wyższa niż 20 ° C”, to działania „następnie” będą wykonywane za każdym razem, gdy czujnik wyśle temperaturę i jest powyżej 20 ° C. O 21 ° C, o 22 ° C i tak dalej.",jq="Kod zostanie wykonany tylko wtedy, gdy wynik warunku ulegnie zmianie. Na przykład. jeśli wyzwalanie na wartość czujnika temperatury i warunek „jeśli temperatura jest wyższa niż 20 ° C”, to akcje „następnie” zostaną wykonane raz, gdy temperatura przekroczy 20. Następnym razem działania „następnie” zostaną wykonane, gdy temperatura nie udaje się poniżej 20, a następnie ponownie wzrasta powyżej 20.",Fq="godziny",zq="zawiera",Uq="interwał",Wq="magia",Hq="milisekund",Vq="minuty",Gq="ms",Kq="Północ słoneczna",Jq="Żeglarski świt",qq="Żeglarski zmierzch",Yq="Następny wschód słońca",Xq="Następny zachód słońca",Zq="Noc",Qq="Koniec nocy",eY="normalny",tY="przesunięcie",nY="jeden",sY="lub",rY="cisza",iY="Szukaj",oY="sekundy",aY="Południe słoneczne",lY="Wschód słońca",cY="Koniec wschodu słońca",uY="Zachód słońca",dY="Początek zachodu słońca",hY="następnie",pY="Akceptuj",gY="Od",fY="Ostatnia zmiana",mY="Jakość",bY="Znacznik czasu",$Y="Użytkownik",vY="Wartość",yY="dwa",_Y="aktualizacja",wY="Dodaje wyniki debugowania do dziennika dla wielu poleceń systemowych",CY="Pełne dane wyjściowe dziennika",SY="gdy",TY="Wizard",kY={"%s not found":"%s nie znaleziono","()":"()","(optional)":"(opcjonalny)","-":"-",".":".","AI code generator":"Generator kodu AI",Ack:MK,Actions:NK,"Actual time of day":"Aktualna pora dnia",Add:LK,"Add new script":"Dodaj nowy skrypt",All:BK,"All files will be accepted":"Wszystkie pliki zostaną zaakceptowane",Any:PK,"Any month":"Dowolny miesiąc",Apply:jK,April:FK,"Are you sure?":"Jesteś pewny?",Ask:zK,Astronomical:UK,"Astronomical events today":"Wydarzenia astronomiczne dzisiaj",August:WK,"Blockly description":"Tworzenie reguł za pomocą bloków graficznych","Body:":"Treść:",Cancel:HK,"Cannot delete non empty item!":"Nie można usunąć niepustego elementu!","Change layout":"Zmiana układu",'Change theme (actual "%s")':"Zmień motyw (obecnie - „%s”)","Check blocks":"Sprawdź bloki","Check is not active, because javascript adapter is disabled":"Sprawdzanie nie jest aktywne, ponieważ adapter Javascript jest wyłączony","Clear search input":"Wyczyść dane wyszukiwania","Click on this icon":"Kliknij tę ikonę",Close:VK,"Close all but current":"Zamknij wszystkie oprócz bieżących","Collapse all":"Zwinąć wszystkie","Compares current time with astronomical event":"Porównuje aktualny czas z wydarzeniem astronomicznym","Compares current time with the user specific time":"Porównuje aktualny czas z czasem określonym przez użytkownika","Compares the state value with user defined value":"Porównuje wartość stanu z wartością zdefiniowaną przez użytkownika",Condition:GK,Conditions:KK,"Configuration not saved.":"Konfiguracja nie została zapisana.",Console:JK,"Control or update some state":"Kontroluj lub aktualizuj stan","Control or update some state with delay":"Kontroluj lub aktualizuj jakiś stan z opóźnieniem","Convert blockly to javascript for ever.":"Bezpowrotna konwersja Blockly na Javascript.",Copied:qK,"Copy script":"Skopiuj skrypt","Copy to clipboard":"Skopiuj do schowka","Create new":"Utwórz nowy","Create new folder":"Utwórz nowy folder","Create new script":"Utwórz nowy skrypt","Create or edit CRON or time wizard":"Utwórz lub edytuj CRON lub kreator czasu","Dark Theme":"Ciemny schemat","Dark style":"Ciemny styl",Date:"Data","Debug instance":"Debuguj instancję","Debug options":"Opcje debugowania",December:YK,Default:XK,"Define cron...":"Zdefiniuj CRON ...","Define schedule...":"Zdefiniuj harmonogram ...",Delay:ZK,Delete:QK,"Delete %s":"Usuń %s ...","Delete folder":"Usuń folder","Delete script":"Usuń skrypt",Description:eJ,"Deselect all":"Odznacz wszystkie","Discard changes for %s":"Odrzuć zmiany dla %s",Done:tJ,"Double click to write value":"Kliknij dwukrotnie, aby zapisać wartość","Download as file":"Download jako plik plik","Drop some files here or click...":"Upuść niektóre pliki tutaj lub kliknij ...","Duplicate name":"Duplikat nazwy","Edit script or just double click":"Edytuj skrypt lub po prostu kliknij dwukrotnie","Empty name is not allowed":"Pusta nazwa jest niedozwolona","End search mode":"Zakończ tryb wyszukiwania","Enter your question":"Wpisz swoją prośbę",Error:"Błąd","Error formatting code":"Błąd formatowania kodu","Error was found":"Błąd został znaleziony","Every day":"Codziennie",Exec:nJ,"Executes some shell command":"Wykonuje polecenie powłoki","Existing scripts will be overwritten.":"Istniejące skrypty zostaną zastąpione.","Expand all":"Rozwiń wszystkie","Expert mode":"Tryb ekspercki",Explanation:sJ,Export:rJ,"Export all scripts":"Wyeksportuj wszystkie skrypty","Export blocks":"Eksportuj bloki","Export selected blocks":"Eksportuj wybrane bloki",Februar:iJ,February:oJ,Filter:aJ,Folder:lJ,Fr:cJ,Friday:uJ,Function:"Funkcja","Function editor":"Edytor funkcji","Function: executed":"Funkcja: wykonywana","Go to next line":"Przejdź do następnej linii","HTTP Call":"Połączenie HTTP","Hide logs":"Ukryj dzienniki",ID:dJ,ID1:hJ,ID2:pJ,Import:gJ,"Import blocks":"Importuj bloki","Import error":"Błąd importowania","Import scripts":"Importuj skrypty","Insert object ID":"Wstaw identyfikator obiektu",Instance:fJ,"Instance is disabled":"Instancja jest wyłączona","Instance:":"Instancja:",Instances:mJ,Instructions:bJ,"Invalid CRON":"Nieprawidłowy CRON","It will not be possible to revert this operation.":"Cofnięcie tej operacji nie będzie możliwe.","JS description":"Tworzenie reguł w Javascript",Januar:$J,January:vJ,July:yJ,June:_J,"Just check":"Po prostu sprawdź","Language:":"Język:","Learn More":"Ucz się więcej","Light style":"Lekki styl",Limit:wJ,"Local time":"Czas lokalny","Locate file":"Znajdź plik","Log outputs":"Log dziennika","Log text":"Tekst dziennika","Log: %s":"Dziennik: %s","Make a HTTP get request":"Złóż żądanie HTTP get","Make a pause between actions":"Zrób przerwę między czynnościami",March:CJ,"March ":"Marzec ",May:SJ,Menu:TJ,Message:kJ,Mo:EJ,Model:IJ,Monday:xJ,Month:DJ,More:AJ,Name:OJ,"No Chat GPT Key found":"Nie znaleziono klucza GPT czatu","No active host found":"Nie znaleziono aktywnego hosta","Nothing found":"Nic nie znaleziono",November:RJ,OK:MJ,October:NJ,Ok:LJ,"On condition change":"W przypadku zmiany warunków","On script save or adapter start":"Podczas zapisywania skryptu lub uruchamiania adaptera","On weekdays":"W dni powszednie","Open configuration":"Otwarta konfiguracja","Operate two states":"Obsługuj dwa stany","Operations with two states":"Operacje z dwoma stanami",Pause:BJ,"Pause execution":"Wstrzymaj wykonanie","Pause script":"Wstrzymaj skrypt","Phone:":"Telefon:","Please select object ID...":"Wybierz identyfikator obiektu ...","Press Ctrl+Enter to get the answer":"Naciśnij klawisze Ctrl+Enter, aby uzyskać odpowiedź","Prettify the script":"Upiększ skrypt","Print some text in log":"Wydrukuj tekst w dzienniku","Priority:":"Priorytet:",Pushover:PJ,Pushsafer:jJ,"Read only ID selected: %s":"Wybrano identyfikator tylko do odczytu: %s",Rename:FJ,"Reorder scripts in folders":"Zmień kolejność skryptów w folderach",Repeat:zJ,Restart:UJ,Result:WJ,"Resume execution":"Wznów wykonanie","Root folder":"Folder główny","Rules description":"Twórz reguły z blokami IF, THEN, ELSE","Run script":"Uruchom skrypt",Sa:HJ,Saturday:VJ,Save:GJ,"Save all":"Zapisz wszystko","Say It":"Wypowiedz","Say some text via sayit adapter":"Powiedz tekst przez adapter sayit",Schedule:KJ,Script:JJ,"Script %s was modified on disk":"Skrypt %s został zmodyfikowany na dysku","Script is not running":"Skrypt nie działa","Search in scripts":"Szukaj w skryptach","Search...":"Szukaj...","Select all":"Zaznacz wszystko","Send email":"Wysłać email","Sends an email":"Wysyła e-mail","Sends message via Pushsafer":"Wysyła wiadomość przez Pushsafer","Sends message via pushover":"Wysyła wiadomość przez pushover","Sends message via telegram":"Wysyła wiadomość telegramem","Sends message via whatsapp-cmb":"Wysyła wiadomość przez WhatsApp-cmb",September:qJ,"Server time":"Czas serwera","Set state action":"Ustaw stan działania","Set with delay":"Ustaw z opóźnieniem","Shell command":"Polecenie powłoki","Show astronomical events":"Pokaż wydarzenia astronomiczne","Show javascript code":"Pokaż kod JavaScript","Show logs":"Pokaż dzienniki","Show only paused scripts":"Pokaż tylko wstrzymane skrypty","Show only running scripts":"Pokaż tylko działające skrypty","Show only scripts with problems":"Pokaż tylko skrypty z problemami",Simulate:YJ,"Some files will be rejected":"Niektóre pliki zostaną odrzucone","Sound:":"Dźwięk:",Stack:XJ,Start:ZJ,"Start script":"Uruchom skrypt",State:QJ,"State condition":"Warunek stanu","Step into function":"Wejdź do funkcji","Step out from function":"Wyjdź z funkcji","Stop on exception":"Zatrzymaj się na wyjątku",Su:eq,"Subject:":"Temat:",Sunday:tq,"TS description":"Tworzenie reguł w Typescript",Telegram:nq,"Text:":"Tekst:",Th:sq,"The script will be stopped and must be activated manually after debugging. Continue?":"Skrypt zostanie zatrzymany i należy go aktywować ręcznie po debugowaniu. Kontyntynuj?","This is advances option. You can write your own code here and it will be executed on trigger":"To jest opcja zaawansowana. Możesz tutaj napisać własny kod, który zostanie wykonany po wyzwoleniu",Thursday:rq,Time:iq,"Time condition":"Warunek czasowy","Title:":"Tytuł:","To:":"Do:","Trigger with value":"Wyzwalacz z wartością",Triggered:oq,Triggers:aq,"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łę przy aktualizacji lub zmianie jakiegoś stanu","Triggers the rule periodically or on some specific time":"Uruchamia regułę okresowo lub w określonym czasie",Tu:lq,Tuesday:cq,URL:uq,"Unknown error":"Nieznany błąd","Unknown error!":"Nieznany błąd!","Use generated code":"Użyj wygenerowanego kodu","User function":"Funkcja użytkownika","User:":"Użytkownik:",Value:dq,"Vibration:":"Wibracja:",Volume:hq,We:pq,Wednesday:gq,"Whatsapp-cmb":"Whatsapp-cmb",Write:fq,"Write your own code":"Napisz swój własny kod",Yes:mq,"Yet exists!":"A jednak istnieje!","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Możesz użyć %s w adresie URL, aby użyć bieżącej wartości wyzwalacza, %id, aby użyć wyzwalanego identyfikatora obiektu, %name, aby wyświetlić nazwę identyfikatora wyzwalanego obiektu, lub %old, aby użyć starej wartości wyzwalacza","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"Możesz użyć %s w poleceniu, aby użyć bieżącej wartości wyzwalającej, %id, aby użyć identyfikatora wyzwalanego obiektu, %name, aby wyświetlić nazwę identyfikatora wyzwalanego obiektu, lub %old, aby użyć starej wartości wyzwalającej","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Możesz użyć %s w tekście, aby wyświetlić aktualną wartość wyzwalającą, %id, aby użyć identyfikatora wyzwolonego obiektu, %name, aby wyświetlić nazwę identyfikatora wyzwolonego obiektu lub %old, aby użyć starej wartości wyzwalającej","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Możesz użyć %s w wartości, aby użyć bieżącej wartości wyzwalacza, %id, aby użyć identyfikatora wyzwalanego obiektu, %name, aby wyświetlić nazwę identyfikatora wyzwalanego obiektu, lub %old, aby użyć starej wartości wyzwalacza","You have to enter OpenAI API key in the configuration of javascript adapter.":"Należy wprowadzić klucz OpenAI API w konfiguracji adaptera javascript.","[equal]":"[równy]","[greater or equal]":"[większe lub równe]","[greater]":"[większe]","[hysteresis]":"[histereza]","[includes]":"[obejmuje]","[less or equal]":"[mniejsze lub równe]","[less]":"[mniejsze]","[not equal]":"[nie równe]",acknowledgment:bq,all:$q,and:vq,astro:yq,at:_q,"clear running":"czyste uruchomienie",control:wq,copy:Cq,cron:Sq,dawn:Tq,debug_help:kq,debug_label:Eq,default:"domyślna",dusk:Iq,easy:xq,else:"inaczej","equal to":"równy",every:Dq,"every hour at 0 minutes":"co godzinę po 0 minutach",false:"fałsz","file reading has failed: %s":"odczyt pliku nie powiódł się: %s","file reading was aborted":"odczyt pliku został przerwany",filter_func:Aq,filter_id:Oq,filter_name:Rq,filter_role:Mq,filter_room:Nq,"for edit or create script":"do edycji lub utwórz nowy skrypt","for professionals":"dla profesjonalistów","for programmers":"dla programistów",goldenHour:Lq,goldenHourEnd:Bq,"greater or equal":"większe lub równe","greater or equal to":"więcej lub równo","greater than":"więcej niż",help_just_check:Pq,help_on_change:jq,"high priority":"wysoki priorytet","high-priority":"wysoki priorytet","highest priority":"najwyższy priorytet",hours:Fq,includes:zq,interval:Uq,"just check":"po prostu sprawdź","less or equal":"mniejsze lub równe","less or equal to":"mniej lub równo","less than":"mniej niż","lower priority":"niższy priorytet","lowest priority":"najniższy priorytet",magic:Wq,milliseconds:Hq,minutes:Vq,ms:Gq,nadir:Kq,nauticalDawn:Jq,nauticalDusk:qq,nextSunrise:Yq,nextSunset:Xq,night:Zq,nightEnd:Qq,"no blocks found":"Nie znaleziono bloków","no group":"BRAK GRUPY",normal:eY,"normal priority":"normalny priorytet","not equal to":"nie równa się","not properly connected":"Ten blok nie jest poprawnie podłączony do innych bloków.",offset:tY,"on change":"na zmianę","on condition change":"pod warunkiem zmiany warunków","on update":"po aktualizacji",one:nY,or:sY,quiet:rY,"reset search":"zresetuj wyszukiwanie",search:iY,seconds:oY,solarNoon:aY,"store in":"przechowaj w",sunrise:lY,sunriseEnd:cY,sunset:uY,sunsetStart:dY,then:hY,"toggle value":"wartość przełączania",tooltip_ack:pY,tooltip_from:gY,tooltip_lc:fY,tooltip_quality:mY,tooltip_ts:bY,tooltip_user:$Y,tooltip_value:vY,true:"prawda",two:yY,undefined:"nieokreślony",update:_Y,"use seconds":"użyj sekund","use trigger value":"użyj wartości wyzwalającej",verbose_help:wY,verbose_label:CY,when:SY,with:"z","with date":"z datą","with offset":"z przesunięciem",wizard:TY},EY="Reconhecido",IY="Ações",xY="Adicionar",DY="Todos",AY="Nenhum",OY="Aplique",RY="abril",MY="Perguntar",NY="Astronômico",LY="agosto",BY="Cancelar",PY="Fechar",jY="Doença",FY="Condições",zY="Console",UY="Copiado",WY="dezembro",HY="Predefinição",VY="Atraso",GY="Deletar",KY="Descrição",JY="Pronto",qY="Exec shell",YY="Explicação",XY="Exportação",ZY="Februar",QY="fevereiro",eX="Filtro",tX="Pasta",nX="Fr",sX="Sexta-feira",rX="ID",iX="ID1",oX="ID2",aX="Importar",lX="Instância",cX="Instâncias",uX="Instruções",dX="Januar",hX="janeiro",pX="julho",gX="junho",fX="Limite",mX="março",bX="maio",$X="Menu",vX="mensagem",yX="Mo",_X="Modelo",wX="Segunda-feira",CX="Mês",SX="Mais",TX="Nome",kX="novembro",EX="OK",IX="outubro",xX="Ok",DX="Pausa",AX="Pushover",OX="Pushsafer",RX="Renomear",MX="Repetir",NX="Reiniciar",LX="Resultado",BX="Sá",PX="Sábado",jX="Salve",FX="Cronograma",zX="Script",UX="setembro",WX="Simular",HX="Pilha",VX="Começar",GX="Estado",KX="Su",JX="Domingo",qX="Telegrama",YX="4",XX="Quinta-feira",ZX="Tempo",QX="Provocado",eZ="Gatilhos",tZ="Tu",nZ="terça",sZ="URL",rZ="Valor",iZ="Volume",oZ="3",aZ="quarta",lZ="Escrever",cZ="sim",uZ="reconhecimento",dZ="todos",hZ="e",pZ="astro",gZ="no",fZ="ao controle",mZ="copiar",bZ="CRON",$Z="alvorecer",vZ="Este é um modo especial no qual estados e objetos não serão alterados. Mas apenas as informações sobre cada mudança planejada serão exibidas no protocolo.",yZ="Depurar",_Z="Crepúsculo",wZ="fácil",CZ="cada",SZ="Função",TZ="ID",kZ="Nome",EZ="Tipo",IZ="Quarto",xZ="Hora dourada",DZ="Fim da hora de ouro",AZ='O código será executado apenas sempre que a condição for verdadeira. Por exemplo. se disparar no valor do sensor de temperatura e a condição for "se a temperatura for maior que 20 ° C", as ações "então" serão executadas toda vez que o sensor enviar a temperatura e ela estiver acima de 20 ° C. Por 21 ° C, por 22 ° C e assim por diante.',OZ='O código será executado apenas se o resultado da condição mudar. Por exemplo. se disparar no valor do sensor de temperatura e a condição for "se a temperatura for maior que 20 ° C", as ações "então" serão executadas uma vez quando a temperatura estiver acima de 20. Na próxima vez, as ações "então" serão executadas quando a temperatura falha abaixo de 20 e sobe acima de 20 novamente.',RZ="horas",MZ="inclui",NZ="intervalo",LZ="Magia",BZ="milissegundos",PZ="minutos",jZ="ms",FZ="nadir",zZ="Madrugada náutica",UZ="Crepúsculo náutico",WZ="próximo nascer do sol",HZ="Próximo pôr do sol",VZ="Noite",GZ="Fim de noite",KZ="normal",JZ="Deslocamento",qZ="1",YZ="ou",XZ="quieto",ZZ="procurar",QZ="segundos",eQ="Meio-dia solar",tQ="nascer do sol",nQ="Fim do nascer do sol",sQ="pôr do sol",rQ="Começo do pôr do sol",iQ="então",oQ="reconhecer",aQ="de",lQ="Última alteração",cQ="Qualidade",uQ="timestamp",dQ="usuário",hQ="valor",pQ="dois",gQ="atualizar",fQ="Adiciona saída de depuração ao log para muitos comandos do sistema",mQ="Saídas de log detalhadas",bQ="quando",$Q="Wizard",vQ={"%s not found":"%s não encontrado","()":"()","(optional)":"(opcional)","-":"-",".":".","AI code generator":"Gerador de código de IA",Ack:EY,Actions:IY,"Actual time of day":"Hora real do dia",Add:xY,"Add new script":"Adicionar novo script",All:DY,"All files will be accepted":"Todos os arquivos serão aceitos",Any:AY,"Any month":"Qualquer mês",Apply:OY,April:RY,"Are you sure?":"Você tem certeza?",Ask:MY,Astronomical:NY,"Astronomical events today":"Eventos astronômicos hoje",August:LY,"Blockly description":"Criando regras por blocos gráficos","Body:":"Corpo:",Cancel:BY,"Cannot delete non empty item!":"Não pode ser deletar, porque não está vazio!","Change layout":"Alterar layout",'Change theme (actual "%s")':'Alterar tema (agora - "%s")',"Check blocks":"Verificar blocos","Check is not active, because javascript adapter is disabled":"A verificação de sintaxe não está ativa porque o adaptador javascript não está rodando.","Clear search input":"Limpar entrada de pesquisa","Click on this icon":"Clique neste ícone",Close:PY,"Close all but current":"Fechar tudo, menos atual","Collapse all":"Recolher todos","Compares current time with astronomical event":"Compara o tempo atual com o evento astronômico","Compares current time with the user specific time":"Compara a hora atual com a hora específica do usuário","Compares the state value with user defined value":"Compara o valor do estado com o valor definido pelo usuário",Condition:jY,Conditions:FY,"Configuration not saved.":"Configuração não esta salva.",Console:zY,"Control or update some state":"Controlar ou atualizar algum estado","Control or update some state with delay":"Controlar ou atualizar algum estado com atraso","Convert blockly to javascript for ever.":"Converter Blockly em Javascript permanentemente.",Copied:UY,"Copy script":"Copiar script","Copy to clipboard":"Copiar para área de transferência","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ário","Dark Theme":"Layout escuro","Dark style":"Estilo escuro",Date:"Encontro","Debug instance":"Instância de depuração","Debug options":"Opções de depuração",December:WY,Default:HY,"Define cron...":"Definir cron...","Define schedule...":"Definir agendamento ...",Delay:VY,Delete:GY,"Delete %s":"Deletar %s...","Delete folder":"Deletar pasta","Delete script":"Deletar script",Description:KY,"Deselect all":"Desmarcar todos","Discard changes for %s":"Descartar alterações para %s",Done:JY,"Double click to write value":"Clique duas vezes para escrever o valor","Download as file":"Baixar como arquivo","Drop some files here or click...":"Solte alguns arquivos aqui ou clique em...","Duplicate name":"Nome duplicado","Edit script or just double click":"Edite o script ou clique duas vezes","Empty name is not allowed":"Nome vazio não é permitido","End search mode":"Finalizar modo de pesquisa","Enter your question":"Digite sua solicitação",Error:"Erro","Error formatting code":"Erro de formatação de código","Error was found":"Erro foi encontrado","Every day":"Todos os dias",Exec:qY,"Executes some shell command":"Executa algum comando shell","Existing scripts will be overwritten.":"Os scripts existentes serão substituídos.","Expand all":"Expandir todos","Expert mode":"Modo de especialista",Explanation:YY,Export:XY,"Export all scripts":"Exportar todos os scripts","Export blocks":"Exportar blocos","Export selected blocks":"Exportar blocos selecionados",Februar:ZY,February:QY,Filter:eX,Folder:tX,Fr:nX,Friday:sX,Function:"Função","Function editor":"Editor de funções","Function: executed":"Função: executado","Go to next line":"Vá para a próxima linha","HTTP Call":"Chamada HTTP","Hide logs":"Ocultar logs",ID:rX,ID1:iX,ID2:oX,Import:aX,"Import blocks":"Importar blocos","Import error":"Erro de importação","Import scripts":"Importar script","Insert object ID":"Inserir ID do objeto",Instance:lX,"Instance is disabled":"Instância está desativada","Instance:":"Instância:",Instances:cX,Instructions:uX,"Invalid CRON":"CRON inválido","It will not be possible to revert this operation.":"Não será possível reverter esta operação.","JS description":"Criando regras escrevendo Javascript",Januar:dX,January:hX,July:pX,June:gX,"Just check":"Apenas verifique","Language:":"Língua:","Learn More":"Aprender mais","Light style":"Estilo claro",Limit:fX,"Local time":"Hora local","Locate file":"Localize o arquivo","Log outputs":"Saídas de log","Log text":"Texto de registro","Log: %s":"Log: %s","Make a HTTP get request":"Faça uma solicitação HTTP get","Make a pause between actions":"Faça uma pausa entre as ações",March:mX,"March ":"Março",May:bX,Menu:$X,Message:vX,Mo:yX,Model:_X,Monday:wX,Month:CX,More:SX,Name:TX,"No Chat GPT Key found":"Nenhuma chave GPT de bate-papo encontrada","No active host found":"Nenhum host ativo encontrado","Nothing found":"Nada encontrado",November:kX,OK:EX,October:IX,Ok:xX,"On condition change":"Na mudança de condição","On script save or adapter start":"Ao salvar o script ou iniciar o adaptador","On weekdays":"Nos dias úteis","Open configuration":"Configuração aberta","Operate two states":"Operar dois estados","Operations with two states":"Operações com dois estados",Pause:DX,"Pause execution":"Pausar a execução","Pause script":"Pausar script","Phone:":"Telefone:","Please select object ID...":"Selecione o ID do objeto...","Press Ctrl+Enter to get the answer":"Pressione Ctrl+Enter para obter a resposta","Prettify the script":"Embeleze o roteiro","Print some text in log":"Imprimir algum texto no log","Priority:":"Prioridade:",Pushover:AX,Pushsafer:OX,"Read only ID selected: %s":"ID somente leitura selecionada: %s",Rename:RX,"Reorder scripts in folders":"Reordenar scripts em pastas",Repeat:MX,Restart:NX,Result:LX,"Resume execution":"Retomar execução","Root folder":"Pasta principal","Rules description":"Crie regras com blocos IF, THEN, ELSE","Run script":"Executar script",Sa:BX,Saturday:PX,Save:jX,"Save all":"Salvar tudo","Say It":"Say It","Say some text via sayit adapter":"Diga algum texto através do adaptador sayit",Schedule:FX,Script:zX,"Script %s was modified on disk":'O script "%s" foi modificado no disco rígido',"Script is not running":"Script não está sendo executado","Search in scripts":"Pesquisa em scripts","Search...":"Procurar...","Select all":"Selecionar tudo","Send email":"Enviar email","Sends an email":"Envia um email","Sends message via Pushsafer":"Envia mensagem via Pushsafer","Sends message via pushover":"Envia mensagem via pushover","Sends message via telegram":"Envia mensagem via telegrama","Sends message via whatsapp-cmb":"Envia mensagem via whatsapp-cmb",September:UX,"Server time":"Tempo de servidor","Set state action":"Definir ação de estado","Set with delay":"Definido com atraso","Shell command":"Comando shell","Show astronomical events":"Mostrar eventos astronômicos","Show javascript code":"Mostrar código Javascript","Show logs":"Mostrar logs","Show only paused scripts":"Mostrar apenas scripts pausados","Show only running scripts":"Mostrar apenas scripts em execução","Show only scripts with problems":"Mostrar apenas scripts com problemas",Simulate:WX,"Some files will be rejected":"Alguns arquivos serão rejeitados","Sound:":"Som:",Stack:HX,Start:VX,"Start script":"Iniciar script",State:GX,"State condition":"Condição de estado","Step into function":"Entre na função","Step out from function":"Saia da função","Stop on exception":"Pare na exceção",Su:KX,"Subject:":"Sujeito:",Sunday:JX,"TS description":"Criando regras escrevendo Typecript",Telegram:qX,"Text:":"Texto:",Th:YX,"The script will be stopped and must be activated manually after debugging. Continue?":"O script será interrompido e deve ser ativado manualmente após a depuração. Continuar?","This is advances option. You can write your own code here and it will be executed on trigger":"Esta é a opção de avanços. Você pode escrever seu próprio código aqui e ele será executado no gatilho",Thursday:XX,Time:ZX,"Time condition":"Condição de tempo","Title:":"Título:","To:":"Para:","Trigger with value":"Trigger com valor",Triggered:QX,Triggers:eZ,"Triggers the on script saving or the javascript instance restart":"Aciona o salvamento do script ou a reinicialização da instância javascript","Triggers the rule on update or change of some state":"Aciona a regra na atualização ou mudança de algum estado","Triggers the rule periodically or on some specific time":"Aciona a regra periodicamente ou em algum momento específico",Tu:tZ,Tuesday:nZ,URL:sZ,"Unknown error":"Erro desconhecido","Unknown error!":"Erro desconhecido!","Use generated code":"Usar código gerado","User function":"Função do usuário","User:":"Do utilizador:",Value:rZ,"Vibration:":"Vibração:",Volume:iZ,We:oZ,Wednesday:aZ,"Whatsapp-cmb":"Whatsapp-cmb",Write:lZ,"Write your own code":"Escreva seu próprio código",Yes:cZ,"Yet exists!":"Ainda existe!","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Você 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 command to use current trigger value or %id to use the triggered object ID":"Você 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","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Você 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","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Você 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 have to enter OpenAI API key in the configuration of javascript adapter.":"Você deve inserir a chave da API OpenAI na configuração do adaptador javascript.","[equal]":"[igual]","[greater or equal]":"[maior ou igual]","[greater]":"[maior]","[hysteresis]":"[histerese]","[includes]":"[inclui]","[less or equal]":"[menor ou igual]","[less]":"[menos]","[not equal]":"[não igual]",acknowledgment:uZ,all:dZ,and:hZ,astro:pZ,at:gZ,"clear running":"corrida limpa",control:fZ,copy:mZ,cron:bZ,dawn:$Z,debug_help:vZ,debug_label:yZ,default:"predefinição",dusk:_Z,easy:wZ,else:"outro","equal to":"igual a",every:CZ,"every hour at 0 minutes":"a cada hora em 0 minutos",false:"falso","file reading has failed: %s":"a leitura do arquivo falhou: %s","file reading was aborted":"a leitura do arquivo foi abortada",filter_func:SZ,filter_id:TZ,filter_name:kZ,filter_role:EZ,filter_room:IZ,"for edit or create script":"para editar ou criar um novo script","for professionals":"para profissionais","for programmers":"para programadores",goldenHour:xZ,goldenHourEnd:DZ,"greater or equal":"maior ou igual","greater or equal to":"maior ou igual a","greater than":"Maior que",help_just_check:AZ,help_on_change:OZ,"high priority":"prioridade máxima","high-priority":"prioridade máxima","highest priority":"Prioridade máxima",hours:RZ,includes:MZ,interval:NZ,"just check":"Apenas verifique","less or equal":"menor ou igual","less or equal to":"menor ou igual a","less than":"Menor que","lower priority":"prioridade mais baixa","lowest priority":"prioridade mais baixa",magic:LZ,milliseconds:BZ,minutes:PZ,ms:jZ,nadir:FZ,nauticalDawn:zZ,nauticalDusk:UZ,nextSunrise:WZ,nextSunset:HZ,night:VZ,nightEnd:GZ,"no blocks found":"Nenhum bloco encontrado","no group":"SEM GRUPO",normal:KZ,"normal priority":"prioridade normal","not equal to":"não é igual a","not properly connected":"Este bloco não está conectado corretamente com outros blocos.",offset:JZ,"on change":"em mudança","on condition change":"na mudança de condição","on update":"em atualização",one:qZ,or:YZ,quiet:XZ,"reset search":"redefinir pesquisa",search:ZZ,seconds:QZ,solarNoon:eQ,"store in":"armazenar em",sunrise:tQ,sunriseEnd:nQ,sunset:sQ,sunsetStart:rQ,then:iQ,"toggle value":"valor de alternância",tooltip_ack:oQ,tooltip_from:aQ,tooltip_lc:lQ,tooltip_quality:cQ,tooltip_ts:uQ,tooltip_user:dQ,tooltip_value:hQ,true:"verdade",two:pQ,undefined:"Indefinido",update:gQ,"use seconds":"use segundos","use trigger value":"use o gatilho",verbose_help:fQ,verbose_label:mQ,when:bQ,with:"com","with date":"com data","with offset":"com deslocamento",wizard:$Q},yQ="Подтверждение",_Q="Действия",wQ="Добавить",CQ="Все",SQ="Любая",TQ="Применить",kQ="Апрель",EQ="Спросить",IQ="Aстрономический",xQ="Август",DQ="Отмена",AQ="Закрыть",OQ="Условие",RQ="Условия",MQ="Приставка",NQ="Скопировано",LQ="Декабрь",BQ="Дефолт",PQ="Задержка",jQ="Удалить",FQ="Описание",zQ="Готово",UQ="Исполнить shell",WQ="Объяснение",HQ="Экспорт",VQ="Февраль",GQ="Февраль",KQ="Фильтр",JQ="Папка",qQ="Пт",YQ="пятница",XQ="ID",ZQ="ID1",QQ="ID2",eee="Импорт",tee="Экземпляр",nee="Экземпляры",see="Инструкции",ree="Январь",iee="Январь",oee="Июль",aee="Июнь",lee="Предел",cee="Март",uee="Май",dee="Меню",hee="Сообщение",pee="Пн",gee="Модель",fee="понедельник",mee="Месяц",bee="Более",$ee="Имя",vee="Ноябрь",yee="Ок",_ee="Октябрь",wee="Ok",Cee="Пауза",See="Pushover",Tee="Pushsafer",kee="Переименовать",Eee="Повторение",Iee="Перезапустить",xee="Результат",Dee="Сб",Aee="суббота",Oee="Сохранить",Ree="Расписание",Mee="скрипт",Nee="Сентябрь",Lee="Симулировать",Bee="Stack",Pee="Начинать",jee="Состояние",Fee="Вс",zee="Воскресенье",Uee="Telegram",Wee="Чт",Hee="Четверг",Vee="Время",Gee="Срабатывает",Kee="Триггеры",Jee="Вт",qee="вторник",Yee="URL",Xee="Значение",Zee="Громкость",Qee="Ср",ete="среда",tte="Напишите",nte="Да",ste="подтверждение",rte="все",ite="и",ote="Астро",ate="в",lte="контроль",cte="копия",ute="CRON",dte="Рассвет",hte="Это особый режим, в котором состояния и объекты не будут меняться. Но в протоколе будет отображаться только информация о каждом планируемом изменении.",pte="Отлаживать",gte="Сумерки",fte="легкий",mte="каждые(ый)",bte="Функция",$te="ID",vte="Название",yte="Роль",_te="Комната",wte="Золотой час",Cte="Конец золотого часа",Ste="Код будет выполняться только каждый раз, когда условие истинно. Например. при срабатывании по значению датчика температуры и условию «если температура выше 20°C», действия «затем» будут выполняться каждый раз, когда датчик отправляет значение температуры, и оно превышает 20°C. На 21°С, на 22°С и так далее.",Tte="Код будет выполнен только в случае изменения результата условия. Например, при срабатывании по значению датчика температуры и условию «если температура больше 20°C», действия «затем» будут выполнены один раз, когда температура превысит 20°C. В следующий раз действия «затем» будут выполнены, когда температура опустится ниже 20°C, а затем снова поднимается выше 20°C.",kte="час(ов)",Ete="содержит",Ite="интервал",xte="магия",Dte="миллисекунды",Ate="минут(у)",Ote="мс",Rte="Надир",Mte="Морской рассвет",Nte="Морские сумерки",Lte="Следующий восход",Bte="Следующий закат",Pte="Ночь",jte="Конец ночи",Fte="нормальный",zte="сдвиг",Ute="один",Wte="или",Hte="тихий",Vte="поиск",Gte="секунд",Kte="Солнечный полдень",Jte="Восход солнца",qte="Конец восхода",Yte="Закат солнца",Xte="Начало заката",Zte="тогда",Qte="Подтверждено",ene="От",tne="Последнее изменение",nne="Качественный",sne="Время",rne="Пользователь",ine="Значение",one="два",ane="обновить",lne="Добавляет вывод отладки в журнал для многих системных команд.",cne="Подробный протокол",une="если",dne="Мастер",hne={"%s not found":"%s не найден","()":"()","(optional)":"(необязательный)","-":"-",".":".","AI code generator":"ИИ Генератор кода",Ack:yQ,Actions:_Q,"Actual time of day":"Фактическое время суток",Add:wQ,"Add new script":"Добавить новый скрипт",All:CQ,"All files will be accepted":"Все файлы будут приняты",Any:SQ,"Any month":"В любой месяц",Apply:TQ,April:kQ,"Are you sure?":"Вы уверены?",Ask:EQ,Astronomical:IQ,"Astronomical events today":"Астрономические события сегодня",August:xQ,"Blockly description":"Создание правил графическими блоками","Body:":"Тело:",Cancel:DQ,"Cannot delete non empty item!":"Не удается удалить непустой элемент!","Change layout":"Изменить макет",'Change theme (actual "%s")':'Сменить тему (сейчас - "%s")',"Check blocks":"Проверить блоки","Check is not active, because javascript adapter is disabled":"Проверка неактивна, потому что адаптер Javascript отключен","Clear search input":"Очистить ввод","Click on this icon":"Нажмите на этот значок",Close:AQ,"Close all but current":"Закрыть все кроме текущего","Collapse all":"Свернуть все","Compares current time with astronomical event":"Сравнивает текущее время с астрономическим событием","Compares current time with the user specific time":"Сравнивает текущее время с конкретным временем пользователя","Compares the state value with user defined value":"Сравнивает значение состояния с пользовательским значением",Condition:OQ,Conditions:RQ,"Configuration not saved.":"Конфигурация не сохранена.",Console:MQ,"Control or update some state":"Контролировать или обновлять какое-то состояние","Control or update some state with delay":"Контролировать или обновлять какое-либо состояние с задержкой","Convert blockly to javascript for ever.":"Преобразовать blockly в Javascript навсегда.",Copied:NQ,"Copy script":"Скопировать скрипт","Copy to clipboard":"Скопировать в буфер обмена","Create new":"Создать новый","Create new folder":"Создать новую папку","Create new script":"Создать новый скрипт","Create or edit CRON or time wizard":"Создание или редактирование CRON или мастера времени","Dark Theme":"Тёмная тема","Dark style":"Темный стиль",Date:"Дата","Debug instance":"Экземпляр отладки","Debug options":"Варианты отладки",December:LQ,Default:BQ,"Define cron...":"Задать правило ...","Define schedule...":"Задать расписание...",Delay:PQ,Delete:jQ,"Delete %s":"Удалить %s...","Delete folder":"Удалить папку","Delete script":"Удалить скрипт",Description:FQ,"Deselect all":"Снять выбор со всех","Discard changes for %s":"Отменить изменения для %s",Done:zQ,"Double click to write value":"Двойной щелчок для записи значения","Download as file":"Скачать как файл","Drop some files here or click...":"Перетыщите сюда файлы или нажмите ...","Duplicate name":"Повторяющееся имя","Edit script or just double click":"Редактировать скрипт или просто дважды щелкнуть","Empty name is not allowed":"Пустое имя не допускается","End search mode":"Закончить поиск","Enter your question":"Введи свою просьбу",Error:"Ошибка","Error formatting code":"Ошибка форматирования кода","Error was found":"Ошибка была найдена","Every day":"Каждый день",Exec:UQ,"Executes some shell command":"Выполняет некоторую команду оболочки","Existing scripts will be overwritten.":"Существующие скрипты будут перезаписаны.","Expand all":"Открыть все","Expert mode":"Экспертный режим",Explanation:WQ,Export:HQ,"Export all scripts":"Экспорт всех скриптов","Export blocks":"Экспортировать блоки","Export selected blocks":"Экспортировать выбранные блоки",Februar:VQ,February:GQ,Filter:KQ,Folder:JQ,Fr:qQ,Friday:YQ,Function:"Функция","Function editor":"Редактор функции","Function: executed":"Функция: выполнено","Go to next line":"Перейти к следующей строке","HTTP Call":"HTTP-вызов","Hide logs":"Скрыть журналы",ID:XQ,ID1:ZQ,ID2:QQ,Import:eee,"Import blocks":"Импортировать блоки","Import error":"Ошибка импорта","Import scripts":"Импорт скриптов","Insert object ID":"Вставить ID объекта",Instance:tee,"Instance is disabled":"Экземпляр отключен","Instance:":"Пример:",Instances:nee,Instructions:see,"Invalid CRON":"Неправильный CRON","It will not be possible to revert this operation.":"Невозможно вернуть эту операцию.","JS description":"Создание правил путём написания Javascript",Januar:ree,January:iee,July:oee,June:aee,"Just check":"Просто проверить","Language:":"Язык:","Learn More":"Узнать больше","Light style":"Светлый стиль",Limit:lee,"Local time":"Местное время","Locate file":"Показать файл в дереве","Log outputs":"Журнал","Log text":"Текст журнала","Log: %s":"Журнал: %s","Make a HTTP get request":"Сделайте HTTP-запрос на получение","Make a pause between actions":"Сделайте паузу между действиями",March:cee,"March ":"Март ",May:uee,Menu:dee,Message:hee,Mo:pee,Model:gee,Monday:fee,Month:mee,More:bee,Name:$ee,"No Chat GPT Key found":"Ключ GPT для чата не найден","No active host found":"Активный host не найден","Nothing found":"Ничего не найдено",November:vee,OK:yee,October:_ee,Ok:wee,"On condition change":"При изменении реузльтата условий","On script save or adapter start":"При сохранении скрипта или запуске адаптера","On weekdays":"По дням недели","Open configuration":"Открыть настройки","Operate two states":"Операции над двумя состояниями","Operations with two states":"Операции с двумя состояниями",Pause:Cee,"Pause execution":"Приостановить выполнение","Pause script":"Остановить скрипт","Phone:":"Телефон:","Please select object ID...":"Пожалуйста, выберите ID объекта ...","Press Ctrl+Enter to get the answer":"Нажмите Ctrl+Enter, чтобы получить ответ","Prettify the script":"Украсьте сценарий","Print some text in log":"Напечатать текст в журнале","Priority:":"Приоритет:",Pushover:See,Pushsafer:Tee,"Read only ID selected: %s":"Выбран идентификатор только для чтения: %s",Rename:kee,"Reorder scripts in folders":"Сортировать скрипты в папках",Repeat:Eee,Restart:Iee,Result:xee,"Resume execution":"Возобновить выполнение","Root folder":"Корневая папка","Rules description":"Создавайте правила с блоками ЕСЛИ, ТО, ИНАЧЕ","Run script":"Запустить скрипт",Sa:Dee,Saturday:Aee,Save:Oee,"Save all":"Сохранить все","Say It":"Say It","Say some text via sayit adapter":"Произнесите текст через адаптер Sayit",Schedule:Ree,Script:Mee,"Script %s was modified on disk":'Скрипт "%s" был изменен на диске',"Script is not running":"Сценарий не запущен","Search in scripts":"Поиск в скриптах","Search...":"Поиск...","Select all":"Выбрать все","Send email":"Отправить email","Sends an email":"Отправляет электронное письмо","Sends message via Pushsafer":"Отправляет сообщение через Pushsafer","Sends message via pushover":"Отправляет сообщение через пустышку","Sends message via telegram":"Отправляет сообщение в телеграмме","Sends message via whatsapp-cmb":"Отправляет сообщение через whatsapp-cmb",September:Nee,"Server time":"Время сервера","Set state action":"Установить состояние","Set with delay":"Установить с задержкой","Shell command":"Команда оболочки","Show astronomical events":"Показать астрономические события","Show javascript code":"Показать код Javascript","Show logs":"Показать журналы","Show only paused scripts":"Показывать только приостановленные сценарии","Show only running scripts":"Показывать только запущенные скрипты","Show only scripts with problems":"Показывать только скрипты с проблемами",Simulate:Lee,"Some files will be rejected":"Некоторые файлы будут отклонены","Sound:":"Звук:",Stack:Bee,Start:Pee,"Start script":"Старт скрипта",State:jee,"State condition":"Сравнение состояния","Step into function":"Шаг в функционирование","Step out from function":"Выйти из функции","Stop on exception":"Остановить при исключении",Su:Fee,"Subject:":"Предмет:",Sunday:zee,"TS description":"Создание правил путём написания Typescript",Telegram:Uee,"Text:":"Текст:",Th:Wee,"The script will be stopped and must be activated manually after debugging. Continue?":"Cкрипт будет остановлен и должен быть активирован вручную после отладки. Продолжать?","This is advances option. You can write your own code here and it will be executed on trigger":"Это расширеный вариант. Вы можете написать здесь свой код и он будет выполняться по триггеру",Thursday:Hee,Time:Vee,"Time condition":"Условие времени","Title:":"Заголовок:","To:":"К:","Trigger with value":"Триггер со значением",Triggered:Gee,Triggers:Kee,"Triggers the on script saving or the javascript instance restart":"Запускает при сохранении скрипта или перезапуске экземпляра javascript","Triggers the rule on update or change of some state":"Запускает правило при обновлении или изменении какого-либо состояния","Triggers the rule periodically or on some specific time":"Срабатывает правило периодически или в определенное время",Tu:Jee,Tuesday:qee,URL:Yee,"Unknown error":"Неизвестная ошибка","Unknown error!":"Неизвестная ошибка!","Use generated code":"Использовать сгенерированный код","User function":"Функция пользователя","User:":"Пользователь:",Value:Xee,"Vibration:":"Вибрация:",Volume:Zee,We:Qee,Wednesday:ete,"Whatsapp-cmb":"Whatsapp-cmb",Write:tte,"Write your own code":"Напишите свой код",Yes:nte,"Yet exists!":"Имя уже существует!","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Вы можете использовать %s в URL-адресе, чтобы использовать текущее значение триггера, %id, чтобы использовать идентификатор инициированного объекта, %name, чтобы показать имя идентификатора инициированного объекта, или %old, чтобы использовать старое значение триггера.","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"Вы можете использовать %s в команде, чтобы использовать текущее значение триггера, %id, чтобы использовать идентификатор сработавшего объекта, %name, чтобы показать имя сработавшего идентификатора объекта, или %old, чтобы использовать старое значение триггера.","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Вы можете использовать %s в тексте для отображения текущего значения триггера, %id для использования идентификатора сработавшего объекта, %name для отображения имени сработавшего идентификатора объекта или %old для использования старого значения триггера.","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Вы можете использовать %s в значении, чтобы использовать текущее значение триггера, %id, чтобы использовать идентификатор инициированного объекта, %name, чтобы показать имя идентификатора инициированного объекта, или %old, чтобы использовать старое значение триггера.","You have to enter OpenAI API key in the configuration of javascript adapter.":"Вы должны ввести ключ OpenAI API в конфигурации адаптера javascript.","[equal]":"[равно]","[greater or equal]":"[больше или равно]","[greater]":"[больше]","[hysteresis]":"[гистерезис]","[includes]":"[содержит]","[less or equal]":"[меньше или равно]","[less]":"[меньше]","[not equal]":"[не равно]",acknowledgment:ste,all:rte,and:ite,astro:ote,at:ate,"clear running":"остановить уже бегущие",control:lte,copy:cte,cron:ute,dawn:dte,debug_help:hte,debug_label:pte,default:"дефолт",dusk:gte,easy:fte,else:"иначе","equal to":"равно",every:mte,"every hour at 0 minutes":"каждый час через 0 минут",false:"false","file reading has failed: %s":"Ошибка чтения файла: %s","file reading was aborted":"Чтение файла было прервано",filter_func:bte,filter_id:$te,filter_name:vte,filter_role:yte,filter_room:_te,"for edit or create script":"для редактирования или создайте новый скрипт","for professionals":"для профессионалов","for programmers":"для программистов",goldenHour:wte,goldenHourEnd:Cte,"greater or equal":"больше или равно","greater or equal to":"больше или равно","greater than":"больше чем",help_just_check:Ste,help_on_change:Tte,"high priority":"высокий приоритет","high-priority":"высокий-приоритет","highest priority":"высший приоритет",hours:kte,includes:Ete,interval:Ite,"just check":"просто проверить","less or equal":"меньше или равно","less or equal to":"меньше или равно","less than":"меньше, чем","lower priority":"более низкий приоритет","lowest priority":"самый низкий приоритет",magic:xte,milliseconds:Dte,minutes:Ate,ms:Ote,nadir:Rte,nauticalDawn:Mte,nauticalDusk:Nte,nextSunrise:Lte,nextSunset:Bte,night:Pte,nightEnd:jte,"no blocks found":"Блоков нет","no group":"Нет группы",normal:Fte,"normal priority":"нормальный приоритет","not equal to":"не равно","not properly connected":"Этот блок неправильно соединён или не соединён с другими блоками.",offset:zte,"on change":"по изменению","on condition change":"при изменении результата условия","on update":"при обновлении",one:Ute,or:Wte,quiet:Hte,"reset search":"Cбросить поиск",search:Vte,seconds:Gte,solarNoon:Kte,"store in":"сохранить в",sunrise:Jte,sunriseEnd:qte,sunset:Yte,sunsetStart:Xte,then:Zte,"toggle value":"инвертировать текщее значение",tooltip_ack:Qte,tooltip_from:ene,tooltip_lc:tne,tooltip_quality:nne,tooltip_ts:sne,tooltip_user:rne,tooltip_value:ine,true:"true",two:one,undefined:"неопределенный",update:ane,"use seconds":"использовать секунды","use trigger value":"использовать значение триггера",verbose_help:lne,verbose_label:cne,when:une,with:"с","with date":"с датой","with offset":"со сдвигом",wizard:dne},pne="Визнано",gne="Дії",fne="додати",mne="все",bne="Будь-який",$ne="Застосувати",vne="квітень",yne="Запитуйте",_ne="Астрономічний",wne="серпень",Cne="Скасувати",Sne="Закрити",Tne="Хвороба",kne="Умови",Ene="Консоль",Ine="Скопійовано",xne="Грудень",Dne="За замовчуванням",Ane="Затримка",One="Видалити",Rne="опис",Mne="Готово",Nne="Виконавча оболонка",Lne="Пояснення",Bne="Експорт",Pne="Лютий",jne="Лютий",Fne="фільтр",zne="Папка",Une="О",Wne="П'ятниця",Hne="ID",Vne="ID1",Gne="ID2",Kne="Імпорт",Jne="Екземпляр",qne="Примірники",Yne="Інструкції",Xne="січень",Zne="січня",Qne="липень",ese="червень",tse="Ліміт",nse="березень",sse="Може",rse="Меню",ise="повідомлення",ose="пн",ase="Модель",lse="понеділок",cse="місяць",use="Більше",dse="Ім'я",hse="Листопад",pse="в порядку",gse="жовтень",fse="В порядку",mse="Пауза",bse="Pushover",$se="Pushsafer",vse="Перейменувати",yse="Повторіть",_se="Перезапустіть",wse="Результат",Cse="Sa",Sse="Субота",Tse="зберегти",kse="розклад",Ese="Сценарій",Ise="Вересень",xse="Симулювати",Dse="Стек",Ase="старт",Ose="Держава",Rse="Нд",Mse="неділя",Nse="Телеграма",Lse="чт",Bse="четвер",Pse="час",jse="Спрацьовує",Fse="Тригери",zse="вт",Use="вівторок",Wse="URL",Hse="Значення",Vse="Обсяг",Gse="ми",Kse="Середа",Jse="Напишіть",qse="Так",Yse="підтвердження",Xse="все",Zse="і",Qse="Астро",ere="в",tre="КОНТРОЛЬ",nre="копія",sre="CRON",rre="Світанок",ire="Це особливий режим, в якому стану та об'єкти не змінюватимуться. Але в протоколі відображатиметься лише інформація про кожну заплановану зміну.",ore="Відлагоджувати",are="Сутінки",lre="легко",cre="кожен",ure="функція",dre="ID",hre="Ім'я",pre="Роль",gre="Кімната",fre="Золота година",mre="Кінець золотої години",bre="Код буде виконуватися лише щоразу, коли умова виконується. наприклад якщо спрацьовує значення датчика температури та умова «якщо температура перевищує 20°C», дії «тоді» виконуватимуться щоразу, коли датчик надсилає температуру, і вона перевищує 20°C. На 21°C, на 22°C і так далі.",$re="Код буде виконано лише у разі зміни результату умови. наприклад якщо спрацьовує значення датчика температури та умова «якщо температура перевищує 20°C», дії «тоді» будуть виконані один раз, коли температура буде вище 20. Наступного разу дії «тоді» буде виконано, коли температура падає нижче 20, а потім знову піднімається вище 20.",vre="години",yre="включає в себе",_re="інтервал",wre="магія",Cre="мілісекунд",Sre="хвилин",Tre="РС",kre="Надір",Ere="Морський світанок",Ire="Морські сутінки",xre="Наступний схід сонця",Dre="Наступний захід сонця",Are="ніч",Ore="Кінець ночі",Rre="нормально",Mre="зсув",Nre="один",Lre="або",Bre="тихо",Pre="пошук",jre="секунд",Fre="Сонячний полудень",zre="схід сонця",Ure="Кінець сходу сонця",Wre="Захід сонця",Hre="Початок заходу сонця",Vre="потім",Gre="Визнати",Kre="Від",Jre="Востаннє змінено",qre="якість",Yre="Мітка часу",Xre="Користувач",Zre="Значення",Qre="два",eie="оновлення",tie="Додає вихідні дані налагодження до журналу для багатьох системних команд",nie="Докладні результати журналу",sie="коли",rie="майстер",iie={"%s not found":"%s не знайдено","()":"()","(optional)":"(необов'язково)","-":"-",".":".","AI code generator":"Генератор коду ШІ",Ack:pne,Actions:gne,"Actual time of day":"Фактичний час доби",Add:fne,"Add new script":"Додати новий сценарій",All:mne,"All files will be accepted":"Усі файли будуть прийняті",Any:bne,"Any month":"Будь-який місяць",Apply:$ne,April:vne,"Are you sure?":"Ти впевнений?",Ask:yne,Astronomical:_ne,"Astronomical events today":"Астрономічні події сьогодні",August:wne,"Blockly description":"Створення правил за графічними блоками","Body:":"Тіло:",Cancel:Cne,"Cannot delete non empty item!":"Неможливо видалити непорожній елемент!","Change layout":"Змінити макет",'Change theme (actual "%s")':'Змінити тему (тепер - "%s")',"Check blocks":"Перевірте блоки","Check is not active, because javascript adapter is disabled":"Перевірка не активна, оскільки адаптер Javascript вимкнено","Clear search input":"Очистити пошуковий запит","Click on this icon":"Натисніть на цей значок",Close:Sne,"Close all but current":"Закрити всі, крім поточних","Collapse all":"Закрити всі","Compares current time with astronomical event":"Порівнює поточний час з астрономічною подією","Compares current time with the user specific time":"Порівнює поточний час із конкретним часом користувача","Compares the state value with user defined value":"Порівнює значення стану з визначеним користувачем значенням",Condition:Tne,Conditions:kne,"Configuration not saved.":"Конфігурація не збережена.",Console:Ene,"Control or update some state":"Контролюйте або оновлюйте певний стан","Control or update some state with delay":"Контролюйте або оновлюйте деякий стан із затримкою","Convert blockly to javascript for ever.":"Назавжди конвертуйте Blockly у Javascript.",Copied:Ine,"Copy script":"Копіювати сценарій","Copy to clipboard":"Копіювати в буфер обміну","Create new":"Створити новий","Create new folder":"Створити нову папку","Create new script":"Створіть новий сценарій","Create or edit CRON or time wizard":"Створення або редагування CRON або майстра часу","Dark Theme":"Темна тема","Dark style":"Темний стиль",Date:"Дата","Debug instance":"Екземпляр налагодження","Debug options":"Параметри налагодження",December:xne,Default:Dne,"Define cron...":"Визначити cron...","Define schedule...":"Визначити розклад...",Delay:Ane,Delete:One,"Delete %s":"Видалити %s...","Delete folder":"Видалити папку","Delete script":"Видалити сценарій",Description:Rne,"Deselect all":"Зняти вибір із усіх","Discard changes for %s":"Скасувати зміни для %s",Done:Mne,"Double click to write value":"Двічі клацніть, щоб записати значення","Download as file":"Завантажити файл","Drop some files here or click...":"Перетягніть кілька файлів сюди або натисніть...","Duplicate name":"Повторюване ім'я","Edit script or just double click":"Відредагуйте сценарій або просто двічі клацніть","Empty name is not allowed":"Порожнє ім'я не допускається","End search mode":"Завершити режим пошуку","Enter your question":"Введи своє прохання",Error:"Помилка","Error formatting code":"Помилка форматування коду","Error was found":"Виявлено помилку","Every day":"Кожен день",Exec:Nne,"Executes some shell command":"Виконує певну команду оболонки","Existing scripts will be overwritten.":"Існуючі сценарії буде перезаписано.","Expand all":"Розгорнути все","Expert mode":"Експертний режим",Explanation:Lne,Export:Bne,"Export all scripts":"Експортувати всі сценарії","Export blocks":"Експорт блоків","Export selected blocks":"Експортувати вибрані блоки",Februar:Pne,February:jne,Filter:Fne,Folder:zne,Fr:Une,Friday:Wne,Function:"функція","Function editor":"Редактор функцій","Function: executed":"Функція: виконано","Go to next line":"Перейти до наступного рядка","HTTP Call":"Виклик HTTP","Hide logs":"Приховати журнали",ID:Hne,ID1:Vne,ID2:Gne,Import:Kne,"Import blocks":"Імпорт блоків","Import error":"Помилка імпорту","Import scripts":"Імпорт скриптів","Insert object ID":"Вставте ID об'єкта",Instance:Jne,"Instance is disabled":"Примірник вимкнено","Instance:":"екземпляр:",Instances:qne,Instructions:Yne,"Invalid CRON":"Недійсний CRON","It will not be possible to revert this operation.":"Скасувати цю операцію буде неможливо.","JS description":"Створення правил шляхом написання Javascript",Januar:Xne,January:Zne,July:Qne,June:ese,"Just check":"Просто перевірте","Language:":"Мову:","Learn More":"Вивчайте більше","Light style":"Легкий стиль",Limit:tse,"Local time":"Місцевий час","Locate file":"Знайти файл","Log outputs":"Виходи журналу","Log text":"Текст журналу","Log: %s":"Журнал: %s","Make a HTTP get request":"Зробіть HTTP-запит на отримання","Make a pause between actions":"Між діями робіть паузу",March:nse,"March ":"березень",May:sse,Menu:rse,Message:ise,Mo:ose,Model:ase,Monday:lse,Month:cse,More:use,Name:dse,"No Chat GPT Key found":"Ключ GPT для чату не знайдено","No active host found":"Активний хост не знайдено","Nothing found":"Нічого не знайдено",November:hse,OK:pse,October:gse,Ok:fse,"On condition change":"За умови зміни результату","On script save or adapter start":"Під час збереження сценарію або запуску адаптера","On weekdays":"В будні дні","Open configuration":"Відкрита конфігурація","Operate two states":"Керуйте двома станами","Operations with two states":"Операції з двома станами",Pause:mse,"Pause execution":"Призупинити виконання","Pause script":"Призупинити сценарій","Phone:":"телефон:","Please select object ID...":"Виберіть ідентифікатор об'єкта...","Press Ctrl+Enter to get the answer":"Натисніть Ctrl+Enter, щоб отримати відповідь","Prettify the script":"Прикрасьте сценарій","Print some text in log":"Надрукувати текст у журналі","Priority:":"Пріоритет:",Pushover:bse,Pushsafer:$se,"Read only ID selected: %s":"Вибрано ідентифікатор лише для читання: %s",Rename:vse,"Reorder scripts in folders":"Зміна порядку сценаріїв у папках",Repeat:yse,Restart:_se,Result:wse,"Resume execution":"Відновити виконання","Root folder":"Коренева папка","Rules description":"Створюйте правила з блоками IF, THEN, ELSE","Run script":"Запустіть сценарій",Sa:Cse,Saturday:Sse,Save:Tse,"Save all":"Зберегти все","Say It":"Скажи це","Say some text via sayit adapter":"Скажіть текст через адаптер sayit",Schedule:kse,Script:Ese,"Script %s was modified on disk":"Сценарій %s змінено на диску","Script is not running":"Сценарій не працює","Search in scripts":"Пошук у скриптах","Search...":"пошук...","Select all":"Вибрати все","Send email":"Відправити лист","Sends an email":"Надсилає електронний лист","Sends message via Pushsafer":"Надсилає повідомлення через Pushsafer","Sends message via pushover":"Надсилає повідомлення через pushover","Sends message via telegram":"Надсилає повідомлення через телеграм","Sends message via whatsapp-cmb":"Надсилає повідомлення через whatsapp-cmb",September:Ise,"Server time":"Час сервера","Set state action":"Встановити дію стану","Set with delay":"Встановити із затримкою","Shell command":"Команда оболонки","Show astronomical events":"Показати астрономічні події","Show javascript code":"Показати код Javascript","Show logs":"Показати журнали","Show only paused scripts":"Показувати лише призупинені сценарії","Show only running scripts":"Показувати лише запущені сценарії","Show only scripts with problems":"Показувати лише сценарії з проблемами",Simulate:xse,"Some files will be rejected":"Деякі файли буде відхилено","Sound:":"звук:",Stack:Dse,Start:Ase,"Start script":"Запустити сценарій",State:Ose,"State condition":"Стан стану","Step into function":"Крок у функції","Step out from function":"Вийти з функції","Stop on exception":"Зупинка на винятках",Su:Rse,"Subject:":"Тема:",Sunday:Mse,"TS description":"Створення правил шляхом написання Typescript",Telegram:Nse,"Text:":"Текст:",Th:Lse,"The script will be stopped and must be activated manually after debugging. Continue?":"Сценарій буде зупинено, і його необхідно активувати вручну після налагодження. Продовжити?","This is advances option. You can write your own code here and it will be executed on trigger":"Це авансовий варіант. Ви можете написати тут свій власний код, і він буде виконано на тригері",Thursday:Bse,Time:Pse,"Time condition":"Умова часу","Title:":"Назва:","To:":"до:","Trigger with value":"Тригер зі значенням",Triggered:jse,Triggers:Fse,"Triggers the on script saving or the javascript instance restart":"Ініціює збереження сценарію або перезапуск екземпляра JavaScript","Triggers the rule on update or change of some state":"Запускає правило при оновленні або зміні якогось стану","Triggers the rule periodically or on some specific time":"Спрацьовує правило періодично або в певний час",Tu:zse,Tuesday:Use,URL:Wse,"Unknown error":"Невідома помилка","Unknown error!":"Невідома помилка!","Use generated code":"Використовуйте згенерований код","User function":"Функція користувача","User:":"Користувач:",Value:Hse,"Vibration:":"Вібрація:",Volume:Vse,We:Gse,Wednesday:Kse,"Whatsapp-cmb":"Whatsapp-cmb",Write:Jse,"Write your own code":"Напишіть власний код",Yes:qse,"Yet exists!":"Все ж існує!","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"Ви можете використовувати %s в URL-адресі, щоб використовувати поточне значення тригера, %id, щоб використовувати ідентифікатор активованого об’єкта, %name, щоб показати назву ідентифікатора активованого об’єкта, або %old, щоб використовувати старе значення тригера","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"Ви можете використовувати %s у команді, щоб використовувати поточне значення тригера, %id, щоб використовувати ідентифікатор активованого об’єкта, %name, щоб показати назву ідентифікатора активованого об’єкта, або %old, щоб використовувати старе значення тригера","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"Ви можете використовувати %s у тексті для відображення поточного значення тригера, %id для використання ідентифікатора активованого об’єкта, %name для відображення імені ідентифікатора активованого об’єкта або %old для використання старого значення тригера","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"Ви можете використовувати %s у значенні, щоб використовувати поточне значення тригера, %id, щоб використовувати ідентифікатор активованого об’єкта, %name, щоб показати назву ідентифікатора активованого об’єкта, або %old, щоб використовувати старе значення тригера","You have to enter OpenAI API key in the configuration of javascript adapter.":"Ви повинні ввести ключ OpenAI API у конфігурації адаптера JavaScript.","[equal]":"[рівний]","[greater or equal]":"[більше або дорівнює]","[greater]":"[більший]","[hysteresis]":"[гістерезис]","[includes]":"[включає]","[less or equal]":"[менше або рівно]","[less]":"[менше]","[not equal]":"[не дорівнює]",acknowledgment:Yse,all:Xse,and:Zse,astro:Qse,at:ere,"clear running":"чіткий біг",control:tre,copy:nre,cron:sre,dawn:rre,debug_help:ire,debug_label:ore,default:"за замовчуванням",dusk:are,easy:lre,else:"інше","equal to":"дорівнює",every:cre,"every hour at 0 minutes":"щогодини о 0 хвилин",false:"помилковий","file reading has failed: %s":"не вдалося прочитати файл: %s","file reading was aborted":"читання файлу було перервано",filter_func:ure,filter_id:dre,filter_name:hre,filter_role:pre,filter_room:gre,"for edit or create script":"для редагування або створення нового сценарію","for professionals":"для професіоналів","for programmers":"для програмістів",goldenHour:fre,goldenHourEnd:mre,"greater or equal":"більший або рівний","greater or equal to":"більше або дорівнює","greater than":"більше, ніж, величніше ніж, крутіший за",help_just_check:bre,help_on_change:$re,"high priority":"високий пріоритет","high-priority":"високий пріоритет","highest priority":"найвищий пріоритет",hours:vre,includes:yre,interval:_re,"just check":"просто перевірте","less or equal":"менше або дорівнює","less or equal to":"менше або дорівнює","less than":"менше ніж","lower priority":"нижчий пріоритет","lowest priority":"найнижчий пріоритет",magic:wre,milliseconds:Cre,minutes:Sre,ms:Tre,nadir:kre,nauticalDawn:Ere,nauticalDusk:Ire,nextSunrise:xre,nextSunset:Dre,night:Are,nightEnd:Ore,"no blocks found":"Блоків не знайдено","no group":"НЕМАЄ ГРУПИ",normal:Rre,"normal priority":"нормальний пріоритет","not equal to":"не дорівнює","not properly connected":"Цей блок неправильно з’єднаний з іншими блоками.",offset:Mre,"on change":"на зміну","on condition change":"про зміну умов","on update":"на оновлення",one:Nre,or:Lre,quiet:Bre,"reset search":"скинути пошук",search:Pre,seconds:jre,solarNoon:Fre,"store in":"зберігати в",sunrise:zre,sunriseEnd:Ure,sunset:Wre,sunsetStart:Hre,then:Vre,"toggle value":"значення перемикання",tooltip_ack:Gre,tooltip_from:Kre,tooltip_lc:Jre,tooltip_quality:qre,tooltip_ts:Yre,tooltip_user:Xre,tooltip_value:Zre,true:"правда",two:Qre,undefined:"невизначений",update:eie,"use seconds":"використовуйте секунди","use trigger value":"використовувати значення тригера",verbose_help:tie,verbose_label:nie,when:sie,with:"з","with date":"з датою","with offset":"зі зміщенням",wizard:rie},oie="确认",aie="动作",lie="添加",cie="所有",uie="任何",die="申请",hie="四月",pie="问",gie="天文",fie="八月",mie="取消",bie="关闭",$ie="健康)状况",vie="情况",yie="安慰",_ie="复制的",wie="十二月",Cie="默认",Sie="延迟",Tie="删除",kie="描述",Eie="完成",Iie="执行力",xie="解释",Die="导出",Aie="二月",Oie="二月",Rie="筛选",Mie="文件夹",Nie="r",Lie="星期五",Bie="ID",Pie="ID1",jie="ID2",Fie="导入",zie="实例",Uie="实例",Wie="指示",Hie="亚努尔",Vie="一月",Gie="七月",Kie="六月",Jie="限制",qie="三月",Yie="五月",Xie="菜单",Zie="信息",Qie="莫",eoe="模型",toe="星期一",noe="月",soe="更多的",roe="名称",ioe="十一月",ooe="好的",aoe="十月",loe="确定",coe="暂停",uoe="俯卧撑",doe="推安全",hoe="重命名",poe="重复",goe="重启",foe="结果",moe="萨",boe="星期六",$oe="保存",voe="日程",yoe="脚本",_oe="九月",woe="模拟",Coe="堆",Soe="开始",Toe="状态",koe="苏",Eoe="星期日",Ioe="电报",xoe="4",Doe="星期四",Aoe="时间",Ooe="触发",Roe="扳机",Moe="涂",Noe="星期二",Loe="网址",Boe="价值",Poe="体积",joe="3",Foe="星期三",zoe="写",Uoe="是的",Woe="致谢",Hoe="全部",Voe="和",Goe="天文",Koe="在",Joe="控制",qoe="复制",Yoe="克朗",Xoe="黎明",Zoe="这是一种特殊模式,其中状态和对象不会改变。但只有有关每个计划更改的信息才会显示在协议中。",Qoe="调试",eae="黄昏",tae="简单的",nae="每一个",sae="功能",rae="ID",iae="名字",oae="角色",aae="房间",lae="黄金时段",cae="黄金时段结束",uae="仅在条件为真时才执行代码。例如。如果触发温度传感器值并且条件为“如果温度大于20°C”,则每次传感器发送温度且温度超过20°C时,将执行“然后”动作。 21°C,22°C等。",dae="仅当条件结果更改时,代码才会执行。例如。如果触发温度传感器值且条件为“如果温度大于20°C”,则温度超过20时将执行一次“则”动作,下一次,当温度超过20时将执行“则”动作低于20失败,然后再次超过20。",hae="小时",pae="包括",gae="间隔",fae="魔法",mae="毫秒",bae="分钟",$ae="毫秒",vae="最低点",yae="航海黎明",_ae="航海黄昏",wae="下一个日出",Cae="下一个日落",Sae="夜晚",Tae="夜晚结束",kae="普通的",Eae="抵消",Iae="一",xae="或",Dae="安静的",Aae="搜索",Oae="秒",Rae="星期日正午",Mae="日出",Nae="日出结束",Lae="日落",Bae="日落开始",Pae="然后",jae="确认",Fae="从",zae="上一次改变",Uae="质量",Wae="时间戳",Hae="用户",Vae="值",Gae="二",Kae="更新",Jae="将调试输出添加到许多系统命令的日志中",qae="详细日志输出",Yae="什么时候",Xae="巫师",Zae={"%s not found":"%s 未找到","()":"()","(optional)":"(选修的)","-":"-",".":".","AI code generator":"AI代码生成器",Ack:oie,Actions:aie,"Actual time of day":"一天中的实际时间",Add:lie,"Add new script":"添加新脚本",All:cie,"All files will be accepted":"所有文件都将被接受",Any:uie,"Any month":"任何月份",Apply:die,April:hie,"Are you sure?":"你确定吗?",Ask:pie,Astronomical:gie,"Astronomical events today":"今天的天文事件",August:fie,"Blockly description":"按图形块创建规则","Body:":"身体:",Cancel:mie,"Cannot delete non empty item!":"无法删除非空项目!","Change layout":"变更版面",'Change theme (actual "%s")':"更改主题(现在为“%s”)","Check blocks":"检查块","Check is not active, because javascript adapter is disabled":"检查未激活,因为禁用了Javascript适配器","Clear search input":"清除搜索输入","Click on this icon":"单击此图标",Close:bie,"Close all but current":"关闭所有(当前除外)","Collapse all":"全部收缩","Compares current time with astronomical event":"将当前时间与天文事件进行比较","Compares current time with the user specific time":"将当前时间与用户特定时间进行比较","Compares the state value with user defined value":"比较状态值和用户定义的值",Condition:$ie,Conditions:vie,"Configuration not saved.":"配置未保存。",Console:yie,"Control or update some state":"控制或更新某些状态","Control or update some state with delay":"延迟控制或更新某些状态","Convert blockly to javascript for ever.":"立即将blockly转换为Javascript。",Copied:_ie,"Copy script":"复制脚本","Copy to clipboard":"复制到剪贴板","Create new":"创建新的","Create new folder":"创建新文件夹","Create new script":"创建新脚本","Create or edit CRON or time wizard":"创建或编辑周期任务或时间向导","Dark Theme":"深色调主题","Dark style":"深色调风格",Date:"日期","Debug instance":"调试实例","Debug options":"调试选项",December:wie,Default:Cie,"Define cron...":"定义周期任务...","Define schedule...":"定义调度器......",Delay:Sie,Delete:Tie,"Delete %s":"删除%s...","Delete folder":"删除文件夹","Delete script":"删除脚本",Description:kie,"Deselect all":"取消全选","Discard changes for %s":"放弃%s的更改",Done:Eie,"Double click to write value":"Double click to write value","Download as file":"档案","Drop some files here or click...":"将文件拖拽到这里或单击......","Duplicate name":"重名","Edit script or just double click":"双击编辑脚本","Empty name is not allowed":"不允许使用空名称","End search mode":"结束搜索模式","Enter your question":"输入您的要求",Error:"错误","Error formatting code":"代码格式错误","Error was found":"发现错误","Every day":"每天",Exec:Iie,"Executes some shell command":"执行一些shell命令","Existing scripts will be overwritten.":"现有脚本将被覆盖。","Expand all":"展开全部","Expert mode":"专家模式",Explanation:xie,Export:Die,"Export all scripts":"导出所有脚本","Export blocks":"导出块","Export selected blocks":"导出选定的块",Februar:Aie,February:Oie,Filter:Rie,Folder:Mie,Fr:Nie,Friday:Lie,Function:"功能","Function editor":"功能编辑器","Function: executed":"功能:执行","Go to next line":"转到下一行","HTTP Call":"HTTP呼叫","Hide logs":"隐藏日志",ID:Bie,ID1:Pie,ID2:jie,Import:Fie,"Import blocks":"导入块","Import error":"导入错误","Import scripts":"导入脚本","Insert object ID":"插入对象ID",Instance:zie,"Instance is disabled":"实例已禁用","Instance:":"实例:",Instances:Uie,Instructions:Wie,"Invalid CRON":"无效的周期任务","It will not be possible to revert this operation.":"无法恢复此操作。","JS description":"通过编写Javascript来创建规则",Januar:Hie,January:Vie,July:Gie,June:Kie,"Just check":"只是检查","Language:":"语言:","Learn More":"了解更多","Light style":"浅色调风格",Limit:Jie,"Local time":"当地时间","Locate file":"定位文件","Log outputs":"记录输出","Log text":"记录文字","Log: %s":"日志:%s","Make a HTTP get request":"发出HTTP获取请求","Make a pause between actions":"在动作之间暂停",March:qie,"March ":"行进",May:Yie,Menu:Xie,Message:Zie,Mo:Qie,Model:eoe,Monday:toe,Month:noe,More:soe,Name:roe,"No Chat GPT Key found":"找不到聊天 GPT 密钥","No active host found":"找不到活动主机","Nothing found":"没有发现",November:ioe,OK:ooe,October:aoe,Ok:loe,"On condition change":"条件变化时","On script save or adapter start":"在脚本保存或适配器启动时","On weekdays":"在工作日","Open configuration":"开放配置","Operate two states":"操作两种状态","Operations with two states":"具有两种状态的操作",Pause:coe,"Pause execution":"暂停执行","Pause script":"暂停脚本","Phone:":"电话:","Please select object ID...":"请选择对象ID...","Press Ctrl+Enter to get the answer":"按 Ctrl+Enter 即可得到答案","Prettify the script":"美化脚本","Print some text in log":"在日志中打印一些文本","Priority:":"优先:",Pushover:uoe,Pushsafer:doe,"Read only ID selected: %s":"选择的只读ID:%s",Rename:hoe,"Reorder scripts in folders":"重新排序文件夹中的脚本",Repeat:poe,Restart:goe,Result:foe,"Resume execution":"恢复执行","Root folder":"根文件夹","Rules description":"使用IF,THEN,ELSE块创建规则","Run script":"运行脚本",Sa:moe,Saturday:boe,Save:$oe,"Save all":"保存全部","Say It":"Say It","Say some text via sayit adapter":"通过sayit适配器说一些文字",Schedule:voe,Script:yoe,"Script %s was modified on disk":"脚本%s已在磁盘上修改","Script is not running":"脚本没有运行","Search in scripts":"在脚本中搜索","Search...":"搜索...","Select all":"全选","Send email":"发送电子邮件","Sends an email":"发送邮件","Sends message via Pushsafer":"通过Pushsafer发送消息","Sends message via pushover":"通过推播发送消息","Sends message via telegram":"通过电报发送消息","Sends message via whatsapp-cmb":"通过whatsapp-cmb发送消息",September:_oe,"Server time":"服务器时间","Set state action":"设定状态动作","Set with delay":"延迟设置","Shell command":"Shell命令","Show astronomical events":"显示天文事件","Show javascript code":"显示Javascript代码","Show logs":"显示记录","Show only paused scripts":"仅显示暂停的脚本","Show only running scripts":"仅显示正在运行的脚本","Show only scripts with problems":"仅显示有问题的脚本",Simulate:woe,"Some files will be rejected":"有些文件将被拒绝","Sound:":"声音:",Stack:Coe,Start:Soe,"Start script":"启动脚本",State:Toe,"State condition":"状态条件","Step into function":"进入功能","Step out from function":"退出函数","Stop on exception":"异常停止",Su:koe,"Subject:":"学科:",Sunday:Eoe,"TS description":"通过编写Typescript来创建规则",Telegram:Ioe,"Text:":"文本:",Th:xoe,"The script will be stopped and must be activated manually after debugging. Continue?":"该脚本将停止,并且必须在调试后手动激活。继续?","This is advances option. You can write your own code here and it will be executed on trigger":"这是高级选项。您可以在此处编写自己的代码,它将在触发器上执行",Thursday:Doe,Time:Aoe,"Time condition":"时间条件","Title:":"标题:","To:":"到:","Trigger with value":"用值触发",Triggered:Ooe,Triggers:Roe,"Triggers the on script saving or the javascript instance restart":"触发脚本保存或javascript实例重启","Triggers the rule on update or change of some state":"在某些状态的更新或更改时触发规则","Triggers the rule periodically or on some specific time":"定期或在特定时间触发规则",Tu:Moe,Tuesday:Noe,URL:Loe,"Unknown error":"未知错误","Unknown error!":"未知错误!","Use generated code":"使用生成的代码","User function":"用户功能","User:":"用户:",Value:Boe,"Vibration:":"振动:",Volume:Poe,We:joe,Wednesday:Foe,"Whatsapp-cmb":"Whatsapp的cmb",Write:zoe,"Write your own code":"编写自己的代码",Yes:Uoe,"Yet exists!":"不存在!","You can use %s in the URL to use current trigger value or %id to use the triggered object ID":"您可以在 URL 中使用 %s 以使用当前触发值,%id 以使用触发对象 ID,%name 以显示触发对象 ID 名称或 %old 以使用旧触发值","You can use %s in the command to use current trigger value or %id to use the triggered object ID":"您可以在命令中使用 %s 以使用当前触发值,%id 使用触发对象 ID,%name 显示触发对象 ID 名称或 %old 使用旧触发值","You can use %s in the text to display current trigger value or %id to display the triggered object ID":"您可以在文本中使用 %s 显示当前触发值,%id 使用触发对象 ID,%name 显示触发对象 ID 名称或 %old 使用旧触发值","You can use %s in the value to use the current trigger value or %id to display the triggered object ID":"您可以在值中使用 %s 以使用当前触发器值,%id 使用触发对象 ID,%name 显示触发对象 ID 名称或 %old 使用旧触发器值","You have to enter OpenAI API key in the configuration of javascript adapter.":"您必须在 javascript 适配器的配置中输入 OpenAI API 密钥。","[equal]":"[平等的]","[greater or equal]":"[大于等于]","[greater]":"[更大]","[hysteresis]":"[磁滞]","[includes]":"[包括]","[less or equal]":"[小于或等于]","[less]":"[较少的]","[not equal]":"[不相等]",acknowledgment:Woe,all:Hoe,and:Voe,astro:Goe,at:Koe,"clear running":"畅通无阻",control:Joe,copy:qoe,cron:Yoe,dawn:Xoe,debug_help:Zoe,debug_label:Qoe,default:"默认",dusk:eae,easy:tae,else:"别的","equal to":"等于",every:nae,"every hour at 0 minutes":"每小时0分钟",false:"错误的","file reading has failed: %s":"文件读取失败:%s","file reading was aborted":"文件读取中止",filter_func:sae,filter_id:rae,filter_name:iae,filter_role:oae,filter_room:aae,"for edit or create script":"用于编辑或创建脚本","for professionals":"对于专业人士","for programmers":"对于程序员",goldenHour:lae,goldenHourEnd:cae,"greater or equal":"大于或等于","greater or equal to":"大于或等于","greater than":"比...更棒",help_just_check:uae,help_on_change:dae,"high priority":"高优先级","high-priority":"高优先级","highest priority":"最高优先级",hours:hae,includes:pae,interval:gae,"just check":"只是检查","less or equal":"小于或等于","less or equal to":"小于或等于","less than":"少于","lower priority":"低优先级","lowest priority":"最低优先级",magic:fae,milliseconds:mae,minutes:bae,ms:$ae,nadir:vae,nauticalDawn:yae,nauticalDusk:_ae,nextSunrise:wae,nextSunset:Cae,night:Sae,nightEnd:Tae,"no blocks found":"找不到块","no group":"没有组",normal:kae,"normal priority":"正常优先","not equal to":"不等于","not properly connected":"此块未正确连接到其他块。",offset:Eae,"on change":"在变化","on condition change":"在条件变化时","on update":"更新时",one:Iae,or:xae,quiet:Dae,"reset search":"重置搜索",search:Aae,seconds:Oae,solarNoon:Rae,"store in":"存放在",sunrise:Mae,sunriseEnd:Nae,sunset:Lae,sunsetStart:Bae,then:Pae,"toggle value":"切换值",tooltip_ack:jae,tooltip_from:Fae,tooltip_lc:zae,tooltip_quality:Uae,tooltip_ts:Wae,tooltip_user:Hae,tooltip_value:Vae,true:"真的",two:Gae,undefined:"不明确的",update:Kae,"use seconds":"精确到秒","use trigger value":"使用触发值",verbose_help:Jae,verbose_label:qae,when:Yae,with:"和","with date":"有日期","with offset":"带偏移",wizard:Xae},of={root:{flexGrow:1,display:"flex",width:"100%",height:"100%"},mainDiv:{width:"100%",height:"100%",overflow:"hidden"},content:o=>({width:"100%",height:"100%",backgroundColor:o.palette.background&&o.palette.background.default,position:"relative"}),menuOpenCloseButton:o=>({position:"absolute",left:0,borderRadius:"0 5px 5px 0",top:6,pt:1,cursor:"pointer",zIndex:1,height:25,width:20,background:o.palette.secondary.main,color:o.palette.primary.main,pl:"3px","&:hover":{color:"white"}}),showLogButton:o=>({position:"absolute",right:3,borderRadius:"5px 5px 0 0",bottom:0,pt:"3px",cursor:"pointer",zIndex:10,height:20,width:25,background:o.palette.secondary.main,color:o.palette.primary.main,pl:1,"&:hover":{color:"white"}})};class Qae extends I.GenericApp{hosts=[];importFile=null;scripts={};confirmCallback=null;constructor(n){super(n,{Connection:I.AdminConnection,translations:{en:gF,de:aW,es:eH,fr:K8,it:F6,nl:RK,pl:kY,pt:vQ,ru:hne,uk:iie,"zh-cn":Zae},bottomButtons:!1,socket:{autoSubscribeLog:!0},sentryDSN:window.sentryDSN});const s=window.localStorage.getItem("JS.logSizes");let i=[80,20];if(s)try{i=JSON.parse(s)}catch{}const a=window.localStorage.getItem("JS.splitSizes");let c=[20,80];if(a)try{c=JSON.parse(a)}catch{}Object.assign(this.state,{splitSizes:c,logSizes:i}),window.alert=h=>{console.error(h),this.showJsError(h.toString())}}onScriptsChanged=(n,s)=>{if(!n)return;let i=!1;const a={};n.startsWith("script.js.")&&(s?JSON.stringify(this.scripts[n])!==JSON.stringify(s)&&(this.scripts[n]=s,i=!0,a.scriptsHash=this.state.scriptsHash+1):this.scripts[n]&&(delete this.scripts[n],i=!0,a.scriptsHash=this.state.scriptsHash+1)),i&&this.setState(a)};onInstanceChanged=(n,s)=>{var c;if(!n)return;let i=!1;const a={};if(n.match(/^system\.adapter\.[-_\w\d]+\$/)){if(n.startsWith(`system.adapter.${this.adapterName}.`)){const h=parseInt(n.split(".").pop()||"0",10)||0;if((s==null?void 0:s.type)==="instance")this.state.instances.includes(h)||(a.instances=[...this.state.instances],a.instances.push(h),a.instances.sort(),i=!0,this.socket.subscribeState(`${s._id}.alive`,this.onInstanceAliveChange));else if(!s&&this.state.instances.includes(h)){this.socket.unsubscribeState(`${n}.alive`,this.onInstanceAliveChange),a.instances=[...this.state.instances];const g=a.instances.indexOf(h);a.instances.splice(g,1),i=!0}}(c=s==null?void 0:s.common)!=null&&c.blockly&&(this.confirmCallback=h=>h&&window.location.reload(),a.confirm=I.I18n.t("Some blocks were updated. Reload admin?"),i=!0)}i&&this.setState(a)};onHostChanged=(n,s)=>{if(n&&n.startsWith("system.host.")){if((s==null?void 0:s.type)==="host")this.hosts.includes(n)||(this.hosts.push(n),this.hosts.sort());else if(!s&&this.hosts.includes(n)){const i=this.hosts.indexOf(n);this.hosts.splice(i,1)}}};onConnectionReady(){window.systemLang=this.socket.systemLang,this.setState({ready:!1,scriptsHash:0,instances:[],updating:!1,resizing:!1,selected:null,logMessage:{},editing:[],menuOpened:window.localStorage.getItem("App.menuOpened")!=="false",menuSelectId:"",expertMode:window.localStorage.getItem("App.expertMode")==="true",logHorzLayout:window.localStorage.getItem("App.logHorzLayout")==="true",runningInstances:{},confirm:"",importFile:!1,message:"",searchText:"",hideLog:window.localStorage.getItem("App.hideLog")==="true",debugMode:!1,debugInstance:null,splitSizes:[20,80]},async()=>{const n={},s=await this.subscribeOnInstances();n.instances=s.instances,n.runningInstances=s.runningInstances,await this.readAdaptersWithBlockly();const i=await this.socket.getHosts();this.hosts=i.map(h=>h._id);const a=await this.readAllScripts();window.localStorage.getItem("App.expertMode")!=="true"&&window.localStorage.getItem("App.expertMode")!=="false"&&Object.keys(a).find(h=>h.startsWith("script.js.global.")&&a[h].type==="script")&&(n.expertMode=!0),this.scripts=a;let c=this.state.scriptsHash;this.compareScripts(a)&&c++,n.scriptsHash=c,n.ready=!0,this.setState(n),await this.socket.subscribeObject("script.*",this.onScriptsChanged),await this.socket.subscribeObject("system.adapter.*",this.onInstanceChanged),await this.socket.subscribeObject("system.host.*",this.onHostChanged)})}async subscribeOnInstances(){const s=(await this.socket.getAdapterInstances(this.adapterName)).map(a=>parseInt(a._id.split(".").pop()||"0")).sort(),i={};s.forEach(a=>i[`system.adapter.${this.adapterName}.${a}`]=!1);for(let a=0;an[i]=s[i]),n}async readAdaptersWithBlockly(){const n=await this.socket.getObjectViewSystem("adapter","system.adapter.","system.adapter.香");return new Promise(s=>fn.loadCustomBlockly(n,()=>s()))}onInstanceAliveChange=(n,s)=>{if(n&&(n=n?n.substring(0,n.length-6):"",this.state.runningInstances[n]!==(s?s.val:!1))){const i=JSON.parse(JSON.stringify(this.state.runningInstances));i[n]=s?!!s.val:!1,this.setState({runningInstances:i})}};onToggleExpertMode(n){this.onExpertModeChange(n)}compareScripts(n){const s=Object.keys(this.scripts),i=Object.keys(n);if(s.length!==i.length)return this.scripts=n,!0;if(JSON.stringify(s)!==JSON.stringify(i))return this.scripts=n,!0;for(let a=0;a ${s}`),this.setState({updating:!0});try{if(((c=this.scripts[n])==null?void 0:c.type)==="script"){const h=JSON.parse(JSON.stringify(this.scripts[n].common));h.name=i||h.name,a!==void 0&&(h.engine=`system.adapter.javascript.${a}`);const g=s.split(".");g.pop();const b=g.join(".");this.scripts[b]&&this.scripts[b].type==="script"&&(g.pop(),s=`${g.join(".")}.${s.split(".").pop()}`),await this.updateScript(n,s,h)}else await this.renameGroup(n,s,i)}catch(h){h.toString().includes("canceled")||this.showJsError(h)}this.setState({updating:!1})}async renameGroup(n,s,i,a){if(a){if(a.length){let c=a.pop();if(c){const h=await this.socket.getObject(c);if(h){try{await this.socket.delObject(c)}catch{}c=s+c.substring(n.length),h._id=c,h.common=h.common||{},h.common.expert=!0,await this.socket.setObject(c,h),await this.renameGroup(n,s,i,a)}}}}else{a=[],a=Object.keys(this.scripts).filter(h=>h.startsWith(`${n}.`));let c=await this.socket.getObject(n);c=c||{common:{},type:"channel"},c.common.name=i||c.common.name||n.split(".").pop()||"",c._id=s;try{await this.socket.delObject(n)}catch{}try{await this.socket.setObject(s,c),await this.renameGroup(n,s,i,a)}catch(h){console.log(h);const g={_id:s,type:"channel",common:{name:i||n.split(".").pop()||"",expert:!0},native:{}};await this.socket.setObject(s,g),await this.renameGroup(n,s,i,a)}}}onUpdateScript(n,s){this.scripts[n]&&this.scripts[n].type==="script"&&this.updateScript(n,n,s).then(()=>{}).catch(i=>!i.toString().includes("canceled")&&this.showJsError(i))}onSelect(n){this.scripts[n]&&this.scripts[n].common&&this.scripts[n].type==="script"&&this.setState({selected:n,menuSelectId:n},()=>setTimeout(()=>this.setState({menuSelectId:""}),300))}onExpertModeChange(n){this.state.expertMode!==n&&(window.localStorage.setItem("App.expertMode",n?"true":"false"),this.setState({expertMode:n}))}showJsError(n){this.setState({errorText:n?n.toString():""})}showMessage(n){this.setState({message:n?n.toString():""})}onDelete(n){this.socket.delObject(n).catch(s=>this.showJsError(s))}onEdit(n){this.state.selected!==n&&this.setState({selected:n})}onAddNew(n,s,i,a,c,h){const g=new RegExp(`^${n}\\.`);if(Object.keys(this.scripts).find(b=>n===b||g.test(n)))return this.showJsError(I.I18n.t("Yet exists!"));i?this.socket.setObject(n,{_id:n,type:"channel",common:{name:s,expert:!0},native:{}}).then(()=>setTimeout(()=>this.setState({menuSelectId:n},()=>setTimeout(()=>this.setState({menuSelectId:""}),300)),1e3)).catch(b=>this.showJsError(b)):(c==="Blockly"&&!h&&(h=` -//${btoa(encodeURIComponent(''))}`),this.socket.setObject(n,{_id:n,type:"script",common:{name:s,expert:!0,engineType:c||"Javascript/js",enabled:!1,engine:`system.adapter.javascript.${a||0}`,source:h||"",debug:!1,verbose:!1},native:{}}).then(()=>setTimeout(()=>this.onSelect(n),1e3)).catch(b=>this.showJsError(b)))}async updateScript(n,s,i){let a=await this.socket.getObject(n);const c={common:{}};if(i.engine!==void 0&&(c.common.engine=i.engine),i.enabled!==void 0&&(c.common.enabled=i.enabled),i.source!==void 0&&(c.common.source=i.source),i.debug!==void 0&&(c.common.debug=i.debug),i.verbose!==void 0&&(c.common.verbose=i.verbose),c.from="system.adapter.admin.0",n===s&&(a!=null&&a.common)&&i.name===a.common.name)return(!i.engineType||i.engineType!==a.common.engineType)&&i.engineType!==void 0&&(c.common.engineType=i.engineType||"Javascript/js"),c.type="script",this.socket.extendObject(n,c);if(a!=null&&a.common){a.common.engineType=i.engineType||a.common.engineType||"Javascript/js",await this.socket.delObject(n),c.common.engine!==void 0&&(a.common.engine=c.common.engine),c.common.enabled!==void 0&&(a.common.enabled=c.common.enabled),c.common.source!==void 0&&(a.common.source=c.common.source),c.common.name!==void 0&&(a.common.name=c.common.name),c.common.debug!==void 0&&(a.common.debug=c.common.debug),c.common.verbose!==void 0&&(a.common.verbose=c.common.verbose),a._rev!==void 0&&delete a._rev,a.common.name=i.name,a.common.expert=!0,a.type="script",a._id=s,await this.socket.setObject(s,a);return}return a=c,a.common.name=i.name,a.common.expert=!0,a.type="script",a._id=s,this.socket.setObject(s,a)}onEnableDisable(n,s){var i;if(((i=this.scripts[n])==null?void 0:i.type)==="script"){const a=this.scripts[n].common;a.enabled=s,a.expert=!0,this.updateScript(n,n,a).catch(c=>c!=="canceled"&&this.showJsError(c))}}async getLiveHost(){for(let n=0;n{if(typeof c=="string"){const h=document.createElement("a");h.href=`../../files/${c}`,document.body.appendChild(h),h.click(),h.remove()}else if(c.error&&this.showJsError(c.error),c.data){const h=document.createElement("a");h.href=`data: application/zip;base64,${c.data}`,h.download=`${i}scripts.zip`,document.body.appendChild(h),h.click(),h.remove()}})}onImport(n){this.importFile=n||null,n?(this.confirmCallback=this.onImportConfirmed.bind(this),this.setState({importFile:!1,confirm:I.I18n.t("Existing scripts will be overwritten.")})):this.setState({importFile:!1})}async onImportConfirmed(n){let s=this.importFile;if(this.importFile=null,n&&s){s=s.split(",")[1];const i=await this.getLiveHost();if(!i){this.showJsError(I.I18n.t("No active host found"));return}this.socket.getRawSocket().emit("sendToHost",i,"writeObjectsAsZip",{data:s,adapter:"javascript",id:"script.js"},a=>{a==="permissionError"?this.showJsError(I.I18n.t(a)):!a||a.error?this.showJsError(a?I.I18n.t(a.error||""):I.I18n.t("Unknown error")):this.showMessage(I.I18n.t("Done"))})}}toggleLogLayout(){window.localStorage.setItem("App.logHorzLayout",this.state.logHorzLayout?"false":"true"),this.setState({logHorzLayout:!this.state.logHorzLayout})}renderEditor(){const n=Object.keys(this.scripts).reduce((s,i)=>s+(this.scripts[i].common.engineType==="Rules"?1:0),0);return f.jsx(Sh,{debugMode:this.state.debugMode,onDebugModeChange:s=>{s?this.setState({debugMode:!0}):this.setState({debugMode:!1,debugInstance:null})},visible:!this.state.resizing,socket:this.socket,adapterName:this.adapterName,onLocate:s=>this.setState({menuSelectId:s}),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:(s,i)=>this.onUpdateScript(s,i),isAnyRulesExists:n,debugInstance:this.state.debugInstance,onSelectedChange:(s,i)=>{const a={};let c=!1;s!==this.state.selected&&(c=!0,a.selected=s),JSON.stringify(i)!==JSON.stringify(this.state.editing)&&(c=!0,a.editing=JSON.parse(JSON.stringify(i))),c&&this.setState(a)},onRestart:s=>this.socket.extendObject(s,{common:{enabled:!0}}),selected:this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].type==="script"?this.state.selected:"",objects:this.scripts,resizing:this.state.resizing},"editor")}showLogButton(){return f.jsx(D.Box,{title:I.I18n.t("Show logs"),sx:of.showLogButton,onClick:()=>{window.localStorage.setItem("App.hideLog","false"),this.setState({hideLog:!1,resizing:!0}),setTimeout(()=>this.setState({resizing:!1}),300)},children:f.jsx(ux,{})},"showLog")}renderErrorDialog(){return this.state.errorText?f.jsx(Uf,{onClose:()=>this.setState({errorText:""}),text:this.state.errorText},"dialogError"):null}renderMain(){let n;return this.state.debugMode||this.state.hideLog?n=f.jsxs(f.Fragment,{children:[!this.state.debugMode&&this.state.hideLog?this.showLogButton():void 0,this.renderEditor()]}):n=f.jsxs(J$,{direction:this.state.logHorzLayout?Bn.Horizontal:Bn.Vertical,initialSizes:this.state.logSizes,minWidths:[500,100],minHeights:[150,50],onResizeStarted:()=>this.setState({resizing:!0}),onResizeFinished:(s,i)=>{this.setState({logSizes:i,resizing:!1}),window.localStorage.setItem("JS.logSizes",JSON.stringify(i))},gutterClassName:this.state.themeType==="dark"?"Dark visGutter":"Light visGutter",children:[this.renderEditor(),f.jsx(pw,{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")]}),[this.state.message?f.jsx(I.Message,{onClose:()=>this.setState({message:""}),text:this.state.message},"dialogMessage"):null,this.renderErrorDialog(),this.state.importFile?f.jsx(rC,{onClose:s=>this.onImport(s)},"dialogImportFile"):null,this.state.confirm?f.jsx(I.Confirm,{onClose:s=>{this.state.confirm&&this.setState({confirm:""}),this.confirmCallback&&this.confirmCallback(s),this.confirmCallback=null},text:this.state.confirm},"dialogConfirm"):null,f.jsxs(D.Box,{sx:of.content,className:"iobVerticalSplitter",children:[f.jsx(D.Box,{sx:of.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?f.jsx(dx,{}):f.jsx(hx,{})},"closeMenu"),n]},"main")]}render(){if(!this.state.ready)return f.jsx(UC,{injectFirst:!0,children:f.jsx(WC,{theme:this.state.theme,children:f.jsx(I.Loader,{themeType:this.state.themeType})})});let n;return this.state.menuOpened?n=f.jsxs(J$,{direction:Bn.Horizontal,initialSizes:this.state.splitSizes,minWidths:[270,400],onResizeFinished:(s,i)=>{this.setState({splitSizes:i}),window.localStorage.setItem("JS.splitSizes",JSON.stringify(i))},gutterClassName:this.state.themeType==="dark"?"Dark visGutter":"Light visGutter",children:[f.jsx("div",{style:of.mainDiv,children:f.jsx(Ha,{debugMode:this.state.debugMode,onDebugInstance:s=>this.setState({debugInstance:s,debugMode:!!s}),scripts:this.scripts,scriptsHash:this.state.scriptsHash,instances:this.state.instances,onRename:this.onRename.bind(this),socket:this.socket,selectId:this.state.menuSelectId,onEdit:this.onEdit.bind(this),expertMode:this.state.expertMode,themeName:this.state.themeName,onThemeChange:s=>{I.Utils.setThemeName(s);const i=I.Utils.getThemeType(s);this.setState({themeName:s,themeType:i},()=>this.toggleTheme(s))},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:500,onImport:()=>this.setState({importFile:!0}),onSearch:s=>this.setState({searchText:s}),version:this.props.version},"sidemenu")},"menu"),this.renderMain()]}):n=this.renderMain(),f.jsx(UC,{injectFirst:!0,children:f.jsx(WC,{theme:this.state.theme,children:f.jsx("div",{style:of.root,children:f.jsx(YN,{socket:this.socket,children:n})})})})}}window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/);function ele(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(o=>{o.unregister()})}const tle="8.9.2",cI={version:tle};var Ql;(function(o){o.mouse="mouse",o.touch="touch",o.keyboard="keyboard"})(Ql||(Ql={}));class nle{get delay(){var n;return(n=this.args.delay)!==null&&n!==void 0?n:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var n;return(n=this.args.ignoreContextMenu)!==null&&n!==void 0?n:!1}get enableHoverOutsideTarget(){var n;return(n=this.args.enableHoverOutsideTarget)!==null&&n!==void 0?n:!1}get enableKeyboardEvents(){var n;return(n=this.args.enableKeyboardEvents)!==null&&n!==void 0?n:!1}get enableMouseEvents(){var n;return(n=this.args.enableMouseEvents)!==null&&n!==void 0?n:!1}get enableTouchEvents(){var n;return(n=this.args.enableTouchEvents)!==null&&n!==void 0?n:!0}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var n,s,i,a;return(a=(i=(n=this.args)===null||n===void 0?void 0:n.delayTouchStart)!==null&&i!==void 0?i:(s=this.args)===null||s===void 0?void 0:s.delay)!==null&&a!==void 0?a:0}get delayMouseStart(){var n,s,i,a;return(a=(i=(n=this.args)===null||n===void 0?void 0:n.delayMouseStart)!==null&&i!==void 0?i:(s=this.args)===null||s===void 0?void 0:s.delay)!==null&&a!==void 0?a:0}get window(){if(this.context&&this.context.window)return this.context.window;if(typeof window<"u")return window}get document(){var n;if(!((n=this.context)===null||n===void 0)&&n.document)return this.context.document;if(this.window)return this.window.document}get rootElement(){var n;return((n=this.args)===null||n===void 0?void 0:n.rootElement)||this.document}constructor(n,s){this.args=n,this.context=s}}function sle(o,n,s,i){return Math.sqrt(Math.pow(Math.abs(s-o),2)+Math.pow(Math.abs(i-n),2))}function rle(o,n,s,i,a){if(!a)return!1;const c=Math.atan2(i-n,s-o)*180/Math.PI+180;for(let h=0;h=g.start)&&(g.end==null||c<=g.end))return!0}return!1}const ile={Left:1},ole={Left:0};function h_(o){return o.button===void 0||o.button===ole.Left}function ale(o){return o.buttons===void 0||(o.buttons&ile.Left)===0}function uI(o){return!!o.targetTouches}const lle=1;function cle(o){const n=o.nodeType===lle?o:o.parentElement;if(!n)return;const{top:s,left:i}=n.getBoundingClientRect();return{x:i,y:s}}function ule(o,n){if(o.targetTouches.length===1)return kv(o.targetTouches[0]);if(n&&o.touches.length===1&&o.touches[0].target===n.target)return kv(o.touches[0])}function kv(o,n){return uI(o)?ule(o,n):{x:o.clientX,y:o.clientY}}const M0=(()=>{let o=!1;try{addEventListener("test",()=>{},Object.defineProperty({},"passive",{get(){return o=!0,!0}}))}catch{}return o})(),af={[Ql.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[Ql.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[Ql.keyboard]:{keydown:"keydown"}};class kf{profile(){var n;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}get document(){return this.options.document}setup(){const n=this.options.rootElement;n&&(Gt(!kf.isSetUp,"Cannot have two Touch backends at the same time."),kf.isSetUp=!0,this.addEventListener(n,"start",this.getTopMoveStartHandler()),this.addEventListener(n,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(n,"move",this.handleTopMove),this.addEventListener(n,"move",this.handleTopMoveCapture,!0),this.addEventListener(n,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(n,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(n,"keydown",this.handleCancelOnEscape,!0))}teardown(){const n=this.options.rootElement;n&&(kf.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(n,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(n,"start",this.handleTopMoveStart),this.removeEventListener(n,"move",this.handleTopMoveCapture,!0),this.removeEventListener(n,"move",this.handleTopMove),this.removeEventListener(n,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(n,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(n,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(n,s,i,a=!1){const c=M0?{capture:a,passive:!1}:a;this.listenerTypes.forEach(function(h){const g=af[h][s];g&&n.addEventListener(g,i,c)})}removeEventListener(n,s,i,a=!1){const c=M0?{capture:a,passive:!1}:a;this.listenerTypes.forEach(function(h){const g=af[h][s];g&&n.removeEventListener(g,i,c)})}connectDragSource(n,s){const i=this.handleMoveStart.bind(this,n);return this.sourceNodes.set(n,s),this.addEventListener(s,"start",i),()=>{this.sourceNodes.delete(n),this.removeEventListener(s,"start",i)}}connectDragPreview(n,s,i){return this.sourcePreviewNodeOptions.set(n,i),this.sourcePreviewNodes.set(n,s),()=>{this.sourcePreviewNodes.delete(n),this.sourcePreviewNodeOptions.delete(n)}}connectDropTarget(n,s){const i=this.options.rootElement;if(!this.document||!i)return()=>{};const a=c=>{if(!this.document||!i||!this.monitor.isDragging())return;let h;switch(c.type){case af.mouse.move:h={x:c.clientX,y:c.clientY};break;case af.touch.move:var g,b;h={x:((g=c.touches[0])===null||g===void 0?void 0:g.clientX)||0,y:((b=c.touches[0])===null||b===void 0?void 0:b.clientY)||0};break}const $=h!=null?this.document.elementFromPoint(h.x,h.y):void 0,y=$&&s.contains($);if($===s||y)return this.handleMove(c,n)};return this.addEventListener(this.document.body,"move",a),this.targetNodes.set(n,s),()=>{this.document&&(this.targetNodes.delete(n),this.removeEventListener(this.document.body,"move",a))}}getTopMoveStartHandler(){return!this.options.delayTouchStart&&!this.options.delayMouseStart?this.handleTopMoveStart:this.handleTopMoveStartDelay}installSourceNodeRemovalObserver(n){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=n,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{n&&!n.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),!(!n||!n.parentElement)&&this.draggedSourceNodeRemovalObserver.observe(n.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(n,s,i){this.getSourceClientOffset=a=>{const c=this.sourceNodes.get(a);return c&&cle(c)},this.handleTopMoveStartCapture=a=>{h_(a)&&(this.moveStartSourceIds=[])},this.handleMoveStart=a=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(a)},this.handleTopMoveStart=a=>{if(!h_(a))return;const c=kv(a);c&&(uI(a)&&(this.lastTargetTouchFallback=a.targetTouches[0]),this._mouseClientOffset=c),this.waitingForDelay=!1},this.handleTopMoveStartDelay=a=>{if(!h_(a))return;const c=a.type===af.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,a),c),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(a,c)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(c)},this.handleTopMove=a=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:c,dragOverTargetIds:h}=this,g=this.options.enableHoverOutsideTarget,b=kv(a,this.lastTargetTouchFallback);if(!b)return;if(this._isScrolling||!this.monitor.isDragging()&&rle(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,b.x,b.y,this.options.scrollAngleRanges)){this._isScrolling=!0;return}if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&c&&sle(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,b.x,b.y)>(this.options.touchSlop?this.options.touchSlop:0)&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(c,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const $=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver($),this.actions.publishDragSource(),a.cancelable&&a.preventDefault();const y=(h||[]).map(E=>this.targetNodes.get(E)).filter(E=>!!E),w=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(b.x,b.y,y):this.document.elementsFromPoint(b.x,b.y),T=[];for(const E in w){if(!w.hasOwnProperty(E))continue;let k=w[E];for(k!=null&&T.push(k);k;)k=k.parentElement,k&&T.indexOf(k)===-1&&T.push(k)}const C=T.filter(E=>y.indexOf(E)>-1).map(E=>this._getDropTargetId(E)).filter(E=>!!E).filter((E,k,O)=>O.indexOf(E)===k);if(g)for(const E in this.targetNodes){const k=this.targetNodes.get(E);if($&&k&&k.contains($)&&C.indexOf(E)===-1){C.unshift(E);break}}C.reverse(),this.actions.hover(C,{clientOffset:b})},this._getDropTargetId=a=>{const c=this.targetNodes.keys();let h=c.next();for(;h.done===!1;){const g=h.value;if(a===this.targetNodes.get(g))return g;h=c.next()}},this.handleTopMoveEndCapture=a=>{if(this._isScrolling=!1,this.lastTargetTouchFallback=void 0,!!ale(a)){if(!this.monitor.isDragging()||this.monitor.didDrop()){this.moveStartSourceIds=void 0;return}a.cancelable&&a.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()}},this.handleCancelOnEscape=a=>{a.key==="Escape"&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new nle(i,s),this.actions=n.getActions(),this.monitor=n.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(Ql.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(Ql.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(Ql.keyboard)}}const dle=function(n,s={},i={}){return new kf(n,s,i)};window.GenericBlock=yn;window.adapterName="javascript";window.sentryDSN="https://504499a725eb4898930d3b9e9da95740@sentry.iobroker.net/56";console.log(`iobroker.${window.adapterName}@${cI.version}`);const hle=window.innerWidth<600,N0=document.getElementById("root");N0&&V0(N0).render(f.jsx(oT,{backend:hle?dle:yT,children:f.jsx(Qae,{version:cI.version})}));ele();const D$=window.loadDynamicScript;D$&&D$(window.location.port==="3000"?`${window.location.protocol}//${window.location.hostname}:8081/lib/js/socket.io.js`:"./../../lib/js/socket.io.js",()=>D$("vs/loader.js",()=>D$("vs/configure.js",()=>typeof window.socketLoadedHandler=="function"&&window.socketLoadedHandler()))); +//${btoa(encodeURIComponent(''))}`),this.socket.setObject(n,{_id:n,type:"script",common:{name:s,expert:!0,engineType:c||"Javascript/js",enabled:!1,engine:`system.adapter.javascript.${a||0}`,source:h||"",debug:!1,verbose:!1},native:{}}).then(()=>setTimeout(()=>this.onSelect(n),1e3)).catch(b=>this.showJsError(b)))}async updateScript(n,s,i){let a=await this.socket.getObject(n);const c={common:{}};if(i.engine!==void 0&&(c.common.engine=i.engine),i.enabled!==void 0&&(c.common.enabled=i.enabled),i.source!==void 0&&(c.common.source=i.source),i.debug!==void 0&&(c.common.debug=i.debug),i.verbose!==void 0&&(c.common.verbose=i.verbose),c.from="system.adapter.admin.0",n===s&&(a!=null&&a.common)&&i.name===a.common.name)return(!i.engineType||i.engineType!==a.common.engineType)&&i.engineType!==void 0&&(c.common.engineType=i.engineType||"Javascript/js"),c.type="script",this.socket.extendObject(n,c);if(a!=null&&a.common){a.common.engineType=i.engineType||a.common.engineType||"Javascript/js",await this.socket.delObject(n),c.common.engine!==void 0&&(a.common.engine=c.common.engine),c.common.enabled!==void 0&&(a.common.enabled=c.common.enabled),c.common.source!==void 0&&(a.common.source=c.common.source),c.common.name!==void 0&&(a.common.name=c.common.name),c.common.debug!==void 0&&(a.common.debug=c.common.debug),c.common.verbose!==void 0&&(a.common.verbose=c.common.verbose),a._rev!==void 0&&delete a._rev,a.common.name=i.name,a.common.expert=!0,a.type="script",a._id=s,await this.socket.setObject(s,a);return}return a=c,a.common.name=i.name,a.common.expert=!0,a.type="script",a._id=s,this.socket.setObject(s,a)}onEnableDisable(n,s){var i;if(((i=this.scripts[n])==null?void 0:i.type)==="script"){const a=this.scripts[n].common;a.enabled=s,a.expert=!0,this.updateScript(n,n,a).catch(c=>c!=="canceled"&&this.showJsError(c))}}async getLiveHost(){for(let n=0;n{if(typeof c=="string"){const h=document.createElement("a");h.href=`../../files/${c}`,document.body.appendChild(h),h.click(),h.remove()}else if(c.error&&this.showJsError(c.error),c.data){const h=document.createElement("a");h.href=`data: application/zip;base64,${c.data}`,h.download=`${i}scripts.zip`,document.body.appendChild(h),h.click(),h.remove()}})}onImport(n){this.importFile=n||null,n?(this.confirmCallback=this.onImportConfirmed.bind(this),this.setState({importFile:!1,confirm:I.I18n.t("Existing scripts will be overwritten.")})):this.setState({importFile:!1})}async onImportConfirmed(n){let s=this.importFile;if(this.importFile=null,n&&s){s=s.split(",")[1];const i=await this.getLiveHost();if(!i){this.showJsError(I.I18n.t("No active host found"));return}this.socket.getRawSocket().emit("sendToHost",i,"writeObjectsAsZip",{data:s,adapter:"javascript",id:"script.js"},a=>{a==="permissionError"?this.showJsError(I.I18n.t(a)):!a||a.error?this.showJsError(a?I.I18n.t(a.error||""):I.I18n.t("Unknown error")):this.showMessage(I.I18n.t("Done"))})}}toggleLogLayout(){window.localStorage.setItem("App.logHorzLayout",this.state.logHorzLayout?"false":"true"),this.setState({logHorzLayout:!this.state.logHorzLayout})}renderEditor(){const n=Object.keys(this.scripts).reduce((s,i)=>s+(this.scripts[i].common.engineType==="Rules"?1:0),0);return f.jsx(Sh,{debugMode:this.state.debugMode,onDebugModeChange:s=>{s?this.setState({debugMode:!0}):this.setState({debugMode:!1,debugInstance:null})},visible:!this.state.resizing,socket:this.socket,adapterName:this.adapterName,onLocate:s=>this.setState({menuSelectId:s}),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:(s,i)=>this.onUpdateScript(s,i),isAnyRulesExists:n,debugInstance:this.state.debugInstance,onSelectedChange:(s,i)=>{const a={};let c=!1;s!==this.state.selected&&(c=!0,a.selected=s),JSON.stringify(i)!==JSON.stringify(this.state.editing)&&(c=!0,a.editing=JSON.parse(JSON.stringify(i))),c&&this.setState(a)},onRestart:s=>this.socket.extendObject(s,{common:{enabled:!0}}),selected:this.state.selected&&this.scripts[this.state.selected]&&this.scripts[this.state.selected].type==="script"?this.state.selected:"",objects:this.scripts,resizing:this.state.resizing},"editor")}showLogButton(){return f.jsx(D.Box,{title:I.I18n.t("Show logs"),sx:of.showLogButton,onClick:()=>{window.localStorage.setItem("App.hideLog","false"),this.setState({hideLog:!1,resizing:!0}),setTimeout(()=>this.setState({resizing:!1}),300)},children:f.jsx(ux,{})},"showLog")}renderErrorDialog(){return this.state.errorText?f.jsx(Uf,{onClose:()=>this.setState({errorText:""}),text:this.state.errorText},"dialogError"):null}renderMain(){let n;return this.state.debugMode||this.state.hideLog?n=f.jsxs(f.Fragment,{children:[!this.state.debugMode&&this.state.hideLog?this.showLogButton():void 0,this.renderEditor()]}):n=f.jsxs(J$,{direction:this.state.logHorzLayout?Bn.Horizontal:Bn.Vertical,initialSizes:this.state.logSizes,minWidths:[500,100],minHeights:[150,50],onResizeStarted:()=>this.setState({resizing:!0}),onResizeFinished:(s,i)=>{this.setState({logSizes:i,resizing:!1}),window.localStorage.setItem("JS.logSizes",JSON.stringify(i))},gutterClassName:this.state.themeType==="dark"?"Dark visGutter":"Light visGutter",children:[this.renderEditor(),f.jsx(pw,{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")]}),[this.state.message?f.jsx(I.Message,{onClose:()=>this.setState({message:""}),text:this.state.message},"dialogMessage"):null,this.renderErrorDialog(),this.state.importFile?f.jsx(rC,{onClose:s=>this.onImport(s)},"dialogImportFile"):null,this.state.confirm?f.jsx(I.Confirm,{onClose:s=>{this.state.confirm&&this.setState({confirm:""}),this.confirmCallback&&this.confirmCallback(s),this.confirmCallback=null},text:this.state.confirm},"dialogConfirm"):null,f.jsxs(D.Box,{sx:of.content,className:"iobVerticalSplitter",children:[f.jsx(D.Box,{sx:of.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?f.jsx(dx,{}):f.jsx(hx,{})},"closeMenu"),n]},"main")]}render(){if(!this.state.ready)return f.jsx(UC,{injectFirst:!0,children:f.jsx(WC,{theme:this.state.theme,children:f.jsx(I.Loader,{themeType:this.state.themeType})})});let n;return this.state.menuOpened?n=f.jsxs(J$,{direction:Bn.Horizontal,initialSizes:this.state.splitSizes,minWidths:[270,400],onResizeFinished:(s,i)=>{this.setState({splitSizes:i}),window.localStorage.setItem("JS.splitSizes",JSON.stringify(i))},gutterClassName:this.state.themeType==="dark"?"Dark visGutter":"Light visGutter",children:[f.jsx("div",{style:of.mainDiv,children:f.jsx(Ha,{debugMode:this.state.debugMode,onDebugInstance:s=>this.setState({debugInstance:s,debugMode:!!s}),scripts:this.scripts,scriptsHash:this.state.scriptsHash,instances:this.state.instances,onRename:this.onRename.bind(this),socket:this.socket,selectId:this.state.menuSelectId,onEdit:this.onEdit.bind(this),expertMode:this.state.expertMode,themeName:this.state.themeName,onThemeChange:s=>{I.Utils.setThemeName(s);const i=I.Utils.getThemeType(s);this.setState({themeName:s,themeType:i},()=>this.toggleTheme(s))},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:500,onImport:()=>this.setState({importFile:!0}),onSearch:s=>this.setState({searchText:s}),version:this.props.version},"sidemenu")},"menu"),this.renderMain()]}):n=this.renderMain(),f.jsx(UC,{injectFirst:!0,children:f.jsx(WC,{theme:this.state.theme,children:f.jsx("div",{style:of.root,children:f.jsx(YN,{socket:this.socket,children:n})})})})}}window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/);function ele(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(o=>{o.unregister()})}const tle="9.0.0",cI={version:tle};var Ql;(function(o){o.mouse="mouse",o.touch="touch",o.keyboard="keyboard"})(Ql||(Ql={}));class nle{get delay(){var n;return(n=this.args.delay)!==null&&n!==void 0?n:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var n;return(n=this.args.ignoreContextMenu)!==null&&n!==void 0?n:!1}get enableHoverOutsideTarget(){var n;return(n=this.args.enableHoverOutsideTarget)!==null&&n!==void 0?n:!1}get enableKeyboardEvents(){var n;return(n=this.args.enableKeyboardEvents)!==null&&n!==void 0?n:!1}get enableMouseEvents(){var n;return(n=this.args.enableMouseEvents)!==null&&n!==void 0?n:!1}get enableTouchEvents(){var n;return(n=this.args.enableTouchEvents)!==null&&n!==void 0?n:!0}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var n,s,i,a;return(a=(i=(n=this.args)===null||n===void 0?void 0:n.delayTouchStart)!==null&&i!==void 0?i:(s=this.args)===null||s===void 0?void 0:s.delay)!==null&&a!==void 0?a:0}get delayMouseStart(){var n,s,i,a;return(a=(i=(n=this.args)===null||n===void 0?void 0:n.delayMouseStart)!==null&&i!==void 0?i:(s=this.args)===null||s===void 0?void 0:s.delay)!==null&&a!==void 0?a:0}get window(){if(this.context&&this.context.window)return this.context.window;if(typeof window<"u")return window}get document(){var n;if(!((n=this.context)===null||n===void 0)&&n.document)return this.context.document;if(this.window)return this.window.document}get rootElement(){var n;return((n=this.args)===null||n===void 0?void 0:n.rootElement)||this.document}constructor(n,s){this.args=n,this.context=s}}function sle(o,n,s,i){return Math.sqrt(Math.pow(Math.abs(s-o),2)+Math.pow(Math.abs(i-n),2))}function rle(o,n,s,i,a){if(!a)return!1;const c=Math.atan2(i-n,s-o)*180/Math.PI+180;for(let h=0;h=g.start)&&(g.end==null||c<=g.end))return!0}return!1}const ile={Left:1},ole={Left:0};function h_(o){return o.button===void 0||o.button===ole.Left}function ale(o){return o.buttons===void 0||(o.buttons&ile.Left)===0}function uI(o){return!!o.targetTouches}const lle=1;function cle(o){const n=o.nodeType===lle?o:o.parentElement;if(!n)return;const{top:s,left:i}=n.getBoundingClientRect();return{x:i,y:s}}function ule(o,n){if(o.targetTouches.length===1)return kv(o.targetTouches[0]);if(n&&o.touches.length===1&&o.touches[0].target===n.target)return kv(o.touches[0])}function kv(o,n){return uI(o)?ule(o,n):{x:o.clientX,y:o.clientY}}const M0=(()=>{let o=!1;try{addEventListener("test",()=>{},Object.defineProperty({},"passive",{get(){return o=!0,!0}}))}catch{}return o})(),af={[Ql.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[Ql.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[Ql.keyboard]:{keydown:"keydown"}};class kf{profile(){var n;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}get document(){return this.options.document}setup(){const n=this.options.rootElement;n&&(Gt(!kf.isSetUp,"Cannot have two Touch backends at the same time."),kf.isSetUp=!0,this.addEventListener(n,"start",this.getTopMoveStartHandler()),this.addEventListener(n,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(n,"move",this.handleTopMove),this.addEventListener(n,"move",this.handleTopMoveCapture,!0),this.addEventListener(n,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(n,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(n,"keydown",this.handleCancelOnEscape,!0))}teardown(){const n=this.options.rootElement;n&&(kf.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(n,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(n,"start",this.handleTopMoveStart),this.removeEventListener(n,"move",this.handleTopMoveCapture,!0),this.removeEventListener(n,"move",this.handleTopMove),this.removeEventListener(n,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(n,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(n,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(n,s,i,a=!1){const c=M0?{capture:a,passive:!1}:a;this.listenerTypes.forEach(function(h){const g=af[h][s];g&&n.addEventListener(g,i,c)})}removeEventListener(n,s,i,a=!1){const c=M0?{capture:a,passive:!1}:a;this.listenerTypes.forEach(function(h){const g=af[h][s];g&&n.removeEventListener(g,i,c)})}connectDragSource(n,s){const i=this.handleMoveStart.bind(this,n);return this.sourceNodes.set(n,s),this.addEventListener(s,"start",i),()=>{this.sourceNodes.delete(n),this.removeEventListener(s,"start",i)}}connectDragPreview(n,s,i){return this.sourcePreviewNodeOptions.set(n,i),this.sourcePreviewNodes.set(n,s),()=>{this.sourcePreviewNodes.delete(n),this.sourcePreviewNodeOptions.delete(n)}}connectDropTarget(n,s){const i=this.options.rootElement;if(!this.document||!i)return()=>{};const a=c=>{if(!this.document||!i||!this.monitor.isDragging())return;let h;switch(c.type){case af.mouse.move:h={x:c.clientX,y:c.clientY};break;case af.touch.move:var g,b;h={x:((g=c.touches[0])===null||g===void 0?void 0:g.clientX)||0,y:((b=c.touches[0])===null||b===void 0?void 0:b.clientY)||0};break}const $=h!=null?this.document.elementFromPoint(h.x,h.y):void 0,y=$&&s.contains($);if($===s||y)return this.handleMove(c,n)};return this.addEventListener(this.document.body,"move",a),this.targetNodes.set(n,s),()=>{this.document&&(this.targetNodes.delete(n),this.removeEventListener(this.document.body,"move",a))}}getTopMoveStartHandler(){return!this.options.delayTouchStart&&!this.options.delayMouseStart?this.handleTopMoveStart:this.handleTopMoveStartDelay}installSourceNodeRemovalObserver(n){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=n,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{n&&!n.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),!(!n||!n.parentElement)&&this.draggedSourceNodeRemovalObserver.observe(n.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(n,s,i){this.getSourceClientOffset=a=>{const c=this.sourceNodes.get(a);return c&&cle(c)},this.handleTopMoveStartCapture=a=>{h_(a)&&(this.moveStartSourceIds=[])},this.handleMoveStart=a=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(a)},this.handleTopMoveStart=a=>{if(!h_(a))return;const c=kv(a);c&&(uI(a)&&(this.lastTargetTouchFallback=a.targetTouches[0]),this._mouseClientOffset=c),this.waitingForDelay=!1},this.handleTopMoveStartDelay=a=>{if(!h_(a))return;const c=a.type===af.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,a),c),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(a,c)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(c)},this.handleTopMove=a=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:c,dragOverTargetIds:h}=this,g=this.options.enableHoverOutsideTarget,b=kv(a,this.lastTargetTouchFallback);if(!b)return;if(this._isScrolling||!this.monitor.isDragging()&&rle(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,b.x,b.y,this.options.scrollAngleRanges)){this._isScrolling=!0;return}if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&c&&sle(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,b.x,b.y)>(this.options.touchSlop?this.options.touchSlop:0)&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(c,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const $=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver($),this.actions.publishDragSource(),a.cancelable&&a.preventDefault();const y=(h||[]).map(E=>this.targetNodes.get(E)).filter(E=>!!E),w=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(b.x,b.y,y):this.document.elementsFromPoint(b.x,b.y),T=[];for(const E in w){if(!w.hasOwnProperty(E))continue;let k=w[E];for(k!=null&&T.push(k);k;)k=k.parentElement,k&&T.indexOf(k)===-1&&T.push(k)}const C=T.filter(E=>y.indexOf(E)>-1).map(E=>this._getDropTargetId(E)).filter(E=>!!E).filter((E,k,O)=>O.indexOf(E)===k);if(g)for(const E in this.targetNodes){const k=this.targetNodes.get(E);if($&&k&&k.contains($)&&C.indexOf(E)===-1){C.unshift(E);break}}C.reverse(),this.actions.hover(C,{clientOffset:b})},this._getDropTargetId=a=>{const c=this.targetNodes.keys();let h=c.next();for(;h.done===!1;){const g=h.value;if(a===this.targetNodes.get(g))return g;h=c.next()}},this.handleTopMoveEndCapture=a=>{if(this._isScrolling=!1,this.lastTargetTouchFallback=void 0,!!ale(a)){if(!this.monitor.isDragging()||this.monitor.didDrop()){this.moveStartSourceIds=void 0;return}a.cancelable&&a.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()}},this.handleCancelOnEscape=a=>{a.key==="Escape"&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new nle(i,s),this.actions=n.getActions(),this.monitor=n.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(Ql.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(Ql.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(Ql.keyboard)}}const dle=function(n,s={},i={}){return new kf(n,s,i)};window.GenericBlock=yn;window.adapterName="javascript";window.sentryDSN="https://504499a725eb4898930d3b9e9da95740@sentry.iobroker.net/56";console.log(`iobroker.${window.adapterName}@${cI.version}`);const hle=window.innerWidth<600,N0=document.getElementById("root");N0&&V0(N0).render(f.jsx(oT,{backend:hle?dle:yT,children:f.jsx(Qae,{version:cI.version})}));ele();const D$=window.loadDynamicScript;D$&&D$(window.location.port==="3000"?`${window.location.protocol}//${window.location.hostname}:8081/lib/js/socket.io.js`:"./../../lib/js/socket.io.js",()=>D$("vs/loader.js",()=>D$("vs/configure.js",()=>typeof window.socketLoadedHandler=="function"&&window.socketLoadedHandler()))); diff --git a/admin/tab.html b/admin/tab.html index 339a112c8..cfd520ccd 100644 --- a/admin/tab.html +++ b/admin/tab.html @@ -115,7 +115,7 @@ type="text/javascript" src="google-blockly/own/blocks_object.js" > - + diff --git a/io-package.json b/io-package.json index 58f2067c2..de7caf286 100644 --- a/io-package.json +++ b/io-package.json @@ -1,7 +1,7 @@ { "common": { "name": "javascript", - "version": "9.0.0", + "version": "9.0.1", "blockedVersions": [ "8.0.0", "8.0.1" @@ -40,6 +40,19 @@ "Matthias Kleine " ], "news": { + "9.0.1": { + "en": "Added possibility to escape chars in formatTimeDiff\nBack-end was migrated to TypeScript\nBreaking change: removed \"request\" module\nAdded prettier for scripts", + "de": "Zusätzliche Möglichkeit, Zeichen im Format zu entkommen TimeDiff\nBackend wurde zu TypeScript migriert\nBreaking change: entferntes Modul \"Request\"\nHinzugefügt schöner für Scripts", + "ru": "Добавлена возможность побега чаров в формате тайм-дифф\nBack-end был перенесен на TypeScript\nПереломное изменение: удален модуль «запрос»\nДобавлено красивее для сценариев", + "pt": "Adicionado possibilidade de escapar de chars em formato Ponto de vista\nO back-end foi migrado para TypeScript\nAlteração de ruptura: módulo de \"requisição\" removido\nAdicionado mais bonito para scripts", + "nl": "Toegevoegd mogelijkheid om te ontsnappen tekens in formaat TimeDiff\nBack-end is gemigreerd naar TypeScript\nBreaking change: verwijderd \"verzoek\" module\nMooier toegevoegd voor scripts", + "fr": "Ajout de la possibilité d'échapper aux caractères dans le format TimeDiff\nBack-end a été migré vers TypeScript\nChangement de rupture: supprimé module \"demande\"\nAjout de joli pour les scripts", + "it": "Aggiunta possibilità di sfuggire a chars in formato Orario\nBack-end è stato migrato a TypeScript\nCambiamento di rottura: rimosso modulo \"richiesta\"\nAggiunto più bello per gli script", + "es": "Añadido posibilidad de escapar de los charcos en formato TimeDiff\nBack-end fue migrado a TipoScript\nCambio de ruptura: módulo de \"requisición\" eliminado\nAñadido más alto para scripts", + "pl": "Dodano możliwość ucieczki znaków w formacie TimeDiff\nBack- end został przeniesiony do TypeScript\nZmiana: usunięty moduł \"request\"\nDodano ładniejsze dla skryptów", + "uk": "Додано можливість втекти chars у форматі Час\nBack-end був мігрований до TypeScript\nЗміна несправностей: видалений модуль \"запит\"\nДодано претtier для скриптів", + "zh-cn": "添加格式跳过字符的可能性 时间\n后端已迁移到类型脚本\n中断更改: 删除“ 请求” 模块\n为脚本添加更美的" + }, "8.9.2": { "en": "Updated packages for GUI\nUsed TypeScript for an admin component", "de": "Aktualisierte Pakete für GUI\nGebrauchte TypeScript für eine Admin-Komponente", diff --git a/package.json b/package.json index 5592d65ca..4b6a426ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.javascript", - "version": "9.0.0", + "version": "9.0.1", "description": "Rules Engine for ioBroker", "author": "bluefox ", "contributors": [ diff --git a/src-admin/package.json b/src-admin/package.json index a4ce848f6..735d418af 100644 --- a/src-admin/package.json +++ b/src-admin/package.json @@ -1,7 +1,7 @@ { "name": "iobroker-admin-component-backitup", "private": true, - "version": "8.9.2", + "version": "9.0.0", "type": "module", "scripts": { "start": "vite --port 4173", diff --git a/src-editor/package.json b/src-editor/package.json index beb590b15..17c42afb0 100644 --- a/src-editor/package.json +++ b/src-editor/package.json @@ -1,6 +1,6 @@ { "name": "js", - "version": "8.9.2", + "version": "9.0.0", "private": true, "type": "module", "dependencies": {