Spaces:
Running
Running
File size: 17,901 Bytes
6a95a26 |
1 |
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[935],{6200:function(r,t,n){"use strict";var e=this&&this.__assign||function(){return(e=Object.assign||function(r){for(var t,n=1,e=arguments.length;n<e;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r}).apply(this,arguments)},o=this&&this.__awaiter||function(r,t,n,e){return new(n||(n=Promise))(function(o,i){function u(r){try{s(e.next(r))}catch(r){i(r)}}function a(r){try{s(e.throw(r))}catch(r){i(r)}}function s(r){var t;r.done?o(r.value):((t=r.value)instanceof n?t:new n(function(r){r(t)})).then(u,a)}s((e=e.apply(r,t||[])).next())})},i=this&&this.__generator||function(r,t){var n,e,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw TypeError("Generator is already executing.");for(;u;)try{if(n=1,e&&(o=2&i[0]?e.return:i[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,i[1])).done)return o;switch(e=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,e=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(r,u)}catch(r){i=[6,r],e=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},u=this&&this.__rest||function(r,t){var n={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&0>t.indexOf(e)&&(n[e]=r[e]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,e=Object.getOwnPropertySymbols(r);o<e.length;o++)0>t.indexOf(e[o])&&Object.prototype.propertyIsEnumerable.call(r,e[o])&&(n[e[o]]=r[e[o]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.withSuperJSONPage=t.deserializeProps=t.withSuperJSONProps=void 0;var a=n(8679),s=n(67294),c=n(84419);function f(r){var t=r._superjson,n=u(r,["_superjson"]);return c.default.deserialize({json:n,meta:t})}t.withSuperJSONProps=function(r,t){return void 0===t&&(t=[]),function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];return o(this,void 0,void 0,function(){var o,u,a,s,f,l;return i(this,function(i){switch(i.label){case 0:return[4,r.apply(void 0,n)];case 1:if(!("props"in(o=i.sent()))||!o.props)return[2,o];return u=t.map(function(r){var t=o.props[r];return delete o.props[r],t}),s=(a=c.default.serialize(o.props)).json,f=a.meta,l=s,f&&(l._superjson=f),t.forEach(function(r,t){var n=u[t];void 0!==n&&(l[r]=n)}),[2,e(e({},o),{props:l})]}})})}},t.deserializeProps=f,t.withSuperJSONPage=function(r){function t(t){return s.createElement(r,e({},f(t)))}return a(t,r),t}},23544:function(r,t,n){r.exports=n(6200)},16042:function(r,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return i}});var e=n(23544),o=n(10363),i=!0;t.default=(0,e.withSuperJSONPage)(o.Z)},60940:function(r,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/static-hosts/[id]",function(){return n(16042)}])},84419:function(r,t,n){"use strict";n.r(t),n.d(t,{allowErrorProps:function(){return rs},default:function(){return rr},deserialize:function(){return rn},parse:function(){return ro},registerClass:function(){return ri},registerCustom:function(){return ru},registerSymbol:function(){return ra},serialize:function(){return rt},stringify:function(){return re}});var e,o=function(){function r(){this.keyToValue=new Map,this.valueToKey=new Map}return r.prototype.set=function(r,t){this.keyToValue.set(r,t),this.valueToKey.set(t,r)},r.prototype.getByKey=function(r){return this.keyToValue.get(r)},r.prototype.getByValue=function(r){return this.valueToKey.get(r)},r.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},r}(),i=function(){function r(r){this.generateIdentifier=r,this.kv=new o}return r.prototype.register=function(r,t){this.kv.getByValue(r)||(t||(t=this.generateIdentifier(r)),this.kv.set(t,r))},r.prototype.clear=function(){this.kv.clear()},r.prototype.getIdentifier=function(r){return this.kv.getByValue(r)},r.prototype.getValue=function(r){return this.kv.getByKey(r)},r}(),u=(e=function(r,t){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])})(r,t)},function(r,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=r}e(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(r){function t(){var t=r.call(this,function(r){return r.name})||this;return t.classToAllowedProps=new Map,t}return u(t,r),t.prototype.register=function(t,n){"object"==typeof n?(n.allowProps&&this.classToAllowedProps.set(t,n.allowProps),r.prototype.register.call(this,t,n.identifier)):r.prototype.register.call(this,t,n)},t.prototype.getAllowedProps=function(r){return this.classToAllowedProps.get(r)},t}(i),s=function(r,t){var n="function"==typeof Symbol&&r[Symbol.iterator];if(!n)return r;var e,o,i=n.call(r),u=[];try{for(;(void 0===t||t-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(r){o={error:r}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u};function c(r,t){Object.entries(r).forEach(function(r){var n=s(r,2),e=n[0];return t(n[1],e)})}function f(r,t){return -1!==r.indexOf(t)}function l(r,t){for(var n=0;n<r.length;n++){var e=r[n];if(t(e))return e}}var p=function(){function r(){this.transfomers={}}return r.prototype.register=function(r){this.transfomers[r.name]=r},r.prototype.findApplicable=function(r){return function(r,t){var n=function(r){if("values"in Object)return Object.values(r);var t=[];for(var n in r)r.hasOwnProperty(n)&&t.push(r[n]);return t}(r);if("find"in n)return n.find(t);for(var e=0;e<n.length;e++){var o=n[e];if(t(o))return o}}(this.transfomers,function(t){return t.isApplicable(r)})},r.prototype.findByName=function(r){return this.transfomers[r]},r}(),y=function(r){return void 0===r},h=function(r){return"object"==typeof r&&null!==r&&r!==Object.prototype&&(null===Object.getPrototypeOf(r)||r.constructor===Object&&Object.getPrototypeOf(r)===Object.prototype)},v=function(r){return h(r)&&0===Object.keys(r).length},d=function(r){return Array.isArray(r)},g=function(r){return r instanceof Map},m=function(r){return r instanceof Set},b=function(r){return"Symbol"===Object.prototype.toString.call(r).slice(8,-1)},w=function(r){return"number"==typeof r&&isNaN(r)},O=function(r){return"boolean"==typeof r||null===r||y(r)||"number"==typeof r&&!isNaN(r)||"string"==typeof r||b(r)},j=function(r){return r.replace(/\./g,"\\.")},E=function(r){return r.map(String).map(j).join(".")},S=function(r){for(var t=[],n="",e=0;e<r.length;e++){var o=r.charAt(e);if("\\"===o&&"."===r.charAt(e+1)){n+=".",e++;continue}if("."===o){t.push(n),n="";continue}n+=o}var i=n;return t.push(i),t},_=function(){return(_=Object.assign||function(r){for(var t,n=1,e=arguments.length;n<e;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r}).apply(this,arguments)},P=function(r,t){var n="function"==typeof Symbol&&r[Symbol.iterator];if(!n)return r;var e,o,i=n.call(r),u=[];try{for(;(void 0===t||t-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(r){o={error:r}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u},k=function(r,t){for(var n=0,e=t.length,o=r.length;n<e;n++,o++)r[o]=t[n];return r};function I(r,t,n,e){return{isApplicable:r,annotation:t,transform:n,untransform:e}}var A=[I(y,"undefined",function(){return null},function(){}),I(function(r){return"bigint"==typeof r},"bigint",function(r){return r.toString()},function(r){return"undefined"!=typeof BigInt?BigInt(r):(console.error("Please add a BigInt polyfill."),r)}),I(function(r){return r instanceof Date&&!isNaN(r.valueOf())},"Date",function(r){return r.toISOString()},function(r){return new Date(r)}),I(function(r){return r instanceof Error},"Error",function(r,t){var n={name:r.name,message:r.message};return t.allowedErrorProps.forEach(function(t){n[t]=r[t]}),n},function(r,t){var n=Error(r.message);return n.name=r.name,n.stack=r.stack,t.allowedErrorProps.forEach(function(t){n[t]=r[t]}),n}),I(function(r){return r instanceof RegExp},"regexp",function(r){return""+r},function(r){return new RegExp(r.slice(1,r.lastIndexOf("/")),r.slice(r.lastIndexOf("/")+1))}),I(m,"set",function(r){return k([],P(r.values()))},function(r){return new Set(r)}),I(g,"map",function(r){return k([],P(r.entries()))},function(r){return new Map(r)}),I(function(r){var t;return w(r)||(t=r)===1/0||t===-1/0},"number",function(r){return w(r)?"NaN":r>0?"Infinity":"-Infinity"},Number),I(function(r){return 0===r&&1/r==-1/0},"number",function(){return"-0"},Number),I(function(r){return r instanceof URL},"URL",function(r){return r.toString()},function(r){return new URL(r)})];function N(r,t,n,e){return{isApplicable:r,annotation:t,transform:n,untransform:e}}var T=N(function(r,t){return!!b(r)&&!!t.symbolRegistry.getIdentifier(r)},function(r,t){return["symbol",t.symbolRegistry.getIdentifier(r)]},function(r){return r.description},function(r,t,n){var e=n.symbolRegistry.getValue(t[1]);if(!e)throw Error("Trying to deserialize unknown symbol");return e}),z=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(r,t){return r[t.name]=t,r},{}),R=N(function(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)},function(r){return["typed-array",r.constructor.name]},function(r){return k([],P(r))},function(r,t){var n=z[t[1]];if(!n)throw Error("Trying to deserialize unknown typed array");return new n(r)});function x(r,t){return null!=r&&!!r.constructor&&!!t.classRegistry.getIdentifier(r.constructor)}var V=N(x,function(r,t){return["class",t.classRegistry.getIdentifier(r.constructor)]},function(r,t){var n=t.classRegistry.getAllowedProps(r.constructor);if(!n)return _({},r);var e={};return n.forEach(function(t){e[t]=r[t]}),e},function(r,t,n){var e=n.classRegistry.getValue(t[1]);if(!e)throw Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(e.prototype),r)}),C=N(function(r,t){return!!t.customTransformerRegistry.findApplicable(r)},function(r,t){return["custom",t.customTransformerRegistry.findApplicable(r).name]},function(r,t){return t.customTransformerRegistry.findApplicable(r).serialize(r)},function(r,t,n){var e=n.customTransformerRegistry.findByName(t[1]);if(!e)throw Error("Trying to deserialize unknown custom value");return e.deserialize(r)}),B=[V,T,C,R],U=function(r,t){var n=l(B,function(n){return n.isApplicable(r,t)});if(n)return{value:n.transform(r,t),type:n.annotation(r,t)};var e=l(A,function(n){return n.isApplicable(r,t)});if(e)return{value:e.transform(r,t),type:e.annotation}},J={};A.forEach(function(r){J[r.annotation]=r});var M=function(r,t,n){if(d(t))switch(t[0]){case"symbol":return T.untransform(r,t,n);case"class":return V.untransform(r,t,n);case"custom":return C.untransform(r,t,n);case"typed-array":return R.untransform(r,t,n);default:throw Error("Unknown transformation: "+t)}else{var e=J[t];if(!e)throw Error("Unknown transformation: "+t);return e.untransform(r,n)}},K=function(r,t){for(var n=r.keys();t>0;)n.next(),t--;return n.next().value};function D(r){if(f(r,"__proto__"))throw Error("__proto__ is not allowed as a property");if(f(r,"prototype"))throw Error("prototype is not allowed as a property");if(f(r,"constructor"))throw Error("constructor is not allowed as a property")}var q=function(r,t){D(t);for(var n=0;n<t.length;n++){var e=t[n];if(m(r))r=K(r,+e);else if(g(r)){var o=+e,i=0==+t[++n]?"key":"value",u=K(r,o);switch(i){case"key":r=u;break;case"value":r=r.get(u)}}else r=r[e]}return r},L=function(r,t,n){if(D(t),0===t.length)return n(r);for(var e=r,o=0;o<t.length-1;o++){var i=t[o];if(d(e))e=e[+i];else if(h(e))e=e[i];else if(m(e)){var u=+i;e=K(e,u)}else if(g(e)){if(o===t.length-2)break;var u=+i,a=0==+t[++o]?"key":"value",s=K(e,u);switch(a){case"key":e=s;break;case"value":e=e.get(s)}}}var c=t[t.length-1];if(d(e)?e[+c]=n(e[+c]):h(e)&&(e[c]=n(e[c])),m(e)){var f=K(e,+c),l=n(f);f!==l&&(e.delete(f),e.add(l))}if(g(e)){var u=+t[t.length-2],p=K(e,u),a=0==+c?"key":"value";switch(a){case"key":var y=n(p);e.set(y,e.get(p)),y!==p&&e.delete(p);break;case"value":e.set(p,n(e.get(p)))}}return r},F=function(r,t){var n="function"==typeof Symbol&&r[Symbol.iterator];if(!n)return r;var e,o,i=n.call(r),u=[];try{for(;(void 0===t||t-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(r){o={error:r}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u},G=function(r,t){for(var n=0,e=t.length,o=r.length;n<e;n++,o++)r[o]=t[n];return r},X=function(r,t,n,e,o){if(void 0===e&&(e=[]),void 0===o&&(o=[]),O(r)||(i=e,(u=t.get(r))?u.push(i):t.set(r,[i])),!(h(r)||d(r)||g(r)||m(r)||x(r,n))){var i,u,a,s=U(r,n);return s?{transformedValue:s.value,annotations:[s.type]}:{transformedValue:r}}if(f(o,r))return{transformedValue:null};var l=U(r,n),p=null!==(a=null==l?void 0:l.value)&&void 0!==a?a:r;O(r)||(o=G(G([],F(o)),[r]));var y=d(p)?[]:{},b={};return(c(p,function(r,i){var u=X(r,t,n,G(G([],F(e)),[i]),o);y[i]=u.transformedValue,d(u.annotations)?b[i]=u.annotations:h(u.annotations)&&c(u.annotations,function(r,t){b[j(i)+"."+t]=r})}),v(b))?{transformedValue:y,annotations:l?[l.type]:void 0}:{transformedValue:y,annotations:l?[l.type,b]:b}};function Z(r){return Object.prototype.toString.call(r).slice(8,-1)}function H(r){return"Array"===Z(r)}var Q=function(){return(Q=Object.assign||function(r){for(var t,n=1,e=arguments.length;n<e;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r}).apply(this,arguments)},W=function(r,t){var n="function"==typeof Symbol&&r[Symbol.iterator];if(!n)return r;var e,o,i=n.call(r),u=[];try{for(;(void 0===t||t-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(r){o={error:r}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u},Y=function(r,t){for(var n=0,e=t.length,o=r.length;n<e;n++,o++)r[o]=t[n];return r},$=function(){function r(){this.classRegistry=new a,this.symbolRegistry=new i(function(r){var t;return null!==(t=r.description)&&void 0!==t?t:""}),this.customTransformerRegistry=new p,this.allowedErrorProps=[]}return r.prototype.serialize=function(r){var t,n,e=new Map,o=X(r,e,this),i={json:o.transformedValue};o.annotations&&(i.meta=Q(Q({},i.meta),{values:o.annotations}));var u=(t={},n=void 0,(e.forEach(function(r){if(!(r.length<=1)){var e=F(r.map(function(r){return r.map(String)}).sort(function(r,t){return r.length-t.length})),o=e[0],i=e.slice(1);0===o.length?n=i.map(E):t[E(o)]=i.map(E)}}),n)?v(t)?[n]:[n,t]:v(t)?void 0:t);return u&&(i.meta=Q(Q({},i.meta),{referentialEqualities:u})),i},r.prototype.deserialize=function(r){var t,n,e,o=r.json,i=r.meta,u=function r(t,n={}){return H(t)?t.map(t=>r(t,n)):!function(r){if("Object"!==Z(r))return!1;let t=Object.getPrototypeOf(r);return!!t&&t.constructor===Object&&t===Object.prototype}(t)?t:[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)].reduce((e,o)=>{if(H(n.props)&&!n.props.includes(o))return e;let i=r(t[o],n);return function(r,t,n,e,o){let i=({}).propertyIsEnumerable.call(e,t)?"enumerable":"nonenumerable";"enumerable"===i&&(r[t]=n),o&&"nonenumerable"===i&&Object.defineProperty(r,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}(e,o,i,t,n.nonenumerable),e},{})}(o);return(null==i?void 0:i.values)&&(t=u,n=i.values,e=this,function r(t,n,e){if(void 0===e&&(e=[]),t){if(!d(t)){c(t,function(t,o){return r(t,n,G(G([],F(e)),F(S(o))))});return}var o=F(t,2),i=o[0],u=o[1];u&&c(u,function(t,o){r(t,n,G(G([],F(e)),F(S(o))))}),n(i,e)}}(n,function(r,n){t=L(t,n,function(t){return M(t,r,e)})}),u=t),(null==i?void 0:i.referentialEqualities)&&(u=function(r,t){function n(t,n){var e=q(r,S(n));t.map(S).forEach(function(t){r=L(r,t,function(){return e})})}if(d(t)){var e=F(t,2),o=e[0],i=e[1];o.forEach(function(t){r=L(r,S(t),function(){return r})}),i&&c(i,n)}else c(t,n);return r}(u,i.referentialEqualities)),u},r.prototype.stringify=function(r){return JSON.stringify(this.serialize(r))},r.prototype.parse=function(r){return this.deserialize(JSON.parse(r))},r.prototype.registerClass=function(r,t){this.classRegistry.register(r,t)},r.prototype.registerSymbol=function(r,t){this.symbolRegistry.register(r,t)},r.prototype.registerCustom=function(r,t){this.customTransformerRegistry.register(Q({name:t},r))},r.prototype.allowErrorProps=function(){for(var r,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(r=this.allowedErrorProps).push.apply(r,Y([],W(t)))},r.defaultInstance=new r,r.serialize=r.defaultInstance.serialize.bind(r.defaultInstance),r.deserialize=r.defaultInstance.deserialize.bind(r.defaultInstance),r.stringify=r.defaultInstance.stringify.bind(r.defaultInstance),r.parse=r.defaultInstance.parse.bind(r.defaultInstance),r.registerClass=r.defaultInstance.registerClass.bind(r.defaultInstance),r.registerSymbol=r.defaultInstance.registerSymbol.bind(r.defaultInstance),r.registerCustom=r.defaultInstance.registerCustom.bind(r.defaultInstance),r.allowErrorProps=r.defaultInstance.allowErrorProps.bind(r.defaultInstance),r}(),rr=$,rt=$.serialize,rn=$.deserialize,re=$.stringify,ro=$.parse,ri=$.registerClass,ru=$.registerCustom,ra=$.registerSymbol,rs=$.allowErrorProps}},function(r){r.O(0,[774,970,391,838,738,396,317,365,251,660,817,648,265,845,509,665,653,909,219,961,835,130,473,342,758,233,888,179],function(){return r(r.s=60940)}),_N_E=r.O()}]); |