PageSourceSearch

https://www.nan.fyi/_next/static/chunks/0899hhs0s_ry4.js

js nan.fyi collected 2026-10-03 19:30:45 UTC 52,238 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,799420,e=>{"use strict";let t;var r,n=e.i(301579),o=e.i(704882),a=e.i(900045),i=e.i(722978),u=e.i(825894),s=e.i(121210),l=e.i(318343),c=e.i(412358),f="en",p={},m={};function d(e){return p[e]?e:m[e.toLowerCase()]?m[e.toLowerCase()]:void 0}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.localeMatcher||"lookup";switch(r){case"lookup":case"best fit":var n=e,o=d(n);if(o)return o;for(var a=n.split("-");n.length>1;){a.pop();var i=d(n=a.join("-"));if(i)return i}return;default:throw RangeError('Invalid "localeMatcher" option: '.concat(r))}}var y={af:function(e){return 1==e?"one":"other"},am:function(e){return e>=0&&e<=1?"one":"other"},ar:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ast:function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},be:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),o=r&&t[0].slice(-2);return 1==n&&11!=o?"one":n>=2&&n<=4&&(o<12||o>14)?"few":r&&0==n||n>=5&&n<=9||o>=11&&o<=14?"many":"other"},br:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),o=r&&t[0].slice(-2),a=r&&t[0].slice(-6);return 1==n&&11!=o&&71!=o&&91!=o?"one":2==n&&12!=o&&72!=o&&92!=o?"two":(3==n||4==n||9==n)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=e&&r&&0==a?"many":"other"},bs:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),s=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=s?"one":o&&a>=2&&a<=4&&(i<12||i>14)||u>=2&&u<=4&&(s<12||s>14)?"few":"other"},ca:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e&&n?"one":0!=r&&0==o&&n?"many":"other"},ceb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],a=r.slice(-1),i=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=a&&6!=a&&9!=a||!o&&4!=i&&6!=i&&9!=i?"one":"other"},cs:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(e){return 0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},dsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],a=r.slice(-2),i=n.slice(-2);return o&&1==a||1==i?"one":o&&2==a||2==i?"two":o&&(3==a||4==a)||3==i||4==i?"few":"other"},dz:function(e){return"other"},es:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e?"one":0!=r&&0==o&&n?"many":"other"},ff:function(e){return e>=0&&e<2?"one":"other"},fr:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return e>=0&&e<2?"one":0!=r&&0==o&&n?"many":"other"},ga:function(e){var t=Number(String(e).split(".")[0])==e;return 1==e?"one":2==e?"two":t&&e>=3&&e<=6?"few":t&&e>=7&&e<=10?"many":"other"},gd:function(e){var t=Number(String(e).split(".")[0])==e;return 1==e||11==e?"one":2==e||12==e?"two":t&&e>=3&&e<=10||t&&e>=13&&e<=19?"few":"other"},he:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==r&&n||0==r&&!n?"one":2==r&&n?"two":"other"},is:function(e){var t=String(e).split("."),r=t[0],n=(t[1]||"").replace(/0+$/,""),o=Number(t[0])==e,a=r.slice(-1),i=r.slice(-2);return o&&1==a&&11!=i||n%10==1&&n%100!=11?"one":"other"},ksh:function(e){return 0==e?"zero":1==e?"one":"other"},lt:function(e){var t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,o=n&&t[0].slice(-1),a=n&&t[0].slice(-2);return 1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=r?"many":"other"},lv:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,o=Number(t[0])==e,a=o&&t[0].slice(-1),i=o&&t[0].slice(-2),u=r.slice(-2),s=r.slice(-1);return o&&0==a||i>=11&&i<=19||2==n&&u>=11&&u<=19?"zero":1==a&&11!=i||2==n&&1==s&&11!=u||2!=n&&1==s?"one":"other"},mk:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),s=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=s?"one":"other"},mt:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},pa:function(e){return 0==e||1==e?"one":"other"},pl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-1),a=r.slice(-2);return 1==e&&n?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&1!=r&&(0==o||1==o)||n&&o>=5&&o<=9||n&&a>=12&&a<=14?"many":"other"},pt:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);
1return 0==r||1==r?"one":0!=r&&0==o&&n?"many":"other"},ro:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||1!=e&&n>=1&&n<=19?"few":"other"},ru:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&a>=11&&a<=14?"many":"other"},se:function(e){return 1==e?"one":2==e?"two":"other"},si:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-2);return n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"}};function b(e){return"pt-PT"===e?e:function(e){var t=e.match(g);if(!t)throw TypeError("Invalid locale: ".concat(e));return t[1]}(e)}y.as=y.am,y.az=y.af,y.bg=y.af,y.bn=y.am,y.brx=y.af,y.ce=y.af,y.chr=y.af,y.de=y.ast,y.ee=y.af,y.el=y.af,y.en=y.ast,y.et=y.ast,y.eu=y.af,y.fa=y.am,y.fi=y.ast,y.fil=y.ceb,y.fo=y.af,y.fur=y.af,y.fy=y.ast,y.gl=y.ast,y.gu=y.am,y.ha=y.af,y.hi=y.am,y.hr=y.bs,y.hsb=y.dsb,y.hu=y.af,y.hy=y.ff,y.ia=y.ast,y.id=y.dz,y.ig=y.dz,y.it=y.ca,y.ja=y.dz,y.jgo=y.af,y.jv=y.dz,y.ka=y.af,y.kea=y.dz,y.kk=y.af,y.kl=y.af,y.km=y.dz,y.kn=y.am,y.ko=y.dz,y.ks=y.af,y.ku=y.af,y.ky=y.af,y.lb=y.af,y.lkt=y.dz,y.lo=y.dz,y.ml=y.af,y.mn=y.af,y.mr=y.af,y.ms=y.dz,y.my=y.dz,y.nb=y.af,y.ne=y.af,y.nl=y.ast,y.nn=y.af,y.no=y.af,y.or=y.af,y.pcm=y.am,y.ps=y.af,y.rm=y.af,y.sah=y.dz,y.sc=y.ast,y.sd=y.af,y.sk=y.cs,y.so=y.af,y.sq=y.af,y.sr=y.bs,y.su=y.dz,y.sv=y.ast,y.sw=y.ast,y.ta=y.af,y.te=y.af,y.th=y.dz,y.ti=y.pa,y.tk=y.af,y.to=y.dz,y.tr=y.af,y.ug=y.af,y.uk=y.ru,y.ur=y.ast,y.uz=y.af,y.vi=y.dz,y.wae=y.af,y.wo=y.dz,y.xh=y.af,y.yi=y.ast,y.yo=y.dz,y.yue=y.dz,y.zh=y.dz,y.zu=y.am;var g=/^([a-z0-9]+)/i;function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var w=function(){var e,t;function r(e,t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");var n=r.supportedLocalesOf(e);if(0===n.length)throw RangeError("Unsupported locale: "+e);if(t&&"cardinal"!==t.type)throw RangeError('Only "cardinal" "type" is supported');this.$=y[b(n[0])]}return e=[{key:"select",value:function(e){return this.$(e)}}],t=[{key:"supportedLocalesOf",value:function(e){return"string"==typeof e&&(e=[e]),e.filter(function(e){return y[b(e)]})}}],e&&v(r.prototype,e),t&&v(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,u=!1;try{for(o=o.call(e);!(i=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){u=!0,n=e}finally{try{i||null==o.return||o.return()}finally{if(u)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P(e,t)}}
1(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var k=["second","minute","hour","day","week","month","quarter","year"],E=["auto","always"],T=["long","short","narrow"],A=["lookup","best fit"],D=function(){var e;function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=r.numeric,o=r.style,a=r.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",void 0!==n){if(0>E.indexOf(n))throw RangeError('Invalid "numeric" option: '.concat(n));this.numeric=n}if(void 0!==o){if(0>T.indexOf(o))throw RangeError('Invalid "style" option: '.concat(o));this.style=o}if(void 0!==a){if(0>A.indexOf(a))throw RangeError('Invalid "localeMatcher" option: '.concat(a));this.localeMatcher=a}if("string"==typeof e&&(e=[e]),e.push(f),this.locale=t.supportedLocalesOf(e,{localeMatcher:this.localeMatcher})[0],!this.locale)throw Error("No supported locale was found");w.supportedLocalesOf(this.locale).length>0?this.pluralRules=new w(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),"u">typeof Intl&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=h(this.locale,{localeMatcher:this.localeMatcher})}return e=[{key:"format",value:function(){var e=N(arguments),t=x(e,2),r=t[0],n=t[1];return this.getRule(r,n).replace("{0}",this.formatNumber(Math.abs(r)))}},{key:"formatToParts",value:function(){var e=N(arguments),t=x(e,2),r=t[0],n=t[1],o=this.getRule(r,n),a=o.indexOf("{0}");if(a<0)return[{type:"literal",value:o}];var i=[];return a>0&&i.push({type:"literal",value:o.slice(0,a)}),i=i.concat(this.formatNumberToParts(Math.abs(r)).map(function(e){return S(S({},e),{},{unit:n})})),a+3<o.length-1&&i.push({type:"literal",value:o.slice(a+3)}),i}},{key:"getRule",value:function(e,t){var r,n=p[this.locale][this.style][t];if("string"==typeof n)return n;if("auto"===this.numeric){if(-2===e||-1===e){var o=n["previous".concat(-1===e?"":"-"+Math.abs(e))];if(o)return o}else if(1===e||2===e){var a=n["next".concat(1===e?"":"-"+Math.abs(e))];if(a)return a}else if(0===e&&n.current)return n.current}var i=n[(r=e)<0||0===r&&1/r==-1/0?"past":"future"];return"string"==typeof i?i:i[this.pluralRules&&this.pluralRules.select(Math.abs(e))||"other"]||i.other}},{key:"formatNumber",value:function(e){return this.numberFormat?this.numberFormat.format(e):String(e)}},{key:"formatNumberToParts",value:function(e){return this.numberFormat&&this.numberFormat.formatToParts?this.numberFormat.formatToParts(e):[{type:"integer",value:this.formatNumber(e)}]}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric,numberingSystem:this.numberingSystem}}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();D.supportedLocalesOf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e)e=[e];else if(!Array.isArray(e))throw TypeError('Invalid "locales" argument');return e.filter(function(e){return h(e,t)})},D.addLocale=function(e){if(!e)throw Error("No locale data passed");p[e.locale]=e,m[e.locale.toLowerCase()]=e.locale},D.setDefaultLocale=function(e){f=e},D.getDefaultLocale=function(){return f},D.PluralRules=w;var R='Invalid "unit" argument';function N(e){if(e.length<2)throw TypeError('"unit" argument is required');return[function(e){if(e=Number(e),Number.isFinite&&!Number.isFinite(e))throw RangeError("".concat('Invalid "number" argument',": ").concat(e));return e}(e[0]),function(e){if("symbol"===O(e))throw TypeError(R);if("string"!=typeof e||("s"===e[e.length-1]&&(e=e.slice(0,e.length-1)),0>k.indexOf(e)))throw RangeError("".concat(R,": ").concat(e));return e}(e[1])]}function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.cache={}}return e=[{key:"get",value:function(){for(var e=this.cache,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var o=0;o<r.length;o++){var a=r[o];if("object"!==L(e))return;e=e[a]}return e}},{key:"put",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=t.pop(),o=t.pop(),a=this.cache,i=0;i<t.length;i++){var u=t[i];"object"!==L(a[u])&&(a[u]={}),a=a[u]}return a[o]=n}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function F(e){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var C={}.constructor;function V(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2630016;case"year":return 0x1e18558}}function z(e){return void 0!==e.factor?e.factor:V(e.unit||e.formatAs)||1}function q(e){return"floor"===e?Math.floor:Math.round}function U(e){return"floor"===e?1:.5}function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(e,t){var r,n=t.prevStep,o=t.timestamp,a=t.now,i=t.future,u=t.round;return n&&(n.id||n.unit)&&(r=e["threshold_for_".concat(n.id||n.unit)]),void 0===r&&void 0!==e.threshold&&"function"==typeof(r=e.threshold)&&(r=r(a,i)),void 0===r&&(r=e.minTime),"object"===$(r)&&(r=n&&n.id&&void 0!==r[n.id]?r[n.id]:r.default),"function"==typeof r&&(r=r(o,{future:i,getMinTimeForUnit:function(e,t){return Y(e,t||n&&n.formatAs,{round:u})}})),void 0===r&&e.test&&(r=0x1fffffffffffff*!e.test(o,{now:a,future:i})),void 0===r&&(n?e.formatAs&&n.formatAs&&(r=Y(e.formatAs,n.formatAs,{round:u})):r=0),void 0===r&&console.warn("[javascript-time-ago] A step should specify `minTime`:\n"+JSON.stringify(e,null,2)),r}function Y(e,t,r){var n,o=r.round,a=V(e);if(n="now"===t?V(e):V(t),void 0!==a&&void 0!==n)return a-n*(1-U(o))}function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var J={};function H(e){return J[e]}function K(e){if(!e)throw Error("[javascript-time-ago] No locale data passed.");J[e.locale]=e}let G={steps:[{formatAs:"now"},{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"}],labels:"long"};function X(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?X(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let Z=Q(Q({},G),{},{steps:G.steps.filter(function(e){return"second"!==e.formatAs})}),ee=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45.5,factor:1,unit:"second"},{threshold:45.5,factor:60,unit:"minute"},{threshold:150,granularity:5,factor:60,unit:"minute"},{threshold:1350,factor:1800,unit:"half-hour"},{threshold:2550,threshold_for_minute:3150,factor:3600,unit:"hour"},{threshold:20.5/24*86400,factor:86400,unit:"day"},{threshold:475200,factor:604800,unit:"week"},{threshold:2116800,factor:2630016,unit:"month"},{threshold:0x1a55fc0,factor:0x1e18558,unit:"year"}],et={gradation:ee,flavour:"long",units:["now","minute","hour","day","week","month","year"]},er={gradation:ee,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};function en(e){return e instanceof Date?e:new Date(e)}var eo=[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"}],ea={};("u"<typeof Intl?"undefined":M(Intl))==="object"&&"function"==typeof Intl.DateTimeFormat?eo.push({minTime:function(e,t){return t.future,(0,t.getMinTimeForUnit)("day")},format:function(e,t){return ea[t]||(ea[t]={}),ea[t].dayMonth||(ea[t].dayMonth=new Intl.DateTimeFormat(t,{month:"short",day:"numeric"})),ea[t].dayMonth.format(en(e))}},{minTime:function(e,t){if(!t.future)return(new Date(new Date(e).getFullYear()+1,0).getTime()-e)/1e3;var r=new Date(new Date(e).getFullYear(),0).getTime()-1;return(e-r)/1e3},format:function(e,t){return ea[t]||(ea[t]={}),ea[t].dayMonthYear||(ea[t].dayMonthYear=new Intl.DateTimeFormat(t,{year:"numeric",month:"short",day:"numeric"})),ea[t].dayMonthYear.format(en(e))}}):eo.push({formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"});let ei={steps:eo,labels:["mini","short-time","narrow","short"]};function eu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function es(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eu(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eu(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let el=es(es({},ei),{},{steps:[{formatAs:"now"}].concat(ei.steps)});function ec(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ef(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let ep=ef(ef({},ei),{},{steps:ei.steps.filter(function(e){return"second"!==e.formatAs})});function em(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?em(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):em(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eh=ed(ed({},ep),{},{steps:[{formatAs:"now"}].concat(ep.steps)});function ey(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ey(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ey(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eg=eb(eb({},ei),{},{steps:ei.steps.filter(function(e){return"second"!==e.formatAs}).map(function(e){return"minute"===e.formatAs?eb(eb({},e),{},{minTime:60}):e})}),ev={steps:[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"month"},{formatAs:"year"}],labels:["mini","short-time","narrow","short"]};function ew(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ew(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ew(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let ej=eO(eO({},ev),{},{steps:[{formatAs:"now"}].concat(ev.steps)});function eS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ex(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eS(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eS(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eP=ex(ex({},ev),{},{steps:ev.steps.filter(function(e){return"second"!==e.formatAs})});function ek(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ek(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ek(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eT=eE(eE({},eP),{},{steps:[{formatAs:"now"}].concat(eP.steps)});function eA(e){return(eA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eD(e,t){if(e){if("string"==typeof e)return eR(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eR(e,t)}}function eR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var eN=function(){var e;function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.polyfill;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");"string"==typeof e&&(e=[e]),this.locale=function(e,t){for(var r,n=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return _(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _(e,void 0)}}(e))){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(r=n()).done;){var o=r.value;if(t(o))return o;for(var a=o.split("-");a.length>1;)if(a.pop(),t(o=a.join("-")))return o}throw Error("No locale data has been registered for any of the locales: ".concat(e.join(", ")))}(e.concat(t.getDefaultLocale()),H),"u">typeof Intl&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),!1===n?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=D,this.IntlPluralRules=D.PluralRules),this.relativeTimeFormatCache=new I,this.pluralRulesCache=new I}return e=[{key:"format",value:function(e,t,r){r||(t&&!function(e){var t;return"string"==typeof e||void 0!==F(t=e)&&null!==t&&t.constructor===C&&(Array.isArray(e.steps)||Array.isArray(e.gradation)||Array.isArray(e.flavour)||"string"==typeof e.flavour||Array.isArray(e.labels)||"string"==typeof e.labels||Array.isArray(e.units)||"function"==typeof e.custom)}(t)?(r=t,t=void 0):r={}),t||(t=Z),"string"==typeof t&&(t=function(e){switch(e){case"default":case"round":return G;case"round-minute":return Z;case"approximate":default:return et;case"time":case"approximate-time":return er;case"mini":return ev;case"mini-now":return ej;case"mini-minute":return eP;case"mini-minute-now":return eT;case"twitter":return ei;case"twitter-now":return el;case"twitter-minute":return ep;case"twitter-minute-now":return eh;case"twitter-first-minute":return eg}}(t));var n,o,a,i,u,s,l,c,f,p,m,d=function(e){var t;if(e.constructor===Date||"object"===eA(t=e)&&"function"==typeof t.getTime)return e.getTime();if("number"==typeof e)return e;throw Error("Unsupported relative time formatter input: ".concat(eA(e),", ").concat(e))}(e),h=this.getLabels(t.flavour||t.labels),y=h.labels,b=h.labelsType;void 0!==t.now&&(m=t.now),void 0===m&&void 0!==r.now&&(m=r.now),void 0===m&&(m=Date.now());var g=(m-d)/1e3,v=r.future||g<0,w=(n=y,o=H(this.locale).now,a=H(this.locale).long,i=v,(u=n.now||o&&o.now)?"string"==typeof u?u:i?u.future:u.past:a&&a.second&&a.second.current?a.second.current:void 0);if(t.custom){var O=t.custom({now:m,date:new Date(d),time:d,elapsed:g,locale:this.locale});if(void 0!==O)return O}var j=(s=t.units,l=y,c=w,f=Object.keys(l),c&&f.push("now"),s&&(f=s.filter(function(e){return"now"===e||f.indexOf(e)>=0})),f),S=r.round||t.round,x=function(e){if(Array.isArray(e))return e}(p=function(e,t,r){var n,o,a=r.now,i=r.future,u=r.round,s=r.units,l=r.getNextStep,c=function(e,t,r){var n=r.now,o=r.future,a=r.round;if(0!==e.length){var i=function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=W(t[o],function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?B(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({prevStep:t[o-1],timestamp:n.now-1e3*r},n));return void 0===a||Math.abs(r)<a?o-1:o===t.length-1?o:e(t,r,n,o+1)}(e,t,{now:n,future:o||t<0,round:a});if(-1!==i){var u=e[i];return u.granularity&&0==q(a)(Math.abs(t)/z(u)/u.granularity)*u.granularity&&i>0?e[i-1]:u}}}((n=e,o=s,e=n.filter(function(e){var t=e.unit,r=e.formatAs;return!(t=t||r)||o.indexOf(t)>=0})),t,{now:a,future:i,round:u});if(l){if(c){var f=e[e.indexOf(c)-1],p=e[e.indexOf(c)+1];return[f,c,p]}return[void 0,void 0,e[0]]}return c}(t.gradation||t.steps||Z.steps,g,{now:m,units:j,round:S,future:v,getNextStep:!0}))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],a=!0,i=!1;try{for(n=n.call(e);!(a=(t=n.next()).done)&&(o.push(t.value),3!==o.length);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(i)throw r}}return o}}(p)||eD(p,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),P=x[0],k=x[1],E=x[2],T=this.formatDateForStep(d,k,g,{labels:y,labelsType:b,nowLabel:w,now:m,future:v,round:S})||"";return r.getTimeToNextUpdate?[T,function(e,t,r){var n,o=r.prevStep,a=r.nextStep,i=r.now,u=r.future,s=r.round,l=e.getTime?e.getTime():e,c=function(e){return function(e,t,r){var n=r.now,o=r.round;if(V(e)){var a,i,u,s,l=1e3*V(e),c=Math.abs(t-n),f=q(o)(c/l)*l;if(t>n)if(!(f>0))return c-f+1;else{return c-f+(a=o,i=l,(1-U(a))*i+1)}return-(c-f)+(u=o,s=l,U(u)*s)}}(e,l,{now:i,round:s})},f=function(e,t,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep;if(e){var u=function(e,t,r){var n=r.now,o=r.future,a=W(e,{timestamp:t,now:n,future:o,round:r.round,prevStep:r.prevStep});if(void 0!==a)if(o)return t-1e3*a+1;else return 0===a&&t===n?31536e9:t+1e3*a}(e,t,{now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return u-n}return o?t-n+1:31536e9}(u?t:a,l,{future:u,now:i,round:s,prevStep:u?o:t});if(void 0!==f){if(t&&(t.getTimeToNextUpdate&&(n=t.getTimeToNextUpdate(l,{getTimeToNextUpdateForUnit:c,getRoundFunction:q,now:i,future:u,round:s})),void 0===n)){var p=t.unit||t.formatAs;p&&(n=c(p))}return void 0===n?f:Math.min(n,f)}}(d,k,{nextStep:E,prevStep:P,now:m,future:v,round:S})]:T}},{key:"formatDateForStep",value:function(e,t,r,n){var o=this,a=n.labels,i=n.labelsType,u=n.nowLabel,s=n.now,l=n.future,c=n.round;if(t){if(t.format)return t.format(e,this.locale,{formatAs:function(e,t){return o.formatValue(t,e,{labels:a,future:l})},now:s,future:l});var f=t.unit||t.formatAs;if(!f)throw Error("[javascript-time-ago] Each step must define either `formatAs` or `format()`. Step: ".concat(JSON.stringify(t)));if("now"===f)return u;var p=Math.abs(r)/z(t);t.granularity&&(p=q(c)(p/t.granularity)*t.granularity);var m=-1*Math.sign(r)*q(c)(p);switch(0===m&&(m=l?0:-0),i){case"long":case"short":case"narrow":return this.getFormatter(i).format(m,f);default:return this.formatValue(m,f,{labels:a,future:l})}}}},{key:"formatValue",value:function(e,t,r){var n=r.labels,o=r.future;return this.getFormattingRule(n,t,e,{future:o}).replace("{0}",this.formatNumber(Math.abs(e)))}},{key:"getFormattingRule",value:function(e,t,r,n){var o=n.future;if(this.locale,"string"==typeof(e=e[t]))return e;var a=e[0===r?o?"future":"past":r<0?"past":"future"]||e;return"string"==typeof a?a:a[this.getPluralRules().select(Math.abs(r))]||a.other}},{key:"formatNumber",value:function(e){return this.numberFormat?this.numberFormat.format(e):String(e)}},{key:"getFormatter",value:function(e){return this.relativeTimeFormatCache.get(this.locale,e)||this.relativeTimeFormatCache.put(this.locale,e,new this.IntlRelativeTimeFormat(this.locale,{style:e}))}},{key:"getPluralRules",value:function(){return this.pluralRulesCache.get(this.locale)||this.pluralRulesCache.put(this.locale,new this.IntlPluralRules(this.locale))}},{key:"getLabels",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];"string"==typeof e&&(e=[e]),e=(e=e.map(function(e){switch(e){case"tiny":case"mini-time":return"mini";default:return e}})).concat("long");for(var t,r=H(this.locale),n=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=eD(e))){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(t=n()).done;){var o=t.value;if(r[o])return{labelsType:o,labels:r[o]}}}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),eL="en";eN.getDefaultLocale=function(){return eL},eN.setDefaultLocale=function(e){return eL=e},eN.addDefaultLocale=function(e){if(r)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");r=!0,eN.setDefaultLocale(e.locale),eN.addLocale(e)},eN.addLocale=function(e){K(e),D.addLocale(e)},eN.locale=eN.addLocale,eN.addLabels=function(e,t,r){var n=H(e);n||(K({locale:e}),n=H(e)),n[t]=r};var eI=e.i(351443),eM=e.i(845737);e.s(["ERROR_REVALIDATE_EVENT",0,3,"FOCUS_EVENT",0,0,"MUTATE_EVENT",0,2,"RECONNECT_EVENT",0,1],291483);var e_=Object.prototype.hasOwnProperty;let eF=new WeakMap,eC=()=>{},eV=eC(),ez=Object,eq=e=>e===eV,eU=(e,t)=>({...e,...t}),e$={},eW={},eY="undefined",eB=typeof window!=eY,eJ=typeof document!=eY,eH=eB&&"Deno"in window,eK=(e,t)=>{let r=eF.get(e);return[()=>!eq(t)&&e.get(t)||e$,n=>{if(!eq(t)){let o=e.get(t);t in eW||(eW[t]=o),r[5](t,eU(o,n),o||e$)}},r[6],()=>!eq(t)&&t in eW?eW[t]:!eq(t)&&e.get(t)||e$]},eG=!0,[eX,eQ]=eB&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[eC,eC],eZ={initFocus:e=>(eJ&&document.addEventListener("visibilitychange",e),eX("focus",e),()=>{eJ&&document.removeEventListener("visibilitychange",e),eQ("focus",e)}),initReconnect:e=>{let t=()=>{eG=!0,e()},r=()=>{eG=!1};
1return eX("online",t),eX("offline",r),()=>{eQ("online",t),eQ("offline",r)}}},e0=!o.default.useId,e1=!eB||eH,e2=e1?o.useEffect:o.useLayoutEffect,e3="u">typeof navigator&&navigator.connection,e4=!e1&&e3&&(["slow-2g","2g"].includes(e3.effectiveType)||e3.saveData),e6=new WeakMap,e5=(e,t)=>ez.prototype.toString.call(e)===`[object ${t}]`,e9=0,e8=e=>{let t,r,n=typeof e,o=e5(e,"Date"),a=e5(e,"RegExp"),i=e5(e,"Object");if(ez(e)!==e||o||a)t=o?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=e6.get(e))return t;if(t=++e9+"~",e6.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=e8(e[r])+",";e6.set(e,t)}if(i){t="#";let n=ez.keys(e).sort();for(;!eq(r=n.pop());)eq(e[r])||(t+=r+":"+e8(e[r])+",");e6.set(e,t)}}return t},e7=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?e8(e):"",t]},te=0,tt=()=>++te;async function tr(...e){let[t,r,n,o]=e,a=eU({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{}),i=a.populateCache,u=a.rollbackOnError,s=a.optimisticData,l=a.throwOnError;if("function"==typeof r){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(c))}return c(r);async function c(r){let o,[c]=e7(r);if(!c)return;let[f,p]=eK(t,c),[m,d,h,y]=eF.get(t),b=()=>{let e=m[c];return("function"==typeof a.revalidate?a.revalidate(f().data,r):!1!==a.revalidate)&&(delete h[c],delete y[c],e&&e[0])?e[0](2).then(()=>f().data):f().data};if(e.length<3)return b();let g=n,v=tt();d[c]=[v,0];let w=!eq(s),O=f(),j=O.data,S=O._c,x=eq(S)?j:S;if(w&&p({data:s="function"==typeof s?s(x,j):s,_c:x}),"function"==typeof g)try{g=g(x)}catch(e){o=e}if(g&&"function"==typeof g.then){let e;if(g=await g.catch(e=>{o=e}),v!==d[c][0]){if(o)throw o;return g}o&&w&&(e=o,"function"==typeof u?u(e):!1!==u)&&(i=!0,p({data:x,_c:eV}))}if(i&&!o&&("function"==typeof i?p({data:i(g,x),error:eV,_c:eV}):p({data:g,error:eV,_c:eV})),d[c][1]=tt(),Promise.resolve(b()).then(()=>{p({_c:eV})}),o){if(l)throw o;return}return g}}let tn=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},to=(e,t)=>{if(!eF.has(e)){let r=eU(eZ,t),n={},o=tr.bind(eV,e),a=eC,i={},u=(e,t)=>{let r=i[e]||[];return i[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},s=(t,r,n)=>{e.set(t,r);let o=i[t];if(o)for(let e of o)e(r,n)},l=()=>{if(!eF.has(e)&&(eF.set(e,[n,{},{},{},o,s,u]),!e1)){let t=r.initFocus(setTimeout.bind(eV,tn.bind(eV,n,0))),o=r.initReconnect(setTimeout.bind(eV,tn.bind(eV,n,1)));a=()=>{t&&t(),o&&o(),eF.delete(e)}}};return l(),[e,o,l,a]}return[e,eF.get(e)[4]]},[ta,ti]=to(new Map),tu=eU({onLoadingSlow:eC,onSuccess:eC,onError:eC,onErrorRetry:(e,t,r,n,o)=>{let a=r.errorRetryCount,i=o.retryCount,u=~~((Math.random()+.5)*(1<<(i<8?i:8)))*r.errorRetryInterval;(eq(a)||!(i>a))&&setTimeout(n,u,o)},onDiscarded:eC,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:e4?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:e4?5e3:3e3,compare:function e(t,r){var n,o;if(t===r)return!0;if(t&&r&&(n=t.constructor)===r.constructor){if(n===Date)return t.getTime()===r.getTime();if(n===RegExp)return t.toString()===r.toString();if(n===Array){if((o=t.length)===r.length)for(;o--&&e(t[o],r[o]););return -1===o}if(!n||"object"==typeof t){for(n in o=0,t)if(e_.call(t,n)&&++o&&!e_.call(r,n)||!(n in r)||!e(t[n],r[n]))return!1;return Object.keys(r).length===o}}return t!=t&&r!=r},isPaused:()=>!1,cache:ta,mutate:ti,fallback:{}},{isOnline:()=>eG,isVisible:()=>{let e=eJ&&document.visibilityState;return eq(e)||"hidden"!==e}}),ts=(e,t)=>{let r=eU(e,t);if(t){let{use:n,fallback:o}=e,{use:a,fallback:i}=t;n&&a&&(r.use=n.concat(a)),o&&i&&(r.fallback=eU(o,i))}return r},tl=(0,o.createContext)({});var tc=e.i(291483);let tf=eB&&window.__SWR_DEVTOOLS_USE__,tp=tf?window.__SWR_DEVTOOLS_USE__:[],tm=()=>eU(tu,(0,o.useContext)(tl)),td=tp.concat(e=>(t,r,n)=>{let o=r&&((...e)=>{let[n]=e7(t),[,,,o]=eF.get(ta);if(n.startsWith("$inf$"))return r(...e);let a=o[n];return eq(a)?r(...e):(delete o[n],a)});return e(t,o,n)});tf&&(window.__SWR_DEVTOOLS_REACT__=o.default);let th=()=>{},ty=th(),tb=(new WeakMap,o.default.use||(e=>
1{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}})),tg={dedupe:!0};ez.defineProperty(e=>{let{value:t}=e,r=(0,o.useContext)(tl),n="function"==typeof t,a=(0,o.useMemo)(()=>n?t(r):t,[n,r,t]),i=(0,o.useMemo)(()=>n?a:ts(r,a),[n,r,a]),u=a&&a.provider,s=(0,o.useRef)(eV);u&&!s.current&&(s.current=to(u(i.cache||ta),a));let l=s.current;return l&&(i.cache=l[0],i.mutate=l[1]),e2(()=>{if(l)return l[2]&&l[2](),l[3]},[]),(0,o.createElement)(tl.Provider,eU(e,{value:i}))},"defaultValue",{value:tu});let tv=(t=(e,t,r)=>{let{cache:n,compare:a,suspense:i,fallbackData:u,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:c,refreshWhenHidden:f,refreshWhenOffline:p,keepPreviousData:m}=r,[d,h,y,b]=eF.get(n),[g,v]=e7(e),w=(0,o.useRef)(!1),O=(0,o.useRef)(!1),j=(0,o.useRef)(g),S=(0,o.useRef)(t),x=(0,o.useRef)(r),P=()=>x.current.isVisible()&&x.current.isOnline(),[k,E,T,A]=eK(n,g),D=(0,o.useRef)({}).current,R=eq(u)?eq(r.fallback)?eV:r.fallback[g]:u,N=(e,t)=>{for(let r in D)if("data"===r){if(!a(e[r],t[r])&&(!eq(e[r])||!a(q,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,o.useMemo)(()=>{let e=!!g&&!!t&&(eq(s)?!x.current.isPaused()&&!i&&!1!==l:s),r=t=>{let r=eU(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=k(),o=A(),a=r(n),u=n===o?a:r(o),c=a;return[()=>{let e=r(k());return N(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>u]},[n,g]),I=(0,eM.useSyncExternalStore)((0,o.useCallback)(e=>T(g,(t,r)=>{N(r,t)||e()}),[n,g]),L[0],L[1]),M=!w.current,_=d[g]&&d[g].length>0,F=I.data,C=eq(F)?R&&"function"==typeof R.then?tb(R):R:F,V=I.error,z=(0,o.useRef)(C),q=m?eq(F)?eq(z.current)?C:z.current:F:C,U=(!_||!!eq(V))&&(M&&!eq(s)?s:!x.current.isPaused()&&(i?!eq(C)&&l:eq(C)||l)),$=!!(g&&t&&M&&U),W=eq(I.isValidating)?$:I.isValidating,Y=eq(I.isLoading)?$:I.isLoading,B=(0,o.useCallback)(async e=>{let t,n,o=S.current;if(!g||!o||O.current||x.current.isPaused())return!1;let i=!0,u=e||{},s=!y[g]||!u.dedupe,l=()=>e0?!O.current&&g===j.current&&w.current:g===j.current,c={isValidating:!1,isLoading:!1},f=()=>{E(c)},p=()=>{let e=y[g];e&&e[1]===n&&delete y[g]},m={isValidating:!0};eq(k().data)&&(m.isLoading=!0);try{if(s&&(E(m),r.loadingTimeout&&eq(k().data)&&setTimeout(()=>{i&&l()&&x.current.onLoadingSlow(g,r)},r.loadingTimeout),y[g]=[o(v),tt()]),[t,n]=y[g],t=await t,s&&setTimeout(p,r.dedupingInterval),!y[g]||y[g][1]!==n)return s&&l()&&x.current.onDiscarded(g),!1;c.error=eV;let e=h[g];if(!eq(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),s&&l()&&x.current.onDiscarded(g),!1;let u=k().data;c.data=a(u,t)?u:t,s&&l()&&x.current.onSuccess(t,g,r)}catch(r){p();let e=x.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,s&&l())&&(e.onError(r,g,e),(!0===t||"function"==typeof t&&t(r))&&(!x.current.revalidateOnFocus||!x.current.revalidateOnReconnect||P())&&e.onErrorRetry(r,g,e,e=>{let t=d[g];t&&t[0]&&t[0](tc.ERROR_REVALIDATE_EVENT,e)},{retryCount:(u.retryCount||0)+1,dedupe:!0}))}return i=!1,f(),!0},[g,n]),J=(0,o.useCallback)((...e)=>tr(n,j.current,...e),[]);if(e2(()=>{S.current=t,x.current=r,eq(F)||(z.current=F)}),e2(()=>{var e;let t;if(!g)return;let r=B.bind(eV,tg),n=0,o=(e=(e,t={})=>{if(e==tc.FOCUS_EVENT){let e=Date.now();x.current.revalidateOnFocus&&e>n&&P()&&(n=e+x.current.focusThrottleInterval,r())}else if(e==tc.RECONNECT_EVENT)x.current.revalidateOnReconnect&&P()&&r();else if(e==tc.MUTATE_EVENT)return B();else if(e==tc.ERROR_REVALIDATE_EVENT)return B(t)},(t=d[g]||(d[g]=[])).push(e),()=>{let r=t.indexOf(e);r>=0&&(t[r]=t[t.length-1],t.pop())});if(O.current=!1,j.current=g,w.current=!0,E({_k:v}),U)if(eq(C)||e1)r();else eB&&typeof window.requestAnimationFrame!=eY?window.requestAnimationFrame(r):setTimeout(r,1);return()=>{O.current=!0,o()}},[g]),e2(()=>{let e;function t(){let t="function"==typeof c?c(k().data):c;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!k().error&&(f||x.current.isVisible())&&(p||x.current.isOnline())?B(tg).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[c,f,p,g]),(0,o.useDebugValue)(q),i&&eq(C)&&g){if(!e0&&e1)throw Error("Fallback data is required when using Suspense in SSR.");S.current=t,x.current=r,O.current=!1;let e=b[g];if(eq(e)||tb(J(e)),eq(V)){let e=B(tg);eq(q)||(e.status="fulfilled",e.value=!0),tb(e)}else throw V}return{mutate:J,get data(){return D.data=!0,q},get error(){return D.error=!0,V},get isValidating(){return D.isValidating=!0,W},get isLoading(){return D.isLoading=!0,Y}}},function(...e){let r=tm(),[n,o,a]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],i=ts(r,a),u=t,{use:s}=i,l=(s||[]).concat(td);for(let e=l.length;e--;)u=l[e](u);return u(n,o||i.fetcher||null,i)});var tw=e.i(302107);eN.addDefaultLocale({locale:"en",long:{year:{previous:"last year",current:"this year",next:"next year",past:{one:"{0} year ago",other:"{0} years ago"},future:{one:"in {0} year",other:"in {0} years"}},quarter:{previous:"last quarter",current:"this quarter",next:"next quarter",past:{one:"{0} quarter ago",other:"{0} quarters ago"},future:{one:"in {0} quarter",other:"in {0} quarters"}},month:{previous:"last month",current:"this month",next:"next month",past:{one:"{0} month ago",other:"{0} months ago"},future:{one:"in {0} month",other:"in {0} months"}},week:{previous:"last week",current:"this week",next:"next week",past:{one:"{0} week ago",other:"{0} weeks ago"},future:{one:"in {0} week",other:"in {0} weeks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:{one:"{0} hour ago",other:"{0} hours ago"},future:{one:"in {0} hour",other:"in {0} hours"}},minute:{current:"this minute",past:{one:"{0} minute ago",other:"{0} minutes ago"},future:{one:"in {0} minute",other:"in {0} minutes"}},second:{current:"now",past:{one:"{0} second ago",other:"{0} seconds ago"},future:{one:"in {0} second",other:"in {0} seconds"}}},short:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0} yr. ago",future:"in {0} yr."},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},future:{one:"in {0} qtr.",other:"in {0} qtrs."}},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0} mo. ago",future:"in {0} mo."},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0} wk. ago",future:"in {0} wk."},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:"{0} hr. ago",future:"in {0} hr."},minute:{current:"this minute",past:"{0} min. ago",future:"in {0} min."},second:{current:"now",past:"{0} sec. ago",future:"in {0} sec."}},narrow:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0}y ago",future:"in {0}y"},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:"{0}q ago",future:"in {0}q"},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0}mo ago",future:"in {0}mo"},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0}w ago",future:"in {0}w"},day:{previous:"yesterday",current:"today",next:"tomorrow",past:"{0}d ago",future:"in {0}d"},hour:{current:"this hour",past:"{0}h ago",future:"in {0}h"},minute:{current:"this minute",past:"{0}m ago",future:"in {0}m"},second:{current:"now",past:"{0}s ago",future:"in {0}s"}},now:{now:{current:"now",future:"in a moment",past:"just now"}},mini:{year:"{0}
1yr",month:"{0}mo",week:"{0}wk",day:"{0}d",hour:"{0}h",minute:"{0}m",second:"{0}s",now:"now"},"short-time":{year:"{0} yr.",month:"{0} mo.",week:"{0} wk.",day:{one:"{0} day",other:"{0} days"},hour:"{0} hr.",minute:"{0} min.",second:"{0} sec."},"long-time":{year:{one:"{0} year",other:"{0} years"},month:{one:"{0} month",other:"{0} months"},week:{one:"{0} week",other:"{0} weeks"},day:{one:"{0} day",other:"{0} days"},hour:{one:"{0} hour",other:"{0} hours"},minute:{one:"{0} minute",other:"{0} minutes"},second:{one:"{0} second",other:"{0} seconds"}}});let tO=new eN("en-US"),tj=e=>{let{top:t}=e.getBoundingClientRect();return t<window.innerHeight/2},tS=()=>(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("path",{d:"M12 4.75V6.25"}),(0,n.jsx)("path",{d:"M17.1266 6.87347L16.0659 7.93413"}),(0,n.jsx)("path",{d:"M19.25 12L17.75 12"}),(0,n.jsx)("path",{d:"M17.1266 17.1265L16.0659 16.0659"}),(0,n.jsx)("path",{d:"M12 17.75V19.25"}),(0,n.jsx)("path",{d:"M7.9342 16.0659L6.87354 17.1265"}),(0,n.jsx)("path",{d:"M6.25 12L4.75 12"}),(0,n.jsx)("path",{d:"M7.9342 7.93413L6.87354 6.87347"})]});function tx({index:e}){let t,r=(0,l.useSession)(),u=(t=(0,tw.usePathname)().split("/svg-paths/")[1])?`${t}-${e}`:`index-${e}`,[s,f]=o.default.useState(!1),{data:p}=tv(`/api/comments?location=${encodeURIComponent(u)}`,e=>fetch(e).then(e=>e.json()));return(0,n.jsxs)(eI.motion.div,{animate:{opacity:+!!p},initial:{opacity:0}
1,className:"relative max-w-[60ch] w-full mx-auto",children:[(0,n.jsxs)("button",{className:"text-sm text-gray11 font-semibold",onClick:()=>f(!s),children:["Comments ",p?.length?`(${p.length})`:""]}),s&&(0,n.jsxs)(eI.motion.ul,{className:"divide-y divide-gray6 bg-gray3 rounded-md border border-gray8",animate:{scale:1,opacity:1},initial:{scale:.96,opacity:0},exit:{scale:.96,opacity:0},style:{originX:0,originY:0},transition:{type:"spring",bounce:0,duration:.15},children:[p?.map(e=>(0,n.jsxs)("li",{className:(0,i.clsx)("p-4 space-y-1","optimistic"===e.id&&"text-gray10"),children:[(0,n.jsxs)("header",{className:"flex gap-2 items-center",children:[(0,n.jsx)("div",{className:"w-6 h-6 bg-gray10 rounded-full shrink-0",children:(0,n.jsx)(c.default,{width:"24",height:"24",className:"rounded-full",src:e.author.picture,alt:e.author.username})}),(0,n.jsx)("p",{className:"font-bold",children:e.author.username}),(0,n.jsx)("p",{className:"text-sm text-gray11",children:tO.format(new Date(e.created_at))}),"optimistic"===e.id&&(0,n.jsx)("div",{className:"ml-auto animate-spin",children:(0,n.jsx)(tS,{})})]}),(0,n.jsx)("p",{children:e.content})]},e.id)),(0,n.jsx)("li",{className:"p-4 space-y-2",children:r?.user?(0,n.jsx)(tP,{user:r.user,location:u}):(0,n.jsx)("button",{className:"py-1 px-2 bg-gray12 text-gray1 font-semibold text-sm rounded-md",onClick:()=>(0,a.signIn)("github"),children:"Login with GitHub"})})]})]})}function tP({user:e,location:t}){let r=(0,l.useSession)(),{mutate:o}=tm();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("header",{className:"flex gap-2 items-center",children:[(0,n.jsx)(c.default,{width:"24",height:"24",className:"rounded-full shrink-0",src:e.image,alt:e.username}),(0,n.jsx)("p",{className:"font-bold",children:e.username})]}),(0,n.jsxs)("form",{className:"gap-2 flex flex-col items-end",onSubmit:async n=>{n.preventDefault();let a=n.currentTarget.elements.namedItem("content").value;n.currentTarget.reset(),o(`/api/comments?location=${encodeURIComponent(t)}`,fetch("/api/comments",{method:"POST",headers:{Authorization:`Bearer ${r?.access_token}`,"Content-Type":"application/json"},body:JSON.stringify({location:t,content:a})}).then(e=>e.json()),{optimisticData:r=>[...r,{id:"optimistic",location:t,content:a,created_at:new Date().toISOString(),author:{username:e.username,picture:e.image}}],rollbackOnError:!0})},children:[(0,n.jsxs)("label",{className:"w-full block",children:[(0,n.jsx)("span",{className:"sr-only",children:"Comment"}),(0,n.jsx)("textarea",{className:"w-full block bg-gray4 border-gray6 border rounded-[4px] p-2 min-h-[100px]",placeholder:"Add your comment here...",name:"content"})]}),(0,n.jsx)("button",{type:"submit",className:"text-gray1 bg-gray12 font-semibold text-sm px-2 py-1 rounded-md",children:"Add Comment"})]})]})}e.s(["PageSection",0,function({index:e,children:t}){let r=o.default.useRef(null),{set:a}=(0,u.useIndexContext)();return o.default.useEffect(()=>{r.current&&tj(r.current)&&a(e)},[e,a]),o.default.useEffect(()=>{let t=()=>{r.current&&tj(r.current)&&a(e)};return window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[e,a]),(0,n.jsxs)("section",{ref:r,className:(0,i.clsx)(s.default.section,"group relative px-8 pb-8 max-w-[100vw] lg:px-16","gap-y-6 lg:space-y-[1.5em] lg:min-h-[50vh]","grid grid-cols-[1fr_min(100%,60ch)_1fr] lg:block"),children:[(0,n.jsx)("hr",{className:"border-gray8 border-dashed mb-10 lg:mb-16 group-first-of-type:hidden"}),t,(0,n.jsx)(tx,{index:e})]})}],799420)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.