costy-plus 1.0.10-0

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 (200) hide show
  1. package/README.md +1 -0
  2. package/dist/es/_virtual/_commonjsHelpers.js +4 -0
  3. package/dist/es/_virtual/vueComponentNormalizer.js +30 -0
  4. package/dist/es/_virtual/vuescroll-native.js +4 -0
  5. package/dist/es/index.d.ts +5 -0
  6. package/dist/es/index.js +26 -0
  7. package/dist/es/node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js +201 -0
  8. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js +1 -0
  9. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js +12 -0
  10. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js +13 -0
  11. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/helpers/metadata.js +10 -0
  12. package/dist/es/node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.14/node_modules/vuescroll/dist/vuescroll-native.js +1188 -0
  13. package/dist/es/src/BackgroundGrid/PropsMinix.d.ts +12 -0
  14. package/dist/es/src/BackgroundGrid/PropsMinix.js +60 -0
  15. package/dist/es/src/BackgroundGrid/index.js +6 -0
  16. package/dist/es/src/BackgroundGrid/index.vue.d.ts +19 -0
  17. package/dist/es/src/BackgroundGrid/index.vue_vue_type_script_lang.js +118 -0
  18. package/dist/es/src/BackgroundGrid/index.vue_vue_type_template_lang.js +20 -0
  19. package/dist/es/src/BackgroundGrid/index2.js +24 -0
  20. package/dist/es/src/ECGWave/index.js +6 -0
  21. package/dist/es/src/ECGWave/index.vue.d.ts +15 -0
  22. package/dist/es/src/ECGWave/index.vue_vue_type_script_lang.js +90 -0
  23. package/dist/es/src/ECGWave/index.vue_vue_type_template_lang.js +118 -0
  24. package/dist/es/src/ECGWave/index2.js +24 -0
  25. package/dist/es/src/ECGWave/method.js +841 -0
  26. package/dist/es/src/ECGWave/style/index.css +46 -0
  27. package/dist/es/src/EnlargeWave/index.js +6 -0
  28. package/dist/es/src/EnlargeWave/index.vue.d.ts +10 -0
  29. package/dist/es/src/EnlargeWave/index.vue_vue_type_script_lang.js +56 -0
  30. package/dist/es/src/EnlargeWave/index.vue_vue_type_template_lang.js +178 -0
  31. package/dist/es/src/EnlargeWave/index2.js +24 -0
  32. package/dist/es/src/EnlargeWave/medthod.d.ts +185 -0
  33. package/dist/es/src/EnlargeWave/medthod.js +753 -0
  34. package/dist/es/src/EnlargeWave/style/index.css +93 -0
  35. package/dist/es/src/FCGWave/components/And2V5LeadPower.js +24 -0
  36. package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1114 -0
  37. package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_template_lang.js +31 -0
  38. package/dist/es/src/FCGWave/components/LeadPower12.js +24 -0
  39. package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +376 -0
  40. package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_template_lang.js +31 -0
  41. package/dist/es/src/FCGWave/components/PowerHistogram.js +24 -0
  42. package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +256 -0
  43. package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_template_lang.js +31 -0
  44. package/dist/es/src/FCGWave/index.js +6 -0
  45. package/dist/es/src/FCGWave/index.vue.d.ts +6 -0
  46. package/dist/es/src/FCGWave/index.vue_vue_type_script_lang.js +28 -0
  47. package/dist/es/src/FCGWave/index.vue_vue_type_template_lang.js +38 -0
  48. package/dist/es/src/FCGWave/index2.js +24 -0
  49. package/dist/es/src/FCGWave/method.d.ts +49 -0
  50. package/dist/es/src/FCGWave/method.js +94 -0
  51. package/dist/es/src/FCGWave/style/index.css +43 -0
  52. package/dist/es/src/HFECGWave/components/Detail.js +24 -0
  53. package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +293 -0
  54. package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_template_lang.js +134 -0
  55. package/dist/es/src/HFECGWave/components/Routine.js +24 -0
  56. package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +302 -0
  57. package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_template_lang.js +47 -0
  58. package/dist/es/src/HFECGWave/index.js +6 -0
  59. package/dist/es/src/HFECGWave/index.vue.d.ts +6 -0
  60. package/dist/es/src/HFECGWave/index.vue_vue_type_script_lang.js +26 -0
  61. package/dist/es/src/HFECGWave/index.vue_vue_type_template_lang.js +36 -0
  62. package/dist/es/src/HFECGWave/index2.js +24 -0
  63. package/dist/es/src/HFECGWave/method.js +86 -0
  64. package/dist/es/src/HFECGWave/style/index.css +58 -0
  65. package/dist/es/src/MagnifierWave/index.js +24 -0
  66. package/dist/es/src/MagnifierWave/index.vue.d.ts +11 -0
  67. package/dist/es/src/MagnifierWave/index.vue_vue_type_script_lang.js +49 -0
  68. package/dist/es/src/MagnifierWave/index.vue_vue_type_template_lang.js +34 -0
  69. package/dist/es/src/MagnifierWave/medthod.d.ts +78 -0
  70. package/dist/es/src/MagnifierWave/medthod.js +276 -0
  71. package/dist/es/src/MagnifierWave/style/index.css +22 -0
  72. package/dist/es/src/MeasuringRuler/index.js +6 -0
  73. package/dist/es/src/MeasuringRuler/index.vue.d.ts +47 -0
  74. package/dist/es/src/MeasuringRuler/index.vue_vue_type_script_lang.js +300 -0
  75. package/dist/es/src/MeasuringRuler/index.vue_vue_type_template_lang.js +17 -0
  76. package/dist/es/src/MeasuringRuler/index2.js +24 -0
  77. package/dist/es/src/MeasuringRuler/style/index.css +0 -0
  78. package/dist/es/src/ParallelRuler/index.js +6 -0
  79. package/dist/es/src/ParallelRuler/index.vue.d.ts +46 -0
  80. package/dist/es/src/ParallelRuler/index.vue_vue_type_script_lang.js +312 -0
  81. package/dist/es/src/ParallelRuler/index.vue_vue_type_template_lang.js +17 -0
  82. package/dist/es/src/ParallelRuler/index2.js +24 -0
  83. package/dist/es/src/Text/index.js +6 -0
  84. package/dist/es/src/Text/index.vue.d.ts +7 -0
  85. package/dist/es/src/Text/index.vue_vue_type_script_lang.js +26 -0
  86. package/dist/es/src/Text/index.vue_vue_type_template_lang.js +10 -0
  87. package/dist/es/src/Text/index2.js +24 -0
  88. package/dist/es/src/Text/style/index.css +6 -0
  89. package/dist/es/src/Text/style/other.css +3 -0
  90. package/dist/es/src/index.d.ts +8 -0
  91. package/dist/es/src/index.js +18 -0
  92. package/dist/es/static/images/heart.jpg +0 -0
  93. package/dist/es/static/images/heartSection.jpg +0 -0
  94. package/dist/es/typings/Common.d.ts +140 -0
  95. package/dist/es/typings/MXBackgroundGrid.d.ts +24 -0
  96. package/dist/es/typings/MXECGWaveComponents.d.ts +151 -0
  97. package/dist/es/typings/MXFCGWaveComponents.d.ts +10 -0
  98. package/dist/es/typings/MXMeasuringRuler.d.ts +14 -0
  99. package/dist/es/typings/MXParallelRuler.d.ts +14 -0
  100. package/dist/es/typings/component.d.ts +3 -0
  101. package/dist/lib/_virtual/_commonjsHelpers.js +1 -0
  102. package/dist/lib/_virtual/vueComponentNormalizer.js +1 -0
  103. package/dist/lib/_virtual/vuescroll-native.js +1 -0
  104. package/dist/lib/index.d.ts +5 -0
  105. package/dist/lib/index.js +1 -0
  106. package/dist/lib/node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js +5 -0
  107. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js +1 -0
  108. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js +1 -0
  109. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js +1 -0
  110. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/helpers/metadata.js +1 -0
  111. package/dist/lib/node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.14/node_modules/vuescroll/dist/vuescroll-native.js +4 -0
  112. package/dist/lib/src/BackgroundGrid/PropsMinix.d.ts +12 -0
  113. package/dist/lib/src/BackgroundGrid/PropsMinix.js +1 -0
  114. package/dist/lib/src/BackgroundGrid/index.js +1 -0
  115. package/dist/lib/src/BackgroundGrid/index.vue.d.ts +19 -0
  116. package/dist/lib/src/BackgroundGrid/index.vue_vue_type_script_lang.js +1 -0
  117. package/dist/lib/src/BackgroundGrid/index.vue_vue_type_template_lang.js +1 -0
  118. package/dist/lib/src/BackgroundGrid/index2.js +1 -0
  119. package/dist/lib/src/ECGWave/index.js +1 -0
  120. package/dist/lib/src/ECGWave/index.vue.d.ts +15 -0
  121. package/dist/lib/src/ECGWave/index.vue_vue_type_script_lang.js +1 -0
  122. package/dist/lib/src/ECGWave/index.vue_vue_type_template_lang.js +1 -0
  123. package/dist/lib/src/ECGWave/index2.js +1 -0
  124. package/dist/lib/src/ECGWave/method.js +1 -0
  125. package/dist/lib/src/ECGWave/style/index.css +46 -0
  126. package/dist/lib/src/EnlargeWave/index.js +1 -0
  127. package/dist/lib/src/EnlargeWave/index.vue.d.ts +10 -0
  128. package/dist/lib/src/EnlargeWave/index.vue_vue_type_script_lang.js +1 -0
  129. package/dist/lib/src/EnlargeWave/index.vue_vue_type_template_lang.js +1 -0
  130. package/dist/lib/src/EnlargeWave/index2.js +1 -0
  131. package/dist/lib/src/EnlargeWave/medthod.d.ts +185 -0
  132. package/dist/lib/src/EnlargeWave/medthod.js +1 -0
  133. package/dist/lib/src/EnlargeWave/style/index.css +93 -0
  134. package/dist/lib/src/FCGWave/components/And2V5LeadPower.js +1 -0
  135. package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1 -0
  136. package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_template_lang.js +1 -0
  137. package/dist/lib/src/FCGWave/components/LeadPower12.js +1 -0
  138. package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +1 -0
  139. package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_template_lang.js +1 -0
  140. package/dist/lib/src/FCGWave/components/PowerHistogram.js +1 -0
  141. package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +3 -0
  142. package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_template_lang.js +1 -0
  143. package/dist/lib/src/FCGWave/index.js +1 -0
  144. package/dist/lib/src/FCGWave/index.vue.d.ts +6 -0
  145. package/dist/lib/src/FCGWave/index.vue_vue_type_script_lang.js +1 -0
  146. package/dist/lib/src/FCGWave/index.vue_vue_type_template_lang.js +1 -0
  147. package/dist/lib/src/FCGWave/index2.js +1 -0
  148. package/dist/lib/src/FCGWave/method.d.ts +49 -0
  149. package/dist/lib/src/FCGWave/method.js +1 -0
  150. package/dist/lib/src/FCGWave/style/index.css +43 -0
  151. package/dist/lib/src/HFECGWave/components/Detail.js +1 -0
  152. package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +1 -0
  153. package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_template_lang.js +1 -0
  154. package/dist/lib/src/HFECGWave/components/Routine.js +1 -0
  155. package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +1 -0
  156. package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_template_lang.js +1 -0
  157. package/dist/lib/src/HFECGWave/index.js +1 -0
  158. package/dist/lib/src/HFECGWave/index.vue.d.ts +6 -0
  159. package/dist/lib/src/HFECGWave/index.vue_vue_type_script_lang.js +1 -0
  160. package/dist/lib/src/HFECGWave/index.vue_vue_type_template_lang.js +1 -0
  161. package/dist/lib/src/HFECGWave/index2.js +1 -0
  162. package/dist/lib/src/HFECGWave/method.js +1 -0
  163. package/dist/lib/src/HFECGWave/style/index.css +58 -0
  164. package/dist/lib/src/MagnifierWave/index.js +1 -0
  165. package/dist/lib/src/MagnifierWave/index.vue.d.ts +11 -0
  166. package/dist/lib/src/MagnifierWave/index.vue_vue_type_script_lang.js +1 -0
  167. package/dist/lib/src/MagnifierWave/index.vue_vue_type_template_lang.js +1 -0
  168. package/dist/lib/src/MagnifierWave/medthod.d.ts +78 -0
  169. package/dist/lib/src/MagnifierWave/medthod.js +1 -0
  170. package/dist/lib/src/MagnifierWave/style/index.css +22 -0
  171. package/dist/lib/src/MeasuringRuler/index.js +1 -0
  172. package/dist/lib/src/MeasuringRuler/index.vue.d.ts +47 -0
  173. package/dist/lib/src/MeasuringRuler/index.vue_vue_type_script_lang.js +3 -0
  174. package/dist/lib/src/MeasuringRuler/index.vue_vue_type_template_lang.js +1 -0
  175. package/dist/lib/src/MeasuringRuler/index2.js +1 -0
  176. package/dist/lib/src/MeasuringRuler/style/index.css +0 -0
  177. package/dist/lib/src/ParallelRuler/index.js +1 -0
  178. package/dist/lib/src/ParallelRuler/index.vue.d.ts +46 -0
  179. package/dist/lib/src/ParallelRuler/index.vue_vue_type_script_lang.js +1 -0
  180. package/dist/lib/src/ParallelRuler/index.vue_vue_type_template_lang.js +1 -0
  181. package/dist/lib/src/ParallelRuler/index2.js +1 -0
  182. package/dist/lib/src/Text/index.js +1 -0
  183. package/dist/lib/src/Text/index.vue.d.ts +7 -0
  184. package/dist/lib/src/Text/index.vue_vue_type_script_lang.js +1 -0
  185. package/dist/lib/src/Text/index.vue_vue_type_template_lang.js +1 -0
  186. package/dist/lib/src/Text/index2.js +1 -0
  187. package/dist/lib/src/Text/style/index.css +6 -0
  188. package/dist/lib/src/Text/style/other.css +3 -0
  189. package/dist/lib/src/index.d.ts +8 -0
  190. package/dist/lib/src/index.js +1 -0
  191. package/dist/lib/static/images/heart.jpg +0 -0
  192. package/dist/lib/static/images/heartSection.jpg +0 -0
  193. package/dist/lib/typings/Common.d.ts +140 -0
  194. package/dist/lib/typings/MXBackgroundGrid.d.ts +24 -0
  195. package/dist/lib/typings/MXECGWaveComponents.d.ts +151 -0
  196. package/dist/lib/typings/MXFCGWaveComponents.d.ts +10 -0
  197. package/dist/lib/typings/MXMeasuringRuler.d.ts +14 -0
  198. package/dist/lib/typings/MXParallelRuler.d.ts +14 -0
  199. package/dist/lib/typings/component.d.ts +3 -0
  200. package/package.json +27 -0
@@ -0,0 +1,1188 @@
1
+ import { commonjsGlobal as Ve } from "../../../../../../_virtual/_commonjsHelpers.js";
2
+ import { v as ce } from "../../../../../../_virtual/vuescroll-native.js";
3
+ import Xe from "vue";
4
+ (function(ue, Ye) {
5
+ (function(O, H) {
6
+ ue.exports = H(Xe);
7
+ })(Ve, function(O) {
8
+ O = O && O.hasOwnProperty("default") ? O.default : O;
9
+ var H = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
10
+ return typeof t;
11
+ } : function(t) {
12
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
13
+ }, N = function(t, e) {
14
+ if (!(t instanceof e))
15
+ throw new TypeError("Cannot call a class as a function");
16
+ }, L = function() {
17
+ function t(e, r) {
18
+ for (var i = 0; i < r.length; i++) {
19
+ var n = r[i];
20
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
21
+ }
22
+ }
23
+ return function(e, r, i) {
24
+ return r && t(e.prototype, r), i && t(e, i), e;
25
+ };
26
+ }(), f = function(t, e, r) {
27
+ return e in t ? Object.defineProperty(t, e, {
28
+ value: r,
29
+ enumerable: !0,
30
+ configurable: !0,
31
+ writable: !0
32
+ }) : t[e] = r, t;
33
+ }, z = Object.assign || function(t) {
34
+ for (var e = 1; e < arguments.length; e++) {
35
+ var r = arguments[e];
36
+ for (var i in r)
37
+ Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
38
+ }
39
+ return t;
40
+ }, w = function(t) {
41
+ if (Array.isArray(t)) {
42
+ for (var e = 0, r = Array(t.length); e < t.length; e++)
43
+ r[e] = t[e];
44
+ return r;
45
+ } else
46
+ return Array.from(t);
47
+ };
48
+ function Q() {
49
+ if (R())
50
+ return !1;
51
+ var t = navigator.userAgent.toLowerCase();
52
+ return t.indexOf("msie") !== -1 || t.indexOf("trident") !== -1 || t.indexOf(" edge/") !== -1;
53
+ }
54
+ var he = function() {
55
+ if (R())
56
+ return !1;
57
+ var e = navigator.userAgent;
58
+ return !!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
59
+ }, R = function() {
60
+ return O.prototype.$isServer;
61
+ }, U = function() {
62
+ function t() {
63
+ N(this, t);
64
+ }
65
+ return L(t, [{
66
+ key: "getEventObject",
67
+ value: function(r) {
68
+ return this.touchObject ? this.isTouch ? r.touches : [r] : null;
69
+ }
70
+ }, {
71
+ key: "getTouchObject",
72
+ value: function() {
73
+ if (R())
74
+ return null;
75
+ this.isTouch = !1;
76
+ var r = navigator.userAgent, i = navigator.platform, n = {};
77
+ switch (n.touch = "ontouchstart" in window && !window.opera || "msmaxtouchpoints" in window.navigator || "maxtouchpoints" in window.navigator || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, n.nonDeskTouch = n.touch && !/win32/i.test(i) || n.touch && /win32/i.test(i) && /mobile/i.test(r), n.eventType = "onmousedown" in window && !n.nonDeskTouch ? "mouse" : "ontouchstart" in window ? "touch" : "msmaxtouchpoints" in window.navigator || navigator.msMaxTouchPoints > 0 ? "mstouchpoints" : "maxtouchpoints" in window.navigator || navigator.maxTouchPoints > 0 ? "touchpoints" : "mouse", n.eventType) {
78
+ case "mouse":
79
+ n.touchstart = "mousedown", n.touchend = "mouseup", n.touchmove = "mousemove", n.touchenter = "mouseenter", n.touchmove = "mousemove", n.touchleave = "mouseleave";
80
+ break;
81
+ case "touch":
82
+ n.touchstart = "touchstart", n.touchend = "touchend", n.touchmove = "touchmove", n.touchcancel = "touchcancel", n.touchenter = "touchstart", n.touchmove = "touchmove", n.touchleave = "touchend", this.isTouch = !0;
83
+ break;
84
+ case "mstouchpoints":
85
+ n.touchstart = "MSPointerDown", n.touchend = "MSPointerUp", n.touchmove = "MSPointerMove", n.touchcancel = "MSPointerCancel", n.touchenter = "MSPointerDown", n.touchmove = "MSPointerMove", n.touchleave = "MSPointerUp";
86
+ break;
87
+ case "touchpoints":
88
+ n.touchstart = "pointerdown", n.touchend = "pointerup", n.touchmove = "pointermove", n.touchcancel = "pointercancel", n.touchenter = "pointerdown", n.touchmove = "pointermove", n.touchleave = "pointerup";
89
+ break;
90
+ }
91
+ return this.touchObject = n;
92
+ }
93
+ }]), t;
94
+ }(), G = function() {
95
+ function t() {
96
+ var e = this;
97
+ N(this, t), this.originPixelRatio = this.getRatio(), this.lastPixelRatio = this.originPixelRatio, window.addEventListener("resize", function() {
98
+ e.lastPixelRatio = e.getRatio();
99
+ });
100
+ }
101
+ return L(t, [{
102
+ key: "getRatio",
103
+ value: function() {
104
+ var r = 0, i = window.screen, n = navigator.userAgent.toLowerCase();
105
+ return window.devicePixelRatio !== void 0 ? r = window.devicePixelRatio : ~n.indexOf("msie") ? i.deviceXDPI && i.logicalXDPI && (r = i.deviceXDPI / i.logicalXDPI) : window.outerWidth !== void 0 && window.innerWidth !== void 0 && (r = window.outerWidth / window.innerWidth), r && (r = Math.round(r * 100)), r;
106
+ }
107
+ }, {
108
+ key: "getRatioBetweenPreAndCurrent",
109
+ value: function() {
110
+ return this.originPixelRatio / this.lastPixelRatio;
111
+ }
112
+ }]), t;
113
+ }();
114
+ function V(t, e, r) {
115
+ if (r && W(e))
116
+ return t;
117
+ if ($(t))
118
+ e = [], t.forEach(function(n, a) {
119
+ e[a] = V(n, e[a]);
120
+ });
121
+ else if (t) {
122
+ if (!K(t))
123
+ return t;
124
+ e = {};
125
+ for (var i in t)
126
+ e[i] = H(t[i]) === "object" ? V(t[i], e[i]) : t[i];
127
+ }
128
+ return e;
129
+ }
130
+ function E(t, e, r, i) {
131
+ if (i && W(e))
132
+ return t;
133
+ if (e = e || {}, $(t))
134
+ !$(e) && r && (e = []), $(e) && t.forEach(function(a, s) {
135
+ e[s] = E(a, e[s], r, i);
136
+ });
137
+ else if (t)
138
+ if (!K(t))
139
+ r && (e = t);
140
+ else
141
+ for (var n in t)
142
+ H(t[n]) === "object" ? W(e[n]) ? e[n] = V(t[n], e[n], i) : E(t[n], e[n], r, i) : (W(e[n]) || r) && (e[n] = t[n]);
143
+ return e;
144
+ }
145
+ function de(t, e, r, i) {
146
+ !r[e] && typeof r != "function" || (i = i || e, Object.defineProperty(t, e, {
147
+ get: function() {
148
+ return r[i];
149
+ },
150
+ configurable: !0
151
+ }));
152
+ }
153
+ var k = void 0, T = void 0;
154
+ function fe() {
155
+ if (R())
156
+ return 0;
157
+ if (T || (T = new G()), k !== void 0)
158
+ return k * T.getRatioBetweenPreAndCurrent();
159
+ var t = document.createElement("div");
160
+ t.style.visibility = "hidden", t.style.width = "100px", t.style.position = "absolute", t.style.top = "-9999px", document.body.appendChild(t);
161
+ var e = t.offsetWidth;
162
+ t.style.overflow = "scroll";
163
+ var r = document.createElement("div");
164
+ r.style.width = "100%", t.appendChild(r);
165
+ var i = r.offsetWidth;
166
+ return t.parentNode.removeChild(t), k = e - i, T || (T = new G()), k * T.getRatioBetweenPreAndCurrent();
167
+ }
168
+ function b(t, e, r) {
169
+ var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1, n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : "on";
170
+ n == "on" ? t.addEventListener(e, r, i) : t.removeEventListener(e, r, i);
171
+ }
172
+ var D = function(e) {
173
+ console.warn("[vuescroll] " + e);
174
+ };
175
+ function Z(t, e) {
176
+ var r = !1;
177
+ if (!t || !e)
178
+ return r;
179
+ for (; t.parentNode !== e && t.parentNode.nodeType !== 9 && !t.parentNode._isVuescroll; )
180
+ t = t.parentNode;
181
+ return t.parentNode == e && (r = !0), r;
182
+ }
183
+ function ve(t) {
184
+ var e = document.documentElement.style, r;
185
+ t.opera && Object.prototype.toString.call(opera) === "[object Opera]" ? r = "presto" : "MozAppearance" in e ? r = "gecko" : "WebkitAppearance" in e ? r = "webkit" : typeof navigator.cpuClass == "string" && (r = "trident");
186
+ var i = {
187
+ trident: "ms",
188
+ gecko: "moz",
189
+ webkit: "webkit",
190
+ presto: "O"
191
+ }[r];
192
+ return i;
193
+ }
194
+ function pe(t, e) {
195
+ if (R())
196
+ return !1;
197
+ var r = "-" + ve(window) + "-" + e, i = document.createElement("div");
198
+ return i.style[t] = r, i.style[t] == r ? r : !1;
199
+ }
200
+ function X(t) {
201
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, n = arguments[4];
202
+ if (e && e.length > 1)
203
+ return n ? [].concat(w(r), w(e)) : [].concat(w(e), w(r));
204
+ e = e[0];
205
+ var a = ge(e), s = a.ch, o = a.tag, l = a.isComponent;
206
+ return l && (e.data = E(
207
+ { attrs: e.componentOptions.propsData },
208
+ e.data,
209
+ !1,
210
+ !0
211
+ )), s = n ? [].concat(w(r), w(s)) : [].concat(w(s), w(r)), delete e.data.slot, t(o, E(i, e.data, !1, !0), s);
212
+ }
213
+ function ge(t) {
214
+ if (!t || t.length > 1)
215
+ return {};
216
+ t = t[0] ? t[0] : t;
217
+ var e = !!t.componentOptions, r = void 0, i = void 0;
218
+ return e ? (r = t.componentOptions.children || [], i = t.componentOptions.tag) : (r = t.children || [], i = t.tag), {
219
+ isComponent: e,
220
+ ch: r,
221
+ tag: i
222
+ };
223
+ }
224
+ function y(t) {
225
+ var e = t.$parent;
226
+ return !e._isVuescrollRoot && e && (e = e.$parent), e;
227
+ }
228
+ var $ = function(e) {
229
+ return Array.isArray(e);
230
+ }, K = function(e) {
231
+ return Object.prototype.toString.call(e) == "[object Object]";
232
+ }, W = function(e) {
233
+ return typeof e == "undefined";
234
+ };
235
+ function x(t, e) {
236
+ var r = void 0;
237
+ return (r = /(-?\d+(?:\.\d+?)?)%$/.exec(t)) ? (r = r[1] - 0, r = e * r / 100) : r = t - 0, r;
238
+ }
239
+ function me(t, e) {
240
+ if (!(R() || document.getElementById(t))) {
241
+ var r = document.head || doc.getElementsByTagName("head")[0], i = document.createElement("style");
242
+ i.id = t, i.type = "text/css", i.styleSheet ? i.styleSheet.cssText = e : i.appendChild(document.createTextNode(e)), r.appendChild(i);
243
+ }
244
+ }
245
+ function be() {
246
+ {
247
+ var t = `.__hidebar::-webkit-scrollbar {
248
+ width: 0;
249
+ height: 0;
250
+ }`;
251
+ me("vuescroll-hide-ios-bar", t);
252
+ }
253
+ }
254
+ var we = {
255
+ mounted: function() {
256
+ A[this._uid] = this;
257
+ },
258
+ beforeDestroy: function() {
259
+ delete A[this._uid];
260
+ },
261
+ methods: {
262
+ scrollTo: function(e, r, i) {
263
+ var n = e.x, a = e.y;
264
+ (r === !0 || typeof r == "undefined") && (r = this.mergedOptions.scrollPanel.speed), this.internalScrollTo(n, a, r, i);
265
+ },
266
+ scrollBy: function(e, r, i) {
267
+ var n = e.dx, a = n === void 0 ? 0 : n, s = e.dy, o = s === void 0 ? 0 : s, l = this.getPosition(), c = l.scrollLeft, u = c === void 0 ? 0 : c, h = l.scrollTop, d = h === void 0 ? 0 : h;
268
+ a && (u += x(a, this.scrollPanelElm.scrollWidth - this.$el.clientWidth)), o && (d += x(o, this.scrollPanelElm.scrollHeight - this.$el.clientHeight)), this.internalScrollTo(u, d, r, i);
269
+ },
270
+ scrollIntoView: function(e) {
271
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, i = this.$el;
272
+ if (typeof e == "string" && (e = i.querySelector(e)), !Z(e, i)) {
273
+ D("The element or selector you passed is not the element of Vuescroll, please pass the element that is in Vuescroll to scrollIntoView API. ");
274
+ return;
275
+ }
276
+ var n = this.$el.getBoundingClientRect(), a = n.left, s = n.top, o = e.getBoundingClientRect(), l = o.left, c = o.top, u = a - l, h = s - c;
277
+ this.scrollBy({
278
+ dx: -u,
279
+ dy: -h
280
+ }, r);
281
+ },
282
+ refresh: function() {
283
+ this.refreshInternalStatus(), this.$nextTick(this.refreshInternalStatus);
284
+ }
285
+ }
286
+ }, A = {};
287
+ function Se() {
288
+ for (var t in A)
289
+ A[t].refresh();
290
+ }
291
+ var J = {
292
+ vuescroll: {
293
+ sizeStrategy: "percent",
294
+ detectResize: !0,
295
+ locking: !0
296
+ },
297
+ scrollPanel: {
298
+ initialScrollY: !1,
299
+ initialScrollX: !1,
300
+ scrollingX: !0,
301
+ scrollingY: !0,
302
+ speed: 300,
303
+ easing: void 0,
304
+ verticalNativeBarPos: "right",
305
+ maxHeight: void 0,
306
+ maxWidth: void 0
307
+ },
308
+ rail: {
309
+ background: "#01a99a",
310
+ opacity: 0,
311
+ border: "none",
312
+ size: "6px",
313
+ specifyBorderRadius: !1,
314
+ gutterOfEnds: null,
315
+ gutterOfSide: "2px",
316
+ keepShow: !1
317
+ },
318
+ bar: {
319
+ showDelay: 500,
320
+ specifyBorderRadius: !1,
321
+ onlyShowBarOnScroll: !0,
322
+ keepShow: !1,
323
+ background: "rgb(3, 185, 118)",
324
+ opacity: 1,
325
+ size: "6px",
326
+ minSize: 0,
327
+ disable: !1
328
+ },
329
+ scrollButton: {
330
+ enable: !1,
331
+ background: "rgb(3, 185, 118)",
332
+ opacity: 1,
333
+ step: 180,
334
+ mousedownStep: 30
335
+ }
336
+ };
337
+ function ye(t) {
338
+ var e = !1, r = t.scrollPanel, i = t.bar, n = i.vBar, a = i.hBar, s = t.rail, o = s.vRail, l = s.hRail, c = r.initialScrollY, u = r.initialScrollX;
339
+ return c && !String(c).match(/^\d+(\.\d+)?(%)?$/) && D("The prop `initialScrollY` or `initialScrollX` should be a percent number like `10%` or an exact number that greater than or equal to 0 like `100`."), u && !String(u).match(/^\d+(\.\d+)?(%)?$/) && D("The prop `initialScrollY` or `initialScrollX` should be a percent number like `10%` or an exact number that greater than or equal to 0 like `100`."), (n || a || o || l) && D("The options: vRail, hRail, vBar, hBar have been deprecated since v4.7.0,please use corresponing rail/bar instead!"), _ && (_ = [].concat(_), _.forEach(function(h) {
340
+ h(t) && (e = !0);
341
+ })), e;
342
+ }
343
+ var _ = null, Be = function(e, r) {
344
+ e = [].concat(e), e.forEach(function(i) {
345
+ E(i, J);
346
+ }), _ = r;
347
+ }, Pe = ["mergedOptions.vuescroll.pullRefresh.tips", "mergedOptions.vuescroll.pushLoad.tips", "mergedOptions.vuescroll.scroller.disable", "mergedOptions.rail", "mergedOptions.bar"], Y = {
348
+ vertical: {
349
+ size: "height",
350
+ opsSize: "width",
351
+ posName: "top",
352
+ opposName: "bottom",
353
+ sidePosName: "right",
354
+ page: "pageY",
355
+ scroll: "scrollTop",
356
+ scrollSize: "scrollHeight",
357
+ offset: "offsetHeight",
358
+ client: "clientY",
359
+ axis: "Y",
360
+ scrollButton: {
361
+ start: "top",
362
+ end: "bottom"
363
+ }
364
+ },
365
+ horizontal: {
366
+ size: "width",
367
+ opsSize: "height",
368
+ posName: "left",
369
+ opposName: "right",
370
+ sidePosName: "bottom",
371
+ page: "pageX",
372
+ scroll: "scrollLeft",
373
+ scrollSize: "scrollWidth",
374
+ offset: "offsetWidth",
375
+ client: "clientX",
376
+ axis: "X",
377
+ scrollButton: {
378
+ start: "left",
379
+ end: "right"
380
+ }
381
+ }
382
+ };
383
+ function ee(t) {
384
+ var e = t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.oRequestAnimationFrame, r = !!e;
385
+ if (e && !/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(e.toString()) && (r = !1), r)
386
+ return function(l, c) {
387
+ e(l, c);
388
+ };
389
+ var i = 60, n = {}, a = 1, s = null, o = +new Date();
390
+ return function(l) {
391
+ var c = a++;
392
+ return n[c] = l, s === null && (s = setInterval(function() {
393
+ var u = +new Date(), h = n;
394
+ n = {};
395
+ for (var d in h)
396
+ h.hasOwnProperty(d) && (h[d](u), o = u);
397
+ u - o > 2500 && (clearInterval(s), s = null);
398
+ }, 1e3 / i)), c;
399
+ };
400
+ }
401
+ var j = {}, Ce = /rgb\(/, Ee = /rgb\((.*)\)/;
402
+ function te(t, e) {
403
+ var r = t + "&" + e;
404
+ if (j[r])
405
+ return j[r];
406
+ var i = document.createElement("div");
407
+ i.style.background = t, document.body.appendChild(i);
408
+ var n = window.getComputedStyle(i).backgroundColor;
409
+ return document.body.removeChild(i), Ce.test(n) ? j[r] = "rgba(" + Ee.exec(n)[1] + ", " + e + ")" : t;
410
+ }
411
+ var re = {
412
+ name: "bar",
413
+ props: {
414
+ ops: Object,
415
+ state: Object,
416
+ hideBar: Boolean,
417
+ otherBarHide: Boolean,
418
+ type: String
419
+ },
420
+ computed: {
421
+ bar: function() {
422
+ return Y[this.type];
423
+ },
424
+ barSize: function() {
425
+ return Math.max(this.state.size, this.ops.bar.minSize);
426
+ },
427
+ barRatio: function() {
428
+ return (1 - this.barSize) / (1 - this.state.size);
429
+ }
430
+ },
431
+ render: function(e) {
432
+ var r, i, n, a = this, s = te(a.ops.rail.background, a.ops.rail.opacity);
433
+ this.touchManager || (this.touchManager = new U());
434
+ var o = a.ops.rail.size, l = a.otherBarHide ? 0 : o, c = a.touchManager.getTouchObject(), u = {
435
+ class: "__rail-is-" + a.type,
436
+ style: (r = {
437
+ position: "absolute",
438
+ "z-index": "1",
439
+ borderRadius: a.ops.rail.specifyBorderRadius || o,
440
+ background: s,
441
+ border: a.ops.rail.border
442
+ }, f(r, a.bar.opsSize, o), f(r, a.bar.posName, a.ops.rail.gutterOfEnds || 0), f(r, a.bar.opposName, a.ops.rail.gutterOfEnds || l), f(r, a.bar.sidePosName, a.ops.rail.gutterOfSide), r)
443
+ };
444
+ if (c) {
445
+ var h;
446
+ u.on = (h = {}, f(h, c.touchenter, function() {
447
+ a.setRailHover();
448
+ }), f(h, c.touchleave, function() {
449
+ a.setRailLeave();
450
+ }), h);
451
+ }
452
+ var d = a.ops.scrollButton.enable ? o : 0, v = {
453
+ class: "__bar-wrap-is-" + a.type,
454
+ style: (i = {
455
+ position: "absolute",
456
+ borderRadius: a.ops.rail.specifyBorderRadius || o
457
+ }, f(i, a.bar.posName, d), f(i, a.bar.opposName, d), i),
458
+ on: {}
459
+ }, g = a.state.posValue * a.state.size, m = g * a.barRatio / a.barSize, p = a.state.opacity, B = y(this);
460
+ B.setClassHook(this.type == "vertical" ? "vBarVisible" : "hBarVisible", !!p);
461
+ var S = (n = {
462
+ cursor: "pointer",
463
+ position: "absolute",
464
+ margin: "auto",
465
+ transition: "opacity 0.5s",
466
+ "user-select": "none",
467
+ "border-radius": "inherit"
468
+ }, f(n, a.bar.size, a.barSize * 100 + "%"), f(n, "background", a.ops.bar.background), f(n, a.bar.opsSize, a.ops.bar.size), f(n, "opacity", p), f(n, "transform", "translate" + Y[a.type].axis + "(" + m + "%)"), n), P = {
469
+ style: S,
470
+ class: "__bar-is-" + a.type,
471
+ ref: "thumb",
472
+ on: {}
473
+ };
474
+ a.type == "vertical" ? (v.style.width = "100%", P.style.left = 0, P.style.right = 0) : (v.style.height = "100%", P.style.top = 0, P.style.bottom = 0);
475
+ {
476
+ var C = this.touchManager.getTouchObject();
477
+ P.on[C.touchstart] = this.createBarEvent(), v.on[C.touchstart] = this.createTrackEvent();
478
+ }
479
+ return e(
480
+ "div",
481
+ u,
482
+ [this.createScrollbarButton(e, "start"), this.hideBar ? null : e(
483
+ "div",
484
+ v,
485
+ [e("div", P)]
486
+ ), this.createScrollbarButton(e, "end")]
487
+ );
488
+ },
489
+ data: function() {
490
+ return {
491
+ isBarDragging: !1
492
+ };
493
+ },
494
+ methods: {
495
+ setRailHover: function() {
496
+ var e = y(this), r = e.vuescroll.state;
497
+ r.isRailHover || (r.isRailHover = !0, e.showBar());
498
+ },
499
+ setRailLeave: function() {
500
+ var e = y(this), r = e.vuescroll.state;
501
+ r.isRailHover = !1, e.hideBar();
502
+ },
503
+ setBarDrag: function(e) {
504
+ this.$emit("setBarDrag", this.isBarDragging = e);
505
+ var r = y(this);
506
+ r.setClassHook(this.type == "vertical" ? "vBarDragging" : "hBarDragging", !!e);
507
+ },
508
+ createBarEvent: function() {
509
+ var e = this, r = y(e), i = e.touchManager.getTouchObject();
510
+ function n(o) {
511
+ var l = e.touchManager.getEventObject(o);
512
+ !l || (o.stopImmediatePropagation(), o.preventDefault(), l = l[0], document.onselectstart = function() {
513
+ return !1;
514
+ }, e.axisStartPos = l[e.bar.client] - e.$refs.thumb.getBoundingClientRect()[e.bar.posName], e.setBarDrag(!0), b(document, i.touchmove, a), b(document, i.touchend, s));
515
+ }
516
+ function a(o) {
517
+ if (!!e.axisStartPos) {
518
+ var l = e.touchManager.getEventObject(o);
519
+ if (!!l) {
520
+ l = l[0];
521
+ var c = e.$refs.thumb.parentNode, u = l[e.bar.client] - c.getBoundingClientRect()[e.bar.posName];
522
+ u = u / e.barRatio;
523
+ var h = (u - e.axisStartPos) / c[e.bar.offset];
524
+ r.scrollTo(f({}, e.bar.axis.toLowerCase(), r.scrollPanelElm[e.bar.scrollSize] * h), !1);
525
+ }
526
+ }
527
+ }
528
+ function s() {
529
+ e.setBarDrag(!1), r.hideBar(), document.onselectstart = null, e.axisStartPos = 0, b(document, i.touchmove, a, !1, "off"), b(document, i.touchend, s, !1, "off");
530
+ }
531
+ return n;
532
+ },
533
+ createTrackEvent: function() {
534
+ var e = this;
535
+ return function(i) {
536
+ var n = y(e), a = e.bar, s = a.client, o = a.offset, l = a.posName, c = a.axis, u = e.$refs.thumb;
537
+ if (i.preventDefault(), i.stopImmediatePropagation(), !!u) {
538
+ var h = u[o], d = e.touchManager.getEventObject(i)[0], v = (d[s] - i.currentTarget.getBoundingClientRect()[l] - h / 2) / (i.currentTarget[o] - h);
539
+ n.scrollTo(f({}, c.toLowerCase(), v * 100 + "%"));
540
+ }
541
+ };
542
+ },
543
+ createScrollbarButton: function(e, r) {
544
+ var i, n = this;
545
+ if (!n.ops.scrollButton.enable)
546
+ return null;
547
+ var a = n.ops.rail.size, s = n.ops.scrollButton, o = s.opacity, l = s.background, c = te(l, o), u = {
548
+ class: ["__bar-button", "__bar-button-is-" + n.type + "-" + r],
549
+ style: (i = {}, f(i, n.bar.scrollButton[r], 0), f(i, "width", a), f(i, "height", a), f(i, "position", "absolute"), f(i, "cursor", "pointer"), f(i, "display", "table"), i),
550
+ ref: r
551
+ }, h = {
552
+ class: "__bar-button-inner",
553
+ style: {
554
+ border: "calc(" + a + " / 2.5) solid transparent",
555
+ width: "0",
556
+ height: "0",
557
+ margin: "auto",
558
+ position: "absolute",
559
+ top: "0",
560
+ bottom: "0",
561
+ right: "0",
562
+ left: "0"
563
+ },
564
+ on: {}
565
+ };
566
+ n.type == "vertical" ? r == "start" ? (h.style["border-bottom-color"] = c, h.style.transform = "translateY(-25%)") : (h.style["border-top-color"] = c, h.style.transform = "translateY(25%)") : r == "start" ? (h.style["border-right-color"] = c, h.style.transform = "translateX(-25%)") : (h.style["border-left-color"] = c, h.style.transform = "translateX(25%)");
567
+ {
568
+ var d = this.touchManager.getTouchObject();
569
+ h.on[d.touchstart] = this.createScrollButtonEvent(r, d);
570
+ }
571
+ return e(
572
+ "div",
573
+ u,
574
+ [e("div", h)]
575
+ );
576
+ },
577
+ createScrollButtonEvent: function(e, r) {
578
+ var i = this, n = y(i), a = i.ops.scrollButton, s = a.step, o = a.mousedownStep, l = e == "start" ? -s : s, c = e == "start" ? -o : o, u = ee(window), h = i.type, d = !1, v = !0, g = void 0;
579
+ function m(C) {
580
+ if (C.which != 3) {
581
+ if (n.setClassHook("cliking" + h + e + "Button", !0), C.stopImmediatePropagation(), C.preventDefault(), v = !1, n.scrollBy(f({}, "d" + i.bar.axis.toLowerCase(), l)), b(document, r.touchend, B, !1), r.touchstart == "mousedown") {
582
+ var le = i.$refs[e];
583
+ b(le, "mouseenter", S, !1), b(le, "mouseleave", P, !1);
584
+ }
585
+ clearTimeout(g), g = setTimeout(function() {
586
+ d = !0, u(p, window);
587
+ }, 500);
588
+ }
589
+ }
590
+ function p() {
591
+ d && !v && (n.scrollBy(f({}, "d" + i.bar.axis.toLowerCase(), c), !1), u(p, window));
592
+ }
593
+ function B() {
594
+ if (clearTimeout(g), d = !1, b(document, r.touchend, B, !1, "off"), r.touchstart == "mousedown") {
595
+ var C = i.$refs[e];
596
+ b(C, "mouseenter", S, !1, "off"), b(C, "mouseleave", P, !1, "off");
597
+ }
598
+ n.setClassHook("cliking" + h + e + "Button", !1);
599
+ }
600
+ function S() {
601
+ v = !1, p();
602
+ }
603
+ function P() {
604
+ v = !0;
605
+ }
606
+ return m;
607
+ }
608
+ }
609
+ };
610
+ function ie(t, e) {
611
+ var r = Y[e].axis, i = e.charAt(0) + "Bar", n = !t.bar[i].state.size || !t.mergedOptions.scrollPanel["scrolling" + r] || t.refreshLoad && e !== "vertical" || t.mergedOptions.bar.disable, a = t.mergedOptions.rail.keepShow;
612
+ return n && !a ? null : {
613
+ hideBar: n,
614
+ props: {
615
+ type: e,
616
+ ops: {
617
+ bar: t.mergedOptions.bar,
618
+ rail: t.mergedOptions.rail,
619
+ scrollButton: t.mergedOptions.scrollButton
620
+ },
621
+ state: t.bar[i].state,
622
+ hideBar: n
623
+ },
624
+ on: {
625
+ setBarDrag: t.setBarDrag
626
+ },
627
+ ref: e + "Bar",
628
+ key: e
629
+ };
630
+ }
631
+ function Oe(t, e) {
632
+ var r = ie(e, "vertical"), i = ie(e, "horizontal");
633
+ return e.setClassHook("hasVBar", !!(r && !r.hideBar)), e.setClassHook("hasHBar", !!(i && !i.hideBar)), [r ? t("bar", z({}, r, {
634
+ props: z({ otherBarHide: !i }, r.props)
635
+ })) : null, i ? t("bar", z({}, i, {
636
+ props: z({ otherBarHide: !r }, i.props)
637
+ })) : null];
638
+ }
639
+ var ze = function(e) {
640
+ var r = e.render, i = e.components, n = e.mixins;
641
+ return {
642
+ name: "vueScroll",
643
+ props: {
644
+ ops: { type: Object }
645
+ },
646
+ components: i,
647
+ mixins: [we].concat(w([].concat(n))),
648
+ created: function() {
649
+ var s = this, o = E(this.$vuescrollConfig || {}, {}), l = E(J, o);
650
+ this.$options.propsData.ops = this.$options.propsData.ops || {}, Object.keys(this.$options.propsData.ops).forEach(function(c) {
651
+ de(s.mergedOptions, c, s.$options.propsData.ops);
652
+ }), E(l, this.mergedOptions), this._isVuescrollRoot = !0, this.renderError = ye(this.mergedOptions);
653
+ },
654
+ render: function(s) {
655
+ var o = this;
656
+ if (o.renderError)
657
+ return s("div", [[o.$slots.default]]);
658
+ o.touchManager || (o.touchManager = new U());
659
+ var l = {
660
+ style: {
661
+ height: o.vuescroll.state.height,
662
+ width: o.vuescroll.state.width,
663
+ padding: 0,
664
+ position: "relative",
665
+ overflow: "hidden"
666
+ },
667
+ class: z({ __vuescroll: !0 }, o.classHooks)
668
+ }, c = o.touchManager.getTouchObject();
669
+ if (c) {
670
+ var u;
671
+ l.on = (u = {}, f(u, c.touchenter, function() {
672
+ o.vuescroll.state.pointerLeave = !1, o.updateBarStateAndEmitEvent(), o.setClassHook("mouseEnter", !0);
673
+ }), f(u, c.touchleave, function() {
674
+ o.vuescroll.state.pointerLeave = !0, o.hideBar(), o.setClassHook("mouseEnter", !1);
675
+ }), f(u, c.touchmove, function() {
676
+ o.vuescroll.state.pointerLeave = !1, o.updateBarStateAndEmitEvent();
677
+ }), u);
678
+ }
679
+ var h = [r(s, o)].concat(w(Oe(s, o))), d = this.$slots["scroll-container"];
680
+ return d ? X(s, d, h, l) : s(
681
+ "div",
682
+ l,
683
+ [h]
684
+ );
685
+ },
686
+ mounted: function() {
687
+ var s = this;
688
+ this.renderError || (this.initVariables(), this.initWatchOpsChange(), this.refreshInternalStatus(), this.updatedCbs.push(function() {
689
+ s.scrollToAnchor(), s.updateBarStateAndEmitEvent();
690
+ }));
691
+ },
692
+ updated: function() {
693
+ var s = this;
694
+ this.updatedCbs.forEach(function(o) {
695
+ o.call(s);
696
+ }), this.updatedCbs = [];
697
+ },
698
+ beforeDestroy: function() {
699
+ this.destroy && this.destroy();
700
+ },
701
+ computed: {
702
+ scrollPanelElm: function() {
703
+ return this.$refs.scrollPanel._isVue ? this.$refs.scrollPanel.$el : this.$refs.scrollPanel;
704
+ }
705
+ },
706
+ data: function() {
707
+ return {
708
+ vuescroll: {
709
+ state: {
710
+ isDragging: !1,
711
+ pointerLeave: !0,
712
+ isRailHover: !1,
713
+ height: "100%",
714
+ width: "100%",
715
+ currentSizeStrategy: "percent",
716
+ currentScrollState: null,
717
+ currentScrollInfo: null
718
+ }
719
+ },
720
+ bar: {
721
+ vBar: {
722
+ state: {
723
+ posValue: 0,
724
+ size: 0,
725
+ opacity: 0
726
+ }
727
+ },
728
+ hBar: {
729
+ state: {
730
+ posValue: 0,
731
+ size: 0,
732
+ opacity: 0
733
+ }
734
+ }
735
+ },
736
+ mergedOptions: {
737
+ vuescroll: {},
738
+ scrollPanel: {},
739
+ scrollContent: {},
740
+ rail: {},
741
+ bar: {}
742
+ },
743
+ updatedCbs: [],
744
+ renderError: !1,
745
+ classHooks: {
746
+ hasVBar: !1,
747
+ hasHBar: !1,
748
+ vBarVisible: !1,
749
+ hBarVisible: !1,
750
+ vBarDragging: !1,
751
+ hBarDragging: !1,
752
+ clikingVerticalStartButton: !1,
753
+ clikingVerticalEndButton: !1,
754
+ clikingHorizontalStartButton: !1,
755
+ clikingHorizontalEndButton: !1,
756
+ mouseEnter: !1
757
+ }
758
+ };
759
+ },
760
+ methods: {
761
+ scrollingComplete: function() {
762
+ this.updateBarStateAndEmitEvent("handle-scroll-complete");
763
+ },
764
+ setBarDrag: function(s) {
765
+ this.vuescroll.state.isDragging = s;
766
+ },
767
+ setClassHook: function(s, o) {
768
+ this.classHooks[s] = o;
769
+ },
770
+ showAndDefferedHideBar: function(s) {
771
+ var o = this;
772
+ this.showBar(), this.timeoutId && (clearTimeout(this.timeoutId), this.timeoutId = 0), this.timeoutId = setTimeout(function() {
773
+ o.timeoutId = 0, o.hideBar(s);
774
+ }, this.mergedOptions.bar.showDelay);
775
+ },
776
+ showBar: function() {
777
+ var s = this.mergedOptions.bar.opacity;
778
+ this.bar.vBar.state.opacity = s, this.bar.hBar.state.opacity = s;
779
+ },
780
+ hideBar: function(s) {
781
+ var o = this.vuescroll.state, l = o.isDragging, c = o.isRailHover;
782
+ l || c || (s && !this.mergedOptions.bar.keepShow && (this.bar.hBar.state.opacity = 0, this.bar.vBar.state.opacity = 0), !this.mergedOptions.bar.keepShow && !this.vuescroll.state.isDragging && (this.bar.vBar.state.opacity = 0, this.bar.hBar.state.opacity = 0));
783
+ },
784
+ useNumbericSize: function() {
785
+ this.vuescroll.state.currentSizeStrategy = "number";
786
+ var s = this.mergedOptions.scrollPanel, o = s.maxHeight, l = s.maxWidth, c = this.$el.parentNode, u = c.clientHeight, h = c.clientWidth, d = this.scrollPanelElm, v = d.scrollHeight, g = d.scrollWidth, m = void 0, p = void 0;
787
+ o || l ? (p = v <= o ? void 0 : o, m = g <= l ? void 0 : l) : (p = u, m = h), this.vuescroll.state.height = p ? p + "px" : void 0, this.vuescroll.state.width = m ? m + "px" : void 0;
788
+ },
789
+ usePercentSize: function() {
790
+ this.vuescroll.state.currentSizeStrategy = "percent", this.vuescroll.state.height = "100%", this.vuescroll.state.width = "100%";
791
+ },
792
+ setVsSize: function() {
793
+ var s = this.mergedOptions.vuescroll.sizeStrategy, o = this.mergedOptions.scrollPanel, l = o.maxHeight, c = o.maxWidth, u = this.scrollPanelElm, h = u.clientHeight, d = u.clientWidth;
794
+ s == "number" || l && h > l || c && d > c ? this.useNumbericSize() : s == "percent" && h != l && d != c && this.usePercentSize();
795
+ },
796
+ initWatchOpsChange: function() {
797
+ var s = this, o = {
798
+ deep: !0,
799
+ sync: !0
800
+ };
801
+ this.$watch("mergedOptions", function() {
802
+ setTimeout(function() {
803
+ if (s.isSmallChangeThisTick) {
804
+ s.isSmallChangeThisTick = !1, s.updateBarStateAndEmitEvent("options-change");
805
+ return;
806
+ }
807
+ s.refreshInternalStatus();
808
+ }, 0);
809
+ }, o), Pe.forEach(function(l) {
810
+ s.$watch(l, function() {
811
+ s.isSmallChangeThisTick = !0;
812
+ }, o);
813
+ });
814
+ },
815
+ scrollToAnchor: function() {
816
+ var s = function(u) {
817
+ return /^#[a-zA-Z_]\d*$/.test(u);
818
+ }, o = window.location.hash;
819
+ if (!(!o || (o = o.slice(o.lastIndexOf("#"))) && !s(o))) {
820
+ var l = document.querySelector(o);
821
+ !Z(l, this.$el) || this.mergedOptions.scrollPanel.initialScrollY || this.mergedOptions.scrollPanel.initialScrollX || this.scrollIntoView(l);
822
+ }
823
+ }
824
+ }
825
+ };
826
+ }, ne = {
827
+ name: "scrollPanel",
828
+ props: { ops: { type: Object, required: !0 } },
829
+ methods: {
830
+ updateInitialScroll: function() {
831
+ var e = 0, r = 0, i = y(this);
832
+ this.ops.initialScrollX && (e = this.ops.initialScrollX), this.ops.initialScrollY && (r = this.ops.initialScrollY), (e || r) && i.scrollTo({ x: e, y: r });
833
+ }
834
+ },
835
+ mounted: function() {
836
+ var e = this;
837
+ setTimeout(function() {
838
+ e._isDestroyed || e.updateInitialScroll();
839
+ }, 0);
840
+ },
841
+ render: function(e) {
842
+ var r = {
843
+ class: ["__panel"],
844
+ style: {
845
+ position: "relative",
846
+ boxSizing: "border-box"
847
+ }
848
+ }, i = y(this), n = i.$slots["scroll-panel"];
849
+ return n ? X(e, n, this.$slots.default, r) : e(
850
+ "div",
851
+ r,
852
+ [[this.$slots.default]]
853
+ );
854
+ }
855
+ };
856
+ function Re(t, e) {
857
+ var r, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : [], a = (r = {}, f(r, ne.name, ne), f(r, re.name, re), r), s = {};
858
+ s.components = a, s.render = e, s.mixins = t;
859
+ var o = ze(s);
860
+ return Be(i, n), o;
861
+ }
862
+ function Te(t, e) {
863
+ for (var r = t.children, i = [], n = function(l) {
864
+ var c = l.getBoundingClientRect(), u = c.left, h = c.top, d = c.width, v = c.height, g = e.getBoundingClientRect(), m = g.left, p = g.top, B = g.height, S = g.width;
865
+ return u - m + d > 0 && u - m < S && h - p + v > 0 && h - p < B;
866
+ }, a = 0; a < r.length; a++) {
867
+ var s = r.item(a);
868
+ n(s) && !s.isResizeElm && i.push(s);
869
+ }
870
+ return i;
871
+ }
872
+ function ae(t, e) {
873
+ return function(r) {
874
+ return e(t, r);
875
+ };
876
+ }
877
+ function oe(t, e) {
878
+ var r = null;
879
+ return t === "easeInQuad" && (r = e * e), t === "easeOutQuad" && (r = e * (2 - e)), t === "easeInOutQuad" && (r = e < 0.5 ? 2 * e * e : -1 + (4 - 2 * e) * e), t === "easeInCubic" && (r = e * e * e), t === "easeOutCubic" && (r = --e * e * e + 1), t === "easeInOutCubic" && (r = e < 0.5 ? 4 * e * e * e : (e - 1) * (2 * e - 2) * (2 * e - 2) + 1), t === "easeInQuart" && (r = e * e * e * e), t === "easeOutQuart" && (r = 1 - --e * e * e * e), t === "easeInOutQuart" && (r = e < 0.5 ? 8 * e * e * e * e : 1 - 8 * --e * e * e * e), t === "easeInQuint" && (r = e * e * e * e * e), t === "easeOutQuint" && (r = 1 + --e * e * e * e * e), t === "easeInOutQuint" && (r = e < 0.5 ? 16 * e * e * e * e * e : 1 + 16 * --e * e * e * e * e), r || e;
880
+ }
881
+ function M() {
882
+ return !0;
883
+ }
884
+ var q = Date.now || function() {
885
+ return new Date().getTime();
886
+ }, I = function() {
887
+ function t() {
888
+ N(this, t), this.init(), this.isRunning = !1;
889
+ }
890
+ return L(t, [{
891
+ key: "pause",
892
+ value: function() {
893
+ !this.isRunning || (this.isPaused = !0);
894
+ }
895
+ }, {
896
+ key: "stop",
897
+ value: function() {
898
+ this.isStopped = !0;
899
+ }
900
+ }, {
901
+ key: "continue",
902
+ value: function() {
903
+ !this.isPaused || (this.isPaused = !1, this.ts = q() - this.percent * this.spd, this.execScroll());
904
+ }
905
+ }, {
906
+ key: "startScroll",
907
+ value: function(r, i, n) {
908
+ var a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : M, s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : M, o = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : M, l = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : M, c = i - r, u = c > 0 ? -1 : 1, h = q();
909
+ this.isRunning || this.init(), u != this.dir || h - this.ts > 200 ? (this.ts = h, this.dir = u, this.st = r, this.ed = i, this.df = c) : this.df += c, this.spd = n, this.completeCb = s, this.vertifyCb = o, this.stepCb = a, this.easingMethod = l, this.isRunning || this.execScroll();
910
+ }
911
+ }, {
912
+ key: "execScroll",
913
+ value: function() {
914
+ var r = this;
915
+ if (!!this.df) {
916
+ var i = this.percent || 0;
917
+ this.percent = 0, this.isRunning = !0;
918
+ var n = function a() {
919
+ if (!r.isRunning || !r.vertifyCb(i) || r.isStopped) {
920
+ r.isRunning = !1;
921
+ return;
922
+ }
923
+ if (i = (q() - r.ts) / r.spd, r.isPaused) {
924
+ r.percent = i, r.isRunning = !1;
925
+ return;
926
+ }
927
+ if (i < 1) {
928
+ var s = r.st + r.df * r.easingMethod(i);
929
+ r.stepCb(s), r.ref(a);
930
+ } else
931
+ r.stepCb(r.st + r.df), r.completeCb(), r.isRunning = !1;
932
+ };
933
+ this.ref(n);
934
+ }
935
+ }
936
+ }, {
937
+ key: "init",
938
+ value: function() {
939
+ this.st = 0, this.ed = 0, this.df = 0, this.spd = 0, this.ts = 0, this.dir = 0, this.ref = ee(window), this.isPaused = !1, this.isStopped = !1;
940
+ }
941
+ }]), t;
942
+ }();
943
+ function xe(t, e, r) {
944
+ var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 300, n = arguments[4], a = arguments[5], s = void 0, o = void 0, l = void 0, c = void 0, u = void 0, h = void 0, d = t, v = d.nodeType, g = new I(), m = new I();
945
+ if (!v) {
946
+ D("You must pass a dom for the first param, for window scrolling, you can pass document as the first param.");
947
+ return;
948
+ }
949
+ v == 9 && (t = t.scrollingElement);
950
+ var p = t;
951
+ s = p.scrollLeft, o = p.scrollTop, l = p.scrollHeight, c = p.scrollWidth, u = p.clientWidth, h = p.clientHeight, typeof e == "undefined" ? e = s : e = x(e, c - u), typeof r == "undefined" ? r = o : r = x(r, l - h);
952
+ var B = ae(n, oe);
953
+ g.startScroll(s, e, i, function(S) {
954
+ t.scrollLeft = S;
955
+ }, a, void 0, B), m.startScroll(o, r, i, function(S) {
956
+ t.scrollTop = S;
957
+ }, a, void 0, B);
958
+ }
959
+ var De = {
960
+ mounted: function() {
961
+ this.scrollX = new I(), this.scrollY = new I();
962
+ },
963
+ methods: {
964
+ nativeStop: function() {
965
+ this.scrollX.stop(), this.scrollY.stop();
966
+ },
967
+ nativePause: function() {
968
+ this.scrollX.pause(), this.scrollY.pause();
969
+ },
970
+ nativeContinue: function() {
971
+ this.scrollX.continue(), this.scrollY.continue();
972
+ },
973
+ nativeScrollTo: function(e, r, i, n) {
974
+ i === !1 || typeof i == "undefined" && (i = this.mergedOptions.scrollPanel.speed);
975
+ var a = this.scrollPanelElm, s = a.scrollTop, o = a.scrollLeft, l = a.scrollWidth, c = a.clientWidth, u = a.scrollHeight, h = a.clientHeight;
976
+ if (typeof e == "undefined" ? e = o : e = x(e, l - c), typeof r == "undefined" ? r = s : r = x(r, u - h), i) {
977
+ n = n || this.mergedOptions.scrollPanel.easing;
978
+ var d = ae(n, oe);
979
+ e != o && this.scrollX.startScroll(o, e, i, function(v) {
980
+ a.scrollLeft = v;
981
+ }, this.scrollingComplete.bind(this), void 0, d), r != s && this.scrollY.startScroll(s, r, i, function(v) {
982
+ a.scrollTop = v;
983
+ }, this.scrollingComplete.bind(this), void 0, d);
984
+ } else
985
+ a.scrollTop = r, a.scrollLeft = e;
986
+ },
987
+ getCurrentviewDomNative: function() {
988
+ var e = this.scrollContentElm, r = Te(e, this.$el);
989
+ return r;
990
+ }
991
+ }
992
+ };
993
+ function _e(t) {
994
+ var e = {
995
+ ref: "scrollPanel",
996
+ style: {
997
+ height: "100%",
998
+ overflowY: "scroll",
999
+ overflowX: "scroll"
1000
+ },
1001
+ class: [],
1002
+ nativeOn: {
1003
+ "&scroll": t.handleScroll
1004
+ },
1005
+ props: {
1006
+ ops: t.mergedOptions.scrollPanel
1007
+ }
1008
+ };
1009
+ t.scrollYEnable = !0, t.scrollXEnable = !0, e.nativeOn.DOMMouseScroll = e.nativeOn.mousewheel = t.onMouseWheel;
1010
+ var r = t.mergedOptions.scrollPanel, i = r.scrollingY, n = r.scrollingX;
1011
+ (!t.bar.hBar.state.size || !n) && (t.scrollXEnable = !1, e.style.overflowX = "hidden"), (!t.bar.vBar.state.size || !i) && (t.scrollYEnable = !1, e.style.overflowY = "hidden");
1012
+ var a = fe();
1013
+ return a ? (t.bar.vBar.state.size && t.mergedOptions.scrollPanel.scrollingY && (t.mergedOptions.scrollPanel.verticalNativeBarPos == "right" ? e.style.marginRight = "-" + a + "px" : e.style.marginLeft = "-" + a + "px"), t.bar.hBar.state.size && t.mergedOptions.scrollPanel.scrollingX && (e.style.height = "calc(100% + " + a + "px)")) : (be(), e.class.push("__hidebar"), he() && (e.style["-webkit-overflow-scrolling"] = "touch")), e.style.transformOrigin = "", e.style.transform = "", e;
1014
+ }
1015
+ function He(t, e) {
1016
+ var r = {};
1017
+ return r = _e(e), t(
1018
+ "scrollPanel",
1019
+ r,
1020
+ [ke(t, e)]
1021
+ );
1022
+ }
1023
+ function ke(t, e) {
1024
+ var r = {
1025
+ position: "relative",
1026
+ "box-sizing": "border-box",
1027
+ "min-width": "100%",
1028
+ "min-height": "100%"
1029
+ }, i = {
1030
+ style: r,
1031
+ ref: "scrollContent",
1032
+ class: "__view"
1033
+ }, n = e.$slots["scroll-content"];
1034
+ return e.mergedOptions.scrollPanel.scrollingX ? r.width = pe("width", "fit-content") : i.style.width = "100%", e.mergedOptions.scrollPanel.padding && (i.style.paddingRight = e.mergedOptions.rail.size), n ? X(t, n, e.$slots.default, i) : t(
1035
+ "div",
1036
+ i,
1037
+ [e.$slots.default]
1038
+ );
1039
+ }
1040
+ function $e(t, e) {
1041
+ return We(t, e);
1042
+ }
1043
+ function We(t, e) {
1044
+ if (!t.hasResized) {
1045
+ var r = "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;", i = document.createElement("div");
1046
+ i.style.cssText = r;
1047
+ var n = document.createElement("object");
1048
+ return n.style.cssText = r, n.type = "text/html", n.tabIndex = -1, n.onload = function() {
1049
+ b(n.contentDocument.defaultView, "resize", e);
1050
+ }, Q() || (n.data = "about:blank"), i.isResizeElm = !0, i.appendChild(n), t.appendChild(i), Q() && (n.data = "about:blank"), function() {
1051
+ n.contentDocument && b(n.contentDocument.defaultView, "resize", e, "off"), t.removeChild(i), t.hasResized = !1;
1052
+ };
1053
+ }
1054
+ }
1055
+ var Ae = {
1056
+ methods: {
1057
+ updateNativeModeBarState: function() {
1058
+ var e = this.scrollPanelElm, r = this.vuescroll.state.currentSizeStrategy == "percent", i = this.vuescroll.state, n = i.width, a = i.height, s = r || !n ? e.clientWidth : n.slice(0, -2), o = r || !a ? e.clientHeight : a.slice(0, -2), l = o / e.scrollHeight, c = s / e.scrollWidth;
1059
+ this.bar.vBar.state.posValue = e.scrollTop * 100 / o, this.bar.hBar.state.posValue = e.scrollLeft * 100 / s, this.bar.vBar.state.size = l < 1 ? l : 0, this.bar.hBar.state.size = c < 1 ? c : 0;
1060
+ },
1061
+ getNativePosition: function() {
1062
+ return {
1063
+ scrollTop: this.scrollPanelElm.scrollTop,
1064
+ scrollLeft: this.scrollPanelElm.scrollLeft
1065
+ };
1066
+ },
1067
+ css: function(e, r) {
1068
+ return window.getComputedStyle(e)[r];
1069
+ },
1070
+ checkScrollable: function(e, r, i) {
1071
+ for (var n = !1, a = e.target ? e.target : e; a && a.nodeType == 1 && a !== this.scrollPanelElm.parentNode && !/^BODY|HTML/.test(a.nodeName); ) {
1072
+ var s = this.css(a, "overflow") || "";
1073
+ if (/scroll|auto/.test(s)) {
1074
+ var o = this.getScrollProcess(a), l = o.v, c = o.h, u = this.css(a, "overflowX") !== "hidden", h = this.css(a, "overflowY") !== "hidden";
1075
+ if (u && (r < 0 && c > 0 || r > 0 && c < 1) || h && (i < 0 && l > 0 || i > 0 && l < 1)) {
1076
+ n = a == this.scrollPanelElm;
1077
+ break;
1078
+ }
1079
+ }
1080
+ a = a.parentNode ? a.parentNode : !1;
1081
+ }
1082
+ return n;
1083
+ },
1084
+ onMouseWheel: function(e) {
1085
+ var r = this.mergedOptions.vuescroll, i = r.wheelDirectionReverse, n = r.wheelScrollDuration, a = r.checkShiftKey, s = r.locking, o = void 0, l = void 0;
1086
+ e.wheelDelta ? e.deltaY || e.deltaX ? (o = e.deltaX, l = e.deltaY, s && (Math.abs(e.deltaX) > Math.abs(e.deltaY) ? l = 0 : o = 0)) : (o = 0, l = -1 * e.wheelDelta / 2) : e.detail && (l = o = e.detail * 16, e.axis == 1 ? l = 0 : e.axis == 2 && (o = 0)), a && e.shiftKey && (o ^= l, l ^= o, o ^= l), i && (o ^= l, l ^= o, o ^= l), this.checkScrollable(e, o, l) && (e.stopPropagation(), e.preventDefault(), this.scrollBy({ dx: o, dy: l }, n));
1087
+ }
1088
+ },
1089
+ computed: {
1090
+ scrollContentElm: function() {
1091
+ return this.$refs.scrollContent._isVue ? this.$refs.scrollContent.$el : this.$refs.scrollContent;
1092
+ }
1093
+ }
1094
+ }, Me = [De, Ae], Ie = {
1095
+ mixins: Me,
1096
+ methods: {
1097
+ destroy: function() {
1098
+ this.destroyResize && this.destroyResize();
1099
+ },
1100
+ getCurrentviewDom: function() {
1101
+ return this.getCurrentviewDomNative();
1102
+ },
1103
+ internalScrollTo: function(e, r, i, n) {
1104
+ this.nativeScrollTo(e, r, i, n);
1105
+ },
1106
+ internalStop: function() {
1107
+ this.nativeStop();
1108
+ },
1109
+ internalPause: function() {
1110
+ this.nativePause();
1111
+ },
1112
+ internalContinue: function() {
1113
+ this.nativeContinue();
1114
+ },
1115
+ handleScroll: function(e) {
1116
+ this.updateBarStateAndEmitEvent("handle-scroll", e);
1117
+ },
1118
+ updateBarStateAndEmitEvent: function(e) {
1119
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
1120
+ this.updateNativeModeBarState(), e && this.emitEvent(e, r), this.mergedOptions.bar.onlyShowBarOnScroll ? (e == "handle-scroll" || e == "handle-resize" || e == "refresh-status" || e == "window-resize" || e == "options-change") && this.showAndDefferedHideBar(!0) : this.showAndDefferedHideBar();
1121
+ },
1122
+ getScrollProcess: function(e) {
1123
+ var r = e || this.scrollPanelElm, i = r.scrollHeight, n = r.scrollWidth, a = r.clientHeight, s = r.clientWidth, o = r.scrollTop, l = r.scrollLeft, c = Math.min(o / (i - a || 1), 1), u = Math.min(l / (n - s || 1), 1);
1124
+ return {
1125
+ v: c,
1126
+ h: u
1127
+ };
1128
+ },
1129
+ emitEvent: function(e) {
1130
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, i = this.scrollPanelElm, n = i.scrollTop, a = i.scrollLeft, s = {
1131
+ type: "vertical"
1132
+ }, o = {
1133
+ type: "horizontal"
1134
+ }, l = this.getScrollProcess(), c = l.v, u = l.h;
1135
+ s.process = c, o.process = u, s.barSize = this.bar.vBar.state.size, o.barSize = this.bar.hBar.state.size, s.scrollTop = n, o.scrollLeft = a, this.$emit(e, s, o, r);
1136
+ },
1137
+ initVariables: function() {
1138
+ this.$el._isVuescroll = !0;
1139
+ },
1140
+ refreshInternalStatus: function() {
1141
+ this.setVsSize(), this.registryResize(), this.updateBarStateAndEmitEvent("refresh-status");
1142
+ },
1143
+ registryResize: function() {
1144
+ var e = this, r = this.mergedOptions.vuescroll.detectResize;
1145
+ if (!(this.destroyResize && r) && (this.destroyResize && this.destroyResize(), !!r)) {
1146
+ var i = this.scrollContentElm, n = this, a = function() {
1147
+ n.updateBarStateAndEmitEvent("window-resize");
1148
+ }, s = function() {
1149
+ var u = {};
1150
+ u.width = e.scrollPanelElm.scrollWidth, u.height = e.scrollPanelElm.scrollHeight, e.updateBarStateAndEmitEvent("handle-resize", u), e.setVsSize();
1151
+ };
1152
+ window.addEventListener("resize", a, !1);
1153
+ var o = $e(i, s), l = function() {
1154
+ window.removeEventListener("resize", a, !1);
1155
+ };
1156
+ this.destroyResize = function() {
1157
+ l(), o(), e.destroyResize = null;
1158
+ };
1159
+ }
1160
+ },
1161
+ getPosition: function() {
1162
+ return this.getNativePosition();
1163
+ }
1164
+ }
1165
+ }, Ne = {
1166
+ vuescroll: {
1167
+ wheelScrollDuration: 0,
1168
+ wheelDirectionReverse: !1,
1169
+ checkShiftKey: !0
1170
+ }
1171
+ }, F = Re(Ie, He, [Ne]);
1172
+ function Le(t) {
1173
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1174
+ t.component(e.name || F.name, F), t.prototype.$vuescrollConfig = e.ops || {};
1175
+ }
1176
+ var se = z({
1177
+ install: Le,
1178
+ version: "4.17.5",
1179
+ refreshAll: Se,
1180
+ scrollTo: xe
1181
+ }, F);
1182
+ return typeof window != "undefined" && window.Vue && window.Vue.use(se), se;
1183
+ });
1184
+ })(ce);
1185
+ const Qe = ce.exports;
1186
+ export {
1187
+ Qe as default
1188
+ };