diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..eb1a13f Binary files /dev/null and b/.DS_Store differ diff --git a/build/Neutlan.js b/build/Neutlan.js new file mode 100644 index 0000000..7c92d51 --- /dev/null +++ b/build/Neutlan.js @@ -0,0 +1,258 @@ +NEUTLAN_URL = 'https://neutlan.com/api'; +post = (endpoint, TOKEN = null, body = {}) => { + var headers = { + Accept: "application/json", + "Content-Type": "application/json" + } + + if (TOKEN != null) { + headers['Authorization'] = 'Token ' + TOKEN; + } + + return fetch(this.NEUTLAN_URL + endpoint, { + method: "POST", + headers: headers, + body: JSON.stringify(body) + }) +} +let paragraph = ""; +let sentencesArray = []; +var style = document.createElement('style'); + +// Set the style content to include the styles for the .span_neutlan class +style.textContent = ` +.span_neutlan { + color: #0000ff00; + font-size: xx-large; + vertical-align: middle; + line-height: initial; +}`; + +// Add the style element to the document head +document.head.appendChild(style); +let styledTextElement = document.createElement('div'); +styledTextElement.classList.add('neutlan_div'); +let size = 'large'; +let font = 'arial, sans-serif'; +// Toke taken fromthe choreme storage you always loged in if you not delete chorome storage and logout +chrome.storage.local.get(['token', 'activated', 'color'], function (result) { + let token = result.token; + let checked = result.activated; + let color = result.color; + localStorage.setItem("token", token); + localStorage.setItem("activated", checked) + localStorage.setItem("color", color?color:"#00ff00") +}); +// In your background page script + +chrome.storage.onChanged.addListener(function (changes, namespace) { + for (var key in changes) { + if (key == 'activated') { + localStorage.setItem("activated", changes[key].newValue); + this.removeUnderline(); + } + if (key == 'token') { + chrome.storage.local.get("token", function (result) { + if (result.token) { + window.location.reload() + } + }) + + } + if (key == 'color') { + chrome.storage.local.get("color", function (result) { + if (result.color) { + localStorage.setItem("color", result.color) + changeColor() + } + }) + + } + } +}); + + +// Define function to remove underline +function removeUnderline() { + if (localStorage.getItem('activated') == "true") { + chrome.storage.local.get("token", function (result) { + if (result.token) { + let token = result.token; + const body = { + content: paragraph, + }; + post('/model/process', token, body) + .then((response) => { + if (response.ok) { + return response.json().then((data) => { + sentencesArray = data.file_content; + styledTextElement.innerHTML = "" + updateContainer(); + }); + + } else { + response.json().then((data) => { + }); + } + }) + .catch((error) => { + console.error("Error:", error); + }); + } + }) + this.updateContainer(); + } else { + styledTextElement.innerHTML = "" + } + +} +function changeColor() { + if (localStorage.getItem('activated') == "true") { + this.updateContainer(); + } else { + styledTextElement.innerHTML = "" + } +} + +updateContainer = () => { + styledTextElement.innerHTML = "" + const numberElement = document.createElement('div'); + let count = 0; + numberElement.innerHTML = count; + sentencesArray.map(async (index, number) => { + const color = localStorage.getItem('color') + if (index.biased) { + count = 1 + count; + numberElement.innerHTML = count; + const spanElement = document.createElement('span'); + spanElement.classList.add('span_neutlan'); + spanElement.style.textDecoration = 'underline'; + spanElement.style.textDecorationThickness = '2px'; + spanElement.style.textDecorationColor = color; + spanElement.style.fontSize = size; + spanElement.style.lineHeight = size; + spanElement.style.fontFamily = font; + spanElement.innerHTML = index.content; + styledTextElement.appendChild(spanElement); + } else { + // otherwise, apply default styles + const spanElement = document.createElement('span'); + spanElement.classList.add('span_neutlan'); + spanElement.style.fontSize = size; + spanElement.style.fontFamily = font; + spanElement.style.lineHeight = size; + spanElement.innerHTML = index.content; + styledTextElement.appendChild(spanElement); + } + const format = ` + position: absolute; + bottom: 4px; + right: 5px; + height: 30px; + pointer-events: none; + width: 30px; + font-size: 15px; + color: #fff; + border-radius: 50%; + display: flex; + background-color: #313265; + flex-wrap: nowrap; + justify-content: space-around; + align-items: center; + `.trim(); + // Set the styles on the number element + numberElement.style.cssText = format; + styledTextElement.appendChild(numberElement); + }); + + +}; + +let prevParagraph = ""; +let intervalId = null; + +myEventListener = (event) => { + chrome.storage.local.get("token", function (result) { + if (result.token) { + let token = result.token; + paragraph = event.target.value; + const textarea = event.target; + const styles = window.getComputedStyle(textarea); + styledTextElement.style.cssText = ` + position: absolute; + inset: 0; + pointer-events: none; + height: ${styles.getPropertyValue('height')}; + box-sizing: ${styles.getPropertyValue('box-sizing')}; + width: ${styles.getPropertyValue('width')}; + font-size: ${styles.getPropertyValue('font-size')}; + line-height: ${styles.getPropertyValue('line-height')}; + font-family: ${styles.getPropertyValue('font-family')}; + padding-top: ${styles.getPropertyValue('padding-top')}; + padding-right: ${styles.getPropertyValue('padding-right')}; + padding-bottom: ${styles.getPropertyValue('padding-bottom')}; + padding-left: ${styles.getPropertyValue('padding-left')}; + margin-top: ${styles.getPropertyValue('margin-top')}; + margin-right: ${styles.getPropertyValue('margin-right')}; + margin-bottom: ${styles.getPropertyValue('margin-bottom')}; + margin-left: ${styles.getPropertyValue('margin-left')}; + z-index: 5; + overflow: hidden; + white-space: pre-wrap; + `; + size = window.getComputedStyle(textarea).getPropertyValue('font-size'); + font = window.getComputedStyle(textarea).getPropertyValue('font-family'); + parent = textarea.parentNode; + parent.appendChild(styledTextElement); + let isExecuted = false; + + let checked; + if (localStorage.getItem("activated") == "true") { + checked = true + } else { + checked = false + } + + clearInterval(intervalId); + intervalId = setInterval(() => { + paragraph = event.target.value; + if (paragraph !== prevParagraph && checked) { + styledTextElement.innerHTML = ""; + const body = { + content: paragraph, + }; + chrome.storage.local.get("token", function (result) { + if (result.token) { + let token = result.token; + post('/model/process', token, body) + .then((response) => { + if (response.ok) { + return response.json().then((data) => { + sentencesArray = data.file_content; + styledTextElement.innerHTML = "" + updateContainer(); + prevParagraph = paragraph; + }); + + } else { + response.json().then((data) => { + }); + } + }) + .catch((error) => { + console.error("Error:", error); + }); + + } + } + ) + + } + }, 2000); + } + }); +}; + +window.addEventListener("keyup", myEventListener); + + diff --git a/build/api-service.js b/build/api-service.js new file mode 100644 index 0000000..d0eb5a9 --- /dev/null +++ b/build/api-service.js @@ -0,0 +1,42 @@ +export class API { + + static NEUTLAN_URL = 'https://neutlan.com/api'; + //static NEUTLAN_URL_MODEL = 'https://neutlan.com/api'; + + static post(endpoint, TOKEN = null, body = {}) { + var headers = { + Accept: "application/json", + "Content-Type": "application/json" + } + + if ( TOKEN != null ) { + headers['Authorization'] = 'Token ' + TOKEN; + } + + return fetch(this.NEUTLAN_URL + endpoint, { + method: "POST", + headers: headers, + body: JSON.stringify(body) + }) + } + + static get(endpoint, TOKEN = null, body = {}) { + var headers = { + Accept: "application/json", + "Content-Type": "application/json" + } + + if ( TOKEN != null) { + headers['Authorization'] = 'Token ' + TOKEN; + } + + return fetch(this.NEUTLAN_URL + endpoint, { + method: "GET", + headers: headers, + body: JSON.stringify(body) + }) + } + + //Model + +} \ No newline at end of file diff --git a/build/asset-manifest.json b/build/asset-manifest.json new file mode 100644 index 0000000..d8c08c9 --- /dev/null +++ b/build/asset-manifest.json @@ -0,0 +1,16 @@ +{ + "files": { + "main.css": "/static/css/main.3021c585.css", + "main.js": "/static/js/main.c02b49ea.js", + "static/js/787.28cb0dcd.chunk.js": "/static/js/787.28cb0dcd.chunk.js", + "static/media/neutlan_extension_header.png": "/static/media/neutlan_extension_header.c8532c5af573cb14a00a.png", + "index.html": "/index.html", + "main.3021c585.css.map": "/static/css/main.3021c585.css.map", + "main.c02b49ea.js.map": "/static/js/main.c02b49ea.js.map", + "787.28cb0dcd.chunk.js.map": "/static/js/787.28cb0dcd.chunk.js.map" + }, + "entrypoints": [ + "static/css/main.3021c585.css", + "static/js/main.c02b49ea.js" + ] +} \ No newline at end of file diff --git a/build/favicon.ico b/build/favicon.ico new file mode 100644 index 0000000..a11777c Binary files /dev/null and b/build/favicon.ico differ diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000..201b251 --- /dev/null +++ b/build/index.html @@ -0,0 +1 @@ +React App
\ No newline at end of file diff --git a/build/index.js b/build/index.js new file mode 100644 index 0000000..81ab88f --- /dev/null +++ b/build/index.js @@ -0,0 +1,18 @@ +import React from "react"; +import ReactDOM from "react-dom/client"; +import "../src/App.css"; +import App from "../src/App"; +import reportWebVitals from "../src/reportWebVitals"; + +const root = ReactDOM.createRoot(document.getElementById("root")); + +root.render( + + + +); + +// If you want to start measuring performance in your app, pass a function +// to log results (for example: reportWebVitals(console.log)) +// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals +reportWebVitals(); diff --git a/build/logo192.png b/build/logo192.png new file mode 100644 index 0000000..fc44b0a Binary files /dev/null and b/build/logo192.png differ diff --git a/build/logo512.png b/build/logo512.png new file mode 100644 index 0000000..a4e47a6 Binary files /dev/null and b/build/logo512.png differ diff --git a/build/manifest _v2.json b/build/manifest _v2.json new file mode 100644 index 0000000..82a9acc --- /dev/null +++ b/build/manifest _v2.json @@ -0,0 +1,37 @@ +{ + "manifest_version": 2, + "name": "Neutlan: Chrome Extension For Text Analyzer", + "version": "1.0.1", + "description" :"Neutlan: Neutralize Language From Sexist Meanings", + "icons" : { + "512": "neutlan_logo.png" + }, + "browser_action": { + "default_icon": "neutlan_logo.png", + "default_popup": "index.html", + "default_title": "Neutlan" + }, + "permissions": [ + "tabs", + "storage", + "cookies", + "*://*.google.com", + "https://*/", + "webRequest", + "scripting" + ], + "host_permissions": [ + "*://*.google.com/" + ], + "content_scripts": [ + { + "matches": [""], + "js": ["Neutlan.js"] + } + ], + "background": { + "scripts": ["Neutlan.js"], + "persistent": true + } +} + diff --git a/build/manifest.json b/build/manifest.json new file mode 100644 index 0000000..f7d345b --- /dev/null +++ b/build/manifest.json @@ -0,0 +1,38 @@ +{ + "manifest_version": 2, + "name": "Neutlan: Chrome Extension For Text Analyzer", + "version": "1.0.1", + "description" :"Neutlan: Neutralize Language From Sexist Meanings", + "icons" : { + "512": "neutlan_logo.png" + }, + "browser_action": { + "default_icon": "neutlan_logo.png", + "default_popup": "index.html", + "default_title": "Neutlan" + }, + "permissions": [ + "tabs", + "storage", + "cookies", + "*://*.google.com", + "https://*/", + "webRequest", + "scripting" + ], + "host_permissions": [ + "*://*.google.com/", + "https://*/" + ], + "content_scripts": [ + { + "matches": [""], + "js": ["Neutlan.js"] + } + ], + "background": { + "scripts": ["Neutlan.js"], + "persistent": true + } +} + diff --git a/build/neutlan_logo.png b/build/neutlan_logo.png new file mode 100644 index 0000000..05e9849 Binary files /dev/null and b/build/neutlan_logo.png differ diff --git a/build/popup.html b/build/popup.html new file mode 100644 index 0000000..a6f8a1c --- /dev/null +++ b/build/popup.html @@ -0,0 +1,12 @@ + + + + + + + Document + + + + + diff --git a/build/robots.txt b/build/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/build/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/build/static/css/main.3021c585.css b/build/static/css/main.3021c585.css new file mode 100644 index 0000000..69216ad --- /dev/null +++ b/build/static/css/main.3021c585.css @@ -0,0 +1,2 @@ +body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:6px;box-shadow:2px 2px 2px 1px rgba(0,0,0,.2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;height:320px;margin:0;width:250px}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}h1{color:#1500ff;font-size:36px;margin-top:5rem}.App{text-align:center}.App,div#root{height:100%}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{-webkit-animation:App-logo-spin 20s linear infinite;animation:App-logo-spin 20s linear infinite}}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#61dafb}@-webkit-keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}} +/*# sourceMappingURL=main.3021c585.css.map*/ \ No newline at end of file diff --git a/build/static/css/main.3021c585.css.map b/build/static/css/main.3021c585.css.map new file mode 100644 index 0000000..922278d --- /dev/null +++ b/build/static/css/main.3021c585.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.3021c585.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAIlC,iBAAkB,CAClB,yCAA8C,CAT9C,mIAEY,CAIZ,YAAa,CACb,QAAS,CAFT,WAMF,CAEA,KACE,uEAEF,CAEA,GAGE,aAAsB,CADtB,cAAe,CADf,eAGF,CCxBA,KACE,iBAEF,CACA,cAFE,WAIF,CAEA,UACE,aAAc,CACd,mBACF,CAEA,8CACE,UACE,mDAA4C,CAA5C,2CACF,CACF,CAEA,YAKE,kBAAmB,CAJnB,wBAAyB,CAOzB,UAAY,CALZ,YAAa,CACb,qBAAsB,CAGtB,4BAA6B,CAD7B,sBAAuB,CAJvB,gBAOF,CAEA,UACE,aACF,CAEA,iCACE,GACE,8BAAuB,CAAvB,sBACF,CACA,GACE,+BAAyB,CAAzB,uBACF,CACF,CAPA,yBACE,GACE,8BAAuB,CAAvB,sBACF,CACA,GACE,+BAAyB,CAAzB,uBACF,CACF","sources":["index.css","App.css"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n width: 250px;\n height: 320px;\n margin: 0;\n border-radius: 6px;\n box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);\n\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n}\n\nh1 {\n margin-top: 5rem;\n font-size: 36px;\n color: rgb(21, 0, 255);\n}\n",".App {\n text-align: center;\n height: 100%;\n}\ndiv#root {\n height: 100%;\n}\n\n.App-logo {\n height: 40vmin;\n pointer-events: none;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .App-logo {\n animation: App-logo-spin infinite 20s linear;\n }\n}\n\n.App-header {\n background-color: #282c34;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(10px + 2vmin);\n color: white;\n}\n\n.App-link {\n color: #61dafb;\n}\n\n@keyframes App-logo-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/build/static/js/787.28cb0dcd.chunk.js b/build/static/js/787.28cb0dcd.chunk.js new file mode 100644 index 0000000..f4e7769 --- /dev/null +++ b/build/static/js/787.28cb0dcd.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkmy_app=self.webpackChunkmy_app||[]).push([[787],{787: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)}))}}}]); +//# sourceMappingURL=787.28cb0dcd.chunk.js.map \ No newline at end of file diff --git a/build/static/js/787.28cb0dcd.chunk.js.map b/build/static/js/787.28cb0dcd.chunk.js.map new file mode 100644 index 0000000..8ae6481 --- /dev/null +++ b/build/static/js/787.28cb0dcd.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/787.28cb0dcd.chunk.js","mappings":"iQAAA,IAAIA,EAAEC,EAAEC,EAAEC,EAAEC,EAAE,SAASJ,EAAEC,GAAG,MAAM,CAACI,KAAKL,EAAEM,WAAM,IAASL,GAAG,EAAEA,EAAEM,MAAM,EAAEC,QAAQ,GAAGC,GAAG,MAAMC,OAAOC,KAAKC,MAAM,KAAKF,OAAOG,KAA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),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12)}},a=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){}},o=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)},u=function(e){addEventListener(\"pageshow\",(function(t){t.persisted&&e(t)}),!0)},c=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)))}},f=-1,s=function(){return\"hidden\"===document.visibilityState?0:1/0},m=function(){o((function(e){var t=e.timeStamp;f=t}),!0)},v=function(){return f<0&&(f=s(),m(),u((function(){setTimeout((function(){f=s(),m()}),0)}))),{get firstHiddenTime(){return f}}},d=function(e,t){var n,i=v(),o=r(\"FCP\"),f=function(e){\"first-contentful-paint\"===e.name&&(m&&m.disconnect(),e.startTime-1&&e(t)},f=r(\"CLS\",0),s=0,m=[],v=function(e){if(!e.hadRecentInput){var t=m[0],i=m[m.length-1];s&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,m.push(e)):(s=e.value,m=[e]),s>f.value&&(f.value=s,f.entries=m,n())}},h=a(\"layout-shift\",v);h&&(n=c(i,f,t),o((function(){h.takeRecords().map(v),n(!0)})),u((function(){s=0,l=-1,f=r(\"CLS\",0),n=c(i,f,t)})))},T={passive:!0,capture:!0},y=new Date,g=function(i,r){e||(e=r,t=i,n=new Date,w(removeEventListener),E())},E=function(){if(t>=0&&t1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,t){var n=function(){g(e,t),r()},i=function(){r()},r=function(){removeEventListener(\"pointerup\",n,T),removeEventListener(\"pointercancel\",i,T)};addEventListener(\"pointerup\",n,T),addEventListener(\"pointercancel\",i,T)}(t,e):g(t,e)}},w=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(t){return e(t,S,T)}))},L=function(n,f){var s,m=v(),d=r(\"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)}))};export{h as getCLS,d as getFCP,L as getFID,F as getLCP,P as getTTFB};\n"],"names":["e","t","n","i","r","name","value","delta","entries","id","concat","Date","now","Math","floor","random","a","PerformanceObserver","supportedEntryTypes","includes","self","getEntries","map","observe","type","buffered","o","document","visibilityState","removeEventListener","addEventListener","u","persisted","c","f","s","m","timeStamp","v","setTimeout","firstHiddenTime","d","disconnect","startTime","push","window","performance","getEntriesByName","requestAnimationFrame","p","l","h","hadRecentInput","length","takeRecords","T","passive","capture","y","g","w","E","entryType","target","cancelable","processingStart","forEach","S","L","b","F","once","P","getEntriesByType","timing","max","navigationStart","responseStart","readyState"],"sourceRoot":""} \ No newline at end of file diff --git a/build/static/js/main.c02b49ea.js b/build/static/js/main.c02b49ea.js new file mode 100644 index 0000000..3e5668f --- /dev/null +++ b/build/static/js/main.c02b49ea.js @@ -0,0 +1,3 @@ +/*! For license information please see main.c02b49ea.js.LICENSE.txt */ +!function(){var e={110:function(e,t,n){"use strict";var r=n(309),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 c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=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=s(n);f&&(i=i.concat(f(n)));for(var l=u(t),m=u(n),v=0;v