From 4a1112b505636d1d87a62c36948d1af10e3463fa Mon Sep 17 00:00:00 2001 From: Brooks Townsend Date: Tue, 31 Oct 2023 13:24:10 -0400 Subject: [PATCH] chore: lean into chakra UI Signed-off-by: Brooks Townsend --- xkcdgenerator/ui/build/asset-manifest.json | 5 +- xkcdgenerator/ui/build/index.html | 2 +- .../ui/build/static/js/27.2a45638c.chunk.js | 1 - .../ui/build/static/js/main.49004617.js | 2 - .../ui/build/static/js/main.882e2eaf.js | 2 + ...CENSE.txt => main.882e2eaf.js.LICENSE.txt} | 0 xkcdgenerator/ui/src/App.js | 49 +++--- xkcdgenerator/ui/src/index.js | 15 +- xkcdgenerator/ui/src/reportWebVitals.js | 13 -- xkcdgenerator/ui/src/serviceWorker.js | 141 ------------------ 10 files changed, 24 insertions(+), 206 deletions(-) delete mode 100644 xkcdgenerator/ui/build/static/js/27.2a45638c.chunk.js delete mode 100644 xkcdgenerator/ui/build/static/js/main.49004617.js create mode 100644 xkcdgenerator/ui/build/static/js/main.882e2eaf.js rename xkcdgenerator/ui/build/static/js/{main.49004617.js.LICENSE.txt => main.882e2eaf.js.LICENSE.txt} (100%) delete mode 100644 xkcdgenerator/ui/src/reportWebVitals.js delete mode 100644 xkcdgenerator/ui/src/serviceWorker.js diff --git a/xkcdgenerator/ui/build/asset-manifest.json b/xkcdgenerator/ui/build/asset-manifest.json index 70015d8..80414b3 100644 --- a/xkcdgenerator/ui/build/asset-manifest.json +++ b/xkcdgenerator/ui/build/asset-manifest.json @@ -1,10 +1,9 @@ { "files": { - "main.js": "/static/js/main.49004617.js", - "static/js/27.2a45638c.chunk.js": "/static/js/27.2a45638c.chunk.js", + "main.js": "/static/js/main.882e2eaf.js", "index.html": "/index.html" }, "entrypoints": [ - "static/js/main.49004617.js" + "static/js/main.882e2eaf.js" ] } \ No newline at end of file diff --git a/xkcdgenerator/ui/build/index.html b/xkcdgenerator/ui/build/index.html index 49738a2..4e18b32 100644 --- a/xkcdgenerator/ui/build/index.html +++ b/xkcdgenerator/ui/build/index.html @@ -1 +1 @@ -Cosmonic XKCD
\ No newline at end of file +Cosmonic XKCD
\ No newline at end of file diff --git a/xkcdgenerator/ui/build/static/js/27.2a45638c.chunk.js b/xkcdgenerator/ui/build/static/js/27.2a45638c.chunk.js deleted file mode 100644 index 4f1a9d3..0000000 --- a/xkcdgenerator/ui/build/static/js/27.2a45638c.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[27],{27:function(e,t,n){n.r(t),n.d(t,{getCLS:function(){return y},getFCP:function(){return g},getFID:function(){return C},getLCP:function(){return P},getTTFB:function(){return D}});var i,r,a,o,u=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},c=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},f=function(e,t){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},s=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},m=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},v=-1,p=function(){return"hidden"===document.visibilityState?0:1/0},d=function(){f((function(e){var t=e.timeStamp;v=t}),!0)},l=function(){return v<0&&(v=p(),d(),s((function(){setTimeout((function(){v=p(),d()}),0)}))),{get firstHiddenTime(){return v}}},g=function(e,t){var n,i=l(),r=u("FCP"),a=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime-1&&e(t)},r=u("CLS",0),a=0,o=[],v=function(e){if(!e.hadRecentInput){var t=o[0],i=o[o.length-1];a&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e]),a>r.value&&(r.value=a,r.entries=o,n())}},p=c("layout-shift",v);p&&(n=m(i,r,t),f((function(){p.takeRecords().map(v),n(!0)})),s((function(){a=0,T=-1,r=u("CLS",0),n=m(i,r,t)})))},E={passive:!0,capture:!0},w=new Date,L=function(e,t){i||(i=t,r=e,a=new Date,F(removeEventListener),S())},S=function(){if(r>=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){L(e,t),r()},i=function(){r()},r=function(){removeEventListener("pointerup",n,E),removeEventListener("pointercancel",i,E)};addEventListener("pointerup",n,E),addEventListener("pointercancel",i,E)}(t,e):L(t,e)}},F=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,b,E)}))},C=function(e,t){var n,a=l(),v=u("FID"),p=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("load",(function(){return setTimeout(t,0)}))}}}]); \ No newline at end of file diff --git a/xkcdgenerator/ui/build/static/js/main.49004617.js b/xkcdgenerator/ui/build/static/js/main.49004617.js deleted file mode 100644 index 3364a0f..0000000 --- a/xkcdgenerator/ui/build/static/js/main.49004617.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.49004617.js.LICENSE.txt */ -!function(){var e={861:function(e,t,n){"use strict";var r=n(214),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=u(t),v=u(n),m=0;m-1},ee.prototype.set=function(e,t){var n=this.__data__,r=ie(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},te.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new(Q||ee),string:new J}},te.prototype.delete=function(e){var t=ge(this,e).delete(e);return this.size-=t?1:0,t},te.prototype.get=function(e){return ge(this,e).get(e)},te.prototype.has=function(e){return ge(this,e).has(e)},te.prototype.set=function(e,t){var n=ge(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ne.prototype.clear=function(){this.__data__=new ee,this.size=0},ne.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ne.prototype.get=function(e){return this.__data__.get(e)},ne.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ee){var r=n.__data__;if(!Q||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new te(r)}return n.set(e,t),this.size=n.size,this};var ue,se=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var l=a[ue?i:++r];if(!1===t(o[l],l,o))break}return e};function ce(e){return null==e?void 0===e?f:s:$&&$ in Object(e)?function(e){var t=R.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(a){}var o=M.call(e);r&&(t?e[$]=n:delete e[$]);return o}(e):function(e){return M.call(e)}(e)}function de(e){return je(e)&&ce(e)==a}function fe(e){return!(!Ae(e)||function(e){return!!O&&O in e}(e))&&(ze(e)?F:p).test(function(e){if(null!=e){try{return j.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function pe(e){if(!Ae(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=xe(e),n=[];for(var r in e)("constructor"!=r||!t&&R.call(e,r))&&n.push(r);return n}function he(e,t,n,r,o){e!==t&&se(t,(function(a,i){if(o||(o=new ne),Ae(a))!function(e,t,n,r,o,a,i){var l=we(e,n),u=we(t,n),s=i.get(u);if(s)return void oe(e,n,s);var d=a?a(l,u,n+"",e,t,i):void 0,f=void 0===d;if(f){var p=Ce(u),h=!p&&Pe(u),v=!p&&!h&&Re(u);d=u,p||h||v?Ce(l)?d=l:je(m=l)&&Ee(m)?d=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(me);function Se(e,t){return e===t||e!==e&&t!==t}var _e=de(function(){return arguments}())?de:function(e){return je(e)&&R.call(e,"callee")&&!U.call(e,"callee")},Ce=Array.isArray;function Ee(e){return null!=e&&Te(e.length)&&!ze(e)}var Pe=Y||function(){return!1};function ze(e){if(!Ae(e))return!1;var t=ce(e);return t==l||t==u||t==i||t==d}function Te(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Ae(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function je(e){return null!=e&&"object"==typeof e}var Re=_?function(e){return function(t){return e(t)}}(_):function(e){return je(e)&&Te(e.length)&&!!v[ce(e)]};function Oe(e){return Ee(e)?re(e,!0):pe(e)}var Me,Le=(Me=function(e,t,n,r){he(e,t,n,r)},ve((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(o=Me.length>3&&"function"==typeof o?(r--,o):void 0,a&&function(e,t,n){if(!Ae(n))return!1;var r=typeof t;return!!("number"==r?Ee(n)&&be(t,n.length):"string"==r&&t in n)&&Se(n[t],e)}(t[0],t[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++n