afront 1.0.21 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "afront",
3
- "version": "1.0.21",
3
+ "version": "1.0.24",
4
4
  "description": "AFront is a front-end JavaScript library designed to create seamless server-side rendered (SSSR) websites.",
5
5
  "main": "webpack.dev.js",
6
6
  "scripts": {
@@ -23,6 +23,7 @@
23
23
  "author": "imarksea - Piyush Nishad",
24
24
  "files": [
25
25
  "install.js",
26
+ "npm-shrinkwrap.json",
26
27
  "server.js",
27
28
  "webpack.build-prod.js",
28
29
  "webpack.dev.js",
@@ -38,22 +39,24 @@
38
39
  "license": "MIT",
39
40
  "dependencies": {
40
41
  "adm-zip": "^0.5.16",
41
- "afront": "^1.0.15",
42
+ "afront": "^1.0.24",
42
43
  "asggen-headtags": "^1.0.3",
44
+ "aui": "file:../AUI",
43
45
  "babel-plugin-css-modules-transform": "^1.6.2",
44
46
  "babel-plugin-dynamic-import-node": "^2.3.3",
45
47
  "banner-webpack-after-content": "^1.0.3",
46
48
  "copy-webpack-plugin": "^12.0.2",
49
+ "csp-html-webpack-plugin": "^5.1.0",
47
50
  "dotenv": "^16.4.5",
48
51
  "express-rate-limit": "^7.4.1",
49
52
  "extract-zip": "^2.0.1",
50
53
  "follow-redirects": "^1.15.9",
51
54
  "fs-extra": "^11.2.0",
55
+ "helmet": "^8.1.0",
52
56
  "html-inline-css-webpack-plugin": "^1.11.2",
53
57
  "ignore-styles": "^5.0.1",
54
- "json5": "^1.0.2",
55
- "loader-utils": "^1.4.2",
56
- "postcss": "^8.4.31",
58
+ "loader-utils": "^3.3.1",
59
+ "postcss": "^8.5.6",
57
60
  "react-router": "^7.5.2",
58
61
  "readline-sync": "^1.4.10",
59
62
  "styled-components": "^6.1.13",
@@ -61,7 +64,7 @@
61
64
  "tmp": "^0.2.3"
62
65
  },
63
66
  "devDependencies": {
64
- "@babel/cli": "^7.25.9",
67
+ "@babel/cli": "^7.28.3",
65
68
  "@babel/core": "^7.26.0",
66
69
  "@babel/preset-env": "^7.26.0",
67
70
  "@babel/preset-react": "^7.25.9",
@@ -72,10 +75,10 @@
72
75
  "express": "^4.21.1",
73
76
  "html-webpack-plugin": "^5.6.3",
74
77
  "ignore-styles": "^5.0.1",
75
- "json5": "^1.0.2",
78
+ "json5": "^2.2.3",
76
79
  "mini-css-extract-plugin": "^2.9.2",
77
80
  "patch-package": "^8.0.0",
78
- "postcss": "^8.4.31",
81
+ "postcss": "^8.5.6",
79
82
  "react": "^18.3.1",
80
83
  "react-dom": "^18.3.1",
81
84
  "style-loader": "^4.0.0",
@@ -85,7 +88,7 @@
85
88
  "webpack-node-externals": "^3.0.0"
86
89
  },
87
90
  "resolutions": {
88
- "loader-utils": "^1.4.2"
91
+ "loader-utils": "^3.3.1"
89
92
  },
90
93
  "bin": {
91
94
  "afront": "install.js"
package/src/App.js CHANGED
@@ -6,9 +6,9 @@ const isProduction = process.env.NODE_ENV === "production";
6
6
 
7
7
  const Tail = () => (
8
8
  <asggen
9
- style={{ display: "none" }}
9
+ className="hidden"
10
10
  dangerouslySetInnerHTML={{
11
- __html: `Rendering Asggen DOM...</asggen></asggenapp><script>window.addEventListener('load', () => { const loadingElement = document.getElementById('loading'); if (loadingElement) { setTimeout(() => { loadingElement.style.display = 'none'; }, 00);}});</script><script>if ("serviceWorker" in navigator) { window.addEventListener("load", () => { navigator.serviceWorker .register("/service-worker.js") .then((registration) => { registration.scope }) .catch((error) => { console.error("Service Worker registration failed:", error); }); }); }</script></body></html>`,
11
+ __html: `Rendering Asggen DOM...</asggen></asggenapp></body></html>`,
12
12
  }}
13
13
  />
14
14
  );
@@ -1,4 +1,5 @@
1
1
  const htmlWebpackPlugin = require("html-webpack-plugin");
2
+ const CspHtmlWebpackPlugin = require('csp-html-webpack-plugin');
2
3
  const MiniCssExtractPlugin = require("mini-css-extract-plugin");
3
4
  const CssMinimizerPlugin = require("css-minimizer-webpack-plugin");
4
5
  const TerserWebpackPlugin = require("terser-webpack-plugin");
@@ -110,6 +111,16 @@ module.exports = {
110
111
  };
111
112
  },
112
113
  }),
114
+ new CspHtmlWebpackPlugin({
115
+ "default-src": ["'self'"],
116
+ "script-src": ["'self'"],
117
+ "style-src": ["'self'", "https://fonts.googleapis.com", "'unsafe-hashes'"],
118
+ "style-src-elem": ["'self'", "https://fonts.googleapis.com", "https://fonts.gstatic.com"],
119
+ "font-src": ["'self'", "https://fonts.gstatic.com"]
120
+ }, {
121
+ hashingMethod: 'sha256',
122
+ hashEnabled: { 'script-src': true, 'style-src': true }
123
+ }),
113
124
  new MiniCssExtractPlugin({
114
125
  filename: "static/css/[name]-[contenthash].css",
115
126
  }),
@@ -120,6 +131,7 @@ module.exports = {
120
131
  { from: "dev/logo512.png", to: "logo512.png" }, // Copy logo512
121
132
  { from: "dev/manifest.json", to: "manifest.json" }, // Copy manifest
122
133
  { from: "dev/style.css", to: "style.css" },
134
+ { from: "dev/inline.js", to: "inline.js" },
123
135
  { from: "dev/robots.txt", to: "robots.txt" },
124
136
  { from: "dev/service-worker.js", to: "service-worker.js" },
125
137
  { from: "dev/offline.html", to: "offline.html" },
package/webpack.dev.js CHANGED
@@ -1,4 +1,5 @@
1
1
  const htmlWebpackPlugin = require("html-webpack-plugin");
2
+ const CspHtmlWebpackPlugin = require('csp-html-webpack-plugin');
2
3
  const path = require("path");
3
4
  const MiniCssExtractPlugin = require("mini-css-extract-plugin");
4
5
  const TerserWebpackPlugin = require("terser-webpack-plugin");
@@ -16,6 +17,11 @@ module.exports = {
16
17
  port: 9999,
17
18
  open: true,
18
19
  historyApiFallback: true,
20
+ headers: {
21
+ // Dev server: send a permissive CSP header to avoid blocking during development.
22
+ // This header is intentionally more permissive than the production meta tag.
23
+ "Content-Security-Policy": "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com"
24
+ }
19
25
  },
20
26
  output: {
21
27
  filename: "[name].bundle.js",
@@ -108,5 +114,15 @@ module.exports = {
108
114
  };
109
115
  },
110
116
  }),
117
+ new CspHtmlWebpackPlugin({
118
+ "default-src": ["'self'"],
119
+ "script-src": ["'self'"],
120
+ "style-src": ["'self'", "https://fonts.googleapis.com", "'unsafe-hashes'"],
121
+ "style-src-elem": ["'self'", "https://fonts.googleapis.com", "https://fonts.gstatic.com"],
122
+ "font-src": ["'self'", "https://fonts.gstatic.com"]
123
+ }, {
124
+ hashingMethod: 'sha256',
125
+ hashEnabled: { 'script-src': true, 'style-src': true }
126
+ }),
111
127
  ],
112
128
  };
package/webpack.prod.js CHANGED
@@ -3,6 +3,7 @@ const CssMinimizerPlugin = require("css-minimizer-webpack-plugin");
3
3
  const TerserWebpackPlugin = require("terser-webpack-plugin");
4
4
  const CopyWebpackPlugin = require("copy-webpack-plugin");
5
5
  const HtmlWebpackPlugin = require("html-webpack-plugin");
6
+ const CspHtmlWebpackPlugin = require('csp-html-webpack-plugin');
6
7
  const path = require("path");
7
8
  const crypto = require("crypto");
8
9
 
@@ -114,6 +115,16 @@ module.exports = {
114
115
  };
115
116
  },
116
117
  }),
118
+ new CspHtmlWebpackPlugin({
119
+ "default-src": ["'self'"],
120
+ "script-src": ["'self'"],
121
+ "style-src": ["'self'", "https://fonts.googleapis.com", "'unsafe-hashes'"],
122
+ "style-src-elem": ["'self'", "https://fonts.googleapis.com", "https://fonts.gstatic.com"],
123
+ "font-src": ["'self'", "https://fonts.gstatic.com"]
124
+ }, {
125
+ hashingMethod: 'sha256',
126
+ hashEnabled: { 'script-src': true, 'style-src': true }
127
+ }),
117
128
  new MiniCssExtractPlugin({
118
129
  filename: "static/css/[name]-[contenthash].css",
119
130
  }),
@@ -124,6 +135,7 @@ module.exports = {
124
135
  { from: "dev/logo512.png", to: "logo512.png" },
125
136
  { from: "dev/manifest.json", to: "manifest.json" },
126
137
  { from: "dev/style.css", to: "style.css" },
138
+ { from: "dev/inline.js", to: "inline.js" },
127
139
  { from: "dev/robots.txt", to: "robots.txt" },
128
140
  { from: "dev/service-worker.js", to: "service-worker.js" },
129
141
  { from: "dev/offline.html", to: "offline.html" },
@@ -1 +0,0 @@
1
- (()=>{"use strict";var e,t,n,r,o,a={460(e,t,n){var r=n(540),o=n(338),a=n(658);const c=[{path:"/",element:(0,r.lazy)(function(){return n.e(41).then(n.bind(n,488))}),withHeaderFooter:!0},{path:"/signup",element:(0,r.lazy)(function(){return n.e(525).then(n.bind(n,525))}),withHeaderFooter:!1},{path:"/support/s",element:(0,r.lazy)(function(){return n.e(3).then(n.bind(n,3))}),protected:!0,withHeaderFooter:!0},{path:"/*",element:(0,r.lazy)(function(){return n.e(573).then(n.bind(n,573))}),withHeaderFooter:!0}];var i=n(983);function u(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var u=r&&r.prototype instanceof i?r:i,s=Object.create(u.prototype);return l(s,"_invoke",function(n,r,o){var a,i,u,l=0,s=o||[],f=!1,m={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,i=0,u=e,m.n=n,c}};function p(n,r){for(i=n,u=r,t=0;!f&&l&&!o&&t<s.length;t++){var o,a=s[t],p=m.p,d=a[2];n>3?(o=d===r)&&(u=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(i=0,m.v=r,m.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,m.n=d,i=0))}if(o||n>1)return c;throw f=!0,r}return function(o,s,d){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,d),i=s,u=d;(t=i<2?e:u)||!f;){a||(i?i<3?(i>1&&(m.n=-1),p(i,u)):m.n=u:m.v=u);try{if(l=2,a){if(i||(o="next"),t=a[o]){if(!(t=t.call(a,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((t=(f=m.n<0)?u:n.call(r,m))!==c)break}catch(t){a=e,i=1,u=t}finally{l=1}}return{value:t,done:f}}}(n,o,a),!0),s}var c={};function i(){}function s(){}function f(){}t=Object.getPrototypeOf;var m=[][r]?t(t([][r]())):(l(t={},r,function(){return this}),t),p=f.prototype=i.prototype=Object.create(m);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,l(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,l(p,"constructor",f),l(f,"constructor",s),s.displayName="GeneratorFunction",l(f,o,"GeneratorFunction"),l(p),l(p,o,"Generator"),l(p,r,function(){return this}),l(p,"toString",function(){return"[object Generator]"}),(u=function(){return{w:a,m:d}})()}function l(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}l=function(e,t,n,r){function a(t,n){l(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},l(e,t,n,r)}function s(e,t,n,r,o,a,c){try{var i=e[a](c),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,o)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function m(e){var t=e.children,n=(0,a.zy)(),o=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,o,a,c=[],i=!0,u=!1;try{for(o=(t=t.call(e)).next,!2;!(i=(n=o.call(t)).done)&&(c.push(n.value),2!==c.length);i=!0);}catch(e){u=!0,r=e}finally{try{if(!i&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw r}}return c}}(e)||function(e){if(e){if("string"==typeof e)return f(e,2);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?f(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,r.useState)("checking")),c=o[0],l=o[1];return(0,r.useEffect)(function(){var e,t=!0;return(e=u().m(function e(){var n,r;return u().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,i.Ay.getCurrentUser();case 1:r=e.v,t&&null!=r&&null!==(n=r.data)&&void 0!==n&&n.user?l("authed"):t&&l("unauth"),e.n=3;break;case 2:e.p=2,e.v,t&&l("unauth");case 3:return e.a(2)}},e,null,[[0,2]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function c(e){s(a,r,o,c,i,"next",e)}function i(e){s(a,r,o,c,i,"throw",e)}c(void 0)})})(),function(){t=!1}},[]),"checking"===c?null:"unauth"===c?r.createElement(a.C5,{to:"/login",state:{from:n},replace:!0}):t||r.createElement(a.sv,null)}const p=function(){return r.createElement("div",{className:"asggen-u87Xe4L"},r.createElement("div",{className:"asggen-dfmPEk7"}))};var d=n(833);function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,c,i=[],u=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(i.push(r.value),i.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const g=function(){var e=v((0,r.useState)(!1),2),t=e[0],n=e[1],o=v((0,r.useState)(!1),2),a=o[0],c=o[1],i=function(){n(!1)};return(0,r.useEffect)(function(){var e=function(){c(window.scrollY>=5)};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}},[]),(0,r.useEffect)(function(){var e=function(){window.innerWidth>768&&t&&n(!1)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[t]),(0,r.useEffect)(function(){return document.body.style.overflow=t?"hidden":"auto",function(){document.body.style.overflow="auto"}},[t]),r.createElement("header",{className:"".concat(d.wx," ").concat(t?d.VV:"".concat(a?d.nr:"")," "),id:"header"},r.createElement("nav",{className:"".concat(d.v_," ").concat(d.kL)},r.createElement("a",{href:"/",className:"".concat(d.wk)},"AFront"),r.createElement("div",{className:"".concat(d.UB," ").concat(t?d.$m:""),id:"burger",onClick:function(){n(!t)}},r.createElement("span",{className:d.U}),r.createElement("span",{className:d.U}),r.createElement("span",{className:d.U})),r.createElement("div",{className:"".concat(d.MK," ").concat(t?d.$m:d.__),id:"menu"},r.createElement("ul",{className:d.gC},r.createElement("li",{className:d.j$},r.createElement("a",{href:"#",className:"".concat(d.Gj," ").concat(t?d.AZ:""),onClick:i},"Learn")),r.createElement("li",{className:d.j$},r.createElement("a",{href:"#",className:"".concat(d.Gj," ").concat(t?d.AZ:""),onClick:i},"Feature")),r.createElement("li",{className:d.j$},r.createElement("a",{href:"#",className:"".concat(d.Gj," ").concat(t?d.AZ:""),onClick:i},"Blog")),r.createElement("li",{className:d.j$},r.createElement("a",{href:"/support",className:"".concat(d.Gj," ").concat(t?d.AZ:""),onClick:i},"Support")),t&&r.createElement(r.Fragment,null,r.createElement("li",{className:d.j$},r.createElement("a",{href:"#",className:"".concat(d.Gj," ").concat(t?d.AZ:""),onClick:i},"demo"))))),r.createElement("a",{href:"/",className:d.DG},"Get Started")))},y=function(){return r.createElement("footer",{className:d.qr},r.createElement("div",{className:d.xQ},r.createElement("div",{className:d.TW},r.createElement("a",{href:"/",className:d.V4},"AFront"),r.createElement("p",{className:d.yM},"Empowering front-end development with cutting-edge tools and services.")),r.createElement("div",{className:d.hF},r.createElement("div",{className:d.nc},r.createElement("h4",{className:d.K8},"Company"),r.createElement("ul",{className:d.x8},r.createElement("li",null,r.createElement("a",{href:"/about",className:d.nf},"About Us")),r.createElement("li",null,r.createElement("a",{href:"/careers",className:d.nf},"Careers")),r.createElement("li",null,r.createElement("a",{href:"/contact",className:d.nf},"Contact Us")))),r.createElement("div",{className:d.nc},r.createElement("h4",{className:d.K8},"Resources"),r.createElement("ul",{className:d.x8},r.createElement("li",null,r.createElement("a",{href:"/blog",className:d.nf},"Blog")),r.createElement("li",null,r.createElement("a",{href:"/docs",className:d.nf},"Documentation")),r.createElement("li",null,r.createElement("a",{href:"/community",className:d.nf},"Community")))),r.createElement("div",{className:d.nc},r.createElement("h4",{className:d.K8},"Products"),r.createElement("ul",{className:d.x8},r.createElement("li",null,r.createElement("a",{href:"/features",className:d.nf},"Features")),r.createElement("li",null,r.createElement("a",{href:"/pricing",className:d.nf},"Pricing")),r.createElement("li",null,r.createElement("a",{href:"/support",className:d.nf},"Support")))))),r.createElement("div",{className:d.LD},r.createElement("p",{className:d.xP},"© ",(new Date).getFullYear()," AFront by Asggen Inc. All rights reserved."),r.createElement("div",{className:d.lj},r.createElement("a",{href:"https://twitter.com",className:d.oW},"Twitter"),r.createElement("a",{href:"https://facebook.com",className:d.oW},"Facebook"),r.createElement("a",{href:"https://www.linkedin.com/showcase/asggenchat/",className:d.oW},"LinkedIn"))))},b=(0,r.createContext)();var E=function(e){var t=e.children;return r.createElement(r.Fragment,null,r.createElement(g,null),t,r.createElement(y,null))};const w=function(e){var t=e.context,n=(0,r.useContext)(b).setLoading;return r.createElement(a.BV,null,c.map(function(e,o){var c=e.path,i=e.element,u=e.withHeaderFooter,l=e.protected;return r.createElement(a.qh,{key:o,path:c,element:u?r.createElement(E,null,r.createElement(r.Suspense,{fallback:r.createElement(p,null),onPromiseStart:function(){return n(!0)},onPromiseEnd:function(){return n(!1)}},l?r.createElement(m,null,r.createElement(i,{context:t})):r.createElement(i,{context:t}))):r.createElement(r.Suspense,{fallback:r.createElement(p,null),onPromiseStart:function(){return n(!0)},onPromiseEnd:function(){return n(!1)}},l?r.createElement(m,null,r.createElement(i,{context:t})):r.createElement(i,{context:t}))})}))};function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var O=function(){return r.createElement("asggen",{style:{display:"none"},dangerouslySetInnerHTML:{__html:'Rendering Asggen DOM...</asggen></asggenapp><script>window.addEventListener(\'load\', () => { const loadingElement = document.getElementById(\'loading\'); if (loadingElement) { setTimeout(() => { loadingElement.style.display = \'none\'; }, 00);}});<\/script><script>if ("serviceWorker" in navigator) { window.addEventListener("load", () => { navigator.serviceWorker .register("/service-worker.js") .then((registration) => { registration.scope }) .catch((error) => { console.error("Service Worker registration failed:", error); }); }); }<\/script></body></html>'}})},S=document.getElementById("asggen");o.createRoot(S),(0,o.hydrateRoot)(S,r.createElement(a.Kd,null,r.createElement(function(e){var t=e.context,n=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,o,a,c=[],i=!0,u=!1;try{for(o=(t=t.call(e)).next,!2;!(i=(n=o.call(t)).done)&&(c.push(n.value),2!==c.length);i=!0);}catch(e){u=!0,r=e}finally{try{if(!i&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw r}}return c}}(e)||function(e){if(e){if("string"==typeof e)return j(e,2);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?j(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,r.useState)(!1)),o=n[0],a=n[1];return r.createElement(r.Fragment,null,r.createElement(b.Provider,{value:{loading:o,setLoading:a}},o&&r.createElement(LoadingIndicator,null),r.createElement(w,{context:t}),r.createElement(O,null)))},null)))},833(e,t,n){n.d(t,{$m:()=>O,AZ:()=>x,B4:()=>a,DG:()=>C,FY:()=>I,Gj:()=>F,K8:()=>E,LD:()=>p,MK:()=>A,OK:()=>i,TW:()=>d,U:()=>s,UB:()=>l,V4:()=>b,VV:()=>L,__:()=>S,_e:()=>o,gC:()=>T,hF:()=>y,h_:()=>u,j$:()=>_,kL:()=>f,lj:()=>M,nX:()=>j,nc:()=>N,nf:()=>k,nr:()=>U,oW:()=>R,qr:()=>m,uW:()=>D,v_:()=>G,vd:()=>r,wk:()=>c,wx:()=>w,x8:()=>P,xP:()=>h,xQ:()=>v,yM:()=>g});var r="asggen-Y2cbpWB",o="asggen-lxgipYD",a="asggen-Dz7DCBs",c="asggen-EVWqcuk",i="asggen-e3fixws",u="asggen-bremE3g",l="asggen-LsM7ZjZ",s="asggen-_Tz4jNZ",f="asggen-yYmSvug",m="asggen-vOcQaWi",p="asggen-w3fUm2Q",d="asggen-qKHdMcH",v="asggen-Kou5AQf",h="asggen-FTFjC4T",g="asggen-cazhRP1",y="asggen-a78uDCQ",b="asggen-slMjjDc",E="asggen-N07cS94",w="asggen-FaJ4Ou8",j="asggen-GSXjAs2",O="asggen-E8o0IXn",S="asggen-hcpN3fG",k="asggen-iRs41ng",N="asggen-_UtUx79",P="asggen-vfO0fUG",A="asggen-F6t44Vy",C="asggen-YFITMpr",T="asggen-yMiHRly",_="asggen-WULGo8J",F="asggen-DIqmOCa",x="asggen-uIPgGK7",G="asggen-b2RQ1kV",L="asggen-QfNYU76",U="asggen-zfxwI26",I="asggen-ypntYRK",D="asggen-vCnhqcW",R="asggen-rUwKNuA",M="asggen-HczpTuP"},983(e,t,n){function r(){var e,t,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",c=n.toStringTag||"@@toStringTag";function i(n,r,a,c){var i=r&&r.prototype instanceof l?r:l,s=Object.create(i.prototype);return o(s,"_invoke",function(n,r,o){var a,c,i,l=0,s=o||[],f=!1,m={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,c=0,i=e,m.n=n,u}};function p(n,r){for(c=n,i=r,t=0;!f&&l&&!o&&t<s.length;t++){var o,a=s[t],p=m.p,d=a[2];n>3?(o=d===r)&&(i=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(c=0,m.v=r,m.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,m.n=d,c=0))}if(o||n>1)return u;throw f=!0,r}return function(o,s,d){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,d),c=s,i=d;(t=c<2?e:i)||!f;){a||(c?c<3?(c>1&&(m.n=-1),p(c,i)):m.n=i:m.v=i);try{if(l=2,a){if(c||(o="next"),t=a[o]){if(!(t=t.call(a,i)))throw TypeError("iterator result is not an object");if(!t.done)return t;i=t.value,c<2&&(c=0)}else 1===c&&(t=a.return)&&t.call(a),c<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=e}else if((t=(f=m.n<0)?i:n.call(r,m))!==u)break}catch(t){a=e,c=1,i=t}finally{l=1}}return{value:t,done:f}}}(n,a,c),!0),s}var u={};function l(){}function s(){}function f(){}t=Object.getPrototypeOf;var m=[][a]?t(t([][a]())):(o(t={},a,function(){return this}),t),p=f.prototype=l.prototype=Object.create(m);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,o(e,c,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,o(p,"constructor",f),o(f,"constructor",s),s.displayName="GeneratorFunction",o(f,c,"GeneratorFunction"),o(p),o(p,c,"Generator"),o(p,a,function(){return this}),o(p,"toString",function(){return"[object Generator]"}),(r=function(){return{w:i,m:d}})()}function o(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}o=function(e,t,n,r){function c(t,n){o(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(c("next",0),c("throw",1),c("return",2))},o(e,t,n,r)}function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t,n,r,o,a,c){try{var i=e[a](c),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,o)}function m(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function c(e){f(a,r,o,c,i,"next",e)}function i(e){f(a,r,o,c,i,"throw",e)}c(void 0)})}}n.d(t,{Ay:()=>N});var p="undefined"!=typeof process&&process.env&&process.env.REACT_APP_API_BASE||"undefined"!=typeof window&&window.__env&&window.__env.REACT_APP_API_BASE||"http://localhost:4000/api/v1";function d(e,t,n){var r=/^https?:\/\//i.test(t)?t:"".concat(e).concat(t);if(!n)return r;var o=new URLSearchParams(n).toString();return o?"".concat(r).concat(r.includes("?")?"&":"?").concat(o):r}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseURL,n=void 0===t?p:t,o=e.timeout,c=void 0===o?6e4:o,u=e.headers,s=void 0===u?{"Content-Type":"application/json"}:u,f=e.withCredentials,v=void 0===f||f,h=[],g=[];function y(e){return b.apply(this,arguments)}function b(){return(b=m(r().m(function e(t){var n,o,c,i,u,s;return r().w(function(e){for(;;)switch(e.p=e.n){case 0:n=l({},t),o=a(h),e.p=1,o.s();case 2:if((c=o.n()).done){e.n=5;break}return i=c.value,e.n=3,i(n);case 3:void 0!==(u=e.v)&&(n=u);case 4:e.n=2;break;case 5:e.n=7;break;case 6:e.p=6,s=e.v,o.e(s);case 7:return e.p=7,o.f(),e.f(7);case 8:return e.a(2,n)}},e,null,[[1,6,7,8]])}))).apply(this,arguments)}function E(e){return w.apply(this,arguments)}function w(){return w=m(r().m(function e(t){var n,o,c,i,u,l,s,f,m,p=arguments;return r().w(function(e){for(;;)switch(e.p=e.n){case 0:n=!(p.length>1&&void 0!==p[1])||p[1],o=t,c=a(g),e.p=1,c.s();case 2:if((i=c.n()).done){e.n=10;break}if(u=i.value,e.p=3,!n||"function"!=typeof u.onFulfilled){e.n=5;break}return e.n=4,u.onFulfilled(o);case 4:void 0!==(l=e.v)&&(o=l),e.n=7;break;case 5:if(n||"function"!=typeof u.onRejected){e.n=7;break}return e.n=6,u.onRejected(o);case 6:void 0!==(s=e.v)&&(o=s);case 7:e.n=9;break;case 8:e.p=8,f=e.v,o=f,n=!1;case 9:e.n=2;break;case 10:e.n=12;break;case 11:e.p=11,m=e.v,c.e(m);case 12:return e.p=12,c.f(),e.f(12);case 13:if(!n){e.n=14;break}return e.a(2,o);case 14:throw o;case 15:return e.a(2)}},e,null,[[3,8],[1,11,12,13]])})),w.apply(this,arguments)}function j(e){return O.apply(this,arguments)}function O(){return(O=m(r().m(function e(t){var o,a,i,u,f,m,p,h,g,b;return r().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.n=1,y(l({baseURL:n,timeout:c,headers:l({},s),withCredentials:v},t));case 1:return o=e.v,a=d(o.baseURL||n,o.url||o.path||"/",o.params),i=new AbortController,u=o.timeout||c,f=setTimeout(function(){return i.abort()},u),m={method:(o.method||"GET").toUpperCase(),headers:o.headers||{},signal:i.signal},(o.withCredentials||void 0===o.withCredentials)&&(m.credentials="include"),void 0!==o.body&&null!==o.body&&(m.body=o.body),e.p=2,e.n=3,fetch(a,m);case 3:if(p=e.v,clearTimeout(f),h=null,!(p.headers.get("content-type")||"").includes("application/json")){e.n=8;break}return e.p=4,e.n=5,p.json();case 5:h=e.v,e.n=7;break;case 6:e.p=6,e.v,h=null;case 7:e.n=11;break;case 8:return e.p=8,e.n=9,p.text();case 9:h=e.v,e.n=11;break;case 10:e.p=10,e.v,h=null;case 11:return g={ok:p.ok,status:p.status,data:h,raw:p},e.n=12,E(g,!0);case 12:return e.a(2,e.v);case 13:return e.p=13,b=e.v,clearTimeout(f),e.n=14,E(b,!1);case 14:return e.a(2,e.v)}},e,null,[[8,10],[4,6],[2,13]])}))).apply(this,arguments)}var S={interceptors:{request:{use:function(e){return h.push(e),h.length-1}},response:{use:function(e,t){return g.push({onFulfilled:e,onRejected:t}),g.length-1}}},request:j,get:function(e){return j(l({method:"GET",url:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},post:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return j(l({method:"POST",url:e,body:"object"!==i(t)||t instanceof FormData?t:JSON.stringify(t),headers:l(l({},n.headers||{}),{},{"Content-Type":t instanceof FormData?void 0:"application/json"})},n))},put:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return j(l({method:"PUT",url:e,body:"object"!==i(t)||t instanceof FormData?t:JSON.stringify(t),headers:l(l({},n.headers||{}),{},{"Content-Type":t instanceof FormData?void 0:"application/json"})},n))},patch:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return j(l({method:"PATCH",url:e,body:"object"!==i(t)||t instanceof FormData?t:JSON.stringify(t),headers:l(l({},n.headers||{}),{},{"Content-Type":t instanceof FormData?void 0:"application/json"})},n))},delete:function(e){return j(l({method:"DELETE",url:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}};return S}({baseURL:p,timeout:6e4,headers:{"Content-Type":"application/json"},withCredentials:!0});v.defaults={baseURL:p,timeout:6e4},v.interceptors.request.use(function(e){try{console.log("API Request -> ".concat(((e.method||"").toString()||"GET").toUpperCase()," ").concat(e.url||e.path," (base: ").concat(v.defaults.baseURL,") (timeout: ").concat(e.timeout||v.defaults.timeout,"ms)"))}catch(e){}return e}),v.interceptors.response.use(function(e){return e},function(e){return e&&e.status?console.warn("API response error:",e.status,e.data):console.error("Network or CORS error when calling API:",e&&e.message?e.message:e),Promise.reject(e)});const h=v;function g(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var u=r&&r.prototype instanceof i?r:i,l=Object.create(u.prototype);return y(l,"_invoke",function(n,r,o){var a,i,u,l=0,s=o||[],f=!1,m={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,i=0,u=e,m.n=n,c}};function p(n,r){for(i=n,u=r,t=0;!f&&l&&!o&&t<s.length;t++){var o,a=s[t],p=m.p,d=a[2];n>3?(o=d===r)&&(u=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(i=0,m.v=r,m.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,m.n=d,i=0))}if(o||n>1)return c;throw f=!0,r}return function(o,s,d){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,d),i=s,u=d;(t=i<2?e:u)||!f;){a||(i?i<3?(i>1&&(m.n=-1),p(i,u)):m.n=u:m.v=u);try{if(l=2,a){if(i||(o="next"),t=a[o]){if(!(t=t.call(a,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((t=(f=m.n<0)?u:n.call(r,m))!==c)break}catch(t){a=e,i=1,u=t}finally{l=1}}return{value:t,done:f}}}(n,o,a),!0),l}var c={};function i(){}function u(){}function l(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(y(t={},r,function(){return this}),t),f=l.prototype=i.prototype=Object.create(s);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,y(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=l,y(f,"constructor",l),y(l,"constructor",u),u.displayName="GeneratorFunction",y(l,o,"GeneratorFunction"),y(f),y(f,o,"Generator"),y(f,r,function(){return this}),y(f,"toString",function(){return"[object Generator]"}),(g=function(){return{w:a,m}})()}function y(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}y=function(e,t,n,r){function a(t,n){y(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},y(e,t,n,r)}function b(e,t,n,r,o,a,c){try{var i=e[a](c),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,o)}function E(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function c(e){b(a,r,o,c,i,"next",e)}function i(e){b(a,r,o,c,i,"throw",e)}c(void 0)})}}var w="/auth";function j(){return(j=E(g().m(function e(t){var n,r;return g().w(function(e){for(;;)if(0===e.n)return n=t.email,r=t.password,e.a(2,h.post("".concat(w,"/login"),{email:n,password:r},{withCredentials:!0}))},e)}))).apply(this,arguments)}function O(){return(O=E(g().m(function e(t){var n,r,o,a,c;return g().w(function(e){for(;;)if(0===e.n)return n=t.email,r=t.password,o=t.name,a=t.accountType,c=t.companyName,e.a(2,h.post("".concat(w,"/signup"),{email:n,password:r,name:o,accountType:a,companyName:c},{withCredentials:!0}))},e)}))).apply(this,arguments)}function S(){return(S=E(g().m(function e(t){var n;return g().w(function(e){for(;;)if(0===e.n)return n=t.email,e.a(2,h.post("".concat(w,"/check"),{email:n},{withCredentials:!0}))},e)}))).apply(this,arguments)}function k(){return(k=E(g().m(function e(){return g().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,h.post("".concat(w,"/logout"),null,{withCredentials:!0});case 1:e.n=3;break;case 2:e.p=2,e.v;case 3:try{localStorage.setItem("auth-event",String(Date.now()))}catch(e){}return window.dispatchEvent(new Event("auth-changed")),e.a(2,{ok:!0})}},e,null,[[0,2]])}))).apply(this,arguments)}const N={login:function(e){return j.apply(this,arguments)},signup:function(e){return O.apply(this,arguments)},logout:function(){return k.apply(this,arguments)},checkSignup:function(e){return S.apply(this,arguments)}}}},c={};function i(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={exports:{}};return a[e](n,n.exports,i),n.exports}i.m=a,e=[],i.O=(t,n,r,o)=>{if(!n){var a=1/0;for(s=0;s<e.length;s++){for(var[n,r,o]=e[s],c=!0,u=0;u<n.length;u++)(!1&o||a>=o)&&Object.keys(i.O).every(e=>i.O[e](n[u]))?n.splice(u--,1):(c=!1,o<a&&(a=o));if(c){e.splice(s--,1);var l=r();void 0!==l&&(t=l)}}return t}o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[n,r,o]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var a={};t=t||[null,n({}),n([]),n(n)];for(var c=2&r&&e;("object"==typeof c||"function"==typeof c)&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>"static/js/"+e+"-"+{3:"b7f6c4256e55d2c173ac",41:"d729186c867a4a7f5f49",525:"506bbc7da1b98d130181",573:"8fcda455788ea4aa45cd"}[e]+".js",i.miniCssF=e=>"static/css/"+e+"-"+{3:"9c6342b57f1fdf7f0ec5",41:"22612c2a4de21ad2218c",573:"bb6eb6b1c144662d2253"}[e]+".css",i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o="afront:",i.l=(e,t,n,a)=>{if(r[e])r[e].push(t);else{var c,u;if(void 0!==n)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var f=l[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==o+n){c=f;break}}c||(u=!0,(c=document.createElement("script")).charset="utf-8",i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",o+n),c.src=e),r[e]=[t];var m=(t,n)=>{c.onerror=c.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(e=>e(n)),t)return t(n)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=m.bind(null,c.onerror),c.onload=m.bind(null,c.onload),u&&document.head.appendChild(c)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/",(()=>{if("undefined"!=typeof document){var e={792:0};i.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{3:1,41:1,573:1}[t]&&n.push(e[t]=(e=>new Promise((t,n)=>{var r=i.miniCssF(e),o=i.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(c=n[r]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(o===e||o===t))return c}var a=document.getElementsByTagName("style");for(r=0;r<a.length;r++){var c;if((o=(c=a[r]).getAttribute("data-href"))===e||o===t)return c}})(r,o))return t();((e,t,n,r,o)=>{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",i.nc&&(a.nonce=i.nc),a.onerror=a.onload=n=>{if(a.onerror=a.onload=null,"load"===n.type)r();else{var c=n&&n.type,i=n&&n.target&&n.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+": "+i+")");u.name="ChunkLoadError",u.code="CSS_CHUNK_LOAD_FAILED",u.type=c,u.request=i,a.parentNode&&a.parentNode.removeChild(a),o(u)}},a.href=t,document.head.appendChild(a)})(e,o,0,t,n)}))(t).then(()=>{e[t]=0},n=>{throw delete e[t],n}))}}})(),(()=>{var e={792:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var a=i.p+i.u(t),c=new Error;i.l(a,n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,r[1](c)}},"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[a,c,u]=n,l=0;if(a.some(t=>0!==e[t])){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(u)var s=u(i)}for(t&&t(n);l<a.length;l++)o=a[l],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(s)},n=self.webpackChunkafront=self.webpackChunkafront||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var u=i.O(void 0,[99],()=>i(460));u=i.O(u)})(),setTimeout(console.log.bind(console,"%cStop!","color:red;font-size:3rem;font-famaily:-apple-system;font-weight:500;"),0);