2026-07-25 08:10:48 +00:00
// Module ID: 12029
// Function ID: 93523
2026-07-23 10:11:24 +00:00
// Name: cached
2026-07-25 08:10:48 +00:00
// Dependencies: [12015]
2026-07-23 10:11:24 +00:00
2026-07-25 08:10:48 +00:00
// Module 12029 (cached)
2026-07-23 10:11:24 +00:00
const self = this ;
let self2 = this ;
if ( this ) {
self2 = self . _ _createBinding ;
}
if ( self2 ) {
let _ _setModuleDefault = self ;
if ( self ) {
_ _setModuleDefault = self . _ _setModuleDefault ;
}
if ( _ _setModuleDefault ) {
let fn = self ;
if ( self ) {
fn = self . _ _importStar ;
}
if ( ! fn ) {
fn = ( _ _esModule ) => {
if ( _ _esModule ) {
if ( _ _esModule . _ _esModule ) {
return _ _esModule ;
}
}
const obj = { } ;
if ( null != _ _esModule ) {
for ( const key10009 in arg0 ) {
let tmp7 = key10009 ;
let callResult = "default" !== key10009 ;
if ( callResult ) {
let _Object = Object ;
callResult = hasOwnProperty . call ( arg0 , key10009 ) ;
}
if ( ! callResult ) {
continue ;
} else {
let tmp4 = self2 ;
let tmp5 = self2 ( obj , arg0 , key10009 ) ;
continue ;
}
continue ;
}
}
_ _setModuleDefault ( obj , _ _esModule ) ;
return obj ;
} ;
}
const _Object3 = Object ;
let obj = { value : true } ;
exports . default = function default _1 ( ) {
return { localeError : error ( ) } ;
} ;
let closure _2 = fn ( require ( "cached" ) ) ;
function error ( ) {
function getSizing ( arg0 ) {
let tmp2 = null ;
if ( null != table [ arg0 ] ) {
tmp2 = tmp ;
}
return tmp2 ;
}
2026-07-25 08:10:48 +00:00
let closure _0 = { string : { unit : "Zeichen" , verb : "zu haben" } , file : { unit : "Bytes" , verb : "zu haben" } , array : { unit : "Elemente" , verb : "zu haben" } , set : { unit : "Elemente" , verb : "zu haben" } } ;
let closure _1 = { regex : "Eingabe" , email : "E-Mail-Adresse" , url : "URL" , emoji : "Emoji" , uuid : "UUID" , uuidv4 : "UUIDv4" , uuidv6 : "UUIDv6" , nanoid : "nanoid" , guid : "GUID" , cuid : "cuid" , cuid2 : "cuid2" , ulid : "ULID" , xid : "XID" , ksuid : "KSUID" , datetime : "ISO-Datum und -Uhrzeit" , date : "ISO-Datum" , time : "ISO-Uhrzeit" , duration : "ISO-Dauer" , ipv4 : "IPv4-Adresse" , ipv6 : "IPv6-Adresse" , cidrv4 : "IPv4-Bereich" , cidrv6 : "IPv6-Bereich" , base64 : "Base64-codierter String" , base64url : "Base64-URL-codierter String" , json _string : "JSON-String" , e164 : "E.164-Nummer" , jwt : "JWT" , template _literal : "Eingabe" } ;
let closure _2 = { nan : "NaN" , number : "Zahl" , array : "Array" } ;
2026-07-23 10:11:24 +00:00
return ( code ) => {
let minimum ;
let origin ;
code = code . code ;
if ( "invalid_type" === code ) {
let expected = closure _2 [ code . expected ] ;
if ( null == expected ) {
expected = code . expected ;
}
const parsedTypeResult = closure _2 . parsedType ( code . input ) ;
let tmp51 = parsedTypeResult ;
if ( null != closure _2 [ parsedTypeResult ] ) {
tmp51 = tmp50 ;
}
if ( obj . test ( code . expected ) ) {
const _HermesInternal17 = HermesInternal ;
2026-07-25 08:10:48 +00:00
let combined = "Ung\u00FCltige Eingabe: erwartet instanceof " + code . expected + ", erhalten " + tmp51 ;
2026-07-23 10:11:24 +00:00
} else {
const _HermesInternal16 = HermesInternal ;
2026-07-25 08:10:48 +00:00
combined = "Ung\u00FCltige Eingabe: erwartet " + expected + ", erhalten " + tmp51 ;
2026-07-23 10:11:24 +00:00
}
return combined ;
} else if ( "invalid_value" === code ) {
if ( 1 === code . values . length ) {
const _HermesInternal15 = HermesInternal ;
2026-07-25 08:10:48 +00:00
let combined1 = "Ung\u00FCltige Eingabe: erwartet " + closure _2 . stringifyPrimitive ( code . values [ 0 ] ) ;
2026-07-23 10:11:24 +00:00
} else {
const _HermesInternal14 = HermesInternal ;
2026-07-25 08:10:48 +00:00
combined1 = "Ung\u00FCltige Option: erwartet eine von " + closure _2 . joinValues ( code . values , "|" ) ;
2026-07-23 10:11:24 +00:00
}
return combined1 ;
} else if ( "too_big" === code ) {
let str33 = "<" ;
if ( code . inclusive ) {
str33 = "<=" ;
}
const tmp26 = getSizing ( code . origin ) ;
const origin2 = code . origin ;
2026-07-25 08:10:48 +00:00
let str34 = "Wert" ;
2026-07-23 10:11:24 +00:00
if ( tmp26 ) {
if ( tmp28 ) {
str34 = origin2 ;
}
let str = code . maximum . toString ( ) ;
const unit = tmp26 . unit ;
2026-07-25 08:10:48 +00:00
let str40 = "Elemente" ;
2026-07-23 10:11:24 +00:00
if ( null != unit ) {
2026-07-25 08:10:48 +00:00
str40 = unit ;
2026-07-23 10:11:24 +00:00
}
const _HermesInternal13 = HermesInternal ;
2026-07-25 08:10:48 +00:00
let combined2 = "Zu gro\u00DF: erwartet, dass " + str34 + " " + str33 + str + " " + str40 + " hat" ;
const str39 = code . maximum ;
2026-07-23 10:11:24 +00:00
} else {
let tmp29 = str34 ;
if ( tmp28 ) {
tmp29 = origin2 ;
}
const _HermesInternal12 = HermesInternal ;
2026-07-25 08:10:48 +00:00
combined2 = "Zu gro\u00DF: erwartet, dass " + tmp29 + " " + str33 + code . maximum . toString ( ) + " ist" ;
2026-07-23 10:11:24 +00:00
const str35 = code . maximum ;
}
return combined2 ;
} else if ( "too_small" === code ) {
2026-07-25 08:10:48 +00:00
let str24 = ">" ;
2026-07-23 10:11:24 +00:00
if ( code . inclusive ) {
2026-07-25 08:10:48 +00:00
str24 = ">=" ;
2026-07-23 10:11:24 +00:00
}
const tmp15 = getSizing ( code . origin ) ;
( { origin , minimum } = code ) ;
const str1 = minimum . toString ( ) ;
if ( tmp15 ) {
const _HermesInternal11 = HermesInternal ;
2026-07-25 08:10:48 +00:00
let combined3 = "Zu klein: erwartet, dass " + origin + " " + str24 + str1 + " " + tmp15 . unit + " hat" ;
2026-07-23 10:11:24 +00:00
} else {
const _HermesInternal10 = HermesInternal ;
2026-07-25 08:10:48 +00:00
combined3 = "Zu klein: erwartet, dass " + origin + " " + str24 + str1 + " ist" ;
2026-07-23 10:11:24 +00:00
}
return combined3 ;
} else if ( "invalid_format" === code ) {
if ( "starts_with" === code . format ) {
const _HermesInternal9 = HermesInternal ;
2026-07-25 08:10:48 +00:00
let combined4 = "Ung\u00FCltiger String: muss mit \"" + code . prefix + "\" beginnen" ;
2026-07-23 10:11:24 +00:00
} else if ( "ends_with" === code . format ) {
const _HermesInternal8 = HermesInternal ;
2026-07-25 08:10:48 +00:00
combined4 = "Ung\u00FCltiger String: muss mit \"" + code . suffix + "\" enden" ;
2026-07-23 10:11:24 +00:00
} else if ( "includes" === code . format ) {
const _HermesInternal7 = HermesInternal ;
2026-07-25 08:10:48 +00:00
combined4 = "Ung\u00FCltiger String: muss \"" + code . includes + "\" enthalten" ;
2026-07-23 10:11:24 +00:00
} else if ( "regex" === code . format ) {
const _HermesInternal6 = HermesInternal ;
2026-07-25 08:10:48 +00:00
combined4 = "Ung\u00FCltiger String: muss dem Muster " + code . pattern + " entsprechen" ;
2026-07-23 10:11:24 +00:00
} else {
let format = table2 [ code . format ] ;
if ( null == format ) {
format = code . format ;
}
const _HermesInternal5 = HermesInternal ;
2026-07-25 08:10:48 +00:00
combined4 = "Ung\u00FCltig: " + format ;
2026-07-23 10:11:24 +00:00
}
return combined4 ;
} else if ( "not_multiple_of" === code ) {
const _HermesInternal4 = HermesInternal ;
2026-07-25 08:10:48 +00:00
return "Ung\u00FCltige Zahl: muss ein Vielfaches von " + code . divisor + " sein" ;
2026-07-23 10:11:24 +00:00
} else if ( "unrecognized_keys" === code ) {
2026-07-25 08:10:48 +00:00
let str7 = "Unbekannter Schl\u00FCssel" ;
2026-07-23 10:11:24 +00:00
if ( code . keys . length > 1 ) {
2026-07-25 08:10:48 +00:00
str7 = "Unbekannte Schl\u00FCssel" ;
2026-07-23 10:11:24 +00:00
}
const _HermesInternal3 = HermesInternal ;
2026-07-25 08:10:48 +00:00
return "" + str7 + ": " + closure _2 . joinValues ( code . keys , ", " ) ;
2026-07-23 10:11:24 +00:00
} else {
str = "invalid_key" ;
if ( "invalid_key" === code ) {
const _HermesInternal2 = HermesInternal ;
2026-07-25 08:10:48 +00:00
return "Ung\u00FCltiger Schl\u00FCssel in " + code . origin ;
2026-07-23 10:11:24 +00:00
} else {
if ( "invalid_union" !== code ) {
if ( "invalid_element" === code ) {
const _HermesInternal = HermesInternal ;
2026-07-25 08:10:48 +00:00
return "Ung\u00FCltiger Wert in " + code . origin ;
2026-07-23 10:11:24 +00:00
}
}
2026-07-25 08:10:48 +00:00
return "Ung\u00FCltige Eingabe" ;
2026-07-23 10:11:24 +00:00
}
}
} ;
}
module . exports = exports . default ;
} else {
const _Object2 = Object ;
}
} else {
let _Object = Object ;
}