@tarojs/components 4.0.0-canary.8 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (825) hide show
  1. package/LICENSE +17 -3
  2. package/README.md +1 -1
  3. package/dist/cjs/{index-5a8221ec.js → index-09efe07d.js} +208 -2
  4. package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
  5. package/dist/cjs/{index-b8c435ee.js → index-b873e40f.js} +45 -27
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  16. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-components.cjs.js +2 -2
  24. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  26. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +21 -0
  29. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +21 -0
  34. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-icon-core.cjs.entry.js +5 -2
  36. package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
  37. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
  44. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-map-core.cjs.entry.js +1325 -6
  50. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +8 -5
  52. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +21 -0
  56. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
  57. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
  59. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-picker-core_2.cjs.entry.js +3 -3
  63. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +5 -5
  64. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  65. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +6 -3
  66. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  68. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +4 -4
  72. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  74. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  76. package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
  77. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  78. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +58 -9868
  80. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  81. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  82. package/dist/cjs/taro-tabbar.cjs.entry.js +15 -87
  83. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  84. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  85. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  86. package/dist/cjs/taro-video-control_3.cjs.entry.js +38 -9
  87. package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
  88. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  89. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  90. package/dist/collection/collection-manifest.json +7 -0
  91. package/dist/collection/components/audio/style/index.css +1 -4
  92. package/dist/collection/components/button/style/index.css +1 -160
  93. package/dist/collection/components/canvas/style/index.css +1 -6
  94. package/dist/collection/components/checkbox/style/index.css +1 -39
  95. package/dist/collection/components/cover-image/style/index.css +1 -5
  96. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  97. package/dist/collection/components/draggable-sheet/draggable-sheet.js +11 -0
  98. package/dist/collection/components/grid-builder/grid-builder.js +11 -0
  99. package/dist/collection/components/icon/icon.js +10 -0
  100. package/dist/collection/components/icon/style/index.css +1 -0
  101. package/dist/collection/components/image/image.js +4 -3
  102. package/dist/collection/components/image/style/index.css +1 -73
  103. package/dist/collection/components/input/input.js +2 -2
  104. package/dist/collection/components/input/style/index.css +1 -0
  105. package/dist/collection/components/list-builder/list-builder.js +11 -0
  106. package/dist/collection/components/map/map.js +1806 -4
  107. package/dist/collection/components/map/style/map.css +1 -0
  108. package/dist/collection/components/movable-area/area.css +1 -6
  109. package/dist/collection/components/movable-area/movable-area.js +2 -1
  110. package/dist/collection/components/movable-area/movable-view.js +3 -1
  111. package/dist/collection/components/movable-area/view.css +1 -8
  112. package/dist/collection/components/navigator/style/index.css +1 -3
  113. package/dist/collection/components/nested-scroll-body/nested-scroll-body.js +11 -0
  114. package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
  115. package/dist/collection/components/open-container/open-container.js +11 -0
  116. package/dist/collection/components/picker/style/index.css +1 -4
  117. package/dist/collection/components/picker-view/style/column.css +1 -12
  118. package/dist/collection/components/picker-view/style/index.css +1 -28
  119. package/dist/collection/components/progress/progress.js +10 -0
  120. package/dist/collection/components/progress/style/index.css +1 -0
  121. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +3 -0
  122. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  123. package/dist/collection/components/rich-text/style/index.css +1 -16
  124. package/dist/collection/components/scroll-view/style/index.css +1 -17
  125. package/dist/collection/components/slider/slider.js +10 -0
  126. package/dist/collection/components/slider/style/index.css +1 -0
  127. package/dist/collection/components/span/span.js +11 -0
  128. package/dist/collection/components/swiper/style/index.css +2 -19
  129. package/dist/collection/components/swiper/swiper.js +59 -5
  130. package/dist/collection/components/switch/style/index.css +1 -10
  131. package/dist/collection/components/switch/switch.js +12 -12
  132. package/dist/collection/components/tabbar/style/index.css +1 -53
  133. package/dist/collection/components/tabbar/tabbar.js +1 -1
  134. package/dist/collection/components/text/style/index.css +1 -26
  135. package/dist/collection/components/textarea/style/index.css +1 -22
  136. package/dist/collection/components/textarea/textarea.js +11 -0
  137. package/dist/collection/components/video/style/index.css +1 -327
  138. package/dist/collection/components/video/video.js +8 -3
  139. package/dist/collection/components/view/style/index.css +1 -9
  140. package/dist/collection/components/web-view/style/index.css +1 -12
  141. package/dist/collection/utils/index.js +10 -0
  142. package/dist/components/index.d.ts +7 -0
  143. package/dist/components/index.js +7 -0
  144. package/dist/components/index2.js +45 -27
  145. package/dist/components/index3.js +6 -1
  146. package/dist/components/taro-audio-core.js +1 -1
  147. package/dist/components/taro-button-core.js +1 -1
  148. package/dist/components/taro-canvas-core.js +1 -1
  149. package/dist/components/taro-checkbox-core.js +1 -1
  150. package/dist/components/taro-cover-image-core.js +1 -1
  151. package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
  152. package/dist/components/taro-draggable-sheet-core.js +33 -0
  153. package/dist/components/taro-grid-builder-core.d.ts +11 -0
  154. package/dist/components/taro-grid-builder-core.js +33 -0
  155. package/dist/components/taro-icon-core.js +3 -0
  156. package/dist/components/taro-image-core.js +5 -4
  157. package/dist/components/taro-input-core.js +1 -1
  158. package/dist/components/taro-list-builder-core.d.ts +11 -0
  159. package/dist/components/taro-list-builder-core.js +33 -0
  160. package/dist/components/taro-map-core.js +1349 -6
  161. package/dist/components/taro-movable-area-core.js +3 -2
  162. package/dist/components/taro-movable-view-core.js +4 -2
  163. package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
  164. package/dist/components/taro-nested-scroll-body-core.js +33 -0
  165. package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
  166. package/dist/components/taro-nested-scroll-header-core.js +33 -0
  167. package/dist/components/taro-open-container-core.d.ts +11 -0
  168. package/dist/components/taro-open-container-core.js +33 -0
  169. package/dist/components/taro-picker-core.js +1 -1
  170. package/dist/components/taro-picker-view-column-core.js +1 -1
  171. package/dist/components/taro-picker-view-core.js +1 -1
  172. package/dist/components/taro-progress-core.js +3 -0
  173. package/dist/components/taro-pull-to-refresh-core.js +4 -1
  174. package/dist/components/taro-rich-text-core.js +1 -1
  175. package/dist/components/taro-scroll-view-core.js +1 -1
  176. package/dist/components/taro-slider-core.js +3 -0
  177. package/dist/components/taro-span-core.d.ts +11 -0
  178. package/dist/components/taro-span-core.js +33 -0
  179. package/dist/components/taro-swiper-core.js +45 -9858
  180. package/dist/components/taro-switch-core.js +13 -13
  181. package/dist/components/taro-tabbar.js +4 -77
  182. package/dist/components/taro-text-core.js +1 -1
  183. package/dist/components/taro-textarea-core.js +11 -2
  184. package/dist/components/taro-video-core.js +10 -5
  185. package/dist/components/taro-view-core.js +1 -1
  186. package/dist/components/taro-web-view-core.js +1 -1
  187. package/dist/esm/{index-6bb77c5f.js → index-9924aee9.js} +208 -2
  188. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  189. package/dist/esm/{index-a74b6944.js → index-b9522531.js} +45 -27
  190. package/dist/esm/loader.js +3 -3
  191. package/dist/esm/taro-ad-core.entry.js +1 -1
  192. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  193. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  194. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  195. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  196. package/dist/esm/taro-audio-core.entry.js +2 -2
  197. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  198. package/dist/esm/taro-block-core.entry.js +1 -1
  199. package/dist/esm/taro-button-core.entry.js +3 -3
  200. package/dist/esm/taro-camera-core.entry.js +1 -1
  201. package/dist/esm/taro-canvas-core.entry.js +2 -2
  202. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  203. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  204. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  205. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  206. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  207. package/dist/esm/taro-components.js +3 -3
  208. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  209. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  210. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  211. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  212. package/dist/esm/taro-draggable-sheet-core.entry.js +17 -0
  213. package/dist/esm/taro-editor-core.entry.js +1 -1
  214. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  215. package/dist/esm/taro-form-core.entry.js +1 -1
  216. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  217. package/dist/esm/taro-grid-builder-core.entry.js +17 -0
  218. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  219. package/dist/esm/taro-icon-core.entry.js +5 -2
  220. package/dist/esm/taro-image-core.entry.js +7 -6
  221. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  222. package/dist/esm/taro-input-core.entry.js +2 -2
  223. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  224. package/dist/esm/taro-label-core.entry.js +1 -1
  225. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  226. package/dist/esm/taro-like-core.entry.js +1 -1
  227. package/dist/esm/taro-list-builder-core.entry.js +17 -0
  228. package/dist/esm/taro-list-view-core.entry.js +1 -1
  229. package/dist/esm/taro-live-player-core.entry.js +1 -1
  230. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  231. package/dist/esm/taro-login-core.entry.js +1 -1
  232. package/dist/esm/taro-lottie-core.entry.js +1 -1
  233. package/dist/esm/taro-map-core.entry.js +1321 -6
  234. package/dist/esm/taro-match-media-core.entry.js +1 -1
  235. package/dist/esm/taro-movable-area-core_2.entry.js +8 -5
  236. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  237. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  238. package/dist/esm/taro-navigator-core.entry.js +2 -2
  239. package/dist/esm/taro-nested-scroll-body-core.entry.js +17 -0
  240. package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
  241. package/dist/esm/taro-official-account-core.entry.js +1 -1
  242. package/dist/esm/taro-open-container-core.entry.js +17 -0
  243. package/dist/esm/taro-open-data-core.entry.js +1 -1
  244. package/dist/esm/taro-page-container-core.entry.js +1 -1
  245. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  246. package/dist/esm/taro-picker-core_2.entry.js +3 -3
  247. package/dist/esm/taro-picker-view-column-core_2.entry.js +5 -5
  248. package/dist/esm/taro-progress-core.entry.js +4 -1
  249. package/dist/esm/taro-pull-to-refresh-core.entry.js +6 -3
  250. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  251. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  252. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  253. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  254. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  255. package/dist/esm/taro-scroll-view-core.entry.js +4 -4
  256. package/dist/esm/taro-share-element-core.entry.js +1 -1
  257. package/dist/esm/taro-slider-core.entry.js +4 -1
  258. package/dist/esm/taro-slot-core.entry.js +1 -1
  259. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  260. package/dist/esm/taro-span-core.entry.js +17 -0
  261. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  262. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  263. package/dist/esm/taro-swiper-core_2.entry.js +45 -9859
  264. package/dist/esm/taro-switch-core.entry.js +13 -12
  265. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  266. package/dist/esm/taro-tabbar.entry.js +6 -79
  267. package/dist/esm/taro-tabs-core.entry.js +1 -1
  268. package/dist/esm/taro-text-core.entry.js +2 -2
  269. package/dist/esm/taro-textarea-core.entry.js +12 -3
  270. package/dist/esm/taro-video-control_3.entry.js +13 -8
  271. package/dist/esm/taro-view-core.entry.js +3 -3
  272. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  273. package/dist/esm/taro-web-view-core.entry.js +2 -2
  274. package/dist/esm-es5/index-9924aee9.js +2 -0
  275. package/dist/esm-es5/index-a00a7418.js +1 -0
  276. package/dist/esm-es5/index-b9522531.js +7 -0
  277. package/dist/esm-es5/loader.js +1 -1
  278. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  292. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  294. package/dist/esm-es5/taro-components.js +1 -1
  295. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  299. package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -0
  300. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  302. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  303. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  304. package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -0
  305. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  306. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  307. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  308. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  309. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  310. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  311. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  312. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  313. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  314. package/dist/esm-es5/taro-list-builder-core.entry.js +1 -0
  315. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  316. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  317. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  318. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  319. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  320. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  321. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  322. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  323. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  324. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  325. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  326. package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -0
  327. package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
  328. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  329. package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
  330. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  331. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  332. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  333. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  334. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  335. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  336. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  337. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  338. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  339. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  340. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  341. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  342. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  343. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  344. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  345. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  346. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  347. package/dist/esm-es5/taro-span-core.entry.js +1 -0
  348. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  349. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  350. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  351. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  352. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  353. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  354. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  355. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  356. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  357. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  358. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  359. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  360. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  361. package/dist/hydrate/index.d.ts +217 -0
  362. package/dist/hydrate/index.js +14603 -0
  363. package/dist/hydrate/package.json +6 -0
  364. package/dist/taro-components/p-010faa87.system.js +1 -0
  365. package/dist/taro-components/p-02465454.system.entry.js +1 -0
  366. package/dist/taro-components/p-02d4d104.entry.js +1 -0
  367. package/dist/taro-components/p-03dc0283.entry.js +1 -0
  368. package/dist/taro-components/p-047e4bfe.entry.js +1 -0
  369. package/dist/taro-components/{p-028ad016.system.entry.js → p-06adeb65.system.entry.js} +1 -1
  370. package/dist/taro-components/p-078cb65e.entry.js +1 -0
  371. package/dist/taro-components/{p-6d7165eb.system.entry.js → p-07ae6678.system.entry.js} +1 -1
  372. package/dist/taro-components/p-07f27474.entry.js +1 -0
  373. package/dist/taro-components/{p-635fe530.system.entry.js → p-083c3147.system.entry.js} +1 -1
  374. package/dist/taro-components/p-0a64f78c.system.entry.js +1 -0
  375. package/dist/taro-components/p-0f2c1ecc.entry.js +1 -0
  376. package/dist/taro-components/{p-7dee8f07.system.entry.js → p-0f480c38.system.entry.js} +1 -1
  377. package/dist/taro-components/{p-18ea7e10.system.entry.js → p-0fc790c0.system.entry.js} +1 -1
  378. package/dist/taro-components/{p-aae38fe8.entry.js → p-0ff5a55b.entry.js} +1 -1
  379. package/dist/taro-components/p-12582166.entry.js +1 -0
  380. package/dist/taro-components/p-156e9634.system.entry.js +1 -0
  381. package/dist/taro-components/p-160d710a.js +7 -0
  382. package/dist/taro-components/{p-25fffbbe.system.entry.js → p-17938fa0.system.entry.js} +1 -1
  383. package/dist/taro-components/{p-46a9adcf.system.entry.js → p-17b9f865.system.entry.js} +1 -1
  384. package/dist/taro-components/p-17e72555.entry.js +1 -0
  385. package/dist/taro-components/p-18c039ef.entry.js +1 -0
  386. package/dist/taro-components/{p-6e1f0e6d.system.entry.js → p-1bd4da3b.system.entry.js} +1 -1
  387. package/dist/taro-components/p-1c37143a.system.entry.js +1 -0
  388. package/dist/taro-components/p-1eea2828.entry.js +1 -0
  389. package/dist/taro-components/p-204996e7.entry.js +1 -0
  390. package/dist/taro-components/{p-23f15c7b.entry.js → p-2649c7ae.entry.js} +1 -1
  391. package/dist/taro-components/p-26eb2f3f.entry.js +1 -0
  392. package/dist/taro-components/p-27041d86.system.entry.js +1 -0
  393. package/dist/taro-components/{p-3d7626a9.system.entry.js → p-27d372b4.system.entry.js} +1 -1
  394. package/dist/taro-components/{p-6c48d884.entry.js → p-280795f2.entry.js} +1 -1
  395. package/dist/taro-components/p-292470e5.entry.js +1 -0
  396. package/dist/taro-components/p-2d537212.entry.js +1 -0
  397. package/dist/taro-components/p-2f177716.entry.js +1 -0
  398. package/dist/taro-components/{p-9f5ebe09.system.entry.js → p-3293c5d9.system.entry.js} +1 -1
  399. package/dist/taro-components/p-32c0f326.entry.js +1 -0
  400. package/dist/taro-components/p-35dec732.entry.js +1 -0
  401. package/dist/taro-components/{p-fff30a48.entry.js → p-38b29261.entry.js} +1 -1
  402. package/dist/taro-components/{p-c7679d57.entry.js → p-3a180dc7.entry.js} +1 -1
  403. package/dist/taro-components/{p-f094089c.system.entry.js → p-3b36196b.system.entry.js} +1 -1
  404. package/dist/taro-components/{p-222573ad.entry.js → p-3bfe9260.entry.js} +1 -1
  405. package/dist/taro-components/{p-345cb56f.entry.js → p-3cf08137.entry.js} +1 -1
  406. package/dist/taro-components/{p-8c93f3e0.entry.js → p-402c7f93.entry.js} +1 -1
  407. package/dist/taro-components/p-425d1d69.entry.js +1 -0
  408. package/dist/taro-components/p-43367dd1.entry.js +1 -0
  409. package/dist/taro-components/p-443b9a72.system.js +7 -0
  410. package/dist/taro-components/p-443e31ab.system.entry.js +1 -0
  411. package/dist/taro-components/p-4523b1c7.entry.js +1 -0
  412. package/dist/taro-components/p-46a66c43.entry.js +1 -0
  413. package/dist/taro-components/{p-03538d40.system.entry.js → p-47790dc0.system.entry.js} +1 -1
  414. package/dist/taro-components/{p-747bdbaa.system.entry.js → p-4979e93c.system.entry.js} +1 -1
  415. package/dist/taro-components/p-4a8b4d58.system.entry.js +1 -0
  416. package/dist/taro-components/{p-aa1ea71b.system.entry.js → p-4ac48df1.system.entry.js} +1 -1
  417. package/dist/taro-components/{p-c2259653.system.entry.js → p-4fad4beb.system.entry.js} +1 -1
  418. package/dist/taro-components/{p-e7232d54.system.entry.js → p-50849470.system.entry.js} +1 -1
  419. package/dist/taro-components/p-53e62840.system.entry.js +1 -0
  420. package/dist/taro-components/p-55e12654.entry.js +1 -0
  421. package/dist/taro-components/p-56552c9e.entry.js +1 -0
  422. package/dist/taro-components/p-56a82bf3.entry.js +1 -0
  423. package/dist/taro-components/p-57911e2c.system.entry.js +1 -0
  424. package/dist/taro-components/{p-3aaf0fb7.system.entry.js → p-57b77f17.system.entry.js} +1 -1
  425. package/dist/taro-components/{p-d86ce035.system.entry.js → p-5884c108.system.entry.js} +1 -1
  426. package/dist/taro-components/p-5893c3ed.js +1 -0
  427. package/dist/taro-components/{p-cd34c92e.system.entry.js → p-5b9aa4b0.system.entry.js} +1 -1
  428. package/dist/taro-components/{p-feddde29.system.entry.js → p-5c156db3.system.entry.js} +1 -1
  429. package/dist/taro-components/{p-b94dcfbe.entry.js → p-5c98f478.entry.js} +1 -1
  430. package/dist/taro-components/p-5f23dc41.system.entry.js +1 -0
  431. package/dist/taro-components/{p-58d410c6.system.entry.js → p-61a325d2.system.entry.js} +1 -1
  432. package/dist/taro-components/{p-3967311b.system.entry.js → p-6282bdee.system.entry.js} +1 -1
  433. package/dist/taro-components/{p-67dcb636.system.entry.js → p-65d11e99.system.entry.js} +1 -1
  434. package/dist/taro-components/{p-1eb875d0.system.entry.js → p-6654374e.system.entry.js} +1 -1
  435. package/dist/taro-components/p-6664a2ca.system.entry.js +1 -0
  436. package/dist/taro-components/p-68197378.entry.js +1 -0
  437. package/dist/taro-components/p-6989c232.entry.js +1 -0
  438. package/dist/taro-components/{p-3708575b.system.entry.js → p-6b83388c.system.entry.js} +1 -1
  439. package/dist/taro-components/p-6ba08ce0.system.entry.js +1 -0
  440. package/dist/taro-components/p-6cc0bcb9.entry.js +1 -0
  441. package/dist/taro-components/p-7163d09e.system.js +1 -0
  442. package/dist/taro-components/{p-edb9e04e.system.entry.js → p-75b4c1fc.system.entry.js} +1 -1
  443. package/dist/taro-components/p-75d01c60.system.js +2 -0
  444. package/dist/taro-components/{p-e487b8b4.system.entry.js → p-75ded8a0.system.entry.js} +1 -1
  445. package/dist/taro-components/p-77e82dfa.entry.js +1 -0
  446. package/dist/taro-components/{p-f232cf02.entry.js → p-79cad66b.entry.js} +1 -1
  447. package/dist/taro-components/p-7ca2d075.system.entry.js +1 -0
  448. package/dist/taro-components/{p-fdccd9b3.system.entry.js → p-7e054ae7.system.entry.js} +1 -1
  449. package/dist/taro-components/p-7e692c70.entry.js +1 -0
  450. package/dist/taro-components/p-7ebd4310.entry.js +1 -0
  451. package/dist/taro-components/p-7fdbcf4d.entry.js +1 -0
  452. package/dist/taro-components/{p-bbbe728b.system.entry.js → p-8179438b.system.entry.js} +1 -1
  453. package/dist/taro-components/{p-1c1d9be8.entry.js → p-84998109.entry.js} +1 -1
  454. package/dist/taro-components/{p-7ad33036.system.entry.js → p-855619b6.system.entry.js} +1 -1
  455. package/dist/taro-components/p-8b0c9d3f.entry.js +1 -0
  456. package/dist/taro-components/{p-0b6e9013.system.entry.js → p-91ee1f8a.system.entry.js} +1 -1
  457. package/dist/taro-components/p-937a6c36.entry.js +1 -0
  458. package/dist/taro-components/{p-475f9ed3.system.entry.js → p-938f9036.system.entry.js} +1 -1
  459. package/dist/taro-components/{p-70c81b7e.entry.js → p-93a2b2e9.entry.js} +1 -1
  460. package/dist/taro-components/p-93b02321.entry.js +1 -0
  461. package/dist/taro-components/p-9571836f.entry.js +1 -0
  462. package/dist/taro-components/{p-b4e3f72e.system.entry.js → p-97b09fb4.system.entry.js} +1 -1
  463. package/dist/taro-components/p-9b6b17c4.system.entry.js +1 -0
  464. package/dist/taro-components/{p-c968ea43.system.entry.js → p-9e359fff.system.entry.js} +1 -1
  465. package/dist/taro-components/p-9f53e26c.system.entry.js +1 -0
  466. package/dist/taro-components/{p-178cb282.system.entry.js → p-a25aca16.system.entry.js} +1 -1
  467. package/dist/taro-components/p-a50c6736.entry.js +1 -0
  468. package/dist/taro-components/{p-32b41faa.system.entry.js → p-a96f8f60.system.entry.js} +1 -1
  469. package/dist/taro-components/{p-9c566d7d.system.entry.js → p-a9ca8247.system.entry.js} +1 -1
  470. package/dist/taro-components/p-aabac550.entry.js +1 -0
  471. package/dist/taro-components/p-ab0e0366.system.entry.js +1 -0
  472. package/dist/taro-components/p-ac2be5f3.entry.js +1 -0
  473. package/dist/taro-components/p-ac714300.system.entry.js +1 -0
  474. package/dist/taro-components/{p-1d3ed211.system.entry.js → p-ac9fb309.system.entry.js} +1 -1
  475. package/dist/taro-components/p-acb113bd.entry.js +1 -0
  476. package/dist/taro-components/p-b087ad2a.system.entry.js +1 -0
  477. package/dist/taro-components/p-b1f80b6b.entry.js +1 -0
  478. package/dist/taro-components/p-b4577a12.system.entry.js +1 -0
  479. package/dist/taro-components/{p-fbc2b53e.entry.js → p-b4c7bb48.entry.js} +1 -1
  480. package/dist/taro-components/p-ba11ef7d.entry.js +1 -0
  481. package/dist/taro-components/{p-810b9a86.system.entry.js → p-ba5e7ec4.system.entry.js} +1 -1
  482. package/dist/taro-components/p-bb67318d.entry.js +1 -0
  483. package/dist/taro-components/{p-6f45f110.entry.js → p-bd57edcd.entry.js} +1 -1
  484. package/dist/taro-components/{p-f43ba9ed.entry.js → p-be055537.entry.js} +1 -1
  485. package/dist/taro-components/{p-eab8a6b0.entry.js → p-be1701b2.entry.js} +1 -1
  486. package/dist/taro-components/{p-e769cea4.system.entry.js → p-c056d527.system.entry.js} +1 -1
  487. package/dist/taro-components/{p-039e15a4.system.entry.js → p-c0c567e5.system.entry.js} +1 -1
  488. package/dist/taro-components/p-c3dc7072.entry.js +1 -0
  489. package/dist/taro-components/{p-680ba5a1.system.entry.js → p-c677414d.system.entry.js} +1 -1
  490. package/dist/taro-components/p-c71d5745.system.entry.js +1 -0
  491. package/dist/taro-components/{p-a7ecb97a.entry.js → p-c7836e2b.entry.js} +1 -1
  492. package/dist/taro-components/p-c7d8c076.system.entry.js +1 -0
  493. package/dist/taro-components/{p-7de7d96c.entry.js → p-c8cd6e16.entry.js} +1 -1
  494. package/dist/taro-components/p-c95d2b90.entry.js +1 -0
  495. package/dist/taro-components/p-ca6a5916.system.entry.js +1 -0
  496. package/dist/taro-components/{p-dea67974.system.entry.js → p-cae6c5d0.system.entry.js} +1 -1
  497. package/dist/taro-components/{p-6d1e33e1.system.entry.js → p-cafbb3d9.system.entry.js} +1 -1
  498. package/dist/taro-components/p-ccbaba23.entry.js +1 -0
  499. package/dist/taro-components/{p-443fe754.system.entry.js → p-d05eb105.system.entry.js} +1 -1
  500. package/dist/taro-components/{p-346162b4.system.entry.js → p-d2203687.system.entry.js} +1 -1
  501. package/dist/taro-components/{p-f8970571.entry.js → p-d5603857.entry.js} +1 -1
  502. package/dist/taro-components/{p-72d7fae0.system.entry.js → p-d73b3a94.system.entry.js} +1 -1
  503. package/dist/taro-components/p-d87a68f6.entry.js +1 -0
  504. package/dist/taro-components/p-d973d536.entry.js +1 -0
  505. package/dist/taro-components/{p-48c52124.entry.js → p-d9884371.entry.js} +1 -1
  506. package/dist/taro-components/p-dc08715a.entry.js +1 -0
  507. package/dist/taro-components/{p-20e38f24.entry.js → p-dc25fa81.entry.js} +1 -1
  508. package/dist/taro-components/p-dcf5747c.system.entry.js +1 -0
  509. package/dist/taro-components/{p-abd51173.system.entry.js → p-ddf75d6a.system.entry.js} +1 -1
  510. package/dist/taro-components/{p-c3c69a95.system.entry.js → p-ded98693.system.entry.js} +1 -1
  511. package/dist/taro-components/{p-0780df27.entry.js → p-dedf50a9.entry.js} +1 -1
  512. package/dist/taro-components/{p-8d797863.system.entry.js → p-df7c6216.system.entry.js} +1 -1
  513. package/dist/taro-components/p-e1cce2f1.entry.js +1 -0
  514. package/dist/taro-components/p-e2e7bc16.entry.js +1 -0
  515. package/dist/taro-components/p-e3d825d1.system.entry.js +1 -0
  516. package/dist/taro-components/p-e5ef41f2.system.entry.js +1 -0
  517. package/dist/taro-components/p-e62a1287.js +2 -0
  518. package/dist/taro-components/p-e681d764.entry.js +1 -0
  519. package/dist/taro-components/p-e853a2c8.system.entry.js +1 -0
  520. package/dist/taro-components/p-ebad862a.system.entry.js +1 -0
  521. package/dist/taro-components/p-ebb1ae64.entry.js +1 -0
  522. package/dist/taro-components/p-f034a433.entry.js +1 -0
  523. package/dist/taro-components/{p-4cc2e06e.entry.js → p-f168fffc.entry.js} +1 -1
  524. package/dist/taro-components/p-f367a754.entry.js +1 -0
  525. package/dist/taro-components/{p-2713fc1a.entry.js → p-f43f26cf.entry.js} +1 -1
  526. package/dist/taro-components/{p-8b604d50.entry.js → p-f5f3a111.entry.js} +1 -1
  527. package/dist/taro-components/{p-1ac9622e.entry.js → p-f8f2461f.entry.js} +1 -1
  528. package/dist/taro-components/p-f9935901.system.entry.js +1 -0
  529. package/dist/taro-components/{p-1411cd2e.system.entry.js → p-fa31b2de.system.entry.js} +1 -1
  530. package/dist/taro-components/p-fab63183.entry.js +1 -0
  531. package/dist/taro-components/{p-4ff6ad99.system.entry.js → p-fbf13159.system.entry.js} +1 -1
  532. package/dist/taro-components/p-fe5eefdc.system.entry.js +1 -0
  533. package/dist/taro-components/{p-d8f78d99.system.entry.js → p-feb89474.system.entry.js} +1 -1
  534. package/dist/taro-components/p-ff772345.entry.js +1 -0
  535. package/dist/taro-components/taro-components.css +1 -5
  536. package/dist/taro-components/taro-components.esm.js +1 -1
  537. package/dist/taro-components/taro-components.js +1 -1
  538. package/dist/types/components/draggable-sheet/draggable-sheet.d.ts +5 -0
  539. package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
  540. package/dist/types/components/list-builder/list-builder.d.ts +5 -0
  541. package/dist/types/components/map/map.d.ts +145 -2
  542. package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
  543. package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
  544. package/dist/types/components/open-container/open-container.d.ts +5 -0
  545. package/dist/types/components/span/span.d.ts +5 -0
  546. package/dist/types/components/swiper/swiper.d.ts +5 -0
  547. package/dist/types/components/switch/switch.d.ts +3 -3
  548. package/dist/types/components/textarea/textarea.d.ts +1 -0
  549. package/dist/types/components.d.ts +313 -1
  550. package/dist/types/utils/index.d.ts +2 -0
  551. package/global.css +1 -0
  552. package/lib/react/component-lib/index.d.ts +53 -53
  553. package/lib/react/component-lib/input.d.ts +1 -1
  554. package/lib/react/component-lib/input.js.map +1 -1
  555. package/lib/react/component-lib/reactify-wc.d.ts +1 -1
  556. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  557. package/lib/react/components.d.ts +92 -85
  558. package/lib/react/components.js +11 -2
  559. package/lib/react/components.js.map +1 -1
  560. package/lib/react/helper.d.ts +4 -2
  561. package/lib/react/helper.js.map +1 -1
  562. package/lib/react/index.d.ts +1 -1
  563. package/lib/react/index.js +1 -1
  564. package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js.map +1 -0
  565. package/lib/react/react-component-lib/createComponent.d.ts +3 -3
  566. package/lib/react/react-component-lib/createComponent.js +3 -2
  567. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  568. package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -5
  569. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  570. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  571. package/lib/react/react-component-lib/index.d.ts +2 -2
  572. package/lib/react/{interfaces-f526f1a2.d.ts → react-component-lib/interfaces.d.ts} +4 -5
  573. package/lib/react/react-component-lib/utils/attachProps.d.ts +18 -9
  574. package/lib/react/react-component-lib/utils/attachProps.js +86 -10
  575. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  576. package/lib/react/react-component-lib/utils/case.d.ts +2 -3
  577. package/lib/react/react-component-lib/utils/dev.d.ts +6 -0
  578. package/lib/react/react-component-lib/utils/index.d.ts +9 -10
  579. package/lib/react/react-component-lib/utils/index.js +1 -1
  580. package/lib/react/react-component-lib/utils/index.js.map +1 -1
  581. package/lib/solid/component-lib/index.d.ts +53 -0
  582. package/lib/solid/component-lib/index.js +69 -0
  583. package/lib/solid/component-lib/index.js.map +1 -0
  584. package/lib/solid/components.d.ts +92 -0
  585. package/lib/solid/components.js +102 -0
  586. package/lib/solid/components.js.map +1 -0
  587. package/lib/solid/helper.d.ts +3 -0
  588. package/lib/solid/helper.js +7 -0
  589. package/lib/solid/helper.js.map +1 -0
  590. package/lib/solid/index.d.ts +1 -0
  591. package/lib/solid/index.js +2 -0
  592. package/lib/solid/solid-component-lib/createComponent.d.ts +10 -0
  593. package/lib/solid/solid-component-lib/createComponent.js +67 -0
  594. package/lib/solid/solid-component-lib/createComponent.js.map +1 -0
  595. package/lib/solid/solid-component-lib/index.d.ts +1 -0
  596. package/lib/solid/solid-component-lib/index.js +2 -0
  597. package/lib/solid/solid-component-lib/index.js.map +1 -0
  598. package/lib/solid/solid-component-lib/interfaces.d.ts +33 -0
  599. package/lib/solid/solid-component-lib/utils/case.d.ts +3 -0
  600. package/lib/solid/solid-component-lib/utils/case.js +6 -0
  601. package/lib/solid/solid-component-lib/utils/case.js.map +1 -0
  602. package/lib/solid/solid-component-lib/utils/element.d.ts +6 -0
  603. package/lib/solid/solid-component-lib/utils/element.js +48 -0
  604. package/lib/solid/solid-component-lib/utils/element.js.map +1 -0
  605. package/lib/solid/solid-component-lib/utils/index.d.ts +2 -0
  606. package/lib/solid/solid-component-lib/utils/index.js +3 -0
  607. package/lib/solid/solid-component-lib/utils/index.js.map +1 -0
  608. package/lib/vue3/component-lib/createComponent.d.ts +1 -2
  609. package/lib/vue3/component-lib/createFormsComponent.d.ts +1 -2
  610. package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
  611. package/lib/vue3/component-lib/forwardRef.d.ts +1 -2
  612. package/lib/vue3/component-lib/icon.d.ts +1 -1
  613. package/lib/vue3/component-lib/image.d.ts +1 -1
  614. package/lib/vue3/component-lib/index.d.ts +52 -53
  615. package/lib/vue3/component-lib/scroll-view.d.ts +1 -1
  616. package/lib/vue3/component-lib/scroll-view.js.map +1 -1
  617. package/lib/vue3/component-lib/text.d.ts +1 -1
  618. package/lib/vue3/components-loader.d.ts +1 -2
  619. package/lib/vue3/components-loader.js.map +1 -1
  620. package/lib/vue3/components.d.ts +91 -85
  621. package/lib/vue3/components.js +41 -3
  622. package/lib/vue3/components.js.map +1 -1
  623. package/lib/vue3/index.d.ts +1 -1
  624. package/lib/vue3/index.js +1 -1
  625. package/lib/vue3/vue-component-lib/utils.d.ts +2 -3
  626. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  627. package/package.json +34 -23
  628. package/types/Audio.d.ts +11 -11
  629. package/types/Button.d.ts +9 -9
  630. package/types/Canvas.d.ts +11 -11
  631. package/types/Checkbox.d.ts +8 -8
  632. package/types/CheckboxGroup.d.ts +3 -3
  633. package/types/CoverImage.d.ts +4 -4
  634. package/types/CoverView.d.ts +1 -1
  635. package/types/CustomWrapper.d.ts +1 -1
  636. package/types/DraggableSheet.d.ts +47 -0
  637. package/types/Form.d.ts +4 -4
  638. package/types/GridBuilder.d.ts +72 -0
  639. package/types/GridView.d.ts +18 -4
  640. package/types/Icon.d.ts +4 -4
  641. package/types/Image.d.ts +8 -8
  642. package/types/Input.d.ts +22 -17
  643. package/types/Label.d.ts +2 -2
  644. package/types/ListBuilder.d.ts +55 -0
  645. package/types/ListView.d.ts +9 -2
  646. package/types/Map.d.ts +0 -2
  647. package/types/MovableArea.d.ts +2 -2
  648. package/types/MovableView.d.ts +18 -18
  649. package/types/NativeSlot.d.ts +1 -1
  650. package/types/NavigationBar.d.ts +5 -5
  651. package/types/Navigator.d.ts +8 -8
  652. package/types/NestedScrollBody.d.ts +15 -0
  653. package/types/NestedScrollHeader.d.ts +15 -0
  654. package/types/OpenContainer.d.ts +74 -0
  655. package/types/PageMeta.d.ts +13 -7
  656. package/types/Picker.d.ts +49 -28
  657. package/types/PickerView.d.ts +6 -1
  658. package/types/PickerViewColumn.d.ts +1 -1
  659. package/types/Progress.d.ts +13 -13
  660. package/types/Radio.d.ts +7 -7
  661. package/types/RadioGroup.d.ts +2 -2
  662. package/types/RichText.d.ts +5 -5
  663. package/types/Script.d.ts +37 -0
  664. package/types/ScrollView.d.ts +21 -15
  665. package/types/ShareElement.d.ts +1 -0
  666. package/types/Slider.d.ts +18 -13
  667. package/types/Slot.d.ts +1 -1
  668. package/types/Snapshot.d.ts +12 -3
  669. package/types/Span.d.ts +14 -0
  670. package/types/StickyHeader.d.ts +15 -2
  671. package/types/StickySection.d.ts +7 -1
  672. package/types/Swiper.d.ts +18 -20
  673. package/types/SwiperItem.d.ts +2 -2
  674. package/types/Switch.d.ts +12 -7
  675. package/types/Text.d.ts +20 -4
  676. package/types/Textarea.d.ts +18 -13
  677. package/types/Video.d.ts +30 -30
  678. package/types/View.d.ts +4 -4
  679. package/types/WebView.d.ts +4 -4
  680. package/types/common.d.ts +2 -2
  681. package/types/index.d.ts +8 -0
  682. package/types/index.vue3.d.ts +4 -0
  683. package/dist/cjs/hls-dfcad743.js +0 -25797
  684. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  685. package/dist/collection/components/input/index.css +0 -12
  686. package/dist/components/hls.js +0 -25795
  687. package/dist/components/intersection-observer.js +0 -726
  688. package/dist/esm/hls-268fc25b.js +0 -25795
  689. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  690. package/dist/esm-es5/hls-268fc25b.js +0 -1
  691. package/dist/esm-es5/index-6bb77c5f.js +0 -2
  692. package/dist/esm-es5/index-a74b6944.js +0 -7
  693. package/dist/esm-es5/index-d1b03e47.js +0 -1
  694. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  695. package/dist/taro-components/p-00113225.system.entry.js +0 -1
  696. package/dist/taro-components/p-0030841b.system.js +0 -1
  697. package/dist/taro-components/p-0910d414.entry.js +0 -1
  698. package/dist/taro-components/p-0e37fb54.entry.js +0 -1
  699. package/dist/taro-components/p-11c962b9.entry.js +0 -1
  700. package/dist/taro-components/p-139d64f1.entry.js +0 -1
  701. package/dist/taro-components/p-175edd50.entry.js +0 -1
  702. package/dist/taro-components/p-19f218e6.js +0 -7
  703. package/dist/taro-components/p-1c95795d.entry.js +0 -1
  704. package/dist/taro-components/p-1f36cd5f.entry.js +0 -1
  705. package/dist/taro-components/p-1f88349b.entry.js +0 -1
  706. package/dist/taro-components/p-2145dccb.entry.js +0 -1
  707. package/dist/taro-components/p-215881b4.entry.js +0 -1
  708. package/dist/taro-components/p-2339a4d3.entry.js +0 -1
  709. package/dist/taro-components/p-277892fe.system.entry.js +0 -1
  710. package/dist/taro-components/p-27c756c5.system.entry.js +0 -1
  711. package/dist/taro-components/p-2aff4cdb.entry.js +0 -1
  712. package/dist/taro-components/p-2e2487bf.system.entry.js +0 -1
  713. package/dist/taro-components/p-332dc867.entry.js +0 -1
  714. package/dist/taro-components/p-333305e3.entry.js +0 -1
  715. package/dist/taro-components/p-34de4101.system.js +0 -7
  716. package/dist/taro-components/p-35160fd2.entry.js +0 -1
  717. package/dist/taro-components/p-37edf3f6.entry.js +0 -1
  718. package/dist/taro-components/p-3ad92100.system.entry.js +0 -1
  719. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  720. package/dist/taro-components/p-3cd71da3.system.entry.js +0 -1
  721. package/dist/taro-components/p-401743f9.system.entry.js +0 -1
  722. package/dist/taro-components/p-4aeb3859.system.entry.js +0 -1
  723. package/dist/taro-components/p-4d609ebb.system.entry.js +0 -1
  724. package/dist/taro-components/p-4d89b685.entry.js +0 -1
  725. package/dist/taro-components/p-527c55ca.entry.js +0 -1
  726. package/dist/taro-components/p-550c350a.entry.js +0 -1
  727. package/dist/taro-components/p-5b028f1b.js +0 -1
  728. package/dist/taro-components/p-619b9fe5.system.entry.js +0 -1
  729. package/dist/taro-components/p-6df6fd58.entry.js +0 -1
  730. package/dist/taro-components/p-6f5e162d.entry.js +0 -1
  731. package/dist/taro-components/p-70bd0541.entry.js +0 -1
  732. package/dist/taro-components/p-728b6f8f.system.entry.js +0 -1
  733. package/dist/taro-components/p-72f327e1.js +0 -1
  734. package/dist/taro-components/p-79b675c8.entry.js +0 -1
  735. package/dist/taro-components/p-7b39971e.system.entry.js +0 -1
  736. package/dist/taro-components/p-7ba17143.entry.js +0 -1
  737. package/dist/taro-components/p-7be1f603.entry.js +0 -1
  738. package/dist/taro-components/p-7e90dfef.js +0 -2
  739. package/dist/taro-components/p-817b319c.system.entry.js +0 -1
  740. package/dist/taro-components/p-907d2fe0.entry.js +0 -1
  741. package/dist/taro-components/p-93a3d6ee.entry.js +0 -1
  742. package/dist/taro-components/p-9c91aee3.system.entry.js +0 -1
  743. package/dist/taro-components/p-9e788d33.entry.js +0 -1
  744. package/dist/taro-components/p-9feeee0f.system.entry.js +0 -1
  745. package/dist/taro-components/p-a3dad439.entry.js +0 -1
  746. package/dist/taro-components/p-a4ea7a51.system.entry.js +0 -1
  747. package/dist/taro-components/p-a54735cb.entry.js +0 -1
  748. package/dist/taro-components/p-a5adbf15.system.entry.js +0 -1
  749. package/dist/taro-components/p-a744e7aa.entry.js +0 -1
  750. package/dist/taro-components/p-b1977132.entry.js +0 -1
  751. package/dist/taro-components/p-b2ad9709.entry.js +0 -1
  752. package/dist/taro-components/p-b3780eab.system.entry.js +0 -1
  753. package/dist/taro-components/p-b69bcd43.entry.js +0 -1
  754. package/dist/taro-components/p-b9c2a210.system.entry.js +0 -1
  755. package/dist/taro-components/p-bb454378.entry.js +0 -1
  756. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  757. package/dist/taro-components/p-bd6574cf.entry.js +0 -1
  758. package/dist/taro-components/p-bfea77f9.entry.js +0 -1
  759. package/dist/taro-components/p-c0a59843.entry.js +0 -1
  760. package/dist/taro-components/p-cb21f4f1.entry.js +0 -1
  761. package/dist/taro-components/p-cd0f3444.entry.js +0 -1
  762. package/dist/taro-components/p-cdd48677.system.js +0 -2
  763. package/dist/taro-components/p-d3c7f87d.js +0 -1
  764. package/dist/taro-components/p-d42968e9.system.entry.js +0 -1
  765. package/dist/taro-components/p-d55f870d.entry.js +0 -1
  766. package/dist/taro-components/p-d81577b8.system.entry.js +0 -1
  767. package/dist/taro-components/p-daabfc6e.entry.js +0 -1
  768. package/dist/taro-components/p-dda03c84.entry.js +0 -1
  769. package/dist/taro-components/p-deff0bb8.entry.js +0 -1
  770. package/dist/taro-components/p-e6e3c1d7.entry.js +0 -1
  771. package/dist/taro-components/p-e82e16a1.entry.js +0 -1
  772. package/dist/taro-components/p-ee4da4db.system.js +0 -1
  773. package/dist/taro-components/p-f003caad.entry.js +0 -1
  774. package/dist/taro-components/p-f111303f.entry.js +0 -1
  775. package/dist/taro-components/p-f75d094e.system.entry.js +0 -1
  776. package/dist/taro-components/p-fbec1f96.entry.js +0 -1
  777. package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js.map +0 -1
  778. package/lib/vue2/component-lib/components.d.ts +0 -111
  779. package/lib/vue2/component-lib/components.js +0 -74
  780. package/lib/vue2/component-lib/components.js.map +0 -1
  781. package/lib/vue2/component-lib/createComponent.d.ts +0 -14
  782. package/lib/vue2/component-lib/createComponent.js +0 -23
  783. package/lib/vue2/component-lib/createComponent.js.map +0 -1
  784. package/lib/vue2/component-lib/createFormsComponent.d.ts +0 -22
  785. package/lib/vue2/component-lib/createFormsComponent.js +0 -53
  786. package/lib/vue2/component-lib/createFormsComponent.js.map +0 -1
  787. package/lib/vue2/component-lib/icon.d.ts +0 -16
  788. package/lib/vue2/component-lib/icon.js +0 -23
  789. package/lib/vue2/component-lib/icon.js.map +0 -1
  790. package/lib/vue2/component-lib/image.d.ts +0 -16
  791. package/lib/vue2/component-lib/image.js +0 -24
  792. package/lib/vue2/component-lib/image.js.map +0 -1
  793. package/lib/vue2/component-lib/index.d.ts +0 -1
  794. package/lib/vue2/component-lib/index.js +0 -25
  795. package/lib/vue2/component-lib/index.js.map +0 -1
  796. package/lib/vue2/component-lib/mixins/listeners.d.ts +0 -6
  797. package/lib/vue2/component-lib/mixins/listeners.js +0 -14
  798. package/lib/vue2/component-lib/mixins/listeners.js.map +0 -1
  799. package/lib/vue2/component-lib/mixins/refs.d.ts +0 -5
  800. package/lib/vue2/component-lib/mixins/refs.js +0 -53
  801. package/lib/vue2/component-lib/mixins/refs.js.map +0 -1
  802. package/lib/vue2/component-lib/picker.d.ts +0 -25
  803. package/lib/vue2/component-lib/picker.js +0 -41
  804. package/lib/vue2/component-lib/picker.js.map +0 -1
  805. package/lib/vue2/component-lib/scroll-view.d.ts +0 -17
  806. package/lib/vue2/component-lib/scroll-view.js +0 -35
  807. package/lib/vue2/component-lib/scroll-view.js.map +0 -1
  808. package/lib/vue2/component-lib/text.d.ts +0 -16
  809. package/lib/vue2/component-lib/text.js +0 -24
  810. package/lib/vue2/component-lib/text.js.map +0 -1
  811. package/lib/vue2/components-loader.d.ts +0 -2
  812. package/lib/vue2/components-loader.js +0 -21
  813. package/lib/vue2/components-loader.js.map +0 -1
  814. package/lib/vue2/components.d.ts +0 -373
  815. package/lib/vue2/components.js +0 -583
  816. package/lib/vue2/components.js.map +0 -1
  817. package/lib/vue2/index.d.ts +0 -1
  818. package/lib/vue2/index.js +0 -2
  819. package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -4
  820. package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +0 -1
  821. package/lib/vue2/vue-component-lib/utils.d.ts +0 -10
  822. package/lib/vue2/vue-component-lib/utils.js +0 -51
  823. package/lib/vue2/vue-component-lib/utils.js.map +0 -1
  824. /package/lib/react/node_modules/.pnpm/{tslib@2.6.2 → @rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5}/node_modules/tslib/tslib.es6.js +0 -0
  825. /package/lib/{vue2 → solid}/index.js.map +0 -0
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function l(e){try{i(r.next(e))}catch(e){o(e)}}function s(e){try{i(r["throw"](e))}catch(e){o(e)}}function i(e){e.done?n(e.value):a(e.value).then(l,s)}i((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return i([e,t])}}function i(s){if(r)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(n=0)),n)try{if(r=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];a=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="taro-components";var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var EMPTY_OBJ={};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=null;var l=null;var s=false;var i=false;var c=[];var f=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(s=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(s&&i){c[c.length-1].$text$+=a}else{c.push(s?newVNode(null,a):a)}i=s}}};f(n);if(t){if(t.key){o=t.key}if(t.name){l=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,vdomFnUtils)}var $=newVNode(e,null);$.$attrs$=t;if(c.length>0){$.$children$=c}{$.$key$=o}{$.$name$=l}return $};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var n=newVNode(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,n){var r=getElement(e);return{emit:function(e){return emitEvent(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a;var o=getScopeId(t);var l=styles.get(o);e=e.nodeType===11?e:doc;if(l){if(typeof l==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(o)){{{i=doc.createElement("style");i.innerHTML=l}var c=(a=plt.$nonce$)!==null&&a!==void 0?a:queryNonceMetaTagContent(doc);if(c!=null){i.setAttribute("nonce",c)}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(o)}}}else if(!e.adoptedStyleSheets.includes(l)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[l],false)}}return o};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=createTime("attachStyles",t.$tagName$);addStyle(n.getRootNode(),t);r()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var setAccessor=function(e,t,n,r,a,o){if(n!==r){var l=isMemberInElement(e,t);var s=t.toLowerCase();if(t==="class"){var i=e.classList;var c=parseClassList(n);var f=parseClassList(r);i.remove.apply(i,c.filter((function(e){return e&&!f.includes(e)})));i.add.apply(i,f.filter((function(e){return e&&!c.includes(e)})))}else if(t==="style"){{for(var u in n){if(!r||r[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in r){if(!n||r[u]!==n[u]){if(u.includes("-")){e.style.setProperty(u,r[u])}else{e.style[u]=r[u]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(n){plt.rel(e,t,n,false)}if(r){plt.ael(e,t,r,false)}}else{var $=isComplexType(r);if((l||$&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var d=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=d){e[t]=d}}else{e[t]=r}}catch(e){}}var v=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;v=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!l||o&4||a)&&!$){r=r===true?"":r;if(v){e.setAttributeNS(XLINK_NS,t,r)}else{e.setAttribute(t,r)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var l=t.$attrs$||EMPTY_OBJ;{for(r in o){if(!(r in l)){setAccessor(a,r,o[r],undefined,n,t.$flags$)}}}for(r in l){setAccessor(a,r,o[r],l[r],n,t.$flags$)}};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var l;var s;var i;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){l=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){l=a.$elm$=doc.createTextNode("")}else{l=a.$elm$=doc.createElement(a.$flags$&2?"slot-fb":a.$tag$);{updateElement(null,a,isSvgMode)}if(a.$children$){for(o=0;o<a.$children$.length;++o){s=createElm(e,a,o);if(s){l.appendChild(s)}}}}{l["s-hn"]=hostTagName;if(a.$flags$&(2|1)){l["s-sr"]=true;l["s-cr"]=contentRef;l["s-sn"]=a.$name$||"";i=e&&e.$children$&&e.$children$[n];if(i&&i.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return l};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,n,r,a,o){var l=e["s-cr"]&&e["s-cr"].parentNode||e;var s;for(;a<=o;++a){if(r[a]){s=createElm(null,n,a);if(s){r[a].$elm$=s;l.insertBefore(s,referenceNode(t))}}}};var removeVnodes=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;callNodeRefs(r);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var l=0;var s=0;var i=t.length-1;var c=t[0];var f=t[i];var u=r.length-1;var $=r[0];var d=r[u];var v;var p;while(a<=i&&o<=u){if(c==null){c=t[++a]}else if(f==null){f=t[--i]}else if($==null){$=r[++o]}else if(d==null){d=r[--u]}else if(isSameVnode(c,$)){patch(c,$);c=t[++a];$=r[++o]}else if(isSameVnode(f,d)){patch(f,d);f=t[--i];d=r[--u]}else if(isSameVnode(c,d)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,d);e.insertBefore(c.$elm$,f.$elm$.nextSibling);c=t[++a];d=r[--u]}else if(isSameVnode(f,$)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(f.$elm$.parentNode,false)}patch(f,$);e.insertBefore(f.$elm$,c.$elm$);f=t[--i];$=r[++o]}else{l=-1;{for(s=a;s<=i;++s){if(t[s]&&t[s].$key$!==null&&t[s].$key$===$.$key$){l=s;break}}}if(l>=0){p=t[l];if(p.$tag$!==$.$tag$){v=createElm(t&&t[o],n,l)}else{patch(p,$);t[l]=undefined;v=p.$elm$}$=r[++o]}else{v=createElm(t&&t[o],n,o);$=r[++o]}if(v){{parentReferenceNode(c.$elm$).insertBefore(v,referenceNode(c.$elm$))}}}}if(a>i){addVnodes(e,r[u+1]==null?null:r[u+1].$elm$,n,r,o,u)}else if(o>u){removeVnodes(t,a,i)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var o=t.$tag$;var l=t.$text$;var s;if(l===null){{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}}else if(s=n["s-cr"]){s.parentNode.textContent=l}else if(e.$text$!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var n;var r;var a;var o;var l;var s;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){l=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){s=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||l!==""){if(s===1&&l===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(s===1||s===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}updateFallbackSlotVisibility(n)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var n;var r;var a;var o;var l;var s=0;var i=e.childNodes;var c=i.length;for(;s<c;s++){t=i[s];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(l=r.length-1;l>=0;l--){n=r[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(n,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));checkSlotFallbackVisibility=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,n["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===n}))){relocateNodes.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(r.$attrsToReflect$){o.$attrs$=o.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return o.$attrs$[r]=n[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=n;{contentRef=n["s-cr"];useNativeShadowDom=(r.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var l=void 0;var s=void 0;var i=void 0;var c=void 0;var f=void 0;var u=void 0;var $=0;for(;$<relocateNodes.length;$++){l=relocateNodes[$];s=l.$nodeToRelocate$;if(!s["s-ol"]){i=doc.createTextNode("");i["s-nr"]=s;s.parentNode.insertBefore(s["s-ol"]=i,s)}}for($=0;$<relocateNodes.length;$++){l=relocateNodes[$];s=l.$nodeToRelocate$;if(l.$slotRefNode$){c=l.$slotRefNode$.parentNode;f=l.$slotRefNode$.nextSibling;i=s["s-ol"];while(i=i.previousSibling){u=i["s-nr"];if(u&&u["s-sn"]===s["s-sn"]&&c===u.parentNode){u=u.nextSibling;if(!u||!u["s-nr"]){f=u;break}}}if(!f&&c!==s.parentNode||s.nextSibling!==f){if(s!==f){if(!s["s-hn"]&&s["s-ol"]){s["s-hn"]=s["s-ol"].parentNode.nodeName}c.insertBefore(s,f)}}}else{if(s.nodeType===1){s.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}{a=safeCall(r,"componentWillLoad")}}else{{a=safeCall(r,"componentWillUpdate")}}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,l,s,i;return __generator(this,(function(c){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}l=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{s=r["s-p"];i=function(){return postUpdateComponent(e)};if(s.length===0){i()}else{Promise.all(s).then(i);e.$flags$|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;{safeCall(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}{safeCall(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$hostElement$;var l=a.$instanceValues$.get(t);var s=a.$flags$;var i=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);var c=Number.isNaN(l)&&Number.isNaN(n);var f=n!==l&&!c;if((!(s&8)||l===undefined)&&f){a.$instanceValues$.set(t,n);if(i){if(r.$watchers$&&s&128){var u=r.$watchers$[t];if(u){u.map((function(e){try{i[e](n,l,t)}catch(e){consoleError(e,o)}}))}}if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],o=e[1][0];if(o&31||n&2&&o&32){Object.defineProperty(a,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&o&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=getHostRef(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var o=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;plt.jmp((function(){var t=o.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;o.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,l,s,i,c;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=f.sent();e();f.label=2;case 2:if(!a.isProxied){{n.$watchers$=a.watchers}proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}r();fireConnectedCallback(t.$lazyInstance$);if(a.style){o=a.style;l=getScopeId(n);if(!styles.has(l)){s=createTime("registerStyles",n.$tagName$);registerStyle(l,o,!!(n.$flags$&1));s()}}f.label=3;case 3:i=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(i&&i["s-rc"]){i["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{if(n.$flags$&(4|8)){setContentReference(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{initializeComponent(e,t,n)}}else{addHostEventListeners(e,t,n.$listeners$);fireConnectedCallback(t.$lazyInstance$)}r()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(n,"disconnectedCallback")}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n;var r=createTime();var a=[];var o=t.exclude||[];var l=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var c=doc.createElement("style");var f=[];var u;var $=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}var r=n.$tagName$;var s=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);return r}t.prototype.connectedCallback=function(){var e=this;if(u){clearTimeout(u);u=null}if($){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!o.includes(r)&&!l.get(r)){a.push(r);l.define(r,proxyComponent(s,n,1))}}))}));{c.innerHTML=a+HYDRATED_CSS;c.setAttribute("data-styles","");var d=(n=plt.$nonce$)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(d!=null){c.setAttribute("nonce",d)}s.insertBefore(c,i?i.nextSibling:s.firstChild)}$=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return u=setTimeout(appDidLoad,30)}))}}r()};var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var l=getHostListenerTarget(e,r);var s=hostListenerProxy(t,o);var i=hostListenerOpts(r);plt.ael(l,a,s,i);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(l,a,s,i)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;return e};var hostListenerOpts=function(e){return(e&2)!==0};var setNonce=function(e){return plt.$nonce$=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1,7 +0,0 @@
1
- function createCommonjsModule(r,e,n){return n={path:e,exports:{},require:function(r,e){return commonjsRequire()}},r(n,n.exports),n.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var classnames=createCommonjsModule((function(r){
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */
7
- (function(){var e={}.hasOwnProperty;function n(){var r=[];for(var o=0;o<arguments.length;o++){var t=arguments[o];if(!t)continue;var i=typeof t;if(i==="string"||i==="number"){r.push(t)}else if(Array.isArray(t)){if(t.length){var s=n.apply(null,t);if(s){r.push(s)}}}else if(i==="object"){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){r.push(t.toString());continue}for(var u in t){if(e.call(t,u)&&t[u]){r.push(u)}}}}return r.join(" ")}if(r.exports){n.default=n;r.exports=n}else{window.classNames=n}})()}));export{classnames as c};
@@ -1 +0,0 @@
1
- function throttle(t,e,i){if(e===void 0){e=250}var n=0;var o;return function(){var r=[];for(var a=0;a<arguments.length;a++){r[a]=arguments[a]}var f=i||this;var s=Date.now();if(s-n>e){t.apply(this,r);n=s}else{clearTimeout(o);o=setTimeout((function(){n=s;t.apply(f,r)}),e)}}}function debounce(t,e,i){if(e===void 0){e=250}var n;return function(){var o=[];for(var r=0;r<arguments.length;r++){o[r]=arguments[r]}var a=i||this;clearTimeout(n);n=setTimeout((function(){t.apply(a,o)}),e)}}function isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}export{debounce as d,isVisible as i,throttle as t};
@@ -1 +0,0 @@
1
- (function(){if(typeof window!=="object"){return}if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){if(!("isIntersecting"in window.IntersectionObserverEntry.prototype)){Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}})}return}var t=window.document;function e(t){this.time=t.time;this.target=t.target;this.rootBounds=t.rootBounds;this.boundingClientRect=t.boundingClientRect;this.intersectionRect=t.intersectionRect||a();this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect;var n=e.width*e.height;var r=this.intersectionRect;var i=r.width*r.height;if(n){this.intersectionRatio=Number((i/n).toFixed(4))}else{this.intersectionRatio=this.isIntersecting?1:0}}function n(t,e){var n=e||{};if(typeof t!="function"){throw new Error("callback must be a function")}if(n.root&&n.root.nodeType!=1){throw new Error("root must be an Element")}this._checkForIntersections=i(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=t;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(n.rootMargin);this.thresholds=this._initThresholds(n.threshold);this.root=n.root||null;this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}n.prototype.THROTTLE_TIMEOUT=100;n.prototype.POLL_INTERVAL=null;n.prototype.USE_MUTATION_OBSERVER=true;n.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(e){return}if(!(t&&t.nodeType==1)){throw new Error("target must be an Element")}this._registerInstance();this._observationTargets.push({element:t,entry:null});this._monitorIntersections();this._checkForIntersections()};n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t}));if(!this._observationTargets.length){this._unmonitorIntersections();this._unregisterInstance()}};n.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorIntersections();this._unregisterInstance()};n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();this._queuedEntries=[];return t};n.prototype._initThresholds=function(t){var e=t||[0];if(!Array.isArray(e))e=[e];return e.sort().filter((function(t,e,n){if(typeof t!="number"||isNaN(t)||t<0||t>1){throw new Error("threshold must be a number between 0 and 1 inclusively")}return t!==n[e-1]}))};n.prototype._parseRootMargin=function(t){var e=t||"0px";var n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e){throw new Error("rootMargin must be specified in pixels or percent")}return{value:parseFloat(e[1]),unit:e[2]}}));n[1]=n[1]||n[0];n[2]=n[2]||n[0];n[3]=n[3]||n[1];return n};n.prototype._monitorIntersections=function(){if(!this._monitoringIntersections){this._monitoringIntersections=true;if(this.POLL_INTERVAL){this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL)}else{o(window,"resize",this._checkForIntersections,true);o(t,"scroll",this._checkForIntersections,true);if(this.USE_MUTATION_OBSERVER&&"MutationObserver"in window){this._domObserver=new MutationObserver(this._checkForIntersections);this._domObserver.observe(t,{attributes:true,childList:true,characterData:true,subtree:true})}}}};n.prototype._unmonitorIntersections=function(){if(this._monitoringIntersections){this._monitoringIntersections=false;clearInterval(this._monitoringInterval);this._monitoringInterval=null;s(window,"resize",this._checkForIntersections,true);s(t,"scroll",this._checkForIntersections,true);if(this._domObserver){this._domObserver.disconnect();this._domObserver=null}}};n.prototype._checkForIntersections=function(){var t=this._rootIsInDom();var n=t?this._getRootRect():a();this._observationTargets.forEach((function(i){var o=i.element;var s=c(o);var h=this._rootContainsTarget(o);var a=i.entry;var u=t&&h&&this._computeTargetAndRootIntersection(o,n);var f=i.entry=new e({time:r(),target:o,boundingClientRect:s,rootBounds:n,intersectionRect:u});if(!a){this._queuedEntries.push(f)}else if(t&&h){if(this._hasCrossedThreshold(a,f)){this._queuedEntries.push(f)}}else{if(a&&a.isIntersecting){this._queuedEntries.push(f)}}}),this);if(this._queuedEntries.length){this._callback(this.takeRecords(),this)}};n.prototype._computeTargetAndRootIntersection=function(e,n){if(window.getComputedStyle(e).display=="none")return;var r=c(e);var i=r;var o=f(e);var s=false;while(!s){var a=null;var u=o.nodeType==1?window.getComputedStyle(o):{};if(u.display=="none")return;if(o==this.root||o==t){s=true;a=n}else{if(o!=t.body&&o!=t.documentElement&&u.overflow!="visible"){a=c(o)}}if(a){i=h(a,i);if(!i)break}o=f(o)}return i};n.prototype._getRootRect=function(){var e;if(this.root){e=c(this.root)}else{var n=t.documentElement;var r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)};n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return e.unit=="px"?e.value:e.value*(n%2?t.width:t.height)/100}));var n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};n.width=n.right-n.left;n.height=n.bottom-n.top;return n};n.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1;var r=e.isIntersecting?e.intersectionRatio||0:-1;if(n===r)return;for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r){return true}}};n.prototype._rootIsInDom=function(){return!this.root||u(t,this.root)};n.prototype._rootContainsTarget=function(e){return u(this.root||t,e)};n.prototype._registerInstance=function(){};n.prototype._unregisterInstance=function(){};function r(){return window.performance&&performance.now&&performance.now()}function i(t,e){var n=null;return function(){if(!n){n=setTimeout((function(){t();n=null}),e)}}}function o(t,e,n,r){if(typeof t.addEventListener=="function"){t.addEventListener(e,n,r||false)}else if(typeof t.attachEvent=="function"){t.attachEvent("on"+e,n)}}function s(t,e,n,r){if(typeof t.removeEventListener=="function"){t.removeEventListener(e,n,r||false)}else if(typeof t.detatchEvent=="function"){t.detatchEvent("on"+e,n)}}function h(t,e){var n=Math.max(t.top,e.top);var r=Math.min(t.bottom,e.bottom);var i=Math.max(t.left,e.left);var o=Math.min(t.right,e.right);var s=o-i;var h=r-n;return s>=0&&h>=0&&{top:n,bottom:r,left:i,right:o,width:s,height:h}}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}if(!e)return a();if(!(e.width&&e.height)){e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}}return e}function a(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t,e){var n=e;while(n){if(n==t)return true;n=f(n)}return false}function f(t){var e=t.parentNode;if(e&&e.nodeType==11&&e.host){return e.host}if(e&&e.assignedSlot){return e.assignedSlot.parentNode}return e}window.IntersectionObserver=n;window.IntersectionObserverEntry=e})();
@@ -1 +0,0 @@
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-cdd48677.system.js","./p-34de4101.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{display:inline-block;overflow:hidden;position:relative;width:100%;height:225px;line-height:0}.taro-video[hidden]{display:none}.taro-video-container{display:inline-block;position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;-o-object-position:inherit;object-position:inherit}.taro-video-container.taro-video-type-fullscreen{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.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{width:100%;height:100%;-o-object-position:inherit;object-position:inherit;display:block}.taro-video-cover{display:-ms-flexbox;display:flex;position:absolute;left:0;top:0;bottom:0;z-index:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;background-color:rgba(1, 1, 1, 0.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-webkit-box-align:center}.taro-video-cover-play-button{width:40px;height:40px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-cover-duration{margin-top:10px;line-height:1;font-size:16px;color:#fff}.taro-video-bar{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;position:absolute;right:0;bottom:0;z-index:1;-ms-flex-align:center;align-items:center;padding:0 10px;height:44px;background-color:rgba(0, 0, 0, 0.5);-webkit-box-align:center}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-8.5px;padding:14.5px 12.5px;width:13px;height:15px}.taro-video-control-button::after{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50% 50%;background-size:100%;content:""}.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{margin-top:15px;margin-bottom:14.5px;height:14.5px;line-height:14.5px;font-size:12px;color:#cbcbcb}.taro-video-progress-container{position:relative;-ms-flex-positive:2;flex-grow:2;-webkit-box-flex:2}.taro-video-progress{position:relative;margin:21px 12px;height:2px;background-color:rgba(255, 255, 255, 0.4)}.taro-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;background-color:rgba(255, 255, 255, 0.8);-webkit-transition:width 0.1s;transition:width 0.1s}.taro-video-ball{position:absolute;left:0;top:-21px;-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-22px;padding:14px;width:16px;height:16px}.taro-video-inner{border-radius:50%;width:100%;height:100%;background-color:#fff}.taro-video-danmu-button{margin:0 8.5px;padding:2px 10px;border:1px solid #fff;border-radius:5px;line-height:1;font-size:13px;color:#fff;white-space:nowrap}.taro-video-danmu-button.taro-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;padding:8.5px;width:17px;height:17px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.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,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==")}.taro-video-mute.taro-video-type-mute{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+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{overflow:visible;position:absolute;left:0;top:0;bottom:0;margin-top:14px;margin-bottom:44px;width:100%;line-height:14px;font-size:14px}.taro-video-danmu-item{position:absolute;left:100%;line-height:1;color:#fff;white-space:nowrap;-webkit-transform:translateX(0);transform:translateX(0);-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}.taro-video-toast{display:block;visibility:hidden;position:absolute;left:50%;top:50%;border-radius:5px;background-color:rgba(255, 255, 255, 0.8);pointer-events:none;color:#000;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-video-toast.taro-video-toast-volume{display:block;width:100px;height:100px}.taro-video-toast-volume .taro-video-toast-title{display:block;margin-top:10px;width:100%;line-height:16px;text-align:center;font-size:12px}.taro-video-toast-volume .taro-video-toast-icon{display:block;margin-left:25%;width:50%;height:50%;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-position:50% 50%;background-size:50%;fill:#000}.taro-video-toast-volume .taro-video-toast-value{margin-left:10px;margin-top:5px;width:80px;height:5px}.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;width:7.1px;height:5px;background-color:#000}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{padding:6px;background-color:rgba(0, 0, 0, 0.8);line-height:18px;font-size:14px;color:#fff}';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("./p-ee4da4db.system.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 +0,0 @@
1
- System.register(["./p-cdd48677.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(o){t=o.p;r=o.b;e("setNonce",o.s)}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r(JSON.parse('[["p-9feeee0f.system",[[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]]],["p-27c756c5.system",[[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}],[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]]],["p-b3780eab.system",[[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]],[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["p-c3c69a95.system",[[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]]],["p-a5adbf15.system",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"],"deep":[4]}]]],["p-bbbe728b.system",[[0,"taro-ad-core"]]],["p-028ad016.system",[[0,"taro-ad-custom-core"]]],["p-8d797863.system",[[0,"taro-animation-video-core"]]],["p-72d7fae0.system",[[0,"taro-animation-view-core"]]],["p-32b41faa.system",[[0,"taro-ar-camera-core"]]],["p-c2259653.system",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["p-443fe754.system",[[0,"taro-aweme-data-core"]]],["p-039e15a4.system",[[0,"taro-block-core"]]],["p-4d609ebb.system",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-3aaf0fb7.system",[[0,"taro-camera-core"]]],["p-680ba5a1.system",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["p-1d3ed211.system",[[0,"taro-channel-live-core"]]],["p-3708575b.system",[[0,"taro-channel-video-core"]]],["p-25fffbbe.system",[[0,"taro-comment-detail-core"]]],["p-c968ea43.system",[[0,"taro-comment-list-core"]]],["p-03538d40.system",[[0,"taro-contact-button-core"]]],["p-4ff6ad99.system",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["p-9f5ebe09.system",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-6d7165eb.system",[[0,"taro-custom-wrapper-core"]]],["p-635fe530.system",[[0,"taro-editor-core"]]],["p-e769cea4.system",[[0,"taro-follow-swan-core"]]],["p-b4e3f72e.system",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-d8f78d99.system",[[0,"taro-functional-page-navigator-core"]]],["p-e7232d54.system",[[0,"taro-grid-view-core"]]],["p-b9c2a210.system",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["p-7b39971e.system",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]]],["p-346162b4.system",[[0,"taro-inline-payment-panel-core"]]],["p-a4ea7a51.system",[[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]]],["p-3d7626a9.system",[[0,"taro-keyboard-accessory-core"]]],["p-9c566d7d.system",[[4,"taro-label-core",{"for":[1]}]]],["p-1eb875d0.system",[[0,"taro-lifestyle-core"]]],["p-dea67974.system",[[0,"taro-like-core"]]],["p-67dcb636.system",[[0,"taro-list-view-core"]]],["p-abd51173.system",[[0,"taro-live-player-core"]]],["p-fdccd9b3.system",[[0,"taro-live-pusher-core"]]],["p-178cb282.system",[[0,"taro-login-core"]]],["p-475f9ed3.system",[[0,"taro-lottie-core"]]],["p-d81577b8.system",[[0,"taro-map-core"]]],["p-cd34c92e.system",[[0,"taro-match-media-core"]]],["p-6d1e33e1.system",[[0,"taro-native-slot-core"]]],["p-810b9a86.system",[[0,"taro-navigation-bar-core"]]],["p-401743f9.system",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["p-feddde29.system",[[0,"taro-official-account-core"]]],["p-46a9adcf.system",[[0,"taro-open-data-core"]]],["p-747bdbaa.system",[[0,"taro-page-container-core"]]],["p-1411cd2e.system",[[0,"taro-page-meta-core"]]],["p-3cd71da3.system",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["p-3ad92100.system",[[4,"taro-pull-to-refresh-core",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["p-619b9fe5.system",[[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["p-f094089c.system",[[0,"taro-root-portal-core"]]],["p-18ea7e10.system",[[0,"taro-rtc-room-core"]]],["p-3967311b.system",[[0,"taro-rtc-room-item-core"]]],["p-2e2487bf.system",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["p-edb9e04e.system",[[0,"taro-share-element-core"]]],["p-728b6f8f.system",[[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["p-d86ce035.system",[[0,"taro-slot-core"]]],["p-7ad33036.system",[[0,"taro-snapshot-core"]]],["p-e487b8b4.system",[[0,"taro-sticky-header-core"]]],["p-58d410c6.system",[[0,"taro-sticky-section-core"]]],["p-9c91aee3.system",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["p-6e1f0e6d.system",[[0,"taro-tab-item-core"]]],["p-f75d094e.system",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["p-7dee8f07.system",[[0,"taro-tabs-core"]]],["p-d42968e9.system",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["p-277892fe.system",[[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]]],["p-4aeb3859.system",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-0b6e9013.system",[[0,"taro-voip-room-core"]]],["p-aa1ea71b.system",[[0,"taro-web-view-core",{"src":[1]}]]],["p-817b319c.system",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}],[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-00113225.system",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]]'),e)}))}}}));
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){s("Like",this)}render(){return o(t,null)}};export{e as taro_like_core}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-7e90dfef.js";const h=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.switchChange=t=>{t.stopPropagation();const i=t.target.checked;this.isChecked=i,this.onChange.emit({value:i})},this.type="switch",this.checked=!1,this.color="#04BE02",this.name=void 0,this.disabled=!1,this.nativeProps={},this.isChecked=void 0,this.isWillLoadCalled=!1}function(t,i){this.isWillLoadCalled&&t!==i&&(this.isChecked=t)}componentWillLoad(){this.isWillLoadCalled=!0,this.isChecked=this.checked}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.isChecked,configurable:!0})}render(){const{type:t,color:i,isChecked:e,name:h,disabled:o,nativeProps:c}=this;return s("input",Object.assign({type:"checkbox",class:`weui-${t}`,style:e?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{},checked:e,name:h,disabled:o,onChange:this.switchChange},c))}get el(){return e(this)}static get watchers(){return{checked:["function"]}}};h.style="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";export{h as taro_switch_core}
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(t){o(this,t)}componentDidLoad(){s("Lottie",this)}render(){return t(r,null)}};export{e as taro_lottie_core}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as t}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const n=class{constructor(r){o(this,r)}componentDidLoad(){s("Login",this)}render(){return r(t,null)}};export{n as taro_login_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-7e90dfef.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("NavigationBar",this)}render(){return o(t,null)}};export{s as taro_navigation_bar_core}
@@ -1,7 +0,0 @@
1
- var r,n,e=(r=function(r){
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */
7
- !function(){var n={}.hasOwnProperty;function e(){for(var r=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var t=typeof o;if("string"===t||"number"===t)r.push(o);else if(Array.isArray(o)){if(o.length){var u=e.apply(null,o);u&&r.push(u)}}else if("object"===t){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var f in o)n.call(o,f)&&o[f]&&r.push(f)}}}return r.join(" ")}r.exports?(e.default=e,r.exports=e):window.classNames=e}()},r(n={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}}),n.exports);export{e as c}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Map",this)}render(){return o(t,null)}};export{a as taro_map_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as s}from"./p-7e90dfef.js";const t=class{constructor(o){r(this,o)}render(){return o(s,null)}};export{t as taro_block_core}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as r}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const n=class{constructor(o){t(this,o)}componentDidLoad(){s("ContactButton",this)}render(){return o(r,null)}};export{n as taro_contact_button_core}
@@ -1 +0,0 @@
1
- import{r,h as t}from"./p-7e90dfef.js";const o=class{constructor(t){r(this,t),this.for=void 0}render(){return t("label",{htmlFor:this.for},t("slot",null))}};export{o as taro_label_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-7e90dfef.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){a("AwemeData",this)}render(){return o(t,null)}};export{e as taro_aweme_data_core}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as r}from"./p-7e90dfef.js";import h from"@tarojs/taro";import{c as a}from"./p-19f218e6.js";const o="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),n={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1},d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector(".rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),o&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)},this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=n,this.currSt="deactivate",this.dragOnEdge=!1}get scrollContainer(){return this.el.parentElement||this.el.closest(".taro_page_stationed")||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){var t,i,s,e;const r=this.scrollContainer;switch(this.currSt){case"release":null===(i=null===(t=null==r?void 0:r.__page)||void 0===t?void 0:t.onPullDownRefresh)||void 0===i||i.call(t);break;case"deactivate":null===(e=null===(s=null==r?void 0:r.__page)||void 0===s?void 0:s.onPullIntercept)||void 0===e||e.call(s)}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,h.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),h.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{setTimeout((()=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}),0)}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:r}=this,h=a(t,!e&&`${r}-transition`);return s("div",{class:`${r}-content-wrapper`},s("div",{class:h,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${r}-indicator`},s("div",null),s("div",null),s("div",null)),s("slot",null)))};return this.scrollContainer?t(`${this.prefixCls}-content ${this.prefixCls}-down`):s(e,{class:a(this.prefixCls,`${this.prefixCls}-down`)},t(`${this.prefixCls}-content`))}get el(){return r(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{min-height:100%}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as taro_pull_to_refresh_core}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(o.next(e))}catch(e){a(e)}}function u(e){try{l(o["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(r,u)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,r;return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(e){return function(t){return l([e,t])}}function l(u){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,u[0]&&(n=0)),n)try{if(o=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{o=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-cdd48677.system.js"],(function(e){"use strict";var t,n,o,i;return{setters:[function(e){t=e.r;n=e.c;o=e.h;i=e.g}],execute:function(){var a="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{display:block;position:relative;border:0;width:100%;height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;line-height:1.5}.taro-textarea:focus{outline:none}";function r(e){return e!==null&&e!==void 0?e:""}var u=e("taro_textarea_core",function(){function e(e){var o=this;t(this,e);this.onInput=n(this,"input",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onLineChange=n(this,"linechange",7);this.onKeyDown=n(this,"keydown",7);this.handleInput=function(e){e.stopPropagation();o.handleLineChange();var t=e.target.value||"";o.onInput.emit({value:t,cursor:t.length})};this.handleFocus=function(e){e.stopPropagation();o.onFocus.emit({value:e.target.value})};this.handleBlur=function(e){e.stopPropagation();o.onBlur.emit({value:e.target.value})};this.handleChange=function(e){e.stopPropagation();o.onChange.emit({value:e.target.value})};this.handleLineChange=function(){var e=o.getNumberOfLines();if(e!==o.line){o.line=e;o.onLineChange.emit({height:o.textareaRef.clientHeight,lineCount:o.line})}};this.handleKeyDown=function(e){e.stopPropagation();var t=e.target.value;var n=e.keyCode||e.code;o.onKeyDown.emit({value:t,cursor:t.length,keyCode:n});n===13&&o.onConfirm.emit({value:t})};this.calculateContentHeight=function(e,t){var n=e.style.height,o=e.offsetHeight,i=e.scrollHeight,a=e.style.overflow,r=e.style.minHeight||null;if(o>=i){e.style.minHeight=0;e.style.height=o+t+"px";e.style.overflow="hidden";if(i<e.scrollHeight){while(e.offsetHeight>=e.scrollHeight){e.style.height=(o-=t)+"px"}while(e.offsetHeight<e.scrollHeight){e.style.height=o+++"px"}e.style.height=n;e.style.overflow=a;e.style.minHeight=r;return o}}else{return i}};this.getNumberOfLines=function(){var e=o.textareaRef,t=window.getComputedStyle?window.getComputedStyle(e):e.style,n=parseInt(t.lineHeight,10),i=o.calculateContentHeight(e,n),a=Math.floor(i/n);return a};this.value="";this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.autoHeight=false;this.name=undefined;this.nativeProps={};this.line=1}e.prototype.watchAutoFocus=function(e,t){var n;if(!t&&e){(n=this.textareaRef)===null||n===void 0?void 0:n.focus()}};e.prototype.focus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.textareaRef.focus();return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,n=t.value,i=t.placeholder,a=t.disabled,u=t.maxlength,l=t.autoFocus,s=t.autoHeight,h=t.name,c=t.nativeProps,f=t.handleInput,g=t.handleFocus,p=t.handleBlur,d=t.handleChange;var v={};if(s){v.rows=this.line}return o("textarea",Object.assign({ref:function(t){if(t){e.textareaRef=t;if(l&&t)t.focus()}},class:"taro-textarea ".concat(s?"auto-height":""),value:r(n),placeholder:i,name:h,disabled:a,maxlength:u,autofocus:l,onInput:f,onFocus:g,onBlur:p,onChange:d,onKeyDown:this.handleKeyDown},c,v))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"]}},enumerable:false,configurable:true});return e}());u.style=a}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(a=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-cdd48677.system.js"],(function(e){"use strict";var t,n,a,i,r;return{setters:[function(e){t=e.r;n=e.h;a=e.g;i=e.H;r=e.c}],execute:function(){var o="taro-movable-area-core{display:block;position:relative;width:10px;height:10px}";var s=e("taro_movable_area_core",function(){function e(e){var n=this;t(this,e);this.views=[];this.scaleLength=0;this.viewsChanged=function(){n.views=[];var e=n.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((function(e){n.views.push(e)}));n.updateArea()};this.handleTouchStart=function(e){var t=e.touches;if(!t||t.length<=1){return}var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};n.scaleLength=Math.sqrt(a.width*a.width+a.height*a.height);if(n.scaleArea){return}var i=function(e,t){var n=function(e,t){if(!(e=e.parentNode)){return false}return(!(e instanceof HTMLElement)||e!==document.body)&&(e===t||e===t.element||e.element===t||n(e,t))};for(var a=0;a<t.length;a++){var i=t[a];if(e===i["element"]||n(e,i)){return i}}};var r=i(t[0].target,n.views);var o=i(t[1].target,n.views);n.scaleTarget=r&&r===o?r:undefined};this.handleTouchMove=function(e){var t=e.touches;if(!t||t.length<=1){return}e.preventDefault();var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};if(n.scaleLength>0){n.updateScale(Math.sqrt(a.width*a.width+a.height*a.height)/n.scaleLength)}};this.handleTouchEnd=function(e){var t,a;if(e.touches&&e.touches.length||!e.changedTouches){return}n.scaleLength=0;if(n.scaleArea){n.views.forEach((function(e){var t;(t=e["endScale"])===null||t===void 0?void 0:t.call(e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["endScale"])===null||a===void 0?void 0:a.call(t)}n.scaleTarget=undefined};this.updateScale=function(e){var t,a;if(!e||e===1){return}if(n.scaleArea){n.views.forEach((function(t){var n;(n=t["setScale"])===null||n===void 0?void 0:n.call(t,e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["setScale"])===null||a===void 0?void 0:a.call(t,e)}};this.updateArea=function(){var e=window.getComputedStyle(n.element);var t=n.element.getBoundingClientRect();var a=["Left","Right"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));var i=["Top","Bottom"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));n.views.forEach((function(e){var r;(r=e["setParent"])===null||r===void 0?void 0:r.call(e,{element:n.element,area:{height:t.height-i[0]-i[1],width:t.width-a[0]-a[1]}})}))};this.scaleArea=undefined}e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n,a;if(t.attributeName==="class"||t.attributeName==="style"){var i=e.element.offsetWidth;var r=e.element.offsetHeight;if(i!==((n=e.offset)===null||n===void 0?void 0:n.width)||r!==((a=e.offset)===null||a===void 0?void 0:a.height)){e.updateArea()}e.offset={width:i,height:r}}}))}));this.observer.observe(this.element,{attributes:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.viewsChanged()};e.prototype.render=function(){return n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=o;var c="taro-movable-view-core{display:inline-block;position:absolute;left:0;top:0;width:10px;height:10px}";var l=e("taro_movable_view_core",function(){function e(e){var n=this;t(this,e);this.onChange=r(this,"change",7);this.onScale=r(this,"scale",7);this.onHTouchMove=r(this,"htouchmove",7);this.onVTouchMove=r(this,"vtouchmove",7);this.translateX=0;this.translateY=0;this.origin={x:0,y:0};this.area={width:0,height:0};this.originScale=1;this.currentScale=1;this.width=0;this.height=0;this.minX=0;this.minY=0;this.maxX=0;this.maxY=0;this.baseX=0;this.baseY=0;this.offset={x:0,y:0};this.scaleOffset={x:0,y:0};this.getLimitXY=function(e,t){var a=false;e>n.maxX?(e=n.maxX,a=true):e<n.minX&&(e=n.minX,a=true);t>n.maxY?(t=n.maxY,a=true):t<n.minY&&(t=n.minY,a=true);return{x:e,y:t,outOfBounds:a}};this.animationTo=function(e,t,a,i,r,o,s){if(n.animation){n.setTransform(e,t,a,i,r,o);s===null||s===void 0?void 0:s()}else{n.setTransform(e,t,a,i,r,o)}};this.setTransform=function(e,t,a,i,r,o){e=Number(e.toFixed(1));t=Number(t.toFixed(1));a=Number((a!==null&&a!==void 0?a:n.currentScale).toFixed(3));if(!n.outOfBounds){var s=n.getLimitXY(e,t);e=s.x;t=s.y}var c=function(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)};var l=c(e,n.scaleOffset.x);var u=c(t,n.scaleOffset.y);if(n.translateX!==e||n.translateY!==t){!r&&n.onChange.emit({x:l,y:u,source:i})}if(a!==n.currentScale){o&&n.onScale.emit({scale:a,x:l,y:u})}var h="translateX(".concat(e,"px) translateY(").concat(t,"px) translateZ(0px) scale(").concat(a,")");n.element.style.transform=h;n.element.style.webkitTransform=h;n.translateX=e;n.translateY=t;n.currentScale=a};this.updateOffset=function(){var e=function(t,n){if(t===n||!t.offsetParent){return{left:0,top:0}}var a=e(t.offsetParent,n);return{left:t.offsetLeft+a.left,top:t.offsetTop+a.top}};if(!n.parent){return}var t=e(n.element,n.parent);n.offset.x=t.left;n.offset.y=t.top};this.updateScaleOffset=function(e){if(e===void 0){e=n.currentScale}var t=n.element.getBoundingClientRect();n.height=t.height/n.currentScale;n.width=t.width/n.currentScale;n.scaleOffset.x=(n.width*e-n.width)/2;n.scaleOffset.y=(n.height*e-n.height)/2};this.updateBoundary=function(){var e=0-n.offset.x+n.scaleOffset.x;var t=n.area.width-n.width-n.offset.x-n.scaleOffset.x;n.minX=Math.min(e,t);n.maxX=Math.max(e,t);var a=0-n.offset.y+n.scaleOffset.y;var i=n.area.height-n.height-n.offset.y-n.scaleOffset.y;n.minY=Math.min(a,i);n.maxY=Math.max(a,i)};this.updateScale=function(e,t,a){if(!n.scale){return}var i=n.adjustScale(e);n.updateScaleOffset(i);n.updateBoundary();var r=n.getLimitXY(n.translateX,n.translateY),o=r.x,s=r.y;if(t){n.animationTo(o,s,i,"",true,true,a)}else if(!n.updating){n.updating=true;requestAnimationFrame((function(){n.setTransform(o,s,i,"",true,true);n.updating=false}))}};this.setOriginScale=function(e){n.originScale=e};this.adjustScale=function(e){return Math.min(10,n.scaleMax,Math.max(.5,n.scaleMin,e))};this.handleTouchStart=function(e){var t=e.touches;if(n.disabled||t.length>1||!n.element){return}var a=t[0];n.touching=true;n.firstMoveFireEvent=false;n.origin.x=a.screenX;n.origin.y=a.screenY;n.baseX=n.translateX;n.baseY=n.translateY;n.element.style.willChange="transform"};this.handleTouchMove=function(e){var t=e.touches;if(n.disabled||!n.element||n.scaling||!n.touching||t.length>1){return}e.preventDefault();var a=t[0];var i=a.screenX-n.origin.x;var r=a.screenY-n.origin.y;n.setTransform(n.xMove?i+n.baseX:0,n.yMove?r+n.baseY:0);if(!n.firstMoveFireEvent){n.firstMoveFireEvent=true;var o=Math.abs(i)>Math.abs(r)?n.onHTouchMove:n.onVTouchMove;o.emit({originalEvent:e,bubbles:false,capturePhase:false,composed:true,extraFields:{touches:e.touches||{},changedTouches:e.changedTouches||{}}})}};this.handleTouchEnd=function(e){var t=e.changedTouches[0];if(n.disabled||!n.touching||!t){return}n.touching=false;var a=t.screenX-n.origin.x;var i=t.screenY-n.origin.y;n.setTransform(n.xMove?a+n.baseX:0,n.yMove?i+n.baseY:0)};this.x=0;this.y=0;this.direction="none";this.outOfBounds=false;this.inertia=false;this.friction=2;this.damping=20;this.disabled=false;this.scale=false;this.scaleMin=.5;this.scaleMax=10;this.scaleValue=1;this.animation=true}e.prototype.watchX=function(e){this.setTransform(parseFloat("".concat(e||0)),this.translateY)};e.prototype.watchY=function(e){this.setTransform(this.translateX,parseFloat("".concat(e||0)))};e.prototype.watchScaleMinOrMax=function(){if(!this.scale)return false;this.updateScale(this.currentScale,true);this.setOriginScale(this.currentScale)};e.prototype.watchScaleValue=function(e){if(!this.scale){return false}this.updateScale(e,true);this.setOriginScale(e);return e};e.prototype.setParent=function(e){var t=e.element,n=e.area;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){e=this.scale?this.scaleValue:1;this.area=n;this.parent=t;this.updateOffset();this.updateScaleOffset(e);this.updateBoundary();this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,e,"",true);this.setOriginScale(e);return[2]}))}))};e.prototype.endScale=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.scaling=false;this.setOriginScale(this.currentScale);return[2]}))}))};e.prototype.setScale=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.scale){return[2]}this.scaling=true;this.updateScale(e*this.originScale);return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n=t.attributeName;if(n&&["class","style"].includes(n)){var a=t.oldValue;var i=t.target.getAttribute(n);if(a===i){return}var r=function(e){return e===null||e===void 0?void 0:e.split(";").filter((function(e){return!["transform","will-change"].find((function(t){return e.trim().startsWith(t)}))})).join(";")};if(n==="style"&&r(i)===r(a)){return}e.updateOffset();e.updateScaleOffset();e.updateBoundary();e.setTransform(e.translateX,e.translateY)}}))}));this.observer.observe(this.element,{attributes:true,attributeOldValue:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.element.style.transformOrigin="center";this.xMove=["horizontal","all"].includes(this.direction);this.yMove=["vertical","all"].includes(this.direction);if(this.friction<=0){this.friction=2}if(this.x||this.y){var e=parseFloat("".concat(this.x||0));var t=parseFloat("".concat(this.y||0));this.setTransform(e,t)}};e.prototype.render=function(){return n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}},enumerable:false,configurable:true});return e}());l.style=c}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(t){o(this,t)}componentDidLoad(){s("CommentList",this)}render(){return t(r,null)}};export{e as taro_comment_list_core}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,r,e){function l(t){return t instanceof r?t:new r((function(o){o(t)}))}return new(r||(r=Promise))((function(r,n){function i(t){try{c(e.next(t))}catch(t){n(t)}}function s(t){try{c(e["throw"](t))}catch(t){n(t)}}function c(t){t.done?r(t.value):l(t.value).then(i,s)}c((e=e.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,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(e)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(r=0)),r)try{if(e=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:r.label++;return{value:s[1],done:false};case 5:r.label++;l=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=o.call(t,r)}catch(t){s=[6,t];l=0}finally{e=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-cdd48677.system.js","./p-34de4101.system.js","./p-bd5177d3.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var o,r,e,l,n,i,s,c;return{setters:[function(t){o=t.r;r=t.c;e=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{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";function u(t,o,r,e){if(r===void 0){r=500}if(t===o||typeof t!=="number"){return}var l=o-t;var n=Date.now();var i=o>=t;function s(t,o,r,e){return r*t/e+o}function c(){t=s(Date.now()-n,t,l,r);if(i&&t>=o||!i&&o>=t){e(o);return}e(t);requestAnimationFrame(c)}c()}var f=t("taro_scroll_view_core",function(){function t(t){var e=this;o(this,t);this.onScroll=r(this,"scroll",3);this.onScrollToUpper=r(this,"scrolltoupper",3);this.onScrollToLower=r(this,"scrolltolower",3);this._scrollLeft=0;this._scrollTop=0;this.upperAndLower=s((function(){var t=e.el,o=t.offsetWidth,r=t.offsetHeight,l=t.scrollLeft,n=t.scrollTop,i=t.scrollHeight,s=t.scrollWidth;var c=Number(e.lowerThreshold);var a=Number(e.upperThreshold);if(!isNaN(c)&&(e.scrollY&&r+n+c>=i||e.scrollX&&o+l+c>=s)){e.onScrollToLower.emit({direction:e.scrollX?"right":e.scrollY?"bottom":""})}if(!isNaN(a)&&(e.scrollY&&n<=a||e.scrollX&&l<=a)){e.onScrollToUpper.emit({direction:e.scrollX?"left":e.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 r=this.animated;this.mpScrollToMethod({left:o,animated:r})};t.prototype.watchScrollTop=function(t){var o=Number(t);var r=this.animated;this.mpScrollToMethod({top:o,animated:r})};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 r=this.el,e=r.scrollLeft,l=r.scrollTop,n=r.scrollHeight,i=r.scrollWidth;this._scrollLeft=e;this._scrollTop=l;this.upperAndLower();this.onScroll.emit({scrollLeft:e,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,r,e,l,n;var i=this;return __generator(this,(function(s){o=t.top,r=t.left,e=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,e,(function(t){return i.el.scrollTop=t}))}else{this.el.scrollTop=o}this._scrollTop=o}if(this.scrollX&&typeof r==="number"&&!isNaN(r)&&r!==this._scrollLeft){if(n){u(this._scrollLeft,r,e,(function(t){return i.el.scrollLeft=t}))}else{this.el.scrollLeft=r}this._scrollLeft=r}return[2]}))}))};t.prototype.mpScrollIntoViewMethod=function(t){return __awaiter(this,void 0,void 0,(function(){var o;return __generator(this,(function(r){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 r=this.animated;this.mpScrollToMethod({top:t,left:o,animated:r})};t.prototype.componentDidRender=function(){c(this.el)};t.prototype.render=function(){var t=this,o=t.scrollX,r=t.scrollY;var n=i({"taro-scroll-view__scroll-x":o,"taro-scroll-view__scroll-y":r});return e(l,{class:n},e("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 +0,0 @@
1
- import{h as t,r as a,c as r,H as e,g as o}from"./p-7e90dfef.js";import s from"@tarojs/taro";import{stripSuffix as i,stripBasename as h,addLeadingSlash as n,getCurrentPage as b}from"@tarojs/router/dist/utils";import{c as l}from"./p-19f218e6.js";import{i as d}from"./p-d3c7f87d.js";const c=t=>{let a,r=t||"";const e={path:null,query:null,fragment:null};return a=r.indexOf("#"),a>-1&&(e.fragment=r.substring(a+1),r=r.substring(0,a)),a=r.indexOf("?"),a>-1&&(e.query=r.substring(a+1),r=r.substring(0,a)),e.path=r,e};function _(t){return"/"===t.charAt(0)}function u(t,a){for(var r=a,e=r+1,o=t.length;e<o;r+=1,e+=1)t[r]=t[e];t.pop()}const g=({index:a,isSelected:r=!1,textColor:e,iconPath:o,badgeText:i,showRedDot:h=!1,pagePath:n,text:b,onSelect:c})=>{const _=l("weui-tabbar__item",{"weui-bar__item_on":r});return t("a",{key:a,href:"javascript:;",class:_,onClick:function(){const t=s.getCurrentPages().shift();"function"==typeof(null==t?void 0:t.onTabItemTap)&&d(this)&&t.onTabItemTap({index:a,pagePath:n,text:b}),c(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:o,alt:"",class:"weui-tabbar__icon"}),!!i&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},i),h&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:e}},b))},f="taro-tabbar__tabbar",p=class{constructor(t){a(this,t),this.onLongPress=r(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>c(a).path===c(t).path));return i(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:r},e)=>{c(t).path===c(r).path&&(a=e)})),a},this.switchTab=t=>{this.selectedIndex=t,s.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:r})=>{const e=function(t,a){void 0===a&&(a="");var r,e=t&&t.split("/")||[],o=a&&a.split("/")||[],s=t&&_(t),i=a&&_(a),h=s||i;if(t&&_(t)?o=e:e.length&&(o.pop(),o=o.concat(e)),!o.length)return"/";if(o.length){var n=o[o.length-1];r="."===n||".."===n||""===n}else r=!1;for(var b=0,l=o.length;l>=0;l--){var d=o[l];"."===d?u(o,l):".."===d?(u(o,l),b++):b&&(u(o,l),b--)}if(!h)for(;b--;b)o.unshift("..");!h||""===o[0]||o[0]&&_(o[0])||o.unshift("");var c=o.join("/");return r&&"/"!==c.substr(-1)&&(c+="/"),c}(t,this.getOriginUrl(this.getCurrentUrl()||this.homePage)),o=this.getSelectedIndex(e);o>-1?(this.switchTab(o),a({errMsg:"switchTab:ok"})):r({errMsg:`switchTab:fail page "${e}" is not found`})},this.routerChangeHandler=t=>{var a;const r=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let e;if("string"==typeof r){const t=this.conf.basename||"/";e=h(n(r||this.homePage),t)||"/"}else e=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(e))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:r,errorHandler:e})=>{const o=[...this.list];t in o?(o[t].showRedDot=!1,o[t].badgeText=a,r({errMsg:"setTabBarBadge:ok"})):e({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=o},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):r({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=e},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):r({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=e},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):r({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=e},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:r,borderStyle:e,successHandler:o})=>{r&&(this.backgroundColor=r),e&&(this.borderStyle=e),t&&(this.color=t),a&&(this.selectedColor=a),o({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:r,text:e,successHandler:o,errorHandler:s})=>{const i=[...this.list];t in i?(a&&(i[t].iconPath=a),r&&(i[t].selectedIconPath=r),e&&(i[t].text=e),o({errMsg:"setTabBarItem:ok"})):s({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=i},this.conf=void 0,this.list=void 0,this.borderStyle=void 0,this.backgroundColor=void 0,this.color=void 0,this.selectedColor=void 0,this.selectedIndex=-1,this.status=0}componentWillLoad(){var t,a;const r=(null===(t=this.conf)||void 0===t?void 0:t.list)||[],e=(null===(a=this.conf)||void 0===a?void 0:a.customRoutes)||{};if("[object Array]"!==Object.prototype.toString.call(r)||r.length<2||r.length>5)throw new Error("tabBar 配置错误");this.homePage=n(this.conf.homePage);for(let t in e){const a=e[t];t=n(t),"string"==typeof a?this.customRoutes.push([t,n(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,n(a)])))}r.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=r,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=b(this.conf.mode,this.conf.basename);return decodeURI("/"===t?this.homePage:t)}bindEvent(){s.eventCenter.on("__taroRouterChange",this.routerChangeHandler),s.eventCenter.on("__taroSwitchTab",this.switchTabHandler),s.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),s.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),s.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),s.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),s.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),s.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),s.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),s.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){s.eventCenter.off("__taroRouterChange",this.routerChangeHandler),s.eventCenter.off("__taroSwitchTab",this.switchTabHandler),s.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),s.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),s.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),s.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),s.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),s.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),s.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),s.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,r=this.status,o=l("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(e,{class:l(f,`${f}-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===r,"taro-tabbar__tabbar-slideout":2===r})},t("div",{class:o,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,r)=>{const e=this.selectedIndex===r;let o,s;return e?(o=this.selectedColor||"",s=a.selectedIconPath):(o=this.color||"",s=a.iconPath),t(g,{index:r,onSelect:this.switchTab.bind(this),isSelected:e,textColor:o,iconPath:s,pagePath:a.pagePath,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return o(this)}};p.style="html,body{height:100%}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:var(--taro-tabbar-height);-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";export{p as taro_tabbar}
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as s}from"./p-7e90dfef.js";const r=class{constructor(t){e(this,t),this.selectable=!1,this.userSelect=!1,this.space=void 0,this.numberOfLines=void 0}render(){const e={};return"number"==typeof this.numberOfLines&&(e["--line-clamp"]=this.numberOfLines),t(s,{style:e},t("slot",null))}};r.style="taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-text-core[selectable=true],taro-text-core[user-select=true]{display:inline-block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:0.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp)}";export{r as taro_text_core}
@@ -1,7 +0,0 @@
1
- System.register([],(function(r){"use strict";return{execute:function(){function t(r,t,e){return e={path:t,exports:{},require:function(r,t){return n()}},r(e,e.exports),e.exports}function n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var e=r("c",t((function(r){
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */
7
- (function(){var t={}.hasOwnProperty;function n(){var r=[];for(var e=0;e<arguments.length;e++){var i=arguments[e];if(!i)continue;var o=typeof i;if(o==="string"||o==="number"){r.push(i)}else if(Array.isArray(i)){if(i.length){var u=n.apply(null,i);if(u){r.push(u)}}}else if(o==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var s in i){if(t.call(i,s)&&i[s]){r.push(s)}}}}return r.join(" ")}if(r.exports){n.default=n;r.exports=n}else{window.classNames=n}})()})))}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as t}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("AnimationVideo",this)}render(){return r(t,null)}};export{a as taro_animation_video_core}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as s,g as i}from"./p-7e90dfef.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.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())}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"]}}};a.style="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{display:block;position:relative;border:0;width:100%;height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;line-height:1.5}.taro-textarea:focus{outline:none}";export{a as taro_textarea_core}
@@ -1 +0,0 @@
1
- System.register(["./p-cdd48677.system.js","@tarojs/taro","./p-34de4101.system.js"],(function(e){"use strict";var t,r,n,i,o,a,s;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.H;o=e.g},function(e){a=e.default},function(e){s=e.c}],execute:function(){var c=".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{min-height:100%}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";function l(e,t){e.transform=t;e.webkitTransform=t;e.MozTransform=t}var u=typeof navigator!=="undefined"&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent);var d={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};var f=false;try{var h=Object.defineProperty({},"passive",{get:function(){f=true}});window.addEventListener("cancel",(function(){return{}}),h)}catch(e){}var p=f?{passive:false}:false;var v=e("taro_pull_to_refresh_core",function(){function e(e){var n=this;t(this,e);this.onRefresh=r(this,"refresh",7);this._ScreenY=0;this._startScreenY=0;this._lastScreenY=0;this._isMounted=false;this.triggerPullDownRefresh=function(e){if(!n.dragOnEdge&&n._isMounted){if(e){n._lastScreenY=n.distanceToRefresh+1;n.currSt="release";n.setContentStyle(n._lastScreenY)}else{n.currSt="finish";n.reset()}}};this.init=function(){var e=n.scrollContainer;var t=n.el.querySelector(".rmc-pull-to-refresh-content");n.el.appendChild=t===null||t===void 0?void 0:t.appendChild.bind(t);n.el.insertBefore=t===null||t===void 0?void 0:t.insertBefore.bind(t);n.el.replaceChild=t===null||t===void 0?void 0:t.replaceChild.bind(t);n.el.removeChild=t===null||t===void 0?void 0:t.removeChild.bind(t);n._to={touchstart:n.onTouchStart.bind(n,e),touchmove:n.onTouchMove.bind(n,e),touchend:n.onTouchEnd.bind(n,e),touchcancel:n.onTouchEnd.bind(n,e)};Object.keys(n._to).forEach((function(t){e.addEventListener(t,n._to[t],p)}))};this.destroy=function(){var e=n.scrollContainer;Object.keys(n._to).forEach((function(t){e.removeEventListener(t,n._to[t])}))};this.onTouchStart=function(e,t){n._ScreenY=n._startScreenY=t.touches[0].screenY;n._lastScreenY=n._lastScreenY||0};this.isEdge=function(e){var t=n.scrollContainer;if(t&&t===document.body){var r=document.scrollingElement?document.scrollingElement:document.body;return r.scrollTop<=0}return e.scrollTop<=0};this.damp=function(e){if(Math.abs(n._lastScreenY)>n.damping){return 0}var t=Math.abs(n._ScreenY-n._startScreenY)/window.screen.height;e*=(1-t)*.6;return e};this.onTouchMove=function(e,t){var r=t.touches[0].screenY;if(n._startScreenY>r){return}if(n.isEdge(e)){if(!n.dragOnEdge){n._ScreenY=n._startScreenY=t.touches[0].screenY;n.dragOnEdge=true}if(t.cancelable){t.preventDefault()}var i=Math.round(r-n._ScreenY);n._ScreenY=r;n._lastScreenY+=n.damp(i);n.setContentStyle(n._lastScreenY);if(Math.abs(n._lastScreenY)<n.distanceToRefresh){if(n.currSt!=="deactivate"){n.currSt="deactivate"}}else{if(n.currSt==="deactivate"){n.currSt="activate"}}if(u&&t.changedTouches[0].clientY<0){n.onTouchEnd()}}};this.onTouchEnd=function(){if(n.dragOnEdge){n.dragOnEdge=false}if(n.currSt==="activate"){n.currSt="release";n.onRefresh.emit(n);n._lastScreenY=n.distanceToRefresh+1;n.setContentStyle(n._lastScreenY)}else if(n.currSt==="release"){n._lastScreenY=n.distanceToRefresh+1;n.setContentStyle(n._lastScreenY)}else{n.reset()}};this.reset=function(){n._lastScreenY=0;n.setContentStyle(0)};this.setContentStyle=function(e){if(n.contentRef){if(e){l(n.contentRef.style,"translate3d(0px,".concat(e,"px,0)"))}else{l(n.contentRef.style,"")}}};this.prefixCls="rmc-pull-to-refresh";this.distanceToRefresh=50;this.damping=100;this.indicator=d;this.currSt="deactivate";this.dragOnEdge=false}Object.defineProperty(e.prototype,"scrollContainer",{get:function(){return this.el.parentElement||this.el.closest(".taro_page_stationed")||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body},enumerable:false,configurable:true});e.prototype.statusChange=function(){var e,t,r,n;var i=this.scrollContainer;switch(this.currSt){case"release":(t=(e=i===null||i===void 0?void 0:i.__page)===null||e===void 0?void 0:e.onPullDownRefresh)===null||t===void 0?void 0:t.call(e);break;case"deactivate":(n=(r=i===null||i===void 0?void 0:i.__page)===null||r===void 0?void 0:r.onPullIntercept)===null||n===void 0?void 0:n.call(r)}};e.prototype.disconnectedCallback=function(){this.destroy()};e.prototype.componentDidLoad=function(){var e=this;this.init();this._isMounted=true;a.eventCenter.on("__taroStartPullDownRefresh",(function(t){var r=t.successHandler,n=t.errorHandler;try{e.triggerPullDownRefresh(true);r({errMsg:"startPullDownRefresh: ok"})}catch(e){n({errMsg:"startPullDownRefresh: fail"})}}));a.eventCenter.on("__taroStopPullDownRefresh",(function(t){var r=t.successHandler,n=t.errorHandler;setTimeout((function(){try{e.triggerPullDownRefresh(false);r({errMsg:"stopPullDownRefresh: ok"})}catch(e){n({errMsg:"stopPullDownRefresh: fail"})}}),0)}))};e.prototype.render=function(){var e=this;var t=function(t){var r=e,i=r.currSt,o=r.dragOnEdge,a=r.prefixCls;var c=s(t,!o&&"".concat(a,"-transition"));var l=i==="activate"||i==="release";return n("div",{class:"".concat(a,"-content-wrapper")},n("div",{class:c,ref:function(t){e.contentRef=t}},l&&n("div",{class:"".concat(a,"-indicator")},n("div",null),n("div",null),n("div",null)),n("slot",null)))};if(this.scrollContainer){return t("".concat(this.prefixCls,"-content ").concat(this.prefixCls,"-down"))}return n(i,{class:s(this.prefixCls,"".concat(this.prefixCls,"-down"))},t("".concat(this.prefixCls,"-content")))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{currSt:["statusChange"]}},enumerable:false,configurable:true});return e}());v.style=c}}}));
@@ -1 +0,0 @@
1
- System.register([],(function(){"use strict";return{execute:function(){(function(){if(typeof window!=="object"){return}if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){if(!("isIntersecting"in window.IntersectionObserverEntry.prototype)){Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}})}return}var t=window.document;function e(t){this.time=t.time;this.target=t.target;this.rootBounds=t.rootBounds;this.boundingClientRect=t.boundingClientRect;this.intersectionRect=t.intersectionRect||a();this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect;var n=e.width*e.height;var r=this.intersectionRect;var i=r.width*r.height;if(n){this.intersectionRatio=Number((i/n).toFixed(4))}else{this.intersectionRatio=this.isIntersecting?1:0}}function n(t,e){var n=e||{};if(typeof t!="function"){throw new Error("callback must be a function")}if(n.root&&n.root.nodeType!=1){throw new Error("root must be an Element")}this._checkForIntersections=i(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=t;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(n.rootMargin);this.thresholds=this._initThresholds(n.threshold);this.root=n.root||null;this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}n.prototype.THROTTLE_TIMEOUT=100;n.prototype.POLL_INTERVAL=null;n.prototype.USE_MUTATION_OBSERVER=true;n.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(e){return}if(!(t&&t.nodeType==1)){throw new Error("target must be an Element")}this._registerInstance();this._observationTargets.push({element:t,entry:null});this._monitorIntersections();this._checkForIntersections()};n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t}));if(!this._observationTargets.length){this._unmonitorIntersections();this._unregisterInstance()}};n.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorIntersections();this._unregisterInstance()};n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();this._queuedEntries=[];return t};n.prototype._initThresholds=function(t){var e=t||[0];if(!Array.isArray(e))e=[e];return e.sort().filter((function(t,e,n){if(typeof t!="number"||isNaN(t)||t<0||t>1){throw new Error("threshold must be a number between 0 and 1 inclusively")}return t!==n[e-1]}))};n.prototype._parseRootMargin=function(t){var e=t||"0px";var n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e){throw new Error("rootMargin must be specified in pixels or percent")}return{value:parseFloat(e[1]),unit:e[2]}}));n[1]=n[1]||n[0];n[2]=n[2]||n[0];n[3]=n[3]||n[1];return n};n.prototype._monitorIntersections=function(){if(!this._monitoringIntersections){this._monitoringIntersections=true;if(this.POLL_INTERVAL){this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL)}else{o(window,"resize",this._checkForIntersections,true);o(t,"scroll",this._checkForIntersections,true);if(this.USE_MUTATION_OBSERVER&&"MutationObserver"in window){this._domObserver=new MutationObserver(this._checkForIntersections);this._domObserver.observe(t,{attributes:true,childList:true,characterData:true,subtree:true})}}}};n.prototype._unmonitorIntersections=function(){if(this._monitoringIntersections){this._monitoringIntersections=false;clearInterval(this._monitoringInterval);this._monitoringInterval=null;s(window,"resize",this._checkForIntersections,true);s(t,"scroll",this._checkForIntersections,true);if(this._domObserver){this._domObserver.disconnect();this._domObserver=null}}};n.prototype._checkForIntersections=function(){var t=this._rootIsInDom();var n=t?this._getRootRect():a();this._observationTargets.forEach((function(i){var o=i.element;var s=c(o);var h=this._rootContainsTarget(o);var a=i.entry;var u=t&&h&&this._computeTargetAndRootIntersection(o,n);var f=i.entry=new e({time:r(),target:o,boundingClientRect:s,rootBounds:n,intersectionRect:u});if(!a){this._queuedEntries.push(f)}else if(t&&h){if(this._hasCrossedThreshold(a,f)){this._queuedEntries.push(f)}}else{if(a&&a.isIntersecting){this._queuedEntries.push(f)}}}),this);if(this._queuedEntries.length){this._callback(this.takeRecords(),this)}};n.prototype._computeTargetAndRootIntersection=function(e,n){if(window.getComputedStyle(e).display=="none")return;var r=c(e);var i=r;var o=f(e);var s=false;while(!s){var a=null;var u=o.nodeType==1?window.getComputedStyle(o):{};if(u.display=="none")return;if(o==this.root||o==t){s=true;a=n}else{if(o!=t.body&&o!=t.documentElement&&u.overflow!="visible"){a=c(o)}}if(a){i=h(a,i);if(!i)break}o=f(o)}return i};n.prototype._getRootRect=function(){var e;if(this.root){e=c(this.root)}else{var n=t.documentElement;var r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)};n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return e.unit=="px"?e.value:e.value*(n%2?t.width:t.height)/100}));var n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};n.width=n.right-n.left;n.height=n.bottom-n.top;return n};n.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1;var r=e.isIntersecting?e.intersectionRatio||0:-1;if(n===r)return;for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r){return true}}};n.prototype._rootIsInDom=function(){return!this.root||u(t,this.root)};n.prototype._rootContainsTarget=function(e){return u(this.root||t,e)};n.prototype._registerInstance=function(){};n.prototype._unregisterInstance=function(){};function r(){return window.performance&&performance.now&&performance.now()}function i(t,e){var n=null;return function(){if(!n){n=setTimeout((function(){t();n=null}),e)}}}function o(t,e,n,r){if(typeof t.addEventListener=="function"){t.addEventListener(e,n,r||false)}else if(typeof t.attachEvent=="function"){t.attachEvent("on"+e,n)}}function s(t,e,n,r){if(typeof t.removeEventListener=="function"){t.removeEventListener(e,n,r||false)}else if(typeof t.detatchEvent=="function"){t.detatchEvent("on"+e,n)}}function h(t,e){var n=Math.max(t.top,e.top);var r=Math.min(t.bottom,e.bottom);var i=Math.max(t.left,e.left);var o=Math.min(t.right,e.right);var s=o-i;var h=r-n;return s>=0&&h>=0&&{top:n,bottom:r,left:i,right:o,width:s,height:h}}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}if(!e)return a();if(!(e.width&&e.height)){e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}}return e}function a(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t,e){var n=e;while(n){if(n==t)return true;n=f(n)}return false}function f(t){var e=t.parentNode;if(e&&e.nodeType==11&&e.host){return e.host}if(e&&e.assignedSlot){return e.assignedSlot.parentNode}return e}window.IntersectionObserver=n;window.IntersectionObserverEntry=e})()}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cdd48677.system.js"],(function(r){"use strict";var t,s,e;return{setters:[function(r){t=r.r;s=r.h;e=r.H}],execute:function(){var o=r("taro_progress_core",function(){function r(r){t(this,r);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}r.prototype.render=function(){var r=this,t=r.percent,o=r.showInfo,i=r.borderRadius,n=r.fontSize,a=r.strokeWidth,c=r.activeColor,u=r.backgroundColor,d=r.active;var h=t>100?100:t<0?0:t;var l={height:a+"px",backgroundColor:u};var p=d?"width 1s ease-in-out":"none";var v={width:"".concat(h,"%"),transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:i?"".concat(i,"px"):"0px"};return s(e,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:l},s("div",{class:"weui-progress__inner-bar",style:v})),o&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,h,"%")))};return r}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cdd48677.system.js","@tarojs/taro","./p-34de4101.system.js"],(function(e){"use strict";var t,i,r,s,a,n;return{setters:[function(e){t=e.r;i=e.c;r=e.h;s=e.H},function(e){a=e.default},function(e){n=e.c}],execute:function(){var o=".navigator-hover{background:#efefef}";var c=e("taro_navigator_core",function(){function e(e){t(this,e);this.onSuccess=i(this,"cuccess",7);this.onFail=i(this,"fail",7);this.onComplete=i(this,"complete",7);this.hoverClass=undefined;this.url=undefined;this.openType="navigate";this.isHover=false;this.delta=0}e.prototype.onClick=function(){var e=this,t=e.openType,i=e.onSuccess,r=e.onFail,s=e.onComplete;var n=Promise.resolve();switch(t){case"navigate":n=a.navigateTo({url:this.url});break;case"redirect":n=a.redirectTo({url:this.url});break;case"switchTab":n=a.switchTab({url:this.url});break;case"reLaunch":n=a.reLaunch({url:this.url});break;case"navigateBack":n=a.navigateBack({delta:this.delta});break;case"exit":n=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'));break}if(n){n.then((function(e){i.emit(e)})).catch((function(e){r.emit(e)})).finally((function(){s.emit()}))}};e.prototype.render=function(){var e;var t=this,i=t.isHover,a=t.hoverClass;return r(s,{class:n((e={},e[a]=i,e))})};return e}());c.style=o}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cdd48677.system.js","./p-34de4101.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,i,o,s,n,r,a;return{setters:[function(t){e=t.r;i=t.c;o=t.h;s=t.H;n=t.g},function(t){r=t.c},function(t){a=t.h},function(){}],execute:function(){var h="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var u=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=i(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 e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){a(this.el)};t.prototype.render=function(){var t;var e=r((t={},t["".concat(this.hoverClass)]=this.hover,t));var i={};if(!!this.animation){i["animation"]=this.animation;i["data-animation"]=this.animation}return o(s,Object.assign({class:e},i),o("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());u.style=h}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cdd48677.system.js","./p-34de4101.system.js"],(function(o){"use strict";var t,r,e,a,i,n;return{setters:[function(o){t=o.r;r=o.c;e=o.h;a=o.H;i=o.g},function(o){n=o.c}],execute:function(){var c='taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:" ";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}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:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.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]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain][type=warn]{border:1px solid #e64340;color:#e64340}taro-button-core[plain][type=warn]:not([disabled]):active{border-color:rgba(230, 67, 64, 0.6);background-color:transparent;color:rgba(230, 67, 64, 0.6)}taro-button-core[plain][type=warn]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}';var d=o("taro_button_core",function(){function o(o){t(this,o);this.onSubmit=r(this,"tarobuttonsubmit",7);this.onReset=r(this,"tarobuttonreset",7);this.disabled=undefined;this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.size=undefined;this.plain=undefined;this.loading=false;this.formType=null;this.hover=false;this.touch=false}o.prototype.onClick=function(o){if(this.disabled){o.stopPropagation()}};o.prototype.onTouchStart=function(){var o=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(o.touch){o.hover=true}}),this.hoverStartTime)}};o.prototype.onTouchEnd=function(){var o=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!o.touch){o.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};o.prototype.render=function(){var o;var t=this,r=t.disabled,i=t.hoverClass,c=t.type,d=t.size,b=t.plain,l=t.loading,s=t.hover;var u=n((o={},o["".concat(i)]=s&&!r,o));return e(a,{class:u,type:c,plain:b,loading:l,size:d,disabled:r},l&&e("i",{class:"weui-loading"}),e("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return o}());d.style=c}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as t}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("OfficialAccount",this)}render(){return r(t,null)}};export{a as taro_official_account_core}
@@ -1 +0,0 @@
1
- import{r as o,c as t,h as r,H as a,g as e}from"./p-7e90dfef.js";import{c as i}from"./p-19f218e6.js";const n=class{constructor(r){o(this,r),this.onSubmit=t(this,"tarobuttonsubmit",7),this.onReset=t(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(o){this.disabled&&o.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:o,hoverClass:t,type:e,size:n,plain:b,loading:c,hover:d}=this,l=i({[`${t}`]:d&&!o});return r(a,{class:l,type:e,plain:b,loading:c,size:n,disabled:o},c&&r("i",{class:"weui-loading"}),r("slot",null))}get el(){return e(this)}};n.style='taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:" ";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}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:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.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]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain][type=warn]{border:1px solid #e64340;color:#e64340}taro-button-core[plain][type=warn]:not([disabled]):active{border-color:rgba(230, 67, 64, 0.6);background-color:transparent;color:rgba(230, 67, 64, 0.6)}taro-button-core[plain][type=warn]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}';export{n as taro_button_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-7e90dfef.js";import{n as e}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){e("LivePlayer",this)}render(){return o(t,null)}};export{s as taro_live_player_core}