@kg-ui/kg-ui-plus 0.1.30 → 0.1.32

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.
Files changed (127) hide show
  1. package/dist/es/KgCopilot/CopiCanvas/FilePreview.vue.mjs +7 -0
  2. package/dist/es/KgCopilot/CopiCanvas/FilePreview.vue2.mjs +81 -0
  3. package/dist/es/KgCopilot/CopiCanvas/FilePreview.vue3.mjs +4 -0
  4. package/dist/es/KgCopilot/CopiCanvas/FileSkeletion.vue.mjs +96 -0
  5. package/dist/es/KgCopilot/CopiCanvas/FileSkeletion.vue2.mjs +4 -0
  6. package/dist/es/KgCopilot/CopiCanvas/InitWrap.vue.mjs +7 -0
  7. package/dist/es/KgCopilot/CopiCanvas/InitWrap.vue2.mjs +41 -0
  8. package/dist/es/KgCopilot/CopiCanvas/InitWrap.vue3.mjs +4 -0
  9. package/dist/es/KgCopilot/CopiCanvas/index.vue.mjs +7 -0
  10. package/dist/es/KgCopilot/CopiCanvas/index.vue2.mjs +52 -0
  11. package/dist/es/KgCopilot/CopiCanvas/index.vue3.mjs +4 -0
  12. package/dist/es/KgCopilot/CopiFooter/SearchInput/InputFootTool.vue.mjs +7 -0
  13. package/dist/es/KgCopilot/CopiFooter/SearchInput/InputFootTool.vue2.mjs +61 -0
  14. package/dist/es/KgCopilot/CopiFooter/SearchInput/InputFootTool.vue3.mjs +4 -0
  15. package/dist/es/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue2.mjs +1 -1
  16. package/dist/es/KgCopilot/CopiFooter/SearchInput/index.vue.mjs +1 -1
  17. package/dist/es/KgCopilot/CopiFooter/SearchInput/index.vue2.mjs +34 -22
  18. package/dist/es/KgCopilot/CopiFooter/SearchInput/index.vue3.mjs +2 -2
  19. package/dist/es/KgCopilot/CopiFooter/index.vue.mjs +1 -1
  20. package/dist/es/KgCopilot/CopiFooter/index.vue3.mjs +2 -2
  21. package/dist/es/KgCopilot/dialogue/SuggestMessage.vue.mjs +7 -0
  22. package/dist/es/KgCopilot/dialogue/SuggestMessage.vue2.mjs +50 -0
  23. package/dist/es/KgCopilot/dialogue/SuggestMessage.vue3.mjs +4 -0
  24. package/dist/es/KgCopilot/dialogue/index.vue.mjs +1 -1
  25. package/dist/es/KgCopilot/dialogue/index.vue2.mjs +10 -4
  26. package/dist/es/KgCopilot/dialogue/index.vue3.mjs +2 -2
  27. package/dist/es/KgCopilot/dialogue/messageParse/fileBox.vue.mjs +19 -5
  28. package/dist/es/KgCopilot/dialogue/messageParse/fileBox.vue2.mjs +2 -2
  29. package/dist/es/KgCopilot/dialogue/messageParse/readMd.vue2.mjs +1 -1
  30. package/dist/es/KgCopilot/historyRecord/index.vue.mjs +1 -1
  31. package/dist/es/KgCopilot/historyRecord/index.vue2.mjs +6 -6
  32. package/dist/es/KgCopilot/historyRecord/index.vue3.mjs +2 -2
  33. package/dist/es/KgCopilot/index.vue.mjs +1 -1
  34. package/dist/es/KgCopilot/index.vue2.mjs +62 -39
  35. package/dist/es/KgCopilot/index.vue3.mjs +2 -2
  36. package/dist/es/_virtual/_commonjs-dynamic-modules.mjs +6 -0
  37. package/dist/es/_virtual/jszip.min.mjs +13 -0
  38. package/dist/es/api/copilot.mjs +8 -0
  39. package/dist/es/assets/empty.png.mjs +4 -0
  40. package/dist/es/directives/heighlight/index.mjs +27 -27
  41. package/dist/es/home/LFilter/FilterHead.vue.mjs +1 -1
  42. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.12/node_modules/@iconify-icons/ep/folder-opened.mjs +8 -0
  43. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.12/node_modules/@iconify-icons/ep/notebook.mjs +8 -0
  44. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.12/node_modules/@iconify-icons/ep/reading.mjs +8 -0
  45. package/dist/es/node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.2.45/node_modules/@vueuse/core/index.mjs +8 -1
  46. package/dist/es/node_modules/.pnpm/@vueuse_shared@9.13.0_vue@3.2.45/node_modules/@vueuse/shared/index.mjs +115 -2
  47. package/dist/es/node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.mjs +12 -0
  48. package/dist/es/node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.mjs +12 -0
  49. package/dist/es/node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.mjs +4 -0
  50. package/dist/es/node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.mjs +17 -0
  51. package/dist/es/node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.mjs +4 -0
  52. package/dist/es/node_modules/.pnpm/call-bound@1.0.3/node_modules/call-bound/index.mjs +18 -0
  53. package/dist/es/node_modules/.pnpm/docx-preview@0.3.3/node_modules/docx-preview/dist/docx-preview.mjs +3877 -0
  54. package/dist/es/node_modules/.pnpm/{dompurify@3.1.5 → dompurify@3.2.3}/node_modules/dompurify/dist/purify.es.mjs +78 -87
  55. package/dist/es/node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.mjs +37 -0
  56. package/dist/es/node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.mjs +12 -0
  57. package/dist/es/node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.mjs +4 -0
  58. package/dist/es/node_modules/.pnpm/{get-intrinsic@1.2.4 → get-intrinsic@1.2.6}/node_modules/get-intrinsic/index.mjs +43 -24
  59. package/dist/es/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.mjs +4 -0
  60. package/dist/es/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.mjs +13 -0
  61. package/dist/es/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.mjs +29 -0
  62. package/dist/es/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.mjs +59 -0
  63. package/dist/es/node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.mjs +13 -5
  64. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/apache.mjs +4 -0
  65. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/bash.mjs +20 -2
  66. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/basic.mjs +7 -1
  67. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/c.mjs +19 -4
  68. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/css.mjs +214 -8
  69. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/dart.mjs +10 -2
  70. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/erlang.mjs +48 -6
  71. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/go.mjs +23 -3
  72. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/java.mjs +3 -1
  73. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/javascript.mjs +15 -11
  74. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/json.mjs +1 -0
  75. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/markdown.mjs +7 -1
  76. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/php.mjs +16 -2
  77. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/python.mjs +3 -1
  78. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/ruby.mjs +1 -1
  79. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/stylus.mjs +214 -8
  80. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/swift.mjs +60 -14
  81. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/typescript.mjs +45 -18
  82. package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/lib/core.mjs +8 -8
  83. package/dist/es/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.mjs +2649 -0
  84. package/dist/es/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.mjs +4 -0
  85. package/dist/es/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.mjs +4 -0
  86. package/dist/es/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.mjs +4 -0
  87. package/dist/es/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.mjs +4 -0
  88. package/dist/es/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.mjs +4 -0
  89. package/dist/es/node_modules/.pnpm/{object-inspect@1.13.1 → object-inspect@1.13.3}/node_modules/object-inspect/index.mjs +17 -4
  90. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/stringify.mjs +1 -1
  91. package/dist/es/node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.mjs +92 -0
  92. package/dist/es/node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.mjs +56 -0
  93. package/dist/es/node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.mjs +74 -0
  94. package/dist/es/node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.mjs +40 -0
  95. package/dist/es/store/modules/copilot.mjs +68 -8
  96. package/dist/es/style.css +1 -1
  97. package/dist/es/utils/http/index.mjs +1 -1
  98. package/package.json +3 -2
  99. package/dist/es/_virtual/index.mjs +0 -13
  100. package/dist/es/node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/callBound.mjs +0 -16
  101. package/dist/es/node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.mjs +0 -36
  102. package/dist/es/node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.mjs +0 -48
  103. package/dist/es/node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.mjs +0 -22
  104. package/dist/es/node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.mjs +0 -14
  105. package/dist/es/node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.mjs +0 -19
  106. package/dist/es/node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.mjs +0 -11
  107. package/dist/es/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.mjs +0 -21
  108. package/dist/es/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.mjs +0 -48
  109. package/dist/es/node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.mjs +0 -54
  110. package/dist/es/node_modules/.pnpm/side-channel@1.0.6/node_modules/side-channel/index.mjs +0 -115
  111. /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.7 → @iconify-icons_ep@1.2.12}/node_modules/@iconify-icons/ep/arrow-left.mjs +0 -0
  112. /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.7 → @iconify-icons_ep@1.2.12}/node_modules/@iconify-icons/ep/arrow-right.mjs +0 -0
  113. /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.7 → @iconify-icons_ep@1.2.12}/node_modules/@iconify-icons/ep/check.mjs +0 -0
  114. /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.7 → @iconify-icons_ep@1.2.12}/node_modules/@iconify-icons/ep/close.mjs +0 -0
  115. /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.7 → @iconify-icons_ep@1.2.12}/node_modules/@iconify-icons/ep/delete.mjs +0 -0
  116. /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.7 → @iconify-icons_ep@1.2.12}/node_modules/@iconify-icons/ep/edit.mjs +0 -0
  117. /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.7 → @iconify-icons_ep@1.2.12}/node_modules/@iconify-icons/ep/promotion.mjs +0 -0
  118. /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.7 → @iconify-icons_ep@1.2.12}/node_modules/@iconify-icons/ep/search.mjs +0 -0
  119. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/core.mjs +0 -0
  120. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/django.mjs +0 -0
  121. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/dns.mjs +0 -0
  122. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/dos.mjs +0 -0
  123. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/dust.mjs +0 -0
  124. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/http.mjs +0 -0
  125. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/nginx.mjs +0 -0
  126. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/es/languages/xml.mjs +0 -0
  127. /package/dist/es/node_modules/.pnpm/{highlight.js@11.9.0 → highlight.js@11.11.1}/node_modules/highlight.js/styles/sunburst.css.mjs +0 -0
@@ -1,4 +1,4 @@
1
- /*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
1
+ /*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */
2
2
  const {
3
3
  entries,
4
4
  setPrototypeOf,
@@ -135,13 +135,13 @@ const mathMl$1 = freeze(["math", "menclose", "merror", "mfenced", "mfrac", "mgly
135
135
  const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
136
136
  const text = freeze(["#text"]);
137
137
  const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
138
- const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
138
+ const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
139
139
  const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
140
140
  const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
141
141
  const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
142
142
  const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
143
- const TMPLIT_EXPR = seal(/\${[\w\W]*}/gm);
144
- const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/);
143
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*}/gm);
144
+ const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
145
145
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
146
146
  const IS_ALLOWED_URI = seal(
147
147
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
@@ -156,16 +156,16 @@ const DOCTYPE_NAME = seal(/^html$/i);
156
156
  const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
157
157
  var EXPRESSIONS = /* @__PURE__ */ Object.freeze({
158
158
  __proto__: null,
159
- MUSTACHE_EXPR,
160
- ERB_EXPR,
161
- TMPLIT_EXPR,
162
- DATA_ATTR,
163
159
  ARIA_ATTR,
164
- IS_ALLOWED_URI,
165
- IS_SCRIPT_OR_DATA,
166
160
  ATTR_WHITESPACE,
161
+ CUSTOM_ELEMENT,
162
+ DATA_ATTR,
167
163
  DOCTYPE_NAME,
168
- CUSTOM_ELEMENT
164
+ ERB_EXPR,
165
+ IS_ALLOWED_URI,
166
+ IS_SCRIPT_OR_DATA,
167
+ MUSTACHE_EXPR,
168
+ TMPLIT_EXPR
169
169
  });
170
170
  const NODE_TYPE = {
171
171
  element: 1,
@@ -211,10 +211,23 @@ const _createTrustedTypesPolicy = function _createTrustedTypesPolicy2(trustedTyp
211
211
  return null;
212
212
  }
213
213
  };
214
+ const _createHooksMap = function _createHooksMap2() {
215
+ return {
216
+ afterSanitizeAttributes: [],
217
+ afterSanitizeElements: [],
218
+ afterSanitizeShadowDOM: [],
219
+ beforeSanitizeAttributes: [],
220
+ beforeSanitizeElements: [],
221
+ beforeSanitizeShadowDOM: [],
222
+ uponSanitizeAttribute: [],
223
+ uponSanitizeElement: [],
224
+ uponSanitizeShadowNode: []
225
+ };
226
+ };
214
227
  function createDOMPurify() {
215
228
  let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
216
229
  const DOMPurify = (root) => createDOMPurify(root);
217
- DOMPurify.version = "3.1.5";
230
+ DOMPurify.version = "3.2.3";
218
231
  DOMPurify.removed = [];
219
232
  if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document) {
220
233
  DOMPurify.isSupported = false;
@@ -238,6 +251,7 @@ function createDOMPurify() {
238
251
  } = window2;
239
252
  const ElementPrototype = Element.prototype;
240
253
  const cloneNode = lookupGetter(ElementPrototype, "cloneNode");
254
+ const remove = lookupGetter(ElementPrototype, "remove");
241
255
  const getNextSibling = lookupGetter(ElementPrototype, "nextSibling");
242
256
  const getChildNodes = lookupGetter(ElementPrototype, "childNodes");
243
257
  const getParentNode = lookupGetter(ElementPrototype, "parentNode");
@@ -258,7 +272,7 @@ function createDOMPurify() {
258
272
  const {
259
273
  importNode
260
274
  } = originalDocument;
261
- let hooks = {};
275
+ let hooks = _createHooksMap();
262
276
  DOMPurify.isSupported = typeof entries === "function" && typeof getParentNode === "function" && implementation && implementation.createHTMLDocument !== void 0;
263
277
  const {
264
278
  MUSTACHE_EXPR: MUSTACHE_EXPR2,
@@ -330,6 +344,9 @@ function createDOMPurify() {
330
344
  let IS_EMPTY_INPUT = false;
331
345
  let ALLOWED_NAMESPACES = null;
332
346
  const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
347
+ let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]);
348
+ let HTML_INTEGRATION_POINTS = addToSet({}, ["annotation-xml"]);
349
+ const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ["title", "style", "font", "a", "script"]);
333
350
  let PARSER_MEDIA_TYPE = null;
334
351
  const SUPPORTED_PARSER_MEDIA_TYPES = ["application/xhtml+xml", "text/html"];
335
352
  const DEFAULT_PARSER_MEDIA_TYPE = "text/html";
@@ -354,22 +371,8 @@ function createDOMPurify() {
354
371
  ALLOWED_TAGS = objectHasOwnProperty(cfg, "ALLOWED_TAGS") ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
355
372
  ALLOWED_ATTR = objectHasOwnProperty(cfg, "ALLOWED_ATTR") ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
356
373
  ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, "ALLOWED_NAMESPACES") ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
357
- URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, "ADD_URI_SAFE_ATTR") ? addToSet(
358
- clone(DEFAULT_URI_SAFE_ATTRIBUTES),
359
- // eslint-disable-line indent
360
- cfg.ADD_URI_SAFE_ATTR,
361
- // eslint-disable-line indent
362
- transformCaseFunc
363
- // eslint-disable-line indent
364
- ) : DEFAULT_URI_SAFE_ATTRIBUTES;
365
- DATA_URI_TAGS = objectHasOwnProperty(cfg, "ADD_DATA_URI_TAGS") ? addToSet(
366
- clone(DEFAULT_DATA_URI_TAGS),
367
- // eslint-disable-line indent
368
- cfg.ADD_DATA_URI_TAGS,
369
- // eslint-disable-line indent
370
- transformCaseFunc
371
- // eslint-disable-line indent
372
- ) : DEFAULT_DATA_URI_TAGS;
374
+ URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, "ADD_URI_SAFE_ATTR") ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
375
+ DATA_URI_TAGS = objectHasOwnProperty(cfg, "ADD_DATA_URI_TAGS") ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
373
376
  FORBID_CONTENTS = objectHasOwnProperty(cfg, "FORBID_CONTENTS") ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
374
377
  FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
375
378
  FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
@@ -391,6 +394,8 @@ function createDOMPurify() {
391
394
  IN_PLACE = cfg.IN_PLACE || false;
392
395
  IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;
393
396
  NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
397
+ MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
398
+ HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
394
399
  CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};
395
400
  if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
396
401
  CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
@@ -483,9 +488,6 @@ function createDOMPurify() {
483
488
  }
484
489
  CONFIG = cfg;
485
490
  };
486
- const MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]);
487
- const HTML_INTEGRATION_POINTS = addToSet({}, ["foreignobject", "annotation-xml"]);
488
- const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ["title", "style", "font", "a", "script"]);
489
491
  const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);
490
492
  const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);
491
493
  const _checkValidNamespace = function _checkValidNamespace2(element) {
@@ -538,33 +540,33 @@ function createDOMPurify() {
538
540
  element: node
539
541
  });
540
542
  try {
541
- node.parentNode.removeChild(node);
543
+ getParentNode(node).removeChild(node);
542
544
  } catch (_) {
543
- node.remove();
545
+ remove(node);
544
546
  }
545
547
  };
546
- const _removeAttribute = function _removeAttribute2(name, node) {
548
+ const _removeAttribute = function _removeAttribute2(name, element) {
547
549
  try {
548
550
  arrayPush(DOMPurify.removed, {
549
- attribute: node.getAttributeNode(name),
550
- from: node
551
+ attribute: element.getAttributeNode(name),
552
+ from: element
551
553
  });
552
554
  } catch (_) {
553
555
  arrayPush(DOMPurify.removed, {
554
556
  attribute: null,
555
- from: node
557
+ from: element
556
558
  });
557
559
  }
558
- node.removeAttribute(name);
559
- if (name === "is" && !ALLOWED_ATTR[name]) {
560
+ element.removeAttribute(name);
561
+ if (name === "is") {
560
562
  if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
561
563
  try {
562
- _forceRemove(node);
564
+ _forceRemove(element);
563
565
  } catch (_) {
564
566
  }
565
567
  } else {
566
568
  try {
567
- node.setAttribute(name, "");
569
+ element.setAttribute(name, "");
568
570
  } catch (_) {
569
571
  }
570
572
  }
@@ -614,29 +616,26 @@ function createDOMPurify() {
614
616
  null
615
617
  );
616
618
  };
617
- const _isClobbered = function _isClobbered2(elm) {
618
- return elm instanceof HTMLFormElement && (typeof elm.nodeName !== "string" || typeof elm.textContent !== "string" || typeof elm.removeChild !== "function" || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== "function" || typeof elm.setAttribute !== "function" || typeof elm.namespaceURI !== "string" || typeof elm.insertBefore !== "function" || typeof elm.hasChildNodes !== "function");
619
+ const _isClobbered = function _isClobbered2(element) {
620
+ return element instanceof HTMLFormElement && (typeof element.nodeName !== "string" || typeof element.textContent !== "string" || typeof element.removeChild !== "function" || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== "function" || typeof element.setAttribute !== "function" || typeof element.namespaceURI !== "string" || typeof element.insertBefore !== "function" || typeof element.hasChildNodes !== "function");
619
621
  };
620
- const _isNode = function _isNode2(object) {
621
- return typeof Node === "function" && object instanceof Node;
622
+ const _isNode = function _isNode2(value) {
623
+ return typeof Node === "function" && value instanceof Node;
622
624
  };
623
- const _executeHook = function _executeHook2(entryPoint, currentNode, data) {
624
- if (!hooks[entryPoint]) {
625
- return;
626
- }
627
- arrayForEach(hooks[entryPoint], (hook) => {
625
+ function _executeHooks(hooks2, currentNode, data) {
626
+ arrayForEach(hooks2, (hook) => {
628
627
  hook.call(DOMPurify, currentNode, data, CONFIG);
629
628
  });
630
- };
629
+ }
631
630
  const _sanitizeElements = function _sanitizeElements2(currentNode) {
632
631
  let content = null;
633
- _executeHook("beforeSanitizeElements", currentNode, null);
632
+ _executeHooks(hooks.beforeSanitizeElements, currentNode, null);
634
633
  if (_isClobbered(currentNode)) {
635
634
  _forceRemove(currentNode);
636
635
  return true;
637
636
  }
638
637
  const tagName = transformCaseFunc(currentNode.nodeName);
639
- _executeHook("uponSanitizeElement", currentNode, {
638
+ _executeHooks(hooks.uponSanitizeElement, currentNode, {
640
639
  tagName,
641
640
  allowedTags: ALLOWED_TAGS
642
641
  });
@@ -696,7 +695,7 @@ function createDOMPurify() {
696
695
  currentNode.textContent = content;
697
696
  }
698
697
  }
699
- _executeHook("afterSanitizeElements", currentNode, null);
698
+ _executeHooks(hooks.afterSanitizeElements, currentNode, null);
700
699
  return false;
701
700
  };
702
701
  const _isValidAttribute = function _isValidAttribute2(lcTag, lcName, value) {
@@ -738,18 +737,19 @@ function createDOMPurify() {
738
737
  return tagName !== "annotation-xml" && stringMatch(tagName, CUSTOM_ELEMENT2);
739
738
  };
740
739
  const _sanitizeAttributes = function _sanitizeAttributes2(currentNode) {
741
- _executeHook("beforeSanitizeAttributes", currentNode, null);
740
+ _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
742
741
  const {
743
742
  attributes
744
743
  } = currentNode;
745
- if (!attributes) {
744
+ if (!attributes || _isClobbered(currentNode)) {
746
745
  return;
747
746
  }
748
747
  const hookEvent = {
749
748
  attrName: "",
750
749
  attrValue: "",
751
750
  keepAttr: true,
752
- allowedAttributes: ALLOWED_ATTR
751
+ allowedAttributes: ALLOWED_ATTR,
752
+ forceKeepAttr: void 0
753
753
  };
754
754
  let l = attributes.length;
755
755
  while (l--) {
@@ -765,8 +765,16 @@ function createDOMPurify() {
765
765
  hookEvent.attrValue = value;
766
766
  hookEvent.keepAttr = true;
767
767
  hookEvent.forceKeepAttr = void 0;
768
- _executeHook("uponSanitizeAttribute", currentNode, hookEvent);
768
+ _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);
769
769
  value = hookEvent.attrValue;
770
+ if (SANITIZE_NAMED_PROPS && (lcName === "id" || lcName === "name")) {
771
+ _removeAttribute(name, currentNode);
772
+ value = SANITIZE_NAMED_PROPS_PREFIX + value;
773
+ }
774
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
775
+ _removeAttribute(name, currentNode);
776
+ continue;
777
+ }
770
778
  if (hookEvent.forceKeepAttr) {
771
779
  continue;
772
780
  }
@@ -778,10 +786,6 @@ function createDOMPurify() {
778
786
  _removeAttribute(name, currentNode);
779
787
  continue;
780
788
  }
781
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
782
- _removeAttribute(name, currentNode);
783
- continue;
784
- }
785
789
  if (SAFE_FOR_TEMPLATES) {
786
790
  arrayForEach([MUSTACHE_EXPR2, ERB_EXPR2, TMPLIT_EXPR2], (expr) => {
787
791
  value = stringReplace(value, expr, " ");
@@ -791,10 +795,6 @@ function createDOMPurify() {
791
795
  if (!_isValidAttribute(lcTag, lcName, value)) {
792
796
  continue;
793
797
  }
794
- if (SANITIZE_NAMED_PROPS && (lcName === "id" || lcName === "name")) {
795
- _removeAttribute(name, currentNode);
796
- value = SANITIZE_NAMED_PROPS_PREFIX + value;
797
- }
798
798
  if (trustedTypesPolicy && typeof trustedTypes === "object" && typeof trustedTypes.getAttributeType === "function") {
799
799
  if (namespaceURI)
800
800
  ;
@@ -825,23 +825,21 @@ function createDOMPurify() {
825
825
  } catch (_) {
826
826
  }
827
827
  }
828
- _executeHook("afterSanitizeAttributes", currentNode, null);
828
+ _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
829
829
  };
830
830
  const _sanitizeShadowDOM = function _sanitizeShadowDOM2(fragment) {
831
831
  let shadowNode = null;
832
832
  const shadowIterator = _createNodeIterator(fragment);
833
- _executeHook("beforeSanitizeShadowDOM", fragment, null);
833
+ _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);
834
834
  while (shadowNode = shadowIterator.nextNode()) {
835
- _executeHook("uponSanitizeShadowNode", shadowNode, null);
836
- if (_sanitizeElements(shadowNode)) {
837
- continue;
838
- }
835
+ _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
836
+ _sanitizeElements(shadowNode);
837
+ _sanitizeAttributes(shadowNode);
839
838
  if (shadowNode.content instanceof DocumentFragment) {
840
839
  _sanitizeShadowDOM2(shadowNode.content);
841
840
  }
842
- _sanitizeAttributes(shadowNode);
843
841
  }
844
- _executeHook("afterSanitizeShadowDOM", fragment, null);
842
+ _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
845
843
  };
846
844
  DOMPurify.sanitize = function(dirty) {
847
845
  let cfg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -905,13 +903,11 @@ function createDOMPurify() {
905
903
  }
906
904
  const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
907
905
  while (currentNode = nodeIterator.nextNode()) {
908
- if (_sanitizeElements(currentNode)) {
909
- continue;
910
- }
906
+ _sanitizeElements(currentNode);
907
+ _sanitizeAttributes(currentNode);
911
908
  if (currentNode.content instanceof DocumentFragment) {
912
909
  _sanitizeShadowDOM(currentNode.content);
913
910
  }
914
- _sanitizeAttributes(currentNode);
915
911
  }
916
912
  if (IN_PLACE) {
917
913
  return dirty;
@@ -962,21 +958,16 @@ function createDOMPurify() {
962
958
  if (typeof hookFunction !== "function") {
963
959
  return;
964
960
  }
965
- hooks[entryPoint] = hooks[entryPoint] || [];
966
961
  arrayPush(hooks[entryPoint], hookFunction);
967
962
  };
968
963
  DOMPurify.removeHook = function(entryPoint) {
969
- if (hooks[entryPoint]) {
970
- return arrayPop(hooks[entryPoint]);
971
- }
964
+ return arrayPop(hooks[entryPoint]);
972
965
  };
973
966
  DOMPurify.removeHooks = function(entryPoint) {
974
- if (hooks[entryPoint]) {
975
- hooks[entryPoint] = [];
976
- }
967
+ hooks[entryPoint] = [];
977
968
  };
978
969
  DOMPurify.removeAllHooks = function() {
979
- hooks = {};
970
+ hooks = _createHooksMap();
980
971
  };
981
972
  return DOMPurify;
982
973
  }
@@ -0,0 +1,37 @@
1
+ import callBindApplyHelpers from "../../../call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.mjs";
2
+ import gopd from "../../../gopd@1.2.0/node_modules/gopd/index.mjs";
3
+ var get;
4
+ var hasRequiredGet;
5
+ function requireGet() {
6
+ if (hasRequiredGet)
7
+ return get;
8
+ hasRequiredGet = 1;
9
+ var callBind = callBindApplyHelpers;
10
+ var gOPD = gopd;
11
+ var hasProtoAccessor;
12
+ try {
13
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
14
+ [].__proto__ === Array.prototype;
15
+ } catch (e) {
16
+ if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
17
+ throw e;
18
+ }
19
+ }
20
+ var desc = !!hasProtoAccessor && gOPD && gOPD(
21
+ Object.prototype,
22
+ /** @type {keyof typeof Object.prototype} */
23
+ "__proto__"
24
+ );
25
+ var $Object = Object;
26
+ var $getPrototypeOf = $Object.getPrototypeOf;
27
+ get = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
28
+ /** @type {import('./get')} */
29
+ function getDunder(value) {
30
+ return $getPrototypeOf(value == null ? value : $Object(value));
31
+ }
32
+ ) : false;
33
+ return get;
34
+ }
35
+ export {
36
+ requireGet as __require
37
+ };
@@ -0,0 +1,12 @@
1
+ var $defineProperty = Object.defineProperty || false;
2
+ if ($defineProperty) {
3
+ try {
4
+ $defineProperty({}, "a", { value: 1 });
5
+ } catch (e) {
6
+ $defineProperty = false;
7
+ }
8
+ }
9
+ var esDefineProperty = $defineProperty;
10
+ export {
11
+ esDefineProperty as default
12
+ };
@@ -0,0 +1,4 @@
1
+ var esObjectAtoms = Object;
2
+ export {
3
+ esObjectAtoms as default
4
+ };
@@ -1,3 +1,4 @@
1
+ import esObjectAtoms from "../../../es-object-atoms@1.0.0/node_modules/es-object-atoms/index.mjs";
1
2
  import esErrors from "../../../es-errors@1.3.0/node_modules/es-errors/index.mjs";
2
3
  import _eval from "../../../es-errors@1.3.0/node_modules/es-errors/eval.mjs";
3
4
  import range from "../../../es-errors@1.3.0/node_modules/es-errors/range.mjs";
@@ -5,11 +6,21 @@ import ref from "../../../es-errors@1.3.0/node_modules/es-errors/ref.mjs";
5
6
  import syntax from "../../../es-errors@1.3.0/node_modules/es-errors/syntax.mjs";
6
7
  import type from "../../../es-errors@1.3.0/node_modules/es-errors/type.mjs";
7
8
  import uri from "../../../es-errors@1.3.0/node_modules/es-errors/uri.mjs";
8
- import hasSymbols$1 from "../../../has-symbols@1.0.3/node_modules/has-symbols/index.mjs";
9
- import hasProto$1 from "../../../has-proto@1.0.3/node_modules/has-proto/index.mjs";
9
+ import abs$1 from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.mjs";
10
+ import floor$1 from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.mjs";
11
+ import max$1 from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/max.mjs";
12
+ import min$1 from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/min.mjs";
13
+ import pow$1 from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.mjs";
14
+ import gopd from "../../../gopd@1.2.0/node_modules/gopd/index.mjs";
15
+ import esDefineProperty from "../../../es-define-property@1.0.1/node_modules/es-define-property/index.mjs";
16
+ import { __require as requireHasSymbols } from "../../../has-symbols@1.1.0/node_modules/has-symbols/index.mjs";
17
+ import { __require as requireGet } from "../../../dunder-proto@1.0.1/node_modules/dunder-proto/get.mjs";
18
+ import { __require as requireFunctionApply } from "../../../call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.mjs";
19
+ import functionCall from "../../../call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.mjs";
10
20
  import functionBind from "../../../function-bind@1.1.2/node_modules/function-bind/index.mjs";
11
- import hasown from "../../../hasown@2.0.2/node_modules/hasown/index.mjs";
21
+ import { __require as requireHasown } from "../../../hasown@2.0.2/node_modules/hasown/index.mjs";
12
22
  var undefined$1;
23
+ var $Object = esObjectAtoms;
13
24
  var $Error = esErrors;
14
25
  var $EvalError = _eval;
15
26
  var $RangeError = range;
@@ -17,6 +28,11 @@ var $ReferenceError = ref;
17
28
  var $SyntaxError = syntax;
18
29
  var $TypeError = type;
19
30
  var $URIError = uri;
31
+ var abs = abs$1;
32
+ var floor = floor$1;
33
+ var max = max$1;
34
+ var min = min$1;
35
+ var pow = pow$1;
20
36
  var $Function = Function;
21
37
  var getEvalledConstructor = function(expressionSyntax) {
22
38
  try {
@@ -24,14 +40,8 @@ var getEvalledConstructor = function(expressionSyntax) {
24
40
  } catch (e) {
25
41
  }
26
42
  };
27
- var $gOPD = Object.getOwnPropertyDescriptor;
28
- if ($gOPD) {
29
- try {
30
- $gOPD({}, "");
31
- } catch (e) {
32
- $gOPD = null;
33
- }
34
- }
43
+ var $gOPD = gopd;
44
+ var $defineProperty = esDefineProperty;
35
45
  var throwTypeError = function() {
36
46
  throw new $TypeError();
37
47
  };
@@ -47,11 +57,11 @@ var ThrowTypeError = $gOPD ? function() {
47
57
  }
48
58
  }
49
59
  }() : throwTypeError;
50
- var hasSymbols = hasSymbols$1();
51
- var hasProto = hasProto$1();
52
- var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
53
- return x.__proto__;
54
- } : null);
60
+ var hasSymbols = requireHasSymbols()();
61
+ var getDunderProto = requireGet();
62
+ var getProto = typeof Reflect === "function" && Reflect.getPrototypeOf || $Object.getPrototypeOf || getDunderProto;
63
+ var $apply = requireFunctionApply();
64
+ var $call = functionCall;
55
65
  var needsEval = {};
56
66
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
57
67
  var INTRINSICS = {
@@ -96,7 +106,8 @@ var INTRINSICS = {
96
106
  "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined$1 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
97
107
  "%Math%": Math,
98
108
  "%Number%": Number,
99
- "%Object%": Object,
109
+ "%Object%": $Object,
110
+ "%Object.getOwnPropertyDescriptor%": $gOPD,
100
111
  "%parseFloat%": parseFloat,
101
112
  "%parseInt%": parseInt,
102
113
  "%Promise%": typeof Promise === "undefined" ? undefined$1 : Promise,
@@ -122,7 +133,15 @@ var INTRINSICS = {
122
133
  "%URIError%": $URIError,
123
134
  "%WeakMap%": typeof WeakMap === "undefined" ? undefined$1 : WeakMap,
124
135
  "%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
125
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet
136
+ "%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet,
137
+ "%Function.prototype.call%": $call,
138
+ "%Function.prototype.apply%": $apply,
139
+ "%Object.defineProperty%": $defineProperty,
140
+ "%Math.abs%": abs,
141
+ "%Math.floor%": floor,
142
+ "%Math.max%": max,
143
+ "%Math.min%": min,
144
+ "%Math.pow%": pow
126
145
  };
127
146
  if (getProto) {
128
147
  try {
@@ -209,12 +228,12 @@ var LEGACY_ALIASES = {
209
228
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
210
229
  };
211
230
  var bind = functionBind;
212
- var hasOwn = hasown;
213
- var $concat = bind.call(Function.call, Array.prototype.concat);
214
- var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
215
- var $replace = bind.call(Function.call, String.prototype.replace);
216
- var $strSlice = bind.call(Function.call, String.prototype.slice);
217
- var $exec = bind.call(Function.call, RegExp.prototype.exec);
231
+ var hasOwn = requireHasown();
232
+ var $concat = bind.call($call, Array.prototype.concat);
233
+ var $spliceApply = bind.call($apply, Array.prototype.splice);
234
+ var $replace = bind.call($call, String.prototype.replace);
235
+ var $strSlice = bind.call($call, String.prototype.slice);
236
+ var $exec = bind.call($call, RegExp.prototype.exec);
218
237
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
219
238
  var reEscapeChar = /\\(\\)?/g;
220
239
  var stringToPath = function stringToPath2(string) {
@@ -0,0 +1,4 @@
1
+ var gOPD = Object.getOwnPropertyDescriptor;
2
+ export {
3
+ gOPD as default
4
+ };
@@ -0,0 +1,13 @@
1
+ import gOPD from "./gOPD.mjs";
2
+ var $gOPD = gOPD;
3
+ if ($gOPD) {
4
+ try {
5
+ $gOPD([], "length");
6
+ } catch (e) {
7
+ $gOPD = null;
8
+ }
9
+ }
10
+ var gopd = $gOPD;
11
+ export {
12
+ gopd as default
13
+ };
@@ -0,0 +1,29 @@
1
+ import { __require as requireShams } from "./shams.mjs";
2
+ var hasSymbols;
3
+ var hasRequiredHasSymbols;
4
+ function requireHasSymbols() {
5
+ if (hasRequiredHasSymbols)
6
+ return hasSymbols;
7
+ hasRequiredHasSymbols = 1;
8
+ var origSymbol = typeof Symbol !== "undefined" && Symbol;
9
+ var hasSymbolSham = requireShams();
10
+ hasSymbols = function hasNativeSymbols() {
11
+ if (typeof origSymbol !== "function") {
12
+ return false;
13
+ }
14
+ if (typeof Symbol !== "function") {
15
+ return false;
16
+ }
17
+ if (typeof origSymbol("foo") !== "symbol") {
18
+ return false;
19
+ }
20
+ if (typeof Symbol("bar") !== "symbol") {
21
+ return false;
22
+ }
23
+ return hasSymbolSham();
24
+ };
25
+ return hasSymbols;
26
+ }
27
+ export {
28
+ requireHasSymbols as __require
29
+ };