@scratch/scratch-render 12.2.0 → 12.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157981,826 +157981,6 @@ module.exports = /*#__PURE__*/JSON.parse('{"--*":{"syntax":"<declaration-value>"
157981
157981
  "use strict";
157982
157982
  module.exports = /*#__PURE__*/JSON.parse('{"absolute-size":{"syntax":"xx-small | x-small | small | medium | large | x-large | xx-large | xxx-large"},"alpha-value":{"syntax":"<number> | <percentage>"},"angle-percentage":{"syntax":"<angle> | <percentage>"},"angular-color-hint":{"syntax":"<angle-percentage>"},"angular-color-stop":{"syntax":"<color> && <color-stop-angle>?"},"angular-color-stop-list":{"syntax":"[ <angular-color-stop> [, <angular-color-hint>]? ]# , <angular-color-stop>"},"animateable-feature":{"syntax":"scroll-position | contents | <custom-ident>"},"attachment":{"syntax":"scroll | fixed | local"},"attr()":{"syntax":"attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )"},"attr-matcher":{"syntax":"[ \'~\' | \'|\' | \'^\' | \'$\' | \'*\' ]? \'=\'"},"attr-modifier":{"syntax":"i | s"},"attribute-selector":{"syntax":"\'[\' <wq-name> \']\' | \'[\' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? \']\'"},"auto-repeat":{"syntax":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"},"auto-track-list":{"syntax":"[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat>\\n[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?"},"baseline-position":{"syntax":"[ first | last ]? baseline"},"basic-shape":{"syntax":"<inset()> | <circle()> | <ellipse()> | <polygon()> | <path()>"},"bg-image":{"syntax":"none | <image>"},"bg-layer":{"syntax":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"},"bg-position":{"syntax":"[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]"},"bg-size":{"syntax":"[ <length-percentage> | auto ]{1,2} | cover | contain"},"blur()":{"syntax":"blur( <length> )"},"blend-mode":{"syntax":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity"},"box":{"syntax":"border-box | padding-box | content-box"},"brightness()":{"syntax":"brightness( <number-percentage> )"},"calc()":{"syntax":"calc( <calc-sum> )"},"calc-sum":{"syntax":"<calc-product> [ [ \'+\' | \'-\' ] <calc-product> ]*"},"calc-product":{"syntax":"<calc-value> [ \'*\' <calc-value> | \'/\' <number> ]*"},"calc-value":{"syntax":"<number> | <dimension> | <percentage> | ( <calc-sum> )"},"cf-final-image":{"syntax":"<image> | <color>"},"cf-mixing-image":{"syntax":"<percentage>? && <image>"},"circle()":{"syntax":"circle( [ <shape-radius> ]? [ at <position> ]? )"},"clamp()":{"syntax":"clamp( <calc-sum>#{3} )"},"class-selector":{"syntax":"\'.\' <ident-token>"},"clip-source":{"syntax":"<url>"},"color":{"syntax":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>"},"color-stop":{"syntax":"<color-stop-length> | <color-stop-angle>"},"color-stop-angle":{"syntax":"<angle-percentage>{1,2}"},"color-stop-length":{"syntax":"<length-percentage>{1,2}"},"color-stop-list":{"syntax":"[ <linear-color-stop> [, <linear-color-hint>]? ]# , <linear-color-stop>"},"combinator":{"syntax":"\'>\' | \'+\' | \'~\' | [ \'||\' ]"},"common-lig-values":{"syntax":"[ common-ligatures | no-common-ligatures ]"},"compat-auto":{"syntax":"searchfield | textarea | push-button | slider-horizontal | checkbox | radio | square-button | menulist | listbox | meter | progress-bar | button"},"composite-style":{"syntax":"clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor"},"compositing-operator":{"syntax":"add | subtract | intersect | exclude"},"compound-selector":{"syntax":"[ <type-selector>? <subclass-selector>* [ <pseudo-element-selector> <pseudo-class-selector>* ]* ]!"},"compound-selector-list":{"syntax":"<compound-selector>#"},"complex-selector":{"syntax":"<compound-selector> [ <combinator>? <compound-selector> ]*"},"complex-selector-list":{"syntax":"<complex-selector>#"},"conic-gradient()":{"syntax":"conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )"},"contextual-alt-values":{"syntax":"[ contextual | no-contextual ]"},"content-distribution":{"syntax":"space-between | space-around | space-evenly | stretch"},"content-list":{"syntax":"[ <string> | contents | <image> | <quote> | <target> | <leader()> ]+"},"content-position":{"syntax":"center | start | end | flex-start | flex-end"},"content-replacement":{"syntax":"<image>"},"contrast()":{"syntax":"contrast( [ <number-percentage> ] )"},"counter()":{"syntax":"counter( <custom-ident>, <counter-style>? )"},"counter-style":{"syntax":"<counter-style-name> | symbols()"},"counter-style-name":{"syntax":"<custom-ident>"},"counters()":{"syntax":"counters( <custom-ident>, <string>, <counter-style>? )"},"cross-fade()":{"syntax":"cross-fade( <cf-mixing-image> , <cf-final-image>? )"},"cubic-bezier-timing-function":{"syntax":"ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"},"deprecated-system-color":{"syntax":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText"},"discretionary-lig-values":{"syntax":"[ discretionary-ligatures | no-discretionary-ligatures ]"},"display-box":{"syntax":"contents | none"},"display-inside":{"syntax":"flow | flow-root | table | flex | grid | ruby"},"display-internal":{"syntax":"table-row-group | table-header-group | table-footer-group | table-row | table-cell | table-column-group | table-column | table-caption | ruby-base | ruby-text | ruby-base-container | ruby-text-container"},"display-legacy":{"syntax":"inline-block | inline-list-item | inline-table | inline-flex | inline-grid"},"display-listitem":{"syntax":"<display-outside>? && [ flow | flow-root ]? && list-item"},"display-outside":{"syntax":"block | inline | run-in"},"drop-shadow()":{"syntax":"drop-shadow( <length>{2,3} <color>? )"},"east-asian-variant-values":{"syntax":"[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]"},"east-asian-width-values":{"syntax":"[ full-width | proportional-width ]"},"element()":{"syntax":"element( <id-selector> )"},"ellipse()":{"syntax":"ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )"},"ending-shape":{"syntax":"circle | ellipse"},"env()":{"syntax":"env( <custom-ident> , <declaration-value>? )"},"explicit-track-list":{"syntax":"[ <line-names>? <track-size> ]+ <line-names>?"},"family-name":{"syntax":"<string> | <custom-ident>+"},"feature-tag-value":{"syntax":"<string> [ <integer> | on | off ]?"},"feature-type":{"syntax":"@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation"},"feature-value-block":{"syntax":"<feature-type> \'{\' <feature-value-declaration-list> \'}\'"},"feature-value-block-list":{"syntax":"<feature-value-block>+"},"feature-value-declaration":{"syntax":"<custom-ident>: <integer>+;"},"feature-value-declaration-list":{"syntax":"<feature-value-declaration>"},"feature-value-name":{"syntax":"<custom-ident>"},"fill-rule":{"syntax":"nonzero | evenodd"},"filter-function":{"syntax":"<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <saturate()> | <sepia()>"},"filter-function-list":{"syntax":"[ <filter-function> | <url> ]+"},"final-bg-layer":{"syntax":"<\'background-color\'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"},"fit-content()":{"syntax":"fit-content( [ <length> | <percentage> ] )"},"fixed-breadth":{"syntax":"<length-percentage>"},"fixed-repeat":{"syntax":"repeat( [ <positive-integer> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"},"fixed-size":{"syntax":"<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )"},"font-stretch-absolute":{"syntax":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>"},"font-variant-css21":{"syntax":"[ normal | small-caps ]"},"font-weight-absolute":{"syntax":"normal | bold | <number [1,1000]>"},"frequency-percentage":{"syntax":"<frequency> | <percentage>"},"general-enclosed":{"syntax":"[ <function-token> <any-value> ) ] | ( <ident> <any-value> )"},"generic-family":{"syntax":"serif | sans-serif | cursive | fantasy | monospace"},"generic-name":{"syntax":"serif | sans-serif | cursive | fantasy | monospace"},"geometry-box":{"syntax":"<shape-box> | fill-box | stroke-box | view-box"},"gradient":{"syntax":"<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()>"},"grayscale()":{"syntax":"grayscale( <number-percentage> )"},"grid-line":{"syntax":"auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]"},"historical-lig-values":{"syntax":"[ historical-ligatures | no-historical-ligatures ]"},"hsl()":{"syntax":"hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )"},"hsla()":{"syntax":"hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue>, <percentage>, <percentage>, <alpha-value>? )"},"hue":{"syntax":"<number> | <angle>"},"hue-rotate()":{"syntax":"hue-rotate( <angle> )"},"id-selector":{"syntax":"<hash-token>"},"image":{"syntax":"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient>"},"image()":{"syntax":"image( <image-tags>? [ <image-src>? , <color>? ]! )"},"image-set()":{"syntax":"image-set( <image-set-option># )"},"image-set-option":{"syntax":"[ <image> | <string> ] <resolution>"},"image-src":{"syntax":"<url> | <string>"},"image-tags":{"syntax":"ltr | rtl"},"inflexible-breadth":{"syntax":"<length> | <percentage> | min-content | max-content | auto"},"inset()":{"syntax":"inset( <length-percentage>{1,4} [ round <\'border-radius\'> ]? )"},"invert()":{"syntax":"invert( <number-percentage> )"},"keyframes-name":{"syntax":"<custom-ident> | <string>"},"keyframe-block":{"syntax":"<keyframe-selector># {\\n <declaration-list>\\n}"},"keyframe-block-list":{"syntax":"<keyframe-block>+"},"keyframe-selector":{"syntax":"from | to | <percentage>"},"leader()":{"syntax":"leader( <leader-type> )"},"leader-type":{"syntax":"dotted | solid | space | <string>"},"length-percentage":{"syntax":"<length> | <percentage>"},"line-names":{"syntax":"\'[\' <custom-ident>* \']\'"},"line-name-list":{"syntax":"[ <line-names> | <name-repeat> ]+"},"line-style":{"syntax":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset"},"line-width":{"syntax":"<length> | thin | medium | thick"},"linear-color-hint":{"syntax":"<length-percentage>"},"linear-color-stop":{"syntax":"<color> <color-stop-length>?"},"linear-gradient()":{"syntax":"linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"},"mask-layer":{"syntax":"<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"},"mask-position":{"syntax":"[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?"},"mask-reference":{"syntax":"none | <image> | <mask-source>"},"mask-source":{"syntax":"<url>"},"masking-mode":{"syntax":"alpha | luminance | match-source"},"matrix()":{"syntax":"matrix( <number>#{6} )"},"matrix3d()":{"syntax":"matrix3d( <number>#{16} )"},"max()":{"syntax":"max( <calc-sum># )"},"media-and":{"syntax":"<media-in-parens> [ and <media-in-parens> ]+"},"media-condition":{"syntax":"<media-not> | <media-and> | <media-or> | <media-in-parens>"},"media-condition-without-or":{"syntax":"<media-not> | <media-and> | <media-in-parens>"},"media-feature":{"syntax":"( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"},"media-in-parens":{"syntax":"( <media-condition> ) | <media-feature> | <general-enclosed>"},"media-not":{"syntax":"not <media-in-parens>"},"media-or":{"syntax":"<media-in-parens> [ or <media-in-parens> ]+"},"media-query":{"syntax":"<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"},"media-query-list":{"syntax":"<media-query>#"},"media-type":{"syntax":"<ident>"},"mf-boolean":{"syntax":"<mf-name>"},"mf-name":{"syntax":"<ident>"},"mf-plain":{"syntax":"<mf-name> : <mf-value>"},"mf-range":{"syntax":"<mf-name> [ \'<\' | \'>\' ]? \'=\'? <mf-value>\\n| <mf-value> [ \'<\' | \'>\' ]? \'=\'? <mf-name>\\n| <mf-value> \'<\' \'=\'? <mf-name> \'<\' \'=\'? <mf-value>\\n| <mf-value> \'>\' \'=\'? <mf-name> \'>\' \'=\'? <mf-value>"},"mf-value":{"syntax":"<number> | <dimension> | <ident> | <ratio>"},"min()":{"syntax":"min( <calc-sum># )"},"minmax()":{"syntax":"minmax( [ <length> | <percentage> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )"},"named-color":{"syntax":"transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen"},"namespace-prefix":{"syntax":"<ident>"},"ns-prefix":{"syntax":"[ <ident-token> | \'*\' ]? \'|\'"},"number-percentage":{"syntax":"<number> | <percentage>"},"numeric-figure-values":{"syntax":"[ lining-nums | oldstyle-nums ]"},"numeric-fraction-values":{"syntax":"[ diagonal-fractions | stacked-fractions ]"},"numeric-spacing-values":{"syntax":"[ proportional-nums | tabular-nums ]"},"nth":{"syntax":"<an-plus-b> | even | odd"},"opacity()":{"syntax":"opacity( [ <number-percentage> ] )"},"overflow-position":{"syntax":"unsafe | safe"},"outline-radius":{"syntax":"<length> | <percentage>"},"page-body":{"syntax":"<declaration>? [ ; <page-body> ]? | <page-margin-box> <page-body>"},"page-margin-box":{"syntax":"<page-margin-box-type> \'{\' <declaration-list> \'}\'"},"page-margin-box-type":{"syntax":"@top-left-corner | @top-left | @top-center | @top-right | @top-right-corner | @bottom-left-corner | @bottom-left | @bottom-center | @bottom-right | @bottom-right-corner | @left-top | @left-middle | @left-bottom | @right-top | @right-middle | @right-bottom"},"page-selector-list":{"syntax":"[ <page-selector># ]?"},"page-selector":{"syntax":"<pseudo-page>+ | <ident> <pseudo-page>*"},"path()":{"syntax":"path( [ <fill-rule>, ]? <string> )"},"paint()":{"syntax":"paint( <ident>, <declaration-value>? )"},"perspective()":{"syntax":"perspective( <length> )"},"polygon()":{"syntax":"polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )"},"position":{"syntax":"[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"},"pseudo-class-selector":{"syntax":"\':\' <ident-token> | \':\' <function-token> <any-value> \')\'"},"pseudo-element-selector":{"syntax":"\':\' <pseudo-class-selector>"},"pseudo-page":{"syntax":": [ left | right | first | blank ]"},"quote":{"syntax":"open-quote | close-quote | no-open-quote | no-close-quote"},"radial-gradient()":{"syntax":"radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"},"relative-selector":{"syntax":"<combinator>? <complex-selector>"},"relative-selector-list":{"syntax":"<relative-selector>#"},"relative-size":{"syntax":"larger | smaller"},"repeat-style":{"syntax":"repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}"},"repeating-linear-gradient()":{"syntax":"repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"},"repeating-radial-gradient()":{"syntax":"repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"},"rgb()":{"syntax":"rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"},"rgba()":{"syntax":"rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )"},"rotate()":{"syntax":"rotate( [ <angle> | <zero> ] )"},"rotate3d()":{"syntax":"rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )"},"rotateX()":{"syntax":"rotateX( [ <angle> | <zero> ] )"},"rotateY()":{"syntax":"rotateY( [ <angle> | <zero> ] )"},"rotateZ()":{"syntax":"rotateZ( [ <angle> | <zero> ] )"},"saturate()":{"syntax":"saturate( <number-percentage> )"},"scale()":{"syntax":"scale( <number> , <number>? )"},"scale3d()":{"syntax":"scale3d( <number> , <number> , <number> )"},"scaleX()":{"syntax":"scaleX( <number> )"},"scaleY()":{"syntax":"scaleY( <number> )"},"scaleZ()":{"syntax":"scaleZ( <number> )"},"self-position":{"syntax":"center | start | end | self-start | self-end | flex-start | flex-end"},"shape-radius":{"syntax":"<length-percentage> | closest-side | farthest-side"},"skew()":{"syntax":"skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )"},"skewX()":{"syntax":"skewX( [ <angle> | <zero> ] )"},"skewY()":{"syntax":"skewY( [ <angle> | <zero> ] )"},"sepia()":{"syntax":"sepia( <number-percentage> )"},"shadow":{"syntax":"inset? && <length>{2,4} && <color>?"},"shadow-t":{"syntax":"[ <length>{2,3} && <color>? ]"},"shape":{"syntax":"rect(<top>, <right>, <bottom>, <left>)"},"shape-box":{"syntax":"<box> | margin-box"},"side-or-corner":{"syntax":"[ left | right ] || [ top | bottom ]"},"single-animation":{"syntax":"<time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]"},"single-animation-direction":{"syntax":"normal | reverse | alternate | alternate-reverse"},"single-animation-fill-mode":{"syntax":"none | forwards | backwards | both"},"single-animation-iteration-count":{"syntax":"infinite | <number>"},"single-animation-play-state":{"syntax":"running | paused"},"single-transition":{"syntax":"[ none | <single-transition-property> ] || <time> || <timing-function> || <time>"},"single-transition-property":{"syntax":"all | <custom-ident>"},"size":{"syntax":"closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}"},"step-position":{"syntax":"jump-start | jump-end | jump-none | jump-both | start | end"},"step-timing-function":{"syntax":"step-start | step-end | steps(<integer>[, <step-position>]?)"},"subclass-selector":{"syntax":"<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"},"supports-condition":{"syntax":"not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*"},"supports-in-parens":{"syntax":"( <supports-condition> ) | <supports-feature> | <general-enclosed>"},"supports-feature":{"syntax":"<supports-decl> | <supports-selector-fn>"},"supports-decl":{"syntax":"( <declaration> )"},"supports-selector-fn":{"syntax":"selector( <complex-selector> )"},"symbol":{"syntax":"<string> | <image> | <custom-ident>"},"target":{"syntax":"<target-counter()> | <target-counters()> | <target-text()>"},"target-counter()":{"syntax":"target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )"},"target-counters()":{"syntax":"target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )"},"target-text()":{"syntax":"target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"},"time-percentage":{"syntax":"<time> | <percentage>"},"timing-function":{"syntax":"linear | <cubic-bezier-timing-function> | <step-timing-function>"},"track-breadth":{"syntax":"<length-percentage> | <flex> | min-content | max-content | auto"},"track-list":{"syntax":"[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?"},"track-repeat":{"syntax":"repeat( [ <positive-integer> ] , [ <line-names>? <track-size> ]+ <line-names>? )"},"track-size":{"syntax":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )"},"transform-function":{"syntax":"<matrix()> | <translate()> | <translateX()> | <translateY()> | <scale()> | <scaleX()> | <scaleY()> | <rotate()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <translate3d()> | <translateZ()> | <scale3d()> | <scaleZ()> | <rotate3d()> | <rotateX()> | <rotateY()> | <rotateZ()> | <perspective()>"},"transform-list":{"syntax":"<transform-function>+"},"translate()":{"syntax":"translate( <length-percentage> , <length-percentage>? )"},"translate3d()":{"syntax":"translate3d( <length-percentage> , <length-percentage> , <length> )"},"translateX()":{"syntax":"translateX( <length-percentage> )"},"translateY()":{"syntax":"translateY( <length-percentage> )"},"translateZ()":{"syntax":"translateZ( <length> )"},"type-or-unit":{"syntax":"string | color | url | integer | number | length | angle | time | frequency | cap | ch | em | ex | ic | lh | rlh | rem | vb | vi | vw | vh | vmin | vmax | mm | Q | cm | in | pt | pc | px | deg | grad | rad | turn | ms | s | Hz | kHz | %"},"type-selector":{"syntax":"<wq-name> | <ns-prefix>? \'*\'"},"var()":{"syntax":"var( <custom-property-name> , <declaration-value>? )"},"viewport-length":{"syntax":"auto | <length-percentage>"},"wq-name":{"syntax":"<ns-prefix>? <ident-token>"}}');
157983
157983
 
157984
- /***/ }),
157985
-
157986
- /***/ "../../node_modules/microee/index.js":
157987
- /*!*******************************************!*\
157988
- !*** ../../node_modules/microee/index.js ***!
157989
- \*******************************************/
157990
- /***/ ((module) => {
157991
-
157992
- function M() { this._events = {}; }
157993
- M.prototype = {
157994
- on: function(ev, cb) {
157995
- this._events || (this._events = {});
157996
- var e = this._events;
157997
- (e[ev] || (e[ev] = [])).push(cb);
157998
- return this;
157999
- },
158000
- removeListener: function(ev, cb) {
158001
- var e = this._events[ev] || [], i;
158002
- for(i = e.length-1; i >= 0 && e[i]; i--){
158003
- if(e[i] === cb || e[i].cb === cb) { e.splice(i, 1); }
158004
- }
158005
- },
158006
- removeAllListeners: function(ev) {
158007
- if(!ev) { this._events = {}; }
158008
- else { this._events[ev] && (this._events[ev] = []); }
158009
- },
158010
- listeners: function(ev) {
158011
- return (this._events ? this._events[ev] || [] : []);
158012
- },
158013
- emit: function(ev) {
158014
- this._events || (this._events = {});
158015
- var args = Array.prototype.slice.call(arguments, 1), i, e = this._events[ev] || [];
158016
- for(i = e.length-1; i >= 0 && e[i]; i--){
158017
- e[i].apply(this, args);
158018
- }
158019
- return this;
158020
- },
158021
- when: function(ev, cb) {
158022
- return this.once(ev, cb, true);
158023
- },
158024
- once: function(ev, cb, when) {
158025
- if(!cb) return this;
158026
- function c() {
158027
- if(!when) this.removeListener(ev, c);
158028
- if(cb.apply(this, arguments) && when) this.removeListener(ev, c);
158029
- }
158030
- c.cb = cb;
158031
- this.on(ev, c);
158032
- return this;
158033
- }
158034
- };
158035
- M.mixin = function(dest) {
158036
- var o = M.prototype, k;
158037
- for (k in o) {
158038
- o.hasOwnProperty(k) && (dest.prototype[k] = o[k]);
158039
- }
158040
- };
158041
- module.exports = M;
158042
-
158043
-
158044
- /***/ }),
158045
-
158046
- /***/ "../../node_modules/minilog/lib/common/filter.js":
158047
- /*!*******************************************************!*\
158048
- !*** ../../node_modules/minilog/lib/common/filter.js ***!
158049
- \*******************************************************/
158050
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158051
-
158052
- // default filter
158053
- var Transform = __webpack_require__(/*! ./transform.js */ "../../node_modules/minilog/lib/common/transform.js");
158054
-
158055
- var levelMap = { debug: 1, info: 2, warn: 3, error: 4 };
158056
-
158057
- function Filter() {
158058
- this.enabled = true;
158059
- this.defaultResult = true;
158060
- this.clear();
158061
- }
158062
-
158063
- Transform.mixin(Filter);
158064
-
158065
- // allow all matching, with level >= given level
158066
- Filter.prototype.allow = function(name, level) {
158067
- this._white.push({ n: name, l: levelMap[level] });
158068
- return this;
158069
- };
158070
-
158071
- // deny all matching, with level <= given level
158072
- Filter.prototype.deny = function(name, level) {
158073
- this._black.push({ n: name, l: levelMap[level] });
158074
- return this;
158075
- };
158076
-
158077
- Filter.prototype.clear = function() {
158078
- this._white = [];
158079
- this._black = [];
158080
- return this;
158081
- };
158082
-
158083
- function test(rule, name) {
158084
- // use .test for RegExps
158085
- return (rule.n.test ? rule.n.test(name) : rule.n == name);
158086
- };
158087
-
158088
- Filter.prototype.test = function(name, level) {
158089
- var i, len = Math.max(this._white.length, this._black.length);
158090
- for(i = 0; i < len; i++) {
158091
- if(this._white[i] && test(this._white[i], name) && levelMap[level] >= this._white[i].l) {
158092
- return true;
158093
- }
158094
- if(this._black[i] && test(this._black[i], name) && levelMap[level] <= this._black[i].l) {
158095
- return false;
158096
- }
158097
- }
158098
- return this.defaultResult;
158099
- };
158100
-
158101
- Filter.prototype.write = function(name, level, args) {
158102
- if(!this.enabled || this.test(name, level)) {
158103
- return this.emit('item', name, level, args);
158104
- }
158105
- };
158106
-
158107
- module.exports = Filter;
158108
-
158109
-
158110
- /***/ }),
158111
-
158112
- /***/ "../../node_modules/minilog/lib/common/minilog.js":
158113
- /*!********************************************************!*\
158114
- !*** ../../node_modules/minilog/lib/common/minilog.js ***!
158115
- \********************************************************/
158116
- /***/ ((module, exports, __webpack_require__) => {
158117
-
158118
- var Transform = __webpack_require__(/*! ./transform.js */ "../../node_modules/minilog/lib/common/transform.js"),
158119
- Filter = __webpack_require__(/*! ./filter.js */ "../../node_modules/minilog/lib/common/filter.js");
158120
-
158121
- var log = new Transform(),
158122
- slice = Array.prototype.slice;
158123
-
158124
- exports = module.exports = function create(name) {
158125
- var o = function() { log.write(name, undefined, slice.call(arguments)); return o; };
158126
- o.debug = function() { log.write(name, 'debug', slice.call(arguments)); return o; };
158127
- o.info = function() { log.write(name, 'info', slice.call(arguments)); return o; };
158128
- o.warn = function() { log.write(name, 'warn', slice.call(arguments)); return o; };
158129
- o.error = function() { log.write(name, 'error', slice.call(arguments)); return o; };
158130
- o.log = o.debug; // for interface compliance with Node and browser consoles
158131
- o.suggest = exports.suggest;
158132
- o.format = log.format;
158133
- return o;
158134
- };
158135
-
158136
- // filled in separately
158137
- exports.defaultBackend = exports.defaultFormatter = null;
158138
-
158139
- exports.pipe = function(dest) {
158140
- return log.pipe(dest);
158141
- };
158142
-
158143
- exports.end = exports.unpipe = exports.disable = function(from) {
158144
- return log.unpipe(from);
158145
- };
158146
-
158147
- exports.Transform = Transform;
158148
- exports.Filter = Filter;
158149
- // this is the default filter that's applied when .enable() is called normally
158150
- // you can bypass it completely and set up your own pipes
158151
- exports.suggest = new Filter();
158152
-
158153
- exports.enable = function() {
158154
- if(exports.defaultFormatter) {
158155
- return log.pipe(exports.suggest) // filter
158156
- .pipe(exports.defaultFormatter) // formatter
158157
- .pipe(exports.defaultBackend); // backend
158158
- }
158159
- return log.pipe(exports.suggest) // filter
158160
- .pipe(exports.defaultBackend); // formatter
158161
- };
158162
-
158163
-
158164
-
158165
- /***/ }),
158166
-
158167
- /***/ "../../node_modules/minilog/lib/common/transform.js":
158168
- /*!**********************************************************!*\
158169
- !*** ../../node_modules/minilog/lib/common/transform.js ***!
158170
- \**********************************************************/
158171
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158172
-
158173
- var microee = __webpack_require__(/*! microee */ "../../node_modules/microee/index.js");
158174
-
158175
- // Implements a subset of Node's stream.Transform - in a cross-platform manner.
158176
- function Transform() {}
158177
-
158178
- microee.mixin(Transform);
158179
-
158180
- // The write() signature is different from Node's
158181
- // --> makes it much easier to work with objects in logs.
158182
- // One of the lessons from v1 was that it's better to target
158183
- // a good browser rather than the lowest common denominator
158184
- // internally.
158185
- // If you want to use external streams, pipe() to ./stringify.js first.
158186
- Transform.prototype.write = function(name, level, args) {
158187
- this.emit('item', name, level, args);
158188
- };
158189
-
158190
- Transform.prototype.end = function() {
158191
- this.emit('end');
158192
- this.removeAllListeners();
158193
- };
158194
-
158195
- Transform.prototype.pipe = function(dest) {
158196
- var s = this;
158197
- // prevent double piping
158198
- s.emit('unpipe', dest);
158199
- // tell the dest that it's being piped to
158200
- dest.emit('pipe', s);
158201
-
158202
- function onItem() {
158203
- dest.write.apply(dest, Array.prototype.slice.call(arguments));
158204
- }
158205
- function onEnd() { !dest._isStdio && dest.end(); }
158206
-
158207
- s.on('item', onItem);
158208
- s.on('end', onEnd);
158209
-
158210
- s.when('unpipe', function(from) {
158211
- var match = (from === dest) || typeof from == 'undefined';
158212
- if(match) {
158213
- s.removeListener('item', onItem);
158214
- s.removeListener('end', onEnd);
158215
- dest.emit('unpipe');
158216
- }
158217
- return match;
158218
- });
158219
-
158220
- return dest;
158221
- };
158222
-
158223
- Transform.prototype.unpipe = function(from) {
158224
- this.emit('unpipe', from);
158225
- return this;
158226
- };
158227
-
158228
- Transform.prototype.format = function(dest) {
158229
- throw new Error([
158230
- 'Warning: .format() is deprecated in Minilog v2! Use .pipe() instead. For example:',
158231
- 'var Minilog = require(\'minilog\');',
158232
- 'Minilog',
158233
- ' .pipe(Minilog.backends.console.formatClean)',
158234
- ' .pipe(Minilog.backends.console);'].join('\n'));
158235
- };
158236
-
158237
- Transform.mixin = function(dest) {
158238
- var o = Transform.prototype, k;
158239
- for (k in o) {
158240
- o.hasOwnProperty(k) && (dest.prototype[k] = o[k]);
158241
- }
158242
- };
158243
-
158244
- module.exports = Transform;
158245
-
158246
-
158247
- /***/ }),
158248
-
158249
- /***/ "../../node_modules/minilog/lib/index.js":
158250
- /*!***********************************************!*\
158251
- !*** ../../node_modules/minilog/lib/index.js ***!
158252
- \***********************************************/
158253
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158254
-
158255
- module.exports = __webpack_require__(/*! ./common/minilog.js */ "../../node_modules/minilog/lib/common/minilog.js");
158256
-
158257
- var consoleLogger = __webpack_require__(/*! ./node/console.js */ "../../node_modules/minilog/lib/node/console.js");
158258
-
158259
- // if we are running inside Electron then use the web version of console.js
158260
- var isElectron = (typeof window !== 'undefined' && window.process && window.process.type === 'renderer');
158261
- if (isElectron) {
158262
- consoleLogger = (__webpack_require__(/*! ./web/console.js */ "../../node_modules/minilog/lib/web/console.js").minilog);
158263
- }
158264
-
158265
- // intercept the pipe method and transparently wrap the stringifier, if the
158266
- // destination is a Node core stream
158267
-
158268
- module.exports.Stringifier = __webpack_require__(/*! ./node/stringify.js */ "../../node_modules/minilog/lib/node/stringify.js");
158269
-
158270
- var oldPipe = module.exports.pipe;
158271
- module.exports.pipe = function(dest) {
158272
- if(dest instanceof __webpack_require__(/*! stream */ "stream")) {
158273
- return oldPipe.call(module.exports, new (module.exports.Stringifier)).pipe(dest);
158274
- } else {
158275
- return oldPipe.call(module.exports, dest);
158276
- }
158277
- };
158278
-
158279
- module.exports.defaultBackend = consoleLogger;
158280
- module.exports.defaultFormatter = consoleLogger.formatMinilog;
158281
-
158282
- module.exports.backends = {
158283
- redis: __webpack_require__(/*! ./node/redis.js */ "../../node_modules/minilog/lib/node/redis.js"),
158284
- nodeConsole: consoleLogger,
158285
- console: consoleLogger
158286
- };
158287
-
158288
-
158289
- /***/ }),
158290
-
158291
- /***/ "../../node_modules/minilog/lib/node/console.js":
158292
- /*!******************************************************!*\
158293
- !*** ../../node_modules/minilog/lib/node/console.js ***!
158294
- \******************************************************/
158295
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158296
-
158297
- var Transform = __webpack_require__(/*! ../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js");
158298
-
158299
- function ConsoleBackend() { }
158300
-
158301
- Transform.mixin(ConsoleBackend);
158302
-
158303
- ConsoleBackend.prototype.write = function() {
158304
- console.log.apply(console, arguments);
158305
- };
158306
-
158307
- var e = new ConsoleBackend();
158308
-
158309
- var levelMap = (__webpack_require__(/*! ./formatters/util.js */ "../../node_modules/minilog/lib/node/formatters/util.js").levelMap);
158310
-
158311
- e.filterEnv = function() {
158312
- console.error('Minilog.backends.console.filterEnv is deprecated in Minilog v2.');
158313
- // return the instance of Minilog
158314
- return __webpack_require__(/*! ../common/minilog.js */ "../../node_modules/minilog/lib/common/minilog.js");
158315
- };
158316
-
158317
- e.formatters = [
158318
- 'formatClean', 'formatColor', 'formatNpm',
158319
- 'formatLearnboost', 'formatMinilog', 'formatWithStack', 'formatTime'
158320
- ];
158321
-
158322
- e.formatClean = new (__webpack_require__(/*! ./formatters/clean.js */ "../../node_modules/minilog/lib/node/formatters/clean.js"));
158323
- e.formatColor = new (__webpack_require__(/*! ./formatters/color.js */ "../../node_modules/minilog/lib/node/formatters/color.js"));
158324
- e.formatNpm = new (__webpack_require__(/*! ./formatters/npm.js */ "../../node_modules/minilog/lib/node/formatters/npm.js"));
158325
- e.formatLearnboost = new (__webpack_require__(/*! ./formatters/learnboost.js */ "../../node_modules/minilog/lib/node/formatters/learnboost.js"));
158326
- e.formatMinilog = new (__webpack_require__(/*! ./formatters/minilog.js */ "../../node_modules/minilog/lib/node/formatters/minilog.js"));
158327
- e.formatWithStack = new (__webpack_require__(/*! ./formatters/withstack.js */ "../../node_modules/minilog/lib/node/formatters/withstack.js"));
158328
- e.formatTime = new (__webpack_require__(/*! ./formatters/time.js */ "../../node_modules/minilog/lib/node/formatters/time.js"));
158329
-
158330
- module.exports = e;
158331
-
158332
-
158333
- /***/ }),
158334
-
158335
- /***/ "../../node_modules/minilog/lib/node/formatters/clean.js":
158336
- /*!***************************************************************!*\
158337
- !*** ../../node_modules/minilog/lib/node/formatters/clean.js ***!
158338
- \***************************************************************/
158339
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158340
-
158341
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js");
158342
-
158343
- function FormatClean() {}
158344
-
158345
- Transform.mixin(FormatClean);
158346
-
158347
- FormatClean.prototype.write = function(name, level, args) {
158348
- function pad(s) { return (s.toString().length == 1? '0'+s : s); }
158349
- this.emit('item', (name ? name + ' ' : '') + (level ? level + ' ' : '') + args.join(' '));
158350
- };
158351
-
158352
- module.exports = FormatClean;
158353
-
158354
-
158355
- /***/ }),
158356
-
158357
- /***/ "../../node_modules/minilog/lib/node/formatters/color.js":
158358
- /*!***************************************************************!*\
158359
- !*** ../../node_modules/minilog/lib/node/formatters/color.js ***!
158360
- \***************************************************************/
158361
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158362
-
158363
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js"),
158364
- style = (__webpack_require__(/*! ./util.js */ "../../node_modules/minilog/lib/node/formatters/util.js").style);
158365
-
158366
- function FormatColor() {}
158367
-
158368
- Transform.mixin(FormatColor);
158369
-
158370
- FormatColor.prototype.write = function(name, level, args) {
158371
- var colors = { debug: 'magenta', info: 'cyan', warn: 'yellow', error: 'red' };
158372
- function pad(s) { return (s.toString().length == 4? ' '+s : s); }
158373
- this.emit('item', (name ? name + ' ' : '')
158374
- + (level ? style('- ' + pad(level.toUpperCase()) + ' -', colors[level]) + ' ' : '')
158375
- + args.join(' '));
158376
- };
158377
-
158378
- module.exports = FormatColor;
158379
-
158380
-
158381
- /***/ }),
158382
-
158383
- /***/ "../../node_modules/minilog/lib/node/formatters/learnboost.js":
158384
- /*!********************************************************************!*\
158385
- !*** ../../node_modules/minilog/lib/node/formatters/learnboost.js ***!
158386
- \********************************************************************/
158387
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158388
-
158389
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js"),
158390
- style = (__webpack_require__(/*! ./util.js */ "../../node_modules/minilog/lib/node/formatters/util.js").style);
158391
-
158392
- function FormatLearnboost() {}
158393
-
158394
- Transform.mixin(FormatLearnboost);
158395
-
158396
- FormatLearnboost.prototype.write = function(name, level, args) {
158397
- var colors = { debug: 'grey', info: 'cyan', warn: 'yellow', error: 'red' };
158398
- this.emit('item', (name ? style(name +' ', 'grey') : '')
158399
- + (level ? style(level, colors[level]) + ' ' : '')
158400
- + args.join(' '));
158401
- };
158402
-
158403
- module.exports = FormatLearnboost;
158404
-
158405
-
158406
- /***/ }),
158407
-
158408
- /***/ "../../node_modules/minilog/lib/node/formatters/minilog.js":
158409
- /*!*****************************************************************!*\
158410
- !*** ../../node_modules/minilog/lib/node/formatters/minilog.js ***!
158411
- \*****************************************************************/
158412
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158413
-
158414
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js"),
158415
- style = (__webpack_require__(/*! ./util.js */ "../../node_modules/minilog/lib/node/formatters/util.js").style),
158416
- util = __webpack_require__(/*! util */ "util");
158417
-
158418
- function FormatMinilog() {}
158419
-
158420
- Transform.mixin(FormatMinilog);
158421
-
158422
- FormatMinilog.prototype.write = function(name, level, args) {
158423
- var colors = { debug: 'blue', info: 'cyan', warn: 'yellow', error: 'red' };
158424
- this.emit('item', (name ? style(name +' ', 'grey') : '')
158425
- + (level ? style(level, colors[level]) + ' ' : '')
158426
- + args.map(function(item) {
158427
- return (typeof item == 'string' ? item : util.inspect(item, null, 3, true));
158428
- }).join(' '));
158429
- };
158430
-
158431
- module.exports = FormatMinilog;
158432
-
158433
-
158434
- /***/ }),
158435
-
158436
- /***/ "../../node_modules/minilog/lib/node/formatters/npm.js":
158437
- /*!*************************************************************!*\
158438
- !*** ../../node_modules/minilog/lib/node/formatters/npm.js ***!
158439
- \*************************************************************/
158440
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158441
-
158442
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js");
158443
-
158444
- function FormatNpm() {}
158445
-
158446
- Transform.mixin(FormatNpm);
158447
-
158448
- FormatNpm.prototype.write = function(name, level, args) {
158449
- var out = {
158450
- debug: '\033[34;40m' + 'debug' + '\033[39m ',
158451
- info: '\033[32m' + 'info' + '\033[39m ',
158452
- warn: '\033[30;41m' + 'WARN' + '\033[0m ',
158453
- error: '\033[31;40m' + 'ERR!' + '\033[0m '
158454
- };
158455
- this.emit('item', (name ? '\033[37;40m'+ name +'\033[0m ' : '')
158456
- + (level && out[level]? out[level] : '')
158457
- + args.join(' '));
158458
- };
158459
-
158460
- module.exports = FormatNpm;
158461
-
158462
-
158463
- /***/ }),
158464
-
158465
- /***/ "../../node_modules/minilog/lib/node/formatters/time.js":
158466
- /*!**************************************************************!*\
158467
- !*** ../../node_modules/minilog/lib/node/formatters/time.js ***!
158468
- \**************************************************************/
158469
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158470
-
158471
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js"),
158472
- style = (__webpack_require__(/*! ./util.js */ "../../node_modules/minilog/lib/node/formatters/util.js").style),
158473
- util = __webpack_require__(/*! util */ "util");
158474
-
158475
- function FormatTime() {}
158476
-
158477
- function timestamp() {
158478
- var d = new Date();
158479
- return ('0' + d.getDate()).slice(-2) + '-' +
158480
- ('0' + (d.getMonth() + 1)).slice(-2) + '-' +
158481
- d.getFullYear() + ' ' +
158482
- ('0' + d.getHours()).slice(-2) + ':' +
158483
- ('0' + d.getMinutes()).slice(-2) + ':' +
158484
- ('0' + d.getSeconds()).slice(-2) + '.' +
158485
- ('00' + d.getMilliseconds()).slice(-3);
158486
- }
158487
-
158488
- Transform.mixin(FormatTime);
158489
-
158490
- FormatTime.prototype.write = function(name, level, args) {
158491
- var colors = { debug: 'blue', info: 'cyan', warn: 'yellow', error: 'red' };
158492
- this.emit('item', style(timestamp() +' ', 'grey')
158493
- + (name ? style(name +' ', 'grey') : '')
158494
- + (level ? style(level, colors[level]) + ' ' : '')
158495
- + args.map(function(item) {
158496
- return (typeof item == 'string' ? item : util.inspect(item, null, 3, true));
158497
- }).join(' '));
158498
- };
158499
-
158500
- module.exports = FormatTime;
158501
-
158502
-
158503
- /***/ }),
158504
-
158505
- /***/ "../../node_modules/minilog/lib/node/formatters/util.js":
158506
- /*!**************************************************************!*\
158507
- !*** ../../node_modules/minilog/lib/node/formatters/util.js ***!
158508
- \**************************************************************/
158509
- /***/ ((__unused_webpack_module, exports) => {
158510
-
158511
- var styles = {
158512
- //styles
158513
- 'bold' : ['\033[1m', '\033[22m'],
158514
- 'italic' : ['\033[3m', '\033[23m'],
158515
- 'underline' : ['\033[4m', '\033[24m'],
158516
- 'inverse' : ['\033[7m', '\033[27m'],
158517
- //grayscale
158518
- 'white' : ['\033[37m', '\033[39m'],
158519
- 'grey' : ['\033[90m', '\033[39m'],
158520
- 'black' : ['\033[30m', '\033[39m'],
158521
- //colors
158522
- 'blue' : ['\033[34m', '\033[39m'],
158523
- 'cyan' : ['\033[36m', '\033[39m'],
158524
- 'green' : ['\033[32m', '\033[39m'],
158525
- 'magenta' : ['\033[35m', '\033[39m'],
158526
- 'red' : ['\033[31m', '\033[39m'],
158527
- 'yellow' : ['\033[33m', '\033[39m']
158528
- };
158529
-
158530
- exports.levelMap = { debug: 1, info: 2, warn: 3, error: 4 };
158531
-
158532
- exports.style = function(str, style) {
158533
- return styles[style][0] + str + styles[style][1];
158534
- }
158535
-
158536
-
158537
-
158538
- /***/ }),
158539
-
158540
- /***/ "../../node_modules/minilog/lib/node/formatters/withstack.js":
158541
- /*!*******************************************************************!*\
158542
- !*** ../../node_modules/minilog/lib/node/formatters/withstack.js ***!
158543
- \*******************************************************************/
158544
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158545
-
158546
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js"),
158547
- style = (__webpack_require__(/*! ./util.js */ "../../node_modules/minilog/lib/node/formatters/util.js").style);
158548
-
158549
- function FormatNpm() {}
158550
-
158551
- Transform.mixin(FormatNpm);
158552
-
158553
- function noop(a){
158554
- return a;
158555
- }
158556
-
158557
- var types = {
158558
- string: noop,
158559
- number: noop,
158560
- default: JSON.stringify.bind(JSON)
158561
- };
158562
-
158563
- function stringify(args) {
158564
- return args.map(function(arg) {
158565
- return (types[typeof arg] || types.default)(arg);
158566
- });
158567
- }
158568
-
158569
- FormatNpm.prototype.write = function(name, level, args) {
158570
- var colors = { debug: 'magenta', info: 'cyan', warn: 'yellow', error: 'red' };
158571
- function pad(s) { return (s.toString().length == 4? ' '+s : s); }
158572
- function getStack() {
158573
- var orig = Error.prepareStackTrace;
158574
- Error.prepareStackTrace = function (err, stack) {
158575
- return stack;
158576
- };
158577
- var err = new Error;
158578
- Error.captureStackTrace(err, arguments.callee);
158579
- var stack = err.stack;
158580
- Error.prepareStackTrace = orig;
158581
- return stack;
158582
- }
158583
-
158584
- var frame = getStack()[5],
158585
- fileName = FormatNpm.fullPath ? frame.getFileName() : frame.getFileName().replace(/^.*\/(.+)$/, '/$1');
158586
-
158587
- this.emit('item', (name ? name + ' ' : '')
158588
- + (level ? style(pad(level), colors[level]) + ' ' : '')
158589
- + style(fileName + ":" + frame.getLineNumber(), 'grey')
158590
- + ' '
158591
- + stringify(args).join(' '));
158592
- };
158593
-
158594
- FormatNpm.fullPath = true;
158595
-
158596
- module.exports = FormatNpm;
158597
-
158598
-
158599
-
158600
- /***/ }),
158601
-
158602
- /***/ "../../node_modules/minilog/lib/node/redis.js":
158603
- /*!****************************************************!*\
158604
- !*** ../../node_modules/minilog/lib/node/redis.js ***!
158605
- \****************************************************/
158606
- /***/ ((module) => {
158607
-
158608
- function RedisBackend(options) {
158609
- this.client = options.client;
158610
- this.key = options.key;
158611
- }
158612
-
158613
- RedisBackend.prototype.write = function(str) {
158614
- this.client.rpush(this.key, str);
158615
- };
158616
-
158617
- RedisBackend.prototype.end = function() {};
158618
-
158619
- RedisBackend.prototype.clear = function(cb) {
158620
- this.client.del(this.key, cb);
158621
- };
158622
-
158623
- module.exports = RedisBackend;
158624
-
158625
-
158626
- /***/ }),
158627
-
158628
- /***/ "../../node_modules/minilog/lib/node/stringify.js":
158629
- /*!********************************************************!*\
158630
- !*** ../../node_modules/minilog/lib/node/stringify.js ***!
158631
- \********************************************************/
158632
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158633
-
158634
- var Transform = __webpack_require__(/*! ../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js");
158635
-
158636
- function Stringify() {}
158637
-
158638
- Transform.mixin(Stringify);
158639
-
158640
- Stringify.prototype.write = function(name, level, args) {
158641
- var result = [];
158642
- if(name) result.push(name);
158643
- if(level) result.push(level);
158644
- result = result.concat(args);
158645
- for(var i = 0; i < result.length; i++) {
158646
- if(result[i] && typeof result[i] == 'object') {
158647
- // Buffers in Node.js look bad when stringified
158648
- if(result[i].constructor && result[i].constructor.isBuffer) {
158649
- result[i] = result[i].toString();
158650
- } else {
158651
- try {
158652
- result[i] = JSON.stringify(result[i]);
158653
- } catch(stringifyError) {
158654
- // happens when an object has a circular structure
158655
- // do not throw an error, when printing, the toString() method of the object will be used
158656
- }
158657
- }
158658
- } else {
158659
- result[i] = result[i];
158660
- }
158661
- }
158662
- this.emit('item', result.join(' ') + '\n');
158663
- };
158664
-
158665
- module.exports = Stringify;
158666
-
158667
-
158668
- /***/ }),
158669
-
158670
- /***/ "../../node_modules/minilog/lib/web/console.js":
158671
- /*!*****************************************************!*\
158672
- !*** ../../node_modules/minilog/lib/web/console.js ***!
158673
- \*****************************************************/
158674
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158675
-
158676
- var Transform = __webpack_require__(/*! ../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js");
158677
-
158678
- var newlines = /\n+$/,
158679
- logger = new Transform();
158680
-
158681
- logger.write = function(name, level, args) {
158682
- var i = args.length-1;
158683
- if (typeof console === 'undefined' || !console.log) {
158684
- return;
158685
- }
158686
- if(console.log.apply) {
158687
- return console.log.apply(console, [name, level].concat(args));
158688
- } else if(JSON && JSON.stringify) {
158689
- // console.log.apply is undefined in IE8 and IE9
158690
- // for IE8/9: make console.log at least a bit less awful
158691
- if(args[i] && typeof args[i] == 'string') {
158692
- args[i] = args[i].replace(newlines, '');
158693
- }
158694
- try {
158695
- for(i = 0; i < args.length; i++) {
158696
- args[i] = JSON.stringify(args[i]);
158697
- }
158698
- } catch(e) {}
158699
- console.log(args.join(' '));
158700
- }
158701
- };
158702
-
158703
- logger.formatters = ['color', 'minilog'];
158704
- logger.color = __webpack_require__(/*! ./formatters/color.js */ "../../node_modules/minilog/lib/web/formatters/color.js");
158705
- logger.minilog = __webpack_require__(/*! ./formatters/minilog.js */ "../../node_modules/minilog/lib/web/formatters/minilog.js");
158706
-
158707
- module.exports = logger;
158708
-
158709
-
158710
- /***/ }),
158711
-
158712
- /***/ "../../node_modules/minilog/lib/web/formatters/color.js":
158713
- /*!**************************************************************!*\
158714
- !*** ../../node_modules/minilog/lib/web/formatters/color.js ***!
158715
- \**************************************************************/
158716
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158717
-
158718
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js"),
158719
- color = __webpack_require__(/*! ./util.js */ "../../node_modules/minilog/lib/web/formatters/util.js");
158720
-
158721
- var colors = { debug: ['cyan'], info: ['purple' ], warn: [ 'yellow', true ], error: [ 'red', true ] },
158722
- logger = new Transform();
158723
-
158724
- logger.write = function(name, level, args) {
158725
- var fn = console.log;
158726
- if(console[level] && console[level].apply) {
158727
- fn = console[level];
158728
- fn.apply(console, [ '%c'+name+' %c'+level, color('gray'), color.apply(color, colors[level])].concat(args));
158729
- }
158730
- };
158731
-
158732
- // NOP, because piping the formatted logs can only cause trouble.
158733
- logger.pipe = function() { };
158734
-
158735
- module.exports = logger;
158736
-
158737
-
158738
- /***/ }),
158739
-
158740
- /***/ "../../node_modules/minilog/lib/web/formatters/minilog.js":
158741
- /*!****************************************************************!*\
158742
- !*** ../../node_modules/minilog/lib/web/formatters/minilog.js ***!
158743
- \****************************************************************/
158744
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
158745
-
158746
- var Transform = __webpack_require__(/*! ../../common/transform.js */ "../../node_modules/minilog/lib/common/transform.js"),
158747
- color = __webpack_require__(/*! ./util.js */ "../../node_modules/minilog/lib/web/formatters/util.js"),
158748
- colors = { debug: ['gray'], info: ['purple' ], warn: [ 'yellow', true ], error: [ 'red', true ] },
158749
- logger = new Transform();
158750
-
158751
- logger.write = function(name, level, args) {
158752
- var fn = console.log;
158753
- if(level != 'debug' && console[level]) {
158754
- fn = console[level];
158755
- }
158756
-
158757
- var subset = [], i = 0;
158758
- if(level != 'info') {
158759
- for(; i < args.length; i++) {
158760
- if(typeof args[i] != 'string') break;
158761
- }
158762
- fn.apply(console, [ '%c'+name +' '+ args.slice(0, i).join(' '), color.apply(color, colors[level]) ].concat(args.slice(i)));
158763
- } else {
158764
- fn.apply(console, [ '%c'+name, color.apply(color, colors[level]) ].concat(args));
158765
- }
158766
- };
158767
-
158768
- // NOP, because piping the formatted logs can only cause trouble.
158769
- logger.pipe = function() { };
158770
-
158771
- module.exports = logger;
158772
-
158773
-
158774
- /***/ }),
158775
-
158776
- /***/ "../../node_modules/minilog/lib/web/formatters/util.js":
158777
- /*!*************************************************************!*\
158778
- !*** ../../node_modules/minilog/lib/web/formatters/util.js ***!
158779
- \*************************************************************/
158780
- /***/ ((module) => {
158781
-
158782
- var hex = {
158783
- black: '#000',
158784
- red: '#c23621',
158785
- green: '#25bc26',
158786
- yellow: '#bbbb00',
158787
- blue: '#492ee1',
158788
- magenta: '#d338d3',
158789
- cyan: '#33bbc8',
158790
- gray: '#808080',
158791
- purple: '#708'
158792
- };
158793
- function color(fg, isInverse) {
158794
- if(isInverse) {
158795
- return 'color: #fff; background: '+hex[fg]+';';
158796
- } else {
158797
- return 'color: '+hex[fg]+';';
158798
- }
158799
- }
158800
-
158801
- module.exports = color;
158802
-
158803
-
158804
157984
  /***/ }),
158805
157985
 
158806
157986
  /***/ "../../node_modules/ms/index.js":
@@ -177615,6 +176795,1972 @@ function isUndefined(val) {
177615
176795
  return typeof val === 'undefined';
177616
176796
  }
177617
176797
 
176798
+ /***/ }),
176799
+
176800
+ /***/ "../../node_modules/tslog/cjs/BaseLogger.js":
176801
+ /*!**************************************************!*\
176802
+ !*** ../../node_modules/tslog/cjs/BaseLogger.js ***!
176803
+ \**************************************************/
176804
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
176805
+
176806
+ "use strict";
176807
+ /* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ "buffer")["Buffer"];
176808
+
176809
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
176810
+ if (k2 === undefined) k2 = k;
176811
+ var desc = Object.getOwnPropertyDescriptor(m, k);
176812
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
176813
+ desc = { enumerable: true, get: function() { return m[k]; } };
176814
+ }
176815
+ Object.defineProperty(o, k2, desc);
176816
+ }) : (function(o, m, k, k2) {
176817
+ if (k2 === undefined) k2 = k;
176818
+ o[k2] = m[k];
176819
+ }));
176820
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
176821
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
176822
+ };
176823
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
176824
+ exports.BaseLogger = exports.loggerEnvironment = void 0;
176825
+ exports.createLoggerEnvironment = createLoggerEnvironment;
176826
+ const urlToObj_js_1 = __webpack_require__(/*! ./urlToObj.js */ "../../node_modules/tslog/cjs/urlToObj.js");
176827
+ const metaFormatting_js_1 = __webpack_require__(/*! ./internal/metaFormatting.js */ "../../node_modules/tslog/cjs/internal/metaFormatting.js");
176828
+ const errorUtils_js_1 = __webpack_require__(/*! ./internal/errorUtils.js */ "../../node_modules/tslog/cjs/internal/errorUtils.js");
176829
+ const formatTemplate_js_1 = __webpack_require__(/*! ./formatTemplate.js */ "../../node_modules/tslog/cjs/formatTemplate.js");
176830
+ const util_inspect_polyfill_js_1 = __webpack_require__(/*! ./internal/util.inspect.polyfill.js */ "../../node_modules/tslog/cjs/internal/util.inspect.polyfill.js");
176831
+ const stackTrace_js_1 = __webpack_require__(/*! ./internal/stackTrace.js */ "../../node_modules/tslog/cjs/internal/stackTrace.js");
176832
+ const environment_js_1 = __webpack_require__(/*! ./internal/environment.js */ "../../node_modules/tslog/cjs/internal/environment.js");
176833
+ const jsonStringifyRecursive_js_1 = __webpack_require__(/*! ./internal/jsonStringifyRecursive.js */ "../../node_modules/tslog/cjs/internal/jsonStringifyRecursive.js");
176834
+ function createLoggerEnvironment() {
176835
+ const runtimeInfo = detectRuntimeInfo();
176836
+ const meta = createRuntimeMeta(runtimeInfo);
176837
+ const usesBrowserStack = runtimeInfo.name === "browser" || runtimeInfo.name === "worker";
176838
+ const callerIgnorePatterns = usesBrowserStack
176839
+ ? [...(0, stackTrace_js_1.getDefaultIgnorePatterns)(), /node_modules[\\/].*tslog/i]
176840
+ : [...(0, stackTrace_js_1.getDefaultIgnorePatterns)(), /node:(?:internal|vm)/i, /\binternal[\\/]/i];
176841
+ let cachedCwd;
176842
+ const environment = {
176843
+ getMeta(logLevelId, logLevelName, stackDepthLevel, hideLogPositionForPerformance, name, parentNames) {
176844
+ return Object.assign({}, meta, {
176845
+ name,
176846
+ parentNames,
176847
+ date: new Date(),
176848
+ logLevelId,
176849
+ logLevelName,
176850
+ path: !hideLogPositionForPerformance ? environment.getCallerStackFrame(stackDepthLevel) : undefined,
176851
+ });
176852
+ },
176853
+ getCallerStackFrame(stackDepthLevel, error = new Error()) {
176854
+ const frames = (0, stackTrace_js_1.buildStackTrace)(error, (line) => parseStackLine(line));
176855
+ if (frames.length === 0) {
176856
+ return {};
176857
+ }
176858
+ const autoIndex = (0, stackTrace_js_1.findFirstExternalFrameIndex)(frames, callerIgnorePatterns);
176859
+ const useManualIndex = Number.isFinite(stackDepthLevel) && stackDepthLevel >= 0;
176860
+ const resolvedIndex = useManualIndex ? (0, stackTrace_js_1.clampIndex)(stackDepthLevel, frames.length) : (0, stackTrace_js_1.clampIndex)(autoIndex, frames.length);
176861
+ return frames[resolvedIndex] ?? {};
176862
+ },
176863
+ getErrorTrace(error) {
176864
+ return (0, stackTrace_js_1.buildStackTrace)(error, (line) => parseStackLine(line));
176865
+ },
176866
+ isError(value) {
176867
+ return isNativeError(value);
176868
+ },
176869
+ isBuffer(value) {
176870
+ return typeof Buffer !== "undefined" && typeof Buffer.isBuffer === "function" ? Buffer.isBuffer(value) : false;
176871
+ },
176872
+ prettyFormatLogObj(maskedArgs, settings) {
176873
+ return maskedArgs.reduce((result, arg) => {
176874
+ if (environment.isError(arg)) {
176875
+ result.errors.push(environment.prettyFormatErrorObj(arg, settings));
176876
+ }
176877
+ else {
176878
+ result.args.push(arg);
176879
+ }
176880
+ return result;
176881
+ }, { args: [], errors: [] });
176882
+ },
176883
+ prettyFormatErrorObj(error, settings) {
176884
+ const stackLines = formatStackFrames(environment.getErrorTrace(error), settings);
176885
+ const causeSections = (0, errorUtils_js_1.collectErrorCauses)(error).map((cause, index) => {
176886
+ const header = `Caused by (${index + 1}): ${cause.name ?? "Error"}${cause.message ? `: ${cause.message}` : ""}`;
176887
+ const frames = formatStackFrames((0, stackTrace_js_1.buildStackTrace)(cause, (line) => parseStackLine(line)), settings);
176888
+ return [header, ...frames].join("\n");
176889
+ });
176890
+ const placeholderValuesError = {
176891
+ errorName: ` ${error.name} `,
176892
+ errorMessage: formatErrorMessage(error),
176893
+ errorStack: [...stackLines, ...causeSections].join("\n"),
176894
+ };
176895
+ return (0, formatTemplate_js_1.formatTemplate)(settings, settings.prettyErrorTemplate, placeholderValuesError);
176896
+ },
176897
+ transportFormatted(logMetaMarkup, logArgs, logErrors, logMeta, settings) {
176898
+ const prettyLogs = settings.stylePrettyLogs !== false;
176899
+ const logErrorsStr = (logErrors.length > 0 && logArgs.length > 0 ? "\n" : "") + logErrors.join("\n");
176900
+ const sanitizedMetaMarkup = stripAnsi(logMetaMarkup);
176901
+ const metaMarkupForText = prettyLogs ? logMetaMarkup : sanitizedMetaMarkup;
176902
+ if (shouldUseCss(prettyLogs)) {
176903
+ settings.prettyInspectOptions.colors = false;
176904
+ const formattedArgs = formatWithOptionsSafe(settings.prettyInspectOptions, logArgs);
176905
+ const cssMeta = logMeta != null ? buildCssMetaOutput(settings, logMeta) : { text: sanitizedMetaMarkup, styles: [] };
176906
+ const hasCssMeta = cssMeta.text.length > 0 && cssMeta.styles.length > 0;
176907
+ const metaOutput = hasCssMeta ? cssMeta.text : sanitizedMetaMarkup;
176908
+ const output = metaOutput + formattedArgs + logErrorsStr;
176909
+ if (hasCssMeta) {
176910
+ console.log(output, ...cssMeta.styles);
176911
+ }
176912
+ else {
176913
+ console.log(output);
176914
+ }
176915
+ return;
176916
+ }
176917
+ settings.prettyInspectOptions.colors = prettyLogs;
176918
+ const formattedArgs = formatWithOptionsSafe(settings.prettyInspectOptions, logArgs);
176919
+ console.log(metaMarkupForText + formattedArgs + logErrorsStr);
176920
+ },
176921
+ transportJSON(json) {
176922
+ console.log((0, jsonStringifyRecursive_js_1.jsonStringifyRecursive)(json));
176923
+ },
176924
+ };
176925
+ if (getNodeEnv() === "test") {
176926
+ environment.__resetWorkingDirectoryCacheForTests = () => {
176927
+ cachedCwd = undefined;
176928
+ };
176929
+ }
176930
+ return environment;
176931
+ function parseStackLine(line) {
176932
+ return usesBrowserStack ? parseBrowserStackLine(line) : parseServerStackLine(line);
176933
+ }
176934
+ function parseServerStackLine(rawLine) {
176935
+ if (typeof rawLine !== "string" || rawLine.length === 0) {
176936
+ return undefined;
176937
+ }
176938
+ const trimmedLine = rawLine.trim();
176939
+ if (!trimmedLine.includes(" at ") && !trimmedLine.startsWith("at ")) {
176940
+ return undefined;
176941
+ }
176942
+ const line = trimmedLine.replace(/^at\s+/, "");
176943
+ let method;
176944
+ let location = line;
176945
+ const methodMatch = line.match(/^(.*?)\s+\((.*)\)$/);
176946
+ if (methodMatch) {
176947
+ method = methodMatch[1];
176948
+ location = methodMatch[2];
176949
+ }
176950
+ const sanitizedLocation = location.replace(/^\(/, "").replace(/\)$/, "");
176951
+ const withoutQuery = sanitizedLocation.replace(/\?.*$/, "");
176952
+ let fileLine;
176953
+ let fileColumn;
176954
+ let filePathCandidate = withoutQuery;
176955
+ const segments = withoutQuery.split(":");
176956
+ if (segments.length >= 3 && /^\d+$/.test(segments[segments.length - 1] ?? "")) {
176957
+ fileColumn = segments.pop();
176958
+ fileLine = segments.pop();
176959
+ filePathCandidate = segments.join(":");
176960
+ }
176961
+ else if (segments.length >= 2 && /^\d+$/.test(segments[segments.length - 1] ?? "")) {
176962
+ fileLine = segments.pop();
176963
+ filePathCandidate = segments.join(":");
176964
+ }
176965
+ let normalizedPath = filePathCandidate.replace(/^file:\/\//, "");
176966
+ const cwd = getWorkingDirectory();
176967
+ if (cwd != null && normalizedPath.startsWith(cwd)) {
176968
+ normalizedPath = normalizedPath.slice(cwd.length);
176969
+ normalizedPath = normalizedPath.replace(/^[\\/]/, "");
176970
+ }
176971
+ if (normalizedPath.length === 0) {
176972
+ normalizedPath = filePathCandidate;
176973
+ }
176974
+ const normalizedPathWithoutLine = normalizeFilePath(normalizedPath);
176975
+ const effectivePath = normalizedPathWithoutLine.length > 0 ? normalizedPathWithoutLine : normalizedPath;
176976
+ const pathSegments = effectivePath.split(/\\|\//);
176977
+ const fileName = pathSegments[pathSegments.length - 1];
176978
+ const fileNameWithLine = fileName && fileLine ? `${fileName}:${fileLine}` : undefined;
176979
+ const filePathWithLine = effectivePath && fileLine ? `${effectivePath}:${fileLine}` : undefined;
176980
+ return {
176981
+ fullFilePath: sanitizedLocation,
176982
+ fileName,
176983
+ fileNameWithLine,
176984
+ fileColumn,
176985
+ fileLine,
176986
+ filePath: effectivePath,
176987
+ filePathWithLine,
176988
+ method,
176989
+ };
176990
+ }
176991
+ function parseBrowserStackLine(line) {
176992
+ const href = globalThis.location?.origin;
176993
+ if (line == null) {
176994
+ return undefined;
176995
+ }
176996
+ const match = line.match(BROWSER_PATH_REGEX);
176997
+ if (!match) {
176998
+ return undefined;
176999
+ }
177000
+ const filePath = match[1]?.replace(/\?.*$/, "");
177001
+ if (filePath == null) {
177002
+ return undefined;
177003
+ }
177004
+ const pathParts = filePath.split("/");
177005
+ const fileLine = match[2];
177006
+ const fileColumn = match[3];
177007
+ const fileName = pathParts[pathParts.length - 1];
177008
+ return {
177009
+ fullFilePath: href ? `${href}${filePath}` : filePath,
177010
+ fileName,
177011
+ fileNameWithLine: fileName && fileLine ? `${fileName}:${fileLine}` : undefined,
177012
+ fileColumn,
177013
+ fileLine,
177014
+ filePath,
177015
+ filePathWithLine: fileLine ? `${filePath}:${fileLine}` : undefined,
177016
+ method: undefined,
177017
+ };
177018
+ }
177019
+ function formatStackFrames(frames, settings) {
177020
+ return frames.map((stackFrame) => (0, formatTemplate_js_1.formatTemplate)(settings, settings.prettyErrorStackTemplate, { ...stackFrame }, true));
177021
+ }
177022
+ function formatErrorMessage(error) {
177023
+ return Object.getOwnPropertyNames(error)
177024
+ .filter((key) => key !== "stack" && key !== "cause")
177025
+ .reduce((result, key) => {
177026
+ const value = error[key];
177027
+ if (typeof value === "function") {
177028
+ return result;
177029
+ }
177030
+ result.push(String(value));
177031
+ return result;
177032
+ }, [])
177033
+ .join(", ");
177034
+ }
177035
+ function shouldUseCss(prettyLogs) {
177036
+ return prettyLogs && (runtimeInfo.name === "browser" || runtimeInfo.name === "worker") && (0, environment_js_1.consoleSupportsCssStyling)();
177037
+ }
177038
+ function stripAnsi(value) {
177039
+ return value.replace(ANSI_REGEX, "");
177040
+ }
177041
+ function buildCssMetaOutput(settings, metaValue) {
177042
+ if (metaValue == null) {
177043
+ return { text: "", styles: [] };
177044
+ }
177045
+ const { template, placeholders } = (0, metaFormatting_js_1.buildPrettyMeta)(settings, metaValue);
177046
+ const parts = [];
177047
+ const styles = [];
177048
+ let lastIndex = 0;
177049
+ const placeholderRegex = /{{(.+?)}}/g;
177050
+ let match;
177051
+ while ((match = placeholderRegex.exec(template)) != null) {
177052
+ if (match.index > lastIndex) {
177053
+ parts.push(template.slice(lastIndex, match.index));
177054
+ }
177055
+ const key = match[1];
177056
+ const rawValue = placeholders[key] != null ? String(placeholders[key]) : "";
177057
+ const tokens = collectStyleTokens(settings.prettyLogStyles?.[key], rawValue);
177058
+ const css = tokensToCss(tokens);
177059
+ if (css.length > 0) {
177060
+ parts.push(`%c${rawValue}%c`);
177061
+ styles.push(css, "");
177062
+ }
177063
+ else {
177064
+ parts.push(rawValue);
177065
+ }
177066
+ lastIndex = placeholderRegex.lastIndex;
177067
+ }
177068
+ if (lastIndex < template.length) {
177069
+ parts.push(template.slice(lastIndex));
177070
+ }
177071
+ return {
177072
+ text: parts.join(""),
177073
+ styles,
177074
+ };
177075
+ }
177076
+ function collectStyleTokens(style, value) {
177077
+ if (style == null) {
177078
+ return [];
177079
+ }
177080
+ if (typeof style === "string") {
177081
+ return [style];
177082
+ }
177083
+ if (Array.isArray(style)) {
177084
+ return style.flatMap((token) => collectStyleTokens(token, value));
177085
+ }
177086
+ if (typeof style === "object") {
177087
+ const normalizedValue = value.trim();
177088
+ const nextStyle = style[normalizedValue] ?? style["*"];
177089
+ if (nextStyle == null) {
177090
+ return [];
177091
+ }
177092
+ return collectStyleTokens(nextStyle, value);
177093
+ }
177094
+ return [];
177095
+ }
177096
+ function tokensToCss(tokens) {
177097
+ const seen = new Set();
177098
+ const cssParts = [];
177099
+ for (const token of tokens) {
177100
+ const css = styleTokenToCss(token);
177101
+ if (css != null && css.length > 0 && !seen.has(css)) {
177102
+ seen.add(css);
177103
+ cssParts.push(css);
177104
+ }
177105
+ }
177106
+ return cssParts.join("; ");
177107
+ }
177108
+ function styleTokenToCss(token) {
177109
+ const color = COLOR_TOKENS[token];
177110
+ if (color != null) {
177111
+ return `color: ${color}`;
177112
+ }
177113
+ const background = BACKGROUND_TOKENS[token];
177114
+ if (background != null) {
177115
+ return `background-color: ${background}`;
177116
+ }
177117
+ switch (token) {
177118
+ case "bold":
177119
+ return "font-weight: bold";
177120
+ case "dim":
177121
+ return "opacity: 0.75";
177122
+ case "italic":
177123
+ return "font-style: italic";
177124
+ case "underline":
177125
+ return "text-decoration: underline";
177126
+ case "overline":
177127
+ return "text-decoration: overline";
177128
+ case "inverse":
177129
+ return "filter: invert(1)";
177130
+ case "hidden":
177131
+ return "visibility: hidden";
177132
+ case "strikethrough":
177133
+ return "text-decoration: line-through";
177134
+ default:
177135
+ return undefined;
177136
+ }
177137
+ }
177138
+ function getWorkingDirectory() {
177139
+ if (cachedCwd === undefined) {
177140
+ cachedCwd = (0, environment_js_1.safeGetCwd)() ?? null;
177141
+ }
177142
+ return cachedCwd ?? undefined;
177143
+ }
177144
+ function shouldCaptureHostname() {
177145
+ return runtimeInfo.name === "node" || runtimeInfo.name === "deno" || runtimeInfo.name === "bun";
177146
+ }
177147
+ function shouldCaptureRuntimeVersion() {
177148
+ return runtimeInfo.name === "node" || runtimeInfo.name === "deno" || runtimeInfo.name === "bun";
177149
+ }
177150
+ function createRuntimeMeta(info) {
177151
+ if (info.name === "browser" || info.name === "worker") {
177152
+ return {
177153
+ runtime: info.name,
177154
+ browser: info.userAgent,
177155
+ };
177156
+ }
177157
+ const metaStatic = {
177158
+ runtime: info.name,
177159
+ };
177160
+ if (shouldCaptureRuntimeVersion()) {
177161
+ metaStatic.runtimeVersion = info.version ?? "unknown";
177162
+ }
177163
+ if (shouldCaptureHostname()) {
177164
+ metaStatic.hostname = info.hostname ?? "unknown";
177165
+ }
177166
+ return metaStatic;
177167
+ }
177168
+ function formatWithOptionsSafe(options, args) {
177169
+ try {
177170
+ return (0, util_inspect_polyfill_js_1.formatWithOptions)(options, ...args);
177171
+ }
177172
+ catch {
177173
+ return args.map(stringifyFallback).join(" ");
177174
+ }
177175
+ }
177176
+ function stringifyFallback(value) {
177177
+ if (typeof value === "string") {
177178
+ return value;
177179
+ }
177180
+ try {
177181
+ return JSON.stringify(value);
177182
+ }
177183
+ catch {
177184
+ return String(value);
177185
+ }
177186
+ }
177187
+ function normalizeFilePath(value) {
177188
+ if (typeof value !== "string" || value.length === 0) {
177189
+ return value;
177190
+ }
177191
+ const replaced = value.replace(/\\+/g, "\\").replace(/\\/g, "/");
177192
+ const hasRootDoubleSlash = replaced.startsWith("//");
177193
+ const hasLeadingSlash = replaced.startsWith("/") && !hasRootDoubleSlash;
177194
+ const driveMatch = replaced.match(/^[A-Za-z]:/);
177195
+ const drivePrefix = driveMatch ? driveMatch[0] : "";
177196
+ const withoutDrive = drivePrefix ? replaced.slice(drivePrefix.length) : replaced;
177197
+ const segments = withoutDrive.split("/");
177198
+ const normalizedSegments = [];
177199
+ for (const segment of segments) {
177200
+ if (segment === "" || segment === ".") {
177201
+ continue;
177202
+ }
177203
+ if (segment === "..") {
177204
+ if (normalizedSegments.length > 0) {
177205
+ normalizedSegments.pop();
177206
+ }
177207
+ continue;
177208
+ }
177209
+ normalizedSegments.push(segment);
177210
+ }
177211
+ let normalized = normalizedSegments.join("/");
177212
+ if (hasRootDoubleSlash) {
177213
+ normalized = `//${normalized}`;
177214
+ }
177215
+ else if (hasLeadingSlash) {
177216
+ normalized = `/${normalized}`;
177217
+ }
177218
+ else if (drivePrefix !== "") {
177219
+ normalized = `${drivePrefix}${normalized.length > 0 ? `/${normalized}` : ""}`;
177220
+ }
177221
+ if (normalized.length === 0) {
177222
+ return value;
177223
+ }
177224
+ return normalized;
177225
+ }
177226
+ function detectRuntimeInfo() {
177227
+ if ((0, environment_js_1.isBrowserEnvironment)()) {
177228
+ const navigatorObj = globalThis.navigator;
177229
+ return {
177230
+ name: "browser",
177231
+ userAgent: navigatorObj?.userAgent,
177232
+ };
177233
+ }
177234
+ const globalScope = globalThis;
177235
+ if (typeof globalScope.importScripts === "function") {
177236
+ return {
177237
+ name: "worker",
177238
+ userAgent: globalScope.navigator?.userAgent,
177239
+ };
177240
+ }
177241
+ const globalAny = globalThis;
177242
+ if (globalAny.Bun != null) {
177243
+ const bunVersion = globalAny.Bun.version;
177244
+ return {
177245
+ name: "bun",
177246
+ version: bunVersion != null ? `bun/${bunVersion}` : undefined,
177247
+ hostname: getEnvironmentHostname(globalAny.process, globalAny.Deno, globalAny.Bun, globalAny.location),
177248
+ };
177249
+ }
177250
+ if (globalAny.Deno != null) {
177251
+ const denoHostname = resolveDenoHostname(globalAny.Deno);
177252
+ const denoVersion = globalAny.Deno?.version?.deno;
177253
+ return {
177254
+ name: "deno",
177255
+ version: denoVersion != null ? `deno/${denoVersion}` : undefined,
177256
+ hostname: denoHostname ?? getEnvironmentHostname(globalAny.process, globalAny.Deno, globalAny.Bun, globalAny.location),
177257
+ };
177258
+ }
177259
+ if (globalAny.process?.versions?.node != null || globalAny.process?.version != null) {
177260
+ return {
177261
+ name: "node",
177262
+ version: globalAny.process?.versions?.node ?? globalAny.process?.version,
177263
+ hostname: getEnvironmentHostname(globalAny.process, globalAny.Deno, globalAny.Bun, globalAny.location),
177264
+ };
177265
+ }
177266
+ if (globalAny.process != null) {
177267
+ return {
177268
+ name: "node",
177269
+ version: "unknown",
177270
+ hostname: getEnvironmentHostname(globalAny.process, globalAny.Deno, globalAny.Bun, globalAny.location),
177271
+ };
177272
+ }
177273
+ return {
177274
+ name: "unknown",
177275
+ };
177276
+ }
177277
+ function getEnvironmentHostname(nodeProcess, deno, bun, location) {
177278
+ const processHostname = nodeProcess?.env?.HOSTNAME ?? nodeProcess?.env?.HOST ?? nodeProcess?.env?.COMPUTERNAME;
177279
+ if (processHostname != null && processHostname.length > 0) {
177280
+ return processHostname;
177281
+ }
177282
+ const bunHostname = bun?.env?.HOSTNAME ?? bun?.env?.HOST ?? bun?.env?.COMPUTERNAME;
177283
+ if (bunHostname != null && bunHostname.length > 0) {
177284
+ return bunHostname;
177285
+ }
177286
+ try {
177287
+ const denoEnvGet = deno?.env?.get;
177288
+ if (typeof denoEnvGet === "function") {
177289
+ const value = denoEnvGet("HOSTNAME");
177290
+ if (value != null && value.length > 0) {
177291
+ return value;
177292
+ }
177293
+ }
177294
+ }
177295
+ catch {
177296
+ }
177297
+ if (location?.hostname != null && location.hostname.length > 0) {
177298
+ return location.hostname;
177299
+ }
177300
+ return undefined;
177301
+ }
177302
+ function resolveDenoHostname(deno) {
177303
+ try {
177304
+ if (typeof deno?.hostname === "function") {
177305
+ const value = deno.hostname();
177306
+ if (value != null && value.length > 0) {
177307
+ return value;
177308
+ }
177309
+ }
177310
+ }
177311
+ catch {
177312
+ }
177313
+ const locationHostname = globalThis.location?.hostname;
177314
+ if (locationHostname != null && locationHostname.length > 0) {
177315
+ return locationHostname;
177316
+ }
177317
+ return undefined;
177318
+ }
177319
+ function getNodeEnv() {
177320
+ const globalProcess = globalThis?.process;
177321
+ return globalProcess?.env?.NODE_ENV;
177322
+ }
177323
+ function isNativeError(value) {
177324
+ if (value instanceof Error) {
177325
+ return true;
177326
+ }
177327
+ if (value != null && typeof value === "object") {
177328
+ const objectTag = Object.prototype.toString.call(value);
177329
+ if (/\[object .*Error\]/.test(objectTag)) {
177330
+ return true;
177331
+ }
177332
+ const name = value.name;
177333
+ if (typeof name === "string" && name.endsWith("Error")) {
177334
+ return true;
177335
+ }
177336
+ }
177337
+ return false;
177338
+ }
177339
+ }
177340
+ const ANSI_REGEX = /\u001b\[[0-9;]*m/g;
177341
+ const COLOR_TOKENS = {
177342
+ black: "#000000",
177343
+ red: "#ef5350",
177344
+ green: "#66bb6a",
177345
+ yellow: "#fdd835",
177346
+ blue: "#42a5f5",
177347
+ magenta: "#ab47bc",
177348
+ cyan: "#26c6da",
177349
+ white: "#fafafa",
177350
+ blackBright: "#424242",
177351
+ redBright: "#ff7043",
177352
+ greenBright: "#81c784",
177353
+ yellowBright: "#ffe082",
177354
+ blueBright: "#64b5f6",
177355
+ magentaBright: "#ce93d8",
177356
+ cyanBright: "#4dd0e1",
177357
+ whiteBright: "#ffffff",
177358
+ };
177359
+ const BACKGROUND_TOKENS = {
177360
+ bgBlack: "#000000",
177361
+ bgRed: "#ef5350",
177362
+ bgGreen: "#66bb6a",
177363
+ bgYellow: "#fdd835",
177364
+ bgBlue: "#42a5f5",
177365
+ bgMagenta: "#ab47bc",
177366
+ bgCyan: "#26c6da",
177367
+ bgWhite: "#fafafa",
177368
+ bgBlackBright: "#424242",
177369
+ bgRedBright: "#ff7043",
177370
+ bgGreenBright: "#81c784",
177371
+ bgYellowBright: "#ffe082",
177372
+ bgBlueBright: "#64b5f6",
177373
+ bgMagentaBright: "#ce93d8",
177374
+ bgCyanBright: "#4dd0e1",
177375
+ bgWhiteBright: "#ffffff",
177376
+ };
177377
+ const BROWSER_PATH_REGEX = /(?:(?:file|https?|global code|[^@]+)@)?(?:file:)?((?:\/[^:/]+){2,})(?::(\d+))?(?::(\d+))?/;
177378
+ const runtime = createLoggerEnvironment();
177379
+ exports.loggerEnvironment = runtime;
177380
+ __exportStar(__webpack_require__(/*! ./interfaces.js */ "../../node_modules/tslog/cjs/interfaces.js"), exports);
177381
+ class BaseLogger {
177382
+ constructor(settings, logObj, stackDepthLevel = Number.NaN) {
177383
+ this.logObj = logObj;
177384
+ this.stackDepthLevel = stackDepthLevel;
177385
+ this.runtime = runtime;
177386
+ this.maxErrorCauseDepth = 5;
177387
+ this.settings = {
177388
+ type: settings?.type ?? "pretty",
177389
+ name: settings?.name,
177390
+ parentNames: settings?.parentNames,
177391
+ minLevel: settings?.minLevel ?? 0,
177392
+ argumentsArrayName: settings?.argumentsArrayName,
177393
+ hideLogPositionForProduction: settings?.hideLogPositionForProduction ?? false,
177394
+ prettyLogTemplate: settings?.prettyLogTemplate ??
177395
+ "{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}\t{{logLevelName}}\t{{filePathWithLine}}{{nameWithDelimiterPrefix}}\t",
177396
+ prettyErrorTemplate: settings?.prettyErrorTemplate ?? "\n{{errorName}} {{errorMessage}}\nerror stack:\n{{errorStack}}",
177397
+ prettyErrorStackTemplate: settings?.prettyErrorStackTemplate ?? " • {{fileName}}\t{{method}}\n\t{{filePathWithLine}}",
177398
+ prettyErrorParentNamesSeparator: settings?.prettyErrorParentNamesSeparator ?? ":",
177399
+ prettyErrorLoggerNameDelimiter: settings?.prettyErrorLoggerNameDelimiter ?? "\t",
177400
+ stylePrettyLogs: settings?.stylePrettyLogs ?? true,
177401
+ prettyLogTimeZone: settings?.prettyLogTimeZone ?? "UTC",
177402
+ prettyLogStyles: settings?.prettyLogStyles ?? {
177403
+ logLevelName: {
177404
+ "*": ["bold", "black", "bgWhiteBright", "dim"],
177405
+ SILLY: ["bold", "white"],
177406
+ TRACE: ["bold", "whiteBright"],
177407
+ DEBUG: ["bold", "green"],
177408
+ INFO: ["bold", "blue"],
177409
+ WARN: ["bold", "yellow"],
177410
+ ERROR: ["bold", "red"],
177411
+ FATAL: ["bold", "redBright"],
177412
+ },
177413
+ dateIsoStr: "white",
177414
+ filePathWithLine: "white",
177415
+ name: ["white", "bold"],
177416
+ nameWithDelimiterPrefix: ["white", "bold"],
177417
+ nameWithDelimiterSuffix: ["white", "bold"],
177418
+ errorName: ["bold", "bgRedBright", "whiteBright"],
177419
+ fileName: ["yellow"],
177420
+ fileNameWithLine: "white",
177421
+ },
177422
+ prettyInspectOptions: settings?.prettyInspectOptions ?? {
177423
+ colors: true,
177424
+ compact: false,
177425
+ depth: Infinity,
177426
+ },
177427
+ metaProperty: settings?.metaProperty ?? "_meta",
177428
+ maskPlaceholder: settings?.maskPlaceholder ?? "[***]",
177429
+ maskValuesOfKeys: settings?.maskValuesOfKeys ?? ["password"],
177430
+ maskValuesOfKeysCaseInsensitive: settings?.maskValuesOfKeysCaseInsensitive ?? false,
177431
+ maskValuesRegEx: settings?.maskValuesRegEx,
177432
+ prefix: [...(settings?.prefix ?? [])],
177433
+ attachedTransports: [...(settings?.attachedTransports ?? [])],
177434
+ overwrite: {
177435
+ mask: settings?.overwrite?.mask,
177436
+ toLogObj: settings?.overwrite?.toLogObj,
177437
+ addMeta: settings?.overwrite?.addMeta,
177438
+ addPlaceholders: settings?.overwrite?.addPlaceholders,
177439
+ formatMeta: settings?.overwrite?.formatMeta,
177440
+ formatLogObj: settings?.overwrite?.formatLogObj,
177441
+ transportFormatted: settings?.overwrite?.transportFormatted,
177442
+ transportJSON: settings?.overwrite?.transportJSON,
177443
+ },
177444
+ };
177445
+ this.captureStackForMeta = this._shouldCaptureStack();
177446
+ }
177447
+ log(logLevelId, logLevelName, ...args) {
177448
+ if (logLevelId < this.settings.minLevel) {
177449
+ return;
177450
+ }
177451
+ const resolvedArgs = this._resolveLogArguments(args);
177452
+ const logArgs = [...this.settings.prefix, ...resolvedArgs];
177453
+ const maskedArgs = this.settings.overwrite?.mask != null
177454
+ ? this.settings.overwrite?.mask(logArgs)
177455
+ : this.settings.maskValuesOfKeys != null && this.settings.maskValuesOfKeys.length > 0
177456
+ ? this._mask(logArgs)
177457
+ : logArgs;
177458
+ const thisLogObj = this.logObj != null ? this._recursiveCloneAndExecuteFunctions(this.logObj) : undefined;
177459
+ const logObj = this.settings.overwrite?.toLogObj != null ? this.settings.overwrite?.toLogObj(maskedArgs, thisLogObj) : this._toLogObj(maskedArgs, thisLogObj);
177460
+ const logObjWithMeta = this.settings.overwrite?.addMeta != null
177461
+ ? this.settings.overwrite?.addMeta(logObj, logLevelId, logLevelName)
177462
+ : this._addMetaToLogObj(logObj, logLevelId, logLevelName);
177463
+ const logMeta = logObjWithMeta?.[this.settings.metaProperty];
177464
+ let logMetaMarkup;
177465
+ let logArgsAndErrorsMarkup = undefined;
177466
+ if (this.settings.overwrite?.formatMeta != null) {
177467
+ logMetaMarkup = this.settings.overwrite?.formatMeta(logObjWithMeta?.[this.settings.metaProperty]);
177468
+ }
177469
+ if (this.settings.overwrite?.formatLogObj != null) {
177470
+ logArgsAndErrorsMarkup = this.settings.overwrite?.formatLogObj(maskedArgs, this.settings);
177471
+ }
177472
+ if (this.settings.type === "pretty") {
177473
+ logMetaMarkup = logMetaMarkup ?? this._prettyFormatLogObjMeta(logObjWithMeta?.[this.settings.metaProperty]);
177474
+ logArgsAndErrorsMarkup = logArgsAndErrorsMarkup ?? runtime.prettyFormatLogObj(maskedArgs, this.settings);
177475
+ }
177476
+ if (logMetaMarkup != null && logArgsAndErrorsMarkup != null) {
177477
+ if (this.settings.overwrite?.transportFormatted != null) {
177478
+ const transport = this.settings.overwrite.transportFormatted;
177479
+ const declaredParams = transport.length;
177480
+ if (declaredParams < 4) {
177481
+ transport(logMetaMarkup, logArgsAndErrorsMarkup.args, logArgsAndErrorsMarkup.errors);
177482
+ }
177483
+ else if (declaredParams === 4) {
177484
+ transport(logMetaMarkup, logArgsAndErrorsMarkup.args, logArgsAndErrorsMarkup.errors, logMeta);
177485
+ }
177486
+ else {
177487
+ transport(logMetaMarkup, logArgsAndErrorsMarkup.args, logArgsAndErrorsMarkup.errors, logMeta, this.settings);
177488
+ }
177489
+ }
177490
+ else {
177491
+ runtime.transportFormatted(logMetaMarkup, logArgsAndErrorsMarkup.args, logArgsAndErrorsMarkup.errors, logMeta, this.settings);
177492
+ }
177493
+ }
177494
+ else {
177495
+ if (this.settings.overwrite?.transportJSON != null) {
177496
+ this.settings.overwrite.transportJSON(logObjWithMeta);
177497
+ }
177498
+ else if (this.settings.type !== "hidden") {
177499
+ runtime.transportJSON(logObjWithMeta);
177500
+ }
177501
+ }
177502
+ if (this.settings.attachedTransports != null && this.settings.attachedTransports.length > 0) {
177503
+ this.settings.attachedTransports.forEach((transportLogger) => {
177504
+ transportLogger(logObjWithMeta);
177505
+ });
177506
+ }
177507
+ return logObjWithMeta;
177508
+ }
177509
+ attachTransport(transportLogger) {
177510
+ this.settings.attachedTransports.push(transportLogger);
177511
+ }
177512
+ getSubLogger(settings, logObj) {
177513
+ const subLoggerSettings = {
177514
+ ...this.settings,
177515
+ ...settings,
177516
+ parentNames: this.settings?.parentNames != null && this.settings?.name != null
177517
+ ? [...this.settings.parentNames, this.settings.name]
177518
+ : this.settings?.name != null
177519
+ ? [this.settings.name]
177520
+ : undefined,
177521
+ prefix: [...this.settings.prefix, ...(settings?.prefix ?? [])],
177522
+ };
177523
+ const subLogger = new this.constructor(subLoggerSettings, logObj ?? this.logObj, this.stackDepthLevel);
177524
+ return subLogger;
177525
+ }
177526
+ _mask(args) {
177527
+ const maskKeys = this._getMaskKeys();
177528
+ return args?.map((arg) => {
177529
+ return this._recursiveCloneAndMaskValuesOfKeys(arg, maskKeys);
177530
+ });
177531
+ }
177532
+ _getMaskKeys() {
177533
+ const maskKeys = this.settings.maskValuesOfKeys ?? [];
177534
+ const signature = maskKeys.map(String).join("|");
177535
+ if (this.settings.maskValuesOfKeysCaseInsensitive === true) {
177536
+ if (this.maskKeysCache?.source === maskKeys && this.maskKeysCache.caseInsensitive === true && this.maskKeysCache.signature === signature) {
177537
+ return this.maskKeysCache.normalized;
177538
+ }
177539
+ const normalized = maskKeys.map((key) => (typeof key === "string" ? key.toLowerCase() : String(key).toLowerCase()));
177540
+ this.maskKeysCache = {
177541
+ source: maskKeys,
177542
+ caseInsensitive: true,
177543
+ normalized,
177544
+ signature,
177545
+ };
177546
+ return normalized;
177547
+ }
177548
+ this.maskKeysCache = {
177549
+ source: maskKeys,
177550
+ caseInsensitive: false,
177551
+ normalized: maskKeys,
177552
+ signature,
177553
+ };
177554
+ return maskKeys;
177555
+ }
177556
+ _resolveLogArguments(args) {
177557
+ if (args.length === 1 && typeof args[0] === "function") {
177558
+ const candidate = args[0];
177559
+ if (candidate.length === 0) {
177560
+ const result = candidate();
177561
+ return Array.isArray(result) ? result : [result];
177562
+ }
177563
+ }
177564
+ return args;
177565
+ }
177566
+ _recursiveCloneAndMaskValuesOfKeys(source, keys, seen = []) {
177567
+ if (seen.includes(source)) {
177568
+ return { ...source };
177569
+ }
177570
+ if (typeof source === "object" && source !== null) {
177571
+ seen.push(source);
177572
+ }
177573
+ if (runtime.isError(source) || runtime.isBuffer(source)) {
177574
+ return source;
177575
+ }
177576
+ else if (source instanceof Map) {
177577
+ return new Map(source);
177578
+ }
177579
+ else if (source instanceof Set) {
177580
+ return new Set(source);
177581
+ }
177582
+ else if (Array.isArray(source)) {
177583
+ return source.map((item) => this._recursiveCloneAndMaskValuesOfKeys(item, keys, seen));
177584
+ }
177585
+ else if (source instanceof Date) {
177586
+ return new Date(source.getTime());
177587
+ }
177588
+ else if (source instanceof URL) {
177589
+ return (0, urlToObj_js_1.urlToObject)(source);
177590
+ }
177591
+ else if (source !== null && typeof source === "object") {
177592
+ const baseObject = runtime.isError(source) ? this._cloneError(source) : Object.create(Object.getPrototypeOf(source));
177593
+ return Object.getOwnPropertyNames(source).reduce((o, prop) => {
177594
+ const lookupKey = this.settings?.maskValuesOfKeysCaseInsensitive !== true
177595
+ ? prop
177596
+ : typeof prop === "string"
177597
+ ? prop.toLowerCase()
177598
+ : String(prop).toLowerCase();
177599
+ o[prop] = keys.includes(lookupKey)
177600
+ ? this.settings.maskPlaceholder
177601
+ : (() => {
177602
+ try {
177603
+ return this._recursiveCloneAndMaskValuesOfKeys(source[prop], keys, seen);
177604
+ }
177605
+ catch {
177606
+ return null;
177607
+ }
177608
+ })();
177609
+ return o;
177610
+ }, baseObject);
177611
+ }
177612
+ else {
177613
+ if (typeof source === "string") {
177614
+ let modifiedSource = source;
177615
+ for (const regEx of this.settings?.maskValuesRegEx || []) {
177616
+ modifiedSource = modifiedSource.replace(regEx, this.settings?.maskPlaceholder || "");
177617
+ }
177618
+ return modifiedSource;
177619
+ }
177620
+ return source;
177621
+ }
177622
+ }
177623
+ _recursiveCloneAndExecuteFunctions(source, seen = []) {
177624
+ if (this.isObjectOrArray(source) && seen.includes(source)) {
177625
+ return this.shallowCopy(source);
177626
+ }
177627
+ if (this.isObjectOrArray(source)) {
177628
+ seen.push(source);
177629
+ }
177630
+ if (Array.isArray(source)) {
177631
+ return source.map((item) => this._recursiveCloneAndExecuteFunctions(item, seen));
177632
+ }
177633
+ else if (source instanceof Date) {
177634
+ return new Date(source.getTime());
177635
+ }
177636
+ else if (this.isObject(source)) {
177637
+ return Object.getOwnPropertyNames(source).reduce((o, prop) => {
177638
+ const descriptor = Object.getOwnPropertyDescriptor(source, prop);
177639
+ if (descriptor) {
177640
+ Object.defineProperty(o, prop, descriptor);
177641
+ const value = source[prop];
177642
+ o[prop] = typeof value === "function" ? value() : this._recursiveCloneAndExecuteFunctions(value, seen);
177643
+ }
177644
+ return o;
177645
+ }, Object.create(Object.getPrototypeOf(source)));
177646
+ }
177647
+ else {
177648
+ return source;
177649
+ }
177650
+ }
177651
+ isObjectOrArray(value) {
177652
+ return typeof value === "object" && value !== null;
177653
+ }
177654
+ isObject(value) {
177655
+ return typeof value === "object" && !Array.isArray(value) && value !== null;
177656
+ }
177657
+ shallowCopy(source) {
177658
+ if (Array.isArray(source)) {
177659
+ return [...source];
177660
+ }
177661
+ else {
177662
+ return { ...source };
177663
+ }
177664
+ }
177665
+ _toLogObj(args, clonedLogObj = {}) {
177666
+ args = args?.map((arg) => (runtime.isError(arg) ? this._toErrorObject(arg) : arg));
177667
+ if (this.settings.argumentsArrayName == null) {
177668
+ if (args.length === 1 && !Array.isArray(args[0]) && runtime.isBuffer(args[0]) !== true && !(args[0] instanceof Date)) {
177669
+ clonedLogObj = typeof args[0] === "object" && args[0] != null ? { ...args[0], ...clonedLogObj } : { 0: args[0], ...clonedLogObj };
177670
+ }
177671
+ else {
177672
+ clonedLogObj = { ...clonedLogObj, ...args };
177673
+ }
177674
+ }
177675
+ else {
177676
+ clonedLogObj = {
177677
+ ...clonedLogObj,
177678
+ [this.settings.argumentsArrayName]: args,
177679
+ };
177680
+ }
177681
+ return clonedLogObj;
177682
+ }
177683
+ _cloneError(error) {
177684
+ const cloned = new error.constructor();
177685
+ Object.getOwnPropertyNames(error).forEach((key) => {
177686
+ cloned[key] = error[key];
177687
+ });
177688
+ return cloned;
177689
+ }
177690
+ _toErrorObject(error, depth = 0, seen = new Set()) {
177691
+ if (!seen.has(error)) {
177692
+ seen.add(error);
177693
+ }
177694
+ const errorObject = {
177695
+ nativeError: error,
177696
+ name: error.name ?? "Error",
177697
+ message: error.message,
177698
+ stack: runtime.getErrorTrace(error),
177699
+ };
177700
+ if (depth >= this.maxErrorCauseDepth) {
177701
+ return errorObject;
177702
+ }
177703
+ const causeValue = error.cause;
177704
+ if (causeValue != null) {
177705
+ const normalizedCause = (0, errorUtils_js_1.toError)(causeValue);
177706
+ if (!seen.has(normalizedCause)) {
177707
+ errorObject.cause = this._toErrorObject(normalizedCause, depth + 1, seen);
177708
+ }
177709
+ }
177710
+ return errorObject;
177711
+ }
177712
+ _addMetaToLogObj(logObj, logLevelId, logLevelName) {
177713
+ return {
177714
+ ...logObj,
177715
+ [this.settings.metaProperty]: runtime.getMeta(logLevelId, logLevelName, this.stackDepthLevel, !this.captureStackForMeta, this.settings.name, this.settings.parentNames),
177716
+ };
177717
+ }
177718
+ _shouldCaptureStack() {
177719
+ if (this.settings.hideLogPositionForProduction) {
177720
+ return false;
177721
+ }
177722
+ if (this.settings.type === "json") {
177723
+ return true;
177724
+ }
177725
+ const template = this.settings.prettyLogTemplate ?? "";
177726
+ const stackPlaceholders = /{{\s*(file(Name|Path|Line|PathWithLine|NameWithLine)|fullFilePath)\s*}}/;
177727
+ if (stackPlaceholders.test(template)) {
177728
+ return true;
177729
+ }
177730
+ return false;
177731
+ }
177732
+ _prettyFormatLogObjMeta(logObjMeta) {
177733
+ return (0, metaFormatting_js_1.buildPrettyMeta)(this.settings, logObjMeta).text;
177734
+ }
177735
+ }
177736
+ exports.BaseLogger = BaseLogger;
177737
+
177738
+
177739
+ /***/ }),
177740
+
177741
+ /***/ "../../node_modules/tslog/cjs/formatNumberAddZeros.js":
177742
+ /*!************************************************************!*\
177743
+ !*** ../../node_modules/tslog/cjs/formatNumberAddZeros.js ***!
177744
+ \************************************************************/
177745
+ /***/ ((__unused_webpack_module, exports) => {
177746
+
177747
+ "use strict";
177748
+
177749
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
177750
+ exports.formatNumberAddZeros = formatNumberAddZeros;
177751
+ function formatNumberAddZeros(value, digits = 2, addNumber = 0) {
177752
+ if (value != null && isNaN(value)) {
177753
+ return "";
177754
+ }
177755
+ value = value != null ? value + addNumber : value;
177756
+ return digits === 2
177757
+ ? value == null
177758
+ ? "--"
177759
+ : value < 10
177760
+ ? "0" + value
177761
+ : value.toString()
177762
+ : value == null
177763
+ ? "---"
177764
+ : value < 10
177765
+ ? "00" + value
177766
+ : value < 100
177767
+ ? "0" + value
177768
+ : value.toString();
177769
+ }
177770
+
177771
+
177772
+ /***/ }),
177773
+
177774
+ /***/ "../../node_modules/tslog/cjs/formatTemplate.js":
177775
+ /*!******************************************************!*\
177776
+ !*** ../../node_modules/tslog/cjs/formatTemplate.js ***!
177777
+ \******************************************************/
177778
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
177779
+
177780
+ "use strict";
177781
+
177782
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
177783
+ exports.formatTemplate = formatTemplate;
177784
+ const prettyLogStyles_js_1 = __webpack_require__(/*! ./prettyLogStyles.js */ "../../node_modules/tslog/cjs/prettyLogStyles.js");
177785
+ function formatTemplate(settings, template, values, hideUnsetPlaceholder = false) {
177786
+ const templateString = String(template);
177787
+ const ansiColorWrap = (placeholderValue, code) => `\u001b[${code[0]}m${placeholderValue}\u001b[${code[1]}m`;
177788
+ const styleWrap = (value, style) => {
177789
+ if (style != null && typeof style === "string") {
177790
+ return ansiColorWrap(value, prettyLogStyles_js_1.prettyLogStyles[style]);
177791
+ }
177792
+ else if (style != null && Array.isArray(style)) {
177793
+ return style.reduce((prevValue, thisStyle) => styleWrap(prevValue, thisStyle), value);
177794
+ }
177795
+ else {
177796
+ if (style != null && style[value.trim()] != null) {
177797
+ return styleWrap(value, style[value.trim()]);
177798
+ }
177799
+ else if (style != null && style["*"] != null) {
177800
+ return styleWrap(value, style["*"]);
177801
+ }
177802
+ else {
177803
+ return value;
177804
+ }
177805
+ }
177806
+ };
177807
+ const defaultStyle = null;
177808
+ return templateString.replace(/{{(.+?)}}/g, (_, placeholder) => {
177809
+ const value = values[placeholder] != null ? String(values[placeholder]) : hideUnsetPlaceholder ? "" : _;
177810
+ return settings.stylePrettyLogs
177811
+ ? styleWrap(value, settings?.prettyLogStyles?.[placeholder] ?? defaultStyle) + ansiColorWrap("", prettyLogStyles_js_1.prettyLogStyles.reset)
177812
+ : value;
177813
+ });
177814
+ }
177815
+
177816
+
177817
+ /***/ }),
177818
+
177819
+ /***/ "../../node_modules/tslog/cjs/index.js":
177820
+ /*!*********************************************!*\
177821
+ !*** ../../node_modules/tslog/cjs/index.js ***!
177822
+ \*********************************************/
177823
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
177824
+
177825
+ "use strict";
177826
+
177827
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
177828
+ if (k2 === undefined) k2 = k;
177829
+ var desc = Object.getOwnPropertyDescriptor(m, k);
177830
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
177831
+ desc = { enumerable: true, get: function() { return m[k]; } };
177832
+ }
177833
+ Object.defineProperty(o, k2, desc);
177834
+ }) : (function(o, m, k, k2) {
177835
+ if (k2 === undefined) k2 = k;
177836
+ o[k2] = m[k];
177837
+ }));
177838
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
177839
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
177840
+ };
177841
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
177842
+ exports.Logger = void 0;
177843
+ const BaseLogger_js_1 = __webpack_require__(/*! ./BaseLogger.js */ "../../node_modules/tslog/cjs/BaseLogger.js");
177844
+ __exportStar(__webpack_require__(/*! ./interfaces.js */ "../../node_modules/tslog/cjs/interfaces.js"), exports);
177845
+ __exportStar(__webpack_require__(/*! ./BaseLogger.js */ "../../node_modules/tslog/cjs/BaseLogger.js"), exports);
177846
+ class Logger extends BaseLogger_js_1.BaseLogger {
177847
+ constructor(settings, logObj) {
177848
+ const isBrowser = typeof window !== "undefined" && typeof document !== "undefined";
177849
+ const normalizedSettings = { ...(settings ?? {}) };
177850
+ if (isBrowser) {
177851
+ normalizedSettings.stylePrettyLogs = settings?.stylePrettyLogs ?? true;
177852
+ }
177853
+ super(normalizedSettings, logObj, Number.NaN);
177854
+ }
177855
+ log(logLevelId, logLevelName, ...args) {
177856
+ return super.log(logLevelId, logLevelName, ...args);
177857
+ }
177858
+ silly(...args) {
177859
+ return super.log(0, "SILLY", ...args);
177860
+ }
177861
+ trace(...args) {
177862
+ return super.log(1, "TRACE", ...args);
177863
+ }
177864
+ debug(...args) {
177865
+ return super.log(2, "DEBUG", ...args);
177866
+ }
177867
+ info(...args) {
177868
+ return super.log(3, "INFO", ...args);
177869
+ }
177870
+ warn(...args) {
177871
+ return super.log(4, "WARN", ...args);
177872
+ }
177873
+ error(...args) {
177874
+ return super.log(5, "ERROR", ...args);
177875
+ }
177876
+ fatal(...args) {
177877
+ return super.log(6, "FATAL", ...args);
177878
+ }
177879
+ getSubLogger(settings, logObj) {
177880
+ return super.getSubLogger(settings, logObj);
177881
+ }
177882
+ }
177883
+ exports.Logger = Logger;
177884
+
177885
+
177886
+ /***/ }),
177887
+
177888
+ /***/ "../../node_modules/tslog/cjs/interfaces.js":
177889
+ /*!**************************************************!*\
177890
+ !*** ../../node_modules/tslog/cjs/interfaces.js ***!
177891
+ \**************************************************/
177892
+ /***/ ((__unused_webpack_module, exports) => {
177893
+
177894
+ "use strict";
177895
+
177896
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
177897
+
177898
+
177899
+ /***/ }),
177900
+
177901
+ /***/ "../../node_modules/tslog/cjs/internal/environment.js":
177902
+ /*!************************************************************!*\
177903
+ !*** ../../node_modules/tslog/cjs/internal/environment.js ***!
177904
+ \************************************************************/
177905
+ /***/ ((__unused_webpack_module, exports) => {
177906
+
177907
+ "use strict";
177908
+
177909
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
177910
+ exports.safeGetCwd = safeGetCwd;
177911
+ exports.isBrowserEnvironment = isBrowserEnvironment;
177912
+ exports.consoleSupportsCssStyling = consoleSupportsCssStyling;
177913
+ function safeGetCwd() {
177914
+ try {
177915
+ const nodeProcess = globalThis?.process;
177916
+ if (typeof nodeProcess?.cwd === "function") {
177917
+ return nodeProcess.cwd();
177918
+ }
177919
+ }
177920
+ catch {
177921
+ }
177922
+ try {
177923
+ const deno = globalThis?.["Deno"];
177924
+ if (typeof deno?.cwd === "function") {
177925
+ return deno.cwd();
177926
+ }
177927
+ }
177928
+ catch {
177929
+ }
177930
+ return undefined;
177931
+ }
177932
+ function isBrowserEnvironment() {
177933
+ return typeof window !== "undefined" && typeof document !== "undefined";
177934
+ }
177935
+ function consoleSupportsCssStyling() {
177936
+ if (!isBrowserEnvironment()) {
177937
+ return false;
177938
+ }
177939
+ const navigatorObj = globalThis?.navigator;
177940
+ const userAgent = navigatorObj?.userAgent ?? "";
177941
+ if (/firefox/i.test(userAgent)) {
177942
+ return true;
177943
+ }
177944
+ const windowObj = globalThis;
177945
+ if (windowObj?.CSS?.supports?.("color", "#000")) {
177946
+ return true;
177947
+ }
177948
+ return /safari/i.test(userAgent) && !/chrome/i.test(userAgent);
177949
+ }
177950
+
177951
+
177952
+ /***/ }),
177953
+
177954
+ /***/ "../../node_modules/tslog/cjs/internal/errorUtils.js":
177955
+ /*!***********************************************************!*\
177956
+ !*** ../../node_modules/tslog/cjs/internal/errorUtils.js ***!
177957
+ \***********************************************************/
177958
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
177959
+
177960
+ "use strict";
177961
+
177962
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
177963
+ exports.collectErrorCauses = collectErrorCauses;
177964
+ exports.toError = toError;
177965
+ exports.toErrorObject = toErrorObject;
177966
+ const stackTrace_js_1 = __webpack_require__(/*! ./stackTrace.js */ "../../node_modules/tslog/cjs/internal/stackTrace.js");
177967
+ const DEFAULT_CAUSE_DEPTH = 5;
177968
+ function collectErrorCauses(error, options = {}) {
177969
+ const maxDepth = options.maxDepth ?? DEFAULT_CAUSE_DEPTH;
177970
+ const causes = [];
177971
+ const visited = new Set();
177972
+ let current = error;
177973
+ let depth = 0;
177974
+ while (current != null && depth < maxDepth) {
177975
+ const cause = current?.cause;
177976
+ if (cause == null || visited.has(cause)) {
177977
+ break;
177978
+ }
177979
+ visited.add(cause);
177980
+ causes.push(toError(cause));
177981
+ current = cause;
177982
+ depth += 1;
177983
+ }
177984
+ return causes;
177985
+ }
177986
+ function toError(value) {
177987
+ if (value instanceof Error) {
177988
+ return value;
177989
+ }
177990
+ const error = new Error(typeof value === "string" ? value : JSON.stringify(value));
177991
+ if (typeof value === "object" && value != null) {
177992
+ Object.assign(error, value);
177993
+ }
177994
+ return error;
177995
+ }
177996
+ function toErrorObject(error, parseLine) {
177997
+ return {
177998
+ nativeError: error,
177999
+ name: error.name ?? "Error",
178000
+ message: error.message ?? "",
178001
+ stack: (0, stackTrace_js_1.buildStackTrace)(error, parseLine),
178002
+ };
178003
+ }
178004
+
178005
+
178006
+ /***/ }),
178007
+
178008
+ /***/ "../../node_modules/tslog/cjs/internal/jsonStringifyRecursive.js":
178009
+ /*!***********************************************************************!*\
178010
+ !*** ../../node_modules/tslog/cjs/internal/jsonStringifyRecursive.js ***!
178011
+ \***********************************************************************/
178012
+ /***/ ((__unused_webpack_module, exports) => {
178013
+
178014
+ "use strict";
178015
+
178016
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
178017
+ exports.jsonStringifyRecursive = jsonStringifyRecursive;
178018
+ function jsonStringifyRecursive(obj) {
178019
+ const cache = new Set();
178020
+ return JSON.stringify(obj, (key, value) => {
178021
+ if (typeof value === "object" && value !== null) {
178022
+ if (cache.has(value)) {
178023
+ return "[Circular]";
178024
+ }
178025
+ cache.add(value);
178026
+ }
178027
+ if (typeof value === "bigint") {
178028
+ return `${value}`;
178029
+ }
178030
+ if (typeof value === "undefined") {
178031
+ return "[undefined]";
178032
+ }
178033
+ return value;
178034
+ });
178035
+ }
178036
+
178037
+
178038
+ /***/ }),
178039
+
178040
+ /***/ "../../node_modules/tslog/cjs/internal/metaFormatting.js":
178041
+ /*!***************************************************************!*\
178042
+ !*** ../../node_modules/tslog/cjs/internal/metaFormatting.js ***!
178043
+ \***************************************************************/
178044
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
178045
+
178046
+ "use strict";
178047
+
178048
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
178049
+ exports.buildPrettyMeta = buildPrettyMeta;
178050
+ const formatTemplate_js_1 = __webpack_require__(/*! ../formatTemplate.js */ "../../node_modules/tslog/cjs/formatTemplate.js");
178051
+ const formatNumberAddZeros_js_1 = __webpack_require__(/*! ../formatNumberAddZeros.js */ "../../node_modules/tslog/cjs/formatNumberAddZeros.js");
178052
+ function buildPrettyMeta(settings, meta) {
178053
+ if (meta == null) {
178054
+ return {
178055
+ text: "",
178056
+ template: settings.prettyLogTemplate,
178057
+ placeholders: {},
178058
+ };
178059
+ }
178060
+ let template = settings.prettyLogTemplate;
178061
+ const placeholderValues = {};
178062
+ if (template.includes("{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}")) {
178063
+ template = template.replace("{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}", "{{dateIsoStr}}");
178064
+ }
178065
+ else {
178066
+ if (settings.prettyLogTimeZone === "UTC") {
178067
+ placeholderValues["yyyy"] = meta.date?.getUTCFullYear() ?? "----";
178068
+ placeholderValues["mm"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getUTCMonth(), 2, 1);
178069
+ placeholderValues["dd"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getUTCDate(), 2);
178070
+ placeholderValues["hh"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getUTCHours(), 2);
178071
+ placeholderValues["MM"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getUTCMinutes(), 2);
178072
+ placeholderValues["ss"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getUTCSeconds(), 2);
178073
+ placeholderValues["ms"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getUTCMilliseconds(), 3);
178074
+ }
178075
+ else {
178076
+ placeholderValues["yyyy"] = meta.date?.getFullYear() ?? "----";
178077
+ placeholderValues["mm"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getMonth(), 2, 1);
178078
+ placeholderValues["dd"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getDate(), 2);
178079
+ placeholderValues["hh"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getHours(), 2);
178080
+ placeholderValues["MM"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getMinutes(), 2);
178081
+ placeholderValues["ss"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getSeconds(), 2);
178082
+ placeholderValues["ms"] = (0, formatNumberAddZeros_js_1.formatNumberAddZeros)(meta.date?.getMilliseconds(), 3);
178083
+ }
178084
+ }
178085
+ const dateInSettingsTimeZone = settings.prettyLogTimeZone === "UTC" ? meta.date : meta.date != null ? new Date(meta.date.getTime() - meta.date.getTimezoneOffset() * 60000) : undefined;
178086
+ placeholderValues["rawIsoStr"] = dateInSettingsTimeZone?.toISOString() ?? "";
178087
+ placeholderValues["dateIsoStr"] = dateInSettingsTimeZone?.toISOString().replace("T", " ").replace("Z", "") ?? "";
178088
+ placeholderValues["logLevelName"] = meta.logLevelName;
178089
+ placeholderValues["fileNameWithLine"] = meta.path?.fileNameWithLine ?? "";
178090
+ placeholderValues["filePathWithLine"] = meta.path?.filePathWithLine ?? "";
178091
+ placeholderValues["fullFilePath"] = meta.path?.fullFilePath ?? "";
178092
+ let parentNamesString = settings.parentNames?.join(settings.prettyErrorParentNamesSeparator);
178093
+ parentNamesString = parentNamesString != null && meta.name != null ? parentNamesString + settings.prettyErrorParentNamesSeparator : undefined;
178094
+ const combinedName = meta.name != null || parentNamesString != null ? `${parentNamesString ?? ""}${meta.name ?? ""}` : "";
178095
+ placeholderValues["name"] = combinedName;
178096
+ placeholderValues["nameWithDelimiterPrefix"] = combinedName.length > 0 ? settings.prettyErrorLoggerNameDelimiter + combinedName : "";
178097
+ placeholderValues["nameWithDelimiterSuffix"] = combinedName.length > 0 ? combinedName + settings.prettyErrorLoggerNameDelimiter : "";
178098
+ if (settings.overwrite?.addPlaceholders != null) {
178099
+ settings.overwrite.addPlaceholders(meta, placeholderValues);
178100
+ }
178101
+ return {
178102
+ text: (0, formatTemplate_js_1.formatTemplate)(settings, template, placeholderValues),
178103
+ template,
178104
+ placeholders: placeholderValues,
178105
+ };
178106
+ }
178107
+
178108
+
178109
+ /***/ }),
178110
+
178111
+ /***/ "../../node_modules/tslog/cjs/internal/stackTrace.js":
178112
+ /*!***********************************************************!*\
178113
+ !*** ../../node_modules/tslog/cjs/internal/stackTrace.js ***!
178114
+ \***********************************************************/
178115
+ /***/ ((__unused_webpack_module, exports) => {
178116
+
178117
+ "use strict";
178118
+
178119
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
178120
+ exports.splitStackLines = splitStackLines;
178121
+ exports.sanitizeStackLines = sanitizeStackLines;
178122
+ exports.toStackFrames = toStackFrames;
178123
+ exports.findFirstExternalFrameIndex = findFirstExternalFrameIndex;
178124
+ exports.getFrameAt = getFrameAt;
178125
+ exports.getCleanStackLines = getCleanStackLines;
178126
+ exports.buildStackTrace = buildStackTrace;
178127
+ exports.isIgnorableFrame = isIgnorableFrame;
178128
+ exports.clampIndex = clampIndex;
178129
+ exports.pickCallerStackFrame = pickCallerStackFrame;
178130
+ exports.getDefaultIgnorePatterns = getDefaultIgnorePatterns;
178131
+ const DEFAULT_IGNORE_PATTERNS = [
178132
+ /(?:^|[\\/])node_modules[\\/].*tslog/i,
178133
+ /(?:^|[\\/])deps[\\/].*tslog/i,
178134
+ /tslog[\\/]+src[\\/]+internal[\\/]/i,
178135
+ /tslog[\\/]+src[\\/]BaseLogger/i,
178136
+ /tslog[\\/]+src[\\/]index/i,
178137
+ ];
178138
+ function splitStackLines(error) {
178139
+ const stack = typeof error?.stack === "string" ? error.stack : undefined;
178140
+ if (stack == null || stack.length === 0) {
178141
+ return [];
178142
+ }
178143
+ return stack.split("\n").map((line) => line.trimEnd());
178144
+ }
178145
+ function sanitizeStackLines(lines) {
178146
+ return lines.filter((line) => line.length > 0 && !/^\s*Error\b/.test(line));
178147
+ }
178148
+ function toStackFrames(lines, parseLine) {
178149
+ const frames = [];
178150
+ for (const line of lines) {
178151
+ const frame = parseLine(line);
178152
+ if (frame != null) {
178153
+ frames.push(frame);
178154
+ }
178155
+ }
178156
+ return frames;
178157
+ }
178158
+ function findFirstExternalFrameIndex(frames, ignorePatterns = DEFAULT_IGNORE_PATTERNS) {
178159
+ for (let index = 0; index < frames.length; index += 1) {
178160
+ const frame = frames[index];
178161
+ const filePathCandidate = frame.filePath ?? "";
178162
+ const fullPathCandidate = frame.fullFilePath ?? "";
178163
+ if (!ignorePatterns.some((pattern) => pattern.test(filePathCandidate) || pattern.test(fullPathCandidate))) {
178164
+ return index;
178165
+ }
178166
+ }
178167
+ return 0;
178168
+ }
178169
+ function getFrameAt(frames, index) {
178170
+ if (index < 0 || index >= frames.length) {
178171
+ return undefined;
178172
+ }
178173
+ return frames[index];
178174
+ }
178175
+ function getCleanStackLines(error) {
178176
+ return sanitizeStackLines(splitStackLines(error));
178177
+ }
178178
+ function buildStackTrace(error, parseLine) {
178179
+ return toStackFrames(getCleanStackLines(error), parseLine);
178180
+ }
178181
+ function isIgnorableFrame(frame, ignorePatterns) {
178182
+ const filePathCandidate = frame.filePath ?? "";
178183
+ const fullPathCandidate = frame.fullFilePath ?? "";
178184
+ return ignorePatterns.some((pattern) => pattern.test(filePathCandidate) || pattern.test(fullPathCandidate));
178185
+ }
178186
+ function clampIndex(index, maxExclusive) {
178187
+ if (index < 0) {
178188
+ return 0;
178189
+ }
178190
+ if (index >= maxExclusive) {
178191
+ return Math.max(0, maxExclusive - 1);
178192
+ }
178193
+ return index;
178194
+ }
178195
+ function pickCallerStackFrame(error, parseLine, options = {}) {
178196
+ const lines = getCleanStackLines(error);
178197
+ const frames = toStackFrames(lines, parseLine);
178198
+ if (frames.length === 0) {
178199
+ return undefined;
178200
+ }
178201
+ const ignorePatterns = options.ignorePatterns ?? DEFAULT_IGNORE_PATTERNS;
178202
+ const autoIndex = findFirstExternalFrameIndex(frames, ignorePatterns);
178203
+ const resolvedIndex = options.stackDepthLevel != null ? options.stackDepthLevel : autoIndex;
178204
+ return getFrameAt(frames, clampIndex(resolvedIndex, frames.length));
178205
+ }
178206
+ function getDefaultIgnorePatterns() {
178207
+ return [...DEFAULT_IGNORE_PATTERNS];
178208
+ }
178209
+
178210
+
178211
+ /***/ }),
178212
+
178213
+ /***/ "../../node_modules/tslog/cjs/internal/util.inspect.polyfill.js":
178214
+ /*!**********************************************************************!*\
178215
+ !*** ../../node_modules/tslog/cjs/internal/util.inspect.polyfill.js ***!
178216
+ \**********************************************************************/
178217
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
178218
+
178219
+ "use strict";
178220
+
178221
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
178222
+ exports.inspect = inspect;
178223
+ exports.formatValue = formatValue;
178224
+ exports.formatWithOptions = formatWithOptions;
178225
+ const prettyLogStyles_js_1 = __webpack_require__(/*! ../prettyLogStyles.js */ "../../node_modules/tslog/cjs/prettyLogStyles.js");
178226
+ const jsonStringifyRecursive_js_1 = __webpack_require__(/*! ./jsonStringifyRecursive.js */ "../../node_modules/tslog/cjs/internal/jsonStringifyRecursive.js");
178227
+ function inspect(obj, opts) {
178228
+ const ctx = {
178229
+ seen: [],
178230
+ stylize: stylizeNoColor,
178231
+ };
178232
+ if (opts != null) {
178233
+ _extend(ctx, opts);
178234
+ }
178235
+ if (isUndefined(ctx.showHidden))
178236
+ ctx.showHidden = false;
178237
+ if (isUndefined(ctx.depth))
178238
+ ctx.depth = 2;
178239
+ if (isUndefined(ctx.colors))
178240
+ ctx.colors = true;
178241
+ if (isUndefined(ctx.customInspect))
178242
+ ctx.customInspect = true;
178243
+ if (ctx.colors)
178244
+ ctx.stylize = stylizeWithColor;
178245
+ return formatValue(ctx, obj, ctx.depth);
178246
+ }
178247
+ inspect.colors = prettyLogStyles_js_1.prettyLogStyles;
178248
+ inspect.styles = {
178249
+ special: "cyan",
178250
+ number: "yellow",
178251
+ boolean: "yellow",
178252
+ undefined: "grey",
178253
+ null: "bold",
178254
+ string: "green",
178255
+ date: "magenta",
178256
+ regexp: "red",
178257
+ };
178258
+ function isBoolean(arg) {
178259
+ return typeof arg === "boolean";
178260
+ }
178261
+ function isUndefined(arg) {
178262
+ return arg === undefined;
178263
+ }
178264
+ function stylizeNoColor(str) {
178265
+ return str;
178266
+ }
178267
+ function stylizeWithColor(str, styleType) {
178268
+ const style = inspect.styles[styleType];
178269
+ if (style != null && inspect?.colors?.[style]?.[0] != null && inspect?.colors?.[style]?.[1] != null) {
178270
+ return "\u001b[" + inspect.colors[style][0] + "m" + str + "\u001b[" + inspect.colors[style][1] + "m";
178271
+ }
178272
+ else {
178273
+ return str;
178274
+ }
178275
+ }
178276
+ function isFunction(arg) {
178277
+ return typeof arg === "function";
178278
+ }
178279
+ function isString(arg) {
178280
+ return typeof arg === "string";
178281
+ }
178282
+ function isNumber(arg) {
178283
+ return typeof arg === "number";
178284
+ }
178285
+ function isNull(arg) {
178286
+ return arg === null;
178287
+ }
178288
+ function hasOwn(obj, prop) {
178289
+ return Object.prototype.hasOwnProperty.call(obj, prop);
178290
+ }
178291
+ function isRegExp(re) {
178292
+ return isObject(re) && objectToString(re) === "[object RegExp]";
178293
+ }
178294
+ function isObject(arg) {
178295
+ return typeof arg === "object" && arg !== null;
178296
+ }
178297
+ function isError(e) {
178298
+ return isObject(e) && (objectToString(e) === "[object Error]" || e instanceof Error);
178299
+ }
178300
+ function isDate(d) {
178301
+ return isObject(d) && objectToString(d) === "[object Date]";
178302
+ }
178303
+ function objectToString(o) {
178304
+ return Object.prototype.toString.call(o);
178305
+ }
178306
+ function arrayToHash(array) {
178307
+ const hash = {};
178308
+ array.forEach((val) => {
178309
+ hash[val] = true;
178310
+ });
178311
+ return hash;
178312
+ }
178313
+ function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
178314
+ const output = [];
178315
+ for (let i = 0, l = value.length; i < l; ++i) {
178316
+ if (hasOwn(value, String(i))) {
178317
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true));
178318
+ }
178319
+ else {
178320
+ output.push("");
178321
+ }
178322
+ }
178323
+ keys.forEach((key) => {
178324
+ if (!key.match(/^\d+$/)) {
178325
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true));
178326
+ }
178327
+ });
178328
+ return output;
178329
+ }
178330
+ function formatError(value) {
178331
+ return "[" + Error.prototype.toString.call(value) + "]";
178332
+ }
178333
+ function formatValue(ctx, value, recurseTimes = 0) {
178334
+ if (ctx.customInspect &&
178335
+ value != null &&
178336
+ isFunction(value) &&
178337
+ value?.inspect !== inspect &&
178338
+ !(value?.constructor && value?.constructor.prototype === value)) {
178339
+ if (typeof value.inspect !== "function" && value.toString != null) {
178340
+ return value.toString();
178341
+ }
178342
+ let ret = value?.inspect(recurseTimes, ctx);
178343
+ if (!isString(ret)) {
178344
+ ret = formatValue(ctx, ret, recurseTimes);
178345
+ }
178346
+ return ret;
178347
+ }
178348
+ const primitive = formatPrimitive(ctx, value);
178349
+ if (primitive) {
178350
+ return primitive;
178351
+ }
178352
+ let keys = Object.keys(value);
178353
+ const visibleKeys = arrayToHash(keys);
178354
+ try {
178355
+ if (ctx.showHidden && Object.getOwnPropertyNames) {
178356
+ keys = Object.getOwnPropertyNames(value);
178357
+ }
178358
+ }
178359
+ catch {
178360
+ }
178361
+ if (isError(value) && (keys.indexOf("message") >= 0 || keys.indexOf("description") >= 0)) {
178362
+ return formatError(value);
178363
+ }
178364
+ if (keys.length === 0) {
178365
+ if (isFunction(ctx.stylize)) {
178366
+ if (isFunction(value)) {
178367
+ const name = value.name ? ": " + value.name : "";
178368
+ return ctx.stylize("[Function" + name + "]", "special");
178369
+ }
178370
+ if (isRegExp(value)) {
178371
+ return ctx.stylize(RegExp.prototype.toString.call(value), "regexp");
178372
+ }
178373
+ if (isDate(value)) {
178374
+ return ctx.stylize(Date.prototype.toISOString.call(value), "date");
178375
+ }
178376
+ if (isError(value)) {
178377
+ return formatError(value);
178378
+ }
178379
+ }
178380
+ else {
178381
+ return value;
178382
+ }
178383
+ }
178384
+ let base = "";
178385
+ let array = false;
178386
+ let braces = ["{\n", "\n}"];
178387
+ if (Array.isArray(value)) {
178388
+ array = true;
178389
+ braces = ["[\n", "\n]"];
178390
+ }
178391
+ if (isFunction(value)) {
178392
+ const n = value.name ? ": " + value.name : "";
178393
+ base = " [Function" + n + "]";
178394
+ }
178395
+ if (isRegExp(value)) {
178396
+ base = " " + RegExp.prototype.toString.call(value);
178397
+ }
178398
+ if (isDate(value)) {
178399
+ base = " " + Date.prototype.toUTCString.call(value);
178400
+ }
178401
+ if (isError(value)) {
178402
+ base = " " + formatError(value);
178403
+ }
178404
+ if (keys.length === 0 && (!array || value.length == 0)) {
178405
+ return braces[0] + base + braces[1];
178406
+ }
178407
+ if (recurseTimes < 0) {
178408
+ if (isRegExp(value)) {
178409
+ return ctx.stylize(RegExp.prototype.toString.call(value), "regexp");
178410
+ }
178411
+ else {
178412
+ return ctx.stylize("[Object]", "special");
178413
+ }
178414
+ }
178415
+ ctx.seen.push(value);
178416
+ let output;
178417
+ if (array) {
178418
+ output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
178419
+ }
178420
+ else {
178421
+ output = keys.map((key) => {
178422
+ return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
178423
+ });
178424
+ }
178425
+ ctx.seen.pop();
178426
+ return reduceToSingleString(output, base, braces);
178427
+ }
178428
+ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
178429
+ let name, str;
178430
+ let desc = { value: void 0 };
178431
+ try {
178432
+ desc.value = value[key];
178433
+ }
178434
+ catch {
178435
+ }
178436
+ try {
178437
+ if (Object.getOwnPropertyDescriptor) {
178438
+ desc = Object.getOwnPropertyDescriptor(value, key) || desc;
178439
+ }
178440
+ }
178441
+ catch {
178442
+ }
178443
+ if (desc.get) {
178444
+ if (desc.set) {
178445
+ str = ctx.stylize("[Getter/Setter]", "special");
178446
+ }
178447
+ else {
178448
+ str = ctx.stylize("[Getter]", "special");
178449
+ }
178450
+ }
178451
+ else {
178452
+ if (desc.set) {
178453
+ str = ctx.stylize("[Setter]", "special");
178454
+ }
178455
+ }
178456
+ if (!hasOwn(visibleKeys, key)) {
178457
+ name = "[" + key + "]";
178458
+ }
178459
+ if (!str) {
178460
+ if (ctx.seen.indexOf(desc.value) < 0) {
178461
+ if (isNull(recurseTimes)) {
178462
+ str = formatValue(ctx, desc.value, undefined);
178463
+ }
178464
+ else {
178465
+ str = formatValue(ctx, desc.value, recurseTimes - 1);
178466
+ }
178467
+ if (str.indexOf("\n") > -1) {
178468
+ if (array) {
178469
+ str = str
178470
+ .split("\n")
178471
+ .map((line) => {
178472
+ return " " + line;
178473
+ })
178474
+ .join("\n")
178475
+ .substr(2);
178476
+ }
178477
+ else {
178478
+ str =
178479
+ "\n" +
178480
+ str
178481
+ .split("\n")
178482
+ .map((line) => {
178483
+ return " " + line;
178484
+ })
178485
+ .join("\n");
178486
+ }
178487
+ }
178488
+ }
178489
+ else {
178490
+ str = ctx.stylize("[Circular]", "special");
178491
+ }
178492
+ }
178493
+ if (isUndefined(name)) {
178494
+ if (array && key.match(/^\d+$/)) {
178495
+ return str;
178496
+ }
178497
+ name = JSON.stringify("" + key);
178498
+ if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
178499
+ name = name.substr(1, name.length - 2);
178500
+ name = ctx.stylize(name, "name");
178501
+ }
178502
+ else {
178503
+ name = name
178504
+ .replace(/'/g, "\\'")
178505
+ .replace(/\\"/g, "\\'")
178506
+ .replace(/(^"|"$)/g, "'");
178507
+ name = ctx.stylize(name, "string");
178508
+ }
178509
+ }
178510
+ return name + ": " + str;
178511
+ }
178512
+ function formatPrimitive(ctx, value) {
178513
+ if (isUndefined(value))
178514
+ return ctx.stylize("undefined", "undefined");
178515
+ if (isString(value)) {
178516
+ const simple = "'" + JSON.stringify(value).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, "\\'") + "'";
178517
+ return ctx.stylize(simple, "string");
178518
+ }
178519
+ if (isNumber(value))
178520
+ return ctx.stylize("" + value, "number");
178521
+ if (isBoolean(value))
178522
+ return ctx.stylize("" + value, "boolean");
178523
+ if (isNull(value))
178524
+ return ctx.stylize("null", "null");
178525
+ }
178526
+ function reduceToSingleString(output, base, braces) {
178527
+ return braces[0] + (base === "" ? "" : base + "\n") + " " + output.join(",\n ") + " " + braces[1];
178528
+ }
178529
+ function _extend(origin, add) {
178530
+ const typedOrigin = { ...origin };
178531
+ if (!add || !isObject(add))
178532
+ return origin;
178533
+ const clonedAdd = { ...add };
178534
+ const keys = Object.keys(add);
178535
+ let i = keys.length;
178536
+ while (i--) {
178537
+ typedOrigin[keys[i]] = clonedAdd[keys[i]];
178538
+ }
178539
+ return typedOrigin;
178540
+ }
178541
+ function formatWithOptions(inspectOptions, ...args) {
178542
+ const ctx = {
178543
+ seen: [],
178544
+ stylize: stylizeNoColor,
178545
+ };
178546
+ if (inspectOptions != null) {
178547
+ _extend(ctx, inspectOptions);
178548
+ }
178549
+ const first = args[0];
178550
+ let a = 0;
178551
+ let str = "";
178552
+ let join = "";
178553
+ if (typeof first === "string") {
178554
+ if (args.length === 1) {
178555
+ return first;
178556
+ }
178557
+ let tempStr;
178558
+ let lastPos = 0;
178559
+ for (let i = 0; i < first.length - 1; i++) {
178560
+ if (first.charCodeAt(i) === 37) {
178561
+ const nextChar = first.charCodeAt(++i);
178562
+ if (a + 1 !== args.length) {
178563
+ switch (nextChar) {
178564
+ case 115: {
178565
+ const tempArg = args[++a];
178566
+ if (typeof tempArg === "number") {
178567
+ tempStr = formatPrimitive(ctx, tempArg);
178568
+ }
178569
+ else if (typeof tempArg === "bigint") {
178570
+ tempStr = formatPrimitive(ctx, tempArg);
178571
+ }
178572
+ else if (typeof tempArg !== "object" || tempArg === null) {
178573
+ tempStr = String(tempArg);
178574
+ }
178575
+ else {
178576
+ tempStr = inspect(tempArg, {
178577
+ ...inspectOptions,
178578
+ compact: 3,
178579
+ colors: false,
178580
+ depth: 0,
178581
+ });
178582
+ }
178583
+ break;
178584
+ }
178585
+ case 106:
178586
+ tempStr = (0, jsonStringifyRecursive_js_1.jsonStringifyRecursive)(args[++a]);
178587
+ break;
178588
+ case 100: {
178589
+ const tempNum = args[++a];
178590
+ if (typeof tempNum === "bigint") {
178591
+ tempStr = formatPrimitive(ctx, tempNum);
178592
+ }
178593
+ else if (typeof tempNum === "symbol") {
178594
+ tempStr = "NaN";
178595
+ }
178596
+ else {
178597
+ tempStr = formatPrimitive(ctx, tempNum);
178598
+ }
178599
+ break;
178600
+ }
178601
+ case 79:
178602
+ tempStr = inspect(args[++a], inspectOptions);
178603
+ break;
178604
+ case 111:
178605
+ tempStr = inspect(args[++a], {
178606
+ ...inspectOptions,
178607
+ showHidden: true,
178608
+ showProxy: true,
178609
+ depth: 4,
178610
+ });
178611
+ break;
178612
+ case 105: {
178613
+ const tempInteger = args[++a];
178614
+ if (typeof tempInteger === "bigint") {
178615
+ tempStr = formatPrimitive(ctx, tempInteger);
178616
+ }
178617
+ else if (typeof tempInteger === "symbol") {
178618
+ tempStr = "NaN";
178619
+ }
178620
+ else {
178621
+ tempStr = formatPrimitive(ctx, parseInt(tempStr));
178622
+ }
178623
+ break;
178624
+ }
178625
+ case 102: {
178626
+ const tempFloat = args[++a];
178627
+ if (typeof tempFloat === "symbol") {
178628
+ tempStr = "NaN";
178629
+ }
178630
+ else {
178631
+ tempStr = formatPrimitive(ctx, parseInt(tempFloat));
178632
+ }
178633
+ break;
178634
+ }
178635
+ case 99:
178636
+ a += 1;
178637
+ tempStr = "";
178638
+ break;
178639
+ case 37:
178640
+ str += first.slice(lastPos, i);
178641
+ lastPos = i + 1;
178642
+ continue;
178643
+ default:
178644
+ continue;
178645
+ }
178646
+ if (lastPos !== i - 1) {
178647
+ str += first.slice(lastPos, i - 1);
178648
+ }
178649
+ str += tempStr;
178650
+ lastPos = i + 1;
178651
+ }
178652
+ else if (nextChar === 37) {
178653
+ str += first.slice(lastPos, i);
178654
+ lastPos = i + 1;
178655
+ }
178656
+ }
178657
+ }
178658
+ if (lastPos !== 0) {
178659
+ a++;
178660
+ join = " ";
178661
+ if (lastPos < first.length) {
178662
+ str += first.slice(lastPos);
178663
+ }
178664
+ }
178665
+ }
178666
+ while (a < args.length) {
178667
+ const value = args[a];
178668
+ str += join;
178669
+ str += typeof value !== "string" ? inspect(value, inspectOptions) : value;
178670
+ join = " ";
178671
+ a++;
178672
+ }
178673
+ return str;
178674
+ }
178675
+
178676
+
178677
+ /***/ }),
178678
+
178679
+ /***/ "../../node_modules/tslog/cjs/prettyLogStyles.js":
178680
+ /*!*******************************************************!*\
178681
+ !*** ../../node_modules/tslog/cjs/prettyLogStyles.js ***!
178682
+ \*******************************************************/
178683
+ /***/ ((__unused_webpack_module, exports) => {
178684
+
178685
+ "use strict";
178686
+
178687
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
178688
+ exports.prettyLogStyles = void 0;
178689
+ exports.prettyLogStyles = {
178690
+ reset: [0, 0],
178691
+ bold: [1, 22],
178692
+ dim: [2, 22],
178693
+ italic: [3, 23],
178694
+ underline: [4, 24],
178695
+ overline: [53, 55],
178696
+ inverse: [7, 27],
178697
+ hidden: [8, 28],
178698
+ strikethrough: [9, 29],
178699
+ black: [30, 39],
178700
+ red: [31, 39],
178701
+ green: [32, 39],
178702
+ yellow: [33, 39],
178703
+ blue: [34, 39],
178704
+ magenta: [35, 39],
178705
+ cyan: [36, 39],
178706
+ white: [37, 39],
178707
+ blackBright: [90, 39],
178708
+ redBright: [91, 39],
178709
+ greenBright: [92, 39],
178710
+ yellowBright: [93, 39],
178711
+ blueBright: [94, 39],
178712
+ magentaBright: [95, 39],
178713
+ cyanBright: [96, 39],
178714
+ whiteBright: [97, 39],
178715
+ bgBlack: [40, 49],
178716
+ bgRed: [41, 49],
178717
+ bgGreen: [42, 49],
178718
+ bgYellow: [43, 49],
178719
+ bgBlue: [44, 49],
178720
+ bgMagenta: [45, 49],
178721
+ bgCyan: [46, 49],
178722
+ bgWhite: [47, 49],
178723
+ bgBlackBright: [100, 49],
178724
+ bgRedBright: [101, 49],
178725
+ bgGreenBright: [102, 49],
178726
+ bgYellowBright: [103, 49],
178727
+ bgBlueBright: [104, 49],
178728
+ bgMagentaBright: [105, 49],
178729
+ bgCyanBright: [106, 49],
178730
+ bgWhiteBright: [107, 49],
178731
+ };
178732
+
178733
+
178734
+ /***/ }),
178735
+
178736
+ /***/ "../../node_modules/tslog/cjs/urlToObj.js":
178737
+ /*!************************************************!*\
178738
+ !*** ../../node_modules/tslog/cjs/urlToObj.js ***!
178739
+ \************************************************/
178740
+ /***/ ((__unused_webpack_module, exports) => {
178741
+
178742
+ "use strict";
178743
+
178744
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
178745
+ exports.urlToObject = urlToObject;
178746
+ function urlToObject(url) {
178747
+ return {
178748
+ href: url.href,
178749
+ protocol: url.protocol,
178750
+ username: url.username,
178751
+ password: url.password,
178752
+ host: url.host,
178753
+ hostname: url.hostname,
178754
+ port: url.port,
178755
+ pathname: url.pathname,
178756
+ search: url.search,
178757
+ searchParams: [...url.searchParams].map(([key, value]) => ({ key, value })),
178758
+ hash: url.hash,
178759
+ origin: url.origin,
178760
+ };
178761
+ }
178762
+
178763
+
177618
178764
  /***/ }),
177619
178765
 
177620
178766
  /***/ "../../node_modules/twgl.js/dist/4.x/twgl-full.module.js":
@@ -190504,9 +191650,11 @@ module.exports = transformStrokeWidths;
190504
191650
  \***********************************************/
190505
191651
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
190506
191652
 
190507
- var minilog = __webpack_require__(/*! minilog */ "../../node_modules/minilog/lib/index.js");
190508
- minilog.enable();
190509
- module.exports = minilog('scratch-svg-render');
191653
+ var _require = __webpack_require__(/*! tslog */ "../../node_modules/tslog/cjs/index.js"),
191654
+ Logger = _require.Logger;
191655
+ module.exports = new Logger({
191656
+ name: 'scratch-svg-renderer'
191657
+ });
190510
191658
 
190511
191659
  /***/ }),
190512
191660
 
@@ -195997,9 +197145,11 @@ module.exports = {
195997
197145
  \*************************/
195998
197146
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
195999
197147
 
196000
- var minilog = __webpack_require__(/*! minilog */ "../../node_modules/minilog/lib/index.js");
196001
- minilog.enable();
196002
- module.exports = minilog('scratch-render');
197148
+ var _require = __webpack_require__(/*! tslog */ "../../node_modules/tslog/cjs/index.js"),
197149
+ Logger = _require.Logger;
197150
+ module.exports = new Logger({
197151
+ name: 'scratch-render'
197152
+ });
196003
197153
 
196004
197154
  /***/ }),
196005
197155