@tarojs/components 4.0.0-beta.2 → 4.0.0-beta.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 (429) hide show
  1. package/dist/cjs/{index-dbbe9dde.js → index-e751dfe3.js} +0 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  4. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  5. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-button-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-components.cjs.js +1 -1
  20. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  24. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-icon-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-image-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  34. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-picker-core_2.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  55. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +1 -1
  56. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  57. package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  59. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  63. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  64. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  65. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-tabbar.cjs.entry.js +1 -1
  72. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
  74. package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-video-control_3.cjs.entry.js +1 -1
  76. package/dist/cjs/taro-view-core.cjs.entry.js +1 -1
  77. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  78. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  79. package/dist/esm/{index-486e187e.js → index-980f930f.js} +1 -3
  80. package/dist/esm/loader.js +2 -2
  81. package/dist/esm/taro-ad-core.entry.js +1 -1
  82. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  83. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  84. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  85. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  86. package/dist/esm/taro-audio-core.entry.js +1 -1
  87. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  88. package/dist/esm/taro-block-core.entry.js +1 -1
  89. package/dist/esm/taro-button-core.entry.js +1 -1
  90. package/dist/esm/taro-camera-core.entry.js +1 -1
  91. package/dist/esm/taro-canvas-core.entry.js +1 -1
  92. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  93. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  94. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  95. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  96. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  97. package/dist/esm/taro-components.js +2 -2
  98. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  99. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  100. package/dist/esm/taro-cover-view-core.entry.js +1 -1
  101. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  102. package/dist/esm/taro-editor-core.entry.js +1 -1
  103. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  104. package/dist/esm/taro-form-core.entry.js +1 -1
  105. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  106. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  107. package/dist/esm/taro-icon-core.entry.js +1 -1
  108. package/dist/esm/taro-image-core.entry.js +1 -1
  109. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  110. package/dist/esm/taro-input-core.entry.js +1 -1
  111. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  112. package/dist/esm/taro-label-core.entry.js +1 -1
  113. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  114. package/dist/esm/taro-like-core.entry.js +1 -1
  115. package/dist/esm/taro-list-view-core.entry.js +1 -1
  116. package/dist/esm/taro-live-player-core.entry.js +1 -1
  117. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  118. package/dist/esm/taro-login-core.entry.js +1 -1
  119. package/dist/esm/taro-lottie-core.entry.js +1 -1
  120. package/dist/esm/taro-map-core.entry.js +1 -1
  121. package/dist/esm/taro-match-media-core.entry.js +1 -1
  122. package/dist/esm/taro-movable-area-core_2.entry.js +2 -2
  123. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  124. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  125. package/dist/esm/taro-navigator-core.entry.js +1 -1
  126. package/dist/esm/taro-official-account-core.entry.js +1 -1
  127. package/dist/esm/taro-open-data-core.entry.js +1 -1
  128. package/dist/esm/taro-page-container-core.entry.js +1 -1
  129. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  130. package/dist/esm/taro-picker-core_2.entry.js +1 -1
  131. package/dist/esm/taro-picker-view-column-core_2.entry.js +1 -1
  132. package/dist/esm/taro-progress-core.entry.js +1 -1
  133. package/dist/esm/taro-pull-to-refresh-core.entry.js +1 -1
  134. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  135. package/dist/esm/taro-rich-text-core.entry.js +1 -1
  136. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  137. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  138. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  139. package/dist/esm/taro-scroll-view-core.entry.js +1 -1
  140. package/dist/esm/taro-share-element-core.entry.js +1 -1
  141. package/dist/esm/taro-slider-core.entry.js +1 -1
  142. package/dist/esm/taro-slot-core.entry.js +1 -1
  143. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  144. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  145. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  146. package/dist/esm/taro-swiper-core_2.entry.js +1 -1
  147. package/dist/esm/taro-switch-core.entry.js +1 -1
  148. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  149. package/dist/esm/taro-tabbar.entry.js +1 -1
  150. package/dist/esm/taro-tabs-core.entry.js +1 -1
  151. package/dist/esm/taro-text-core.entry.js +1 -1
  152. package/dist/esm/taro-textarea-core.entry.js +1 -1
  153. package/dist/esm/taro-video-control_3.entry.js +1 -1
  154. package/dist/esm/taro-view-core.entry.js +1 -1
  155. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  156. package/dist/esm/taro-web-view-core.entry.js +1 -1
  157. package/dist/esm-es5/{index-486e187e.js → index-980f930f.js} +1 -1
  158. package/dist/esm-es5/loader.js +1 -1
  159. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  160. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  161. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  162. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  163. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  164. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  165. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  166. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  167. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  169. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  170. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  172. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  173. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  174. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  175. package/dist/esm-es5/taro-components.js +1 -1
  176. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  177. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  178. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  179. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  180. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  181. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  182. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  183. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  184. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  185. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  186. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  187. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  188. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  189. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  190. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  191. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  192. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  193. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  194. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  195. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  196. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  197. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  198. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  199. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  200. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  201. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  203. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  204. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  205. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  206. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  207. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  208. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  209. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  210. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  211. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  212. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  213. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  214. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  215. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  216. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  217. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  218. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  220. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  221. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  223. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  225. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  228. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  231. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  232. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  235. package/dist/taro-components/p-00ed4bbb.entry.js +1 -0
  236. package/dist/taro-components/p-02737970.system.entry.js +1 -0
  237. package/dist/taro-components/{p-b6694eb3.system.entry.js → p-0489096c.system.entry.js} +1 -1
  238. package/dist/taro-components/{p-d60b66c2.entry.js → p-06273141.entry.js} +1 -1
  239. package/dist/taro-components/{p-9e138188.entry.js → p-065a10d7.entry.js} +1 -1
  240. package/dist/taro-components/p-085076c5.system.entry.js +1 -0
  241. package/dist/taro-components/p-08b7ecd7.system.entry.js +1 -0
  242. package/dist/taro-components/{p-e09e8b51.system.entry.js → p-09a97240.system.entry.js} +1 -1
  243. package/dist/taro-components/p-0a250d71.system.entry.js +1 -0
  244. package/dist/taro-components/{p-02dd30fa.system.entry.js → p-0d7a705b.system.entry.js} +1 -1
  245. package/dist/taro-components/{p-55be4215.entry.js → p-0e3b37e9.entry.js} +1 -1
  246. package/dist/taro-components/{p-8d437a7f.entry.js → p-0e8199b7.entry.js} +1 -1
  247. package/dist/taro-components/{p-970623a1.entry.js → p-0ec2e88a.entry.js} +1 -1
  248. package/dist/taro-components/{p-b9f19e77.entry.js → p-0ffb5efa.entry.js} +1 -1
  249. package/dist/taro-components/{p-2f403f7f.entry.js → p-1063b189.entry.js} +1 -1
  250. package/dist/taro-components/{p-48e5ddaa.entry.js → p-124ac21f.entry.js} +1 -1
  251. package/dist/taro-components/{p-205a0692.system.entry.js → p-15624788.system.entry.js} +1 -1
  252. package/dist/taro-components/{p-ef0aff29.entry.js → p-1a729286.entry.js} +1 -1
  253. package/dist/taro-components/{p-ba195b39.entry.js → p-1ab6157b.entry.js} +1 -1
  254. package/dist/taro-components/{p-dca5e9ee.entry.js → p-1af1d02c.entry.js} +1 -1
  255. package/dist/taro-components/{p-ba50342b.system.entry.js → p-1b789738.system.entry.js} +1 -1
  256. package/dist/taro-components/{p-5bb60b5e.entry.js → p-1cf16dfa.entry.js} +1 -1
  257. package/dist/taro-components/p-1f118969.system.entry.js +1 -0
  258. package/dist/taro-components/{p-eeb6aeb5.system.entry.js → p-1fa77ee7.system.entry.js} +1 -1
  259. package/dist/taro-components/{p-3ca9aa19.system.entry.js → p-21c07cb3.system.entry.js} +1 -1
  260. package/dist/taro-components/{p-8b70fd1d.entry.js → p-22bf7daf.entry.js} +1 -1
  261. package/dist/taro-components/{p-9890bb7b.entry.js → p-24d9836e.entry.js} +1 -1
  262. package/dist/taro-components/{p-e7d82e00.entry.js → p-29638de3.entry.js} +1 -1
  263. package/dist/taro-components/{p-600d9210.entry.js → p-2c7bcfcf.entry.js} +1 -1
  264. package/dist/taro-components/{p-bdee068b.system.entry.js → p-2f0c2695.system.entry.js} +1 -1
  265. package/dist/taro-components/{p-290fd78b.system.entry.js → p-3004e71a.system.entry.js} +1 -1
  266. package/dist/taro-components/{p-67ff5a50.system.entry.js → p-307d8d27.system.entry.js} +1 -1
  267. package/dist/taro-components/p-32e9981a.system.entry.js +1 -0
  268. package/dist/taro-components/{p-92daad3f.system.entry.js → p-338dce3c.system.entry.js} +1 -1
  269. package/dist/taro-components/p-357ba712.system.entry.js +1 -0
  270. package/dist/taro-components/{p-dbb47d14.system.entry.js → p-36d4407e.system.entry.js} +1 -1
  271. package/dist/taro-components/{p-bdd7b5a9.entry.js → p-37e378b9.entry.js} +1 -1
  272. package/dist/taro-components/p-3b9ea634.entry.js +1 -0
  273. package/dist/taro-components/p-3f3abe55.system.entry.js +1 -0
  274. package/dist/taro-components/{p-a197cbae.system.entry.js → p-40dc8b5e.system.entry.js} +1 -1
  275. package/dist/taro-components/{p-a2a70581.system.entry.js → p-411e965f.system.entry.js} +1 -1
  276. package/dist/taro-components/{p-4928ee37.entry.js → p-43720011.entry.js} +1 -1
  277. package/dist/taro-components/{p-4e4ac1fe.system.entry.js → p-4c4c12c1.system.entry.js} +1 -1
  278. package/dist/taro-components/p-4cedbe5e.system.entry.js +1 -0
  279. package/dist/taro-components/{p-114f89d6.system.entry.js → p-4d335035.system.entry.js} +1 -1
  280. package/dist/taro-components/{p-e457a83a.system.entry.js → p-4f5277c5.system.entry.js} +1 -1
  281. package/dist/taro-components/p-4fc40739.entry.js +1 -0
  282. package/dist/taro-components/{p-8df92f90.system.entry.js → p-519fbe84.system.entry.js} +1 -1
  283. package/dist/taro-components/p-5756cf00.system.entry.js +1 -0
  284. package/dist/taro-components/{p-54941baf.system.entry.js → p-5870248f.system.entry.js} +1 -1
  285. package/dist/taro-components/{p-758e3319.system.entry.js → p-58cc2e6d.system.entry.js} +1 -1
  286. package/dist/taro-components/{p-6229bb7d.system.entry.js → p-5994d9f2.system.entry.js} +1 -1
  287. package/dist/taro-components/p-5ebc7010.system.entry.js +1 -0
  288. package/dist/taro-components/{p-00d05751.entry.js → p-5eeaa727.entry.js} +1 -1
  289. package/dist/taro-components/{p-80106cc2.system.entry.js → p-600e89cc.system.entry.js} +1 -1
  290. package/dist/taro-components/{p-128f9eb0.entry.js → p-60740eb1.entry.js} +1 -1
  291. package/dist/taro-components/{p-64f5abce.entry.js → p-6191cc77.entry.js} +1 -1
  292. package/dist/taro-components/{p-170ce205.system.entry.js → p-6437f117.system.entry.js} +1 -1
  293. package/dist/taro-components/p-64eb91f7.entry.js +1 -0
  294. package/dist/taro-components/{p-bb87373d.entry.js → p-67ad3341.entry.js} +1 -1
  295. package/dist/taro-components/{p-87422c88.entry.js → p-69c43a81.entry.js} +1 -1
  296. package/dist/taro-components/{p-7f084a29.system.entry.js → p-6cde54e5.system.entry.js} +1 -1
  297. package/dist/taro-components/{p-06cf6b18.system.entry.js → p-71ff5bd2.system.entry.js} +1 -1
  298. package/dist/taro-components/p-72b118b0.entry.js +1 -0
  299. package/dist/taro-components/{p-80278124.entry.js → p-76996fcb.entry.js} +1 -1
  300. package/dist/taro-components/{p-940d41e9.system.entry.js → p-7726b789.system.entry.js} +1 -1
  301. package/dist/taro-components/{p-caba17c6.system.entry.js → p-780bb551.system.entry.js} +1 -1
  302. package/dist/taro-components/{p-445810cb.entry.js → p-782210ab.entry.js} +1 -1
  303. package/dist/taro-components/{p-95058ee1.entry.js → p-78e4805e.entry.js} +1 -1
  304. package/dist/taro-components/p-7bfc5f3d.entry.js +1 -0
  305. package/dist/taro-components/{p-6bbb639a.system.js → p-7e6b54cb.system.js} +2 -2
  306. package/dist/taro-components/{p-4cbd26dd.entry.js → p-84958ace.entry.js} +1 -1
  307. package/dist/taro-components/p-862b38b9.entry.js +1 -0
  308. package/dist/taro-components/{p-e1c2e636.entry.js → p-8ca82a56.entry.js} +1 -1
  309. package/dist/taro-components/{p-9937cf08.system.entry.js → p-8d990f1c.system.entry.js} +1 -1
  310. package/dist/taro-components/{p-61cb688a.entry.js → p-8e553565.entry.js} +1 -1
  311. package/dist/taro-components/{p-0cf04b3d.system.entry.js → p-8e8a6706.system.entry.js} +1 -1
  312. package/dist/taro-components/{p-d36f8c4f.entry.js → p-91046a45.entry.js} +1 -1
  313. package/dist/taro-components/{p-98b1fc13.js → p-9137dcab.js} +2 -2
  314. package/dist/taro-components/{p-352b6b6b.system.entry.js → p-92d04741.system.entry.js} +1 -1
  315. package/dist/taro-components/{p-846aa5ec.entry.js → p-974d26f6.entry.js} +1 -1
  316. package/dist/taro-components/p-9a5fbb2e.entry.js +1 -0
  317. package/dist/taro-components/{p-bb712e32.entry.js → p-9cdc74a1.entry.js} +1 -1
  318. package/dist/taro-components/{p-ebf38559.system.entry.js → p-9d76d7a9.system.entry.js} +1 -1
  319. package/dist/taro-components/{p-040f15f2.system.entry.js → p-9e03bc7a.system.entry.js} +1 -1
  320. package/dist/taro-components/{p-bba220a9.entry.js → p-9ea4f297.entry.js} +1 -1
  321. package/dist/taro-components/{p-8e45a207.system.entry.js → p-9eea44cf.system.entry.js} +1 -1
  322. package/dist/taro-components/{p-2dea35fd.entry.js → p-9fe49bab.entry.js} +1 -1
  323. package/dist/taro-components/{p-bf0d2c21.system.entry.js → p-a05cd021.system.entry.js} +1 -1
  324. package/dist/taro-components/{p-34933f34.system.entry.js → p-a2141e85.system.entry.js} +1 -1
  325. package/dist/taro-components/{p-2f683899.entry.js → p-a2d590ad.entry.js} +1 -1
  326. package/dist/taro-components/{p-2d6d4850.entry.js → p-a4951dd6.entry.js} +1 -1
  327. package/dist/taro-components/p-a5a51112.entry.js +1 -0
  328. package/dist/taro-components/{p-510a69b3.entry.js → p-a6e2dd48.entry.js} +1 -1
  329. package/dist/taro-components/{p-07e94301.system.entry.js → p-a74c970c.system.entry.js} +1 -1
  330. package/dist/taro-components/p-a7d31b01.system.entry.js +1 -0
  331. package/dist/taro-components/{p-581e844d.system.entry.js → p-a90221ab.system.entry.js} +1 -1
  332. package/dist/taro-components/{p-c0f710ae.entry.js → p-aa04f605.entry.js} +1 -1
  333. package/dist/taro-components/p-ad9b04e0.entry.js +1 -0
  334. package/dist/taro-components/p-ae15be00.system.entry.js +1 -0
  335. package/dist/taro-components/{p-26545e4e.system.entry.js → p-b07cd197.system.entry.js} +1 -1
  336. package/dist/taro-components/{p-9623f19c.system.entry.js → p-b1d2b575.system.entry.js} +1 -1
  337. package/dist/taro-components/p-b201ff38.entry.js +1 -0
  338. package/dist/taro-components/{p-75b927b4.system.entry.js → p-b5b30493.system.entry.js} +1 -1
  339. package/dist/taro-components/{p-e26c787b.entry.js → p-b641e598.entry.js} +1 -1
  340. package/dist/taro-components/{p-e25c2a22.entry.js → p-b9d0a42a.entry.js} +1 -1
  341. package/dist/taro-components/{p-4408d796.entry.js → p-ba77c2e9.entry.js} +1 -1
  342. package/dist/taro-components/{p-9b4e5578.entry.js → p-bc541cd8.entry.js} +1 -1
  343. package/dist/taro-components/p-bd4ed8b1.entry.js +1 -0
  344. package/dist/taro-components/{p-7cecf08e.system.entry.js → p-be96eb59.system.entry.js} +1 -1
  345. package/dist/taro-components/{p-3bd04d38.entry.js → p-beae2db9.entry.js} +1 -1
  346. package/dist/taro-components/p-bf0c8449.system.entry.js +1 -0
  347. package/dist/taro-components/p-c0080d83.entry.js +1 -0
  348. package/dist/taro-components/{p-de3e1cee.system.entry.js → p-c1a3fecf.system.entry.js} +1 -1
  349. package/dist/taro-components/{p-3dadbe4c.system.entry.js → p-c408b0ff.system.entry.js} +1 -1
  350. package/dist/taro-components/{p-578f19ea.system.entry.js → p-c913b635.system.entry.js} +1 -1
  351. package/dist/taro-components/p-cb406f85.system.entry.js +1 -0
  352. package/dist/taro-components/{p-74129eac.entry.js → p-cc1ff664.entry.js} +1 -1
  353. package/dist/taro-components/{p-ff7dfc5c.system.entry.js → p-ccc64042.system.entry.js} +1 -1
  354. package/dist/taro-components/{p-3d76b46e.system.entry.js → p-ce303d12.system.entry.js} +1 -1
  355. package/dist/taro-components/{p-870e0d9d.entry.js → p-d1756770.entry.js} +1 -1
  356. package/dist/taro-components/{p-1182efdd.system.entry.js → p-d1ccaf5f.system.entry.js} +1 -1
  357. package/dist/taro-components/{p-4e4cc6ab.entry.js → p-d2e0b15c.entry.js} +1 -1
  358. package/dist/taro-components/p-d550aea9.system.entry.js +1 -0
  359. package/dist/taro-components/p-d867e333.system.entry.js +1 -0
  360. package/dist/taro-components/p-d9dcc6c6.entry.js +1 -0
  361. package/dist/taro-components/{p-b8e2465a.entry.js → p-da3db323.entry.js} +1 -1
  362. package/dist/taro-components/p-dc5d65a0.system.entry.js +1 -0
  363. package/dist/taro-components/{p-1ee83d63.system.entry.js → p-de96861c.system.entry.js} +1 -1
  364. package/dist/taro-components/p-e2cd5dd3.system.entry.js +1 -0
  365. package/dist/taro-components/{p-1ced140d.entry.js → p-e598f47b.entry.js} +1 -1
  366. package/dist/taro-components/{p-861834ce.entry.js → p-e740320c.entry.js} +1 -1
  367. package/dist/taro-components/p-e976c6c9.system.entry.js +1 -0
  368. package/dist/taro-components/p-ea0d5d4f.system.entry.js +1 -0
  369. package/dist/taro-components/{p-dc6db06e.system.entry.js → p-ec171824.system.entry.js} +1 -1
  370. package/dist/taro-components/{p-a972aa1d.system.js → p-ed331c06.system.js} +1 -1
  371. package/dist/taro-components/{p-3e9bf572.entry.js → p-ef322936.entry.js} +1 -1
  372. package/dist/taro-components/{p-dc98486d.entry.js → p-f1304456.entry.js} +1 -1
  373. package/dist/taro-components/{p-b317674b.entry.js → p-f2235cbb.entry.js} +1 -1
  374. package/dist/taro-components/p-f23cfdc8.entry.js +1 -0
  375. package/dist/taro-components/{p-16954dd6.entry.js → p-f26ab2c3.entry.js} +1 -1
  376. package/dist/taro-components/{p-6e9d509a.entry.js → p-f2c86846.entry.js} +1 -1
  377. package/dist/taro-components/{p-bcf5d78a.system.entry.js → p-f420680c.system.entry.js} +1 -1
  378. package/dist/taro-components/{p-74b1be20.system.entry.js → p-f4291969.system.entry.js} +1 -1
  379. package/dist/taro-components/p-f4d86882.entry.js +1 -0
  380. package/dist/taro-components/p-f533bc2f.entry.js +1 -0
  381. package/dist/taro-components/p-f658de2e.entry.js +1 -0
  382. package/dist/taro-components/{p-37593ce7.entry.js → p-f78823a1.entry.js} +1 -1
  383. package/dist/taro-components/{p-50e1ba06.system.entry.js → p-fac4ce6f.system.entry.js} +1 -1
  384. package/dist/taro-components/{p-1d25f4e3.entry.js → p-fbb2446e.entry.js} +1 -1
  385. package/dist/taro-components/{p-a17b1a7e.entry.js → p-fbdb2b16.entry.js} +1 -1
  386. package/dist/taro-components/{p-1e3d7899.system.entry.js → p-fd7ff0f3.system.entry.js} +1 -1
  387. package/dist/taro-components/{p-1b42ba7e.system.entry.js → p-fea523c1.system.entry.js} +1 -1
  388. package/dist/taro-components/taro-components.esm.js +1 -1
  389. package/dist/taro-components/taro-components.js +1 -1
  390. package/package.json +3 -3
  391. package/dist/taro-components/p-014534ca.system.entry.js +0 -1
  392. package/dist/taro-components/p-015b3025.system.entry.js +0 -1
  393. package/dist/taro-components/p-0e3d8ada.entry.js +0 -1
  394. package/dist/taro-components/p-101f49dd.entry.js +0 -1
  395. package/dist/taro-components/p-10d3c795.system.entry.js +0 -1
  396. package/dist/taro-components/p-2059cbc0.system.entry.js +0 -1
  397. package/dist/taro-components/p-25bbf4aa.system.entry.js +0 -1
  398. package/dist/taro-components/p-28bf8423.system.entry.js +0 -1
  399. package/dist/taro-components/p-2bbdbe9c.system.entry.js +0 -1
  400. package/dist/taro-components/p-30623371.entry.js +0 -1
  401. package/dist/taro-components/p-35e96af8.system.entry.js +0 -1
  402. package/dist/taro-components/p-387f300a.entry.js +0 -1
  403. package/dist/taro-components/p-3afbae36.entry.js +0 -1
  404. package/dist/taro-components/p-449f60fa.entry.js +0 -1
  405. package/dist/taro-components/p-46661961.entry.js +0 -1
  406. package/dist/taro-components/p-5307637c.system.entry.js +0 -1
  407. package/dist/taro-components/p-5a1bb2d3.system.entry.js +0 -1
  408. package/dist/taro-components/p-6066e633.entry.js +0 -1
  409. package/dist/taro-components/p-69e747dc.entry.js +0 -1
  410. package/dist/taro-components/p-6cf765b7.system.entry.js +0 -1
  411. package/dist/taro-components/p-6f027b85.entry.js +0 -1
  412. package/dist/taro-components/p-72b954ce.system.entry.js +0 -1
  413. package/dist/taro-components/p-764cd497.entry.js +0 -1
  414. package/dist/taro-components/p-7b6f6526.system.entry.js +0 -1
  415. package/dist/taro-components/p-7bd1345f.entry.js +0 -1
  416. package/dist/taro-components/p-83699a53.entry.js +0 -1
  417. package/dist/taro-components/p-88c5f0eb.system.entry.js +0 -1
  418. package/dist/taro-components/p-95e88e0f.entry.js +0 -1
  419. package/dist/taro-components/p-9a5bfa2a.system.entry.js +0 -1
  420. package/dist/taro-components/p-a61e195b.entry.js +0 -1
  421. package/dist/taro-components/p-ae128150.entry.js +0 -1
  422. package/dist/taro-components/p-b04cdd9a.system.entry.js +0 -1
  423. package/dist/taro-components/p-b8858af9.system.entry.js +0 -1
  424. package/dist/taro-components/p-c11fcb25.system.entry.js +0 -1
  425. package/dist/taro-components/p-cbc19d63.entry.js +0 -1
  426. package/dist/taro-components/p-d03136d7.system.entry.js +0 -1
  427. package/dist/taro-components/p-d78ab2de.system.entry.js +0 -1
  428. package/dist/taro-components/p-f554428f.system.entry.js +0 -1
  429. package/dist/taro-components/p-fd1d75db.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,g as i}from"./p-98b1fc13.js";function h(t){return null!=t?t:""}const a=class{constructor(s){t(this,s),this.onInput=e(this,"input",7),this.onFocus=e(this,"focus",7),this.onBlur=e(this,"blur",7),this.onConfirm=e(this,"confirm",7),this.onChange=e(this,"change",7),this.onLineChange=e(this,"linechange",7),this.onKeyDown=e(this,"keydown",7),this.handleInput=t=>{t.stopPropagation(),this.handleLineChange();const e=t.target.value||"";this.value=e,this.onInput.emit({value:e,cursor:e.length})},this.handleFocus=t=>{t.stopPropagation(),this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{t.stopPropagation(),this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.handleKeyDown=t=>{t.stopPropagation();const{value:e}=t.target,s=t.keyCode||t.code;this.onKeyDown.emit({value:e,cursor:e.length,keyCode:s}),13===s&&this.onConfirm.emit({value:e})},this.calculateContentHeight=(t,e)=>{let s=t.style.height,i=t.offsetHeight,h=t.scrollHeight,a=t.style.overflow,o=t.style.minHeight||null;if(!(i>=h))return h;if(t.style.minHeight=0,t.style.height=i+e+"px",t.style.overflow="hidden",h<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(i-=e)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=i+++"px";return t.style.height=s,t.style.overflow=a,t.style.minHeight=o,i}},this.getNumberOfLines=()=>{const t=this.textareaRef,e=window.getComputedStyle?window.getComputedStyle(t):t.style,s=parseInt(e.lineHeight,10),i=this.calculateContentHeight(t,s);return Math.floor(i/s)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}watchAutoFocus(t,e){var s;!e&&t&&(null===(s=this.textareaRef)||void 0===s||s.focus())}watchValue(t){const e=h(t);this.textareaRef.value!==e&&(this.textareaRef.value=e)}async focus(){this.textareaRef.focus()}render(){const{value:t,placeholder:e,disabled:i,maxlength:a,autoFocus:o,autoHeight:n,name:r,nativeProps:u,handleInput:c,handleFocus:l,handleBlur:d,handleChange:p}=this,g={};return n&&(g.rows=this.line),s("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t,o&&t&&t.focus())},class:"taro-textarea "+(n?"auto-height":""),value:h(t),placeholder:e,name:r,disabled:i,maxlength:a,autofocus:o,onInput:c,onFocus:l,onBlur:d,onChange:p,onKeyDown:this.handleKeyDown},u,g))}get el(){return i(this)}static get watchers(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}}};a.style="taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}";export{a as taro_textarea_core}
1
+ import{r as t,c as e,h as s,g as i}from"./p-9137dcab.js";function h(t){return null!=t?t:""}const a=class{constructor(s){t(this,s),this.onInput=e(this,"input",7),this.onFocus=e(this,"focus",7),this.onBlur=e(this,"blur",7),this.onConfirm=e(this,"confirm",7),this.onChange=e(this,"change",7),this.onLineChange=e(this,"linechange",7),this.onKeyDown=e(this,"keydown",7),this.handleInput=t=>{t.stopPropagation(),this.handleLineChange();const e=t.target.value||"";this.value=e,this.onInput.emit({value:e,cursor:e.length})},this.handleFocus=t=>{t.stopPropagation(),this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{t.stopPropagation(),this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.handleKeyDown=t=>{t.stopPropagation();const{value:e}=t.target,s=t.keyCode||t.code;this.onKeyDown.emit({value:e,cursor:e.length,keyCode:s}),13===s&&this.onConfirm.emit({value:e})},this.calculateContentHeight=(t,e)=>{let s=t.style.height,i=t.offsetHeight,h=t.scrollHeight,a=t.style.overflow,o=t.style.minHeight||null;if(!(i>=h))return h;if(t.style.minHeight=0,t.style.height=i+e+"px",t.style.overflow="hidden",h<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(i-=e)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=i+++"px";return t.style.height=s,t.style.overflow=a,t.style.minHeight=o,i}},this.getNumberOfLines=()=>{const t=this.textareaRef,e=window.getComputedStyle?window.getComputedStyle(t):t.style,s=parseInt(e.lineHeight,10),i=this.calculateContentHeight(t,s);return Math.floor(i/s)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}watchAutoFocus(t,e){var s;!e&&t&&(null===(s=this.textareaRef)||void 0===s||s.focus())}watchValue(t){const e=h(t);this.textareaRef.value!==e&&(this.textareaRef.value=e)}async focus(){this.textareaRef.focus()}render(){const{value:t,placeholder:e,disabled:i,maxlength:a,autoFocus:o,autoHeight:n,name:r,nativeProps:u,handleInput:c,handleFocus:l,handleBlur:d,handleChange:p}=this,g={};return n&&(g.rows=this.line),s("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t,o&&t&&t.focus())},class:"taro-textarea "+(n?"auto-height":""),value:h(t),placeholder:e,name:r,disabled:i,maxlength:a,autofocus:o,onInput:c,onFocus:l,onBlur:d,onChange:p,onKeyDown:this.handleKeyDown},u,g))}get el(){return i(this)}static get watchers(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}}};a.style="taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}";export{a as taro_textarea_core}
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js"],(function(t){"use strict";var i,e,n,h;return{setters:[function(t){i=t.r;e=t.c;n=t.h;h=t.g}],execute:function(){var o="taro-canvas-core{width:300px;height:150px;display:block;position:relative}";var s=500;var r=t("taro_canvas_core",function(){function t(t){var n=this;i(this,t);this.onLongTap=e(this,"longtap",7);this.onTouchStart=function(){n.timer=setTimeout((function(){n.onLongTap.emit()}),s)};this.onTouchMove=function(){clearTimeout(n.timer)};this.onTouchEnd=function(){clearTimeout(n.timer)};this.canvasId=undefined;this.height=undefined;this.width=undefined;this.nativeProps={}}t.prototype.componentDidRender=function(){var t=this.el.children[0];if(!this.height||!this.width){var i=window.getComputedStyle(t);this.height||(this.height=i.height);this.width||(this.width=i.width)}t.height=parseInt(this.height);t.width=parseInt(this.width)};t.prototype.render=function(){var t=this,i=t.canvasId,e=t.nativeProps;return n("canvas",Object.assign({"canvas-id":i,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchCancel:this.onTouchEnd,onTouchEnd:this.onTouchEnd},e))};Object.defineProperty(t.prototype,"el",{get:function(){return h(this)},enumerable:false,configurable:true});return t}());r.style=o}}}));
1
+ System.register(["./p-7e6b54cb.system.js"],(function(t){"use strict";var i,e,n,h;return{setters:[function(t){i=t.r;e=t.c;n=t.h;h=t.g}],execute:function(){var o="taro-canvas-core{width:300px;height:150px;display:block;position:relative}";var s=500;var r=t("taro_canvas_core",function(){function t(t){var n=this;i(this,t);this.onLongTap=e(this,"longtap",7);this.onTouchStart=function(){n.timer=setTimeout((function(){n.onLongTap.emit()}),s)};this.onTouchMove=function(){clearTimeout(n.timer)};this.onTouchEnd=function(){clearTimeout(n.timer)};this.canvasId=undefined;this.height=undefined;this.width=undefined;this.nativeProps={}}t.prototype.componentDidRender=function(){var t=this.el.children[0];if(!this.height||!this.width){var i=window.getComputedStyle(t);this.height||(this.height=i.height);this.width||(this.width=i.width)}t.height=parseInt(this.height);t.width=parseInt(this.width)};t.prototype.render=function(){var t=this,i=t.canvasId,e=t.nativeProps;return n("canvas",Object.assign({"canvas-id":i,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchCancel:this.onTouchEnd,onTouchEnd:this.onTouchEnd},e))};Object.defineProperty(t.prototype,"el",{get:function(){return h(this)},enumerable:false,configurable:true});return t}());r.style=o}}}));
@@ -1 +1 @@
1
- import{r as t,c as o,h as r,H as e,g as a}from"./p-98b1fc13.js";import{c as i}from"./p-de951a46.js";const n=class{constructor(r){t(this,r),this.onSubmit=o(this,"tarobuttonsubmit",7),this.onReset=o(this,"tarobuttonreset",7),this.disabled=void 0,this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.size=void 0,this.plain=void 0,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}onClick(t){this.disabled&&t.stopPropagation()}onTouchStart(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}onTouchEnd(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}render(){const{disabled:t,hoverClass:o,type:a,size:n,plain:l,loading:d,hover:c}=this,b=i({[`${o}`]:c&&!t});return r(e,{class:b,type:a,plain:l,loading:d,size:n,disabled:t},d&&r("i",{class:"weui-loading"}),r("slot",null))}get el(){return a(this)}};n.style=".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;-webkit-transform:scale(.5);transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}";export{n as taro_button_core}
1
+ import{r as t,c as o,h as r,H as e,g as a}from"./p-9137dcab.js";import{c as i}from"./p-de951a46.js";const n=class{constructor(r){t(this,r),this.onSubmit=o(this,"tarobuttonsubmit",7),this.onReset=o(this,"tarobuttonreset",7),this.disabled=void 0,this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.size=void 0,this.plain=void 0,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}onClick(t){this.disabled&&t.stopPropagation()}onTouchStart(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}onTouchEnd(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}render(){const{disabled:t,hoverClass:o,type:a,size:n,plain:l,loading:d,hover:c}=this,b=i({[`${o}`]:c&&!t});return r(e,{class:b,type:a,plain:l,loading:d,size:n,disabled:t},d&&r("i",{class:"weui-loading"}),r("slot",null))}get el(){return a(this)}};n.style=".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;-webkit-transform:scale(.5);transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}";export{n as taro_button_core}
@@ -1,2 +1,2 @@
1
- let e,t,n=!1,l=!1,o=!1,s=!1;const i="http://www.w3.org/1999/xlink",c={},r=e=>"object"==(e=typeof e)||"function"===e;function a(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const f=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const a=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!r(l))&&(l+=""),i&&c?a[a.length-1].t+=l:a.push(i?u(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,$);const d=u(e,null);return d.l=t,a.length>0&&(d.o=a),d.i=o,d.u=s,d},u=(e,t)=>({$:0,p:e,t,m:null,o:null,l:null,i:null,u:null}),d={},$={forEach:(e,t)=>e.map(p).forEach(t),map:(e,t)=>e.map(p).map(t).map(m)},p=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.p,vtext:e.t}),m=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),f(e.vtag,t,...e.vchildren||[])}const t=u(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},y=e=>le(e).h,h=(e,t,n)=>{const l=y(e);return{emit:e=>b(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},b=(e,t,n)=>{const l=pe.ce(t,n);return e.dispatchEvent(l),l},v=new WeakMap,w=e=>"sc-"+e.v,k=(e,t,n,l,o,s)=>{if(n!==l){let c=ie(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,o=S(n),s=S(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const f=r(l);if((c||f&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let u=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,u=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(u?e.removeAttributeNS(i,t):e.removeAttribute(t)):(!c||4&s||o)&&!f&&(l=!0===l?"":l,u?e.setAttributeNS(i,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ie(ue,a)?a.slice(2):a[2]+t.slice(3),n&&pe.rel(e,t,n,!1),l&&pe.ael(e,t,l,!1)}},g=/\s/,S=e=>e?e.split(g):[],j=(e,t,n,l)=>{const o=11===t.m.nodeType&&t.m.host?t.m.host:t.m,s=e&&e.l||c,i=t.l||c;for(l in s)l in i||k(o,l,s[l],void 0,n,t.$);for(l in i)k(o,l,s[l],i[l],n,t.$)},C=(l,s,i)=>{const c=s.o[i];let r,a,f,u=0;if(n||(o=!0,"slot"===c.p&&(c.$|=c.o?2:1)),null!==c.t)r=c.m=de.createTextNode(c.t);else if(1&c.$)r=c.m=de.createTextNode("");else if(r=c.m=de.createElement(2&c.$?"slot-fb":c.p),j(null,c,!1),c.o)for(u=0;u<c.o.length;++u)a=C(l,c,u),a&&r.appendChild(a);return r["s-hn"]=t,3&c.$&&(r["s-sr"]=!0,r["s-cr"]=e,r["s-sn"]=c.u||"",f=l&&l.o&&l.o[i],f&&f.p===c.p&&l.m&&M(l.m,!1)),r},M=(e,n)=>{pe.$|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const s=l[e];s["s-hn"]!==t&&s["s-ol"]&&(T(s).insertBefore(s,P(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),n&&M(s,n)}pe.$&=-2},O=(e,t,n,l,o,s)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(;o<=s;++o)l[o]&&(i=C(null,n,o),i&&(l[o].m=i,c.insertBefore(i,P(t))))},x=(e,t,n,o,s)=>{for(;t<=n;++t)(o=e[t])&&(s=o.m,D(o),l=!0,s["s-ol"]?s["s-ol"].remove():M(s,!0),s.remove())},R=(e,t)=>e.p===t.p&&("slot"===e.p?e.u===t.u:e.i===t.i),P=e=>e&&e["s-ol"]||e,T=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,E=(e,t)=>{const n=t.m=e.m,l=e.o,o=t.o,s=t.t;let i;null===s?("slot"===t.p||j(e,t,!1),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,c=0,r=0,a=0,f=t.length-1,u=t[0],d=t[f],$=l.length-1,p=l[0],m=l[$];for(;i<=f&&c<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++c];else if(null==m)m=l[--$];else if(R(u,p))E(u,p),u=t[++i],p=l[++c];else if(R(d,m))E(d,m),d=t[--f],m=l[--$];else if(R(u,m))"slot"!==u.p&&"slot"!==m.p||M(u.m.parentNode,!1),E(u,m),e.insertBefore(u.m,d.m.nextSibling),u=t[++i],m=l[--$];else if(R(d,p))"slot"!==u.p&&"slot"!==m.p||M(d.m.parentNode,!1),E(d,p),e.insertBefore(d.m,u.m),d=t[--f],p=l[++c];else{for(r=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===p.i){r=a;break}r>=0?(s=t[r],s.p!==p.p?o=C(t&&t[c],n,r):(E(s,p),t[r]=void 0,o=s.m),p=l[++c]):(o=C(t&&t[c],n,c),p=l[++c]),o&&T(u.m).insertBefore(o,P(u.m))}i>f?O(e,null==l[$+1]?null:l[$+1].m,n,l,c,$):c>$&&x(t,i,f)})(n,l,t,o):null!==o?(null!==e.t&&(n.textContent=""),O(n,null,t,o,0,o.length-1)):null!==l&&x(l,0,l.length-1)):(i=n["s-cr"])?i.parentNode.textContent=s:e.t!==s&&(n.data=s)},L=e=>{const t=e.childNodes;let n,l,o,s,i,c;for(l=0,o=t.length;l<o;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,s=0;s<o;s++)if(c=t[s].nodeType,t[s]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[s].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[s].textContent.trim()){n.hidden=!0;break}L(n)}},N=[],U=e=>{let t,n,o,s,i,c,r=0;const a=e.childNodes,f=a.length;for(;r<f;r++){if(t=a[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(o=n.parentNode.childNodes,s=t["s-sn"],c=o.length-1;c>=0;c--)n=o[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(W(n,s)?(i=N.find((e=>e.k===n)),l=!0,n["s-sn"]=n["s-sn"]||s,i?i.g=t:N.push({g:t,k:n}),n["s-sr"]&&N.map((e=>{W(e.k,n["s-sn"])&&(i=N.find((e=>e.k===n)),i&&!e.g&&(e.g=i.g))}))):N.some((e=>e.k===n))||N.push({k:n}));1===t.nodeType&&U(t)}},W=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,D=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(D)},A=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},F=(e,t)=>{if(e.$|=16,!(4&e.$))return A(e,e.j),Se((()=>H(e,t)));e.$|=512},H=(e,t)=>{const n=e.C;let l;return t?(e.$|=256,e.M&&(e.M.map((([e,t])=>B(n,e,t))),e.M=null),l=B(n,"componentWillLoad")):l=B(n,"componentWillUpdate"),G(l,(()=>q(e,n,t)))},q=async(e,t,n)=>{const l=e.h,o=l["s-rc"];n&&(e=>{const t=e.O;((e,t)=>{var n;let l=w(t);const o=fe.get(l);if(e=11===e.nodeType?e:de,o)if("string"==typeof o){let t,s=v.get(e=e.head||e);if(s||v.set(e,s=new Set),!s.has(l)){{t=de.createElement("style"),t.innerHTML=o;const l=null!==(n=pe.R)&&void 0!==n?n:a(de);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}s&&s.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.h.getRootNode(),t)})(e);V(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>_(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},V=(s,i)=>{try{i=i.render(),s.$&=-17,s.$|=2,((s,i)=>{const c=s.h,r=s.O,a=s.P||u(null,null),$=(e=>e&&e.p===d)(i)?i:f(null,null,i);if(t=c.tagName,r.T&&($.l=$.l||{},r.T.map((([e,t])=>$.l[t]=c[e]))),$.p=null,$.$|=4,s.P=$,$.m=a.m=c,e=c["s-cr"],n=0!=(1&r.$),l=!1,E(a,$),pe.$|=1,o){let e,t,n,l,o,s;U($.m);let i=0;for(;i<N.length;i++)e=N[i],t=e.k,t["s-ol"]||(n=de.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<N.length;i++)if(e=N[i],t=e.k,e.g){for(l=e.g.parentNode,o=e.g.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}l&&L($.m),pe.$&=-2,N.length=0})(s,i)}catch(e){ce(e,s.h)}return null},_=e=>{const t=e.h,n=e.C,l=e.j;B(n,"componentDidRender"),64&e.$?B(n,"componentDidUpdate"):(e.$|=64,I(t),B(n,"componentDidLoad"),e.L(t),l||z()),e.N(t),e.S&&(e.S(),e.S=void 0),512&e.$&&ge((()=>F(e,!1))),e.$&=-517},z=()=>{I(de.documentElement),ge((()=>b(ue,"appload",{detail:{namespace:"taro-components"}})))},B=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ce(e)}},G=(e,t)=>e&&e.then?e.then(t):t(),I=e=>e.classList.add("hydrated"),J=(e,t,n)=>{if(t.U){e.watchers&&(t.W=e.watchers);const l=Object.entries(t.U),o=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>le(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=le(e),s=o.h,i=o.D.get(t),c=o.$,a=o.C;if(n=((e,t)=>null==e||r(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.D.set(t,n),a)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{a[e](n,i,t)}catch(e){ce(e,s)}}))}2==(18&c)&&F(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){const n=le(this);return n.A.then((()=>n.C[e](...t)))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){pe.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.T.push([e,o]),o}))}}return e},K=e=>{B(e,"connectedCallback")},Q=(e,t={})=>{var n;const l=[],o=t.exclude||[],s=ue.customElements,i=de.head,c=i.querySelector("meta[charset]"),r=de.createElement("style"),f=[];let u,d=!0;Object.assign(pe,t),pe.F=new URL(t.resourcesUrl||"./",de.baseURI).href,e.map((e=>{e[1].map((t=>{const n={$:t[0],v:t[1],U:t[2],H:t[3]};n.U=t[2],n.H=t[3],n.T=[],n.W={};const i=n.v,c=class extends HTMLElement{constructor(e){super(e),se(e=this,n)}connectedCallback(){u&&(clearTimeout(u),u=null),d?f.push(this):pe.jmp((()=>(e=>{if(0==(1&pe.$)){const t=le(e),n=t.O,l=()=>{};if(1&t.$)X(e,t,n.H),K(t.C);else{t.$|=1,12&n.$&&(e=>{const t=e["s-cr"]=de.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){A(t,t.j=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.$)){{if(t.$|=32,(o=ae(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.W=o.watchers,J(o,n,2),o.isProxied=!0);const e=()=>{};t.$|=8;try{new o(t)}catch(e){ce(e)}t.$&=-9,t.$|=128,e(),K(t.C)}if(o.style){let e=o.style;const t=w(n);if(!fe.has(t)){const l=()=>{};((e,t,n)=>{let l=fe.get(e);ye&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,fe.set(e,l)})(t,e,!!(1&n.$)),l()}}}const s=t.j,i=()=>F(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){pe.jmp((()=>(()=>{if(0==(1&pe.$)){const e=le(this),t=e.C;e.q&&(e.q.map((e=>e())),e.q=void 0),B(t,"disconnectedCallback")}})()))}componentOnReady(){return le(this).V}};n._=e[0],o.includes(i)||s.get(i)||(l.push(i),s.define(i,J(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=pe.R)&&void 0!==n?n:a(de);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,f.length?f.map((e=>e.connectedCallback())):pe.jmp((()=>u=setTimeout(z,30)))},X=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=Z(e,n),i=Y(t,o),c=ee(n);pe.ael(s,l,i,c),(t.q=t.q||[]).push((()=>pe.rel(s,l,i,c)))}))},Y=(e,t)=>n=>{try{256&e.$?e.C[t](n):(e.M=e.M||[]).push([t,n])}catch(e){ce(e)}},Z=(e,t)=>4&t?de:e,ee=e=>0!=(2&e),te=e=>pe.R=e,ne=new WeakMap,le=e=>ne.get(e),oe=(e,t)=>ne.set(t.C=e,t),se=(e,t)=>{const n={$:0,h:e,O:t,D:new Map};return n.A=new Promise((e=>n.N=e)),n.V=new Promise((e=>n.L=e)),e["s-p"]=[],e["s-rc"]=[],X(e,n,t.H),ne.set(e,n)},ie=(e,t)=>t in e,ce=(e,t)=>(0,console.error)(e,t),re=new Map,ae=e=>{const t=e.v.replace(/-/g,"_"),n=e._,l=re.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(re.set(n,e),e[t])),ce)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},fe=new Map,ue="undefined"!=typeof window?window:{},de=ue.document||{head:{}},$e=ue.HTMLElement||class{},pe={$:0,F:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},me=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),he=[],be=[],ve=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&pe.$?ge(ke):pe.raf(ke))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ce(e)}e.length=0},ke=()=>{we(he),we(be),(s=he.length>0)&&pe.raf(ke)},ge=e=>me().then(e),Se=ve(be,!0);export{d as H,$e as a,Q as b,h as c,y as g,f as h,me as p,oe as r,te as s}
1
+ let e,t,n=!1,l=!1,o=!1,s=!1;const i="http://www.w3.org/1999/xlink",c={},r=e=>"object"==(e=typeof e)||"function"===e;function f(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const a=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const f=[],a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!r(l))&&(l+=""),i&&c?f[f.length-1].t+=l:f.push(i?u(null,l):l),c=i)};if(a(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,f,$);const d=u(e,null);return d.l=t,f.length>0&&(d.o=f),d.i=o,d.u=s,d},u=(e,t)=>({$:0,p:e,t,m:null,o:null,l:null,i:null,u:null}),d={},$={forEach:(e,t)=>e.map(p).forEach(t),map:(e,t)=>e.map(p).map(t).map(m)},p=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.p,vtext:e.t}),m=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),a(e.vtag,t,...e.vchildren||[])}const t=u(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},y=e=>le(e).h,h=(e,t,n)=>{const l=y(e);return{emit:e=>b(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},b=(e,t,n)=>{const l=$e.ce(t,n);return e.dispatchEvent(l),l},v=new WeakMap,w=e=>"sc-"+e.v,k=(e,t,n,l,o,s)=>{if(n!==l){let c=ie(e,t),f=t.toLowerCase();if("class"===t){const t=e.classList,o=S(n),s=S(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const a=r(l);if((c||a&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let u=!1;f!==(f=f.replace(/^xlink\:?/,""))&&(t=f,u=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(u?e.removeAttributeNS(i,t):e.removeAttribute(t)):(!c||4&s||o)&&!a&&(l=!0===l?"":l,u?e.setAttributeNS(i,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ie(ue,f)?f.slice(2):f[2]+t.slice(3),n&&$e.rel(e,t,n,!1),l&&$e.ael(e,t,l,!1)}},g=/\s/,S=e=>e?e.split(g):[],j=(e,t,n,l)=>{const o=11===t.m.nodeType&&t.m.host?t.m.host:t.m,s=e&&e.l||c,i=t.l||c;for(l in s)l in i||k(o,l,s[l],void 0,n,t.$);for(l in i)k(o,l,s[l],i[l],n,t.$)},C=(l,s,i)=>{const c=s.o[i];let r,f,a,u=0;if(n||(o=!0,"slot"===c.p&&(c.$|=c.o?2:1)),null!==c.t)r=c.m=de.createTextNode(c.t);else if(1&c.$)r=c.m=de.createTextNode("");else if(r=c.m=de.createElement(2&c.$?"slot-fb":c.p),j(null,c,!1),c.o)for(u=0;u<c.o.length;++u)f=C(l,c,u),f&&r.appendChild(f);return r["s-hn"]=t,3&c.$&&(r["s-sr"]=!0,r["s-cr"]=e,r["s-sn"]=c.u||"",a=l&&l.o&&l.o[i],a&&a.p===c.p&&l.m&&M(l.m,!1)),r},M=(e,n)=>{$e.$|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const s=l[e];s["s-hn"]!==t&&s["s-ol"]&&(T(s).insertBefore(s,P(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),n&&M(s,n)}$e.$&=-2},O=(e,t,n,l,o,s)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(;o<=s;++o)l[o]&&(i=C(null,n,o),i&&(l[o].m=i,c.insertBefore(i,P(t))))},x=(e,t,n,o,s)=>{for(;t<=n;++t)(o=e[t])&&(s=o.m,D(o),l=!0,s["s-ol"]?s["s-ol"].remove():M(s,!0),s.remove())},R=(e,t)=>e.p===t.p&&("slot"===e.p?e.u===t.u:e.i===t.i),P=e=>e&&e["s-ol"]||e,T=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,E=(e,t)=>{const n=t.m=e.m,l=e.o,o=t.o,s=t.t;let i;null===s?("slot"===t.p||j(e,t,!1),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,c=0,r=0,f=0,a=t.length-1,u=t[0],d=t[a],$=l.length-1,p=l[0],m=l[$];for(;i<=a&&c<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--$];else if(R(u,p))E(u,p),u=t[++i],p=l[++c];else if(R(d,m))E(d,m),d=t[--a],m=l[--$];else if(R(u,m))"slot"!==u.p&&"slot"!==m.p||M(u.m.parentNode,!1),E(u,m),e.insertBefore(u.m,d.m.nextSibling),u=t[++i],m=l[--$];else if(R(d,p))"slot"!==u.p&&"slot"!==m.p||M(d.m.parentNode,!1),E(d,p),e.insertBefore(d.m,u.m),d=t[--a],p=l[++c];else{for(r=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].i&&t[f].i===p.i){r=f;break}r>=0?(s=t[r],s.p!==p.p?o=C(t&&t[c],n,r):(E(s,p),t[r]=void 0,o=s.m),p=l[++c]):(o=C(t&&t[c],n,c),p=l[++c]),o&&T(u.m).insertBefore(o,P(u.m))}i>a?O(e,null==l[$+1]?null:l[$+1].m,n,l,c,$):c>$&&x(t,i,a)})(n,l,t,o):null!==o?(null!==e.t&&(n.textContent=""),O(n,null,t,o,0,o.length-1)):null!==l&&x(l,0,l.length-1)):(i=n["s-cr"])?i.parentNode.textContent=s:e.t!==s&&(n.data=s)},L=e=>{const t=e.childNodes;let n,l,o,s,i,c;for(l=0,o=t.length;l<o;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,s=0;s<o;s++)if(c=t[s].nodeType,t[s]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[s].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[s].textContent.trim()){n.hidden=!0;break}L(n)}},N=[],U=e=>{let t,n,o,s,i,c,r=0;const f=e.childNodes,a=f.length;for(;r<a;r++){if(t=f[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(o=n.parentNode.childNodes,s=t["s-sn"],c=o.length-1;c>=0;c--)n=o[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(W(n,s)?(i=N.find((e=>e.k===n)),l=!0,n["s-sn"]=n["s-sn"]||s,i?i.g=t:N.push({g:t,k:n}),n["s-sr"]&&N.map((e=>{W(e.k,n["s-sn"])&&(i=N.find((e=>e.k===n)),i&&!e.g&&(e.g=i.g))}))):N.some((e=>e.k===n))||N.push({k:n}));1===t.nodeType&&U(t)}},W=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,D=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(D)},A=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},F=(e,t)=>{if(e.$|=16,!(4&e.$))return A(e,e.j),ge((()=>H(e,t)));e.$|=512},H=(e,t)=>{const n=e.C;let l;return t?(e.$|=256,e.M&&(e.M.map((([e,t])=>B(n,e,t))),e.M=null),l=B(n,"componentWillLoad")):l=B(n,"componentWillUpdate"),G(l,(()=>q(e,n,t)))},q=async(e,t,n)=>{const l=e.h,o=l["s-rc"];n&&(e=>{const t=e.O;((e,t)=>{var n;let l=w(t);const o=ae.get(l);if(e=11===e.nodeType?e:de,o)if("string"==typeof o){let t,s=v.get(e=e.head||e);if(s||v.set(e,s=new Set),!s.has(l)){{t=de.createElement("style"),t.innerHTML=o;const l=null!==(n=$e.R)&&void 0!==n?n:f(de);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}s&&s.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.h.getRootNode(),t)})(e);V(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>_(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},V=(s,i)=>{try{i=i.render(),s.$&=-17,s.$|=2,((s,i)=>{const c=s.h,r=s.O,f=s.P||u(null,null),$=(e=>e&&e.p===d)(i)?i:a(null,null,i);if(t=c.tagName,r.T&&($.l=$.l||{},r.T.map((([e,t])=>$.l[t]=c[e]))),$.p=null,$.$|=4,s.P=$,$.m=f.m=c,e=c["s-cr"],n=0!=(1&r.$),l=!1,E(f,$),$e.$|=1,o){let e,t,n,l,o,s;U($.m);let i=0;for(;i<N.length;i++)e=N[i],t=e.k,t["s-ol"]||(n=de.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<N.length;i++)if(e=N[i],t=e.k,e.g){for(l=e.g.parentNode,o=e.g.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}l&&L($.m),$e.$&=-2,N.length=0})(s,i)}catch(e){ce(e,s.h)}return null},_=e=>{const t=e.h,n=e.C,l=e.j;B(n,"componentDidRender"),64&e.$?B(n,"componentDidUpdate"):(e.$|=64,I(t),B(n,"componentDidLoad"),e.L(t),l||z()),e.N(t),e.S&&(e.S(),e.S=void 0),512&e.$&&ke((()=>F(e,!1))),e.$&=-517},z=()=>{I(de.documentElement),ke((()=>b(ue,"appload",{detail:{namespace:"taro-components"}})))},B=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ce(e)}},G=(e,t)=>e&&e.then?e.then(t):t(),I=e=>e.classList.add("hydrated"),J=(e,t,n)=>{if(t.U){e.watchers&&(t.W=e.watchers);const l=Object.entries(t.U),o=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>le(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=le(e),s=o.h,i=o.D.get(t),c=o.$,f=o.C;if(n=((e,t)=>null==e||r(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.D.set(t,n),f)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{f[e](n,i,t)}catch(e){ce(e,s)}}))}2==(18&c)&&F(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){const n=le(this);return n.A.then((()=>n.C[e](...t)))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){$e.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.T.push([e,o]),o}))}}return e},K=e=>{B(e,"connectedCallback")},Q=(e,t={})=>{var n;const l=[],o=t.exclude||[],s=ue.customElements,i=de.head,c=i.querySelector("meta[charset]"),r=de.createElement("style"),a=[];let u,d=!0;Object.assign($e,t),$e.F=new URL(t.resourcesUrl||"./",de.baseURI).href,e.map((e=>{e[1].map((t=>{const n={$:t[0],v:t[1],U:t[2],H:t[3]};n.U=t[2],n.H=t[3],n.T=[],n.W={};const i=n.v,c=class extends HTMLElement{constructor(e){super(e),se(e=this,n)}connectedCallback(){u&&(clearTimeout(u),u=null),d?a.push(this):$e.jmp((()=>(e=>{if(0==(1&$e.$)){const t=le(e),n=t.O,l=()=>{};if(1&t.$)X(e,t,n.H),K(t.C);else{t.$|=1,12&n.$&&(e=>{const t=e["s-cr"]=de.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){A(t,t.j=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.$)){{if(t.$|=32,(o=fe(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.W=o.watchers,J(o,n,2),o.isProxied=!0);const e=()=>{};t.$|=8;try{new o(t)}catch(e){ce(e)}t.$&=-9,t.$|=128,e(),K(t.C)}if(o.style){let e=o.style;const t=w(n);if(!ae.has(t)){const l=()=>{};((e,t,n)=>{let l=ae.get(e);me&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,ae.set(e,l)})(t,e,!!(1&n.$)),l()}}}const s=t.j,i=()=>F(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){$e.jmp((()=>(()=>{if(0==(1&$e.$)){const e=le(this),t=e.C;e.q&&(e.q.map((e=>e())),e.q=void 0),B(t,"disconnectedCallback")}})()))}componentOnReady(){return le(this).V}};n._=e[0],o.includes(i)||s.get(i)||(l.push(i),s.define(i,J(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=$e.R)&&void 0!==n?n:f(de);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((e=>e.connectedCallback())):$e.jmp((()=>u=setTimeout(z,30)))},X=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=Z(e,n),i=Y(t,o),c=ee(n);$e.ael(s,l,i,c),(t.q=t.q||[]).push((()=>$e.rel(s,l,i,c)))}))},Y=(e,t)=>n=>{try{256&e.$?e.C[t](n):(e.M=e.M||[]).push([t,n])}catch(e){ce(e)}},Z=(e,t)=>4&t?de:e,ee=e=>0!=(2&e),te=e=>$e.R=e,ne=new WeakMap,le=e=>ne.get(e),oe=(e,t)=>ne.set(t.C=e,t),se=(e,t)=>{const n={$:0,h:e,O:t,D:new Map};return n.A=new Promise((e=>n.N=e)),n.V=new Promise((e=>n.L=e)),e["s-p"]=[],e["s-rc"]=[],X(e,n,t.H),ne.set(e,n)},ie=(e,t)=>t in e,ce=(e,t)=>(0,console.error)(e,t),re=new Map,fe=e=>{const t=e.v.replace(/-/g,"_"),n=e._,l=re.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(re.set(n,e),e[t])),ce)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},ae=new Map,ue="undefined"!=typeof window?window:{},de=ue.document||{head:{}},$e={$:0,F:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},pe=e=>Promise.resolve(e),me=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ye=[],he=[],be=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&$e.$?ke(we):$e.raf(we))},ve=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ce(e)}e.length=0},we=()=>{ve(ye),ve(he),(s=ye.length>0)&&$e.raf(we)},ke=e=>pe().then(e),ge=be(he,!0);export{d as H,Q as b,h as c,y as g,a as h,pe as p,oe as r,te as s}
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(n){"use strict";var t,e,r,o;return{setters:[function(n){t=n.r;e=n.h;r=n.H},function(n){o=n.n},function(){}],execute:function(){var i=n("taro_inline_payment_panel_core",function(){function n(n){t(this,n)}n.prototype.componentDidLoad=function(){o("InlinePaymentPanel",this)};n.prototype.render=function(){return e(r,null)};return n}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(n){"use strict";var t,e,r,o;return{setters:[function(n){t=n.r;e=n.h;r=n.H},function(n){o=n.n},function(){}],execute:function(){var i=n("taro_inline_payment_panel_core",function(){function n(n){t(this,n)}n.prototype.componentDidLoad=function(){o("InlinePaymentPanel",this)};n.prototype.render=function(){return e(r,null)};return n}())}}}));
@@ -1 +1 @@
1
- import{r,c as t,h as i}from"./p-98b1fc13.js";const o=class{constructor(i){r(this,i),this.onLoad=t(this,"load",7),this.onError=t(this,"error",7),this.src=void 0,this.nativeProps={}}imageOnLoad(){const{width:r,height:t}=this.imgRef;this.onLoad.emit({width:r,height:t})}imageOnError(r){this.onError.emit(r)}render(){const{src:r,imageOnLoad:t,imageOnError:o,nativeProps:s}=this;return i("img",Object.assign({ref:r=>this.imgRef=r,src:r,onLoad:t.bind(this),onError:o.bind(this)},s))}};o.style="taro-cover-image-core{width:320px;height:240px;overflow:hidden}";export{o as taro_cover_image_core}
1
+ import{r,c as t,h as i}from"./p-9137dcab.js";const o=class{constructor(i){r(this,i),this.onLoad=t(this,"load",7),this.onError=t(this,"error",7),this.src=void 0,this.nativeProps={}}imageOnLoad(){const{width:r,height:t}=this.imgRef;this.onLoad.emit({width:r,height:t})}imageOnError(r){this.onError.emit(r)}render(){const{src:r,imageOnLoad:t,imageOnError:o,nativeProps:s}=this;return i("img",Object.assign({ref:r=>this.imgRef=r,src:r,onLoad:t.bind(this),onError:o.bind(this)},s))}};o.style="taro-cover-image-core{width:320px;height:240px;overflow:hidden}";export{o as taro_cover_image_core}
@@ -0,0 +1 @@
1
+ import{r,h as o,H as s}from"./p-9137dcab.js";const t=class{constructor(o){r(this,o)}render(){return o(s,null)}};export{t as taro_block_core}
@@ -1 +1 @@
1
- import{r as e,h as t,H as r}from"./p-98b1fc13.js";const s=class{constructor(r){e(this,r),this.renderNode=e=>{if("type"in e&&"text"===e.type)return(e.text||"").replace(/&nbsp;/g," ");if("name"in e&&e.name){const{name:r,attrs:s,children:c}=e,o={};let n=[];if(s&&"object"==typeof s)for(const e in s){const t=s[e];if("style"!==e||"string"!=typeof t)o[e]=t;else{const e=t.split(";").map((e=>e.trim())).filter((e=>e)),r={};e.forEach((e=>{if(!e)return;const t=/(.+): *(.+)/g.exec(e);if(!t)return;const[,s,c]=t,o=s.replace(/-([a-z])/g,((...e)=>e[1].toUpperCase()));r[o]=c})),Object.keys(r).length&&(o.style=r)}}return c&&c.length&&(n=c.map((e=>this.renderNode(e)))),t(r,o,n)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}render(){const{nodes:e,renderNode:s}=this;return Array.isArray(e)?t(r,null,e.map((e=>s(e)))):t(r,{innerHTML:e})}};s.style="taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";export{s as taro_rich_text_core}
1
+ import{r as e,h as t,H as r}from"./p-9137dcab.js";const s=class{constructor(r){e(this,r),this.renderNode=e=>{if("type"in e&&"text"===e.type)return(e.text||"").replace(/&nbsp;/g," ");if("name"in e&&e.name){const{name:r,attrs:s,children:c}=e,o={};let n=[];if(s&&"object"==typeof s)for(const e in s){const t=s[e];if("style"!==e||"string"!=typeof t)o[e]=t;else{const e=t.split(";").map((e=>e.trim())).filter((e=>e)),r={};e.forEach((e=>{if(!e)return;const t=/(.+): *(.+)/g.exec(e);if(!t)return;const[,s,c]=t,o=s.replace(/-([a-z])/g,((...e)=>e[1].toUpperCase()));r[o]=c})),Object.keys(r).length&&(o.style=r)}}return c&&c.length&&(n=c.map((e=>this.renderNode(e)))),t(r,o,n)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}render(){const{nodes:e,renderNode:s}=this;return Array.isArray(e)?t(r,null,e.map((e=>s(e)))):t(r,{innerHTML:e})}};s.style="taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";export{s as taro_rich_text_core}
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_root_portal_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RootPortal",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_root_portal_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RootPortal",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_animation_video_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AnimationVideo",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_animation_video_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AnimationVideo",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +1 @@
1
- import{r as o,h as r,H as s}from"./p-98b1fc13.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("Snapshot",this)}render(){return r(s,null)}};export{a as taro_snapshot_core}
1
+ import{r as o,h as r,H as s}from"./p-9137dcab.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("Snapshot",this)}render(){return r(s,null)}};export{a as taro_snapshot_core}
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js"],(function(e){"use strict";var t,i,a,n,r;return{setters:[function(e){t=e.r;i=e.c;a=e.h;n=e.H;r=e.g}],execute:function(){var o=".weui-slider{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-slider-box .weui-slider{-ms-flex:1;flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}";var l=e("taro_slider_core",function(){function e(e){var a=this;t(this,e);this.onChange=i(this,"change",7);this.onChanging=i(this,"changing",7);this.handleTouchStart=function(e){if(a.touching||a.disabled)return;a.touching=true;a.touchId=e.targetTouches[0].identifier;a.totalWidth=a.sliderInsRef.clientWidth||1;a.ogX=e.targetTouches[0].pageX;a.ogPercent=a.percent};this.handleTouchMove=function(e){var t=a,i=t.disabled,n=t.touching,r=t.touchId,o=t.totalWidth,l=t.max,s=t.min,h=t.ogX,u=t.ogPercent;if(!n||i)return;if(e.targetTouches[0].identifier!==r)return;e.preventDefault();var d=e.targetTouches[0].pageX;var c=d-h;var f=c/o*100+u;f=a.handleValueUpdate(f,0,100);var p=s+f*.01*(l-s);a.updateByStep(p);a.onChanging.emit({detail:e.detail,value:a.value})};this.handleTouchEnd=function(e){var t=a,i=t.disabled,n=t.touching;if(!n||i)return;if(a.percent!==a.ogPercent){a.onChange.emit({detail:e.detail,value:a.value})}a.touching=false;a.touchId=null;a.ogX=0;a.ogPercent=0};this.handleValueUpdate=function(e,t,i){if(t===void 0){t=a.min}if(i===void 0){i=a.max}e=isNaN(e)?0:e;return Math.max(t,Math.min(e,i))};this.min=0;this.max=100;this.step=1;this.disabled=false;this.value=0;this.activeColor="#1aad19";this.backgroundColor="#e9e9e9";this.blockSize=28;this.blockColor="#ffffff";this.showValue=false;this.name="";this.totalWidth=1;this.touching=false;this.ogX=0;this.touchId=null;this.percent=0;this.ogPercent=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e){if(!this.isWillLoadCalled)return;var t=this,i=t.max,a=t.min;if(e!==null){var n=this.handleValueUpdate(e,a,i);this.updateByStep(n)}};e.prototype.componentDidLoad=function(){this.handler.addEventListener("touchstart",this.handleTouchStart);this.handler.addEventListener("touchmove",this.handleTouchMove);this.handler.addEventListener("touchend",this.handleTouchEnd)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;var e=this,t=e.value,i=e.max,a=e.min;var n=this.handleValueUpdate(t,a,i);this.updateByStep(n)};e.prototype.updateByStep=function(e){var t=this,i=t.max,a=t.min,n=t.step;var r=Math.floor((i-a)/n);for(var o=0;o<=r;o++){var l=a+n*o;var s=o===r?null:a+n*(o+1);if(e===l)break;if(!s&&e>l){e=l}if(s&&e>l&&e<s){if(e-l<n/2){e=l}else{e=s}break}}var h=(e-a)/(i-a)*100;this.value=e;this.percent=h};e.prototype.render=function(){var e=this;var t=this,i=t.showValue,r=t.backgroundColor,o=t.activeColor,l=t.blockColor,s=t.name,h=t.percent,u=t.value;var d=this.blockSize;var c={backgroundColor:r};var f=h>100?100:h;var p={width:"".concat(f,"%"),backgroundColor:o};if(d<12){d=12}if(d>28){d=28}var g={left:"".concat(f,"%"),width:"".concat(d,"px"),height:"".concat(d,"px"),backgroundColor:l,marginTop:"-".concat(Math.floor(d/2),"px"),marginLeft:"-".concat(Math.floor(d/2),"px")};return a(n,{class:"weui-slider-box"},a("div",{class:"weui-slider"},a("div",{class:"weui-slider__inner",style:c,ref:function(t){return e.sliderInsRef=t}},a("div",{style:p,class:"weui-slider__track"}),a("div",{class:"weui-slider__handler",ref:function(t){if(t)e.handler=t},style:g}),a("input",{type:"hidden",name:s,value:u}))),i&&a("div",{class:"weui-slider-box__value"},u))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["function"]}},enumerable:false,configurable:true});return e}());l.style=o}}}));
1
+ System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,i,a,n,r;return{setters:[function(e){t=e.r;i=e.c;a=e.h;n=e.H;r=e.g}],execute:function(){var o=".weui-slider{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-slider-box .weui-slider{-ms-flex:1;flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}";var l=e("taro_slider_core",function(){function e(e){var a=this;t(this,e);this.onChange=i(this,"change",7);this.onChanging=i(this,"changing",7);this.handleTouchStart=function(e){if(a.touching||a.disabled)return;a.touching=true;a.touchId=e.targetTouches[0].identifier;a.totalWidth=a.sliderInsRef.clientWidth||1;a.ogX=e.targetTouches[0].pageX;a.ogPercent=a.percent};this.handleTouchMove=function(e){var t=a,i=t.disabled,n=t.touching,r=t.touchId,o=t.totalWidth,l=t.max,s=t.min,h=t.ogX,u=t.ogPercent;if(!n||i)return;if(e.targetTouches[0].identifier!==r)return;e.preventDefault();var d=e.targetTouches[0].pageX;var c=d-h;var f=c/o*100+u;f=a.handleValueUpdate(f,0,100);var p=s+f*.01*(l-s);a.updateByStep(p);a.onChanging.emit({detail:e.detail,value:a.value})};this.handleTouchEnd=function(e){var t=a,i=t.disabled,n=t.touching;if(!n||i)return;if(a.percent!==a.ogPercent){a.onChange.emit({detail:e.detail,value:a.value})}a.touching=false;a.touchId=null;a.ogX=0;a.ogPercent=0};this.handleValueUpdate=function(e,t,i){if(t===void 0){t=a.min}if(i===void 0){i=a.max}e=isNaN(e)?0:e;return Math.max(t,Math.min(e,i))};this.min=0;this.max=100;this.step=1;this.disabled=false;this.value=0;this.activeColor="#1aad19";this.backgroundColor="#e9e9e9";this.blockSize=28;this.blockColor="#ffffff";this.showValue=false;this.name="";this.totalWidth=1;this.touching=false;this.ogX=0;this.touchId=null;this.percent=0;this.ogPercent=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e){if(!this.isWillLoadCalled)return;var t=this,i=t.max,a=t.min;if(e!==null){var n=this.handleValueUpdate(e,a,i);this.updateByStep(n)}};e.prototype.componentDidLoad=function(){this.handler.addEventListener("touchstart",this.handleTouchStart);this.handler.addEventListener("touchmove",this.handleTouchMove);this.handler.addEventListener("touchend",this.handleTouchEnd)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;var e=this,t=e.value,i=e.max,a=e.min;var n=this.handleValueUpdate(t,a,i);this.updateByStep(n)};e.prototype.updateByStep=function(e){var t=this,i=t.max,a=t.min,n=t.step;var r=Math.floor((i-a)/n);for(var o=0;o<=r;o++){var l=a+n*o;var s=o===r?null:a+n*(o+1);if(e===l)break;if(!s&&e>l){e=l}if(s&&e>l&&e<s){if(e-l<n/2){e=l}else{e=s}break}}var h=(e-a)/(i-a)*100;this.value=e;this.percent=h};e.prototype.render=function(){var e=this;var t=this,i=t.showValue,r=t.backgroundColor,o=t.activeColor,l=t.blockColor,s=t.name,h=t.percent,u=t.value;var d=this.blockSize;var c={backgroundColor:r};var f=h>100?100:h;var p={width:"".concat(f,"%"),backgroundColor:o};if(d<12){d=12}if(d>28){d=28}var g={left:"".concat(f,"%"),width:"".concat(d,"px"),height:"".concat(d,"px"),backgroundColor:l,marginTop:"-".concat(Math.floor(d/2),"px"),marginLeft:"-".concat(Math.floor(d/2),"px")};return a(n,{class:"weui-slider-box"},a("div",{class:"weui-slider"},a("div",{class:"weui-slider__inner",style:c,ref:function(t){return e.sliderInsRef=t}},a("div",{style:p,class:"weui-slider__track"}),a("div",{class:"weui-slider__handler",ref:function(t){if(t)e.handler=t},style:g}),a("input",{type:"hidden",name:s,value:u}))),i&&a("div",{class:"weui-slider-box__value"},u))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["function"]}},enumerable:false,configurable:true});return e}());l.style=o}}}));
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as h}from"./p-98b1fc13.js";import{c as o}from"./p-de951a46.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
1
+ import{r as t,c as s,h as i,H as h}from"./p-9137dcab.js";import{c as o}from"./p-de951a46.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,r){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function s(e){try{l(r.next(e))}catch(e){n(e)}}function a(e){try{l(r["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):o(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,o,n,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(r=1,o&&(n=a[0]&2?o["return"]:a[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;if(o=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){i.label=a[1];break}if(a[0]===6&&i.label<n[1]){i.label=n[1];n=a;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(a);break}if(n[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];o=0}finally{r=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-6bbb639a.system.js","./p-2ec68968.system.js","./p-bd5177d3.system.js"],(function(e,t){"use strict";var i,r,o,n,s,a,l;return{setters:[function(e){i=e.r;r=e.h;o=e.H;n=e.g;s=e.c},function(e){a=e.c},function(e){l=e.t}],execute:function(){var u=function(e){if(!e)return"";var t=Math.round(e%60);var i=Math.round((e-t)/60);return"".concat(i<10?"0".concat(i):i,":").concat(t<10?"0".concat(t):t)};var c=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))};var d=function(e){return Math.max(-1,Math.min(e,1))};var h="default";var g=function(){var e;var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];var r=0;var o=t.length;var n={};for(;r<o;r++){e=t[r];if(e&&e[1]in document){for(r=0;r<e.length;r++){n[t[0][r]]=e[r]}return n}}if(!n[t[0][0]]){h="iOS";for(r=0;r<i.length;r++){n[t[0][r]]=i[r]}}return n}();var f=function(e){return/\.(m3u8)($|\?)/i.test(e)};var p=e("taro_video_control",function(){function e(e){var t=this;i(this,e);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimensions={left:0,width:0};this.calcPercentage=function(e){var i=e-t.progressDimensions.left;i=Math.max(i,0);i=Math.min(i,t.progressDimensions.width);return i/t.progressDimensions.width};this.onDragProgressBallStart=function(){t.isDraggingProgressBall=true;t.hideControlsTimer&&clearTimeout(t.hideControlsTimer)};this.onClickProgress=function(e){e.stopPropagation();var i=t.calcPercentage(e.pageX);t.seekFunc(i*t.duration);t.toggleVisibility(true)};this.controls=undefined;this.currentTime=undefined;this.duration=undefined;this.isPlaying=undefined;this.pauseFunc=undefined;this.playFunc=undefined;this.seekFunc=undefined;this.showPlayBtn=undefined;this.showProgress=undefined}e.prototype.onDocumentTouchMove=function(e){if(!this.isDraggingProgressBall)return;var t=e.touches[0].pageX;this.percentage=this.calcPercentage(t);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};e.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};e.prototype.setProgressBall=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.progressBallRef){this.progressBallRef.style.left="".concat(e*100,"%")}return[2]}))}))};e.prototype.toggleVisibility=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){t=e===undefined?!this.visible:e;if(t){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.el.style.visibility="visible"}else{this.el.style.visibility="hidden"}this.visible=!!t;return[2]}))}))};e.prototype.getIsDraggingProgressBall=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.isDraggingProgressBall]}))}))};e.prototype.setCurrentTime=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentTimeRef.innerHTML=u(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,n=t.currentTime,s=t.duration,a=t.isPlaying,l=t.pauseFunc,c=t.playFunc,d=t.showPlayBtn,h=t.showProgress;var g=u(s);var f;if(!d){f=null}else if(a){f=r("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:l})}else{f=r("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:c})}return r(o,{class:"taro-video-bar taro-video-bar-full"},i&&r("div",{class:"taro-video-controls"},f,h&&r("div",{class:"taro-video-current-time",ref:function(t){return e.currentTimeRef=t}},u(n)),h&&r("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},r("div",{class:"taro-video-progress",ref:function(t){if(!t)return;var i=t.getBoundingClientRect();e.progressDimensions.left=i.left;e.progressDimensions.width=i.width}},r("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),r("div",{class:"taro-video-ball",ref:function(t){return e.progressBallRef=t},onTouchStart:this.onDragProgressBallStart,style:{left:"".concat(g?this.currentTime/s*100:0,"%")}},r("div",{class:"taro-video-inner"})))),h&&r("div",{class:"taro-video-duration"},g)),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());var A='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjP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0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2X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lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}';var v=e("taro_video_core",function(){function e(e){var r=this;i(this,e);this.onPlay=s(this,"play",7);this.onPause=s(this,"pause",7);this.onEnded=s(this,"ended",7);this.onTimeUpdate=s(this,"timeupdate",7);this.onError=s(this,"error",7);this.onFullScreenChange=s(this,"fullscreenchange",7);this.onProgress=s(this,"progress",7);this.onLoadedMetaData=s(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.analyzeGesture=function(e){var t;var i={type:"none"};var o=e.touches[0].screenX;var n=e.touches[0].screenY;var s=o-r.lastTouchScreenX;var a=n-r.lastTouchScreenY;var l=r.isFullScreen?r.vslideGestureInFullscreen:r.vslideGesture;if(r.gestureType==="none"){var u=c(s,a);if(u<10)return i;if(Math.abs(a)>=Math.abs(s)){if(l){r.gestureType="adjustVolume";r.lastVolume=r.videoRef.volume}else{return i}}else if(Math.abs(a)<Math.abs(s)){if(r.enableProgressGesture){r.gestureType="adjustProgress";r.lastPercentage=r.currentTime/((t=r.duration)!==null&&t!==void 0?t:r._duration)}else{return i}}}i.type=r.gestureType;i.dataX=d(s/200);i.dataY=d(a/200);return i};this.loadNativePlayer=function(){var e,t;if(r.videoRef){r.videoRef.src=r.src;(t=(e=r.videoRef).load)===null||t===void 0?void 0:t.call(e)}};this.init=function(){var e=r,i=e.src,o=e.videoRef;if(f(i)){t.import("hls.js").then((function(e){var t=e.default;r.HLS=t;if(t.isSupported()){if(r.hls){r.hls.destroy()}r.hls=new t;r.hls.loadSource(i);r.hls.attachMedia(o);r.hls.on(t.Events.MANIFEST_PARSED,(function(){r.autoplay&&r.play()}));r.hls.on(t.Events.ERROR,(function(e,t){r.handleError(t)}))}else if(o.canPlayType("application/vnd.apple.mpegurl")){r.loadNativePlayer()}else{console.error("该浏览器不支持 HLS 播放")}}))}else{r.loadNativePlayer()}};this.handlePlay=function(){r.isPlaying=true;r.isFirst=false;r.controlsRef.toggleVisibility(true);r.onPlay.emit()};this.handlePause=function(){r.isPlaying=false;r.controlsRef.toggleVisibility(true);r.onPause.emit()};this.handleEnded=function(){r.isFirst=true;r.pause();r.controlsRef.toggleVisibility();r.onEnded.emit()};this.handleTimeUpdate=l((function(e){return __awaiter(r,void 0,void 0,(function(){var t,i,r,o;return __generator(this,(function(n){switch(n.label){case 0:this.currentTime=this.videoRef.currentTime;r=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:o=n.sent();if(this.controls&&this.showProgress){if(!o&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/r);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(t=e.target)===null||t===void 0?void 0:t.duration,currentTime:(i=e.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(e){var t,i;if(r.hls){switch(e.type){case r.HLS.ErrorTypes.NETWORK_ERROR:r.onError.emit({errMsg:e.response});r.hls.startLoad();break;case r.HLS.ErrorTypes.MEDIA_ERROR:r.onError.emit({errMsg:e.reason||"媒体错误,请重试"});r.hls.recoverMediaError();break}}else{r.onError.emit({errMsg:(i=(t=e.target)===null||t===void 0?void 0:t.error)===null||i===void 0?void 0:i.message})}};this.handleDurationChange=function(){r._duration=r.videoRef.duration};this.handleProgress=function(){r.onProgress.emit()};this.handleLoadedMetaData=function(e){var t=e.target;r.onLoadedMetaData.emit({width:t.videoWidth,height:t.videoHeight,duration:t.duration})};this._play=function(){return r.videoRef.play()};this._pause=function(){return r.videoRef.pause()};this._stop=function(){r.videoRef.pause();r._seek(0)};this._seek=function(e){r.videoRef.currentTime=e};this.onTouchStartContainer=function(e){r.lastTouchScreenX=e.touches[0].screenX;r.lastTouchScreenY=e.touches[0].screenY};this.onClickContainer=function(){if(r.enablePlayGesture){var e=Date.now();if(e-r.lastClickedTime<300){r.isPlaying?r.pause():r.play()}r.lastClickedTime=e}r.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(e){e.stopPropagation();r.toggleFullScreen()};this.handleFullScreenChange=function(e){var t=(new Date).getTime();if(!e.detail&&r.isFullScreen&&!document[g.fullscreenElement]&&t-r.fullScreenTimestamp>100){r.toggleFullScreen(false,true)}};this.toggleFullScreen=function(e,t){if(e===void 0){e=!r.isFullScreen}if(t===void 0){t=false}r.isFullScreen=e;r.controlsRef.toggleVisibility(true);r.fullScreenTimestamp=(new Date).getTime();r.onFullScreenChange.emit({fullScreen:r.isFullScreen,direction:"vertical"});if(r.isFullScreen&&!document[g.fullscreenElement]){setTimeout((function(){r.videoRef[g.requestFullscreen]({navigationUI:"auto"})}),0)}else if(!t){document[g.exitFullscreen]()}};this.toggleMute=function(e){e.stopPropagation();r.videoRef.muted=!r.isMute;r.controlsRef.toggleVisibility(true);r.isMute=!r.isMute};this.toggleDanmu=function(e){e.stopPropagation();r.controlsRef.toggleVisibility(true);r._enableDanmu=!r._enableDanmu};this.src=undefined;this.duration=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.poster=undefined;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuList=undefined;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._duration=undefined;this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false}e.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu};e.prototype.componentDidLoad=function(){var e,t;this.init();if(this.initialTime){this.videoRef.currentTime=this.initialTime}(t=(e=this.danmuRef).sendDanmu)===null||t===void 0?void 0:t.call(e,this.danmuList);if(document.addEventListener){document.addEventListener(g.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&h==="iOS"){this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.componentDidRender=function(){};e.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(g.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&h==="iOS"){this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.watchEnableDanmu=function(e){this._enableDanmu=e};e.prototype.watchSrc=function(){this.init()};e.prototype.onDocumentTouchMove=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(o){switch(o.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(o.sent())return[2];t=this.analyzeGesture(e);if(t.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width="".concat(i*100,"%")}else if(t.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}r=this.duration||this._duration;this.toastProgressTitleRef.innerHTML="".concat(u(this.nextPercentage*r)," / ").concat(u(r));this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};e.prototype.onDocumentTouchEnd=function(){var e;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((e=this.duration)!==null&&e!==void 0?e:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};e.prototype.getHlsObject=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.hls]}))}))};e.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._play();return[2]}))}))};e.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._pause();return[2]}))}))};e.prototype.stop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._stop();return[2]}))}))};e.prototype.seek=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._seek(e);return[2]}))}))};e.prototype.requestFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(true);return[2]}))}))};e.prototype.exitFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(false);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,n=t.autoplay,s=t.loop,l=t.muted,c=t.poster,d=t.objectFit,h=t.isFirst,g=t.isMute,f=t.isFullScreen,p=t.showCenterPlayBtn,A=t.isPlaying,v=t._enableDanmu,m=t.showMuteBtn,b=t.danmuBtn,y=t.showFullscreenBtn,w=t.nativeProps;var E=this.duration||this._duration;var T=u(E);return r(o,{class:a("taro-video-container",{"taro-video-type-fullscreen":f}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},r("video",Object.assign({class:"taro-video-video",style:{"object-fit":d},ref:function(t){if(t){e.videoRef=t}},autoplay:n,loop:s,muted:l,poster:i?c:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},w),"暂时不支持播放该视频"),r("taro-video-danmu",{ref:function(t){if(t){e.danmuRef=t}},enable:v}),h&&p&&!A&&r("div",{class:"taro-video-cover"},r("div",{class:"taro-video-cover-play-button",onClick:function(){return e.play()}}),r("p",{class:"taro-video-cover-duration"},T)),r("taro-video-control",{ref:function(t){if(t){e.controlsRef=t}},controls:i,currentTime:this.currentTime,duration:E,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},m&&r("div",{class:a("taro-video-mute",{"taro-video-type-mute":g}),onClick:this.toggleMute}),b&&r("div",{class:a("taro-video-danmu-button",{"taro-video-danmu-button-active":v}),onClick:this.toggleDanmu},"弹幕"),y&&r("div",{class:a("taro-video-fullscreen",{"taro-video-type-fullscreen":f}),onClick:this.onClickFullScreenBtn})),r("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(t){if(t){e.toastVolumeRef=t}}},r("div",{class:"taro-video-toast-title"},"音量"),r("div",{class:"taro-video-toast-icon"}),r("div",{class:"taro-video-toast-value"},r("div",{class:"taro-video-toast-value-content",ref:function(t){if(t){e.toastVolumeBarRef=t}}},r("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return r("div",{class:"taro-video-toast-volume-grids-item"})})))))),r("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(t){if(t){e.toastProgressRef=t}}},r("div",{class:"taro-video-toast-title",ref:function(t){if(t){e.toastProgressTitleRef=t}}})))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}},enumerable:false,configurable:true});return e}());v.style=A;var m=e("taro_video_danmu",function(){function e(e){i(this,e);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}e.prototype.ensureProperties=function(e){var t=Object.assign({},e);if(!("time"in e)){t.time=this.currentTime}t.key=Math.random();t.bottom="".concat(Math.random()*90+5,"%");return t};e.prototype.sendDanmu=function(e){if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){if(Array.isArray(e)){this.list=__spreadArray(__spreadArray([],this.list,true),e.map((function(e){return i.ensureProperties(e)})),true)}else{t=e;this.list=__spreadArray(__spreadArray([],this.list,true),[Object.assign({},this.ensureProperties(t))],false)}return[2]}))}))};e.prototype.tick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,o;return __generator(this,(function(n){this.currentTime=e;if(!this.enable)return[2];t=this.list;i=t.filter((function(t){var i=t.time;return e-i<4&&e>i}));r=false;o=this.danmuList;if(i.length!==o.length){r=true}else{r=i.some((function(e){var t=e.key;return o.every((function(e){return t!==e.key}))}))}if(r){this.danmuList=i}return[2]}))}))};e.prototype.componentDidUpdate=function(){var e=this;requestAnimationFrame((function(){setTimeout((function(){var t=e.danmuElList.splice(0);t.forEach((function(e){e.style.left="0";e.style.webkitTransform="translateX(-100%)";e.style.transform="translateX(-100%)"}))}))}))};e.prototype.render=function(){var e=this;if(!this.enable)return"";return r(o,{class:"taro-video-danmu"},this.danmuList.map((function(t){var i=t.text,o=t.color,n=t.bottom,s=t.key;return r("p",{class:"taro-video-danmu-item",key:s,style:{color:o,bottom:n},ref:function(t){if(t){e.danmuElList.push(t)}}},i)})))};return e}())}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,r){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function s(e){try{l(r.next(e))}catch(e){n(e)}}function a(e){try{l(r["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):o(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,o,n,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(r=1,o&&(n=a[0]&2?o["return"]:a[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;if(o=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){i.label=a[1];break}if(a[0]===6&&i.label<n[1]){i.label=n[1];n=a;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(a);break}if(n[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];o=0}finally{r=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js","./p-bd5177d3.system.js"],(function(e,t){"use strict";var i,r,o,n,s,a,l;return{setters:[function(e){i=e.r;r=e.h;o=e.H;n=e.g;s=e.c},function(e){a=e.c},function(e){l=e.t}],execute:function(){var u=function(e){if(!e)return"";var t=Math.round(e%60);var i=Math.round((e-t)/60);return"".concat(i<10?"0".concat(i):i,":").concat(t<10?"0".concat(t):t)};var c=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))};var d=function(e){return Math.max(-1,Math.min(e,1))};var h="default";var g=function(){var e;var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];var r=0;var o=t.length;var n={};for(;r<o;r++){e=t[r];if(e&&e[1]in document){for(r=0;r<e.length;r++){n[t[0][r]]=e[r]}return n}}if(!n[t[0][0]]){h="iOS";for(r=0;r<i.length;r++){n[t[0][r]]=i[r]}}return n}();var f=function(e){return/\.(m3u8)($|\?)/i.test(e)};var p=e("taro_video_control",function(){function e(e){var t=this;i(this,e);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimensions={left:0,width:0};this.calcPercentage=function(e){var i=e-t.progressDimensions.left;i=Math.max(i,0);i=Math.min(i,t.progressDimensions.width);return i/t.progressDimensions.width};this.onDragProgressBallStart=function(){t.isDraggingProgressBall=true;t.hideControlsTimer&&clearTimeout(t.hideControlsTimer)};this.onClickProgress=function(e){e.stopPropagation();var i=t.calcPercentage(e.pageX);t.seekFunc(i*t.duration);t.toggleVisibility(true)};this.controls=undefined;this.currentTime=undefined;this.duration=undefined;this.isPlaying=undefined;this.pauseFunc=undefined;this.playFunc=undefined;this.seekFunc=undefined;this.showPlayBtn=undefined;this.showProgress=undefined}e.prototype.onDocumentTouchMove=function(e){if(!this.isDraggingProgressBall)return;var t=e.touches[0].pageX;this.percentage=this.calcPercentage(t);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};e.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};e.prototype.setProgressBall=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.progressBallRef){this.progressBallRef.style.left="".concat(e*100,"%")}return[2]}))}))};e.prototype.toggleVisibility=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){t=e===undefined?!this.visible:e;if(t){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.el.style.visibility="visible"}else{this.el.style.visibility="hidden"}this.visible=!!t;return[2]}))}))};e.prototype.getIsDraggingProgressBall=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.isDraggingProgressBall]}))}))};e.prototype.setCurrentTime=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentTimeRef.innerHTML=u(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,n=t.currentTime,s=t.duration,a=t.isPlaying,l=t.pauseFunc,c=t.playFunc,d=t.showPlayBtn,h=t.showProgress;var g=u(s);var f;if(!d){f=null}else if(a){f=r("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:l})}else{f=r("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:c})}return r(o,{class:"taro-video-bar taro-video-bar-full"},i&&r("div",{class:"taro-video-controls"},f,h&&r("div",{class:"taro-video-current-time",ref:function(t){return e.currentTimeRef=t}},u(n)),h&&r("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},r("div",{class:"taro-video-progress",ref:function(t){if(!t)return;var i=t.getBoundingClientRect();e.progressDimensions.left=i.left;e.progressDimensions.width=i.width}},r("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),r("div",{class:"taro-video-ball",ref:function(t){return e.progressBallRef=t},onTouchStart:this.onDragProgressBallStart,style:{left:"".concat(g?this.currentTime/s*100:0,"%")}},r("div",{class:"taro-video-inner"})))),h&&r("div",{class:"taro-video-duration"},g)),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());var A='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgC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A8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez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F0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}';var v=e("taro_video_core",function(){function e(e){var r=this;i(this,e);this.onPlay=s(this,"play",7);this.onPause=s(this,"pause",7);this.onEnded=s(this,"ended",7);this.onTimeUpdate=s(this,"timeupdate",7);this.onError=s(this,"error",7);this.onFullScreenChange=s(this,"fullscreenchange",7);this.onProgress=s(this,"progress",7);this.onLoadedMetaData=s(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.analyzeGesture=function(e){var t;var i={type:"none"};var o=e.touches[0].screenX;var n=e.touches[0].screenY;var s=o-r.lastTouchScreenX;var a=n-r.lastTouchScreenY;var l=r.isFullScreen?r.vslideGestureInFullscreen:r.vslideGesture;if(r.gestureType==="none"){var u=c(s,a);if(u<10)return i;if(Math.abs(a)>=Math.abs(s)){if(l){r.gestureType="adjustVolume";r.lastVolume=r.videoRef.volume}else{return i}}else if(Math.abs(a)<Math.abs(s)){if(r.enableProgressGesture){r.gestureType="adjustProgress";r.lastPercentage=r.currentTime/((t=r.duration)!==null&&t!==void 0?t:r._duration)}else{return i}}}i.type=r.gestureType;i.dataX=d(s/200);i.dataY=d(a/200);return i};this.loadNativePlayer=function(){var e,t;if(r.videoRef){r.videoRef.src=r.src;(t=(e=r.videoRef).load)===null||t===void 0?void 0:t.call(e)}};this.init=function(){var e=r,i=e.src,o=e.videoRef;if(f(i)){t.import("hls.js").then((function(e){var t=e.default;r.HLS=t;if(t.isSupported()){if(r.hls){r.hls.destroy()}r.hls=new t;r.hls.loadSource(i);r.hls.attachMedia(o);r.hls.on(t.Events.MANIFEST_PARSED,(function(){r.autoplay&&r.play()}));r.hls.on(t.Events.ERROR,(function(e,t){r.handleError(t)}))}else if(o.canPlayType("application/vnd.apple.mpegurl")){r.loadNativePlayer()}else{console.error("该浏览器不支持 HLS 播放")}}))}else{r.loadNativePlayer()}};this.handlePlay=function(){r.isPlaying=true;r.isFirst=false;r.controlsRef.toggleVisibility(true);r.onPlay.emit()};this.handlePause=function(){r.isPlaying=false;r.controlsRef.toggleVisibility(true);r.onPause.emit()};this.handleEnded=function(){r.isFirst=true;r.pause();r.controlsRef.toggleVisibility();r.onEnded.emit()};this.handleTimeUpdate=l((function(e){return __awaiter(r,void 0,void 0,(function(){var t,i,r,o;return __generator(this,(function(n){switch(n.label){case 0:this.currentTime=this.videoRef.currentTime;r=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:o=n.sent();if(this.controls&&this.showProgress){if(!o&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/r);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(t=e.target)===null||t===void 0?void 0:t.duration,currentTime:(i=e.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(e){var t,i;if(r.hls){switch(e.type){case r.HLS.ErrorTypes.NETWORK_ERROR:r.onError.emit({errMsg:e.response});r.hls.startLoad();break;case r.HLS.ErrorTypes.MEDIA_ERROR:r.onError.emit({errMsg:e.reason||"媒体错误,请重试"});r.hls.recoverMediaError();break}}else{r.onError.emit({errMsg:(i=(t=e.target)===null||t===void 0?void 0:t.error)===null||i===void 0?void 0:i.message})}};this.handleDurationChange=function(){r._duration=r.videoRef.duration};this.handleProgress=function(){r.onProgress.emit()};this.handleLoadedMetaData=function(e){var t=e.target;r.onLoadedMetaData.emit({width:t.videoWidth,height:t.videoHeight,duration:t.duration})};this._play=function(){return r.videoRef.play()};this._pause=function(){return r.videoRef.pause()};this._stop=function(){r.videoRef.pause();r._seek(0)};this._seek=function(e){r.videoRef.currentTime=e};this.onTouchStartContainer=function(e){r.lastTouchScreenX=e.touches[0].screenX;r.lastTouchScreenY=e.touches[0].screenY};this.onClickContainer=function(){if(r.enablePlayGesture){var e=Date.now();if(e-r.lastClickedTime<300){r.isPlaying?r.pause():r.play()}r.lastClickedTime=e}r.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(e){e.stopPropagation();r.toggleFullScreen()};this.handleFullScreenChange=function(e){var t=(new Date).getTime();if(!e.detail&&r.isFullScreen&&!document[g.fullscreenElement]&&t-r.fullScreenTimestamp>100){r.toggleFullScreen(false,true)}};this.toggleFullScreen=function(e,t){if(e===void 0){e=!r.isFullScreen}if(t===void 0){t=false}r.isFullScreen=e;r.controlsRef.toggleVisibility(true);r.fullScreenTimestamp=(new Date).getTime();r.onFullScreenChange.emit({fullScreen:r.isFullScreen,direction:"vertical"});if(r.isFullScreen&&!document[g.fullscreenElement]){setTimeout((function(){r.videoRef[g.requestFullscreen]({navigationUI:"auto"})}),0)}else if(!t){document[g.exitFullscreen]()}};this.toggleMute=function(e){e.stopPropagation();r.videoRef.muted=!r.isMute;r.controlsRef.toggleVisibility(true);r.isMute=!r.isMute};this.toggleDanmu=function(e){e.stopPropagation();r.controlsRef.toggleVisibility(true);r._enableDanmu=!r._enableDanmu};this.src=undefined;this.duration=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.poster=undefined;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuList=undefined;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._duration=undefined;this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false}e.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu};e.prototype.componentDidLoad=function(){var e,t;this.init();if(this.initialTime){this.videoRef.currentTime=this.initialTime}(t=(e=this.danmuRef).sendDanmu)===null||t===void 0?void 0:t.call(e,this.danmuList);if(document.addEventListener){document.addEventListener(g.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&h==="iOS"){this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.componentDidRender=function(){};e.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(g.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&h==="iOS"){this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.watchEnableDanmu=function(e){this._enableDanmu=e};e.prototype.watchSrc=function(){this.init()};e.prototype.onDocumentTouchMove=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(o){switch(o.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(o.sent())return[2];t=this.analyzeGesture(e);if(t.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width="".concat(i*100,"%")}else if(t.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}r=this.duration||this._duration;this.toastProgressTitleRef.innerHTML="".concat(u(this.nextPercentage*r)," / ").concat(u(r));this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};e.prototype.onDocumentTouchEnd=function(){var e;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((e=this.duration)!==null&&e!==void 0?e:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};e.prototype.getHlsObject=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.hls]}))}))};e.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._play();return[2]}))}))};e.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._pause();return[2]}))}))};e.prototype.stop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._stop();return[2]}))}))};e.prototype.seek=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._seek(e);return[2]}))}))};e.prototype.requestFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(true);return[2]}))}))};e.prototype.exitFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(false);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,n=t.autoplay,s=t.loop,l=t.muted,c=t.poster,d=t.objectFit,h=t.isFirst,g=t.isMute,f=t.isFullScreen,p=t.showCenterPlayBtn,A=t.isPlaying,v=t._enableDanmu,m=t.showMuteBtn,b=t.danmuBtn,y=t.showFullscreenBtn,w=t.nativeProps;var E=this.duration||this._duration;var T=u(E);return r(o,{class:a("taro-video-container",{"taro-video-type-fullscreen":f}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},r("video",Object.assign({class:"taro-video-video",style:{"object-fit":d},ref:function(t){if(t){e.videoRef=t}},autoplay:n,loop:s,muted:l,poster:i?c:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},w),"暂时不支持播放该视频"),r("taro-video-danmu",{ref:function(t){if(t){e.danmuRef=t}},enable:v}),h&&p&&!A&&r("div",{class:"taro-video-cover"},r("div",{class:"taro-video-cover-play-button",onClick:function(){return e.play()}}),r("p",{class:"taro-video-cover-duration"},T)),r("taro-video-control",{ref:function(t){if(t){e.controlsRef=t}},controls:i,currentTime:this.currentTime,duration:E,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},m&&r("div",{class:a("taro-video-mute",{"taro-video-type-mute":g}),onClick:this.toggleMute}),b&&r("div",{class:a("taro-video-danmu-button",{"taro-video-danmu-button-active":v}),onClick:this.toggleDanmu},"弹幕"),y&&r("div",{class:a("taro-video-fullscreen",{"taro-video-type-fullscreen":f}),onClick:this.onClickFullScreenBtn})),r("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(t){if(t){e.toastVolumeRef=t}}},r("div",{class:"taro-video-toast-title"},"音量"),r("div",{class:"taro-video-toast-icon"}),r("div",{class:"taro-video-toast-value"},r("div",{class:"taro-video-toast-value-content",ref:function(t){if(t){e.toastVolumeBarRef=t}}},r("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return r("div",{class:"taro-video-toast-volume-grids-item"})})))))),r("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(t){if(t){e.toastProgressRef=t}}},r("div",{class:"taro-video-toast-title",ref:function(t){if(t){e.toastProgressTitleRef=t}}})))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}},enumerable:false,configurable:true});return e}());v.style=A;var m=e("taro_video_danmu",function(){function e(e){i(this,e);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}e.prototype.ensureProperties=function(e){var t=Object.assign({},e);if(!("time"in e)){t.time=this.currentTime}t.key=Math.random();t.bottom="".concat(Math.random()*90+5,"%");return t};e.prototype.sendDanmu=function(e){if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){if(Array.isArray(e)){this.list=__spreadArray(__spreadArray([],this.list,true),e.map((function(e){return i.ensureProperties(e)})),true)}else{t=e;this.list=__spreadArray(__spreadArray([],this.list,true),[Object.assign({},this.ensureProperties(t))],false)}return[2]}))}))};e.prototype.tick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,o;return __generator(this,(function(n){this.currentTime=e;if(!this.enable)return[2];t=this.list;i=t.filter((function(t){var i=t.time;return e-i<4&&e>i}));r=false;o=this.danmuList;if(i.length!==o.length){r=true}else{r=i.some((function(e){var t=e.key;return o.every((function(e){return t!==e.key}))}))}if(r){this.danmuList=i}return[2]}))}))};e.prototype.componentDidUpdate=function(){var e=this;requestAnimationFrame((function(){setTimeout((function(){var t=e.danmuElList.splice(0);t.forEach((function(e){e.style.left="0";e.style.webkitTransform="translateX(-100%)";e.style.transform="translateX(-100%)"}))}))}))};e.prototype.render=function(){var e=this;if(!this.enable)return"";return r(o,{class:"taro-video-danmu"},this.danmuList.map((function(t){var i=t.text,o=t.color,n=t.bottom,s=t.key;return r("p",{class:"taro-video-danmu-item",key:s,style:{color:o,bottom:n},ref:function(t){if(t){e.danmuElList.push(t)}}},i)})))};return e}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_live_pusher_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("LivePusher",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_live_pusher_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("LivePusher",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- import{r,h as n,H as o}from"./p-98b1fc13.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(n){r(this,n)}componentDidLoad(){t("InlinePaymentPanel",this)}render(){return n(o,null)}};export{a as taro_inline_payment_panel_core}
1
+ import{r,h as n,H as o}from"./p-9137dcab.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(n){r(this,n)}componentDidLoad(){t("InlinePaymentPanel",this)}render(){return n(o,null)}};export{a as taro_inline_payment_panel_core}
@@ -1 +1 @@
1
- import{r,h as o,H as t}from"./p-98b1fc13.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){s("Lifestyle",this)}render(){return o(t,null)}};export{e as taro_lifestyle_core}
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){s("Lifestyle",this)}render(){return o(t,null)}};export{e as taro_lifestyle_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("RtcRoomItem",this)}render(){return r(t,null)}};export{a as taro_rtc_room_item_core}
@@ -1 +1 @@
1
- import{r,h as o,H as t}from"./p-98b1fc13.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Ad",this)}render(){return o(t,null)}};export{a as taro_ad_core}
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Ad",this)}render(){return o(t,null)}};export{a as taro_ad_core}
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_like_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Like",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_like_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Like",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_follow_swan_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("FollowSwan",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_live_player_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("LivePlayer",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_live_player_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("LivePlayer",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- import{r,h as t,H as o}from"./p-98b1fc13.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(t){r(this,t)}componentDidLoad(){s("TabItem",this)}render(){return t(o,null)}};export{a as taro_tab_item_core}
1
+ import{r,h as t,H as o}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(t){r(this,t)}componentDidLoad(){s("TabItem",this)}render(){return t(o,null)}};export{a as taro_tab_item_core}
@@ -0,0 +1 @@
1
+ import{r as t,h as o,H as r}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){t(this,o)}componentDidLoad(){s("ContactButton",this)}render(){return o(r,null)}};export{a as taro_contact_button_core}
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,o,e,r){function l(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,n){function i(t){try{c(r.next(t))}catch(t){n(t)}}function s(t){try{c(r["throw"](t))}catch(t){n(t)}}function c(t){t.done?e(t.value):l(t.value).then(i,s)}c((r=r.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,l,n,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(o){return c([t,o])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(e=0)),e)try{if(r=1,l&&(n=s[0]&2?l["return"]:s[0]?l["throw"]||((n=l["return"])&&n.call(l),0):l.next)&&!(n=n.call(l,s[1])).done)return n;if(l=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;l=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=o.call(t,e)}catch(t){s=[6,t];l=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js","./p-bd5177d3.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var o,e,r,l,n,i,s,c;return{setters:[function(t){o=t.r;e=t.c;r=t.h;l=t.H;n=t.g},function(t){i=t.c},function(t){s=t.d},function(t){c=t.h},function(){}],execute:function(){var a="taro-scroll-view-core{-webkit-overflow-scrolling:auto;width:100%;display:block}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}";function u(t,o,e,r){if(e===void 0){e=500}if(t===o||typeof t!=="number"){return}var l=o-t;var n=Date.now();var i=o>=t;function s(t,o,e,r){return e*t/r+o}function c(){t=s(Date.now()-n,t,l,e);if(i&&t>=o||!i&&o>=t){r(o);return}r(t);requestAnimationFrame(c)}c()}var f=t("taro_scroll_view_core",function(){function t(t){var r=this;o(this,t);this.onScroll=e(this,"scroll",3);this.onScrollToUpper=e(this,"scrolltoupper",3);this.onScrollToLower=e(this,"scrolltolower",3);this._scrollLeft=0;this._scrollTop=0;this.upperAndLower=s((function(){var t=r.el,o=t.offsetWidth,e=t.offsetHeight,l=t.scrollLeft,n=t.scrollTop,i=t.scrollHeight,s=t.scrollWidth;var c=Number(r.lowerThreshold);var a=Number(r.upperThreshold);if(!isNaN(c)&&(r.scrollY&&e+n+c>=i||r.scrollX&&o+l+c>=s)){r.onScrollToLower.emit({direction:r.scrollX?"right":r.scrollY?"bottom":""})}if(!isNaN(a)&&(r.scrollY&&n<=a||r.scrollX&&l<=a)){r.onScrollToUpper.emit({direction:r.scrollX?"left":r.scrollY?"top":""})}}),200);this.scrollX=false;this.scrollY=false;this.upperThreshold=50;this.lowerThreshold=50;this.mpScrollTop=undefined;this.mpScrollLeft=undefined;this.mpScrollIntoView=undefined;this.mpScrollIntoViewAlignment=undefined;this.animated=false}t.prototype.watchScrollLeft=function(t){var o=Number(t);var e=this.animated;this.mpScrollToMethod({left:o,animated:e})};t.prototype.watchScrollTop=function(t){var o=Number(t);var e=this.animated;this.mpScrollToMethod({top:o,animated:e})};t.prototype.watchScrollIntoView=function(t){this.mpScrollIntoViewMethod(t)};t.prototype.handleScroll=function(t){var o;if(t instanceof CustomEvent)return;t.stopPropagation();(o=t.stopImmediatePropagation)===null||o===void 0?void 0:o.call(t);var e=this.el,r=e.scrollLeft,l=e.scrollTop,n=e.scrollHeight,i=e.scrollWidth;this._scrollLeft=r;this._scrollTop=l;this.upperAndLower();this.onScroll.emit({scrollLeft:r,scrollTop:l,scrollHeight:n,scrollWidth:i})};t.prototype.handleTouchMove=function(t){if(t instanceof CustomEvent)return;t.stopPropagation()};t.prototype.mpScrollToMethod=function(t){return __awaiter(this,void 0,void 0,(function(){var o,e,r,l,n;var i=this;return __generator(this,(function(s){o=t.top,e=t.left,r=t.duration,l=t.animated,n=l===void 0?false:l;if(this.scrollY&&typeof o==="number"&&!isNaN(o)&&o!==this._scrollTop){if(n){u(this._scrollTop,o,r,(function(t){return i.el.scrollTop=t}))}else{this.el.scrollTop=o}this._scrollTop=o}if(this.scrollX&&typeof e==="number"&&!isNaN(e)&&e!==this._scrollLeft){if(n){u(this._scrollLeft,e,r,(function(t){return i.el.scrollLeft=t}))}else{this.el.scrollLeft=e}this._scrollLeft=e}return[2]}))}))};t.prototype.mpScrollIntoViewMethod=function(t){return __awaiter(this,void 0,void 0,(function(){var o;return __generator(this,(function(e){if(typeof t==="string"&&t){(o=document.querySelector("#".concat(t)))===null||o===void 0?void 0:o.scrollIntoView({behavior:this.animated?"smooth":"auto",block:this.scrollY?this.mpScrollIntoViewAlignment||"center":"center",inline:this.scrollX?this.mpScrollIntoViewAlignment||"start":"start"})}return[2]}))}))};t.prototype.componentDidLoad=function(){var t=Number(this.mpScrollTop);var o=Number(this.mpScrollLeft);var e=this.animated;this.mpScrollToMethod({top:t,left:o,animated:e})};t.prototype.componentDidRender=function(){c(this.el)};t.prototype.render=function(){var t=this,o=t.scrollX,e=t.scrollY;var n=i({"taro-scroll-view__scroll-x":o,"taro-scroll-view__scroll-y":e});return r(l,{class:n},r("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}},enumerable:false,configurable:true});return t}());f.style=a}}}));
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_comment_list_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentList",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_comment_list_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentList",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js","./p-2ec68968.system.js"],(function(t){"use strict";var i,e,o,s,n;return{setters:[function(t){i=t.r;e=t.c;o=t.h;s=t.H},function(t){n=t.c}],execute:function(){var r="taro-cover-view-core{display:block}";var a=t("taro_cover_view_core",function(){function t(t){i(this,t);this.onLongPress=e(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var i=Date.now()-this.startTime;if(i<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.render=function(){var t;var i=n((t={},t["".concat(this.hoverClass)]=this.hover,t));var e={};if(!!this.animation){e["animation"]=this.animation;e["data-animation"]=this.animation}return o(s,Object.assign({class:i},e),o("slot",null))};return t}());a.style=r}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(t){"use strict";var i,e,o,s,n;return{setters:[function(t){i=t.r;e=t.c;o=t.h;s=t.H},function(t){n=t.c}],execute:function(){var r="taro-cover-view-core{display:block}";var a=t("taro_cover_view_core",function(){function t(t){i(this,t);this.onLongPress=e(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var i=Date.now()-this.startTime;if(i<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.render=function(){var t;var i=n((t={},t["".concat(this.hoverClass)]=this.hover,t));var e={};if(!!this.animation){e["animation"]=this.animation;e["data-animation"]=this.animation}return o(s,Object.assign({class:i},e),o("slot",null))};return t}());a.style=r}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){a("AnimationView",this)}render(){return r(t,null)}};export{s as taro_animation_view_core}
@@ -1 +1 @@
1
- System.register(["./p-6bbb639a.system.js"],(function(t){"use strict";var e,r;return{setters:[function(t){e=t.r;r=t.h}],execute:function(){var n=t("taro_label_core",function(){function t(t){e(this,t);this.for=undefined}t.prototype.render=function(){return r("label",{htmlFor:this.for},r("slot",null))};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js"],(function(t){"use strict";var e,r;return{setters:[function(t){e=t.r;r=t.h}],execute:function(){var n=t("taro_label_core",function(){function t(t){e(this,t);this.for=undefined}t.prototype.render=function(){return r("label",{htmlFor:this.for},r("slot",null))};return t}())}}}));
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,g as r}from"./p-98b1fc13.js";const o=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:r,disabled:o,nativeProps:a}=this;return i(s,{className:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:r,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return r(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};var a,h=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const n=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),h(this,a,t.detail.value,"f"),this.onChange.emit({value:c(this,a,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-radio-core");h(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(s,{class:"weui-cells_radiogroup"})}get el(){return r(this)}};a=new WeakMap;export{o as taro_radio_core,n as taro_radio_group_core}
1
+ import{r as t,c as e,h as i,H as s,g as r}from"./p-9137dcab.js";const o=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:r,disabled:o,nativeProps:a}=this;return i(s,{className:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:r,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return r(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};var a,h=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const n=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),h(this,a,t.detail.value,"f"),this.onChange.emit({value:c(this,a,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-radio-core");h(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(s,{class:"weui-cells_radiogroup"})}get el(){return r(this)}};a=new WeakMap;export{o as taro_radio_core,n as taro_radio_group_core}
@@ -1 +1 @@
1
- import{r,c as o,h as s}from"./p-98b1fc13.js";const t=class{constructor(s){r(this,s),this.onLoad=o(this,"load",7),this.onError=o(this,"error",7),this.src=void 0}render(){const{src:r,onLoad:o,onError:t}=this;return s("iframe",{class:"taro-webview",onLoad:s=>{s.stopPropagation(),o.emit({src:r})},onError:o=>{o.stopPropagation(),t.emit({src:r})},src:r})}};t.style="iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}";export{t as taro_web_view_core}
1
+ import{r,c as o,h as s}from"./p-9137dcab.js";const t=class{constructor(s){r(this,s),this.onLoad=o(this,"load",7),this.onError=o(this,"error",7),this.src=void 0}render(){const{src:r,onLoad:o,onError:t}=this;return s("iframe",{class:"taro-webview",onLoad:s=>{s.stopPropagation(),o.emit({src:r})},onError:o=>{o.stopPropagation(),t.emit({src:r})},src:r})}};t.style="iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}";export{t as taro_web_view_core}