KOTH_wordpress/wp_data/wp-includes/js/dist/date.min.js

12 lines
828 KiB
JavaScript
Raw Normal View History

2023-02-19 18:03:46 -05:00
/*! This file is auto-generated */
!function(){var b={7812:function(b,z,M){(b.exports=M(2828)).tz.load(M(1128))},9971:function(b,z,M){var p,O,A;//! moment-timezone-utils.js
//! version : 0.5.38
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
!function(c,q){"use strict";b.exports?b.exports=q(M(7812)):(O=[M(6292)],void 0===(A="function"==typeof(p=q)?p.apply(z,O):p)||(b.exports=A))}(0,(function(b){"use strict";if(!b.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var z="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX";function M(b,M){for(var p="",O=Math.abs(b),A=Math.floor(O),c=function(b,M){for(var p,O=".",A="";M>0;)M-=1,b*=60,p=Math.floor(b+1e-6),O+=z[p],b-=p,p&&(A+=O,O="");return A}(O-A,Math.min(~~M,10));A>0;)p=z[A%60]+p,A=Math.floor(A/60);return b<0&&(p="-"+p),p&&c?p+c:(c||"-"!==p)&&(p||c)||"0"}function p(b){var z,p=[],O=0;for(z=0;z<b.length-1;z++)p[z]=M(Math.round((b[z]-O)/1e3)/60,1),O=b[z];return p.join(" ")}function O(b){var z,p,O=0,A=[],c=[],q=[],o={};for(z=0;z<b.abbrs.length;z++)void 0===o[p=b.abbrs[z]+"|"+b.offsets[z]]&&(o[p]=O,A[O]=b.abbrs[z],c[O]=M(Math.round(60*b.offsets[z])/60,1),O++),q[z]=M(o[p],0);return A.join(" ")+"|"+c.join(" ")+"|"+q.join("")}function A(b){if(!b)return"";if(b<1e3)return b;var z=String(0|b).length-2;return Math.round(b/Math.pow(10,z))+"e"+z}function c(b){return function(b){if(!b.name)throw new Error("Missing name");if(!b.abbrs)throw new Error("Missing abbrs");if(!b.untils)throw new Error("Missing untils");if(!b.offsets)throw new Error("Missing offsets");if(b.offsets.length!==b.untils.length||b.offsets.length!==b.abbrs.length)throw new Error("Mismatched array lengths")}(b),[b.name,O(b),p(b.untils),A(b.population)].join("|")}function q(b){return[b.name,b.zones.join(" ")].join("|")}function o(b,z){var M;if(b.length!==z.length)return!1;for(M=0;M<b.length;M++)if(b[M]!==z[M])return!1;return!0}function W(b,z){return o(b.offsets,z.offsets)&&o(b.abbrs,z.abbrs)&&o(b.untils,z.untils)}function d(b,z){var M=[],p=[];return b.links&&(p=b.links.slice()),function(b,z,M,p){var O,A,c,q,o,d,n=[];for(O=0;O<b.length;O++){for(d=!1,c=b[O],A=0;A<n.length;A++)W(c,q=(o=n[A])[0])&&(c.population>q.population||c.population===q.population&&p&&p[c.name]?o.unshift(c):o.push(c),d=!0);d||n.push([c])}for(O=0;O<n.length;O++)for(o=n[O],z.push(o[0]),A=1;A<o.length;A++)M.push(o[0].name+"|"+o[A].name)}(b.zones,M,p,z),{version:b.version,zones:M,links:p.sort()}}function n(b,z,M){var p=Array.prototype.slice,O=function(b,z,M){var p,O,A=0,c=b.length+1;for(M||(M=z),z>M&&(O=z,z=M,M=O),O=0;O<b.length;O++)null!=b[O]&&((p=new Date(b[O]).getUTCFullYear())<z&&(A=O+1),p>M&&(c=Math.min(c,O+1)));return[A,c]}(b.untils,z,M),A=p.apply(b.untils,O);return A[A.length-1]=null,{name:b.name,abbrs:p.apply(b.abbrs,O),untils:A,offsets:p.apply(b.offsets,O),population:b.population,countries:b.countries}}return b.tz.pack=c,b.tz.packBase60=M,b.tz.createLinks=d,b.tz.filterYears=n,b.tz.filterLinkPack=function(b,z,M,p){var O,A,o=b.zones,W=[];for(O=0;O<o.length;O++)W[O]=n(o[O],z,M);for(A=d({zones:W,links:b.links.slice(),version:b.version},p),O=0;O<A.zones.length;O++)A.zones[O]=c(A.zones[O]);return A.countries=b.countries?b.countries.map((function(b){return q(b)})):[],A},b.tz.packCountry=q,b}))},2828:function(b,z,M){var p,O,A;//! moment-timezone.js
//! version : 0.5.38
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
!function(c,q){"use strict";b.exports?b.exports=q(M(6292)):(O=[M(6292)],void 0===(A="function"==typeof(p=q)?p.apply(z,O):p)||(b.exports=A))}(0,(function(b){"use strict";void 0===b.version&&b.default&&(b=b.default);var z,M={},p={},O={},A={},c={};b&&"string"==typeof b.version||C("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var q=b.version.split("."),o=+q[0],W=+q[1];function d(b){return b>96?b-87:b>64?b-29:b-48}function n(b){var z=0,M=b.split("."),p=M[0],O=M[1]||"",A=1,c=0,q=1;for(45===b.charCodeAt(0)&&(z=1,q=-1);z<p.length;z++)c=60*c+d(p.charCodeAt(z));for(z=0;z<O.length;z++)A/=60,c+=d(O.charCodeAt(z))*A;return c*q}function R(b){for(var z=0;z<b.length;z++)b[z]=n(b[z])}function X(b,z){var M,p=[];for(M=0;M<z.length;M++)p[M]=b[z[M]];return p}function B(b){var z=b.split("|"),M=z[2].split(" "),p=z[3].split(""),O=z[4].split(" ");return R(M),R(p),R(O),function(b,z){for(var M=0;M<z;M++)b[M]=Math.round((b[M-1]||0)+6e4*b[M]);b[z-1]=1/0}(O,p.length),{name:z[0],abbrs:X(z[1].split(" "),p),offsets:X(M,p),untils:O,population:0|z[5]}}function a(b){b&&this._set(B(b))}function L(b,z){this.name=b,this.zones=z}function f(b){var z=b.toTimeString(),M=z.match(/\([a-z ]+\)/i);"GMT"===(M=M&&M[0]?(M=M[0].match(/[A-Z]/g))?M.join(""):void 0:(M=z.match(/[A-Z]{3,5}/g))?M[0]:void 0)&&(M=void 0),this.at=+b,this.abbr=M,this.offset=b.getTimezoneOffset()}function i(b){this.zone=b,this.offsetScore=0,this.abbrScore=0}function N(b,z){for(var M,p;p=6e4*((z.at-b.at)/12e4|0);)(M=new f(new Date(b.at+p))).offset===b.offset?b=M:z=M;return b}function l(b,z){return b.offsetScore!==z.offsetScore?b.offsetScore-z.offsetScore:b.abbrScore!==z.abbrScore?b.abbrScore-z.abbrScore:b.zone.population!==z.zone.population?z.zone.population-b.zone.population:z.zone.name.localeCompare(b.zone.name)}function e(b,z){var M,p;for(R(z),M=0;M<z.length;M++)p=z[M],c[p]=c[p]||{},c[p][b]=!0}function u(b){var z,M,p,O=b.length,q={},o=[];for(z=0;z<O;z++)for(M in p=c[b[z].offset]||{})p.hasOwnProperty(M)&&(q[M]=!0);for(z in q)q.hasOwnProperty(z)&&o.push(A[z]);return o}function r(){try{var b=Intl.DateTimeFormat().resolvedOptions().timeZone;if(b&&b.length>3){var z=A[t(b)];if(z)return z;C("Moment Timezone found "+b+" from the Intl api, but did not have that data loaded.")}}catch(b){}var M,p,O,c=function(){var b,z,M,p=(new Date).getFullYear()-2,O=new f(new Date(p,0,1)),A=[O];for(M=1;M<48;M++)(z=new f(new Date(p,M,1))).offset!==O.offset&&(b=N(O,z),A.push(b),A.push(new f(new Date(b.at+6e4)))),O=z;for(M=0;M<4;M++)A.push(new f(new Date(p+M,0,1))),A.push(new f(new Date(p+M,6,1)));return A}(),q=c.length,o=u(c),W=[];for(p=0;p<o.length;p++){for(M=new i(s(o[p]),q),O=0;O<q;O++)M.scoreOffsetAt(c[O]);W.push(M)}return W.sort(l),W.length>0?W[0].zone.name:void 0}function t(b){return(b||"").toLowerCase().replace(/\//g,"_")}function T(b){var z,p,O,c;for("string"==typeof b&&(b=[b]),z=0;z<b.length;z++)c=t(p=(O=b[z].split("|"))[0]),M[c]=b[z],A[c]=p,e(c,O[2].split(" "))}function s(b,z){b=t(b);var O,c=M[b];return c instanceof a?c:"string"==typeof c?(c=new a(c),M[b]=c,c):p[b]&&z!==s&&(O=s(p[b],s))?((c=M[b]=new a)._set(O),c.name=A[b],c):null}function m(b){var z,M,O,c;for("string"==typeof b&&(b=[b]),z=0;z<b.length;z++)O=t((M=b[z].split("|"))[0]),c=t(M[1]),p[O]=c,A[O]=M[0],p[c]=O,A[c]=M[1]}function E(b){var z="X"===b._f||"x"===b._f;return!(!b._a||void 0!==b._tzm||z)}function C(b){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(b)}function S(z){var M=Array.prototype.slice.call(arguments,0,-1),p=arguments[arguments.length-1],O=s(p),A=b.utc.apply(null,M);return O&&!b.isMoment(z)&&E(A)&&A.add(O.parse(A),"minutes"),A.tz(p),A}(o<2||2===o&&W<6)&&C("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+b.version+". See momentjs.com"),a.prototype={_set:function(b){this.name=b.name,this.abbrs=b.abbrs,this.untils=b.untils,this.offsets=b.offsets,this.population=b.population},_index:function(b){var z,M=+b,p=this.untils;for(z=0;z<p.length;z++)if(M<p[z])return z},countries:function(){var b=this.name;return Object.keys(O).filter((function(z){return