From dc91f0a8029c51ff5dd8d161822c9996b7fb199e Mon Sep 17 00:00:00 2001 From: michaelsboost Date: Wed, 14 Aug 2024 19:21:34 -0500 Subject: [PATCH] throws an error to share if no internet connection --- go/dist/App.min.js | 66 ++++++++++++++++---------------- go/dist/App.min.js.map | 4 +- go/src/App.js | 87 +++++++++++++++++++++++------------------- 3 files changed, 82 insertions(+), 75 deletions(-) diff --git a/go/dist/App.min.js b/go/dist/App.min.js index 516da2de..bf9a680d 100644 --- a/go/dist/App.min.js +++ b/go/dist/App.min.js @@ -1,4 +1,4 @@ -(()=>{var IQ=(O=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(O,{get:(w,k)=>(typeof require<"u"?require:w)[k]}):O)(function(O){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+O+'" is not supported')});function Y0(O,w,k=[]){function R(E,Z){return typeof E!="object"||E===null?E:new Proxy(E,{set(I,Y,A){let De=[...Z,Y],Ie=I[Y],Te=Reflect.set(I,Y,R(A,De));return Ie!==A&&w(De,Ie,A),Te},get(I,Y){let A=I[Y];return typeof A=="object"&&A!==null?R(A,[...Z,Y]):A}})}return R(O,k)}var Do={name:"kodeWeave",author:{name:"Michael Schwartz",href:"https://michaelsboost.com/",src:"imgs/author.jpg"},version:"1.2.1",url:"https://github.com/michaelsboost/kodeWeave/",license:"https://github.com/michaelsboost/kodeWeave/blob/main/LICENSE"},LQ={name:"App name",version:"0.0.1",title:"An attractive title",description:"The most attractive description ever!",author:"kodeWeave",url:"https://michaelsboost.com/",meta:"",libraries:[],html_pre_processor:"html",css_pre_processor:"css",javascript_pre_processor:"javascript",html:"",css:"",javascript:"",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0ia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Dc0MSAtMC41MzYwMSwtMC4xMDI0NDYgLTEuMTg3NDgsLTAuMDkyMzggeiIKICAgICAgIGlkPSJwYXRoNDI2MCIgLz4KICA8L2c+Cjwvc3ZnPgo=",console:!1,dark:!0,module:!0,autorun:!0,pwa:!1,preview:!0,activePanel:"html",columns:!1,columnsRight:!0},NQ={searchLibKey:null,librarySuggestions:null,iframeSize:null,selectedSize:"none",compiledJSX:null,menuDialog:null,settings:null,libraries:null,demos:null},H=function(){let O="h-4 w-4",w="h-3 w-3",k="h-4 w-4",R="h-3 w-3",E="h-3 -mt-1";return{logo:`{var IQ=(O=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(O,{get:(w,k)=>(typeof require<"u"?require:w)[k]}):O)(function(O){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+O+'" is not supported')});function q0(O,w,k=[]){function R(E,Z){return typeof E!="object"||E===null?E:new Proxy(E,{set(I,Y,A){let De=[...Z,Y],Ie=I[Y],Te=Reflect.set(I,Y,R(A,De));return Ie!==A&&w(De,Ie,A),Te},get(I,Y){let A=I[Y];return typeof A=="object"&&A!==null?R(A,[...Z,Y]):A}})}return R(O,k)}var Do={name:"kodeWeave",author:{name:"Michael Schwartz",href:"https://michaelsboost.com/",src:"imgs/author.jpg"},version:"1.2.1",url:"https://github.com/michaelsboost/kodeWeave/",license:"https://github.com/michaelsboost/kodeWeave/blob/main/LICENSE"},LQ={name:"App name",version:"0.0.1",title:"An attractive title",description:"The most attractive description ever!",author:"kodeWeave",url:"https://michaelsboost.com/",meta:"",libraries:[],html_pre_processor:"html",css_pre_processor:"css",javascript_pre_processor:"javascript",html:"",css:"",javascript:"",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczp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sLTAuMDc0MSAtMC41MzYwMSwtMC4xMDI0NDYgLTEuMTg3NDgsLTAuMDkyMzggeiIKICAgICAgIGlkPSJwYXRoNDI2MCIgLz4KICA8L2c+Cjwvc3ZnPgo=",console:!1,dark:!0,module:!0,autorun:!0,pwa:!1,preview:!0,activePanel:"html",columns:!1,columnsRight:!0},NQ={searchLibKey:null,librarySuggestions:null,iframeSize:null,selectedSize:"none",compiledJSX:null,menuDialog:null,settings:null,libraries:null,demos:null},H=function(){let O="h-4 w-4",w="h-3 w-3",k="h-4 w-4",R="h-3 w-3",E="h-3 -mt-1";return{logo:` `,cursor:` - `}}(),p=Y0(LQ,(O,w,k)=>{let E=document.getElementById("iframe").contentWindow.document;if(w!==k){if(localStorage.setItem("kodeWeave",JSON.stringify(p)),Fi.render("#app"),O.toString()==="activePanel"){if(!window.editorManager)return;p.activePanel==="html"&&setActiveEditor(editorManager.htmlEditor),p.activePanel==="css"&&setActiveEditor(editorManager.cssEditor),p.activePanel==="javascript"&&setActiveEditor(editorManager.javascriptEditor)}if(!Fi.initialRender){let Z=O.toString();if(Z==="css"||Z==="console"){let I=` + `}}(),p=q0(LQ,(O,w,k)=>{let E=document.getElementById("iframe").contentWindow.document;if(w!==k){if(localStorage.setItem("kodeWeave",JSON.stringify(p)),Fi.render("#app"),O.toString()==="activePanel"){if(!window.editorManager)return;p.activePanel==="html"&&setActiveEditor(editorManager.htmlEditor),p.activePanel==="css"&&setActiveEditor(editorManager.cssEditor),p.activePanel==="javascript"&&setActiveEditor(editorManager.javascriptEditor)}if(!Fi.initialRender){let Z=O.toString();if(Z==="css"||Z==="console"){let I=` [data-zwj=zwjkonsole] { display: ${p.console?"flex":"none"}; } - ${p.css}`;if(!window.editorManager)return;Z==="css"&&editorManager.cssEditor.state.doc.toString()!==p.css&&dispatchChanges(editorManager.cssEditor,p.css),E.getElementById("cuxjju3ew").textContent=I}if(Z==="html"){if(ci(p.autorun),!window.editorManager)return;window.editorManager.htmlEditor.state.doc.toString()!==p.html&&dispatchChanges(editorManager.htmlEditor,p.html)}if(Z==="javascript"){if(ci(p.autorun),!window.editorManager)return;window.editorManager.jsEditor.state.doc.toString()!==p.javascript&&dispatchChanges(editorManager.jsEditor,p.javascript)}(Z==="module"||Z==="meta"||Z==="libraries"||Z==="html_pre_processor"||Z==="css_pre_processor"||Z==="javascript_pre_processor")&&ci(p.autorun),Z==="dark"&&(Fi.render("#app"),document.documentElement.setAttribute("data-theme",p.dark?"dark":"light"),E.documentElement.setAttribute("data-theme",p.dark?"dark":"light"),document.querySelector("meta[name=apple-mobile-web-app-status-bar-style]").setAttribute("content",p.dark?"black-translucent":"default"),document.querySelector("meta[name=theme-color]").setAttribute("content",p.dark?"#13171f":"#ffffff"),document.querySelector("meta[name=msapplication-navbutton-color]").setAttribute("content",p.dark?"#13171f":"#ffffff"))}}}),Qe=Y0(NQ,(O,w,k)=>{w!==k&&Fi.render("#app")});window.project=p;window.data=Qe;function BQ(){let O="w-full";return`