From 2aded481bfd749ce4b3b522941ff7246d686e74b Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Tue, 29 Oct 2024 14:18:19 +0100 Subject: [PATCH 1/3] feat: add oauth2provider --- build/asset-manifest.json | 6 +-- build/index.html | 2 +- build/static/js/main.81589a39.js | 3 ++ ...CENSE.txt => main.81589a39.js.LICENSE.txt} | 0 build/static/js/main.81589a39.js.map | 1 + build/static/js/main.ba50d5ee.js | 3 -- build/static/js/main.ba50d5ee.js.map | 1 - package-lock.json | 38 ++++++++----------- package.json | 2 +- src/index.tsx | 9 +++++ 10 files changed, 34 insertions(+), 31 deletions(-) create mode 100644 build/static/js/main.81589a39.js rename build/static/js/{main.ba50d5ee.js.LICENSE.txt => main.81589a39.js.LICENSE.txt} (100%) create mode 100644 build/static/js/main.81589a39.js.map delete mode 100644 build/static/js/main.ba50d5ee.js delete mode 100644 build/static/js/main.ba50d5ee.js.map diff --git a/build/asset-manifest.json b/build/asset-manifest.json index 6207adb..54dc2aa 100644 --- a/build/asset-manifest.json +++ b/build/asset-manifest.json @@ -1,10 +1,10 @@ { "files": { - "main.js": "/static/js/main.ba50d5ee.js", + "main.js": "/static/js/main.81589a39.js", "index.html": "/index.html", - "main.ba50d5ee.js.map": "/static/js/main.ba50d5ee.js.map" + "main.81589a39.js.map": "/static/js/main.81589a39.js.map" }, "entrypoints": [ - "static/js/main.ba50d5ee.js" + "static/js/main.81589a39.js" ] } \ No newline at end of file diff --git a/build/index.html b/build/index.html index cd19fca..1e07b84 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/build/static/js/main.81589a39.js b/build/static/js/main.81589a39.js new file mode 100644 index 0000000..1b70ed3 --- /dev/null +++ b/build/static/js/main.81589a39.js @@ -0,0 +1,3 @@ +/*! For license information please see main.81589a39.js.LICENSE.txt */ +(()=>{"use strict";var e={3337:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{d(r.next(e))}catch(t){i(t)}}function s(e){try{d(r.throw(e))}catch(t){i(t)}}function d(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,s)}d((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0?setTimeout(n,t):n(null)}}window.addEventListener("storage",a),e.addToWaiting(a);var s=setTimeout(a,Math.max(0,t-Date.now()))}))];case 1:return n.sent(),[2]}}))}))},e.addToWaiting=function(t){this.removeFromWaiting(t),void 0!==e.waiters&&e.waiters.push(t)},e.removeFromWaiting=function(t){void 0!==e.waiters&&(e.waiters=e.waiters.filter((function(e){return e!==t})))},e.notifyWaiters=function(){void 0!==e.waiters&&e.waiters.slice().forEach((function(e){return e()}))},e.prototype.releaseLock=function(e){return r(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return[4,this.releaseLock__private__(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.releaseLock__private__=function(t){return r(this,void 0,void 0,(function(){var n,r,i,u;return o(this,(function(o){switch(o.label){case 0:return n=void 0===this.storageHandler?d:this.storageHandler,r=s+"-"+t,null===(i=n.getItemSync(r))?[2]:(u=JSON.parse(i)).id!==this.id?[3,2]:[4,a.default().lock(u.iat)];case 1:o.sent(),this.acquiredIatSet.delete(u.iat),n.removeItemSync(r),a.default().unlock(u.iat),e.notifyWaiters(),o.label=2;case 2:return[2]}}))}))},e.lockCorrector=function(t){for(var n=Date.now()-5e3,r=t,o=[],i=0;;){var a=r.keySync(i);if(null===a)break;o.push(a),i++}for(var d=!1,u=0;u{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){var e=this;this.locked=new Map,this.addToLocked=function(t,n){var r=e.locked.get(t);void 0===r?void 0===n?e.locked.set(t,[]):e.locked.set(t,[n]):void 0!==n&&(r.unshift(n),e.locked.set(t,r))},this.isLocked=function(t){return e.locked.has(t)},this.lock=function(t){return new Promise((function(n,r){e.isLocked(t)?e.addToLocked(t,n):(e.addToLocked(t),n())}))},this.unlock=function(t){var n=e.locked.get(t);if(void 0!==n&&0!==n.length){var r=n.pop();e.locked.set(t,n),void 0!==r&&setTimeout(r,0)}else e.locked.delete(t)}}return e.getInstance=function(){return void 0===e.instance&&(e.instance=new e),e.instance},e}();t.default=function(){return n.getInstance()}},2730:(e,t,n)=>{var r=n(5043),o=n(8853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n