From 038ddcd69ec22f752bf991c469627ff3337420d6 Mon Sep 17 00:00:00 2001 From: solufa Date: Sat, 11 May 2024 05:36:52 +0000 Subject: [PATCH] deploy: 554a17576c53db1206c0e26a872b5ed35f10d046 --- 404.html | 2 +- 404/index.html | 2 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../{_app-dda4e5c36b9e8be7.js => _app-16f4bb349a5c3fdb.js} | 2 +- _next/static/chunks/pages/index-00ba9e8e31d70adf.js | 1 + _next/static/chunks/pages/index-50ab7146eb65c9d4.js | 1 - _next/static/css/{0a8595ab7092b201.css => 7219552148d3f68a.css} | 2 +- index.html | 2 +- login/index.html | 2 +- 10 files changed, 8 insertions(+), 8 deletions(-) rename _next/static/{mtdVnmoXOMxaYB2wnZ9YN => EVc97vFk6M2nXoDkQIH8i}/_buildManifest.js (69%) rename _next/static/{mtdVnmoXOMxaYB2wnZ9YN => EVc97vFk6M2nXoDkQIH8i}/_ssgManifest.js (100%) rename _next/static/chunks/pages/{_app-dda4e5c36b9e8be7.js => _app-16f4bb349a5c3fdb.js} (98%) create mode 100644 _next/static/chunks/pages/index-00ba9e8e31d70adf.js delete mode 100644 _next/static/chunks/pages/index-50ab7146eb65c9d4.js rename _next/static/css/{0a8595ab7092b201.css => 7219552148d3f68a.css} (51%) diff --git a/404.html b/404.html index 91a3695..191ba72 100644 --- a/404.html +++ b/404.html @@ -5,4 +5,4 @@ gtag('config', '', { page_path: window.location.pathname, }); -
\ No newline at end of file +
\ No newline at end of file diff --git a/404/index.html b/404/index.html index 91a3695..191ba72 100644 --- a/404/index.html +++ b/404/index.html @@ -5,4 +5,4 @@ gtag('config', '', { page_path: window.location.pathname, }); -
\ No newline at end of file +
\ No newline at end of file diff --git a/_next/static/mtdVnmoXOMxaYB2wnZ9YN/_buildManifest.js b/_next/static/EVc97vFk6M2nXoDkQIH8i/_buildManifest.js similarity index 69% rename from _next/static/mtdVnmoXOMxaYB2wnZ9YN/_buildManifest.js rename to _next/static/EVc97vFk6M2nXoDkQIH8i/_buildManifest.js index b0821fa..7626ec0 100644 --- a/_next/static/mtdVnmoXOMxaYB2wnZ9YN/_buildManifest.js +++ b/_next/static/EVc97vFk6M2nXoDkQIH8i/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":["static/css/0a8595ab7092b201.css","static/chunks/pages/index-50ab7146eb65c9d4.js"],"/_error":["static/chunks/pages/_error-77823ddac6993d35.js"],"/login":["static/css/26beb1e18aaf6efb.css","static/chunks/pages/login-4fe906c15379e946.js"],sortedPages:["/","/_app","/_error","/login"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":["static/css/7219552148d3f68a.css","static/chunks/pages/index-00ba9e8e31d70adf.js"],"/_error":["static/chunks/pages/_error-77823ddac6993d35.js"],"/login":["static/css/26beb1e18aaf6efb.css","static/chunks/pages/login-4fe906c15379e946.js"],sortedPages:["/","/_app","/_error","/login"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/mtdVnmoXOMxaYB2wnZ9YN/_ssgManifest.js b/_next/static/EVc97vFk6M2nXoDkQIH8i/_ssgManifest.js similarity index 100% rename from _next/static/mtdVnmoXOMxaYB2wnZ9YN/_ssgManifest.js rename to _next/static/EVc97vFk6M2nXoDkQIH8i/_ssgManifest.js diff --git a/_next/static/chunks/pages/_app-dda4e5c36b9e8be7.js b/_next/static/chunks/pages/_app-16f4bb349a5c3fdb.js similarity index 98% rename from _next/static/chunks/pages/_app-dda4e5c36b9e8be7.js rename to _next/static/chunks/pages/_app-16f4bb349a5c3fdb.js index 5aa50c9..66e68a3 100644 --- a/_next/static/chunks/pages/_app-dda4e5c36b9e8be7.js +++ b/_next/static/chunks/pages/_app-16f4bb349a5c3fdb.js @@ -107,7 +107,7 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE -*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(8754)._(r(7294)),i=r(572),s=[],o=[],a=!1;function l(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function l(){if(!s){let t=new u(e,r);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!a){let e=r.webpack?r.webpack():r.modules;e&&o.push(t=>{for(let r of e)if(t.includes(r))return l()})}function c(e,t){!function(){l();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let o=n.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),n.default.useMemo(()=>{var t;return o.loading||o.error?n.default.createElement(r.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:s.retry}):o.loaded?n.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return c.preload=()=>l(),c.displayName="LoadableComponent",n.default.forwardRef(c)}(l,e)}function h(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return h(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{h(s).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(a=!0,t());h(o,e).then(r,r)})),window.__NEXT_PRELOADREADY=c.preloadReady;let d=c},1978:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return w}});var n,i=r(5893),s=r(5152),o=r.n(s),a=r(1163),l=r(7294);let u=null!==(n=r(3454).env.NEXT_PUBLIC_GA_ID)&&void 0!==n?n:"",c=e=>{window.gtag("config",u,{page_path:e})};r(9311);var h=r(9442),d=r(753),f=r(8583),p=r(3866),m=r(8537),g=r(1088),v=r(1976),y=r(1318);let b=()=>{let e=(0,a.useRouter)(),[t,r]=(0,f.KO)(h.L),[n,s]=(0,l.useReducer)(()=>!0,!1);return(0,l.useEffect)(()=>(0,d.Aj)((0,g.l)(),async e=>{e?(await e.getIdToken().then(e=>m.x.session.$post({body:{idToken:e}})).catch(v.F),await m.x.private.me.$get().catch(v.F).then(r)):(await m.x.session.$delete(),r(null)),s()}),[r]),(0,l.useEffect)(()=>{if(!n)return;let r=async()=>{e.pathname===p.V.login.$url().pathname&&await e.push(p.V.$url())},i=async()=>{e.pathname===p.V.$url().pathname&&await e.push(p.V.login.$url())};t?r():i()},[e,n,t]),(0,i.jsx)(y.g,{visible:!n})};var w=function(e){let{Component:t,pageProps:n}=e,s=o()(()=>r.e(662).then(r.bind(r,3662)),{loadableGenerated:{webpack:()=>[3662]},ssr:!1}),u=(0,a.useRouter)();return(0,l.useEffect)(()=>{let e=(e,t)=>{let{shallow:r}=t;r||c(e)};return u.events.on("routeChangeComplete",e),()=>{u.events.off("routeChangeComplete",e)}},[u.events]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s,{children:(0,i.jsx)(t,{...n})}),(0,i.jsx)(b,{})]})}},3866:function(e,t,r){"use strict";r.d(t,{D:function(){return i},V:function(){return n}});let n={login:{$url:e=>({pathname:"/login",hash:null==e?void 0:e.hash})},$url:e=>({pathname:"/",hash:null==e?void 0:e.hash})},i={favicon_png:"/magnito/favicon.png",frourio_svg:"/magnito/frourio.svg",images:{odaiba_jpg:"/magnito/images/odaiba.jpg"}}},8537:function(e,t,r){"use strict";let n,i,s;r.d(t,{x:function(){return e0}});var o={};r.r(o),r.d(o,{hasBrowserEnv:function(){return ed},hasStandardBrowserEnv:function(){return ef},hasStandardBrowserWebWorkerEnv:function(){return ep}});var a=r(6230),l=r.n(a);let u=(e,t)=>{for(let r in e)Array.isArray(e[r])?e[r].forEach(e=>t.append(r,e)):null!=e[r]&&t.append(r,e[r]);return t},c=e=>encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,e=>({"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"})[e]),h=e=>Object.keys(e).filter(t=>null!=e[t]).map(t=>Array.isArray(e[t])?e[t].map(e=>`${c(t)}=${c(e)}`).join("&"):`${c(t)}=${c(e[t])}`).join("&"),d="undefined"!=typeof FormData,f=(e,t)=>{let r;if((null==e?void 0:e.body)===void 0)return e;let n={};switch(t){case"FormData":if(d)r=u(e.body,new FormData);else{let t=new(l());r=u(e.body,t),n=t.getHeaders()}break;case"URLSearchParams":r=h(e.body),n["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8";break;case"ArrayBuffer":case"string":case"Blob":case"any":r=e.body;break;default:r=JSON.stringify(e.body),n["Content-Type"]="application/json;charset=utf-8"}return{httpBody:r,...e,headers:{...n,...e.headers}}};function p(e,t){return function(){return e.apply(t,arguments)}}let{toString:m}=Object.prototype,{getPrototypeOf:g}=Object,v=(n=Object.create(null),e=>{let t=m.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),y=e=>(e=e.toLowerCase(),t=>v(t)===e),b=e=>t=>typeof t===e,{isArray:w}=Array,_=b("undefined"),E=y("ArrayBuffer"),I=b("string"),T=b("function"),S=b("number"),O=e=>null!==e&&"object"==typeof e,A=e=>{if("object"!==v(e))return!1;let t=g(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},R=y("Date"),C=y("File"),k=y("Blob"),P=y("FileList"),N=y("URLSearchParams");function L(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e){if("object"!=typeof e&&(e=[e]),w(e))for(n=0,i=e.length;n0;)if(t===(r=n[i]).toLowerCase())return r;return null}let U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,j=e=>!_(e)&&e!==U,x=(i="undefined"!=typeof Uint8Array&&g(Uint8Array),e=>i&&e instanceof i),M=y("HTMLFormElement"),B=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),F=y("RegExp"),V=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};L(r,(r,i)=>{let s;!1!==(s=t(r,i,e))&&(n[i]=s||r)}),Object.defineProperties(e,n)},$="abcdefghijklmnopqrstuvwxyz",z="0123456789",H={DIGIT:z,ALPHA:$,ALPHA_DIGIT:$+$.toUpperCase()+z},W=y("AsyncFunction");var q={isArray:w,isArrayBuffer:E,isBuffer:function(e){return null!==e&&!_(e)&&null!==e.constructor&&!_(e.constructor)&&T(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||T(e.append)&&("formdata"===(t=v(e))||"object"===t&&T(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer)},isString:I,isNumber:S,isBoolean:e=>!0===e||!1===e,isObject:O,isPlainObject:A,isUndefined:_,isDate:R,isFile:C,isBlob:k,isRegExp:F,isFunction:T,isStream:e=>O(e)&&T(e.pipe),isURLSearchParams:N,isTypedArray:x,isFileList:P,forEach:L,merge:function e(){let{caseless:t}=j(this)&&this||{},r={},n=(n,i)=>{let s=t&&D(r,i)||i;A(r[s])&&A(n)?r[s]=e(r[s],n):A(n)?r[s]=e({},n):w(n)?r[s]=n.slice():r[s]=n};for(let e=0,t=arguments.length;e(L(t,(t,n)=>{r&&T(t)?e[n]=p(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,s,o;let a={};if(t=t||{},null==e)return t;do{for(s=(i=Object.getOwnPropertyNames(e)).length;s-- >0;)o=i[s],(!n||n(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=!1!==r&&g(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:v,kindOfTest:y,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(w(e))return e;let t=e.length;if(!S(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:M,hasOwnProperty:B,hasOwnProp:B,reduceDescriptors:V,freezeMethods:e=>{V(e,(t,r)=>{if(T(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(T(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(w(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>Number.isFinite(e=+e)?e:t,findKey:D,global:U,isContextDefined:j,ALPHABET:H,generateString:(e=16,t=H.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&T(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(O(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let i=w(e)?[]:{};return L(e,(e,t)=>{let s=r(e,n+1);_(s)||(i[t]=s)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:W,isThenable:e=>e&&(O(e)||T(e))&&T(e.then)&&T(e.catch)};function G(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}q.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let K=G.prototype,J={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{J[e]={value:e}}),Object.defineProperties(G,J),Object.defineProperty(K,"isAxiosError",{value:!0}),G.from=(e,t,r,n,i,s)=>{let o=Object.create(K);return q.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),G.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};var X=r(1876).Buffer;function Y(e){return q.isPlainObject(e)||q.isArray(e)}function Z(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Q(e,t,r){return e?e.concat(t).map(function(e,t){return e=Z(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let ee=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});var et=function(e,t,r){if(!q.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=q.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])})).metaTokens,i=r.visitor||u,s=r.dots,o=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(!a&&q.isBlob(e))throw new G("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(e)||q.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):X.from(e):e}function u(e,r,i){let a=e;if(e&&!i&&"object"==typeof e){if(q.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var u;if(q.isArray(e)&&(u=e,q.isArray(u)&&!u.some(Y))||(q.isFileList(e)||q.endsWith(r,"[]"))&&(a=q.toArray(e)))return r=Z(r),a.forEach(function(e,n){q.isUndefined(e)||null===e||t.append(!0===o?Q([r],n,s):null===o?r:r+"[]",l(e))}),!1}}return!!Y(e)||(t.append(Q(i,r,s),l(e)),!1)}let c=[],h=Object.assign(ee,{defaultVisitor:u,convertValue:l,isVisitable:Y});if(!q.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!q.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),q.forEach(r,function(r,s){!0===(!(q.isUndefined(r)||null===r)&&i.call(t,r,q.isString(s)?s.trim():s,n,h))&&e(r,n?n.concat(s):[s])}),c.pop()}}(e),t};function er(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function en(e,t){this._pairs=[],e&&et(e,this,t)}let ei=en.prototype;function es(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eo(e,t,r){let n;if(!t)return e;let i=r&&r.encode||es,s=r&&r.serialize;if(n=s?s(t,r):q.isURLSearchParams(t)?t.toString():new en(t,r).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ei.append=function(e,t){this._pairs.push([e,t])},ei.toString=function(e){let t=e?function(t){return e.call(this,t,er)}:er;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ea{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(t){null!==t&&e(t)})}}var el={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eu="undefined"!=typeof URLSearchParams?URLSearchParams:en,ec="undefined"!=typeof FormData?FormData:null,eh="undefined"!=typeof Blob?Blob:null;let ed="undefined"!=typeof window&&"undefined"!=typeof document,ef=(s="undefined"!=typeof navigator&&navigator.product,ed&&0>["ReactNative","NativeScript","NS"].indexOf(s)),ep="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var em={...o,isBrowser:!0,classes:{URLSearchParams:eu,FormData:ec,Blob:eh},protocols:["http","https","file","blob","url","data"]},eg=function(e){if(q.isFormData(e)&&q.isFunction(e.entries)){let t={};return q.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){let s=t[i++];if("__proto__"===s)return!0;let o=Number.isFinite(+s),a=i>=t.length;return(s=!s&&q.isArray(n)?n.length:s,a)?q.hasOwnProp(n,s)?n[s]=[n[s],r]:n[s]=r:(n[s]&&q.isObject(n[s])||(n[s]=[]),e(t,r,n[s],i)&&q.isArray(n[s])&&(n[s]=function(e){let t,r;let n={},i=Object.keys(e),s=i.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let ev={transitional:el,adapter:["xhr","http"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,s=q.isObject(e);if(s&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return i?JSON.stringify(eg(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1){var o,a;return(o=e,a=this.formSerializer,et(o,new em.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return em.isNode&&q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))).toString()}if((r=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return et(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||i?(t.setContentType("application/json",!1),function(e,t,r){if(q.isString(e))try{return(0,JSON.parse)(e),q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||ev.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&q.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw G.from(e,G.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:em.classes.FormData,Blob:em.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{ev.headers[e]={}});let ey=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eb=e=>{let t,r,n;let i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&ey[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)}),i};let ew=Symbol("internals");function e_(e){return e&&String(e).trim().toLowerCase()}function eE(e){return!1===e||null==e?e:q.isArray(e)?e.map(eE):String(e)}let eI=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eT(e,t,r,n,i){if(q.isFunction(n))return n.call(this,t,r);if(i&&(t=r),q.isString(t)){if(q.isString(n))return -1!==t.indexOf(n);if(q.isRegExp(n))return n.test(t)}}class eS{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=e_(t);if(!i)throw Error("header name must be a non-empty string");let s=q.findKey(n,i);s&&void 0!==n[s]&&!0!==r&&(void 0!==r||!1===n[s])||(n[s||t]=eE(e))}let s=(e,t)=>q.forEach(e,(e,r)=>i(e,r,t));return q.isPlainObject(e)||e instanceof this.constructor?s(e,t):q.isString(e)&&(e=e.trim())&&!eI(e)?s(eb(e),t):null!=e&&i(t,e,r),this}get(e,t){if(e=e_(e)){let r=q.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(q.isFunction(t))return t.call(this,e,r);if(q.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=e_(e)){let r=q.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eT(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=e_(e)){let i=q.findKey(r,e);i&&(!t||eT(r,r[i],i,t))&&(delete r[i],n=!0)}}return q.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eT(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return q.forEach(this,(n,i)=>{let s=q.findKey(r,i);if(s){t[s]=eE(n),delete t[i];return}let o=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();o!==i&&delete t[i],t[o]=eE(n),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return q.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&q.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[ew]=this[ew]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=e_(e);t[n]||(!function(e,t){let r=q.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return q.isArray(e)?e.forEach(n):n(e),this}}function eO(e,t){let r=this||ev,n=t||r,i=eS.from(n.headers),s=n.data;return q.forEach(e,function(e){s=e.call(r,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function eA(e){return!!(e&&e.__CANCEL__)}function eR(e,t,r){G.call(this,null==e?"canceled":e,G.ERR_CANCELED,t,r),this.name="CanceledError"}eS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.reduceDescriptors(eS.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),q.freezeMethods(eS),q.inherits(eR,G,{__CANCEL__:!0});var eC=em.hasStandardBrowserEnv?{write(e,t,r,n,i,s){let o=[e+"="+encodeURIComponent(t)];q.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),q.isString(n)&&o.push("path="+n),q.isString(i)&&o.push("domain="+i),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ek(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}var eP=em.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=q.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},eN=function(e,t){let r;let n=Array(e=e||10),i=Array(e),s=0,o=0;return t=void 0!==t?t:1e3,function(a){let l=Date.now(),u=i[o];r||(r=l),n[s]=a,i[s]=l;let c=o,h=0;for(;c!==s;)h+=n[c++],c%=e;if((s=(s+1)%e)===o&&(o=(o+1)%e),l-r{let s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-r,l=n(a);r=s;let u={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&s<=o?(o-s)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}let eD={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,s=e.data,o=eS.from(e.headers).normalize(),{responseType:a,withXSRFToken:l}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}if(q.isFormData(s)){if(em.hasStandardBrowserEnv||em.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(i=o.getContentType())){let[e,...t]=i?i.split(";").map(e=>e.trim()).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}}let c=new XMLHttpRequest;if(e.auth){let t=e.auth.username||"",r=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+r))}let h=ek(e.baseURL,e.url);function d(){if(!c)return;let n=eS.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}(function(e){t(e),u()},function(e){r(e),u()},{data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),eo(h,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(r(new G("Request aborted",G.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new G("Network Error",G.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||el;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new G(t,n.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,c)),c=null},em.hasStandardBrowserEnv&&(l&&q.isFunction(l)&&(l=l(e)),l||!1!==l&&eP(h))){let t=e.xsrfHeaderName&&e.xsrfCookieName&&eC.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===s&&o.setContentType(null),"setRequestHeader"in c&&q.forEach(o.toJSON(),function(e,t){c.setRequestHeader(t,e)}),q.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&"json"!==a&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",eL(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",eL(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=t=>{c&&(r(!t||t.type?new eR(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));let f=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(h);if(f&&-1===em.protocols.indexOf(f)){r(new G("Unsupported protocol "+f+":",G.ERR_BAD_REQUEST,e));return}c.send(s||null)})}};q.forEach(eD,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let eU=e=>`- ${e}`,ej=e=>q.isFunction(e)||null===e||!1===e;var ex=e=>{let t,r;let{length:n}=e=q.isArray(e)?e:[e],i={};for(let s=0;s`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new G("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(eU).join("\n"):" "+eU(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function eM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eR(null,e)}function eB(e){return eM(e),e.headers=eS.from(e.headers),e.data=eO.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ex(e.adapter||ev.adapter)(e).then(function(t){return eM(e),t.data=eO.call(e,e.transformResponse,t),t.headers=eS.from(t.headers),t},function(t){return!eA(t)&&(eM(e),t&&t.response&&(t.response.data=eO.call(e,e.transformResponse,t.response),t.response.headers=eS.from(t.response.headers))),Promise.reject(t)})}let eF=e=>e instanceof eS?{...e}:e;function eV(e,t){t=t||{};let r={};function n(e,t,r){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:r},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function i(e,t,r){return q.isUndefined(t)?q.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function s(e,t){if(!q.isUndefined(t))return n(void 0,t)}function o(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,s){return s in t?n(r,i):s in e?n(void 0,r):void 0}let l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(e,t)=>i(eF(e),eF(t),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),function(n){let s=l[n]||i,o=s(e[n],t[n],n);q.isUndefined(o)&&s!==a||(r[n]=o)}),r}let e$="1.6.8",ez={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ez[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let eH={};ez.transitional=function(e,t,r){function n(e,t){return"[Axios v"+e$+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,s)=>{if(!1===e)throw new G(n(i," has been removed"+(t?" in "+t:"")),G.ERR_DEPRECATED);return t&&!eH[i]&&(eH[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,s)}};var eW={assertOptions:function(e,t,r){if("object"!=typeof e)throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let s=n[i],o=t[s];if(o){let t=e[s],r=void 0===t||o(t,s,e);if(!0!==r)throw new G("option "+s+" must be "+r,G.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new G("Unknown option "+s,G.ERR_BAD_OPTION)}},validators:ez};let eq=eW.validators;class eG{constructor(e){this.defaults=e,this.interceptors={request:new ea,response:new ea}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:s,headers:o}=t=eV(this.defaults,t);void 0!==i&&eW.assertOptions(i,{silentJSONParsing:eq.transitional(eq.boolean),forcedJSONParsing:eq.transitional(eq.boolean),clarifyTimeoutError:eq.transitional(eq.boolean)},!1),null!=s&&(q.isFunction(s)?t.paramsSerializer={serialize:s}:eW.assertOptions(s,{encode:eq.function,serialize:eq.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&q.merge(o.common,o[t.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=eS.concat(a,o);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let h=0;if(!u){let e=[eB.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,c),n=e.length,r=Promise.resolve(t);h{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new eR(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new eK(function(t){e=t}),cancel:e}}}let eJ={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(eJ).forEach(([e,t])=>{eJ[t]=e});let eX=function e(t){let r=new eG(t),n=p(eG.prototype.request,r);return q.extend(n,eG.prototype,r,{allOwnKeys:!0}),q.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eV(t,r))},n}(ev);eX.Axios=eG,eX.CanceledError=eR,eX.CancelToken=eK,eX.isCancel=eA,eX.VERSION=e$,eX.toFormData=et,eX.AxiosError=G,eX.Cancel=eX.CanceledError,eX.all=function(e){return Promise.all(e)},eX.spread=function(e){return function(t){return e.apply(null,t)}},eX.isAxiosError=function(e){return q.isObject(e)&&!0===e.isAxiosError},eX.mergeConfig=eV,eX.AxiosHeaders=eS,eX.formToJSON=e=>eg(q.isHTMLForm(e)?new FormData(e):e),eX.getAdapter=ex,eX.HttpStatusCode=eJ,eX.default=eX;var eY=eX;r(8872);let eZ=e=>encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,e=>({"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"})[e]),eQ=e=>Object.keys(e).filter(t=>null!=e[t]).map(t=>Array.isArray(e[t])?e[t].map(e=>`${eZ(t)}=${eZ(e)}`).join("&"):`${eZ(t)}=${eZ(e[t])}`).join("&"),e0=(e=>{let{baseURL:t,fetch:r}=e,n=(void 0===t?"":t).replace(/\/$/,""),i="/health",s="/private",o="/private/me",a="/private/tasks",l="/private/tasks/di",u="/session",c="POST",h="DELETE",d="PATCH";return{health:{get:e=>r(n,i,"GET",e).json(),$get:e=>r(n,i,"GET",e).json().then(e=>e.body),$path:()=>"".concat(n).concat(i)},private:{me:{get:e=>r(n,o,"GET",e).json(),$get:e=>r(n,o,"GET",e).json().then(e=>e.body),$path:()=>"".concat(n).concat(o)},tasks:{_taskId:e=>{let t="".concat(a,"/").concat(e);return{patch:e=>r(n,t,d,e).json(),$patch:e=>r(n,t,d,e).json().then(e=>e.body),delete:e=>r(n,t,h,e).json(),$delete:e=>r(n,t,h,e).json().then(e=>e.body),$path:()=>"".concat(n).concat(t)}},di:{get:e=>r(n,l,"GET",e).json(),$get:e=>r(n,l,"GET",e).json().then(e=>e.body),$path:()=>"".concat(n).concat(l)},get:e=>r(n,a,"GET",e).json(),$get:e=>r(n,a,"GET",e).json().then(e=>e.body),post:e=>r(n,a,c,e,"FormData").json(),$post:e=>r(n,a,c,e,"FormData").json().then(e=>e.body),patch:e=>r(n,a,d,e).json(),$patch:e=>r(n,a,d,e).json().then(e=>e.body),delete:e=>r(n,a,h,e).json(),$delete:e=>r(n,a,h,e).json().then(e=>e.body),$path:e=>"".concat(n).concat(a).concat(e&&e.query?"?".concat(eQ(e.query)):"")},get:e=>r(n,s,"GET",e).text(),$get:e=>r(n,s,"GET",e).text().then(e=>e.body),$path:()=>"".concat(n).concat(s)},session:{post:e=>r(n,u,c,e).json(),$post:e=>r(n,u,c,e).json().then(e=>e.body),delete:e=>r(n,u,h,e).json(),$delete:e=>r(n,u,h,e).json().then(e=>e.body),$path:()=>"".concat(n).concat(u)},get:e=>r(n,"","GET",e).text(),$get:e=>r(n,"","GET",e).text().then(e=>e.body),$path:()=>"".concat(n)}})(((e=eY,t)=>({baseURL:(null==t?void 0:t.baseURL)||e.defaults.baseURL,fetch(r,n,i,s,o){let a=a=>async()=>{var l;let u=f(s,o),c=await e.request({paramsSerializer:e=>h(e),...t,url:n,baseURL:r,method:i,responseType:a,...null==u?void 0:u.config,data:null==u?void 0:u.httpBody,params:null==u?void 0:u.query,headers:{...null==t?void 0:t.headers,...null===(l=null==u?void 0:u.config)||void 0===l?void 0:l.headers,...null==u?void 0:u.headers}}),{status:d,headers:p,data:m}=c;return{status:d,headers:p,body:m,originalResponse:c}};return{send:a(),json:a("json"),text:a("text"),arrayBuffer:a("arraybuffer"),blob:a("blob"),formData:a()}}}))(eY.create({withCredentials:!0})))},1088:function(e,t,r){"use strict";r.d(t,{l:function(){return o}});var n=r(5816);/** +*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(8754)._(r(7294)),i=r(572),s=[],o=[],a=!1;function l(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function l(){if(!s){let t=new u(e,r);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!a){let e=r.webpack?r.webpack():r.modules;e&&o.push(t=>{for(let r of e)if(t.includes(r))return l()})}function c(e,t){!function(){l();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let o=n.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),n.default.useMemo(()=>{var t;return o.loading||o.error?n.default.createElement(r.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:s.retry}):o.loaded?n.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return c.preload=()=>l(),c.displayName="LoadableComponent",n.default.forwardRef(c)}(l,e)}function h(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return h(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{h(s).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(a=!0,t());h(o,e).then(r,r)})),window.__NEXT_PRELOADREADY=c.preloadReady;let d=c},1978:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return w}});var n,i=r(5893),s=r(5152),o=r.n(s),a=r(1163),l=r(7294);let u=null!==(n=r(3454).env.NEXT_PUBLIC_GA_ID)&&void 0!==n?n:"",c=e=>{window.gtag("config",u,{page_path:e})};r(9311);var h=r(9442),d=r(753),f=r(8583),p=r(3866),m=r(8537),g=r(1088),v=r(1976),y=r(1318);let b=()=>{let e=(0,a.useRouter)(),[t,r]=(0,f.KO)(h.L),[n,s]=(0,l.useReducer)(()=>!0,!1);return(0,l.useEffect)(()=>(0,d.Aj)((0,g.l)(),async e=>{e?(await e.getIdToken().then(e=>m.x.session.$post({body:{idToken:e}})).catch(v.F),await m.x.private.me.$get().catch(v.F).then(r)):(await m.x.session.$delete(),r(null)),s()}),[r]),(0,l.useEffect)(()=>{if(!n)return;let r=async()=>{e.pathname===p.V.login.$url().pathname&&await e.push(p.V.$url())},i=async()=>{e.pathname===p.V.$url().pathname&&await e.push(p.V.login.$url())};t?r():i()},[e,n,t]),(0,i.jsx)(y.g,{visible:!n})};var w=function(e){let{Component:t,pageProps:n}=e,s=o()(()=>r.e(662).then(r.bind(r,3662)),{loadableGenerated:{webpack:()=>[3662]},ssr:!1}),u=(0,a.useRouter)();return(0,l.useEffect)(()=>{let e=(e,t)=>{let{shallow:r}=t;r||c(e)};return u.events.on("routeChangeComplete",e),()=>{u.events.off("routeChangeComplete",e)}},[u.events]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s,{children:(0,i.jsx)(t,{...n})}),(0,i.jsx)(b,{})]})}},3866:function(e,t,r){"use strict";r.d(t,{D:function(){return i},V:function(){return n}});let n={login:{$url:e=>({pathname:"/login",hash:null==e?void 0:e.hash})},$url:e=>({pathname:"/",hash:null==e?void 0:e.hash})},i={favicon_png:"/magnito/favicon.png",frourio_svg:"/magnito/frourio.svg",images:{odaiba_jpg:"/magnito/images/odaiba.jpg"}}},8537:function(e,t,r){"use strict";let n,i,s;r.d(t,{x:function(){return e0}});var o={};r.r(o),r.d(o,{hasBrowserEnv:function(){return ed},hasStandardBrowserEnv:function(){return ef},hasStandardBrowserWebWorkerEnv:function(){return ep}});var a=r(6230),l=r.n(a);let u=(e,t)=>{for(let r in e)Array.isArray(e[r])?e[r].forEach(e=>t.append(r,e)):null!=e[r]&&t.append(r,e[r]);return t},c=e=>encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,e=>({"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"})[e]),h=e=>Object.keys(e).filter(t=>null!=e[t]).map(t=>Array.isArray(e[t])?e[t].map(e=>`${c(t)}=${c(e)}`).join("&"):`${c(t)}=${c(e[t])}`).join("&"),d="undefined"!=typeof FormData,f=(e,t)=>{let r;if((null==e?void 0:e.body)===void 0)return e;let n={};switch(t){case"FormData":if(d)r=u(e.body,new FormData);else{let t=new(l());r=u(e.body,t),n=t.getHeaders()}break;case"URLSearchParams":r=h(e.body),n["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8";break;case"ArrayBuffer":case"string":case"Blob":case"any":r=e.body;break;default:r=JSON.stringify(e.body),n["Content-Type"]="application/json;charset=utf-8"}return{httpBody:r,...e,headers:{...n,...e.headers}}};function p(e,t){return function(){return e.apply(t,arguments)}}let{toString:m}=Object.prototype,{getPrototypeOf:g}=Object,v=(n=Object.create(null),e=>{let t=m.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),y=e=>(e=e.toLowerCase(),t=>v(t)===e),b=e=>t=>typeof t===e,{isArray:w}=Array,_=b("undefined"),E=y("ArrayBuffer"),I=b("string"),T=b("function"),S=b("number"),O=e=>null!==e&&"object"==typeof e,A=e=>{if("object"!==v(e))return!1;let t=g(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},R=y("Date"),C=y("File"),k=y("Blob"),P=y("FileList"),N=y("URLSearchParams");function L(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e){if("object"!=typeof e&&(e=[e]),w(e))for(n=0,i=e.length;n0;)if(t===(r=n[i]).toLowerCase())return r;return null}let U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,j=e=>!_(e)&&e!==U,x=(i="undefined"!=typeof Uint8Array&&g(Uint8Array),e=>i&&e instanceof i),M=y("HTMLFormElement"),B=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),F=y("RegExp"),V=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};L(r,(r,i)=>{let s;!1!==(s=t(r,i,e))&&(n[i]=s||r)}),Object.defineProperties(e,n)},$="abcdefghijklmnopqrstuvwxyz",z="0123456789",H={DIGIT:z,ALPHA:$,ALPHA_DIGIT:$+$.toUpperCase()+z},W=y("AsyncFunction");var q={isArray:w,isArrayBuffer:E,isBuffer:function(e){return null!==e&&!_(e)&&null!==e.constructor&&!_(e.constructor)&&T(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||T(e.append)&&("formdata"===(t=v(e))||"object"===t&&T(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer)},isString:I,isNumber:S,isBoolean:e=>!0===e||!1===e,isObject:O,isPlainObject:A,isUndefined:_,isDate:R,isFile:C,isBlob:k,isRegExp:F,isFunction:T,isStream:e=>O(e)&&T(e.pipe),isURLSearchParams:N,isTypedArray:x,isFileList:P,forEach:L,merge:function e(){let{caseless:t}=j(this)&&this||{},r={},n=(n,i)=>{let s=t&&D(r,i)||i;A(r[s])&&A(n)?r[s]=e(r[s],n):A(n)?r[s]=e({},n):w(n)?r[s]=n.slice():r[s]=n};for(let e=0,t=arguments.length;e(L(t,(t,n)=>{r&&T(t)?e[n]=p(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,s,o;let a={};if(t=t||{},null==e)return t;do{for(s=(i=Object.getOwnPropertyNames(e)).length;s-- >0;)o=i[s],(!n||n(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=!1!==r&&g(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:v,kindOfTest:y,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(w(e))return e;let t=e.length;if(!S(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:M,hasOwnProperty:B,hasOwnProp:B,reduceDescriptors:V,freezeMethods:e=>{V(e,(t,r)=>{if(T(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(T(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(w(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>Number.isFinite(e=+e)?e:t,findKey:D,global:U,isContextDefined:j,ALPHABET:H,generateString:(e=16,t=H.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&T(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(O(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let i=w(e)?[]:{};return L(e,(e,t)=>{let s=r(e,n+1);_(s)||(i[t]=s)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:W,isThenable:e=>e&&(O(e)||T(e))&&T(e.then)&&T(e.catch)};function G(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}q.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let K=G.prototype,J={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{J[e]={value:e}}),Object.defineProperties(G,J),Object.defineProperty(K,"isAxiosError",{value:!0}),G.from=(e,t,r,n,i,s)=>{let o=Object.create(K);return q.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),G.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};var X=r(1876).Buffer;function Y(e){return q.isPlainObject(e)||q.isArray(e)}function Z(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Q(e,t,r){return e?e.concat(t).map(function(e,t){return e=Z(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let ee=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});var et=function(e,t,r){if(!q.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=q.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])})).metaTokens,i=r.visitor||u,s=r.dots,o=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(!a&&q.isBlob(e))throw new G("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(e)||q.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):X.from(e):e}function u(e,r,i){let a=e;if(e&&!i&&"object"==typeof e){if(q.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var u;if(q.isArray(e)&&(u=e,q.isArray(u)&&!u.some(Y))||(q.isFileList(e)||q.endsWith(r,"[]"))&&(a=q.toArray(e)))return r=Z(r),a.forEach(function(e,n){q.isUndefined(e)||null===e||t.append(!0===o?Q([r],n,s):null===o?r:r+"[]",l(e))}),!1}}return!!Y(e)||(t.append(Q(i,r,s),l(e)),!1)}let c=[],h=Object.assign(ee,{defaultVisitor:u,convertValue:l,isVisitable:Y});if(!q.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!q.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),q.forEach(r,function(r,s){!0===(!(q.isUndefined(r)||null===r)&&i.call(t,r,q.isString(s)?s.trim():s,n,h))&&e(r,n?n.concat(s):[s])}),c.pop()}}(e),t};function er(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function en(e,t){this._pairs=[],e&&et(e,this,t)}let ei=en.prototype;function es(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eo(e,t,r){let n;if(!t)return e;let i=r&&r.encode||es,s=r&&r.serialize;if(n=s?s(t,r):q.isURLSearchParams(t)?t.toString():new en(t,r).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ei.append=function(e,t){this._pairs.push([e,t])},ei.toString=function(e){let t=e?function(t){return e.call(this,t,er)}:er;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ea{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(t){null!==t&&e(t)})}}var el={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eu="undefined"!=typeof URLSearchParams?URLSearchParams:en,ec="undefined"!=typeof FormData?FormData:null,eh="undefined"!=typeof Blob?Blob:null;let ed="undefined"!=typeof window&&"undefined"!=typeof document,ef=(s="undefined"!=typeof navigator&&navigator.product,ed&&0>["ReactNative","NativeScript","NS"].indexOf(s)),ep="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var em={...o,isBrowser:!0,classes:{URLSearchParams:eu,FormData:ec,Blob:eh},protocols:["http","https","file","blob","url","data"]},eg=function(e){if(q.isFormData(e)&&q.isFunction(e.entries)){let t={};return q.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){let s=t[i++];if("__proto__"===s)return!0;let o=Number.isFinite(+s),a=i>=t.length;return(s=!s&&q.isArray(n)?n.length:s,a)?q.hasOwnProp(n,s)?n[s]=[n[s],r]:n[s]=r:(n[s]&&q.isObject(n[s])||(n[s]=[]),e(t,r,n[s],i)&&q.isArray(n[s])&&(n[s]=function(e){let t,r;let n={},i=Object.keys(e),s=i.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let ev={transitional:el,adapter:["xhr","http"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,s=q.isObject(e);if(s&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return i?JSON.stringify(eg(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1){var o,a;return(o=e,a=this.formSerializer,et(o,new em.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return em.isNode&&q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))).toString()}if((r=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return et(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||i?(t.setContentType("application/json",!1),function(e,t,r){if(q.isString(e))try{return(0,JSON.parse)(e),q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||ev.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&q.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw G.from(e,G.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:em.classes.FormData,Blob:em.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{ev.headers[e]={}});let ey=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eb=e=>{let t,r,n;let i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&ey[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)}),i};let ew=Symbol("internals");function e_(e){return e&&String(e).trim().toLowerCase()}function eE(e){return!1===e||null==e?e:q.isArray(e)?e.map(eE):String(e)}let eI=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eT(e,t,r,n,i){if(q.isFunction(n))return n.call(this,t,r);if(i&&(t=r),q.isString(t)){if(q.isString(n))return -1!==t.indexOf(n);if(q.isRegExp(n))return n.test(t)}}class eS{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=e_(t);if(!i)throw Error("header name must be a non-empty string");let s=q.findKey(n,i);s&&void 0!==n[s]&&!0!==r&&(void 0!==r||!1===n[s])||(n[s||t]=eE(e))}let s=(e,t)=>q.forEach(e,(e,r)=>i(e,r,t));return q.isPlainObject(e)||e instanceof this.constructor?s(e,t):q.isString(e)&&(e=e.trim())&&!eI(e)?s(eb(e),t):null!=e&&i(t,e,r),this}get(e,t){if(e=e_(e)){let r=q.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(q.isFunction(t))return t.call(this,e,r);if(q.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=e_(e)){let r=q.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eT(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=e_(e)){let i=q.findKey(r,e);i&&(!t||eT(r,r[i],i,t))&&(delete r[i],n=!0)}}return q.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eT(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return q.forEach(this,(n,i)=>{let s=q.findKey(r,i);if(s){t[s]=eE(n),delete t[i];return}let o=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();o!==i&&delete t[i],t[o]=eE(n),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return q.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&q.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[ew]=this[ew]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=e_(e);t[n]||(!function(e,t){let r=q.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return q.isArray(e)?e.forEach(n):n(e),this}}function eO(e,t){let r=this||ev,n=t||r,i=eS.from(n.headers),s=n.data;return q.forEach(e,function(e){s=e.call(r,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function eA(e){return!!(e&&e.__CANCEL__)}function eR(e,t,r){G.call(this,null==e?"canceled":e,G.ERR_CANCELED,t,r),this.name="CanceledError"}eS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.reduceDescriptors(eS.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),q.freezeMethods(eS),q.inherits(eR,G,{__CANCEL__:!0});var eC=em.hasStandardBrowserEnv?{write(e,t,r,n,i,s){let o=[e+"="+encodeURIComponent(t)];q.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),q.isString(n)&&o.push("path="+n),q.isString(i)&&o.push("domain="+i),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ek(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}var eP=em.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=q.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},eN=function(e,t){let r;let n=Array(e=e||10),i=Array(e),s=0,o=0;return t=void 0!==t?t:1e3,function(a){let l=Date.now(),u=i[o];r||(r=l),n[s]=a,i[s]=l;let c=o,h=0;for(;c!==s;)h+=n[c++],c%=e;if((s=(s+1)%e)===o&&(o=(o+1)%e),l-r{let s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-r,l=n(a);r=s;let u={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&s<=o?(o-s)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}let eD={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,s=e.data,o=eS.from(e.headers).normalize(),{responseType:a,withXSRFToken:l}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}if(q.isFormData(s)){if(em.hasStandardBrowserEnv||em.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(i=o.getContentType())){let[e,...t]=i?i.split(";").map(e=>e.trim()).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}}let c=new XMLHttpRequest;if(e.auth){let t=e.auth.username||"",r=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+r))}let h=ek(e.baseURL,e.url);function d(){if(!c)return;let n=eS.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}(function(e){t(e),u()},function(e){r(e),u()},{data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),eo(h,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(r(new G("Request aborted",G.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new G("Network Error",G.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||el;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new G(t,n.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,c)),c=null},em.hasStandardBrowserEnv&&(l&&q.isFunction(l)&&(l=l(e)),l||!1!==l&&eP(h))){let t=e.xsrfHeaderName&&e.xsrfCookieName&&eC.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===s&&o.setContentType(null),"setRequestHeader"in c&&q.forEach(o.toJSON(),function(e,t){c.setRequestHeader(t,e)}),q.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&"json"!==a&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",eL(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",eL(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=t=>{c&&(r(!t||t.type?new eR(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));let f=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(h);if(f&&-1===em.protocols.indexOf(f)){r(new G("Unsupported protocol "+f+":",G.ERR_BAD_REQUEST,e));return}c.send(s||null)})}};q.forEach(eD,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let eU=e=>`- ${e}`,ej=e=>q.isFunction(e)||null===e||!1===e;var ex=e=>{let t,r;let{length:n}=e=q.isArray(e)?e:[e],i={};for(let s=0;s`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new G("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(eU).join("\n"):" "+eU(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function eM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eR(null,e)}function eB(e){return eM(e),e.headers=eS.from(e.headers),e.data=eO.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ex(e.adapter||ev.adapter)(e).then(function(t){return eM(e),t.data=eO.call(e,e.transformResponse,t),t.headers=eS.from(t.headers),t},function(t){return!eA(t)&&(eM(e),t&&t.response&&(t.response.data=eO.call(e,e.transformResponse,t.response),t.response.headers=eS.from(t.response.headers))),Promise.reject(t)})}let eF=e=>e instanceof eS?{...e}:e;function eV(e,t){t=t||{};let r={};function n(e,t,r){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:r},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function i(e,t,r){return q.isUndefined(t)?q.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function s(e,t){if(!q.isUndefined(t))return n(void 0,t)}function o(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,s){return s in t?n(r,i):s in e?n(void 0,r):void 0}let l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(e,t)=>i(eF(e),eF(t),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),function(n){let s=l[n]||i,o=s(e[n],t[n],n);q.isUndefined(o)&&s!==a||(r[n]=o)}),r}let e$="1.6.8",ez={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ez[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let eH={};ez.transitional=function(e,t,r){function n(e,t){return"[Axios v"+e$+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,s)=>{if(!1===e)throw new G(n(i," has been removed"+(t?" in "+t:"")),G.ERR_DEPRECATED);return t&&!eH[i]&&(eH[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,s)}};var eW={assertOptions:function(e,t,r){if("object"!=typeof e)throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let s=n[i],o=t[s];if(o){let t=e[s],r=void 0===t||o(t,s,e);if(!0!==r)throw new G("option "+s+" must be "+r,G.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new G("Unknown option "+s,G.ERR_BAD_OPTION)}},validators:ez};let eq=eW.validators;class eG{constructor(e){this.defaults=e,this.interceptors={request:new ea,response:new ea}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:s,headers:o}=t=eV(this.defaults,t);void 0!==i&&eW.assertOptions(i,{silentJSONParsing:eq.transitional(eq.boolean),forcedJSONParsing:eq.transitional(eq.boolean),clarifyTimeoutError:eq.transitional(eq.boolean)},!1),null!=s&&(q.isFunction(s)?t.paramsSerializer={serialize:s}:eW.assertOptions(s,{encode:eq.function,serialize:eq.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&q.merge(o.common,o[t.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=eS.concat(a,o);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let h=0;if(!u){let e=[eB.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,c),n=e.length,r=Promise.resolve(t);h{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new eR(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new eK(function(t){e=t}),cancel:e}}}let eJ={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(eJ).forEach(([e,t])=>{eJ[t]=e});let eX=function e(t){let r=new eG(t),n=p(eG.prototype.request,r);return q.extend(n,eG.prototype,r,{allOwnKeys:!0}),q.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eV(t,r))},n}(ev);eX.Axios=eG,eX.CanceledError=eR,eX.CancelToken=eK,eX.isCancel=eA,eX.VERSION=e$,eX.toFormData=et,eX.AxiosError=G,eX.Cancel=eX.CanceledError,eX.all=function(e){return Promise.all(e)},eX.spread=function(e){return function(t){return e.apply(null,t)}},eX.isAxiosError=function(e){return q.isObject(e)&&!0===e.isAxiosError},eX.mergeConfig=eV,eX.AxiosHeaders=eS,eX.formToJSON=e=>eg(q.isHTMLForm(e)?new FormData(e):e),eX.getAdapter=ex,eX.HttpStatusCode=eJ,eX.default=eX;var eY=eX;r(8872);let eZ=e=>encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,e=>({"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"})[e]),eQ=e=>Object.keys(e).filter(t=>null!=e[t]).map(t=>Array.isArray(e[t])?e[t].map(e=>`${eZ(t)}=${eZ(e)}`).join("&"):`${eZ(t)}=${eZ(e[t])}`).join("&"),e0=(e=>{let{baseURL:t,fetch:r}=e,n=(void 0===t?"":t).replace(/\/$/,""),i="/health",s="/private",o="/private/me",a="/private/tasks",l="/private/tasks/di",u="/session",c="POST",h="DELETE",d="PATCH";return{health:{get:e=>r(n,i,"GET",e).json(),$get:e=>r(n,i,"GET",e).json().then(e=>e.body),$path:()=>"".concat(n).concat(i)},private:{me:{get:e=>r(n,o,"GET",e).json(),$get:e=>r(n,o,"GET",e).json().then(e=>e.body),$path:()=>"".concat(n).concat(o)},tasks:{_taskId:e=>{let t="".concat(a,"/").concat(e);return{patch:e=>r(n,t,d,e).json(),$patch:e=>r(n,t,d,e).json().then(e=>e.body),delete:e=>r(n,t,h,e).json(),$delete:e=>r(n,t,h,e).json().then(e=>e.body),$path:()=>"".concat(n).concat(t)}},di:{get:e=>r(n,l,"GET",e).json(),$get:e=>r(n,l,"GET",e).json().then(e=>e.body),$path:()=>"".concat(n).concat(l)},get:e=>r(n,a,"GET",e).json(),$get:e=>r(n,a,"GET",e).json().then(e=>e.body),post:e=>r(n,a,c,e).json(),$post:e=>r(n,a,c,e).json().then(e=>e.body),patch:e=>r(n,a,d,e).json(),$patch:e=>r(n,a,d,e).json().then(e=>e.body),delete:e=>r(n,a,h,e).json(),$delete:e=>r(n,a,h,e).json().then(e=>e.body),$path:e=>"".concat(n).concat(a).concat(e&&e.query?"?".concat(eQ(e.query)):"")},get:e=>r(n,s,"GET",e).text(),$get:e=>r(n,s,"GET",e).text().then(e=>e.body),$path:()=>"".concat(n).concat(s)},session:{post:e=>r(n,u,c,e).json(),$post:e=>r(n,u,c,e).json().then(e=>e.body),delete:e=>r(n,u,h,e).json(),$delete:e=>r(n,u,h,e).json().then(e=>e.body),$path:()=>"".concat(n).concat(u)},get:e=>r(n,"","GET",e).text(),$get:e=>r(n,"","GET",e).text().then(e=>e.body),$path:()=>"".concat(n)}})(((e=eY,t)=>({baseURL:(null==t?void 0:t.baseURL)||e.defaults.baseURL,fetch(r,n,i,s,o){let a=a=>async()=>{var l;let u=f(s,o),c=await e.request({paramsSerializer:e=>h(e),...t,url:n,baseURL:r,method:i,responseType:a,...null==u?void 0:u.config,data:null==u?void 0:u.httpBody,params:null==u?void 0:u.query,headers:{...null==t?void 0:t.headers,...null===(l=null==u?void 0:u.config)||void 0===l?void 0:l.headers,...null==u?void 0:u.headers}}),{status:d,headers:p,data:m}=c;return{status:d,headers:p,body:m,originalResponse:c}};return{send:a(),json:a("json"),text:a("text"),arrayBuffer:a("arraybuffer"),blob:a("blob"),formData:a()}}}))(eY.create({withCredentials:!0})))},1088:function(e,t,r){"use strict";r.d(t,{l:function(){return o}});var n=r(5816);/** * @license * Copyright 2020 Google LLC * diff --git a/_next/static/chunks/pages/index-00ba9e8e31d70adf.js b/_next/static/chunks/pages/index-00ba9e8e31d70adf.js new file mode 100644 index 0000000..2466218 --- /dev/null +++ b/_next/static/chunks/pages/index-00ba9e8e31d70adf.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{9208:function(e,a,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(7302)}])},7302:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return N}});var t=s(5893),n=s(1318),i=s(8583);let c=e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:e.size,height:e.size,fill:e.fill,children:(0,t.jsx)("path",{d:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm7.753 18.305c-.261-.586-.789-.991-1.871-1.241-2.293-.529-4.428-.993-3.393-2.945 3.145-5.942.833-9.119-2.489-9.119-3.388 0-5.644 3.299-2.489 9.119 1.066 1.964-1.148 2.427-3.393 2.945-1.084.25-1.608.658-1.867 1.246-1.405-1.723-2.251-3.919-2.251-6.31 0-5.514 4.486-10 10-10s10 4.486 10 10c0 2.389-.845 4.583-2.247 6.305z"})});var r=s(3866),l=s(4585),d=s(1267),o=s.n(d);let u=e=>{let{user:a}=e,s=async()=>{confirm("Logout?")&&await (0,l.k)()};return(0,t.jsx)("div",{className:o().container,children:(0,t.jsxs)("div",{className:o().main,children:[(0,t.jsx)("img",{src:r.D.frourio_svg,height:36,alt:"frourio logo"}),(0,t.jsxs)("div",{className:o().userBtn,onClick:s,children:[void 0!==a.photoURL?(0,t.jsx)("img",{className:o().userIcon,src:a.photoURL,height:24,alt:a.displayName}):(0,t.jsx)(c,{size:18,fill:"#555"}),(0,t.jsx)("span",{className:o().userName,children:a.displayName})]})]})})};var _=s(7294),x=s(8537),h=s(1976),m=s(9442),p=s(4567),v=s.n(p),N=()=>{let[e]=(0,i.KO)(m.L),[a,s]=(0,_.useState)(),[c,r]=(0,_.useState)(""),l=async()=>{let e=await x.x.private.tasks.$get().catch(h.F);null!==e&&s(e)},d=async e=>{e.preventDefault(),await x.x.private.tasks.post({body:{label:c}}).catch(h.F),r(""),await l()},o=async e=>{await x.x.private.tasks._taskId(e.id).patch({body:{done:!e.done}}).catch(h.F),await l()},p=async e=>{await x.x.private.tasks._taskId(e.id).delete().catch(h.F),await l()};return((0,_.useEffect)(()=>{e&&l()},[e]),a&&e)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{user:e}),(0,t.jsxs)("div",{className:v().container,children:[(0,t.jsx)("div",{className:v().title,children:"Welcome to frourio!"}),(0,t.jsxs)("div",{className:v().main,children:[(0,t.jsx)("div",{className:v().card,children:(0,t.jsx)("form",{onSubmit:d,children:(0,t.jsxs)("div",{className:v().controls,children:[(0,t.jsx)("input",{value:c,className:v().textInput,type:"text",placeholder:"Todo task",onChange:e=>{r(e.target.value)}}),(0,t.jsx)("input",{className:v().btn,disabled:""===c,type:"submit",value:"ADD"})]})})}),a.map(e=>(0,t.jsx)("div",{className:v().card,children:(0,t.jsxs)("div",{className:v().controls,children:[(0,t.jsx)("input",{type:"checkbox",checked:e.done,onChange:()=>o(e)}),(0,t.jsx)("span",{children:e.label}),(0,t.jsx)("input",{type:"button",value:"DELETE",className:v().btn,onClick:()=>p(e)})]})},e.id))]})]})]}):(0,t.jsx)(n.g,{visible:!0})}},4585:function(e,a,s){"use strict";s.d(a,{_:function(){return c},k:function(){return r}});var t=s(753),n=s(1088),i=s(1976);let c=async()=>{let e=new t.GH;e.addScope("read:user"),await (0,t.rh)((0,n.l)(),e).catch(i.F)},r=async()=>{await (0,n.l)().signOut()}},1267:function(e){e.exports={container:"BasicHeader_container__R6xeT",main:"BasicHeader_main__geKyG",userBtn:"BasicHeader_userBtn__763Fg",userIcon:"BasicHeader_userIcon__7szmQ",userName:"BasicHeader_userName__n18x2"}},4567:function(e){e.exports={container:"index_container__Wxv5N",main:"index_main__a4FrX",card:"index_card__e904y",title:"index_title__Hhl0T",gradient:"index_gradient__XVJbl",controls:"index_controls__Sbhyt",textInput:"index_textInput__HsrSz",btn:"index_btn__0EiSx"}}},function(e){e.O(0,[888,774,179],function(){return e(e.s=9208)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/index-50ab7146eb65c9d4.js b/_next/static/chunks/pages/index-50ab7146eb65c9d4.js deleted file mode 100644 index 70a856c..0000000 --- a/_next/static/chunks/pages/index-50ab7146eb65c9d4.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{9208:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(7302)}])},7302:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return g}});var s=t(5893),n=t(1318),i=t(8583);let c=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:e.size,height:e.size,fill:e.fill,children:(0,s.jsx)("path",{d:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm7.753 18.305c-.261-.586-.789-.991-1.871-1.241-2.293-.529-4.428-.993-3.393-2.945 3.145-5.942.833-9.119-2.489-9.119-3.388 0-5.644 3.299-2.489 9.119 1.066 1.964-1.148 2.427-3.393 2.945-1.084.25-1.608.658-1.867 1.246-1.405-1.723-2.251-3.919-2.251-6.31 0-5.514 4.486-10 10-10s10 4.486 10 10c0 2.389-.845 4.583-2.247 6.305z"})});var r=t(3866),l=t(4585),d=t(1267),o=t.n(d);let u=e=>{let{user:a}=e,t=async()=>{confirm("Logout?")&&await (0,l.k)()};return(0,s.jsx)("div",{className:o().container,children:(0,s.jsxs)("div",{className:o().main,children:[(0,s.jsx)("img",{src:r.D.frourio_svg,height:36,alt:"frourio logo"}),(0,s.jsxs)("div",{className:o().userBtn,onClick:t,children:[void 0!==a.photoURL?(0,s.jsx)("img",{className:o().userIcon,src:a.photoURL,height:24,alt:a.displayName}):(0,s.jsx)(c,{size:18,fill:"#555"}),(0,s.jsx)("span",{className:o().userName,children:a.displayName})]})]})})};var _=t(7294),x=t(8537),m=t(1976),h=t(9442),p=t(4567),v=t.n(p),g=()=>{let[e]=(0,i.KO)(h.L),a=(0,_.useRef)(null),[t,c]=(0,_.useState)(),[r,l]=(0,_.useState)(""),[d,o]=(0,_.useState)(),[p,g]=(0,_.useState)(),f=async()=>{let e=await x.x.private.tasks.$get().catch(m.F);null!==e&&c(e)},j=async e=>{e.preventDefault(),a.current&&(await x.x.private.tasks.post({body:{label:r,image:d}}).catch(m.F),l(""),o(void 0),g(void 0),a.current.value="",await f())},N=async e=>{await x.x.private.tasks._taskId(e.id).patch({body:{done:!e.done}}).catch(m.F),await f()},w=async e=>{await x.x.private.tasks._taskId(e.id).delete().catch(m.F),await f()};return((0,_.useEffect)(()=>{e&&f()},[e]),(0,_.useEffect)(()=>{if(!d)return;let e=URL.createObjectURL(d);return g(e),()=>{URL.revokeObjectURL(e)}},[d]),t&&e)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u,{user:e}),(0,s.jsxs)("div",{className:v().container,children:[(0,s.jsx)("div",{className:v().title,children:"Welcome to frourio!"}),(0,s.jsxs)("div",{className:v().main,children:[(0,s.jsx)("div",{className:v().card,children:(0,s.jsxs)("form",{onSubmit:j,children:[p&&(0,s.jsx)("img",{src:p,className:v().taskImage}),(0,s.jsxs)("div",{className:v().controls,children:[(0,s.jsx)("input",{value:r,className:v().textInput,type:"text",placeholder:"Todo task",onChange:e=>{l(e.target.value)}}),(0,s.jsx)("input",{type:"file",ref:a,accept:".png,.jpg,.jpeg,.gif,.webp,.svg",onChange:e=>{var a;o(null===(a=e.target.files)||void 0===a?void 0:a[0])}}),(0,s.jsx)("input",{className:v().btn,disabled:""===r,type:"submit",value:"ADD"})]})]})}),t.map(e=>(0,s.jsxs)("div",{className:v().card,children:[e.image&&(0,s.jsx)("img",{src:e.image.url,alt:e.label,className:v().taskImage}),(0,s.jsxs)("div",{className:v().controls,children:[(0,s.jsx)("input",{type:"checkbox",checked:e.done,onChange:()=>N(e)}),(0,s.jsx)("span",{children:e.label}),(0,s.jsx)("input",{type:"button",value:"DELETE",className:v().btn,onClick:()=>w(e)})]})]},e.id))]})]})]}):(0,s.jsx)(n.g,{visible:!0})}},4585:function(e,a,t){"use strict";t.d(a,{_:function(){return c},k:function(){return r}});var s=t(753),n=t(1088),i=t(1976);let c=async()=>{let e=new s.GH;e.addScope("read:user"),await (0,s.rh)((0,n.l)(),e).catch(i.F)},r=async()=>{await (0,n.l)().signOut()}},1267:function(e){e.exports={container:"BasicHeader_container__R6xeT",main:"BasicHeader_main__geKyG",userBtn:"BasicHeader_userBtn__763Fg",userIcon:"BasicHeader_userIcon__7szmQ",userName:"BasicHeader_userName__n18x2"}},4567:function(e){e.exports={container:"index_container__Wxv5N",main:"index_main__a4FrX",card:"index_card__e904y",title:"index_title__Hhl0T",gradient:"index_gradient__XVJbl",controls:"index_controls__Sbhyt",textInput:"index_textInput__HsrSz",btn:"index_btn__0EiSx",taskImage:"index_taskImage__T32vB"}}},function(e){e.O(0,[888,774,179],function(){return e(e.s=9208)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/css/0a8595ab7092b201.css b/_next/static/css/7219552148d3f68a.css similarity index 51% rename from _next/static/css/0a8595ab7092b201.css rename to _next/static/css/7219552148d3f68a.css index 7430194..735cc22 100644 --- a/_next/static/css/0a8595ab7092b201.css +++ b/_next/static/css/7219552148d3f68a.css @@ -1 +1 @@ -.BasicHeader_container__R6xeT{position:-webkit-sticky;position:sticky;top:0;height:60px;background:#fff;border-bottom:1px solid #eee}.BasicHeader_main__geKyG{display:flex;align-items:center;justify-content:space-between;max-width:960px;height:100%;padding:0 16px;margin:0 auto}.BasicHeader_userBtn__763Fg{display:flex;gap:12px;align-items:center;padding:8px 16px;cursor:pointer;border:1px solid transparent;border-radius:8px;transition:.2s}.BasicHeader_userBtn__763Fg:hover{background:#fff;border-color:#eee}.BasicHeader_userIcon__7szmQ{border-radius:50%}.BasicHeader_userName__n18x2{font-size:14px;font-weight:700;color:#555}.index_container__Wxv5N{min-height:100vh;padding:40px 16px;background:#f8f8f8}.index_main__a4FrX{display:flex;flex-direction:column;gap:32px;width:640px;max-width:100%;margin:32px auto 0}.index_card__e904y{overflow:hidden;background:#fff;border-radius:8px;box-shadow:2px 2px 12px #0004}@keyframes index_gradient__XVJbl{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.index_title__Hhl0T{padding-top:80px;font-size:80px;font-weight:900;color:transparent;text-align:center;background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab);-webkit-background-clip:text;background-clip:text;background-size:200% 200%;animation:index_gradient__XVJbl 10s ease infinite}.index_controls__Sbhyt{display:flex;gap:8px;align-items:center;padding:12px 16px}.index_textInput__HsrSz{width:200px;padding:4px 8px;border-radius:4px}.index_btn__0EiSx{padding:4px 8px;margin-left:auto;cursor:pointer;border-radius:4px}.index_taskImage__T32vB{width:100%;vertical-align:bottom} \ No newline at end of file +.BasicHeader_container__R6xeT{position:-webkit-sticky;position:sticky;top:0;height:60px;background:#fff;border-bottom:1px solid #eee}.BasicHeader_main__geKyG{display:flex;align-items:center;justify-content:space-between;max-width:960px;height:100%;padding:0 16px;margin:0 auto}.BasicHeader_userBtn__763Fg{display:flex;gap:12px;align-items:center;padding:8px 16px;cursor:pointer;border:1px solid transparent;border-radius:8px;transition:.2s}.BasicHeader_userBtn__763Fg:hover{background:#fff;border-color:#eee}.BasicHeader_userIcon__7szmQ{border-radius:50%}.BasicHeader_userName__n18x2{font-size:14px;font-weight:700;color:#555}.index_container__Wxv5N{min-height:100vh;padding:40px 16px;background:#f8f8f8}.index_main__a4FrX{display:flex;flex-direction:column;gap:32px;width:640px;max-width:100%;margin:32px auto 0}.index_card__e904y{background:#fff;border-radius:8px;box-shadow:2px 2px 12px #0004}@keyframes index_gradient__XVJbl{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.index_title__Hhl0T{padding-top:80px;font-size:80px;font-weight:900;color:transparent;text-align:center;background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab);-webkit-background-clip:text;background-clip:text;background-size:200% 200%;animation:index_gradient__XVJbl 10s ease infinite}.index_controls__Sbhyt{display:flex;gap:8px;align-items:center;padding:12px 16px}.index_textInput__HsrSz{width:200px;padding:4px 8px;border-radius:4px}.index_btn__0EiSx{padding:4px 8px;margin-left:auto;cursor:pointer;border-radius:4px} \ No newline at end of file diff --git a/index.html b/index.html index 2e42046..3ebb6d7 100644 --- a/index.html +++ b/index.html @@ -5,4 +5,4 @@ gtag('config', '', { page_path: window.location.pathname, }); -
\ No newline at end of file +
\ No newline at end of file diff --git a/login/index.html b/login/index.html index cac1c43..c648f14 100644 --- a/login/index.html +++ b/login/index.html @@ -5,4 +5,4 @@ gtag('config', '', { page_path: window.location.pathname, }); -
\ No newline at end of file +
\ No newline at end of file