PageSourceSearch

https://www.mage.space/_next/static/chunks/9635-20d646fd39143104.js?dpl=dpl_5X7ShCSKzbbFJjqwsApJzaQ5mHdE

js mage.space collected 2026-09-24 19:37:04 UTC 41,720 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0b0cc10b-119f-41db-9305-0c5c9a032a41",e._sentryDebugIdIdentifier="sentry-dbid-0b0cc10b-119f-41db-9305-0c5c9a032a41")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9635],{2045:(e,t,r)=>{r.d(t,{A:()=>n});let n={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}yr",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"}}}},40837:(e,t,r)=>{r.d(t,{U:()=>i,x:()=>a});var n=r(12115);let o=(0,n.createContext)(null),a=o.Provider,i=()=>(0,n.useContext)(o)},50125:(e,t,r)=>{r.d(t,{A:()=>n});var n=(0,r(86467).A)("outline","tool","IconTool",[["path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5",key:"svg-0"}]])},56470:(e,t,r)=>{r.d(t,{SwitchGroup:()=>f});var n=r(95155),o=r(57613);r(12115);var a=r(43664),i=r(36960),u=r(54853),s=r(32918),c=r(40837);let l={},f=(0,i.factory)((e,t)=>{let{value:r,defaultValue:i,onChange:f,size:p,wrapperProps:h,children:y,readOnly:m,...b}=(0,a.useProps)("SwitchGroup",l,e),[d,v]=(0,o.useUncontrolled)({value:r,defaultValue:i,finalValue:[],onChange:f});return(0,n.jsx)(c.x,{value:{value:d,onChange:e=>{let t=e.currentTarget.value;m||v(d.includes(t)?d.filter(e=>e!==t):[...d,t])},size:p},children:(0,n.jsx)(u.Input.Wrapper,{size:p,ref:t,...h,...b,labelElement:"div",__staticSelector:"SwitchGroup",children:(0,n.jsx)(s.F,{role:"group",children:y})})})});f.classes=u.Input.Wrapper.classes,f.displayName="@mantine/core/SwitchGroup"},61019:(e,t,r)=>{r.d(t,{A:()=>n});var n=(0,r(86467).A)("outline","minus","IconMinus",[["path",{d:"M5 12l14 0",key:"svg-0"}]])},66121:(e,t,r)=>{r.d(t,{Switch:()=>w});var n=r(95155),o=r(64173),a=r(57613);r(12115);var i=r(56204),u=r(68918),s=r(71180),c=r(43664),l=r(53791),f=r(99537),p=r(69604),h=r(36960),y=r(44598),m=r(40837),b=r(56470),d={root:"m_5f93f3bb",input:"m_926b4011",track:"m_9307d992",thumb:"m_93039a1d",trackLabel:"m_8277e082"};let v={labelPosition:"right"},g=(0,u.createVarsResolver)((e,t)=>{let{radius:r,color:n,size:o}=t;return{root:{"--switch-radius":void 0===r?void 0:(0,i.getRadius)(r),"--switch-height":(0,i.getSize)(o,"switch-height"),"--switch-width":(0,i.getSize)(o,"switch-width"),"
1--switch-thumb-size":(0,i.getSize)(o,"switch-thumb-size"),"--switch-label-font-size":(0,i.getSize)(o,"switch-label-font-size"),"--switch-track-label-padding":(0,i.getSize)(o,"switch-track-label-padding"),"--switch-color":n?(0,s.getThemeColor)(n,e):void 0}}}),w=(0,h.factory)((e,t)=>{var r;let i=(0,c.useProps)("Switch",v,e),{classNames:u,className:s,style:h,styles:b,unstyled:w,vars:O,color:j,label:S,offLabel:P,onLabel:k,id:A,size:x,radius:D,wrapperProps:T,children:E,thumbIcon:I,checked:z,defaultChecked:N,onChange:M,labelPosition:F,description:R,error:L,disabled:C,variant:q,rootRef:_,mod:U,...V}=i,G=(0,m.U)(),$=x||(null==G?void 0:G.size),Y=(0,l.useStyles)({name:"Switch",props:i,classes:d,className:s,style:h,classNames:u,styles:b,unstyled:w,vars:O,varsResolver:g}),{styleProps:B,rest:J}=(0,f.extractStyleProps)(V),W=(0,o.useId)(A),H=G?{checked:G.value.includes(J.value),onChange:G.onChange}:{},[K,Q]=(0,a.useUncontrolled)({value:null!==(r=H.checked)&&void 0!==r?r:z,defaultValue:N,finalValue:!1});return(0,n.jsxs)(y.I,{...Y("root"),__staticSelector:"Switch",__stylesApiProps:i,id:W,size:$,labelPosition:F,label:S,description:R,error:L,disabled:C,bodyElement:"label",labelElement:"span",classNames:u,styles:b,unstyled:w,"data-checked":H.checked||void 0,variant:q,ref:_,mod:U,...B,...T,children:[(0,n.jsx)("input",{...J,disabled:C,checked:K,onChange:e=>{var t;G?null===(t=H.onChange)||void 0===t||t.call(H,e):null==M||M(e),Q(e.currentTarget.checked)},id:W,ref:t,type:"checkbox",role:"switch",...Y("input")}),(0,n.jsxs)(p.Box,{"aria-hidden":"true",mod:{error:L,"label-position":F},...Y("track"),children:[(0,n.jsx)(p.Box,{component:"span",mod:"reduce-motion",...Y("thumb"),children:I}),(0,n.jsx)("span",{...Y("trackLabel"),children:K?k:P})]})]})});w.classes={...d,...y.M},w.displayName="@mantine/core/Switch",w.Group=b.SwitchGroup},69089:(e,t,r)=>{r.d(t,{A:()=>ek});var n,o="en",a={},i={};function u(e){return a[e]?e:i[e.toLowerCase()]?i[e.toLowerCase()]:void 0}function s(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=u(n);if(o)return o;for(var a=n.split("-");n.length>1;){a.pop();var i=u(n=a.join("-"));if(i)return i}return;default:throw RangeError('Invalid "localeMatcher" option: '.concat(r))}}var c={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>
1=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);return 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 l(e){return"pt-PT"===e?e:function(e){var t=e.match(f);if(!t)throw TypeError("Invalid locale: ".concat(e));return t[1]}(e)}c.as=c.am,c.az=c.af,c.bg=c.af,c.bn=c.am,c.brx=c.af,c.ce=c.af,c.chr=c.af,c.de=c.ast,c.ee=c.af,c.el=c.af,c.en=c.ast,c.et=c.ast,c.eu=c.af,c.fa=c.am,c.fi=c.ast,c.fil=c.ceb,c.fo=c.af,c.fur=c.af,c.fy=c.ast,c.gl=c.ast,c.gu=c.am,c.ha=c.af,c.hi=c.am,c.hr=c.bs,c.hsb=c.dsb,c.hu=c.af,c.hy=c.ff,c.ia=c.ast,c.id=c.dz,c.ig=c.dz,c.it=c.ca,c.ja=c.dz,c.jgo=c.af,c.jv=c.dz,c.ka=c.af,c.kea=c.dz,c.kk=c.af,c.kl=c.af,c.km=c.dz,c.kn=c.am,c.ko=c.dz,c.ks=c.af,c.ku=c.af,c.ky=c.af,c.lb=c.af,c.lkt=c.dz,c.lo=c.dz,c.ml=c.af,c.mn=c.af,c.mr=c.af,c.ms=c.dz,c.my=c.dz,c.nb=c.af,c.ne=c.af,c.nl=c.ast,c.nn=c.af,c.no=c.af,c.or=c.af,c.pcm=c.am,c.ps=c.af,c.rm=c.af,c.sah=c.dz,c.sc=c.ast,c.sd=c.af,c.sk=c.cs,c.so=c.af,c.sq=c.af,c.sr=c.bs,c.su=c.dz,c.sv=c.ast,c.sw=c.ast,c.ta=c.af,c.te=c.af,c.th=c.dz,c.ti=c.pa,c.tk=c.af,c.to=c.dz,c.tr=c.af,c.ug=c.af,c.uk=c.ru,c.ur=c.ast,c.uz=c.af,c.vi=c.dz,c.wae=c.af,c.wo=c.dz,c.xh=c.af,c.yi=c.ast,c.yo=c.dz,c.yue=c.dz,c.zh=c.dz,c.zu=c.am;var f=/^([a-z0-9]+)/i;function p(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 h=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.$=c[l(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 c[l(e)]})}}],e&&p(r.prototype,e),t&&p(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();function y(e){return(y="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 m(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 b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?m(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)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=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 v(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 v(e,t)}}(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 v(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 g=["second","minute","hour","day","week","month","quarter","year"],w=["auto","always"],O=["long","short","narrow"],j=["lookup","best fit"],S=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,a=r.style,i=r.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",void 0!==n){if(0>w.indexOf(n))throw RangeError('Invalid "numeric" option: '.concat(n));this.numeric=n}if(void 0!==a){if(0>O.indexOf(a))throw RangeError('Invalid "style" option: '.concat(a));this.style=a}if(void 0!==i){if(0>j.indexOf(i))throw RangeError('Invalid "localeMatcher" option: '.concat(i));this.localeMatcher=i}if("string"==typeof e&&(e=[e]),e.push(o),this.locale=t.supportedLocalesOf(e,{localeMatcher:this.localeMatcher})[0],!this.locale)throw Error("No supported locale was found");h.supportedLocalesOf(this.locale).length>0?this.pluralRules=new h(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),"undefined"!=typeof Intl&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=s(this.locale,{localeMatcher:this.localeMatcher})}return e=[{key:"format",value:function(){var e=k(arguments),t=d(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=k(arguments),t=d(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 b(b({},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=a[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 i=n["next".concat(1===e?"":"-"+Math.abs(e))];if(i)return i}else if(0===e&&n.current)return n.current}var u=n[(r=e)<0||0===r&&1/r==-1/0?"past":"future"];return"string"==typeof u?u:u[this.pluralRules&&this.pluralRules.select(Math.abs(e))||"other"]||u.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}();S.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 s(e,t)})},S.addLocale=function(e){if(!e)throw Error("No locale data passed");a[e.locale]=e,i[e.locale.toLowerCase()]=e.locale},S.setDefaultLocale=function(e){o=e},S.getDefaultLocale=function(){return o},S.PluralRules=h;var P='Invalid "unit" argument';function k(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"===y(e))throw TypeError(P);if("string"!=typeof e||("s"===e[e.length-1]&&(e=e.slice(0,e.length-1)),0>g.indexOf(e)))throw RangeError("".concat(P,": ").concat(e));return e}(e[1])]}function A(e){return(A="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 x=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"!==A(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"!==A(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 D(e){return(D="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 T(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 E(e){return(E="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={}.constructor;function z(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 N(e){return void 0!==e.factor?e.factor:z(e.unit||e.formatAs)||1}function M(e){return"floor"===e?Math.floor:Math.round}function F(e){return"floor"===e?1:.5}function R(e){return(R="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 L(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)&&(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 C(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=C(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 C(e,t,r){var n,o=r.round,a=z(e);if(n="now"===t?z(e):z(t),void 0!==a&&void 0!==n)return a-n*(1-F(o))}function q(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 _={};function U(e){return _[e]}function V(e){if(!e)throw Error("[javascript-time-ago] No locale data passed.");_[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 $(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 Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?$(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)):$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let B=Y(Y({},G),{},{steps:G.steps.filter(function(e){return"second"!==e.formatAs})}),J=[{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"}],W={gradation:J,flavour:"long",units:["now","minute","hour","day","week","month","year"]},H={gradation:J,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};function K(e){return e instanceof Date?e:new Date(e)}var Q=[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"}],X={};("undefined"==typeof Intl?"undefined":D(Intl))==="object"&&"function"==typeof Intl.DateTimeFormat?Q.push({minTime:function(e,t){return t.future,(0,t.getMinTimeForUnit)("day")},format:function(e,t){return X[t]||(X[t]={}),X[t].dayMonth||(X[t].dayMonth=new Intl.DateTimeFormat(t,{month:"short",day:"numeric"})),X[t].dayMonth.format(K(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 X[t]||(X[t]={}),X[t].dayMonthYear||(X[t].dayMonthYear=new Intl.DateTimeFormat(t,{year:"numeric",month:"short",day:"numeric"})),X[t].dayMonthYear.format(K(e))}}):Q.push({formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"});let Z={steps:Q,labels:["mini","short-time","narrow","short"]};function ee(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 et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(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)):ee(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let er=et(et({},Z),{},{steps:[{formatAs:"now"}].concat(Z.steps)});function en(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?en(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)):en(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let ea=eo(eo({},Z),{},{steps:Z.steps.filter(function(e){return"second"!==e.formatAs})});function ei(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 eu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ei(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)):ei(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let es=eu(eu({},ea),{},{steps:[{formatAs:"now"}].concat(ea.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 el(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 ef=el(el({},Z),{},{steps:Z.steps.filter(function(e){return"second"!==e.formatAs}).map(function(e){return"minute"===e.formatAs?el(el({},e),{},{minTime:60}):e})}),ep={steps:[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"month"},{formatAs:"year"}],labels:["mini","short-time","narrow","short"]};function eh(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 ey(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eh(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)):eh(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let em=ey(ey({},ep),{},{steps:[{formatAs:"now"}].concat(ep.steps)});function eb(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?eb(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)):eb(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let ev=ed(ed({},ep),{},{steps:ep.steps.filter(function(e){return"second"!==e.formatAs})});function eg(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 ew(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eg(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)):eg(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eO=ew(ew({},ev),{},{steps:[{formatAs:"now"}].concat(ev.steps)});function ej(e){return(ej="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 eS(e,t){if(e){if("string"==typeof e)return eP(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 eP(e,t)}}function eP(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 ek=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,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return T(e,void 0);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 T(e,t)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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()),U),"undefined"!=typeof Intl&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),!1===n?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=S,this.IntlPluralRules=S.PluralRules),this.relativeTimeFormatCache=new x,this.pluralRulesCache=new x}return e=[{key:"format",value:function(e,t,r){r||(t&&!function(e){var t;return"string"==typeof e||void 0!==E(t=e)&&null!==t&&t.constructor===I&&(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=B),"string"==typeof t&&(t=function(e){switch(e){case"default":case"round":return G;case"round-minute":return B;case"approximate":default:return W;case"time":case"approximate-time":return H;case"mini":return ep;case"mini-now":return em;case"mini-minute":return ev;case"mini-minute-now":return eO;case"twitter":return Z;case"twitter-now":return er;case"twitter-minute":return ea;case"twitter-minute-now":return es;case"twitter-first-minute":return ef}}
1(t));var n,o,a,i,u,s,c,l,f,p,h,y=function(e){var t;if(e.constructor===Date||"object"===ej(t=e)&&"function"==typeof t.getTime)return e.getTime();if("number"==typeof e)return e;throw Error("Unsupported relative time formatter input: ".concat(ej(e),", ").concat(e))}(e),m=this.getLabels(t.flavour||t.labels),b=m.labels,d=m.labelsType;void 0!==t.now&&(h=t.now),void 0===h&&void 0!==r.now&&(h=r.now),void 0===h&&(h=Date.now());var v=(h-y)/1e3,g=r.future||v<0,w=(n=b,o=U(this.locale).now,a=U(this.locale).long,i=g,(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:h,date:new Date(y),time:y,elapsed:v,locale:this.locale});if(void 0!==O)return O}var j=(s=t.units,c=b,l=w,f=Object.keys(c),l&&f.push("now"),s&&(f=s.filter(function(e){return"now"===e||f.indexOf(e)>=0})),f),S=r.round||t.round,P=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,c=r.getNextStep,l=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=L(t[o],function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?q(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)):q(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==M(a)(Math.abs(t)/N(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(c){if(l){var f=e[e.indexOf(l)-1],p=e[e.indexOf(l)+1];return[f,l,p]}return[void 0,void 0,e[0]]}return l}(t.gradation||t.steps||B.steps,v,{now:h,units:j,round:S,future:g,getNextStep:!0}))||function(e,t){var r,n,o=null==e?null:"undefined"!=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),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}}(p,3)||eS(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.")}(),k=P[0],A=P[1],x=P[2],D=this.formatDateForStep(y,A,v,{labels:b,labelsType:d,nowLabel:w,now:h,future:g,round:S})||"";return r.getTimeToNextUpdate?[D,function(e,t,r){var n,o=r.prevStep,a=r.nextStep,i=r.now,u=r.future,s=r.round,c=e.getTime?e.getTime():e,l=function(e){return function(e,t,r){var n=r.now,o=r.round;if(z(e)){var a,i,u,s,c=1e3*z(e),l=Math.abs(t-n),f=M(o)(l/c)*c;if(t>n)if(!(f>0))return l-f+1;else{return l-f+(a=o,i=c,(1-F(a))*i+1)}return-(l-f)+(u=o,s=c,F(u)*s)}}(e,c,{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=L(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,c,{future:u,now:i,round:s,prevStep:u?o:t});if(void 0!==f){if(t&&(t.getTimeToNextUpdate&&(n=t.getTimeToNextUpdate(c,{getTimeToNextUpdateForUnit:l,getRoundFunction:M,now:i,future:u,round:s})),void 0===n)){var p=t.unit||t.formatAs;p&&(n=l(p))}return void 0===n?f:Math.min(n,f)}}(y,A,{nextStep:x,prevStep:k,now:h,future:g,round:S})]:D}},{key:"formatDateForStep",value:function(e,t,r,n){var o=this,a=n.labels,i=n.labelsType,u=n.nowLabel,s=n.now,c=n.future,l=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:c})},now:s,future:c});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)/N(t);t.granularity&&(p=M(l)(p/t.granularity)*t.granularity);var h=-1*Math.sign(r)*M(l)(p);switch(0===h&&(h=c?0:-0),i){case"long":case"short":case"narrow":return this.getFormatter(i).format(h,f);default:return this.formatValue(h,f,{labels:a,future:c})}}}},{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=U(this.locale),n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=eS(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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}(),eA="en";ek.getDefaultLocale=function(){return eA},ek.setDefaultLocale=function(e){return eA=e},ek.addDefaultLocale=function(e){if(n)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");n=!0,ek.setDefaultLocale(e.locale),ek.addLocale(e)},ek.addLocale=function(e){V(e),S.addLocale(e)},ek.locale=ek.addLocale,ek.addLabels=function(e,t,r){var n=U(e);n||(V({locale:e}),n=U(e)),n[t]=r}}}]);

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.