From 0325ece9aa04330936e2dce5ff406122f534a82e Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Thu, 22 Dec 2022 11:49:33 -0500 Subject: [PATCH] fix: fix bunlding issue with j-toml by using internal version --- packages/core/package.json | 1 - packages/core/src/formats/TomlFormatter.ts | 3 +- .../core/src/formats/util/j-toml.min.d.ts | 483 ++++++++++++++++++ packages/core/src/formats/util/j-toml.min.js | 144 ++++++ yarn.lock | 197 ++++--- 5 files changed, 724 insertions(+), 104 deletions(-) create mode 100644 packages/core/src/formats/util/j-toml.min.d.ts create mode 100644 packages/core/src/formats/util/j-toml.min.js diff --git a/packages/core/package.json b/packages/core/package.json index 79bc245e..907727ee 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -67,7 +67,6 @@ "@emotion/react": "11.10.5", "@emotion/styled": "11.10.5", "@lezer/common": "1.0.2", - "@ltd/j-toml": "1.36.0", "@mdx-js/mdx": "2.2.1", "@mdx-js/react": "2.2.1", "@mui/icons-material": "5.11.0", diff --git a/packages/core/src/formats/TomlFormatter.ts b/packages/core/src/formats/TomlFormatter.ts index 29be17fe..59766e88 100644 --- a/packages/core/src/formats/TomlFormatter.ts +++ b/packages/core/src/formats/TomlFormatter.ts @@ -1,6 +1,5 @@ -import toml from '@ltd/j-toml'; - import FileFormatter from './FileFormatter'; +import toml from './util/j-toml.min'; class TomlFormatter extends FileFormatter { fromFile(content: string) { diff --git a/packages/core/src/formats/util/j-toml.min.d.ts b/packages/core/src/formats/util/j-toml.min.d.ts new file mode 100644 index 00000000..b3f586a5 --- /dev/null +++ b/packages/core/src/formats/util/j-toml.min.d.ts @@ -0,0 +1,483 @@ +export as namespace TOML; +export = exports; + +declare namespace exports { + export const version: '1.36.0'; + + export const parse: { + ( + this: void, + source: Source, + specificationVersion: 1.0 | 0.5 | 0.4 | 0.3 | 0.2 | 0.1, + multilineStringJoiner?: string, + useBigInt?: boolean | number, + xOptions?: XOptions, + ): Table; + ( + this: void, + source: Source, + multilineStringJoiner?: string, + useBigInt?: boolean | number, + xOptions?: XOptions, + ): Table; + ( + this: void, + source: Source, + options?: { + readonly joiner?: string; + readonly bigint?: boolean | number; + readonly x?: XOptions; + }, + ): Table; + } & { + readonly [SpecificationVersion in 1.0 | 0.5 | 0.4 | 0.3 | 0.2 | 0.1]: { + ( + this: void, + source: Source, + multilineStringJoiner?: string, + useBigInt?: boolean | number, + xOptions?: XOptions, + ): Table; + ( + this: void, + source: Source, + options?: { + readonly joiner?: string; + readonly bigint?: boolean | number; + readonly x?: XOptions; + }, + ): Table; + }; + }; + + export function stringify( + this: void, + rootTable: ReadonlyTable, + options?: { + readonly integer?: number; + readonly newline?: '\n' | '\r\n'; + readonly newlineAround?: 'document' | 'section' | 'header' | 'pairs' | 'pair'; + readonly indent?: string | number; + readonly T?: 'T' | 't' | ' '; + readonly Z?: 'Z' | 'z'; + readonly xNull?: boolean; + readonly xBeforeNewlineInMultilineTable?: ',' | ''; + readonly forceInlineArraySpacing?: 0 | 1 | 2 | 3; + }, + ): string; + + export function isSection(this: void, table: ReadonlyTable): boolean; + export function isInline(this: void, value: ReadonlyTable | ReadonlyArray): boolean; + + export function Section(this: void, table: T): T; + export function inline( + this: void, + value: T, + inlineMode?: 0 | 1 | 2 | 3, + ): T; + export function inline(this: void, value: T): T; + export const multiline: { + readonly array: { + (this: void, array: T): T; + }; + (this: void, table: T): T; + (this: void, value: string): { + [_literal]: [`"""`, ...string[], `${string}"""`] | [`'''`, ...string[], `${string}'''`]; + } & object & + String; + (this: void, lines: readonly string[]): { + [_literal]: [`"""`, ...string[], `${string}"""`] | [`'''`, ...string[], `${string}'''`]; + } & object; + (this: void, lines: readonly string[], value: string): { + [_literal]: [`"""`, ...string[], `${string}"""`] | [`'''`, ...string[], `${string}'''`]; + } & object & + String; + readonly basic: { + (this: void, value: string): { [_literal]: [`"""`, ...string[], `${string}"""`] } & object & + String; + (this: void, lines: readonly string[]): { + [_literal]: [`"""`, ...string[], `${string}"""`]; + } & object; + (this: void, lines: readonly string[], value: string): { + [_literal]: [`"""`, ...string[], `${string}"""`]; + } & object & + String; + }; + }; + export function basic(this: void, value: string): { [_literal]: `"${string}"` } & object & String; + export function literal( + this: void, + literal: string, + ): { [_literal]: string | [string, ...string[]] } & object; + export function literal( + this: void, + literal: string, + value: string, + ): { [_literal]: string | [string, ...string[]] } & object & String; + export function literal( + this: void, + literal: string, + value: number, + ): { [_literal]: string | [string, ...string[]] } & object & Number; + export function literal( + this: void, + literal: string, + value: bigint, + ): { [_literal]: string | [string, ...string[]] } & object & BigInt; + export function literal( + this: void, + literal: TemplateStringsArray, + ...chars: string[] + ): { [_literal]: string | [string, ...string[]] } & object; + + export function commentFor(this: void, key: string): symbol; + export const commentForThis: unique symbol; + + export { OffsetDateTime, LocalDateTime, LocalDate, LocalTime, Keys }; + + export { exports as default }; +} + +declare class OffsetDateTime { + readonly toJSON: Date['toJSON']; + + readonly toISOString: ( + this: Readonly, + ) => `${number}-${number}-${number}T${number}:${number}:${number}${'' | `.${number}`}${ + | 'Z' + | `${'+' | '-'}${number}:${number}`}`; + readonly valueOf: (this: Readonly) => `${number}${'' | `.${number}`}`; + + private [OffsetDateTime_ISOString]: string; + private [OffsetDateTime_value]: string; + + constructor( + literal: `${number}-${number}-${number}${'T' | 't' | ' '}${number}:${number}:${number}${ + | '' + | `.${number}`}${'Z' | 'z' | `${'+' | '-'}${number}:${number}`}`, + ); + + readonly getUTCFullYear: (this: Readonly) => _1_10000; + readonly getUTCMonth: (this: Readonly) => _0_11; + readonly getUTCDate: (this: Readonly) => _1_31; + + readonly getUTCHours: (this: Readonly) => _0_23; + readonly getUTCMinutes: (this: Readonly) => _0_59; + readonly getUTCSeconds: (this: Readonly) => _0_59; + readonly getUTCMilliseconds: (this: Readonly) => _0_999; + + readonly getUTCDay: (this: Readonly) => _0_6; + readonly getTimezoneOffset: (this: Readonly) => _1439_1439; + readonly getTime: (this: Readonly) => number; +} +declare class LocalDateTime { + readonly toJSON: Date['toJSON']; + + readonly toISOString: ( + this: Readonly, + ) => `${number}-${number}-${number}T${number}:${number}:${number}${'' | `.${number}`}`; + readonly valueOf: (this: Readonly) => `${number}`; + + private [LocalDateTime_ISOString]: string; + private [LocalDateTime_value]: string; + + constructor( + literal: `${number}-${number}-${number}${'T' | 't' | ' '}${number}:${number}:${number}${ + | '' + | `.${number}`}`, + ); + + readonly getFullYear: (this: Readonly) => _0_9999; + readonly setFullYear: (this: LocalDateTime, year: _0_9999) => void; + readonly getMonth: (this: Readonly) => _0_11; + readonly setMonth: (this: LocalDateTime, month: _0_11) => void; + readonly getDate: (this: Readonly) => _1_31; + readonly setDate: (this: LocalDateTime, date: _1_31) => void; + + readonly getHours: (this: Readonly) => _0_23; + readonly setHours: (this: LocalDateTime, hours: _0_23) => void; + readonly getMinutes: (this: Readonly) => _0_59; + readonly setMinutes: (this: LocalDateTime, min: _0_59) => void; + readonly getSeconds: (this: Readonly) => _0_59; + readonly setSeconds: (this: LocalDateTime, sec: _0_59) => void; + readonly getMilliseconds: (this: Readonly) => _0_999; + readonly setMilliseconds: (this: LocalDateTime, ms: _0_999) => void; +} +declare class LocalDate { + readonly toJSON: Date['toJSON']; + + readonly toISOString: (this: Readonly) => `${number}-${number}-${number}`; + readonly valueOf: (this: Readonly) => `${number}`; + + private [LocalDate_ISOString]: string; + private [LocalDate_value]: string; + + constructor(literal: `${number}-${number}-${number}`); + + readonly getFullYear: (this: Readonly) => _0_9999; + readonly setFullYear: (this: LocalDate, year: _0_9999) => void; + readonly getMonth: (this: Readonly) => _0_11; + readonly setMonth: (this: LocalDate, month: _0_11) => void; + readonly getDate: (this: Readonly) => _1_31; + readonly setDate: (this: LocalDate, date: _1_31) => void; +} +declare class LocalTime { + readonly toJSON: Date['toJSON']; + + readonly toISOString: ( + this: Readonly, + ) => `${number}:${number}:${number}${'' | `.${number}`}`; + readonly valueOf: (this: Readonly) => `${number}`; + + private [LocalTime_ISOString]: string; + private [LocalTime_value]: string; + + constructor(literal: `${number}:${number}:${number}${'' | `.${number}`}`); + + readonly getHours: (this: Readonly) => _0_23; + readonly setHours: (this: LocalTime, hours: _0_23) => void; + readonly getMinutes: (this: Readonly) => _0_59; + readonly setMinutes: (this: LocalTime, min: _0_59) => void; + readonly getSeconds: (this: Readonly) => _0_59; + readonly setSeconds: (this: LocalTime, sec: _0_59) => void; + readonly getMilliseconds: (this: Readonly) => _0_999; + readonly setMilliseconds: (this: LocalTime, ms: _0_999) => void; +} + +declare class Keys extends RegExp { + readonly lastIndex: number; + constructor(keys: ArrayLike); + readonly test: (this: Keys, key: string) => boolean; +} + +declare const _literal: unique symbol; + +type Source = + | string + | ArrayBufferLike + | { + readonly path: string; + readonly data?: undefined; + readonly require: + | { + readonly resolve?: { readonly paths?: undefined }; + (this: void, id: 'fs'): { + readonly readFileSync: (this: void, path: string) => ArrayBufferLike; + }; + } + | { + readonly resolve: { readonly paths: (this: void, request: string) => null | string[] }; + (this: void, id: 'path'): { + readonly resolve: (this: void, dirname: string, filename: string) => string; + }; + (this: void, id: 'fs'): { + readonly readFileSync: (this: void, path: string) => ArrayBufferLike; + }; + }; + } + | { + readonly path: string; + readonly data: string | ArrayBufferLike; + readonly require?: + | { + readonly resolve?: { readonly paths?: undefined }; + } + | { + readonly resolve: { readonly paths: (this: void, request: string) => null | string[] }; + (this: void, id: 'path'): { + readonly resolve: (this: void, dirname: string, filename: string) => string; + }; + }; + }; + +type XOptions = null | { + readonly keys?: null | Keys; + readonly order?: boolean; + readonly exact?: boolean; + readonly multi?: boolean; + readonly longer?: boolean; + readonly string?: boolean; + readonly comment?: boolean; + readonly literal?: boolean; + readonly null?: boolean; + readonly tag?: + | null + | (< + Table extends object & { [key: string | symbol]: any }, + Key extends string | symbol, + Array extends any[], + Index extends number, + Tag extends string, + >( + this: void, + each: + | { table: Table; key: Key; tag: Tag } + | { array: Array; index: Index; tag: Tag } + | { table: Table; key: Key; array: Array; index: Index; tag: Tag }, + ) => void); +}; + +type ReadonlyTable = object & { readonly [key: string]: ReadonlyValue }; +type ReadonlyArray = readonly ReadonlyValue[]; +type ReadonlyValue = + | ({ readonly [_literal]: string | readonly [string, ...string[]] } & object) + | null + | boolean + | bigint + | number + | string + | ReadonlyDatetime + | ReadonlyArray + | ReadonlyTable; +interface ReadonlyDatetime { + readonly toISOString: (this: this) => string; +} + +type Table = object & { [key: string]: Value }; +type Array = Value[]; +type Value = + | (object & BigInt & { [_literal]: string }) + | (object & Number & { [_literal]: string }) + | (object & String & { [_literal]: string | [string, ...string[]] }) + | null + | boolean + | bigint + | number + | string + | Datetime + | Array + | Table; +type Datetime = OffsetDateTime | LocalDateTime | LocalDate | LocalTime; +declare const OffsetDateTime_ISOString: unique symbol; +declare const OffsetDateTime_value: unique symbol; +declare const LocalDateTime_ISOString: unique symbol; +declare const LocalDateTime_value: unique symbol; +declare const LocalDate_ISOString: unique symbol; +declare const LocalDate_value: unique symbol; +declare const LocalTime_ISOString: unique symbol; +declare const LocalTime_value: unique symbol; + +type _1439_1439 = -1439 | ({} & number) | 1439; +type _1_10000 = -1 | ({} & number) | 10000; +type _0_9999 = 0 | ({} & number) | 9999; +type _0_999 = 0 | ({} & number) | 999; +type _0_6 = 0 | 1 | 2 | 3 | 4 | 5 | 6; +type _0_11 = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11; +type _0_23 = + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23; +type _1_31 = + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23 + | 24 + | 25 + | 26 + | 27 + | 28 + | 29 + | 30 + | 31; +type _0_59 = + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23 + | 24 + | 25 + | 26 + | 27 + | 28 + | 29 + | 30 + | 31 + | 32 + | 33 + | 34 + | 35 + | 36 + | 37 + | 38 + | 39 + | 40 + | 41 + | 42 + | 43 + | 44 + | 45 + | 46 + | 47 + | 48 + | 49 + | 50 + | 51 + | 52 + | 53 + | 54 + | 55 + | 56 + | 57 + | 58 + | 59; diff --git a/packages/core/src/formats/util/j-toml.min.js b/packages/core/src/formats/util/j-toml.min.js new file mode 100644 index 00000000..f3318cb1 --- /dev/null +++ b/packages/core/src/formats/util/j-toml.min.js @@ -0,0 +1,144 @@ +/*!@preserve@license + * 模块名称:j-toml + * 模块功能:龙腾道为汤小明语写的实现。从属于“简计划”。 +      An implementation of TOML written by LongTengDao. Belong to "Plan J". + * 模块版本:1.36.0 + * 许可条款:LGPL-3.0 + * 所属作者:龙腾道 (www.LongTengDao.com) + * 问题反馈:https://GitHub.com/LongTengDao/j-toml/issues + * 项目主页:https://GitHub.com/LongTengDao/j-toml/ + */ +(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TOML=t()})(this,(function(){"use strict";const e=SyntaxError,t=RangeError,n=TypeError,i={if:Error}.if,r=void 0,s="undefined"==typeof BigInt?r:BigInt,a=RegExp,l=WeakMap,o=WeakMap.prototype.get,c=WeakMap.prototype.set,u=Object.create,f=Number.isSafeInteger,h=Object.getOwnPropertyNames,d=Object.freeze,p=Object.prototype.isPrototypeOf,g=Object.seal?Object.preventExtensions(Object.create(null)):null,b=Function.prototype.bind,y=RegExp.prototype.test,w=RegExp.prototype.exec,m=Reflect.apply,x=Proxy,T="undefined"==typeof Symbol?r:Symbol.toStringTag,v=Object.defineProperty,O=Object.assign,$=Object,F=Math.floor,I=Array.isArray,k=1/0,S=String.fromCharCode,M=Array,L=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,B=Function.prototype.apply;var U=A.call.bind(A),D=$.hasOwn||function(){return L.bind?L.call.bind(L):function(e,t){return L.call(e,t)}}(),j=$.create;function C(e){var t=j(g);return D(e,"value")&&(t.value=e.value),D(e,"writable")&&(t.writable=e.writable),D(e,"get")&&(t.get=e.get),D(e,"set")&&(t.set=e.set),D(e,"enumerable")&&(t.enumerable=e.enumerable),D(e,"configurable")&&(t.configurable=e.configurable),t}const _=function(e,t){if(t||"function"==typeof e||(t=e,e=u(g)),O)O(e,t);else for(var n in t)D(t,n)&&(e[n]=t[n]);if(e.default=e,"function"==typeof e)e.prototype&&d(e.prototype);else if(T){var i=u(g);i.value="Module",v(e,T,i)}return d(e)};var N=b?b.bind(y):function(e){return function(t){return y.call(e,t)}},E=b?b.bind(w):function(e){return function(t){return w.call(e,t)}};function P(e){var t=e.test=N(e),n=e.exec=E(e),i=t.source=n.source=e.source;return t.unicode=n.unicode=e.unicode,t.ignoreCase=n.ignoreCase=e.ignoreCase,t.multiline=n.multiline=i.indexOf("^")<0&&i.indexOf("$")<0?null:e.multiline,t.dotAll=n.dotAll=i.indexOf(".")<0?null:e.dotAll,e}function K(e){return P(e)}var W=/[\n\t]+/g,R=/\\./g;function Z(e){return"\\`"===e?"`":e}var q="".includes?function(e,t){return e.includes(t)}:function(e,t){return e.indexOf(t)>-1};function H(t){for(var i=this.U,r=this.I,s=this.M,l=this.S,o=t.raw,c=o[0].replace(W,""),u=1,f=arguments.length;u!==f;){var h=arguments[u];if("string"==typeof h)c+=h;else{var d=h.source;if("string"!=typeof d)throw n("source");if(h.unicode===i)throw e("unicode");if(h.ignoreCase===r)throw e("ignoreCase");if(h.multiline===s&&(q(d,"^")||q(d,"$")))throw e("multiline");if(h.dotAll===l&&q(d,"."))throw e("dotAll");c+=d}c+=o[u++].replace(W,"")}var p=a(i?c=c.replace(R,Z):c,this.flags),g=p.test=N(p),b=p.exec=E(p);return g.source=b.source=c,g.unicode=b.unicode=!i,g.ignoreCase=b.ignoreCase=!r,g.multiline=b.multiline=q(c,"^")||q(c,"$")?!s:null,g.dotAll=b.dotAll=q(c,".")?!l:null,p}var z=b&&b.bind(H);function Y(e){return{U:!q(e,"u"),I:!q(e,"i"),M:!q(e,"m"),S:!q(e,"s"),flags:e}}var J=Y(""),V=x?new x(H,{apply:function(e,t,n){return m(e,J,n)},get:function(e,t){return z(Y(t))},defineProperty:function(){return!1},preventExtensions:function(){return!1}}):function(){H.apply=H.apply;for(var e=function(){return H.apply(J,arguments)},t=63;t--;)!function(t){e[t.flags]=function(){return H.apply(t,arguments)}}(Y((1&t?"":"d")+(2&t?"":"g")+(4&t?"":"i")+(8&t?"":"m")+(8&t?"":"s")+(16&t?"":"u")+(32&t?"":"y")));return d?d(e):e}(),G="$_"in a?function(){var e=/^/;return e.test=e.test,function(t){return e.test(""),t}}():function(e){return e},X=/^[$()*+\-.?[\\\]^{|]/,Q=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/,ee=u(g);function te(e,t,n){for(var i=u(g),r=t?ne:ie,s=e.length,a=0;a{const e=new l;return e.has=e.has,e.get=e.get,e.set=e.set,e},xe=me(),Te=me(),ve=me(),Oe=O(u(g),{defineProperty:(e,t,n)=>{if(D(e,t))return be(e,t,O(u(g),n));if(be(e,t,O(u(g),n))){const n=xe.get(e);return n[n.length]=t,!0}return!1},deleteProperty:(e,t)=>{if(ye(e,t)){const n=xe.get(e),i=n.indexOf(t);return i<0||--n.copyWithin(i,i+1).length,!0}return!1},ownKeys:e=>xe.get(e),construct:(e,t,n)=>Fe(ge(e,t,n)),apply:(e,t,n)=>Fe(m(e,t,n))}),$e=(e,t)=>{xe.set(e,t);const n=new x(e,Oe);return Te.set(n,e),n},Fe=e=>{if(Te.has(e))return e;let t=ve.get(e);return t||(t=$e(e,O([],we(e))),ve.set(e,t),t)},Ie=function(){function e(){throw n("Super constructor Null cannot be invoked with 'new'")}function t(){throw n("Super constructor Null cannot be invoked without 'new'")}const i=e=>(delete e.prototype.constructor,d(e.prototype),e);function r(n){return new.target?new.target===r?e():$e(this,[]):"function"==typeof n?i(n):t()}return r.prototype=null,v(r,"name",O(u(g),{value:"",configurable:!1})),d(r),r}(),ke=WeakMap.prototype.has,Se=WeakMap.prototype.delete,Me=new l,Le=new se,Ae=Se.bind(Me),Be=oe.bind(Le),Ue=ke.bind(Me),De=o.bind(Me),je=c.bind(Me),Ce=e=>(Ae(e),e),_e=ae.bind(Le),Ne=le.bind(Le),Ee=new se,Pe=le.bind(Ee),Ke=ae.bind(Ee),We=new se,Re=le.bind(We),Ze=oe.bind(We),qe=!0,He=!1,ze=new se,Ye=le.bind(ze),Je=ae.bind(ze),Ve=fe(class extends fe{constructor(e,t){return super(),Pe(this),e?t?je(this,!0):Ne(this):(t?Ye:Re)(this),this}}),Ge=fe(class extends Ie{constructor(e,t){return super(),Pe(this),e?t?je(this,!0):Ne(this):(t?Ye:Re)(this),this}}),Xe=[];let Qe="",et=Xe,tt=-1,nt=-1;const it=e=>{throw e},rt=/\r?\n/,st=(e,t)=>{if("string"!=typeof t)throw n("TOML.parse({ path })");Qe=t,et=e.split(rt),tt=et.length-1,nt=-1};class at{lineIndex=nt;type;restColumn;constructor(e,t){return this.type=e,this.restColumn=t,this}must(){return nt===tt&&it(e(`${this.type} is not close until the end of the file`+lt(", which started from ",this.lineIndex,et[this.lineIndex].length-this.restColumn+1))),et[++nt]}nowrap(e){throw it(i(`TOML.parse(${e?`${e}multilineStringJoiner`:",{ joiner }"}) must be passed, while the source including multi-line string`+lt(", which started from ",this.lineIndex,et[this.lineIndex].length-this.restColumn+1)))}}const lt=(e,t=nt,n=0)=>et===Xe?"":Qe?`\n at (${Qe}:${t+1}:${n})`:`${e}line ${t+1}: ${et[t]}`,ot=()=>{Qe="",et=Xe},ct=/[ \t]/,ut=V` + ^${ct}+`.valueOf(),{exec:ft}=V.s` + ^ + ( + (?:\d\d\d\d-\d\d-\d\d \d)? + [\w\-+.:]+ + ) + ${ct}* + (.*) + $`.valueOf(),{exec:ht}=V.s` + ^ + '([^']*)' + ${ct}* + (.*)`.valueOf(),{exec:dt}=V.s` + ^ + (.*?) + '''('{0,2}) + ${ct}* + (.*)`.valueOf(),{exec:pt}=V.s` + ^ + (.*?) + '''() + ${ct}* + (.*)`.valueOf();let gt=pt;const bt=V.s` + ^ + . + ${ct}*`.valueOf(),yt=/[^\x00-\x1F"#'()<>[\\\]`{}\x7F]+/,{exec:wt}=V.s` + ^ + ${ct}* + = + ${ct}* + (?: + <(${yt})> + ${ct}* + )? + (.*) + $`.valueOf(),{exec:mt}=V.s` + ^ + <(${yt})> + ${ct}* + (.*) + $`.valueOf(),{exec:xt}=V.s` + ^ + <(${yt})> + ${ct}* + (.*) + $`.valueOf(),Tt=K(/[^\\"]+|\\.?|"(?!"")"?/sy),vt=e=>{let t=0;for(;Tt.test(e);)t=Tt.lastIndex;return t},Ot=/[^\\\x00-\x08\x0B-\x1F\x7F]+|\\(?:[btnfr"\\]|[\t ]*\n[\t\n ]*|u[\dA-Fa-f]{4}|U[\dA-Fa-f]{8})/g,$t=/[^\\\x00-\x09\x0B-\x1F\x7F]+|\\(?:[btnfr"\\]|[\t ]*\n[\t\n ]*|u[\dA-Fa-f]{4}|U[\dA-Fa-f]{8})/g,Ft=/[^\\\x00-\x09\x0B-\x1F]+|\\(?:[btnfr"\\]|[\t ]*\n[\t\n ]*|u[\dA-Fa-f]{4}|U[\dA-Fa-f]{8})/g,It=/[^\\\x00-\x09\x0B-\x1F]+|\\(?:[btnfr"\\/]|[\t ]*\n[\t\n ]*|u[\dA-Fa-f]{4}|U[\dA-Fa-f]{8})/g;let kt=Ot;const St=e=>!e.replace(kt,""),Mt=K(/[^\\"\x00-\x08\x0B-\x1F\x7F]+|\\(?:[btnfr"\\]|u[\dA-Fa-f]{4}|U[\dA-Fa-f]{8})/y),Lt=K(/[^\\"\x00-\x08\x0B-\x1F\x7F]+|\\(?:[btnfr"\\]|u[\dA-Fa-f]{4}|U[\dA-Fa-f]{8})/y),At=K(/[^\\"\x00-\x08\x0B-\x1F]+|\\(?:[btnfr"\\]|u[\dA-Fa-f]{4}|U[\dA-Fa-f]{8})/y),Bt=K(/[^\\"\x00-\x08\x0B-\x1F]+|\\(?:[btnfr"\\/]|u[\dA-Fa-f]{4}|U[\dA-Fa-f]{8})/y);let Ut=Bt;const Dt=t=>{let n=Ut.lastIndex=1;for(;Ut.test(t);)n=Ut.lastIndex;return n!==t.length&&'"'===t[n]||it(e("Bad basic string"+lt(" at "))),n},{test:jt}=K(/^[ \t]*\./),Ct=/^[ \t]*\.[ \t]*/,{exec:_t}=K(/^[\w-]+/),{exec:Nt}=K(/^[^ \t#=[\]'".]+(?:[ \t]+[^ \t#=[\]'".]+)*/);let Et=Nt;const{exec:Pt}=K(/^'[^'\x00-\x08\x0B-\x1F\x7F]*'/),{exec:Kt}=K(/^'[^'\x00-\x08\x0B-\x1F]*'/);let Wt=Kt,Rt=!0;const Zt=(t,n)=>{const i="["===t[1];i?(Rt||it(e("Array of Tables is not allowed before TOML v0.2"+lt(", which at "))),t=t.slice(2)):t=t.slice(1),t=t.replace(ut,"");const{leadingKeys:r,finalKey:s}=({lineRest:t}=n(t));let a;return(t=t.replace(ut,""))&&"]"===t[0]||it(e("Table header is not closed"+lt(", which is found at "))),(t.length>1?"]"===t[1]===i:!i)||it(e("Square brackets of Table definition statement not match"+lt(" at "))),(t=t.slice(i?2:1).replace(ut,""))&&"<"===t[0]?({1:a,2:t}=xt(t)||it(e("Bad tag"+lt(" at ")))):a="",{leadingKeys:r,finalKey:s,asArrayItem:i,tag:a,lineRest:t}},{test:qt}=K(/[\x00-\x08\x0B-\x1F\x7F]/),{test:Ht}=K(/[\x00-\x08\x0B-\x1F]/);let zt=qt;const Yt=V` + (?: + 0 + (?: + b[01][_01]* + | + o[0-7][_0-7]* + | + x[\dA-Fa-f][_\dA-Fa-f]* + | + (?:\.\d[_\d]*)?(?:[Ee]-?\d[_\d]*)? + ) + | + [1-9][_\d]* + (?:\.\d[_\d]*)?(?:[Ee]-?\d[_\d]*)? + | + inf + | + nan + ) +`.valueOf(),{test:Jt}=V` + ^(?: + -?${Yt} + (?:-${Yt})* + | + true + | + false + )$ +`.valueOf(),{test:Vt}=V`_(?![\dA-Fa-f])`.valueOf(),Gt=e=>Jt(e)&&!Vt(e);let Xt=!0,Qt="",en=null,tn=!0,nn=0,rn=0;const sn={test:()=>!0},an=class extends a{constructor(e){super(`^${te(e)}$`);let t=-1;for(let n=e.length;n;){const{length:i}=e[--n];i>t&&(t=i)}return this.lastIndex=t+1,this}test(e){return e.length{const e=t=>{const i=On(t);return i?i===e||it(n("Types in Array must be same"+lt(". Check "))):$n(t,e),t};return e},In={asNulls:Fn(),asStrings:Fn(),asTables:Fn(),asArrays:Fn(),asBooleans:Fn(),asFloats:Fn(),asIntegers:Fn(),asOffsetDateTimes:Fn(),asLocalDateTimes:Fn(),asLocalDates:Fn(),asLocalTimes:Fn()},kn=e=>e;let Sn,Mn,Ln,An,Bn,Un,Dn,jn,Cn,_n,Nn,En=null,Pn=null;const Kn=(e,t,n,i)=>{const r=u(g);r._linked=Pn,r.tag=e,n&&(r.table=n,r.key=i),t&&(r.array=t,r.index=t.length),Pn=r},Wn=()=>{throw it(e("xOptions.tag is not enabled, but found tag syntax"+lt(" at ")))};let Rn=Wn;const Zn=ArrayBuffer.isView,qn=function(){if("function"==typeof ArrayBuffer){var e=B.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get);return function(t){try{e(t)}catch(n){return!1}return!0}}return function(){return!1}}(),Hn=TextDecoder,zn=Symbol,Yn=zn("previous"),Jn=e=>{let t=e,n=t.next();if(!n.done)for(n.value[Yn]=t,n=(t=n.value).next();;)if(n.done){if(t===e)break;t=t[Yn],n=t.next(n.value)}else n.value[Yn]=t,n=(t=n.value).next();return n.value},Vn=zn("_literal"),Gn=(e,t)=>{const n=$(t);return n[Vn]=e,n},Xn=new se,Qn=le.bind(Xn),ei=ae.bind(Xn),ti=new se,ni=le.bind(ti),ii=ae.bind(ti),ri=e=>{const t=[];return Qn(t),e&&ni(t),t},si=Date,ai=Date.parse,li=Object.preventExtensions,oi=Object.getOwnPropertyDescriptors,ci=function(e,t){for(var n=u(g),i=ce(t),r=i.length,s=0;s(d(d(e).prototype),e),fi=/(?:0[1-9]|[12]\d|30)/,hi=/(?:0[1-9]|[12]\d|3[01])/,di=/(?:[01]\d|2[0-3])/,pi=/[0-5]\d/,gi=V` + \d\d\d\d- + (?: + 0 + (?: + [13578]-${hi} + | + [469]-${fi} + | + 2-${/(?:0[1-9]|1\d|2\d)/} + ) + | + 1 + (?: + [02]-${hi} + | + 1-${fi} + ) + ) +`.valueOf(),bi=V` + ${di}:${pi}:${pi} +`.valueOf(),{exec:yi}=K(/(([+-])\d\d):(\d\d)$/),{exec:wi}=V` + ^ + ${gi} + [Tt ] + ${bi} + (?:\.\d{1,3}(\d*?)0*)? + (?:[Zz]|[+-]${di}:${pi}) + $`.valueOf(),{exec:mi}=V` + ^ + ${gi} + [Tt ] + ${bi} + () + [Zz] + $`.valueOf(),{test:xi}=V` + ^ + ${gi} + [Tt ] + ${bi} + (?:\.\d+)? + $`.valueOf(),{test:Ti}=V` + ^ + ${gi} + $`.valueOf(),{test:vi}=V` + ^ + ${bi} + (?:\.\d+)? + $`.valueOf(),Oi=/[ t]/,$i=/[-T:.]/g,Fi=/\.?0+$/,Ii=/\.(\d*?)0+$/,ki=(e,t)=>t,Si=(()=>{const e=function(){return this},t=fe(null);{const e=fe(null);for(const n of we(si.prototype))"constructor"===n||"toJSON"===n||(t[n]=e)}return t[zn.toStringTag]=fe({value:"Date"}),e.prototype=li(u(si.prototype,t)),d(e)})(),Mi=e=>e.replace(Ii,ki).replace($i,""),Li=/./gs,Ai=e=>"          "[e],Bi=e=>{if(e.startsWith("02-29",5)){const t=+e.slice(0,4);return!(3&t||!(t%100)&&(t%400||!(t%3200)))}return!0},{test:Ui}=V.s`^.....(?:06.30|12.31).23:59:59`.valueOf(),Di=ci(new si(0),oi(si.prototype)),ji=zn("OffsetDateTime_ISOString"),Ci=zn("OffsetDateTime_value"),_i=(e,t=0)=>(Di.setTime(+e[Ci]+t),Di),Ni=ui(class extends Si{[ji];[Ci];valueOf(){return this[Ci]}toISOString(){return this[ji]}constructor(t){Bi(t)||it(e(`Invalid Offset Date-Time ${t}`+lt(" at ")));const n=t.startsWith("60",17);let i=n?t.slice(0,17)+"59"+t.slice(19):t;const{1:r=""}=(cn?mi(i):wi(i))||it(e(`Invalid Offset Date-Time ${t}`+lt(" at "))),s=ai(i=i.replace(Oi,"T").replace("z","Z"));return n&&(Di.setTime(s),Ui(Di.toISOString())||it(e(`Invalid Offset Date-Time ${t}`+lt(" at ")))),super(),this[ji]=i,this[Ci]=((e,t)=>e<0?(""+(e+6216730554e4)).replace(Li,Ai).padStart(14," ")+t.replace(Li,Ai)+e:t?(e+".").padStart(16,"0")+t:(""+e).padStart(15,"0"))(s,r),this}getUTCFullYear(){return _i(this).getUTCFullYear()}getUTCMonth(){return _i(this).getUTCMonth()}getUTCDate(){return _i(this).getUTCDate()}getUTCHours(){return _i(this).getUTCHours()}getUTCMinutes(){return _i(this).getUTCMinutes()}getUTCSeconds(){return _i(this).getUTCSeconds()}getUTCMilliseconds(){return _i(this).getUTCMilliseconds()}getUTCDay(){return _i(this).getUTCDay()}getTimezoneOffset(){const e=yi(this[ji]);return e?60*+e[1]+ +(e[2]+e[3]):0}getTime(){return F(+this[Ci])}}),Ei=zn("LocalDateTime_ISOString"),Pi=zn("LocalDateTime_value"),Ki=(e,t,n)=>+e[Ei].slice(t,n),Wi=(e,n,i,r)=>{const s=""+r,a=i-n;if(s.length>a)throw t();e[Pi]=Mi(e[Ei]=e[Ei].slice(0,n)+s.padStart(a,"0")+e[Ei].slice(i))},Ri=ui(class extends Si{[Ei];[Pi];valueOf(){return this[Pi]}toISOString(){return this[Ei]}constructor(t){return xi(t)&&Bi(t)||it(e(`Invalid Local Date-Time ${t}`+lt(" at "))),super(),this[Pi]=Mi(this[Ei]=t.replace(Oi,"T")),this}getFullYear(){return Ki(this,0,4)}setFullYear(e){Wi(this,0,4,e)}getMonth(){return Ki(this,5,7)-1}setMonth(e){Wi(this,5,7,e+1)}getDate(){return Ki(this,8,10)}setDate(e){Wi(this,8,10,e)}getHours(){return Ki(this,11,13)}setHours(e){Wi(this,11,13,e)}getMinutes(){return Ki(this,14,16)}setMinutes(e){Wi(this,14,16,e)}getSeconds(){return Ki(this,17,19)}setSeconds(e){Wi(this,17,19,e)}getMilliseconds(){return+this[Pi].slice(14,17).padEnd(3,"0")}setMilliseconds(e){this[Pi]=Mi(this[Ei]=this[Ei].slice(0,19)+(e?("."+(""+e).padStart(3,"0")).replace(Fi,""):""))}}),Zi=zn("LocalDate_ISOString"),qi=zn("LocalDate_value"),Hi=(e,t,n)=>+e[Zi].slice(t,n),zi=(e,n,i,r)=>{const s=""+r,a=i-n;if(s.length>a)throw t();e[qi]=Mi(e[Zi]=e[Zi].slice(0,n)+s.padStart(a,"0")+e[Zi].slice(i))},Yi=ui(class extends Si{[Zi];[qi];valueOf(){return this[qi]}toISOString(){return this[Zi]}constructor(t){return Ti(t)&&Bi(t)||it(e(`Invalid Local Date ${t}`+lt(" at "))),super(),this[qi]=Mi(this[Zi]=t),this}getFullYear(){return Hi(this,0,4)}setFullYear(e){zi(this,0,4,e)}getMonth(){return Hi(this,5,7)-1}setMonth(e){zi(this,5,7,e+1)}getDate(){return Hi(this,8,10)}setDate(e){zi(this,8,10,e)}}),Ji=zn("LocalTime_ISOString"),Vi=zn("LocalTime_value"),Gi=(e,t,n)=>+e[Ji].slice(t,n),Xi=(e,n,i,r)=>{const s=""+r;if(s.length>i-n)throw t();e[Vi]=Mi(e[Ji]=e[Ji].slice(0,n)+s.padStart(2,"0")+e[Ji].slice(i))},Qi=ui(class extends Si{[Ji];[Vi];valueOf(){return this[Vi]}toISOString(){return this[Ji]}constructor(t){return vi(t)||it(e(`Invalid Local Time ${t}`+lt(" at "))),super(),this[Vi]=Mi(this[Ji]=t),this}getHours(){return Gi(this,0,2)}setHours(e){Xi(this,0,2,e)}getMinutes(){return Gi(this,3,5)}setMinutes(e){Xi(this,3,5,e)}getSeconds(){return Gi(this,6,8)}setSeconds(e){Xi(this,6,8,e)}getMilliseconds(){return+this[Vi].slice(6,9).padEnd(3,"0")}setMilliseconds(e){this[Vi]=Mi(this[Ji]=this[Ji].slice(0,8)+(e?("."+(""+e).padStart(3,"0")).replace(Fi,""):""))}}),er=parseInt,tr=String.fromCodePoint,nr=/[^\\]+|\\(?:[\\"btnfr/]|u.{4}|U.{8})/gs,ir=/[^\n\\]+|\n|\\(?:[\t ]*\n[\t\n ]*|[\\"btnfr/]|u.{4}|U.{8})/gs,rr=e=>{if(!e)return"";const n=e.match(nr),{length:i}=n;let r=0;do{const e=n[r];if("\\"===e[0])switch(e[1]){case"\\":n[r]="\\";break;case'"':n[r]='"';break;case"b":n[r]="\b";break;case"t":n[r]="\t";break;case"n":n[r]="\n";break;case"f":n[r]="\f";break;case"r":n[r]="\r";break;case"u":const i=er(e.slice(2),16);Xt&&55295{if(!e)return"";const r=e.match(ir),{length:s}=r;let a=0;do{const e=r[a];if("\n"===e)++i,r[a]=n;else if("\\"===e[0])switch(e[1]){case"\n":case" ":case"\t":for(let t=0;t=e.indexOf("\n",t)+1;)++i;r[a]="";break;case"\\":r[a]="\\";break;case'"':r[a]='"';break;case"b":r[a]="\b";break;case"t":r[a]="\t";break;case"n":r[a]="\n";break;case"f":r[a]="\f";break;case"r":r[a]="\r";break;case"u":const n=er(e.slice(2),16);Xt&&55295(or(e)||cr(e))&&!ur(e),pr=s&&-s("0x8000000000000000"),gr=s&&s("0x7FFFFFFFFFFFFFFF"),br=n=>{if(!0===tn)return(n=>{dr(n)||it(e(`Invalid Integer ${n}`+lt(" at ")));const i="-"===n[0]?-s(n.replace(hr,"")):s(n.replace(hr,""));return bn||pr<=i&&i<=gr||it(t(`Integer expect 64 bit range (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807), not includes ${n}`+lt(" meet at "))),i})(n);if(!1===tn)return(n=>{dr(n)||it(e(`Invalid Integer ${n}`+lt(" at ")));const i=er(n.replace(fr,""));return f(i)||it(t(`Integer did not use BitInt must fit Number.isSafeInteger, not includes ${n}`+lt(" meet at "))),i})(n);dr(n)||it(e(`Invalid Integer ${n}`+lt(" at ")));const i=er(n.replace(fr,""));if(nn<=i&&i<=rn)return i;const r="-"===n[0]?-s(n.replace(hr,"")):s(n.replace(hr,""));return bn||pr<=r&&r<=gr||it(t(`Integer expect 64 bit range (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807), not includes ${n}`+lt(" meet at "))),r},yr=isFinite,{test:wr}=V` + ^ + ${ar} + (?: + \.\d[_\d]* + (?:[eE][-+]?\d[_\d]*)? + | + [eE][-+]?\d[_\d]* + ) + $`.valueOf(),mr=/_/g,{test:xr}=K(/^[-+]?0(?:\.0+)?(?:[eE][-+]?0+)?$/),{exec:Tr}=K(/^[-0]?(\d*)(?:\.(\d+))?(?:e\+?(-?\d+))?$/),{exec:vr}=K(/^[-+]?0?(\d*)(?:\.(\d*?)0*)?(?:[eE]\+?(-?\d+))?$/),Or=n=>{if(!wr(n)||lr(n)){if(pn){if("inf"===n||"+inf"===n)return k;if("-inf"===n)return-1/0;if("nan"===n||"+nan"===n)return NaN;if("-nan"===n)return NaN}throw it(e(`Invalid Float ${n}`+lt(" at ")))}const i=n.replace(mr,""),r=+i;if(dn){yr(r)||it(t(`Float ${n} has been as big as inf`+lt(" at "))),r||xr(i)||it(t(`Float ${n} has been as little as ${"-"===n[0]?"-":""}0`+lt(" at ")));const{1:e,2:s="",3:a=""}=Tr(r),{1:l,2:o="",3:c=""}=vr(i);l+o===e+s&&c-o.length==a-s.length||it(t(`Float ${n} has lost its exact and been ${r}`+lt(" at ")))}return r},$r=(e,t)=>{const{length:n}=t;let r=0;for(;r{let s;if(n){let n;t in e?ei(n=e[t])&&!ii(n)||it(i("Trying to push Table to non-ArrayOfTables value"+lt(" at "))):n=e[t]=ri(!1),r&&Rn(r,n,e,t),n[n.length]=s=new gn(qe)}else t in e?(s=e[t],Je(s)&&it(i("A table defined implicitly via key/value pair can not be accessed to via []"+lt(", which at "))),(e=>!!Ze(e)&&(Ne(e),!0))(s)||it(i("Duplicate Table definition"+lt(" at ")))):e[t]=s=new gn(qe),r&&Rn(r,null,e,t);return s},Ir=(e,t)=>{const{length:n}=t;let r=0;for(;r(zt(t)&&it(e("Control characters other than Tab are not permitted in a Literal String"+lt(", which was found at "))),t),Sr=(t,n,i)=>{if(!i.startsWith("'''")){const r=ht(i)||it(e("Bad literal string"+lt(" at "))),s=kr(r[1]);return t[n]=on?Gn(i.slice(0,s.length+2),s):s,r[2]}const r=gt(i.slice(3));if(r){const e=kr(r[1])+r[2];return t[n]=on?Gn(i.slice(0,e.length+6),e):e,r[3]}const s=new at("Multi-line Literal String",i.length),a=!(i=i.slice(3));if(a){i=s.must();const e=gt(i);if(e){const r=kr(e[1])+e[2];return t[n]=on?Gn(["'''",i.slice(0,r.length+3)],r):r,e[3]}}null===en&&s.nowrap(Qt);for(const e=[kr(i)];;){const r=s.must(),l=gt(r);if(l){e[e.length]=kr(l[1])+l[2];const r=e.join(en);return on?(e[e.length-1]+="'''",a?e.unshift("'''"):e[0]=`'''${i}`,t[n]=Gn(e,r)):t[n]=r,l[3]}e[e.length]=kr(r)}},Mr=(t,n,i)=>{if(!i.startsWith('"""')){const e=Dt(i),r=rr(i.slice(1,e));return t[n]=on?Gn(i.slice(0,e+1),r):r,i.slice(e+1).replace(ut,"")}let r=3+vt(i.slice(3));if(i.length!==r){const s=i.slice(3,r);St(s)||it(e("Bad multi-line basic string"+lt(" at ")));const a=rr(s)+(i.startsWith('"',r+=3)?i.startsWith('"',++r)?(++r,'""'):'"':"");return t[n]=on?Gn(i.slice(0,r),a):a,i.slice(r).replace(ut,"")}const s=new at("Multi-line Basic String",r),a=(i=i.slice(3))?0:1;if(a){i=s.must();let r=vt(i);if(i.length!==r){const s=i.slice(0,r);St(s)||it(e("Bad multi-line basic string"+lt(" at ")));const l=sr(s,en,a)+(i.startsWith('"',r+=3)?i.startsWith('"',++r)?(++r,'""'):'"':"");return t[n]=on?Gn(['"""',i.slice(0,r)],l):l,i.slice(r).replace(ut,"")}}null===en&&s.nowrap(Qt),St(i+"\n")||it(e("Bad multi-line basic string"+lt(" at ")));for(const l=[i];;){const r=s.must();let o=vt(r);if(r.length!==o){const s=r.slice(0,o);St(s)||it(e("Bad multi-line basic string"+lt(" at ")));const c=sr(l.join("\n")+"\n"+s,en,a)+(r.startsWith('"',o+=3)?r.startsWith('"',++o)?(++o,'""'):'"':"");return on?(a?l.unshift('"""'):l[0]=`"""${i}`,l[l.length]=`${s}"""`,t[n]=Gn(l,c)):t[n]=c,r.slice(o).replace(ut,"")}St(r+"\n")||it(e("Bad multi-line basic string"+lt(" at "))),l[l.length]=r}},Lr=fe(null),Ar=e=>Lr[e]||(Lr[e]=zn(e)),Br=zn("this"),{test:Ur}=K(/\r?\n/g),Dr=(t,i)=>{if(i in t){const r=t[i];if("string"!=typeof r)throw n(`the value of comment must be a string, while "${null===r?"null":typeof r}" type is found`);if(Ur(r))throw e("the value of comment must be a string and can not include newline");return` #${r}`}return""},jr=(e,t)=>t in Lr?Dr(e,Lr[t]):"",{test:Cr}=K(/(?:[Zz]|[+-]\d\d:\d\d)$/),{test:_r}=K(/^\[[\t ]*]/),Nr=t=>{let n=t;const r=[];let s=-1;for(;;){if(n||it(e("Empty bare key"+lt(" at "))),'"'===n[0]){const e=Dt(n);Tn.test(r[++s]=rr(n.slice(1,e)))||it(i("Key not allowed"+lt(" at "))),n=n.slice(e+1)}else{const t="'"===n[0],a=((t?Wt:Et)(n)||it(e(`Bad ${t?"literal string":"bare"} key`+lt(" at "))))[0];n=n.slice(a.length),Tn.test(r[++s]=t?a.slice(1,-1):a)||it(i("Key not allowed"+lt(" at ")))}if(!jt(n))break;n=n.replace(Ct,"")}if(xn){const i=t.slice(0,-n.length);(Gt(i)||yn&&"null"===i)&&it(e("Bad bare key disabled by xOptions.string"+lt(" at ")))}if(hn){let t=s;do{r[t]||it(e("Empty key is not allowed before TOML v0.5"+lt(", which at ")))}while(t--)}const a=r[s];return r.length=s,{leadingKeys:r,finalKey:a,lineRest:n}},Er=(t,n)=>{if("<"===n[0]){const{1:i}=({2:n}=mt(n)||it(e("Bad tag "+lt(" at "))));switch(Rn(i,t,null),n&&n[0]){case",":case"]":case"":case"#":return t[t.length]=r,n}}switch(n[0]){case"'":return Sr(Mn(t),t.length,n);case'"':return Mr(Mn(t),t.length,n);case"{":return un||it(e("Inline Table is not allowed before TOML v0.4"+lt(", which at "))),Kr(Ln(t),t.length,n);case"[":return Pr(An(t),t.length,n)}const{1:i}=({2:n}=ft(n)||it(e("Bad atom value"+lt(" at "))));return"true"===i?Bn(t)[t.length]=!0:"false"===i?Bn(t)[t.length]=!1:yn&&"null"===i?Sn(t)[t.length]=null:i.includes(":")?i.includes("-")?Cr(i)?jn(t)[t.length]=new Ni(i):(fn||it(e("Local Date-Time is not allowed before TOML v0.5"+lt(", which at "))),Cn(t)[t.length]=new Ri(i)):(fn||it(e("Local Time is not allowed before TOML v0.5"+lt(", which at "))),Nn(t)[t.length]=new Qi(i)):i.indexOf("-")!==i.lastIndexOf("-")&&"-"!==i[0]?(fn||it(e("Local Date is not allowed before TOML v0.5"+lt(", which at "))),_n(t)[t.length]=new Yi(i)):i.includes(".")||i.includes("n")||(i.includes("e")||i.includes("E"))&&!i.startsWith("0x")?Un(t)[t.length]=on?Gn(i,Or(i)):Or(i):Dn(t)[t.length]=on?Gn(i,br(i)):br(i),n},Pr=function*(t,n,i){const r=t[n]=ri(!0);if(_r(i))return je(r,"]"===i[1]?0:3),i.slice(i.indexOf("]")).replace(bt,"");const s=new at("Static Array",i.length);let a=i.startsWith("[ ")||i.startsWith("[\t")?3:0;for(i=i.replace(bt,"");!i||"#"===i[0];)a=null,i=s.must().replace(ut,"");if("]"===i[0])return null===a||je(r,a),i.replace(bt,"");for(;;){const t=Er(r,i);for(i="string"==typeof t?t:yield t;!i||"#"===i[0];)a=null,i=s.must().replace(ut,"");if(","!==i[0]){if("]"===i[0])break;throw it(e("Unexpect character in static array item value"+lt(", which is found at ")))}for(i=i.replace(bt,"");!i||"#"===i[0];)a=null,i=s.must().replace(ut,"");if("]"===i[0])break}return null===a||je(r,a),i.replace(bt,"")},Kr=function*(t,n,i){const r=t[n]=new gn(qe,!0);if(wn){const e=new at("Inline Table",i.length);i=i.replace(bt,"");let t=!0;for(;;){for(;!i||"#"===i[0];)t=!1,i=e.must().replace(ut,"");if("}"===i[0])break;const n=Wr(r,i),s=Rr(n);if(i="string"==typeof s?s:yield s){if("#"===i[0]){mn&&(n.table[Ar(n.finalKey)]=i.slice(1)),t=!1;do{i=e.must().replace(ut,"")}while(!i||"#"===i[0])}}else{t=!1;do{i=e.must().replace(ut,"")}while(!i||"#"===i[0])}","===i[0]&&(i=i.replace(bt,""))}t||je(r,!1)}else if("}"!==(i=i.replace(bt,"")||it(e("Inline Table is intended to appear on a single line"+lt(", which broken at "))))[0])for(;;){"#"===i[0]&&it(e("Inline Table is intended to appear on a single line"+lt(", which broken at ")));const t=Rr(Wr(r,i));if("}"===(i=("string"==typeof t?t:yield t)||it(e("Inline Table is intended to appear on a single line"+lt(", which broken at "))))[0])break;","===i[0]&&"}"===(i=i.replace(bt,"")||it(e("Inline Table is intended to appear on a single line"+lt(", which broken at "))))[0]&&it(e("The last property of an Inline Table can not have a trailing comma"+lt(", which was found at ")))}return i.replace(bt,"")},Wr=(t,n)=>{const{leadingKeys:i,finalKey:r,tag:s}=({lineRest:n}=(({leadingKeys:t,finalKey:n,lineRest:i})=>{const{1:r=""}=({2:i}=wt(i)||it(e("Keys must equal something"+lt(", but missing at "))));return r||i&&"#"!==i[0]||it(e("Value can not be missing after euqal sign"+lt(", which is found at "))),{leadingKeys:t,finalKey:n,tag:r,lineRest:i}})(Nr(n)));return{table:Ir(t,i),finalKey:r,tag:s,lineRest:n}},Rr=({finalKey:t,tag:n,lineRest:s,table:a})=>{if(t in a&&it(i("Duplicate property definition"+lt(" at "))),n)switch(Rn(n,null,a,t),s&&s[0]){case",":case"}":case"":case"#":return a[t]=r,s}switch(s&&s[0]){case"'":return Sr(a,t,s);case'"':return Mr(a,t,s);case"{":return un||it(e("Inline Table is not allowed before TOML v0.4"+lt(", which at "))),Kr(a,t,s);case"[":return Pr(a,t,s)}const{1:l}=({2:s}=ft(s)||it(e("Bad atom value"+lt(" at "))));return"true"===l?a[t]=!0:"false"===l?a[t]=!1:yn&&"null"===l?a[t]=null:l.includes(":")?l.includes("-")?Cr(l)?a[t]=new Ni(l):(fn||it(e("Local Date-Time is not allowed before TOML v0.5"+lt(", which at "))),a[t]=new Ri(l)):(fn||it(e("Local Time is not allowed before TOML v0.5"+lt(", which at "))),a[t]=new Qi(l)):l.indexOf("-")!==l.lastIndexOf("-")&&"-"!==l[0]?(fn||it(e("Local Date is not allowed before TOML v0.5"+lt(", which at "))),a[t]=new Yi(l)):a[t]=l.includes(".")||l.includes("n")||(l.includes("e")||l.includes("E"))&&!l.startsWith("0x")?on?Gn(l,Or(l)):Or(l):on?Gn(l,br(l)):br(l),s},Zr=()=>{const t=new gn;let n=t;for(;nt!==tt;){const i=et[++nt].replace(ut,"");if(i)if("["===i[0]){const{leadingKeys:r,finalKey:s,asArrayItem:a,tag:l,lineRest:o}=Zt(i,Nr),c=$r(t,r);o&&("#"===o[0]||it(e("Unexpect charachtor after table header"+lt(" at ")))),n=Fr(c,s,a,l),mn&&o&&(n[Br]=a?o.slice(1):c[Ar(s)]=o.slice(1))}else if("#"===i[0])zt(i)&&it(e("Control characters other than Tab are not permitted in comments"+lt(", which was found at ")));else{const t=Wr(n,i);let r=Rr(t);"string"==typeof r||(r=Jn(r)),r&&("#"===r[0]||it(e("Unexpect charachtor after key/value pair"+lt(" at "))),mn&&(t.table[Ar(t.finalKey)]=r.slice(1)))}}return t},qr=Number.MAX_SAFE_INTEGER,Hr=Date.prototype,zr=String.prototype.valueOf,Yr=function(){if(B.bind){var e=B.bind(zr);return function(t){try{e(t)}catch(n){return!1}return!0}}return function(e){try{zr.apply(e)}catch(t){return!1}return!0}}(),Jr=Number.prototype.valueOf,Vr=function(){if(B.bind){var e=B.bind(Jr);return function(t){try{e(t)}catch(n){return!1}return!0}}return function(e){try{Jr.apply(e)}catch(t){return!1}return!0}}(),Gr=function(){if("function"==typeof BigInt){var e=B.bind(BigInt.prototype.valueOf);return function(t){try{e(t)}catch(n){return!1}return!0}}return function(){return!1}}(),Xr=BigInt.prototype.valueOf,Qr=function(){if(B.bind){var e=B.bind(Xr);return function(t){try{e(t)}catch(n){return!1}return!0}}return function(e){try{Xr.apply(e)}catch(t){return!1}return!0}}(),es=fe({...pe([...M(32)].map(((e,t)=>[S(t),"\\u"+t.toString(16).toUpperCase().padStart(4,"0")]))),"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"','"""':'""\\"',"\\":"\\\\","":"\\u007F"}),{test:ts}=K(/[\x00-\x08\x0A-\x1F'\x7F]/),ns=/[^\x00-\x08\x0A-\x1F"\\\x7F]+|./gs,{test:is}=K(/^[\x00-\x08\x0A-\x1F"\\\x7F]/),rs=e=>{if(ts(e)){const t=e.match(ns);let n=t.length;do{is(t[--n])&&(t[n]=es[t[n]])}while(n);return`"${t.join("")}"`}return`'${e}'`},{test:ss}=K(/[\x00-\x08\x0A-\x1F\x7F]|'''/),{test:as}=K(/[\x00-\x08\x0B-\x1F\x7F]|'''/),{test:ls}=K(/[\x00-\x08\x0A-\x1F\\\x7F]|"""/),os=/[^\x00-\x08\x0A-\x1F"\\\x7F]+|"""|./gs,{test:cs}=K(/^(?:[\x00-\x08\x0A-\x1F\\\x7F]|""")/),us=(e,t)=>{const n=e[t];if(ls(n)){const i=n.match(os);let r=i.length;do{cs(i[--r])&&(i[r]=es[i[r]])}while(r);e[t]=i.join("")}},fs=e=>1===(e=["",...e]).length?["",""]:e,hs=e=>{let t=e.length-1;for(us(e,t),e[t]+=e[0]='"""';--t;)us(e,t);return e},ds=e=>(e[e.length-1]+=e[0]="'''",e),ps=Float64Array,gs=Uint8Array,bs=-1/0,{test:ys}=K(/^-?\d+$/),ws=e=>ys(e)?e+".0":e,ms=new ps([NaN]),xs=new gs(ms.buffer),Ts=xs[7],vs=Ts===new gs(new ps([NaN]).buffer)[7]?e=>e?e===k?"inf":e===bs?"-inf":ws(""+e):e==e?he(e,0)?"0.0":"-0.0":"nan":e=>e?e===k?"inf":e===bs?"-inf":ws(""+e):e==e?he(e,0)?"0.0":"-0.0":(ms[0]=e,xs[7]===Ts?"nan":"-nan"),Os=p.bind(Hr),{test:$s}=K(/^[\w-]+$/),Fs=e=>$s(e)?e:rs(e),Is=/[^.]+/,ks=e=>`'${e}'`,Ss=e=>Gt(e)?e.replace(Is,ks):"null"===e?"'null'":e;class Ms extends M{document;constructor(e){return super(),this.document=e,this}[zn.toPrimitive](){return this.join(this.document.newline)}appendNewline(){this[this.length]=""}set appendLine(e){this[this.length]=e}set appendInline(e){this[this.length-1]+=e}set appendInlineIf(e){e&&(this[this.length-1]+=e)}*assignBlock(e,t,i,r){const{document:s}=this,{newlineUnderHeader:a,newlineUnderSectionButPair:l}=s,o=!!t&&s.newlineUnderPairButDotted,c=t?s.newlineUnderDotted:s.newlineUnderPair;for(const u of r){const r=i[u],f=Fs(u),d=e+f;if(I(r)){const{length:e}=r;if(e){let t=r[0];if(_e(t)){const i=`[[${d}]]`,o=d+".";let c=0,u=t;for(;;){const t=s.appendSection();if(t[0]=i+Dr(u,Br),a?(t[1]="",yield t.assignBlock(o,"",u,h(u)),l&&2!==t.length&&t.appendNewline()):(yield t.assignBlock(o,"",u,h(u)),l&&t.appendNewline()),++c===e)break;if(u=r[c],!_e(u))throw n("the first table item marked by Section() means the parent array is an array of tables, which can not include other types or table not marked by Section() any more in the rest items")}continue}{let t=1;for(;t!==e;)if(_e(r[t++]))throw n("if an array is not array of tables, it can not include any table that marked by Section()")}}}else if(_e(r)){const e=s.appendSection();e[0]=`[${d}]${s.preferCommentForThis?Dr(r,Br)||jr(i,u):jr(i,u)||Dr(r,Br)}`,a?(e[1]="",yield e.assignBlock(d+".","",r,h(r)),l&&2!==e.length&&e.appendNewline()):(yield e.assignBlock(d+".","",r,h(r)),l&&e.appendNewline());continue}const p=t+f;this.appendLine=Ss(p)+" = ";const g=this.value("",r,!0);g?(--this.length,yield this.assignBlock(d+".",p+".",r,g),o&&this.appendNewline()):(this.appendInlineIf=jr(i,u),c&&this.appendNewline())}}value(e,t,i){switch(typeof t){case"object":if(null===t){if(this.document.nullDisabled)throw n('toml can not stringify "null" type value without truthy options.xNull');this.appendInline="null";break}const s=De(t);if(I(t)){if(s===r)this.staticArray(e,t);else{const{$singlelineArray:n=s}=this.document;this.singlelineArray(e,t,n)}break}if(s!==r){s||this.document.multilineTableDisabled?this.inlineTable(e,t):this.multilineTable(e,t,this.document.multilineTableComma);break}if(Os(t)){this.appendInline=t.toISOString().replace("T",this.document.T).replace("Z",this.document.Z);break}if(Vn in t){const e=t[Vn];if("string"==typeof e)this.appendInline=e;else{if(!I(e))throw n("literal value is broken");{const{length:t}=e;if(!t)throw n("literal value is broken");{this.appendInline=e[0];let n=1;for(;n!==t;)this.appendLine=e[n++]}}}break}if(Yr(t))throw n("TOML.stringify refuse to handle [object String]");if(Vr(t))throw n("TOML.stringify refuse to handle [object Number]");if(Gr(t))throw n("TOML.stringify refuse to handle [object BigInt]");if(Qr(t))throw n("TOML.stringify refuse to handle [object Boolean]");if(i){const e=h(t);if(e.length)return e;this.appendInline="{ }"}else this.inlineTable(e,t);break;case"bigint":this.appendInline=""+t;break;case"number":this.appendInline=this.document.asInteger(t)?he(t,-0)?"-0":""+t:vs(t);break;case"string":this.appendInline=rs(t);break;case"boolean":this.appendInline=t?"true":"false";break;default:throw n(`toml can not stringify "${typeof t}" type value`)}return null}singlelineArray(e,t,n){const{length:i}=t;if(i){this.appendInline=2&n?"[ ":"[",this.value(e,t[0],!1);let r=1;for(;r!==i;)this.appendInline=", ",this.value(e,t[r++],!1);this.appendInline=2&n?" ]":"]"}else this.appendInline=1&n?"[ ]":"[]"}staticArray(e,t){this.appendInline="[";const n=e+this.document.indent,{length:i}=t;let r=0;for(;r!==i;)this.appendLine=n,this.value(n,t[r++],!1),this.appendInline=",";this.appendLine=e+"]"}inlineTable(e,t){const n=h(t);n.length?(this.appendInline="{ ",this.assignInline(e,t,"",n),this[this.length-1]=this[this.length-1].slice(0,-2)+" }"):this.appendInline="{ }"}multilineTable(e,t,n){this.appendInline="{",this.assignMultiline(e,t,"",h(t),n),this.appendLine=e+"}"}assignInline(e,t,n,i){for(const r of i){const i=t[r],s=n+Fs(r),a=this.appendInline=Ss(s)+" = ",l=this.value(e,i,!0);l?(this[this.length-1]=this[this.length-1].slice(0,-a.length),this.assignInline(e,i,s+".",l)):this.appendInline=", "}}assignMultiline(e,t,n,i,r){const s=e+this.document.indent;for(const a of i){const i=t[a],l=n+Fs(a);this.appendLine=s+Ss(l)+" = ";const o=this.value(s,i,!0);o?(--this.length,this.assignMultiline(e,i,l+".",o,r)):r?this.appendInline=","+jr(t,a):this.appendInlineIf=jr(t,a)}}}const Ls=fe({document:0,section:1,header:2,pairs:3,pair:4}),{test:As}=K(/^[\t ]*$/),Bs=()=>!1;class Us extends M{get["constructor"](){return M}0=new Ms(this);asInteger=Bs;newline="";newlineUnderSection=!0;newlineUnderSectionButPair=!0;newlineUnderHeader=!0;newlineUnderPair=!1;newlineUnderPairButDotted=!1;newlineUnderDotted=!1;indent="\t";T="T";Z="Z";nullDisabled=!0;multilineTableDisabled=!0;multilineTableComma;preferCommentForThis=!1;$singlelineArray;constructor(i){if(super(),null==i)return this;const{integer:r}=i;if(void 0===r);else if(r===qr)this.asInteger=f;else{if("number"!=typeof r)throw n("TOML.stringify(,{integer}) can only be number");{if(!f(r))throw t("TOML.stringify(,{integer}) can only be a safe integer");const e=r>=0?r:-r-1,n=r>=0?-r:r;this.asInteger=t=>f(t)&&n<=t&&t<=e}}const{newline:s}=i;if(void 0===s);else{if("\n"!==s&&"\r\n"!==s)throw"string"==typeof s?e("TOML.stringify(,{newline}) can only be valid TOML newline"):n("TOML.stringify(,{newline}) can only be string");this.newline=s}const{preferCommentFor:a}=i;if(void 0===a);else{if("this"!==a&&"key"!==a)throw n("TOML.stringify(,{preferCommentFor) can only be 'key' or 'this'");this.preferCommentForThis="this"===a}const{[i.newlineAround||"header"]:l=Ls.header}=Ls;this.newlineUnderSection=l>0,this.newlineUnderSectionButPair=1===l||2===l,this.newlineUnderHeader=l>1,this.newlineUnderPair=l>2,this.newlineUnderPairButDotted=3===l,this.newlineUnderDotted=l>3;const{indent:o}=i;if(void 0===o);else if("string"==typeof o){if(!As(o))throw e("TOML.stringify(,{indent}) can only include Tab or Space");this.indent=o}else{if("number"!=typeof o)throw n(`TOML.stringify(,{indent}) can not be "${typeof o}" type`);if(!f(o))throw t(`TOML.stringify(,{indent:${o}}) is out of range`);this.indent=" ".repeat(o)}const{T:c}=i;if(void 0===c);else{if(" "!==c&&"t"!==c&&"T"!==c)throw n('TOML.stringify(,{T}) can only be "T" or " " or "t"');this.T=c}const{Z:u}=i;if(void 0===u);else{if("z"!==u&&"Z"!==u)throw n('TOML.stringify(,{Z}) can only be "Z" or "z"');this.Z=u}i.xNull&&(this.nullDisabled=!1);const{xBeforeNewlineInMultilineTable:h}=i;if(void 0===h);else{if(""!==h&&","!==h)throw n('TOML.stringify(,{xBeforeNewlineInMultilineTable}) can only be "" or ","');this.multilineTableDisabled=!1,this.multilineTableComma=!!h}const d=i.forceInlineArraySpacing;switch(d){case void 0:break;case 0:case 1:case 2:case 3:this.$singlelineArray=d;break;default:throw"number"==typeof d?t(`array inline mode must be 0 | 1 | 2 | 3, not including ${d}`):n('array inline mode must be "number" type, not including '+(null===d?'"null"':typeof d))}return this}appendSection(){return this[this.length]=new Ms(this)}}const Ds=new se,js=le.bind(Ds),Cs=ae.bind(Ds),_s=(()=>{const e=(e,t)=>"string"==typeof e?Gn((as(e)?hs:ds)(("\n"+e).split("\n")),e):I(e)?Gn((e=>{const t=e.length-1;let n=t;do{if(ss(e[n]))break}while(--n);if(n)for(n=t,us(e,n),e[n]+=e[0]='"""';--n;)us(e,n);else e[t]+=e[0]="'''";return e})(fs(e)),"string"==typeof t?t:fe(null)):(e=>(je(e,!1),Be(e),e))(e);return e.basic=(e,t)=>"string"==typeof e?Gn(hs(("\n"+e).split("\n")),e):Gn(hs(fs(e)),"string"==typeof t?t:fe(null)),e.array=Ce,d(e),e})(),Ns=new Hn("utf-8",fe({fatal:!0,ignoreBOM:!1})),Es=e=>{if(Zn(e)?e.length!==e.byteLength:!qn(e))throw n("only Uint8Array or ArrayBuffer is acceptable");try{return Ns.decode(e)}catch{throw i("A TOML doc must be a (ful-scalar) valid UTF-8 file, without any unknown code point.")}},Ps=e=>"byteLength"in e,{test:Ks}=K(/[\uD800-\uDFFF]/u),Ws=e=>{if(G(Ks(e)))throw i("A TOML doc must be a (ful-scalar) valid UTF-8 file, without any uncoupled UCS-4 character code.")};let Rs=!1;const Zs=(e,a,l,o,c,u)=>{let d,p,g,b,y="";if("object"==typeof e&&e){if(I(e))throw n(Cs(e)?"TOML.parse(array from TOML.stringify(,{newline?}))":"TOML.parse(array)");if(Ps(e))e=Es(e);else{if(y=e.path,"string"!=typeof y)throw n("TOML.parse(source.path)");const{data:t,require:i=("function"==typeof require?require:r)}=e;if(i){const{resolve:s}=i;if(null!=s){const{paths:e}=s;if(null!=e){const t=m(e,s,[""]);if(null!=t){const e=t[0];if(null!=e){const t=e.replace(/node_modules$/,"");if(t&&(y=i("path").resolve(t,y),"string"!=typeof y))throw n("TOML.parse(source.require('path').resolve)")}}}}if(t===r){const t=i("fs").readFileSync(y);if("object"!=typeof t||!t||!Ps(t))throw n("TOML.parse(source.require('fs').readFileSync)");e=Es(t)}else if("string"==typeof t)Ws(e=t);else{if("object"!=typeof t||!t||!Ps(t))throw n("TOML.parse(source.data)");e=Es(t)}}else{if(t===r)throw n("TOML.parse(source.data|source.require)");if("string"==typeof t)Ws(e=t);else{if("object"!=typeof t||!t||!Ps(t))throw n("TOML.parse(source.data)");e=Es(t)}}}}else{if("string"!=typeof e)throw n("TOML.parse(source)");Ws(e)}if("object"==typeof l&&l){if(o!==r||c!==r)throw n("options mode ? args mode");d=l.joiner,o=l.bigint,p=l.keys,c=l.x,u=""}else d=l;if(Rs)throw i("parsing during parsing.");Rs=!0;try{((e,a,l,o,c,u)=>{let d;switch(Qt=u,e){case 1:Xt=d=fn=pn=un=!0,cn=hn=!1;break;case.5:Xt=fn=pn=un=!0,d=cn=hn=!1;break;case.4:Xt=hn=un=!0,d=cn=fn=pn=!1;break;case.3:Xt=hn=!0,d=cn=fn=pn=un=!1;break;case.2:case.1:cn=hn=!0,Xt=d=fn=pn=un=!1;break;default:throw t("TOML.parse(,specificationVersion)")}if((e=>{switch(e){case 1:gt=dt,Wt=Pt,zt=qt,kt=Ot,Ut=Mt,Et=_t,Rt=!0;break;case.5:gt=pt,Wt=Pt,zt=qt,kt=$t,Ut=Lt,Et=_t,Rt=!0;break;case.4:gt=pt,Wt=Kt,zt=Ht,kt=Ft,Ut=At,Et=_t,Rt=!0;break;default:gt=pt,Wt=Kt,zt=Ht,kt=It,Ut=Bt,Et=Nt,Rt=!1}})(e),"string"==typeof a)en=a;else{if(a!==r)throw n(`TOML.parse(${Qt?`${Qt}multilineStringJoiner`:",{ joiner }"})`);en=null}if(l===r||!0===l)tn=!0;else if(!1===l)tn=!1;else{if("number"!=typeof l)throw n(`TOML.parse(${Qt?`${Qt},useBigInt`:",{ bigint }"})`);if(!f(l))throw t(`TOML.parse(${Qt?`${Qt},useBigInt`:",{ bigint }"})`);tn=null,l>=0?nn=-(rn=l):rn=-(nn=l)-1}if(!s&&!1!==tn)throw i(`Can't work without TOML.parse(${Qt?`${Qt},useBigInt`:",{ bigint }"}) being set to false, because the host doesn't have BigInt support`);if(null==o)Tn=sn;else{if(!ln(o))throw n("TOML.parse(,{ keys })");Tn=o}if(null==c)gn=Ve,dn=bn=yn=wn=!1,Rn=Wn;else{if("object"!=typeof c)throw n(`TOML.parse(${Qt?`${Qt},,xOptions`:",{ x }"})`);{const{order:e,longer:t,exact:i,null:r,multi:s,comment:a,string:l,literal:o,tag:u,...f}=c,p=h(f);if(p.length)throw n(`TOML.parse(${Qt?`${Qt},,{ ${p.join(", ")} }`:`,{ x: { ${p.join(", ")} } }`})`);if(gn=e?Ge:Ve,bn=!t,dn=!!i,yn=!!r,wn=!!s,mn=!!a,xn=!!l,on=!!o,u){if("function"!=typeof u)throw n(`TOML.parse(${Qt?`${Qt},,{ tag }`:",{ x: { tag } }"})`);if(!d)throw n(`TOML.parse(${Qt?`${Qt},,xOptions`:",{ x }"}) xOptions.tag needs at least TOML 1.0 to support mixed type array`);En=u,Rn=Kn}else Rn=Wn}}d?Sn=Mn=Ln=An=Bn=Un=Dn=jn=Cn=_n=Nn=kn:({asNulls:Sn,asStrings:Mn,asTables:Ln,asArrays:An,asBooleans:Bn,asFloats:Un,asIntegers:Dn,asOffsetDateTimes:jn,asLocalDateTimes:Cn,asLocalDates:_n,asLocalTimes:Nn}=In)})(a,d,o,p,c,u),st(e,y),e&&"\ufeff"===e[0]&&it(n("TOML content (string) should not start with BOM (U+FEFF)"+lt(" at "))),g=Zr(),b=(()=>{if(Pn){const e=En;let t=Pn;return Pn=null,()=>{const n=e;let i=t;t=null;do{n(i)}while(i=i._linked)}}return null})()}finally{ot(),Tn=sn,en=En=Pn=null,cn=!1,Rs=!1,G()}return b&&b(),g};return _({version:"1.36.0",parse:O(((e,t,n,i,r)=>"number"==typeof t?Zs(e,t,n,i,r,",,"):Zs(e,1,t,n,i,",")),{"1.0":(e,t,n,i)=>Zs(e,.1,t,n,i,","),1:(e,t,n,i)=>Zs(e,1,t,n,i,","),.5:(e,t,n,i)=>Zs(e,.5,t,n,i,","),.4:(e,t,n,i)=>Zs(e,.4,t,n,i,","),.3:(e,t,n,i)=>Zs(e,.3,t,n,i,","),.2:(e,t,n,i)=>Zs(e,.2,t,n,i,","),.1:(e,t,n,i)=>Zs(e,.1,t,n,i,",")}),stringify:(e,t)=>{const n=new Us(t),i=n[0];if(i[0]="",Jn(i.assignBlock("","",e,h(e))),n.newlineUnderSectionButPair&&1!==i.length&&i.appendNewline(),n.newlineUnderSection||n[n.length-1].appendNewline(),n.newline)return n.join(n.newline);const r=n.flat();return js(r),r},Section:e=>{if(I(e))throw n("array can not be section, maybe you want to use it on the tables in it");return Ne(e),Ae(e),e},inline:(e,i,s)=>{if(I(e)){if(s)i=3;else if(i===r)i=3;else if(0!==i&&1!==i&&2!==i&&3!==i)throw"number"==typeof i?t(`array inline mode must be 0 | 1 | 2 | 3, not including ${i}`):n('array inline mode must be "number" type, not including '+(null===i?'"null"':typeof i));je(e,i)}else je(e,!0),Be(e);return e},multiline:_s,basic:e=>Gn((e=>{if(e){const t=e.match(ns);let n=t.length;do{is(t[--n])&&(t[n]=es[t[n]])}while(n);return`"${t.join("")}"`}return'""'})(e),e),literal:(e,...t)=>{if("string"==typeof e){if(1===t.length)return Gn(e.includes("\n")?e.split("\n"):e,t[0])}else{let n=t.length;if(n){const{raw:i}=e;for(e=i[n];n;)t[--n]+=i[n];e=t.join("")+e}else e=e.raw[0]}return Gn(e.includes("\n")?e.split("\n"):e,fe(null))},commentFor:Ar,commentForThis:Br,OffsetDateTime:Ni,LocalDateTime:Ri,LocalDate:Yi,LocalTime:Qi,isInline:Ue,isSection:_e,Keys:an})})); +//# sourceMappingURL=j-toml.min.js.map \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 35996211..7a3927b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2859,11 +2859,6 @@ "@lezer/highlight" "^1.0.0" "@lezer/lr" "^1.0.0" -"@ltd/j-toml@1.36.0": - version "1.36.0" - resolved "https://registry.yarnpkg.com/@ltd/j-toml/-/j-toml-1.36.0.tgz#28867ec45e89052f1711bec53fdffa864d72e40f" - integrity sha512-FIf3Fq6rKZSfiZLVH3QrS2gJJWxCTzefQLRJPM1cnJa61//XPR8e3OVF7HI1XV3n9xdydAWyObZApbLCChsjqw== - "@mapbox/jsonlint-lines-primitives@~2.0.2": version "2.0.2" resolved "https://registry.yarnpkg.com/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz#ce56e539f83552b58d10d672ea4d6fc9adc7b234" @@ -3046,89 +3041,89 @@ react-transition-group "^4.4.5" rifm "^0.12.1" -"@next/bundle-analyzer@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/bundle-analyzer/-/bundle-analyzer-13.0.7.tgz#9cfacd3412cd9956dd10f607eb6e832a6559a240" - integrity sha512-kUvKjdScipM5fjVRoehBS+c1nwIk2HYwI01NfF8GZlpfyTnMIAmfb5cP2trHfD3rZKUTFl2bKR52+CDwo6SBgg== +"@next/bundle-analyzer@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/bundle-analyzer/-/bundle-analyzer-13.1.0.tgz#fb1b5aaf782368fe9adbdd7a0b6d5d420a808955" + integrity sha512-xGjsaQlETw5RcDEJ9pfi4ccogeqB/WExbQ9VNkjK4y/DNqD+7snQMdkbocnrEpIVE0LBsMSqZJfqTmnUC3dq7g== dependencies: webpack-bundle-analyzer "4.7.0" -"@next/env@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/env/-/env-13.0.7.tgz#7b6ccd9006d3fb57c369e3fb62b28e15324141e9" - integrity sha512-ZBclBRB7DbkSswXgbJ+muF5RxfgmAuQKAWL8tcm86aZmoiL1ZainxQK0hMcMYdh+IYG8UObAKV2wKB5O+6P4ng== +"@next/env@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/env/-/env-13.1.0.tgz#fdb4d4711c6bd544dd80f0afd9846af2699b8c1c" + integrity sha512-6iNixFzCndH+Bl4FetQzOMjxCJqg8fs0LAlZviig1K6mIjOWH2m2oPcHcOg1Ta5VCe7Bx5KG1Hs+NrWDUkBt9A== -"@next/eslint-plugin-next@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.0.7.tgz#a41f628ea48043f13d9d060871e649dc4dddd4d1" - integrity sha512-Q/Z0V3D3UpKhhzFU6/s17wD4rqJ+ZDGded8UpqNyzX1nUdD+/PnsZexPhSIZ2Yf/c8QESeirmJVRb3eAfCQkRQ== +"@next/eslint-plugin-next@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.1.0.tgz#52b71fb2a9aa27dc7bbb20fa0e9a540dfa0c2c09" + integrity sha512-LGh0iqcEwxs0HmEK96cXXuhofcOGSUGl8Zms279JW8Zq/6GJkXo87gtRpfJrwD+a77nEIdRaORPM91Us3xW0Qw== dependencies: glob "7.1.7" -"@next/swc-android-arm-eabi@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.0.7.tgz#ddbf3d092d22f17238aa34072f5dcb8129d8b23e" - integrity sha512-QTEamOK/LCwBf05GZ261rULMbZEpE3TYdjHlXfznV+nXwTztzkBNFXwP67gv2wW44BROzgi/vrR9H8oP+J5jxg== +"@next/swc-android-arm-eabi@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.0.tgz#b754f03c1af5572e950993b00cbc189d063e7642" + integrity sha512-ANBZZRjZBV+Sii11ZVxbxSvfIi6dZwu4w+XnJBDmz+0/wtAigpjYWyMkuWZ/RCD7INdusOlU4EgJ99WzWGIDjA== -"@next/swc-android-arm64@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-13.0.7.tgz#96f150232eb66da377226f21a371d30389371ed5" - integrity sha512-wcy2H0Tl9ME8vKy2GnJZ7Mybwys+43F/Eh2Pvph7mSDpMbYBJ6iA0zeY62iYYXxlZhnAID3+h79FUqUEakkClw== +"@next/swc-android-arm64@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-13.1.0.tgz#8794b4c1680ed8825b9a0e9ae5b3d14cd0ad9f07" + integrity sha512-nPwbkS3aZjCIe61wztgjXjIeylijOP8uGtDGjjJVUF3B/5GLVx3ngZu6tjPTMEgaLM0u//HuGK+aZolWUQWE4g== -"@next/swc-darwin-arm64@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.0.7.tgz#34e80a22573b5321ade8417dfb814cf6e1fd9997" - integrity sha512-F/mU7csN1/J2cqXJPMgTQ6MwAbc1pJ6sp6W+X0z5JEY4IFDzxKd3wRc3pCiNF7j8xW381JlNpWxhjCctnNmfaw== +"@next/swc-darwin-arm64@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.0.tgz#c7aeb19e53ee06f333b3af1a192a9a5b5b583755" + integrity sha512-0hUydiAW18jK2uGPnZRdnRQtdB/3ZoPo84A6zH7MJHxAWw9lzVsv3kMg9kgVBBlrivzqdNN8rdgA+eYNxzXU9w== -"@next/swc-darwin-x64@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.0.7.tgz#ecec57211bf54a15872bb44e5ea70c99c2efe785" - integrity sha512-636AuRQynCPnIPRVzcCk5B7OMq9XjaYam2T0HeWUCE6y7EqEO3kxiuZ4QmN81T7A6Ydb+JnivYrLelHXmgdj6A== +"@next/swc-darwin-x64@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.0.tgz#2efe163863cf8a72d71b9f72b31b6c1c94f7213a" + integrity sha512-3S3iQqJIysklj0Q9gnanuYMzF8H9p+fUVhvSHxVVLcKH4HsE8EGddNkXsaOyznL1kC6vGKw7h6uz1ojaXEafCA== -"@next/swc-freebsd-x64@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.0.7.tgz#b4a8a49c3c3d200c9d6c43193b82ee39c6eb1d59" - integrity sha512-92XAMzNgQazowZ9t7uZmHRA5VdBl/SwEdrf5UybdfRovsxB4r3+yJWEvFaqYpSEp0gwndbwLokJdpz7OwFdL3Q== +"@next/swc-freebsd-x64@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.0.tgz#bf80e44d0aae021104a4c80f1056d0b13f1b7ba7" + integrity sha512-wAgzwm/em48GIuWq3OYr0BpncMy7c+UA3hsyX+xKh/vb/sOIpQly7JTa+GNdk17s7kprhMfsgzPG3da36NLpkA== -"@next/swc-linux-arm-gnueabihf@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.0.7.tgz#6f550d348c6ece2b25426a53c5be49a3a8fc54a3" - integrity sha512-3r1CWl5P6I5n5Yxip8EXv/Rfu2Cp6wVmIOpvmczyUR82j+bcMkwPAcUjNkG/vMCagS4xV7NElrcdGb39iFmfLg== +"@next/swc-linux-arm-gnueabihf@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.0.tgz#71ecac0482bfc7ad4bbe15ae7609cc8119772a0c" + integrity sha512-Cr2hzL7ad+4nj9KrR1Cz1RDcsWa61X6I7gc6PToRYIY4gL480Sijq19xo7dlXQPnr1viVzbNiNnNXZASHv7uvw== -"@next/swc-linux-arm64-gnu@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.0.7.tgz#20bd7f25a3af0edb4d3506c005f54212eb9a855b" - integrity sha512-RXo8tt6ppiwyS6hpDw3JdAjKcdVewsefxnxk9xOH4mRhMyq9V2lQx0e24X/dRiZqkx3jnWReR2WRrUlgN1UkSQ== +"@next/swc-linux-arm64-gnu@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.0.tgz#212c2e3f092c8de9a97bbb13a2754271ec38ad90" + integrity sha512-EjCIKfeZB9h72evL2yGNwBvE5Im96Zn7o2zxImlvCiUYb/xXDqn4hzhck035BSP3g3sGDLfijFTE1wKRyXIk4w== -"@next/swc-linux-arm64-musl@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.0.7.tgz#f421bedcf2e1ad1ad7c90af1102df83634e92b6a" - integrity sha512-RWpnW+bmfXyxyY7iARbueYDGuIF+BEp3etLeYh/RUNHb9PhOHLDgJOG8haGSykud3a6CcyBI8hEjqOhoObaDpw== +"@next/swc-linux-arm64-musl@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.0.tgz#950c757b929b84aa359f3f9c3a5d90704d5c8f45" + integrity sha512-WAsZtCtPXlz/7/bnW9ryw856xEun+c6xSwZwbcvrMxtcSiW3z0LD91Nsj3AkexsjRtBjeEpNeVtDExqF2VKKSA== -"@next/swc-linux-x64-gnu@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.0.7.tgz#76cb25d3c00041dabc02e0b3ddd10f9325eb3f60" - integrity sha512-/ygUIiMMTYnbKlFs5Ba9J5k/tNxFWy8eI1bBF8UuMTvV8QJHl/aLDiA5dwsei2kk99/cu3eay62JnJXkSk3RSQ== +"@next/swc-linux-x64-gnu@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.0.tgz#f60582199b2d2ba763deb3355e205733bf408c20" + integrity sha512-Tjd5gieI3X9vPce5yF+GsQxOl0jwUkyOrTR1g5PQr+bT/9Qos/yPL48H1L5ayEp0hxgLVPW7skGal7lVnAoVEQ== -"@next/swc-linux-x64-musl@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.0.7.tgz#4e49b54b3578f7c4753dd7ac9c5e683914427884" - integrity sha512-dLzr6AL77USJN0ejgx5AS8O8SbFlbYTzs0XwAWag4oQpUG2p3ARvxwQgYQ0Z+6EP0zIRZ/XfLkN/mhsyi3m4PA== +"@next/swc-linux-x64-musl@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.0.tgz#3a95a243521f5d07985aa6308200d3834e73282b" + integrity sha512-H9UMEQv40e9pkgdX4mCms0dDf2dimmZ6WXhDTWF/yIh9icgcsHaP73BJ9IFlgvh80wLiUgWZ3LAX4vXnXzidmg== -"@next/swc-win32-arm64-msvc@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.0.7.tgz#98f622f9d0e34746e1ec7f25ce436a809a42313d" - integrity sha512-+vFIVa82AwqFkpFClKT+n73fGxrhAZ2u1u3mDYEBdxO6c9U4Pj3S5tZFsGFK9kLT/bFvf/eeVOICSLCC7MSgJQ== +"@next/swc-win32-arm64-msvc@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.0.tgz#7cc6d467c769dff23ecb9c3953b4429e4ca9f3f8" + integrity sha512-LFFIKjW/cPl4wvG8HF/6oYPJZ+Jy32G3FUflC8UW1Od6W9yOSEvadhk9fMyDZN4cgsNOcVc3uVSMpcuuCpbDGw== -"@next/swc-win32-ia32-msvc@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.0.7.tgz#f27f99aeec4207be7688a417f5934ea4868dadfc" - integrity sha512-RNLXIhp+assD39dQY9oHhDxw+/qSJRARKhOFsHfOtf8yEfCHqcKkn3X/L+ih60ntaEqK294y1WkMk6ylotsxwA== +"@next/swc-win32-ia32-msvc@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.0.tgz#7bf1ed77d80b86c04cea12ecdf6ac4bf54b5160c" + integrity sha512-MBLaoHZSenMdxhB3Ww1VNEhjyPT3uLjzAi5Ygk48LLLbOGu5KxQolhINRrqGuJWqJRNWSJ9JSFBfJrZwQzrUew== -"@next/swc-win32-x64-msvc@13.0.7": - version "13.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.0.7.tgz#7aaa6cee723cde844e891e895e5561a60d9fa7f3" - integrity sha512-kvdnlLcrnEq72ZP0lqe2Z5NqvB9N5uSCvtXJ0PhKvNncWWd0fEG9Ec9erXgwCmVlM2ytw41k9/uuQ+SVw4Pihw== +"@next/swc-win32-x64-msvc@13.1.0": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.0.tgz#2e23251a84b95182249132480d55fb122a7ae4f0" + integrity sha512-fFTfIQvnmpbKoyh4v3ezlGqtERlgc2Sx8qJwPuYqoVi0V08wCx9wp2Iq1CINxP3UMHkEeNX7gYpDOd+9Cw9EiQ== "@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3": version "2.1.8-no-fsevents.3" @@ -7748,12 +7743,12 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-next@13.0.7: - version "13.0.7" - resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.0.7.tgz#576a70e8dc92ecad9beb4e911fa0cfefaea83338" - integrity sha512-X7DB7iDJ9iHi5DAZbnFdWm4M0dwarj5h5y6Vpm9INCYzFgAwSWslq3v0qjYEjtUO5IQ8n1WK6IU5FkOQ2HBhOA== +eslint-config-next@13.1.0: + version "13.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.1.0.tgz#cd749f70f59356de1d90c93af8704400e8927996" + integrity sha512-UdZm8GTR8PWys1dw+gJY+aLR/etkbTTsrRxiQ57nxqAE4Fw6PGZ2prLjqV6IhNkFve3c8ZgbCrUolfGad2mryA== dependencies: - "@next/eslint-plugin-next" "13.0.7" + "@next/eslint-plugin-next" "13.1.0" "@rushstack/eslint-patch" "^1.1.3" "@typescript-eslint/parser" "^5.42.0" eslint-import-resolver-node "^0.3.6" @@ -11912,30 +11907,30 @@ next-tick@^1.1.0: resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== -next@13.0.7: - version "13.0.7" - resolved "https://registry.yarnpkg.com/next/-/next-13.0.7.tgz#f07a0cc3afefdb86fb6668048e910a2193e3c1e2" - integrity sha512-YfTifqX9vfHm+rSU/H/3xvzOHDkYuMuh4wsvTjiqj9h7qHEF7KHB66X4qrH96Po+ohdid4JY8YVGPziDwdXL0A== +next@13.1.0: + version "13.1.0" + resolved "https://registry.yarnpkg.com/next/-/next-13.1.0.tgz#fe65eff07dbdb08c8c925876cffdaf59d4552b32" + integrity sha512-lQMZH1V94L5IL/WaihQkTYabSY73aqgrkGPJB5uz+2O3ES4I3losV/maXLY7l7x5e+oNyE9N81upNQ8uRsR5/A== dependencies: - "@next/env" "13.0.7" + "@next/env" "13.1.0" "@swc/helpers" "0.4.14" caniuse-lite "^1.0.30001406" postcss "8.4.14" - styled-jsx "5.1.0" + styled-jsx "5.1.1" optionalDependencies: - "@next/swc-android-arm-eabi" "13.0.7" - "@next/swc-android-arm64" "13.0.7" - "@next/swc-darwin-arm64" "13.0.7" - "@next/swc-darwin-x64" "13.0.7" - "@next/swc-freebsd-x64" "13.0.7" - "@next/swc-linux-arm-gnueabihf" "13.0.7" - "@next/swc-linux-arm64-gnu" "13.0.7" - "@next/swc-linux-arm64-musl" "13.0.7" - "@next/swc-linux-x64-gnu" "13.0.7" - "@next/swc-linux-x64-musl" "13.0.7" - "@next/swc-win32-arm64-msvc" "13.0.7" - "@next/swc-win32-ia32-msvc" "13.0.7" - "@next/swc-win32-x64-msvc" "13.0.7" + "@next/swc-android-arm-eabi" "13.1.0" + "@next/swc-android-arm64" "13.1.0" + "@next/swc-darwin-arm64" "13.1.0" + "@next/swc-darwin-x64" "13.1.0" + "@next/swc-freebsd-x64" "13.1.0" + "@next/swc-linux-arm-gnueabihf" "13.1.0" + "@next/swc-linux-arm64-gnu" "13.1.0" + "@next/swc-linux-arm64-musl" "13.1.0" + "@next/swc-linux-x64-gnu" "13.1.0" + "@next/swc-linux-x64-musl" "13.1.0" + "@next/swc-win32-arm64-msvc" "13.1.0" + "@next/swc-win32-ia32-msvc" "13.1.0" + "@next/swc-win32-x64-msvc" "13.1.0" nice-try@^1.0.4: version "1.0.5" @@ -12337,10 +12332,10 @@ ol-mapbox-style@^9.2.0: "@mapbox/mapbox-gl-style-spec" "^13.23.1" mapbox-to-css-font "^2.4.1" -ol@7.2.1: - version "7.2.1" - resolved "https://registry.yarnpkg.com/ol/-/ol-7.2.1.tgz#23cb1115185422d3619d979fbfa4ea6845c2bbfd" - integrity sha512-2UinSJqr4pC4ypll5w/Yo+4yxuvzmy+bIqN1xmu5zH4A9zj8se4y7RC0+0V77wB//VXM07UWdvoC8MhW3YZcJw== +ol@7.2.2: + version "7.2.2" + resolved "https://registry.yarnpkg.com/ol/-/ol-7.2.2.tgz#d675a1525fd995a29a70a9a9fa9c3a9bc827aa39" + integrity sha512-eqJ1hhVQQ3Ap4OhYq9DRu5pz9RMpLhmoTauDoIqpn7logVi1AJE+lXjEHrPrTSuZYjtFbMgqr07sxoLNR65nrw== dependencies: earcut "^2.2.3" geotiff "^2.0.7" @@ -14789,10 +14784,10 @@ styled-components@5.3.6: shallowequal "^1.1.0" supports-color "^5.5.0" -styled-jsx@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.1.0.tgz#4a5622ab9714bd3fcfaeec292aa555871f057563" - integrity sha512-/iHaRJt9U7T+5tp6TRelLnqBqiaIT0HsO0+vgyj8hK2KUk7aejFqRrumqPUlAqDwAj8IbS/1hk3IhBAAK/FCUQ== +styled-jsx@5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.1.1.tgz#839a1c3aaacc4e735fed0781b8619ea5d0009d1f" + integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw== dependencies: client-only "0.0.1"