mirage2d 1.1.2 → 1.1.4

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 (196) hide show
  1. package/dist/MirageHttp.es.js +5268 -0
  2. package/dist/MirageHttp.es.js.map +1 -0
  3. package/dist/MirageHttp.umd.js +2 -0
  4. package/dist/MirageHttp.umd.js.map +1 -0
  5. package/dist/assets/js/basedecoder-fa2b8e8d.js +107 -0
  6. package/dist/assets/js/decoder-f19e05cf.js +6 -0
  7. package/dist/assets/js/deflate-adb9a67b.js +8 -0
  8. package/dist/{js/dist/_html2canvas@1.4.1@html2canvas.e8006fee.js → assets/js/html2canvas.esm-3dd231c5.js} +0 -0
  9. package/dist/assets/js/index-3263db85.js +1 -0
  10. package/dist/assets/js/index-a9db46a5.js +212968 -0
  11. package/dist/{js/lib/_canvg@3.0.10@canvg.bd557ac8.js → assets/js/index.es-38f73a27.js} +2179 -351
  12. package/dist/assets/js/jpeg-3bf23728.js +835 -0
  13. package/dist/{js/_lerc@3.0.0@lerc/_lerc@3.0.0@lerc.dc2ff398.js → assets/js/lerc-4c39f39b.js} +26 -1
  14. package/dist/assets/js/lzw-d0cad8af.js +123 -0
  15. package/dist/assets/js/packbits-d75b4cce.js +25 -0
  16. package/dist/{js/_pako@2.0.4@pako/_pako@2.0.4@pako.52d6b320.js → assets/js/pako.esm-49deb4d7.js} +0 -0
  17. package/dist/{js/dist/_dompurify@2.4.0@dompurify.e7ba523e.js → assets/js/purify.es-1915dfae.js} +0 -0
  18. package/dist/assets/js/raw-9656f9cc.js +7 -0
  19. package/dist/assets/js/webimage-edb7156c.js +27 -0
  20. package/package.json +1 -1
  21. package/dist/js/_@babel_runtime@7.18.9@@babel/_@babel_runtime@7.18.9@@babel.e0126ca2.js +0 -51
  22. package/dist/js/_@petamoriken_float16@3.6.6@@petamoriken/_@petamoriken_float16@3.6.6@@petamoriken.c5188241.js +0 -217
  23. package/dist/js/_@turf_along@6.5.0@@turf/_@turf_along@6.5.0@@turf.18dbc1a3.js +0 -31
  24. package/dist/js/_@turf_angle@6.5.0@@turf/_@turf_angle@6.5.0@@turf.554ac9bf.js +0 -1
  25. package/dist/js/_@turf_area@6.5.0@@turf/_@turf_area@6.5.0@@turf.6cbf0cc1.js +0 -74
  26. package/dist/js/_@turf_bbox-clip@6.5.0@@turf/_@turf_bbox-clip@6.5.0@@turf.e491cb90.js +0 -1
  27. package/dist/js/_@turf_bbox-polygon@6.5.0@@turf/_@turf_bbox-polygon@6.5.0@@turf.523f1c20.js +0 -19
  28. package/dist/js/_@turf_bbox@6.5.0@@turf/_@turf_bbox@6.5.0@@turf.4c59feee.js +0 -48
  29. package/dist/js/_@turf_bearing@6.5.0@@turf/_@turf_bearing@6.5.0@@turf.f2555a09.js +0 -25
  30. package/dist/js/_@turf_bezier-spline@6.5.0@@turf/_@turf_bezier-spline@6.5.0@@turf.fa7991dd.js +0 -137
  31. package/dist/js/_@turf_boolean-clockwise@6.5.0@@turf/_@turf_boolean-clockwise@6.5.0@@turf.4031f280.js +0 -1
  32. package/dist/js/_@turf_boolean-contains@6.5.0@@turf/_@turf_boolean-contains@6.5.0@@turf.836d55d8.js +0 -191
  33. package/dist/js/_@turf_boolean-crosses@6.5.0@@turf/_@turf_boolean-crosses@6.5.0@@turf.c5f65a28.js +0 -125
  34. package/dist/js/_@turf_boolean-disjoint@6.5.0@@turf/_@turf_boolean-disjoint@6.5.0@@turf.bbd60872.js +0 -122
  35. package/dist/js/_@turf_boolean-equal@6.5.0@@turf/_@turf_boolean-equal@6.5.0@@turf.341ffa01.js +0 -1
  36. package/dist/js/_@turf_boolean-intersects@6.5.0@@turf/_@turf_boolean-intersects@6.5.0@@turf.05fc28b3.js +0 -15
  37. package/dist/js/_@turf_boolean-overlap@6.5.0@@turf/_@turf_boolean-overlap@6.5.0@@turf.a519db25.js +0 -53
  38. package/dist/js/_@turf_boolean-parallel@6.5.0@@turf/_@turf_boolean-parallel@6.5.0@@turf.dbf2bc2d.js +0 -1
  39. package/dist/js/_@turf_boolean-point-in-polygon@6.5.0@@turf/_@turf_boolean-point-in-polygon@6.5.0@@turf.62a2d48a.js +0 -65
  40. package/dist/js/_@turf_boolean-point-on-line@6.5.0@@turf/_@turf_boolean-point-on-line@6.5.0@@turf.3cf3aaa1.js +0 -69
  41. package/dist/js/_@turf_boolean-within@6.5.0@@turf/_@turf_boolean-within@6.5.0@@turf.d70d6bfc.js +0 -172
  42. package/dist/js/_@turf_buffer@6.5.0@@turf/_@turf_buffer@6.5.0@@turf.88330dfe.js +0 -99
  43. package/dist/js/_@turf_center-mean@6.5.0@@turf/_@turf_center-mean@6.5.0@@turf.b3d7c917.js +0 -1
  44. package/dist/js/_@turf_center-median@6.5.0@@turf/_@turf_center-median@6.5.0@@turf.44c4669e.js +0 -1
  45. package/dist/js/_@turf_center-of-mass@6.5.0@@turf/_@turf_center-of-mass@6.5.0@@turf.63ce279e.js +0 -1
  46. package/dist/js/_@turf_center@6.5.0@@turf/_@turf_center@6.5.0@@turf.a45495b5.js +0 -12
  47. package/dist/js/_@turf_centroid@6.5.0@@turf/_@turf_centroid@6.5.0@@turf.0a5be869.js +0 -17
  48. package/dist/js/_@turf_circle@6.5.0@@turf/_@turf_circle@6.5.0@@turf.0166b8c2.js +0 -16
  49. package/dist/js/_@turf_clean-coords@6.5.0@@turf/_@turf_clean-coords@6.5.0@@turf.8c76bd63.js +0 -111
  50. package/dist/js/_@turf_clone@6.5.0@@turf/_@turf_clone@6.5.0@@turf.cd05b1f8.js +0 -100
  51. package/dist/js/_@turf_clusters-dbscan@6.5.0@@turf/_@turf_clusters-dbscan@6.5.0@@turf.6bbee7e9.js +0 -1
  52. package/dist/js/_@turf_clusters-kmeans@6.5.0@@turf/_@turf_clusters-kmeans@6.5.0@@turf.505415df.js +0 -1
  53. package/dist/js/_@turf_clusters@6.5.0@@turf/_@turf_clusters@6.5.0@@turf.84cb9680.js +0 -1
  54. package/dist/js/_@turf_collect@6.5.0@@turf/_@turf_collect@6.5.0@@turf.93e41b5f.js +0 -1
  55. package/dist/js/_@turf_combine@6.5.0@@turf/_@turf_combine@6.5.0@@turf.33ee6336.js +0 -1
  56. package/dist/js/_@turf_concave@6.5.0@@turf/_@turf_concave@6.5.0@@turf.6fb6a8be.js +0 -179
  57. package/dist/js/_@turf_convex@6.5.0@@turf/_@turf_convex@6.5.0@@turf.24600ac2.js +0 -1
  58. package/dist/js/_@turf_destination@6.5.0@@turf/_@turf_destination@6.5.0@@turf.2621651e.js +0 -18
  59. package/dist/js/_@turf_difference@6.5.0@@turf/_@turf_difference@6.5.0@@turf.70df5e79.js +0 -18
  60. package/dist/js/_@turf_dissolve@6.5.0@@turf/_@turf_dissolve@6.5.0@@turf.edb28fc1.js +0 -1
  61. package/dist/js/_@turf_distance-weight@6.5.0@@turf/_@turf_distance-weight@6.5.0@@turf.e168af7f.js +0 -1
  62. package/dist/js/_@turf_distance@6.5.0@@turf/_@turf_distance@6.5.0@@turf.0c7b8aea.js +0 -22
  63. package/dist/js/_@turf_ellipse@6.5.0@@turf/_@turf_ellipse@6.5.0@@turf.37986056.js +0 -1
  64. package/dist/js/_@turf_envelope@6.5.0@@turf/_@turf_envelope@6.5.0@@turf.599c5772.js +0 -1
  65. package/dist/js/_@turf_explode@6.5.0@@turf/_@turf_explode@6.5.0@@turf.5c768db5.js +0 -24
  66. package/dist/js/_@turf_flatten@6.5.0@@turf/_@turf_flatten@6.5.0@@turf.57e9114c.js +0 -1
  67. package/dist/js/_@turf_flip@6.5.0@@turf/_@turf_flip@6.5.0@@turf.1f02101f.js +0 -1
  68. package/dist/js/_@turf_great-circle@6.5.0@@turf/_@turf_great-circle@6.5.0@@turf.2ca021a8.js +0 -1
  69. package/dist/js/_@turf_helpers@6.5.0@@turf/_@turf_helpers@6.5.0@@turf.f1480aa1.js +0 -364
  70. package/dist/js/_@turf_hex-grid@6.5.0@@turf/_@turf_hex-grid@6.5.0@@turf.a6a45778.js +0 -99
  71. package/dist/js/_@turf_interpolate@6.5.0@@turf/_@turf_interpolate@6.5.0@@turf.4d39bd8c.js +0 -1
  72. package/dist/js/_@turf_intersect@6.5.0@@turf/_@turf_intersect@6.5.0@@turf.34082cdf.js +0 -17
  73. package/dist/js/_@turf_invariant@6.5.0@@turf/_@turf_invariant@6.5.0@@turf.0ef69f8c.js +0 -71
  74. package/dist/js/_@turf_isobands@6.5.0@@turf/_@turf_isobands@6.5.0@@turf.def019df.js +0 -3109
  75. package/dist/js/_@turf_isolines@6.5.0@@turf/_@turf_isolines@6.5.0@@turf.da623b25.js +0 -1
  76. package/dist/js/_@turf_kinks@6.5.0@@turf/_@turf_kinks@6.5.0@@turf.ee61685b.js +0 -87
  77. package/dist/js/_@turf_length@6.5.0@@turf/_@turf_length@6.5.0@@turf.f73f6c98.js +0 -12
  78. package/dist/js/_@turf_line-arc@6.5.0@@turf/_@turf_line-arc@6.5.0@@turf.3dc57055.js +0 -37
  79. package/dist/js/_@turf_line-chunk@6.5.0@@turf/_@turf_line-chunk@6.5.0@@turf.1867af48.js +0 -43
  80. package/dist/js/_@turf_line-intersect@6.5.0@@turf/_@turf_line-intersect@6.5.0@@turf.c4d81948.js +0 -73
  81. package/dist/js/_@turf_line-offset@6.5.0@@turf/_@turf_line-offset@6.5.0@@turf.e6846793.js +0 -116
  82. package/dist/js/_@turf_line-overlap@6.5.0@@turf/_@turf_line-overlap@6.5.0@@turf.addba9a5.js +0 -76
  83. package/dist/js/_@turf_line-segment@6.5.0@@turf/_@turf_line-segment@6.5.0@@turf.18ce3010.js +0 -55
  84. package/dist/js/_@turf_line-slice-along@6.5.0@@turf/_@turf_line-slice-along@6.5.0@@turf.2b802464.js +0 -57
  85. package/dist/js/_@turf_line-slice@6.5.0@@turf/_@turf_line-slice@6.5.0@@turf.6423a053.js +0 -23
  86. package/dist/js/_@turf_line-split@6.5.0@@turf/_@turf_line-split@6.5.0@@turf.2022f104.js +0 -125
  87. package/dist/js/_@turf_line-to-polygon@6.5.0@@turf/_@turf_line-to-polygon@6.5.0@@turf.83f5e69f.js +0 -1
  88. package/dist/js/_@turf_mask@6.5.0@@turf/_@turf_mask@6.5.0@@turf.96cd5a94.js +0 -1
  89. package/dist/js/_@turf_meta@6.5.0@@turf/_@turf_meta@6.5.0@@turf.1b9d5da5.js +0 -611
  90. package/dist/js/_@turf_midpoint@6.5.0@@turf/_@turf_midpoint@6.5.0@@turf.67c14f94.js +0 -1
  91. package/dist/js/_@turf_moran-index@6.5.0@@turf/_@turf_moran-index@6.5.0@@turf.2ad5365a.js +0 -1
  92. package/dist/js/_@turf_nearest-point-on-line@6.5.0@@turf/_@turf_nearest-point-on-line@6.5.0@@turf.095c8c0d.js +0 -57
  93. package/dist/js/_@turf_nearest-point-to-line@6.5.0@@turf/_@turf_nearest-point-to-line@6.5.0@@turf.68484097.js +0 -1
  94. package/dist/js/_@turf_nearest-point@6.5.0@@turf/_@turf_nearest-point@6.5.0@@turf.e0d2f509.js +0 -24
  95. package/dist/js/_@turf_planepoint@6.5.0@@turf/_@turf_planepoint@6.5.0@@turf.56fc70b3.js +0 -1
  96. package/dist/js/_@turf_point-grid@6.5.0@@turf/_@turf_point-grid@6.5.0@@turf.2d278644.js +0 -42
  97. package/dist/js/_@turf_point-on-feature@6.5.0@@turf/_@turf_point-on-feature@6.5.0@@turf.0c740874.js +0 -1
  98. package/dist/js/_@turf_point-to-line-distance@6.5.0@@turf/_@turf_point-to-line-distance@6.5.0@@turf.33105d82.js +0 -1
  99. package/dist/js/_@turf_points-within-polygon@6.5.0@@turf/_@turf_points-within-polygon@6.5.0@@turf.659cd335.js +0 -35
  100. package/dist/js/_@turf_polygon-smooth@6.5.0@@turf/_@turf_polygon-smooth@6.5.0@@turf.43a7c33e.js +0 -1
  101. package/dist/js/_@turf_polygon-tangents@6.5.0@@turf/_@turf_polygon-tangents@6.5.0@@turf.a2c3a7b6.js +0 -1
  102. package/dist/js/_@turf_polygon-to-line@6.5.0@@turf/_@turf_polygon-to-line@6.5.0@@turf.3177cfb1.js +0 -48
  103. package/dist/js/_@turf_polygonize@6.5.0@@turf/_@turf_polygonize@6.5.0@@turf.f7cc4910.js +0 -1
  104. package/dist/js/_@turf_projection@6.5.0@@turf/_@turf_projection@6.5.0@@turf.ffdd3321.js +0 -1
  105. package/dist/js/_@turf_random@6.5.0@@turf/_@turf_random@6.5.0@@turf.f65251e4.js +0 -130
  106. package/dist/js/_@turf_rectangle-grid@6.5.0@@turf/_@turf_rectangle-grid@6.5.0@@turf.7e8b1a1f.js +0 -49
  107. package/dist/js/_@turf_rewind@6.5.0@@turf/_@turf_rewind@6.5.0@@turf.5d137ee9.js +0 -1
  108. package/dist/js/_@turf_rhumb-bearing@6.5.0@@turf/_@turf_rhumb-bearing@6.5.0@@turf.fb8f6ade.js +0 -30
  109. package/dist/js/_@turf_rhumb-destination@6.5.0@@turf/_@turf_rhumb-destination@6.5.0@@turf.dc0e4753.js +0 -36
  110. package/dist/js/_@turf_rhumb-distance@6.5.0@@turf/_@turf_rhumb-distance@6.5.0@@turf.94e475b8.js +0 -30
  111. package/dist/js/_@turf_sample@6.5.0@@turf/_@turf_sample@6.5.0@@turf.7181d7a7.js +0 -1
  112. package/dist/js/_@turf_sector@6.5.0@@turf/_@turf_sector@6.5.0@@turf.04ffddfe.js +0 -39
  113. package/dist/js/_@turf_shortest-path@6.5.0@@turf/_@turf_shortest-path@6.5.0@@turf.0c1b62a8.js +0 -367
  114. package/dist/js/_@turf_simplify@6.5.0@@turf/_@turf_simplify@6.5.0@@turf.46703d2e.js +0 -1
  115. package/dist/js/_@turf_square-grid@6.5.0@@turf/_@turf_square-grid@6.5.0@@turf.38bd2eaa.js +0 -8
  116. package/dist/js/_@turf_square@6.5.0@@turf/_@turf_square@6.5.0@@turf.2705289a.js +0 -27
  117. package/dist/js/_@turf_standard-deviational-ellipse@6.5.0@@turf/_@turf_standard-deviational-ellipse@6.5.0@@turf.7094e432.js +0 -1
  118. package/dist/js/_@turf_tag@6.5.0@@turf/_@turf_tag@6.5.0@@turf.cb60b0c1.js +0 -1
  119. package/dist/js/_@turf_tesselate@6.5.0@@turf/_@turf_tesselate@6.5.0@@turf.330e4aae.js +0 -1
  120. package/dist/js/_@turf_tin@6.5.0@@turf/_@turf_tin@6.5.0@@turf.077204c4.js +0 -173
  121. package/dist/js/_@turf_transform-rotate@6.5.0@@turf/_@turf_transform-rotate@6.5.0@@turf.6d350d36.js +0 -1
  122. package/dist/js/_@turf_transform-scale@6.5.0@@turf/_@turf_transform-scale@6.5.0@@turf.d6f65671.js +0 -90
  123. package/dist/js/_@turf_transform-translate@6.5.0@@turf/_@turf_transform-translate@6.5.0@@turf.9296b81a.js +0 -1
  124. package/dist/js/_@turf_triangle-grid@6.5.0@@turf/_@turf_triangle-grid@6.5.0@@turf.939f94ab.js +0 -107
  125. package/dist/js/_@turf_truncate@6.5.0@@turf/_@turf_truncate@6.5.0@@turf.ed70ebcb.js +0 -33
  126. package/dist/js/_@turf_turf@6.4.0@@turf/_@turf_turf@6.4.0@@turf.34fde8ec.js +0 -1
  127. package/dist/js/_@turf_union@6.5.0@@turf/_@turf_union@6.5.0@@turf.386ee2eb.js +0 -1
  128. package/dist/js/_@turf_unkink-polygon@6.5.0@@turf/_@turf_unkink-polygon@6.5.0@@turf.cb446e47.js +0 -1
  129. package/dist/js/_@turf_voronoi@6.5.0@@turf/_@turf_voronoi@6.5.0@@turf.c30d929e.js +0 -30
  130. package/dist/js/_call-bind@1.0.2@call-bind/_call-bind@1.0.2@call-bind.3811d387.js +0 -53
  131. package/dist/js/_concaveman@1.2.1@concaveman/_concaveman@1.2.1@concaveman.e747f731.js +0 -1
  132. package/dist/js/_core-js@3.25.0@core-js/_core-js@3.25.0@core-js.003355ed.js +0 -5029
  133. package/dist/js/_crypto-js@4.1.1@crypto-js/_crypto-js@4.1.1@crypto-js.e2f7f158.js +0 -1823
  134. package/dist/js/_d3-array@1.2.4@d3-array/_d3-array@1.2.4@d3-array.d606df6b.js +0 -58
  135. package/dist/js/_d3-geo@1.7.1@d3-geo/_d3-geo@1.7.1@d3-geo.7d357be1.js +0 -1094
  136. package/dist/js/_d3-voronoi@1.1.2@d3-voronoi/_d3-voronoi@1.1.2@d3-voronoi.072f12a6.js +0 -816
  137. package/dist/js/_deep-equal@1.1.1@deep-equal/_deep-equal@1.1.1@deep-equal.98576c17.js +0 -108
  138. package/dist/js/_define-properties@1.1.4@define-properties/_define-properties@1.1.4@define-properties.647c3367.js +0 -40
  139. package/dist/js/_density-clustering@1.3.0@density-clustering/_density-clustering@1.3.0@density-clustering.a07fc6ae.js +0 -1
  140. package/dist/js/_earcut@2.2.4@earcut/_earcut@2.2.4@earcut.972ebfd3.js +0 -1
  141. package/dist/js/_echarts-gl@1.1.2@echarts-gl/_echarts-gl@1.1.2@echarts-gl.1e3964b9.js +0 -36533
  142. package/dist/js/_echarts@4.9.0@echarts/_echarts@4.9.0@echarts.7d74ba77.js +0 -44219
  143. package/dist/js/_fflate@0.4.8@fflate/_fflate@0.4.8@fflate.d8111196.js +0 -571
  144. package/dist/js/_function-bind@1.1.1@function-bind/_function-bind@1.1.1@function-bind.de3cf11d.js +0 -46
  145. package/dist/js/_functions-have-names@1.2.3@functions-have-names/_functions-have-names@1.2.3@functions-have-names.7def2408.js +0 -27
  146. package/dist/js/_geojson-equality@0.1.6@geojson-equality/_geojson-equality@0.1.6@geojson-equality.09ffa121.js +0 -133
  147. package/dist/js/_geojson-path-finder@1.5.3@geojson-path-finder/_geojson-path-finder@1.5.3@geojson-path-finder.7a10eb99.js +0 -348
  148. package/dist/js/_geojson-rbush@3.2.0@geojson-rbush/_geojson-rbush@3.2.0@geojson-rbush.2adaeedb.js +0 -93
  149. package/dist/js/_geotiff@2.0.4@geotiff/_geotiff@2.0.4@geotiff.5b08f79e.js +0 -3663
  150. package/dist/js/_get-intrinsic@1.1.2@get-intrinsic/_get-intrinsic@1.1.2@get-intrinsic.a633bd68.js +0 -291
  151. package/dist/js/_has-property-descriptors@1.0.0@has-property-descriptors/_has-property-descriptors@1.0.0@has-property-descriptors.6bd2d302.js +0 -26
  152. package/dist/js/_has-symbols@1.0.3@has-symbols/_has-symbols@1.0.3@has-symbols.70406077.js +0 -63
  153. package/dist/js/_has-tostringtag@1.0.0@has-tostringtag/_has-tostringtag@1.0.0@has-tostringtag.2d502422.js +0 -6
  154. package/dist/js/_has@1.0.3@has/_has@1.0.3@has.ddd2eb68.js +0 -4
  155. package/dist/js/_ieee754@1.2.1@ieee754/_ieee754@1.2.1@ieee754.56426503.js +0 -80
  156. package/dist/js/_is-arguments@1.1.1@is-arguments/_is-arguments@1.1.1@is-arguments.7d77e24a.js +0 -23
  157. package/dist/js/_is-date-object@1.0.5@is-date-object/_is-date-object@1.0.5@is-date-object.08cc2543.js +0 -20
  158. package/dist/js/_is-regex@1.1.4@is-regex/_is-regex@1.1.4@is-regex.6417e007.js +0 -47
  159. package/dist/js/_jspdf@2.5.1@jspdf/_jspdf@2.5.1@jspdf.e927dbd8.js +0 -8494
  160. package/dist/js/_kml-geojson@1.2.0@kml-geojson/_kml-geojson@1.2.0@kml-geojson.f1ae86e4.js +0 -7858
  161. package/dist/js/_lru-cache@6.0.0@lru-cache/_lru-cache@6.0.0@lru-cache.dd72cc1b.js +0 -263
  162. package/dist/js/_mgrs@1.0.0@mgrs/_mgrs@1.0.0@mgrs.12d1da3e.js +0 -432
  163. package/dist/js/_object-assign@4.1.1@object-assign/_object-assign@4.1.1@object-assign.e4009c1c.js +0 -69
  164. package/dist/js/_object-is@1.1.5@object-is/_object-is@1.1.5@object-is.e47f5d65.js +0 -45
  165. package/dist/js/_object-keys@1.1.1@object-keys/_object-keys@1.1.1@object-keys.4b1d0a99.js +0 -151
  166. package/dist/js/_ol-echarts@2.0.6@ol-echarts/_ol-echarts@2.0.6@ol-echarts.658aaf82.js +0 -841
  167. package/dist/js/_ol-ext@3.2.30@ol-ext/_ol-ext@3.2.30@ol-ext.b94220dd.js +0 -4614
  168. package/dist/js/_ol-mapbox-style@8.2.1@ol-mapbox-style/_ol-mapbox-style@8.2.1@ol-mapbox-style.795310f3.js +0 -1
  169. package/dist/js/_ol@6.15.1@ol/_ol@6.15.1@ol.8fd0cbb5.js +0 -31823
  170. package/dist/js/_pbf@3.2.1@pbf/_pbf@3.2.1@pbf.330acf55.js +0 -647
  171. package/dist/js/_performance-now@2.1.0@performance-now/_performance-now@2.1.0@performance-now.a51379c2.js +0 -34
  172. package/dist/js/_point-in-polygon@1.1.0@point-in-polygon/_point-in-polygon@1.1.0@point-in-polygon.2cc4306e.js +0 -1
  173. package/dist/js/_polygon-clipping@0.15.3@polygon-clipping/_polygon-clipping@0.15.3@polygon-clipping.c0e9ec57.js +0 -1363
  174. package/dist/js/_proj4@2.8.0@proj4/_proj4@2.8.0@proj4.1600352c.js +0 -4885
  175. package/dist/js/_quickselect@1.1.1@quickselect/_quickselect@1.1.1@quickselect.8afce154.js +0 -1
  176. package/dist/js/_quickselect@2.0.0@quickselect/_quickselect@2.0.0@quickselect.9f5c1e48.js +0 -51
  177. package/dist/js/_raf@3.4.1@raf/_raf@3.4.1@raf.ac0d6c66.js +0 -60
  178. package/dist/js/_rbush@2.0.2@rbush/_rbush@2.0.2@rbush.7149e620.js +0 -1
  179. package/dist/js/_rbush@3.0.1@rbush/_rbush@3.0.1@rbush.57d33d95.js +0 -402
  180. package/dist/js/_regexp.prototype.flags@1.4.3@regexp.prototype.flags/_regexp.prototype.flags@1.4.3@regexp.prototype.flags.8b6921c6.js +0 -102
  181. package/dist/js/_rgbcolor@1.0.1@rgbcolor/_rgbcolor@1.0.1@rgbcolor.dd87e013.js +0 -272
  182. package/dist/js/_robust-predicates@2.0.4@robust-predicates/_robust-predicates@2.0.4@robust-predicates.564bf2f8.js +0 -1
  183. package/dist/js/_skmeans@0.9.7@skmeans/_skmeans@0.9.7@skmeans.933c6a76.js +0 -1
  184. package/dist/js/_splaytree@3.1.1@splaytree/_splaytree@3.1.1@splaytree.6cb55ed3.js +0 -671
  185. package/dist/js/_stackblur-canvas@2.5.0@stackblur-canvas/_stackblur-canvas@2.5.0@stackblur-canvas.dd883d14.js +0 -214
  186. package/dist/js/_svg-pathdata@6.0.3@svg-pathdata/_svg-pathdata@6.0.3@svg-pathdata.7e858a5f.js +0 -441
  187. package/dist/js/_tinyqueue@2.0.3@tinyqueue/_tinyqueue@2.0.3@tinyqueue.78918532.js +0 -73
  188. package/dist/js/_topojson-client@3.1.0@topojson-client/_topojson-client@3.1.0@topojson-client.aef4e2d5.js +0 -238
  189. package/dist/js/_topojson-server@3.0.1@topojson-server/_topojson-server@3.0.1@topojson-server.b521a412.js +0 -662
  190. package/dist/js/_turf-jsts@1.2.3@turf-jsts/_turf-jsts@1.2.3@turf-jsts.6ef42696.js +0 -18934
  191. package/dist/js/_web-worker@1.2.0@web-worker/_web-worker@1.2.0@web-worker.43288df7.js +0 -2
  192. package/dist/js/_wkt-parser@1.3.2@wkt-parser/_wkt-parser@1.3.2@wkt-parser.0e1cf374.js +0 -461
  193. package/dist/js/_xml-utils@1.2.0@xml-utils/_xml-utils@1.2.0@xml-utils.2a8ae655.js +0 -126
  194. package/dist/js/_yallist@4.0.0@yallist/_yallist@4.0.0@yallist.8350aafe.js +0 -363
  195. package/dist/js/_zrender@4.3.2@zrender/_zrender@4.3.2@zrender.1feea14d.js +0 -12455
  196. package/dist/mirage2d.es.js +0 -15894
@@ -1,1823 +0,0 @@
1
- import { c as commonjsGlobal, a as commonjsRequire } from "../_@turf_bbox@6.5.0@@turf/_@turf_bbox@6.5.0@@turf.4c59feee.js";
2
- function _mergeNamespaces(n, m) {
3
- m.forEach(function(e) {
4
- e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
5
- if (k !== "default" && !(k in n)) {
6
- var d = Object.getOwnPropertyDescriptor(e, k);
7
- Object.defineProperty(n, k, d.get ? d : {
8
- enumerable: true,
9
- get: function() {
10
- return e[k];
11
- }
12
- });
13
- }
14
- });
15
- });
16
- return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var tripledes = { exports: {} };
19
- var core = { exports: {} };
20
- (function(module, exports) {
21
- (function(root, factory) {
22
- {
23
- module.exports = factory();
24
- }
25
- })(commonjsGlobal, function() {
26
- var CryptoJS = CryptoJS || function(Math2, undefined$1) {
27
- var crypto;
28
- if (typeof window !== "undefined" && window.crypto) {
29
- crypto = window.crypto;
30
- }
31
- if (typeof self !== "undefined" && self.crypto) {
32
- crypto = self.crypto;
33
- }
34
- if (typeof globalThis !== "undefined" && globalThis.crypto) {
35
- crypto = globalThis.crypto;
36
- }
37
- if (!crypto && typeof window !== "undefined" && window.msCrypto) {
38
- crypto = window.msCrypto;
39
- }
40
- if (!crypto && typeof commonjsGlobal !== "undefined" && commonjsGlobal.crypto) {
41
- crypto = commonjsGlobal.crypto;
42
- }
43
- if (!crypto && typeof commonjsRequire === "function") {
44
- try {
45
- crypto = require("crypto");
46
- } catch (err) {
47
- }
48
- }
49
- var cryptoSecureRandomInt = function() {
50
- if (crypto) {
51
- if (typeof crypto.getRandomValues === "function") {
52
- try {
53
- return crypto.getRandomValues(new Uint32Array(1))[0];
54
- } catch (err) {
55
- }
56
- }
57
- if (typeof crypto.randomBytes === "function") {
58
- try {
59
- return crypto.randomBytes(4).readInt32LE();
60
- } catch (err) {
61
- }
62
- }
63
- }
64
- throw new Error("Native crypto module could not be used to get secure random number.");
65
- };
66
- var create = Object.create || function() {
67
- function F() {
68
- }
69
- return function(obj) {
70
- var subtype;
71
- F.prototype = obj;
72
- subtype = new F();
73
- F.prototype = null;
74
- return subtype;
75
- };
76
- }();
77
- var C = {};
78
- var C_lib = C.lib = {};
79
- var Base = C_lib.Base = function() {
80
- return {
81
- extend: function(overrides) {
82
- var subtype = create(this);
83
- if (overrides) {
84
- subtype.mixIn(overrides);
85
- }
86
- if (!subtype.hasOwnProperty("init") || this.init === subtype.init) {
87
- subtype.init = function() {
88
- subtype.$super.init.apply(this, arguments);
89
- };
90
- }
91
- subtype.init.prototype = subtype;
92
- subtype.$super = this;
93
- return subtype;
94
- },
95
- create: function() {
96
- var instance = this.extend();
97
- instance.init.apply(instance, arguments);
98
- return instance;
99
- },
100
- init: function() {
101
- },
102
- mixIn: function(properties) {
103
- for (var propertyName in properties) {
104
- if (properties.hasOwnProperty(propertyName)) {
105
- this[propertyName] = properties[propertyName];
106
- }
107
- }
108
- if (properties.hasOwnProperty("toString")) {
109
- this.toString = properties.toString;
110
- }
111
- },
112
- clone: function() {
113
- return this.init.prototype.extend(this);
114
- }
115
- };
116
- }();
117
- var WordArray = C_lib.WordArray = Base.extend({
118
- init: function(words, sigBytes) {
119
- words = this.words = words || [];
120
- if (sigBytes != undefined$1) {
121
- this.sigBytes = sigBytes;
122
- } else {
123
- this.sigBytes = words.length * 4;
124
- }
125
- },
126
- toString: function(encoder) {
127
- return (encoder || Hex).stringify(this);
128
- },
129
- concat: function(wordArray) {
130
- var thisWords = this.words;
131
- var thatWords = wordArray.words;
132
- var thisSigBytes = this.sigBytes;
133
- var thatSigBytes = wordArray.sigBytes;
134
- this.clamp();
135
- if (thisSigBytes % 4) {
136
- for (var i = 0; i < thatSigBytes; i++) {
137
- var thatByte = thatWords[i >>> 2] >>> 24 - i % 4 * 8 & 255;
138
- thisWords[thisSigBytes + i >>> 2] |= thatByte << 24 - (thisSigBytes + i) % 4 * 8;
139
- }
140
- } else {
141
- for (var j = 0; j < thatSigBytes; j += 4) {
142
- thisWords[thisSigBytes + j >>> 2] = thatWords[j >>> 2];
143
- }
144
- }
145
- this.sigBytes += thatSigBytes;
146
- return this;
147
- },
148
- clamp: function() {
149
- var words = this.words;
150
- var sigBytes = this.sigBytes;
151
- words[sigBytes >>> 2] &= 4294967295 << 32 - sigBytes % 4 * 8;
152
- words.length = Math2.ceil(sigBytes / 4);
153
- },
154
- clone: function() {
155
- var clone = Base.clone.call(this);
156
- clone.words = this.words.slice(0);
157
- return clone;
158
- },
159
- random: function(nBytes) {
160
- var words = [];
161
- for (var i = 0; i < nBytes; i += 4) {
162
- words.push(cryptoSecureRandomInt());
163
- }
164
- return new WordArray.init(words, nBytes);
165
- }
166
- });
167
- var C_enc = C.enc = {};
168
- var Hex = C_enc.Hex = {
169
- stringify: function(wordArray) {
170
- var words = wordArray.words;
171
- var sigBytes = wordArray.sigBytes;
172
- var hexChars = [];
173
- for (var i = 0; i < sigBytes; i++) {
174
- var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
175
- hexChars.push((bite >>> 4).toString(16));
176
- hexChars.push((bite & 15).toString(16));
177
- }
178
- return hexChars.join("");
179
- },
180
- parse: function(hexStr) {
181
- var hexStrLength = hexStr.length;
182
- var words = [];
183
- for (var i = 0; i < hexStrLength; i += 2) {
184
- words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << 24 - i % 8 * 4;
185
- }
186
- return new WordArray.init(words, hexStrLength / 2);
187
- }
188
- };
189
- var Latin1 = C_enc.Latin1 = {
190
- stringify: function(wordArray) {
191
- var words = wordArray.words;
192
- var sigBytes = wordArray.sigBytes;
193
- var latin1Chars = [];
194
- for (var i = 0; i < sigBytes; i++) {
195
- var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
196
- latin1Chars.push(String.fromCharCode(bite));
197
- }
198
- return latin1Chars.join("");
199
- },
200
- parse: function(latin1Str) {
201
- var latin1StrLength = latin1Str.length;
202
- var words = [];
203
- for (var i = 0; i < latin1StrLength; i++) {
204
- words[i >>> 2] |= (latin1Str.charCodeAt(i) & 255) << 24 - i % 4 * 8;
205
- }
206
- return new WordArray.init(words, latin1StrLength);
207
- }
208
- };
209
- var Utf8 = C_enc.Utf8 = {
210
- stringify: function(wordArray) {
211
- try {
212
- return decodeURIComponent(escape(Latin1.stringify(wordArray)));
213
- } catch (e) {
214
- throw new Error("Malformed UTF-8 data");
215
- }
216
- },
217
- parse: function(utf8Str) {
218
- return Latin1.parse(unescape(encodeURIComponent(utf8Str)));
219
- }
220
- };
221
- var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({
222
- reset: function() {
223
- this._data = new WordArray.init();
224
- this._nDataBytes = 0;
225
- },
226
- _append: function(data) {
227
- if (typeof data == "string") {
228
- data = Utf8.parse(data);
229
- }
230
- this._data.concat(data);
231
- this._nDataBytes += data.sigBytes;
232
- },
233
- _process: function(doFlush) {
234
- var processedWords;
235
- var data = this._data;
236
- var dataWords = data.words;
237
- var dataSigBytes = data.sigBytes;
238
- var blockSize = this.blockSize;
239
- var blockSizeBytes = blockSize * 4;
240
- var nBlocksReady = dataSigBytes / blockSizeBytes;
241
- if (doFlush) {
242
- nBlocksReady = Math2.ceil(nBlocksReady);
243
- } else {
244
- nBlocksReady = Math2.max((nBlocksReady | 0) - this._minBufferSize, 0);
245
- }
246
- var nWordsReady = nBlocksReady * blockSize;
247
- var nBytesReady = Math2.min(nWordsReady * 4, dataSigBytes);
248
- if (nWordsReady) {
249
- for (var offset = 0; offset < nWordsReady; offset += blockSize) {
250
- this._doProcessBlock(dataWords, offset);
251
- }
252
- processedWords = dataWords.splice(0, nWordsReady);
253
- data.sigBytes -= nBytesReady;
254
- }
255
- return new WordArray.init(processedWords, nBytesReady);
256
- },
257
- clone: function() {
258
- var clone = Base.clone.call(this);
259
- clone._data = this._data.clone();
260
- return clone;
261
- },
262
- _minBufferSize: 0
263
- });
264
- C_lib.Hasher = BufferedBlockAlgorithm.extend({
265
- cfg: Base.extend(),
266
- init: function(cfg) {
267
- this.cfg = this.cfg.extend(cfg);
268
- this.reset();
269
- },
270
- reset: function() {
271
- BufferedBlockAlgorithm.reset.call(this);
272
- this._doReset();
273
- },
274
- update: function(messageUpdate) {
275
- this._append(messageUpdate);
276
- this._process();
277
- return this;
278
- },
279
- finalize: function(messageUpdate) {
280
- if (messageUpdate) {
281
- this._append(messageUpdate);
282
- }
283
- var hash = this._doFinalize();
284
- return hash;
285
- },
286
- blockSize: 512 / 32,
287
- _createHelper: function(hasher) {
288
- return function(message, cfg) {
289
- return new hasher.init(cfg).finalize(message);
290
- };
291
- },
292
- _createHmacHelper: function(hasher) {
293
- return function(message, key) {
294
- return new C_algo.HMAC.init(hasher, key).finalize(message);
295
- };
296
- }
297
- });
298
- var C_algo = C.algo = {};
299
- return C;
300
- }(Math);
301
- return CryptoJS;
302
- });
303
- })(core);
304
- var encBase64 = { exports: {} };
305
- (function(module, exports) {
306
- (function(root, factory) {
307
- {
308
- module.exports = factory(core.exports);
309
- }
310
- })(commonjsGlobal, function(CryptoJS) {
311
- (function() {
312
- var C = CryptoJS;
313
- var C_lib = C.lib;
314
- var WordArray = C_lib.WordArray;
315
- var C_enc = C.enc;
316
- C_enc.Base64 = {
317
- stringify: function(wordArray) {
318
- var words = wordArray.words;
319
- var sigBytes = wordArray.sigBytes;
320
- var map = this._map;
321
- wordArray.clamp();
322
- var base64Chars = [];
323
- for (var i = 0; i < sigBytes; i += 3) {
324
- var byte1 = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
325
- var byte2 = words[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255;
326
- var byte3 = words[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255;
327
- var triplet = byte1 << 16 | byte2 << 8 | byte3;
328
- for (var j = 0; j < 4 && i + j * 0.75 < sigBytes; j++) {
329
- base64Chars.push(map.charAt(triplet >>> 6 * (3 - j) & 63));
330
- }
331
- }
332
- var paddingChar = map.charAt(64);
333
- if (paddingChar) {
334
- while (base64Chars.length % 4) {
335
- base64Chars.push(paddingChar);
336
- }
337
- }
338
- return base64Chars.join("");
339
- },
340
- parse: function(base64Str) {
341
- var base64StrLength = base64Str.length;
342
- var map = this._map;
343
- var reverseMap = this._reverseMap;
344
- if (!reverseMap) {
345
- reverseMap = this._reverseMap = [];
346
- for (var j = 0; j < map.length; j++) {
347
- reverseMap[map.charCodeAt(j)] = j;
348
- }
349
- }
350
- var paddingChar = map.charAt(64);
351
- if (paddingChar) {
352
- var paddingIndex = base64Str.indexOf(paddingChar);
353
- if (paddingIndex !== -1) {
354
- base64StrLength = paddingIndex;
355
- }
356
- }
357
- return parseLoop(base64Str, base64StrLength, reverseMap);
358
- },
359
- _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
360
- };
361
- function parseLoop(base64Str, base64StrLength, reverseMap) {
362
- var words = [];
363
- var nBytes = 0;
364
- for (var i = 0; i < base64StrLength; i++) {
365
- if (i % 4) {
366
- var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << i % 4 * 2;
367
- var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> 6 - i % 4 * 2;
368
- var bitsCombined = bits1 | bits2;
369
- words[nBytes >>> 2] |= bitsCombined << 24 - nBytes % 4 * 8;
370
- nBytes++;
371
- }
372
- }
373
- return WordArray.create(words, nBytes);
374
- }
375
- })();
376
- return CryptoJS.enc.Base64;
377
- });
378
- })(encBase64);
379
- var md5 = { exports: {} };
380
- (function(module, exports) {
381
- (function(root, factory) {
382
- {
383
- module.exports = factory(core.exports);
384
- }
385
- })(commonjsGlobal, function(CryptoJS) {
386
- (function(Math2) {
387
- var C = CryptoJS;
388
- var C_lib = C.lib;
389
- var WordArray = C_lib.WordArray;
390
- var Hasher = C_lib.Hasher;
391
- var C_algo = C.algo;
392
- var T = [];
393
- (function() {
394
- for (var i = 0; i < 64; i++) {
395
- T[i] = Math2.abs(Math2.sin(i + 1)) * 4294967296 | 0;
396
- }
397
- })();
398
- var MD5 = C_algo.MD5 = Hasher.extend({
399
- _doReset: function() {
400
- this._hash = new WordArray.init([
401
- 1732584193,
402
- 4023233417,
403
- 2562383102,
404
- 271733878
405
- ]);
406
- },
407
- _doProcessBlock: function(M, offset) {
408
- for (var i = 0; i < 16; i++) {
409
- var offset_i = offset + i;
410
- var M_offset_i = M[offset_i];
411
- M[offset_i] = (M_offset_i << 8 | M_offset_i >>> 24) & 16711935 | (M_offset_i << 24 | M_offset_i >>> 8) & 4278255360;
412
- }
413
- var H = this._hash.words;
414
- var M_offset_0 = M[offset + 0];
415
- var M_offset_1 = M[offset + 1];
416
- var M_offset_2 = M[offset + 2];
417
- var M_offset_3 = M[offset + 3];
418
- var M_offset_4 = M[offset + 4];
419
- var M_offset_5 = M[offset + 5];
420
- var M_offset_6 = M[offset + 6];
421
- var M_offset_7 = M[offset + 7];
422
- var M_offset_8 = M[offset + 8];
423
- var M_offset_9 = M[offset + 9];
424
- var M_offset_10 = M[offset + 10];
425
- var M_offset_11 = M[offset + 11];
426
- var M_offset_12 = M[offset + 12];
427
- var M_offset_13 = M[offset + 13];
428
- var M_offset_14 = M[offset + 14];
429
- var M_offset_15 = M[offset + 15];
430
- var a = H[0];
431
- var b = H[1];
432
- var c = H[2];
433
- var d = H[3];
434
- a = FF(a, b, c, d, M_offset_0, 7, T[0]);
435
- d = FF(d, a, b, c, M_offset_1, 12, T[1]);
436
- c = FF(c, d, a, b, M_offset_2, 17, T[2]);
437
- b = FF(b, c, d, a, M_offset_3, 22, T[3]);
438
- a = FF(a, b, c, d, M_offset_4, 7, T[4]);
439
- d = FF(d, a, b, c, M_offset_5, 12, T[5]);
440
- c = FF(c, d, a, b, M_offset_6, 17, T[6]);
441
- b = FF(b, c, d, a, M_offset_7, 22, T[7]);
442
- a = FF(a, b, c, d, M_offset_8, 7, T[8]);
443
- d = FF(d, a, b, c, M_offset_9, 12, T[9]);
444
- c = FF(c, d, a, b, M_offset_10, 17, T[10]);
445
- b = FF(b, c, d, a, M_offset_11, 22, T[11]);
446
- a = FF(a, b, c, d, M_offset_12, 7, T[12]);
447
- d = FF(d, a, b, c, M_offset_13, 12, T[13]);
448
- c = FF(c, d, a, b, M_offset_14, 17, T[14]);
449
- b = FF(b, c, d, a, M_offset_15, 22, T[15]);
450
- a = GG(a, b, c, d, M_offset_1, 5, T[16]);
451
- d = GG(d, a, b, c, M_offset_6, 9, T[17]);
452
- c = GG(c, d, a, b, M_offset_11, 14, T[18]);
453
- b = GG(b, c, d, a, M_offset_0, 20, T[19]);
454
- a = GG(a, b, c, d, M_offset_5, 5, T[20]);
455
- d = GG(d, a, b, c, M_offset_10, 9, T[21]);
456
- c = GG(c, d, a, b, M_offset_15, 14, T[22]);
457
- b = GG(b, c, d, a, M_offset_4, 20, T[23]);
458
- a = GG(a, b, c, d, M_offset_9, 5, T[24]);
459
- d = GG(d, a, b, c, M_offset_14, 9, T[25]);
460
- c = GG(c, d, a, b, M_offset_3, 14, T[26]);
461
- b = GG(b, c, d, a, M_offset_8, 20, T[27]);
462
- a = GG(a, b, c, d, M_offset_13, 5, T[28]);
463
- d = GG(d, a, b, c, M_offset_2, 9, T[29]);
464
- c = GG(c, d, a, b, M_offset_7, 14, T[30]);
465
- b = GG(b, c, d, a, M_offset_12, 20, T[31]);
466
- a = HH(a, b, c, d, M_offset_5, 4, T[32]);
467
- d = HH(d, a, b, c, M_offset_8, 11, T[33]);
468
- c = HH(c, d, a, b, M_offset_11, 16, T[34]);
469
- b = HH(b, c, d, a, M_offset_14, 23, T[35]);
470
- a = HH(a, b, c, d, M_offset_1, 4, T[36]);
471
- d = HH(d, a, b, c, M_offset_4, 11, T[37]);
472
- c = HH(c, d, a, b, M_offset_7, 16, T[38]);
473
- b = HH(b, c, d, a, M_offset_10, 23, T[39]);
474
- a = HH(a, b, c, d, M_offset_13, 4, T[40]);
475
- d = HH(d, a, b, c, M_offset_0, 11, T[41]);
476
- c = HH(c, d, a, b, M_offset_3, 16, T[42]);
477
- b = HH(b, c, d, a, M_offset_6, 23, T[43]);
478
- a = HH(a, b, c, d, M_offset_9, 4, T[44]);
479
- d = HH(d, a, b, c, M_offset_12, 11, T[45]);
480
- c = HH(c, d, a, b, M_offset_15, 16, T[46]);
481
- b = HH(b, c, d, a, M_offset_2, 23, T[47]);
482
- a = II(a, b, c, d, M_offset_0, 6, T[48]);
483
- d = II(d, a, b, c, M_offset_7, 10, T[49]);
484
- c = II(c, d, a, b, M_offset_14, 15, T[50]);
485
- b = II(b, c, d, a, M_offset_5, 21, T[51]);
486
- a = II(a, b, c, d, M_offset_12, 6, T[52]);
487
- d = II(d, a, b, c, M_offset_3, 10, T[53]);
488
- c = II(c, d, a, b, M_offset_10, 15, T[54]);
489
- b = II(b, c, d, a, M_offset_1, 21, T[55]);
490
- a = II(a, b, c, d, M_offset_8, 6, T[56]);
491
- d = II(d, a, b, c, M_offset_15, 10, T[57]);
492
- c = II(c, d, a, b, M_offset_6, 15, T[58]);
493
- b = II(b, c, d, a, M_offset_13, 21, T[59]);
494
- a = II(a, b, c, d, M_offset_4, 6, T[60]);
495
- d = II(d, a, b, c, M_offset_11, 10, T[61]);
496
- c = II(c, d, a, b, M_offset_2, 15, T[62]);
497
- b = II(b, c, d, a, M_offset_9, 21, T[63]);
498
- H[0] = H[0] + a | 0;
499
- H[1] = H[1] + b | 0;
500
- H[2] = H[2] + c | 0;
501
- H[3] = H[3] + d | 0;
502
- },
503
- _doFinalize: function() {
504
- var data = this._data;
505
- var dataWords = data.words;
506
- var nBitsTotal = this._nDataBytes * 8;
507
- var nBitsLeft = data.sigBytes * 8;
508
- dataWords[nBitsLeft >>> 5] |= 128 << 24 - nBitsLeft % 32;
509
- var nBitsTotalH = Math2.floor(nBitsTotal / 4294967296);
510
- var nBitsTotalL = nBitsTotal;
511
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 15] = (nBitsTotalH << 8 | nBitsTotalH >>> 24) & 16711935 | (nBitsTotalH << 24 | nBitsTotalH >>> 8) & 4278255360;
512
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] = (nBitsTotalL << 8 | nBitsTotalL >>> 24) & 16711935 | (nBitsTotalL << 24 | nBitsTotalL >>> 8) & 4278255360;
513
- data.sigBytes = (dataWords.length + 1) * 4;
514
- this._process();
515
- var hash = this._hash;
516
- var H = hash.words;
517
- for (var i = 0; i < 4; i++) {
518
- var H_i = H[i];
519
- H[i] = (H_i << 8 | H_i >>> 24) & 16711935 | (H_i << 24 | H_i >>> 8) & 4278255360;
520
- }
521
- return hash;
522
- },
523
- clone: function() {
524
- var clone = Hasher.clone.call(this);
525
- clone._hash = this._hash.clone();
526
- return clone;
527
- }
528
- });
529
- function FF(a, b, c, d, x, s, t) {
530
- var n = a + (b & c | ~b & d) + x + t;
531
- return (n << s | n >>> 32 - s) + b;
532
- }
533
- function GG(a, b, c, d, x, s, t) {
534
- var n = a + (b & d | c & ~d) + x + t;
535
- return (n << s | n >>> 32 - s) + b;
536
- }
537
- function HH(a, b, c, d, x, s, t) {
538
- var n = a + (b ^ c ^ d) + x + t;
539
- return (n << s | n >>> 32 - s) + b;
540
- }
541
- function II(a, b, c, d, x, s, t) {
542
- var n = a + (c ^ (b | ~d)) + x + t;
543
- return (n << s | n >>> 32 - s) + b;
544
- }
545
- C.MD5 = Hasher._createHelper(MD5);
546
- C.HmacMD5 = Hasher._createHmacHelper(MD5);
547
- })(Math);
548
- return CryptoJS.MD5;
549
- });
550
- })(md5);
551
- var evpkdf = { exports: {} };
552
- var sha1 = { exports: {} };
553
- (function(module, exports) {
554
- (function(root, factory) {
555
- {
556
- module.exports = factory(core.exports);
557
- }
558
- })(commonjsGlobal, function(CryptoJS) {
559
- (function() {
560
- var C = CryptoJS;
561
- var C_lib = C.lib;
562
- var WordArray = C_lib.WordArray;
563
- var Hasher = C_lib.Hasher;
564
- var C_algo = C.algo;
565
- var W = [];
566
- var SHA1 = C_algo.SHA1 = Hasher.extend({
567
- _doReset: function() {
568
- this._hash = new WordArray.init([
569
- 1732584193,
570
- 4023233417,
571
- 2562383102,
572
- 271733878,
573
- 3285377520
574
- ]);
575
- },
576
- _doProcessBlock: function(M, offset) {
577
- var H = this._hash.words;
578
- var a = H[0];
579
- var b = H[1];
580
- var c = H[2];
581
- var d = H[3];
582
- var e = H[4];
583
- for (var i = 0; i < 80; i++) {
584
- if (i < 16) {
585
- W[i] = M[offset + i] | 0;
586
- } else {
587
- var n = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];
588
- W[i] = n << 1 | n >>> 31;
589
- }
590
- var t = (a << 5 | a >>> 27) + e + W[i];
591
- if (i < 20) {
592
- t += (b & c | ~b & d) + 1518500249;
593
- } else if (i < 40) {
594
- t += (b ^ c ^ d) + 1859775393;
595
- } else if (i < 60) {
596
- t += (b & c | b & d | c & d) - 1894007588;
597
- } else {
598
- t += (b ^ c ^ d) - 899497514;
599
- }
600
- e = d;
601
- d = c;
602
- c = b << 30 | b >>> 2;
603
- b = a;
604
- a = t;
605
- }
606
- H[0] = H[0] + a | 0;
607
- H[1] = H[1] + b | 0;
608
- H[2] = H[2] + c | 0;
609
- H[3] = H[3] + d | 0;
610
- H[4] = H[4] + e | 0;
611
- },
612
- _doFinalize: function() {
613
- var data = this._data;
614
- var dataWords = data.words;
615
- var nBitsTotal = this._nDataBytes * 8;
616
- var nBitsLeft = data.sigBytes * 8;
617
- dataWords[nBitsLeft >>> 5] |= 128 << 24 - nBitsLeft % 32;
618
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] = Math.floor(nBitsTotal / 4294967296);
619
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 15] = nBitsTotal;
620
- data.sigBytes = dataWords.length * 4;
621
- this._process();
622
- return this._hash;
623
- },
624
- clone: function() {
625
- var clone = Hasher.clone.call(this);
626
- clone._hash = this._hash.clone();
627
- return clone;
628
- }
629
- });
630
- C.SHA1 = Hasher._createHelper(SHA1);
631
- C.HmacSHA1 = Hasher._createHmacHelper(SHA1);
632
- })();
633
- return CryptoJS.SHA1;
634
- });
635
- })(sha1);
636
- var hmac = { exports: {} };
637
- (function(module, exports) {
638
- (function(root, factory) {
639
- {
640
- module.exports = factory(core.exports);
641
- }
642
- })(commonjsGlobal, function(CryptoJS) {
643
- (function() {
644
- var C = CryptoJS;
645
- var C_lib = C.lib;
646
- var Base = C_lib.Base;
647
- var C_enc = C.enc;
648
- var Utf8 = C_enc.Utf8;
649
- var C_algo = C.algo;
650
- C_algo.HMAC = Base.extend({
651
- init: function(hasher, key) {
652
- hasher = this._hasher = new hasher.init();
653
- if (typeof key == "string") {
654
- key = Utf8.parse(key);
655
- }
656
- var hasherBlockSize = hasher.blockSize;
657
- var hasherBlockSizeBytes = hasherBlockSize * 4;
658
- if (key.sigBytes > hasherBlockSizeBytes) {
659
- key = hasher.finalize(key);
660
- }
661
- key.clamp();
662
- var oKey = this._oKey = key.clone();
663
- var iKey = this._iKey = key.clone();
664
- var oKeyWords = oKey.words;
665
- var iKeyWords = iKey.words;
666
- for (var i = 0; i < hasherBlockSize; i++) {
667
- oKeyWords[i] ^= 1549556828;
668
- iKeyWords[i] ^= 909522486;
669
- }
670
- oKey.sigBytes = iKey.sigBytes = hasherBlockSizeBytes;
671
- this.reset();
672
- },
673
- reset: function() {
674
- var hasher = this._hasher;
675
- hasher.reset();
676
- hasher.update(this._iKey);
677
- },
678
- update: function(messageUpdate) {
679
- this._hasher.update(messageUpdate);
680
- return this;
681
- },
682
- finalize: function(messageUpdate) {
683
- var hasher = this._hasher;
684
- var innerHash = hasher.finalize(messageUpdate);
685
- hasher.reset();
686
- var hmac2 = hasher.finalize(this._oKey.clone().concat(innerHash));
687
- return hmac2;
688
- }
689
- });
690
- })();
691
- });
692
- })(hmac);
693
- (function(module, exports) {
694
- (function(root, factory, undef) {
695
- {
696
- module.exports = factory(core.exports, sha1.exports, hmac.exports);
697
- }
698
- })(commonjsGlobal, function(CryptoJS) {
699
- (function() {
700
- var C = CryptoJS;
701
- var C_lib = C.lib;
702
- var Base = C_lib.Base;
703
- var WordArray = C_lib.WordArray;
704
- var C_algo = C.algo;
705
- var MD5 = C_algo.MD5;
706
- var EvpKDF = C_algo.EvpKDF = Base.extend({
707
- cfg: Base.extend({
708
- keySize: 128 / 32,
709
- hasher: MD5,
710
- iterations: 1
711
- }),
712
- init: function(cfg) {
713
- this.cfg = this.cfg.extend(cfg);
714
- },
715
- compute: function(password, salt) {
716
- var block;
717
- var cfg = this.cfg;
718
- var hasher = cfg.hasher.create();
719
- var derivedKey = WordArray.create();
720
- var derivedKeyWords = derivedKey.words;
721
- var keySize = cfg.keySize;
722
- var iterations = cfg.iterations;
723
- while (derivedKeyWords.length < keySize) {
724
- if (block) {
725
- hasher.update(block);
726
- }
727
- block = hasher.update(password).finalize(salt);
728
- hasher.reset();
729
- for (var i = 1; i < iterations; i++) {
730
- block = hasher.finalize(block);
731
- hasher.reset();
732
- }
733
- derivedKey.concat(block);
734
- }
735
- derivedKey.sigBytes = keySize * 4;
736
- return derivedKey;
737
- }
738
- });
739
- C.EvpKDF = function(password, salt, cfg) {
740
- return EvpKDF.create(cfg).compute(password, salt);
741
- };
742
- })();
743
- return CryptoJS.EvpKDF;
744
- });
745
- })(evpkdf);
746
- var cipherCore = { exports: {} };
747
- (function(module, exports) {
748
- (function(root, factory, undef) {
749
- {
750
- module.exports = factory(core.exports, evpkdf.exports);
751
- }
752
- })(commonjsGlobal, function(CryptoJS) {
753
- CryptoJS.lib.Cipher || function(undefined$1) {
754
- var C = CryptoJS;
755
- var C_lib = C.lib;
756
- var Base = C_lib.Base;
757
- var WordArray = C_lib.WordArray;
758
- var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm;
759
- var C_enc = C.enc;
760
- C_enc.Utf8;
761
- var Base64 = C_enc.Base64;
762
- var C_algo = C.algo;
763
- var EvpKDF = C_algo.EvpKDF;
764
- var Cipher = C_lib.Cipher = BufferedBlockAlgorithm.extend({
765
- cfg: Base.extend(),
766
- createEncryptor: function(key, cfg) {
767
- return this.create(this._ENC_XFORM_MODE, key, cfg);
768
- },
769
- createDecryptor: function(key, cfg) {
770
- return this.create(this._DEC_XFORM_MODE, key, cfg);
771
- },
772
- init: function(xformMode, key, cfg) {
773
- this.cfg = this.cfg.extend(cfg);
774
- this._xformMode = xformMode;
775
- this._key = key;
776
- this.reset();
777
- },
778
- reset: function() {
779
- BufferedBlockAlgorithm.reset.call(this);
780
- this._doReset();
781
- },
782
- process: function(dataUpdate) {
783
- this._append(dataUpdate);
784
- return this._process();
785
- },
786
- finalize: function(dataUpdate) {
787
- if (dataUpdate) {
788
- this._append(dataUpdate);
789
- }
790
- var finalProcessedData = this._doFinalize();
791
- return finalProcessedData;
792
- },
793
- keySize: 128 / 32,
794
- ivSize: 128 / 32,
795
- _ENC_XFORM_MODE: 1,
796
- _DEC_XFORM_MODE: 2,
797
- _createHelper: function() {
798
- function selectCipherStrategy(key) {
799
- if (typeof key == "string") {
800
- return PasswordBasedCipher;
801
- } else {
802
- return SerializableCipher;
803
- }
804
- }
805
- return function(cipher) {
806
- return {
807
- encrypt: function(message, key, cfg) {
808
- return selectCipherStrategy(key).encrypt(cipher, message, key, cfg);
809
- },
810
- decrypt: function(ciphertext, key, cfg) {
811
- return selectCipherStrategy(key).decrypt(cipher, ciphertext, key, cfg);
812
- }
813
- };
814
- };
815
- }()
816
- });
817
- C_lib.StreamCipher = Cipher.extend({
818
- _doFinalize: function() {
819
- var finalProcessedBlocks = this._process(true);
820
- return finalProcessedBlocks;
821
- },
822
- blockSize: 1
823
- });
824
- var C_mode = C.mode = {};
825
- var BlockCipherMode = C_lib.BlockCipherMode = Base.extend({
826
- createEncryptor: function(cipher, iv) {
827
- return this.Encryptor.create(cipher, iv);
828
- },
829
- createDecryptor: function(cipher, iv) {
830
- return this.Decryptor.create(cipher, iv);
831
- },
832
- init: function(cipher, iv) {
833
- this._cipher = cipher;
834
- this._iv = iv;
835
- }
836
- });
837
- var CBC = C_mode.CBC = function() {
838
- var CBC2 = BlockCipherMode.extend();
839
- CBC2.Encryptor = CBC2.extend({
840
- processBlock: function(words, offset) {
841
- var cipher = this._cipher;
842
- var blockSize = cipher.blockSize;
843
- xorBlock.call(this, words, offset, blockSize);
844
- cipher.encryptBlock(words, offset);
845
- this._prevBlock = words.slice(offset, offset + blockSize);
846
- }
847
- });
848
- CBC2.Decryptor = CBC2.extend({
849
- processBlock: function(words, offset) {
850
- var cipher = this._cipher;
851
- var blockSize = cipher.blockSize;
852
- var thisBlock = words.slice(offset, offset + blockSize);
853
- cipher.decryptBlock(words, offset);
854
- xorBlock.call(this, words, offset, blockSize);
855
- this._prevBlock = thisBlock;
856
- }
857
- });
858
- function xorBlock(words, offset, blockSize) {
859
- var block;
860
- var iv = this._iv;
861
- if (iv) {
862
- block = iv;
863
- this._iv = undefined$1;
864
- } else {
865
- block = this._prevBlock;
866
- }
867
- for (var i = 0; i < blockSize; i++) {
868
- words[offset + i] ^= block[i];
869
- }
870
- }
871
- return CBC2;
872
- }();
873
- var C_pad = C.pad = {};
874
- var Pkcs7 = C_pad.Pkcs7 = {
875
- pad: function(data, blockSize) {
876
- var blockSizeBytes = blockSize * 4;
877
- var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;
878
- var paddingWord = nPaddingBytes << 24 | nPaddingBytes << 16 | nPaddingBytes << 8 | nPaddingBytes;
879
- var paddingWords = [];
880
- for (var i = 0; i < nPaddingBytes; i += 4) {
881
- paddingWords.push(paddingWord);
882
- }
883
- var padding = WordArray.create(paddingWords, nPaddingBytes);
884
- data.concat(padding);
885
- },
886
- unpad: function(data) {
887
- var nPaddingBytes = data.words[data.sigBytes - 1 >>> 2] & 255;
888
- data.sigBytes -= nPaddingBytes;
889
- }
890
- };
891
- C_lib.BlockCipher = Cipher.extend({
892
- cfg: Cipher.cfg.extend({
893
- mode: CBC,
894
- padding: Pkcs7
895
- }),
896
- reset: function() {
897
- var modeCreator;
898
- Cipher.reset.call(this);
899
- var cfg = this.cfg;
900
- var iv = cfg.iv;
901
- var mode = cfg.mode;
902
- if (this._xformMode == this._ENC_XFORM_MODE) {
903
- modeCreator = mode.createEncryptor;
904
- } else {
905
- modeCreator = mode.createDecryptor;
906
- this._minBufferSize = 1;
907
- }
908
- if (this._mode && this._mode.__creator == modeCreator) {
909
- this._mode.init(this, iv && iv.words);
910
- } else {
911
- this._mode = modeCreator.call(mode, this, iv && iv.words);
912
- this._mode.__creator = modeCreator;
913
- }
914
- },
915
- _doProcessBlock: function(words, offset) {
916
- this._mode.processBlock(words, offset);
917
- },
918
- _doFinalize: function() {
919
- var finalProcessedBlocks;
920
- var padding = this.cfg.padding;
921
- if (this._xformMode == this._ENC_XFORM_MODE) {
922
- padding.pad(this._data, this.blockSize);
923
- finalProcessedBlocks = this._process(true);
924
- } else {
925
- finalProcessedBlocks = this._process(true);
926
- padding.unpad(finalProcessedBlocks);
927
- }
928
- return finalProcessedBlocks;
929
- },
930
- blockSize: 128 / 32
931
- });
932
- var CipherParams = C_lib.CipherParams = Base.extend({
933
- init: function(cipherParams) {
934
- this.mixIn(cipherParams);
935
- },
936
- toString: function(formatter) {
937
- return (formatter || this.formatter).stringify(this);
938
- }
939
- });
940
- var C_format = C.format = {};
941
- var OpenSSLFormatter = C_format.OpenSSL = {
942
- stringify: function(cipherParams) {
943
- var wordArray;
944
- var ciphertext = cipherParams.ciphertext;
945
- var salt = cipherParams.salt;
946
- if (salt) {
947
- wordArray = WordArray.create([1398893684, 1701076831]).concat(salt).concat(ciphertext);
948
- } else {
949
- wordArray = ciphertext;
950
- }
951
- return wordArray.toString(Base64);
952
- },
953
- parse: function(openSSLStr) {
954
- var salt;
955
- var ciphertext = Base64.parse(openSSLStr);
956
- var ciphertextWords = ciphertext.words;
957
- if (ciphertextWords[0] == 1398893684 && ciphertextWords[1] == 1701076831) {
958
- salt = WordArray.create(ciphertextWords.slice(2, 4));
959
- ciphertextWords.splice(0, 4);
960
- ciphertext.sigBytes -= 16;
961
- }
962
- return CipherParams.create({ ciphertext, salt });
963
- }
964
- };
965
- var SerializableCipher = C_lib.SerializableCipher = Base.extend({
966
- cfg: Base.extend({
967
- format: OpenSSLFormatter
968
- }),
969
- encrypt: function(cipher, message, key, cfg) {
970
- cfg = this.cfg.extend(cfg);
971
- var encryptor = cipher.createEncryptor(key, cfg);
972
- var ciphertext = encryptor.finalize(message);
973
- var cipherCfg = encryptor.cfg;
974
- return CipherParams.create({
975
- ciphertext,
976
- key,
977
- iv: cipherCfg.iv,
978
- algorithm: cipher,
979
- mode: cipherCfg.mode,
980
- padding: cipherCfg.padding,
981
- blockSize: cipher.blockSize,
982
- formatter: cfg.format
983
- });
984
- },
985
- decrypt: function(cipher, ciphertext, key, cfg) {
986
- cfg = this.cfg.extend(cfg);
987
- ciphertext = this._parse(ciphertext, cfg.format);
988
- var plaintext = cipher.createDecryptor(key, cfg).finalize(ciphertext.ciphertext);
989
- return plaintext;
990
- },
991
- _parse: function(ciphertext, format) {
992
- if (typeof ciphertext == "string") {
993
- return format.parse(ciphertext, this);
994
- } else {
995
- return ciphertext;
996
- }
997
- }
998
- });
999
- var C_kdf = C.kdf = {};
1000
- var OpenSSLKdf = C_kdf.OpenSSL = {
1001
- execute: function(password, keySize, ivSize, salt) {
1002
- if (!salt) {
1003
- salt = WordArray.random(64 / 8);
1004
- }
1005
- var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
1006
- var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
1007
- key.sigBytes = keySize * 4;
1008
- return CipherParams.create({ key, iv, salt });
1009
- }
1010
- };
1011
- var PasswordBasedCipher = C_lib.PasswordBasedCipher = SerializableCipher.extend({
1012
- cfg: SerializableCipher.cfg.extend({
1013
- kdf: OpenSSLKdf
1014
- }),
1015
- encrypt: function(cipher, message, password, cfg) {
1016
- cfg = this.cfg.extend(cfg);
1017
- var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize);
1018
- cfg.iv = derivedParams.iv;
1019
- var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
1020
- ciphertext.mixIn(derivedParams);
1021
- return ciphertext;
1022
- },
1023
- decrypt: function(cipher, ciphertext, password, cfg) {
1024
- cfg = this.cfg.extend(cfg);
1025
- ciphertext = this._parse(ciphertext, cfg.format);
1026
- var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt);
1027
- cfg.iv = derivedParams.iv;
1028
- var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
1029
- return plaintext;
1030
- }
1031
- });
1032
- }();
1033
- });
1034
- })(cipherCore);
1035
- (function(module, exports) {
1036
- (function(root, factory, undef) {
1037
- {
1038
- module.exports = factory(core.exports, encBase64.exports, md5.exports, evpkdf.exports, cipherCore.exports);
1039
- }
1040
- })(commonjsGlobal, function(CryptoJS) {
1041
- (function() {
1042
- var C = CryptoJS;
1043
- var C_lib = C.lib;
1044
- var WordArray = C_lib.WordArray;
1045
- var BlockCipher = C_lib.BlockCipher;
1046
- var C_algo = C.algo;
1047
- var PC1 = [
1048
- 57,
1049
- 49,
1050
- 41,
1051
- 33,
1052
- 25,
1053
- 17,
1054
- 9,
1055
- 1,
1056
- 58,
1057
- 50,
1058
- 42,
1059
- 34,
1060
- 26,
1061
- 18,
1062
- 10,
1063
- 2,
1064
- 59,
1065
- 51,
1066
- 43,
1067
- 35,
1068
- 27,
1069
- 19,
1070
- 11,
1071
- 3,
1072
- 60,
1073
- 52,
1074
- 44,
1075
- 36,
1076
- 63,
1077
- 55,
1078
- 47,
1079
- 39,
1080
- 31,
1081
- 23,
1082
- 15,
1083
- 7,
1084
- 62,
1085
- 54,
1086
- 46,
1087
- 38,
1088
- 30,
1089
- 22,
1090
- 14,
1091
- 6,
1092
- 61,
1093
- 53,
1094
- 45,
1095
- 37,
1096
- 29,
1097
- 21,
1098
- 13,
1099
- 5,
1100
- 28,
1101
- 20,
1102
- 12,
1103
- 4
1104
- ];
1105
- var PC2 = [
1106
- 14,
1107
- 17,
1108
- 11,
1109
- 24,
1110
- 1,
1111
- 5,
1112
- 3,
1113
- 28,
1114
- 15,
1115
- 6,
1116
- 21,
1117
- 10,
1118
- 23,
1119
- 19,
1120
- 12,
1121
- 4,
1122
- 26,
1123
- 8,
1124
- 16,
1125
- 7,
1126
- 27,
1127
- 20,
1128
- 13,
1129
- 2,
1130
- 41,
1131
- 52,
1132
- 31,
1133
- 37,
1134
- 47,
1135
- 55,
1136
- 30,
1137
- 40,
1138
- 51,
1139
- 45,
1140
- 33,
1141
- 48,
1142
- 44,
1143
- 49,
1144
- 39,
1145
- 56,
1146
- 34,
1147
- 53,
1148
- 46,
1149
- 42,
1150
- 50,
1151
- 36,
1152
- 29,
1153
- 32
1154
- ];
1155
- var BIT_SHIFTS = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28];
1156
- var SBOX_P = [
1157
- {
1158
- 0: 8421888,
1159
- 268435456: 32768,
1160
- 536870912: 8421378,
1161
- 805306368: 2,
1162
- 1073741824: 512,
1163
- 1342177280: 8421890,
1164
- 1610612736: 8389122,
1165
- 1879048192: 8388608,
1166
- 2147483648: 514,
1167
- 2415919104: 8389120,
1168
- 2684354560: 33280,
1169
- 2952790016: 8421376,
1170
- 3221225472: 32770,
1171
- 3489660928: 8388610,
1172
- 3758096384: 0,
1173
- 4026531840: 33282,
1174
- 134217728: 0,
1175
- 402653184: 8421890,
1176
- 671088640: 33282,
1177
- 939524096: 32768,
1178
- 1207959552: 8421888,
1179
- 1476395008: 512,
1180
- 1744830464: 8421378,
1181
- 2013265920: 2,
1182
- 2281701376: 8389120,
1183
- 2550136832: 33280,
1184
- 2818572288: 8421376,
1185
- 3087007744: 8389122,
1186
- 3355443200: 8388610,
1187
- 3623878656: 32770,
1188
- 3892314112: 514,
1189
- 4160749568: 8388608,
1190
- 1: 32768,
1191
- 268435457: 2,
1192
- 536870913: 8421888,
1193
- 805306369: 8388608,
1194
- 1073741825: 8421378,
1195
- 1342177281: 33280,
1196
- 1610612737: 512,
1197
- 1879048193: 8389122,
1198
- 2147483649: 8421890,
1199
- 2415919105: 8421376,
1200
- 2684354561: 8388610,
1201
- 2952790017: 33282,
1202
- 3221225473: 514,
1203
- 3489660929: 8389120,
1204
- 3758096385: 32770,
1205
- 4026531841: 0,
1206
- 134217729: 8421890,
1207
- 402653185: 8421376,
1208
- 671088641: 8388608,
1209
- 939524097: 512,
1210
- 1207959553: 32768,
1211
- 1476395009: 8388610,
1212
- 1744830465: 2,
1213
- 2013265921: 33282,
1214
- 2281701377: 32770,
1215
- 2550136833: 8389122,
1216
- 2818572289: 514,
1217
- 3087007745: 8421888,
1218
- 3355443201: 8389120,
1219
- 3623878657: 0,
1220
- 3892314113: 33280,
1221
- 4160749569: 8421378
1222
- },
1223
- {
1224
- 0: 1074282512,
1225
- 16777216: 16384,
1226
- 33554432: 524288,
1227
- 50331648: 1074266128,
1228
- 67108864: 1073741840,
1229
- 83886080: 1074282496,
1230
- 100663296: 1073758208,
1231
- 117440512: 16,
1232
- 134217728: 540672,
1233
- 150994944: 1073758224,
1234
- 167772160: 1073741824,
1235
- 184549376: 540688,
1236
- 201326592: 524304,
1237
- 218103808: 0,
1238
- 234881024: 16400,
1239
- 251658240: 1074266112,
1240
- 8388608: 1073758208,
1241
- 25165824: 540688,
1242
- 41943040: 16,
1243
- 58720256: 1073758224,
1244
- 75497472: 1074282512,
1245
- 92274688: 1073741824,
1246
- 109051904: 524288,
1247
- 125829120: 1074266128,
1248
- 142606336: 524304,
1249
- 159383552: 0,
1250
- 176160768: 16384,
1251
- 192937984: 1074266112,
1252
- 209715200: 1073741840,
1253
- 226492416: 540672,
1254
- 243269632: 1074282496,
1255
- 260046848: 16400,
1256
- 268435456: 0,
1257
- 285212672: 1074266128,
1258
- 301989888: 1073758224,
1259
- 318767104: 1074282496,
1260
- 335544320: 1074266112,
1261
- 352321536: 16,
1262
- 369098752: 540688,
1263
- 385875968: 16384,
1264
- 402653184: 16400,
1265
- 419430400: 524288,
1266
- 436207616: 524304,
1267
- 452984832: 1073741840,
1268
- 469762048: 540672,
1269
- 486539264: 1073758208,
1270
- 503316480: 1073741824,
1271
- 520093696: 1074282512,
1272
- 276824064: 540688,
1273
- 293601280: 524288,
1274
- 310378496: 1074266112,
1275
- 327155712: 16384,
1276
- 343932928: 1073758208,
1277
- 360710144: 1074282512,
1278
- 377487360: 16,
1279
- 394264576: 1073741824,
1280
- 411041792: 1074282496,
1281
- 427819008: 1073741840,
1282
- 444596224: 1073758224,
1283
- 461373440: 524304,
1284
- 478150656: 0,
1285
- 494927872: 16400,
1286
- 511705088: 1074266128,
1287
- 528482304: 540672
1288
- },
1289
- {
1290
- 0: 260,
1291
- 1048576: 0,
1292
- 2097152: 67109120,
1293
- 3145728: 65796,
1294
- 4194304: 65540,
1295
- 5242880: 67108868,
1296
- 6291456: 67174660,
1297
- 7340032: 67174400,
1298
- 8388608: 67108864,
1299
- 9437184: 67174656,
1300
- 10485760: 65792,
1301
- 11534336: 67174404,
1302
- 12582912: 67109124,
1303
- 13631488: 65536,
1304
- 14680064: 4,
1305
- 15728640: 256,
1306
- 524288: 67174656,
1307
- 1572864: 67174404,
1308
- 2621440: 0,
1309
- 3670016: 67109120,
1310
- 4718592: 67108868,
1311
- 5767168: 65536,
1312
- 6815744: 65540,
1313
- 7864320: 260,
1314
- 8912896: 4,
1315
- 9961472: 256,
1316
- 11010048: 67174400,
1317
- 12058624: 65796,
1318
- 13107200: 65792,
1319
- 14155776: 67109124,
1320
- 15204352: 67174660,
1321
- 16252928: 67108864,
1322
- 16777216: 67174656,
1323
- 17825792: 65540,
1324
- 18874368: 65536,
1325
- 19922944: 67109120,
1326
- 20971520: 256,
1327
- 22020096: 67174660,
1328
- 23068672: 67108868,
1329
- 24117248: 0,
1330
- 25165824: 67109124,
1331
- 26214400: 67108864,
1332
- 27262976: 4,
1333
- 28311552: 65792,
1334
- 29360128: 67174400,
1335
- 30408704: 260,
1336
- 31457280: 65796,
1337
- 32505856: 67174404,
1338
- 17301504: 67108864,
1339
- 18350080: 260,
1340
- 19398656: 67174656,
1341
- 20447232: 0,
1342
- 21495808: 65540,
1343
- 22544384: 67109120,
1344
- 23592960: 256,
1345
- 24641536: 67174404,
1346
- 25690112: 65536,
1347
- 26738688: 67174660,
1348
- 27787264: 65796,
1349
- 28835840: 67108868,
1350
- 29884416: 67109124,
1351
- 30932992: 67174400,
1352
- 31981568: 4,
1353
- 33030144: 65792
1354
- },
1355
- {
1356
- 0: 2151682048,
1357
- 65536: 2147487808,
1358
- 131072: 4198464,
1359
- 196608: 2151677952,
1360
- 262144: 0,
1361
- 327680: 4198400,
1362
- 393216: 2147483712,
1363
- 458752: 4194368,
1364
- 524288: 2147483648,
1365
- 589824: 4194304,
1366
- 655360: 64,
1367
- 720896: 2147487744,
1368
- 786432: 2151678016,
1369
- 851968: 4160,
1370
- 917504: 4096,
1371
- 983040: 2151682112,
1372
- 32768: 2147487808,
1373
- 98304: 64,
1374
- 163840: 2151678016,
1375
- 229376: 2147487744,
1376
- 294912: 4198400,
1377
- 360448: 2151682112,
1378
- 425984: 0,
1379
- 491520: 2151677952,
1380
- 557056: 4096,
1381
- 622592: 2151682048,
1382
- 688128: 4194304,
1383
- 753664: 4160,
1384
- 819200: 2147483648,
1385
- 884736: 4194368,
1386
- 950272: 4198464,
1387
- 1015808: 2147483712,
1388
- 1048576: 4194368,
1389
- 1114112: 4198400,
1390
- 1179648: 2147483712,
1391
- 1245184: 0,
1392
- 1310720: 4160,
1393
- 1376256: 2151678016,
1394
- 1441792: 2151682048,
1395
- 1507328: 2147487808,
1396
- 1572864: 2151682112,
1397
- 1638400: 2147483648,
1398
- 1703936: 2151677952,
1399
- 1769472: 4198464,
1400
- 1835008: 2147487744,
1401
- 1900544: 4194304,
1402
- 1966080: 64,
1403
- 2031616: 4096,
1404
- 1081344: 2151677952,
1405
- 1146880: 2151682112,
1406
- 1212416: 0,
1407
- 1277952: 4198400,
1408
- 1343488: 4194368,
1409
- 1409024: 2147483648,
1410
- 1474560: 2147487808,
1411
- 1540096: 64,
1412
- 1605632: 2147483712,
1413
- 1671168: 4096,
1414
- 1736704: 2147487744,
1415
- 1802240: 2151678016,
1416
- 1867776: 4160,
1417
- 1933312: 2151682048,
1418
- 1998848: 4194304,
1419
- 2064384: 4198464
1420
- },
1421
- {
1422
- 0: 128,
1423
- 4096: 17039360,
1424
- 8192: 262144,
1425
- 12288: 536870912,
1426
- 16384: 537133184,
1427
- 20480: 16777344,
1428
- 24576: 553648256,
1429
- 28672: 262272,
1430
- 32768: 16777216,
1431
- 36864: 537133056,
1432
- 40960: 536871040,
1433
- 45056: 553910400,
1434
- 49152: 553910272,
1435
- 53248: 0,
1436
- 57344: 17039488,
1437
- 61440: 553648128,
1438
- 2048: 17039488,
1439
- 6144: 553648256,
1440
- 10240: 128,
1441
- 14336: 17039360,
1442
- 18432: 262144,
1443
- 22528: 537133184,
1444
- 26624: 553910272,
1445
- 30720: 536870912,
1446
- 34816: 537133056,
1447
- 38912: 0,
1448
- 43008: 553910400,
1449
- 47104: 16777344,
1450
- 51200: 536871040,
1451
- 55296: 553648128,
1452
- 59392: 16777216,
1453
- 63488: 262272,
1454
- 65536: 262144,
1455
- 69632: 128,
1456
- 73728: 536870912,
1457
- 77824: 553648256,
1458
- 81920: 16777344,
1459
- 86016: 553910272,
1460
- 90112: 537133184,
1461
- 94208: 16777216,
1462
- 98304: 553910400,
1463
- 102400: 553648128,
1464
- 106496: 17039360,
1465
- 110592: 537133056,
1466
- 114688: 262272,
1467
- 118784: 536871040,
1468
- 122880: 0,
1469
- 126976: 17039488,
1470
- 67584: 553648256,
1471
- 71680: 16777216,
1472
- 75776: 17039360,
1473
- 79872: 537133184,
1474
- 83968: 536870912,
1475
- 88064: 17039488,
1476
- 92160: 128,
1477
- 96256: 553910272,
1478
- 100352: 262272,
1479
- 104448: 553910400,
1480
- 108544: 0,
1481
- 112640: 553648128,
1482
- 116736: 16777344,
1483
- 120832: 262144,
1484
- 124928: 537133056,
1485
- 129024: 536871040
1486
- },
1487
- {
1488
- 0: 268435464,
1489
- 256: 8192,
1490
- 512: 270532608,
1491
- 768: 270540808,
1492
- 1024: 268443648,
1493
- 1280: 2097152,
1494
- 1536: 2097160,
1495
- 1792: 268435456,
1496
- 2048: 0,
1497
- 2304: 268443656,
1498
- 2560: 2105344,
1499
- 2816: 8,
1500
- 3072: 270532616,
1501
- 3328: 2105352,
1502
- 3584: 8200,
1503
- 3840: 270540800,
1504
- 128: 270532608,
1505
- 384: 270540808,
1506
- 640: 8,
1507
- 896: 2097152,
1508
- 1152: 2105352,
1509
- 1408: 268435464,
1510
- 1664: 268443648,
1511
- 1920: 8200,
1512
- 2176: 2097160,
1513
- 2432: 8192,
1514
- 2688: 268443656,
1515
- 2944: 270532616,
1516
- 3200: 0,
1517
- 3456: 270540800,
1518
- 3712: 2105344,
1519
- 3968: 268435456,
1520
- 4096: 268443648,
1521
- 4352: 270532616,
1522
- 4608: 270540808,
1523
- 4864: 8200,
1524
- 5120: 2097152,
1525
- 5376: 268435456,
1526
- 5632: 268435464,
1527
- 5888: 2105344,
1528
- 6144: 2105352,
1529
- 6400: 0,
1530
- 6656: 8,
1531
- 6912: 270532608,
1532
- 7168: 8192,
1533
- 7424: 268443656,
1534
- 7680: 270540800,
1535
- 7936: 2097160,
1536
- 4224: 8,
1537
- 4480: 2105344,
1538
- 4736: 2097152,
1539
- 4992: 268435464,
1540
- 5248: 268443648,
1541
- 5504: 8200,
1542
- 5760: 270540808,
1543
- 6016: 270532608,
1544
- 6272: 270540800,
1545
- 6528: 270532616,
1546
- 6784: 8192,
1547
- 7040: 2105352,
1548
- 7296: 2097160,
1549
- 7552: 0,
1550
- 7808: 268435456,
1551
- 8064: 268443656
1552
- },
1553
- {
1554
- 0: 1048576,
1555
- 16: 33555457,
1556
- 32: 1024,
1557
- 48: 1049601,
1558
- 64: 34604033,
1559
- 80: 0,
1560
- 96: 1,
1561
- 112: 34603009,
1562
- 128: 33555456,
1563
- 144: 1048577,
1564
- 160: 33554433,
1565
- 176: 34604032,
1566
- 192: 34603008,
1567
- 208: 1025,
1568
- 224: 1049600,
1569
- 240: 33554432,
1570
- 8: 34603009,
1571
- 24: 0,
1572
- 40: 33555457,
1573
- 56: 34604032,
1574
- 72: 1048576,
1575
- 88: 33554433,
1576
- 104: 33554432,
1577
- 120: 1025,
1578
- 136: 1049601,
1579
- 152: 33555456,
1580
- 168: 34603008,
1581
- 184: 1048577,
1582
- 200: 1024,
1583
- 216: 34604033,
1584
- 232: 1,
1585
- 248: 1049600,
1586
- 256: 33554432,
1587
- 272: 1048576,
1588
- 288: 33555457,
1589
- 304: 34603009,
1590
- 320: 1048577,
1591
- 336: 33555456,
1592
- 352: 34604032,
1593
- 368: 1049601,
1594
- 384: 1025,
1595
- 400: 34604033,
1596
- 416: 1049600,
1597
- 432: 1,
1598
- 448: 0,
1599
- 464: 34603008,
1600
- 480: 33554433,
1601
- 496: 1024,
1602
- 264: 1049600,
1603
- 280: 33555457,
1604
- 296: 34603009,
1605
- 312: 1,
1606
- 328: 33554432,
1607
- 344: 1048576,
1608
- 360: 1025,
1609
- 376: 34604032,
1610
- 392: 33554433,
1611
- 408: 34603008,
1612
- 424: 0,
1613
- 440: 34604033,
1614
- 456: 1049601,
1615
- 472: 1024,
1616
- 488: 33555456,
1617
- 504: 1048577
1618
- },
1619
- {
1620
- 0: 134219808,
1621
- 1: 131072,
1622
- 2: 134217728,
1623
- 3: 32,
1624
- 4: 131104,
1625
- 5: 134350880,
1626
- 6: 134350848,
1627
- 7: 2048,
1628
- 8: 134348800,
1629
- 9: 134219776,
1630
- 10: 133120,
1631
- 11: 134348832,
1632
- 12: 2080,
1633
- 13: 0,
1634
- 14: 134217760,
1635
- 15: 133152,
1636
- 2147483648: 2048,
1637
- 2147483649: 134350880,
1638
- 2147483650: 134219808,
1639
- 2147483651: 134217728,
1640
- 2147483652: 134348800,
1641
- 2147483653: 133120,
1642
- 2147483654: 133152,
1643
- 2147483655: 32,
1644
- 2147483656: 134217760,
1645
- 2147483657: 2080,
1646
- 2147483658: 131104,
1647
- 2147483659: 134350848,
1648
- 2147483660: 0,
1649
- 2147483661: 134348832,
1650
- 2147483662: 134219776,
1651
- 2147483663: 131072,
1652
- 16: 133152,
1653
- 17: 134350848,
1654
- 18: 32,
1655
- 19: 2048,
1656
- 20: 134219776,
1657
- 21: 134217760,
1658
- 22: 134348832,
1659
- 23: 131072,
1660
- 24: 0,
1661
- 25: 131104,
1662
- 26: 134348800,
1663
- 27: 134219808,
1664
- 28: 134350880,
1665
- 29: 133120,
1666
- 30: 2080,
1667
- 31: 134217728,
1668
- 2147483664: 131072,
1669
- 2147483665: 2048,
1670
- 2147483666: 134348832,
1671
- 2147483667: 133152,
1672
- 2147483668: 32,
1673
- 2147483669: 134348800,
1674
- 2147483670: 134217728,
1675
- 2147483671: 134219808,
1676
- 2147483672: 134350880,
1677
- 2147483673: 134217760,
1678
- 2147483674: 134219776,
1679
- 2147483675: 0,
1680
- 2147483676: 133120,
1681
- 2147483677: 2080,
1682
- 2147483678: 131104,
1683
- 2147483679: 134350848
1684
- }
1685
- ];
1686
- var SBOX_MASK = [
1687
- 4160749569,
1688
- 528482304,
1689
- 33030144,
1690
- 2064384,
1691
- 129024,
1692
- 8064,
1693
- 504,
1694
- 2147483679
1695
- ];
1696
- var DES = C_algo.DES = BlockCipher.extend({
1697
- _doReset: function() {
1698
- var key = this._key;
1699
- var keyWords = key.words;
1700
- var keyBits = [];
1701
- for (var i = 0; i < 56; i++) {
1702
- var keyBitPos = PC1[i] - 1;
1703
- keyBits[i] = keyWords[keyBitPos >>> 5] >>> 31 - keyBitPos % 32 & 1;
1704
- }
1705
- var subKeys = this._subKeys = [];
1706
- for (var nSubKey = 0; nSubKey < 16; nSubKey++) {
1707
- var subKey = subKeys[nSubKey] = [];
1708
- var bitShift = BIT_SHIFTS[nSubKey];
1709
- for (var i = 0; i < 24; i++) {
1710
- subKey[i / 6 | 0] |= keyBits[(PC2[i] - 1 + bitShift) % 28] << 31 - i % 6;
1711
- subKey[4 + (i / 6 | 0)] |= keyBits[28 + (PC2[i + 24] - 1 + bitShift) % 28] << 31 - i % 6;
1712
- }
1713
- subKey[0] = subKey[0] << 1 | subKey[0] >>> 31;
1714
- for (var i = 1; i < 7; i++) {
1715
- subKey[i] = subKey[i] >>> (i - 1) * 4 + 3;
1716
- }
1717
- subKey[7] = subKey[7] << 5 | subKey[7] >>> 27;
1718
- }
1719
- var invSubKeys = this._invSubKeys = [];
1720
- for (var i = 0; i < 16; i++) {
1721
- invSubKeys[i] = subKeys[15 - i];
1722
- }
1723
- },
1724
- encryptBlock: function(M, offset) {
1725
- this._doCryptBlock(M, offset, this._subKeys);
1726
- },
1727
- decryptBlock: function(M, offset) {
1728
- this._doCryptBlock(M, offset, this._invSubKeys);
1729
- },
1730
- _doCryptBlock: function(M, offset, subKeys) {
1731
- this._lBlock = M[offset];
1732
- this._rBlock = M[offset + 1];
1733
- exchangeLR.call(this, 4, 252645135);
1734
- exchangeLR.call(this, 16, 65535);
1735
- exchangeRL.call(this, 2, 858993459);
1736
- exchangeRL.call(this, 8, 16711935);
1737
- exchangeLR.call(this, 1, 1431655765);
1738
- for (var round = 0; round < 16; round++) {
1739
- var subKey = subKeys[round];
1740
- var lBlock = this._lBlock;
1741
- var rBlock = this._rBlock;
1742
- var f = 0;
1743
- for (var i = 0; i < 8; i++) {
1744
- f |= SBOX_P[i][((rBlock ^ subKey[i]) & SBOX_MASK[i]) >>> 0];
1745
- }
1746
- this._lBlock = rBlock;
1747
- this._rBlock = lBlock ^ f;
1748
- }
1749
- var t = this._lBlock;
1750
- this._lBlock = this._rBlock;
1751
- this._rBlock = t;
1752
- exchangeLR.call(this, 1, 1431655765);
1753
- exchangeRL.call(this, 8, 16711935);
1754
- exchangeRL.call(this, 2, 858993459);
1755
- exchangeLR.call(this, 16, 65535);
1756
- exchangeLR.call(this, 4, 252645135);
1757
- M[offset] = this._lBlock;
1758
- M[offset + 1] = this._rBlock;
1759
- },
1760
- keySize: 64 / 32,
1761
- ivSize: 64 / 32,
1762
- blockSize: 64 / 32
1763
- });
1764
- function exchangeLR(offset, mask) {
1765
- var t = (this._lBlock >>> offset ^ this._rBlock) & mask;
1766
- this._rBlock ^= t;
1767
- this._lBlock ^= t << offset;
1768
- }
1769
- function exchangeRL(offset, mask) {
1770
- var t = (this._rBlock >>> offset ^ this._lBlock) & mask;
1771
- this._lBlock ^= t;
1772
- this._rBlock ^= t << offset;
1773
- }
1774
- C.DES = BlockCipher._createHelper(DES);
1775
- var TripleDES = C_algo.TripleDES = BlockCipher.extend({
1776
- _doReset: function() {
1777
- var key = this._key;
1778
- var keyWords = key.words;
1779
- if (keyWords.length !== 2 && keyWords.length !== 4 && keyWords.length < 6) {
1780
- throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
1781
- }
1782
- var key1 = keyWords.slice(0, 2);
1783
- var key2 = keyWords.length < 4 ? keyWords.slice(0, 2) : keyWords.slice(2, 4);
1784
- var key3 = keyWords.length < 6 ? keyWords.slice(0, 2) : keyWords.slice(4, 6);
1785
- this._des1 = DES.createEncryptor(WordArray.create(key1));
1786
- this._des2 = DES.createEncryptor(WordArray.create(key2));
1787
- this._des3 = DES.createEncryptor(WordArray.create(key3));
1788
- },
1789
- encryptBlock: function(M, offset) {
1790
- this._des1.encryptBlock(M, offset);
1791
- this._des2.decryptBlock(M, offset);
1792
- this._des3.encryptBlock(M, offset);
1793
- },
1794
- decryptBlock: function(M, offset) {
1795
- this._des3.decryptBlock(M, offset);
1796
- this._des2.encryptBlock(M, offset);
1797
- this._des1.decryptBlock(M, offset);
1798
- },
1799
- keySize: 192 / 32,
1800
- ivSize: 64 / 32,
1801
- blockSize: 64 / 32
1802
- });
1803
- C.TripleDES = BlockCipher._createHelper(TripleDES);
1804
- })();
1805
- return CryptoJS.TripleDES;
1806
- });
1807
- })(tripledes);
1808
- var encUtf8$1 = { exports: {} };
1809
- (function(module, exports) {
1810
- (function(root, factory) {
1811
- {
1812
- module.exports = factory(core.exports);
1813
- }
1814
- })(commonjsGlobal, function(CryptoJS) {
1815
- return CryptoJS.enc.Utf8;
1816
- });
1817
- })(encUtf8$1);
1818
- var encUtf8 = encUtf8$1.exports;
1819
- var UTF8 = /* @__PURE__ */ _mergeNamespaces({
1820
- __proto__: null,
1821
- "default": encUtf8
1822
- }, [encUtf8$1.exports]);
1823
- export { UTF8 as U, tripledes as t };