lookbook 2.3.0 → 2.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -11
  3. data/app/components/lookbook/base_component.rb +1 -0
  4. data/app/components/lookbook/button/component.html.erb +1 -1
  5. data/app/components/lookbook/button/component.js +10 -3
  6. data/app/components/lookbook/display_options/editor/component.html.erb +1 -1
  7. data/app/components/lookbook/filter/component.html.erb +2 -2
  8. data/app/components/lookbook/header/component.html.erb +1 -1
  9. data/app/components/lookbook/icon/component.html.erb +4 -2
  10. data/app/components/lookbook/icon/component.rb +0 -16
  11. data/app/components/lookbook/nav/entity/component.html.erb +3 -0
  12. data/app/components/lookbook/nav/item/component.js +8 -10
  13. data/app/components/lookbook/params/editor/component.rb +1 -1
  14. data/app/components/lookbook/params/field/component.rb +1 -1
  15. data/app/components/lookbook/tab_panels/component.rb +1 -1
  16. data/app/controllers/lookbook/previews_controller.rb +11 -7
  17. data/app/helpers/lookbook/application_helper.rb +10 -0
  18. data/app/views/layouts/lookbook/application.html.erb +98 -87
  19. data/app/views/layouts/lookbook/embed.html.erb +29 -17
  20. data/app/views/layouts/lookbook/skeleton.html.erb +2 -0
  21. data/app/views/lookbook/inspector/panels/_notes.html.erb +1 -1
  22. data/app/views/lookbook/previews/preview.html.erb +5 -1
  23. data/assets/js/app.js +7 -4
  24. data/assets/js/helpers/request.js +2 -2
  25. data/config/app.yml +3 -1
  26. data/lib/lookbook/engine.rb +72 -22
  27. data/lib/lookbook/preview_controller_actions.rb +7 -2
  28. data/lib/lookbook/preview_parser.rb +2 -4
  29. data/lib/lookbook/reloaders.rb +6 -2
  30. data/lib/lookbook/stores/config_store.rb +4 -0
  31. data/lib/lookbook/support/errors/config_error.rb +1 -1
  32. data/lib/lookbook/support/errors/parser_error.rb +1 -1
  33. data/lib/lookbook/support/errors/preview_template_error.rb +1 -1
  34. data/lib/lookbook/support/errors/template_error.rb +1 -1
  35. data/lib/lookbook/support/store.rb +1 -1
  36. data/lib/lookbook/support/utils/utils.rb +1 -1
  37. data/lib/lookbook/tags/param_tag.rb +4 -1
  38. data/lib/lookbook/tags/yard_tag.rb +1 -1
  39. data/lib/lookbook/version.rb +1 -1
  40. data/public/lookbook-assets/css/lookbook.css +70 -42
  41. data/public/lookbook-assets/css/lookbook.css.map +1 -1
  42. data/public/lookbook-assets/css/themes/blue.css +0 -1
  43. data/public/lookbook-assets/css/themes/green.css +0 -1
  44. data/public/lookbook-assets/css/themes/indigo.css +0 -1
  45. data/public/lookbook-assets/css/themes/rose.css +0 -1
  46. data/public/lookbook-assets/css/themes/zinc.css +0 -1
  47. data/public/lookbook-assets/img/lucide-sprite.svg +1 -1
  48. data/public/lookbook-assets/js/iframe.js +193 -193
  49. data/public/lookbook-assets/js/index.js +823 -813
  50. data/public/lookbook-assets/js/index.js.map +1 -1
  51. data/public/lookbook-assets/js/lookbook-core.js +0 -37
  52. data/public/lookbook-assets/js/lookbook.js +252 -289
  53. metadata +5 -386
  54. data/assets/icons/activity-square.svg +0 -1
  55. data/assets/icons/ampersand.svg +0 -1
  56. data/assets/icons/ampersands.svg +0 -1
  57. data/assets/icons/antenna.svg +0 -1
  58. data/assets/icons/app-window.svg +0 -1
  59. data/assets/icons/archive-x.svg +0 -1
  60. data/assets/icons/area-chart.svg +0 -1
  61. data/assets/icons/arrow-big-down-dash.svg +0 -1
  62. data/assets/icons/arrow-big-left-dash.svg +0 -1
  63. data/assets/icons/arrow-big-right-dash.svg +0 -1
  64. data/assets/icons/arrow-big-up-dash.svg +0 -1
  65. data/assets/icons/arrow-down-0-1.svg +0 -1
  66. data/assets/icons/arrow-down-1-0.svg +0 -1
  67. data/assets/icons/arrow-down-a-z.svg +0 -1
  68. data/assets/icons/arrow-down-from-line.svg +0 -1
  69. data/assets/icons/arrow-down-left-from-circle.svg +0 -1
  70. data/assets/icons/arrow-down-left-square.svg +0 -1
  71. data/assets/icons/arrow-down-narrow-wide.svg +0 -1
  72. data/assets/icons/arrow-down-right-from-circle.svg +0 -1
  73. data/assets/icons/arrow-down-right-square.svg +0 -1
  74. data/assets/icons/arrow-down-square.svg +0 -1
  75. data/assets/icons/arrow-down-to-dot.svg +0 -1
  76. data/assets/icons/arrow-down-to-line.svg +0 -1
  77. data/assets/icons/arrow-down-up.svg +0 -1
  78. data/assets/icons/arrow-down-wide-narrow.svg +0 -1
  79. data/assets/icons/arrow-down-z-a.svg +0 -1
  80. data/assets/icons/arrow-left-from-line.svg +0 -1
  81. data/assets/icons/arrow-left-square.svg +0 -1
  82. data/assets/icons/arrow-left-to-line.svg +0 -1
  83. data/assets/icons/arrow-right-from-line.svg +0 -1
  84. data/assets/icons/arrow-right-left.svg +0 -1
  85. data/assets/icons/arrow-right-square.svg +0 -1
  86. data/assets/icons/arrow-right-to-line.svg +0 -1
  87. data/assets/icons/arrow-up-0-1.svg +0 -1
  88. data/assets/icons/arrow-up-1-0.svg +0 -1
  89. data/assets/icons/arrow-up-a-z.svg +0 -1
  90. data/assets/icons/arrow-up-from-dot.svg +0 -1
  91. data/assets/icons/arrow-up-from-line.svg +0 -1
  92. data/assets/icons/arrow-up-left-from-circle.svg +0 -1
  93. data/assets/icons/arrow-up-left-square.svg +0 -1
  94. data/assets/icons/arrow-up-narrow-wide.svg +0 -1
  95. data/assets/icons/arrow-up-right-from-circle.svg +0 -1
  96. data/assets/icons/arrow-up-right-square.svg +0 -1
  97. data/assets/icons/arrow-up-square.svg +0 -1
  98. data/assets/icons/arrow-up-to-line.svg +0 -1
  99. data/assets/icons/arrow-up-wide-narrow.svg +0 -1
  100. data/assets/icons/arrow-up-z-a.svg +0 -1
  101. data/assets/icons/arrows-up-from-line.svg +0 -1
  102. data/assets/icons/atom.svg +0 -1
  103. data/assets/icons/badge-alert.svg +0 -1
  104. data/assets/icons/badge-cent.svg +0 -1
  105. data/assets/icons/badge-check.svg +0 -1
  106. data/assets/icons/badge-dollar-sign.svg +0 -1
  107. data/assets/icons/badge-euro.svg +0 -1
  108. data/assets/icons/badge-help.svg +0 -1
  109. data/assets/icons/badge-indian-rupee.svg +0 -1
  110. data/assets/icons/badge-info.svg +0 -1
  111. data/assets/icons/badge-japanese-yen.svg +0 -1
  112. data/assets/icons/badge-minus.svg +0 -1
  113. data/assets/icons/badge-percent.svg +0 -1
  114. data/assets/icons/badge-plus.svg +0 -1
  115. data/assets/icons/badge-pound-sterling.svg +0 -1
  116. data/assets/icons/badge-russian-ruble.svg +0 -1
  117. data/assets/icons/badge-swiss-franc.svg +0 -1
  118. data/assets/icons/badge-x.svg +0 -1
  119. data/assets/icons/badge.svg +0 -1
  120. data/assets/icons/ban.svg +0 -1
  121. data/assets/icons/bar-chart-big.svg +0 -1
  122. data/assets/icons/bar-chart-horizontal-big.svg +0 -1
  123. data/assets/icons/bell-dot.svg +0 -1
  124. data/assets/icons/biohazard.svg +0 -1
  125. data/assets/icons/blocks.svg +0 -1
  126. data/assets/icons/book-copy.svg +0 -1
  127. data/assets/icons/book-down.svg +0 -1
  128. data/assets/icons/book-key.svg +0 -1
  129. data/assets/icons/book-lock.svg +0 -1
  130. data/assets/icons/book-marked.svg +0 -1
  131. data/assets/icons/book-minus.svg +0 -1
  132. data/assets/icons/book-plus.svg +0 -1
  133. data/assets/icons/book-template.svg +0 -1
  134. data/assets/icons/book-up-2.svg +0 -1
  135. data/assets/icons/book-up.svg +0 -1
  136. data/assets/icons/book-x.svg +0 -1
  137. data/assets/icons/bookmark-check.svg +0 -1
  138. data/assets/icons/bookmark-x.svg +0 -1
  139. data/assets/icons/boom-box.svg +0 -1
  140. data/assets/icons/braces.svg +0 -1
  141. data/assets/icons/brackets.svg +0 -1
  142. data/assets/icons/brain-circuit.svg +0 -1
  143. data/assets/icons/brain-cog.svg +0 -1
  144. data/assets/icons/brain.svg +0 -1
  145. data/assets/icons/bring-to-front.svg +0 -1
  146. data/assets/icons/bug-off.svg +0 -1
  147. data/assets/icons/bug-play.svg +0 -1
  148. data/assets/icons/bus-front.svg +0 -1
  149. data/assets/icons/cable-car.svg +0 -1
  150. data/assets/icons/cable.svg +0 -1
  151. data/assets/icons/cake-slice.svg +0 -1
  152. data/assets/icons/candlestick-chart.svg +0 -1
  153. data/assets/icons/candy-cane.svg +0 -1
  154. data/assets/icons/car-front.svg +0 -1
  155. data/assets/icons/car-taxi-front.svg +0 -1
  156. data/assets/icons/case-lower.svg +0 -1
  157. data/assets/icons/case-sensitive.svg +0 -1
  158. data/assets/icons/case-upper.svg +0 -1
  159. data/assets/icons/cassette-tape.svg +0 -1
  160. data/assets/icons/castle.svg +0 -1
  161. data/assets/icons/chevron-down-circle.svg +0 -1
  162. data/assets/icons/chevron-down-square.svg +0 -1
  163. data/assets/icons/chevron-left-circle.svg +0 -1
  164. data/assets/icons/chevron-left-square.svg +0 -1
  165. data/assets/icons/chevron-right-circle.svg +0 -1
  166. data/assets/icons/chevron-right-square.svg +0 -1
  167. data/assets/icons/chevron-up-circle.svg +0 -1
  168. data/assets/icons/chevron-up-square.svg +0 -1
  169. data/assets/icons/church.svg +0 -1
  170. data/assets/icons/circle-dashed.svg +0 -1
  171. data/assets/icons/circle-dollar-sign.svg +0 -1
  172. data/assets/icons/circle-dot-dashed.svg +0 -1
  173. data/assets/icons/circle-equal.svg +0 -1
  174. data/assets/icons/circle-off.svg +0 -1
  175. data/assets/icons/circle-slash-2.svg +0 -1
  176. data/assets/icons/circle-slash.svg +0 -1
  177. data/assets/icons/circuit-board.svg +0 -1
  178. data/assets/icons/clipboard-paste.svg +0 -1
  179. data/assets/icons/club.svg +0 -1
  180. data/assets/icons/combine.svg +0 -1
  181. data/assets/icons/computer.svg +0 -1
  182. data/assets/icons/contact-2.svg +0 -1
  183. data/assets/icons/container.svg +0 -1
  184. data/assets/icons/copy-check.svg +0 -1
  185. data/assets/icons/copy-minus.svg +0 -1
  186. data/assets/icons/copy-plus.svg +0 -1
  187. data/assets/icons/copy-slash.svg +0 -1
  188. data/assets/icons/copy-x.svg +0 -1
  189. data/assets/icons/database-zap.svg +0 -1
  190. data/assets/icons/dessert.svg +0 -1
  191. data/assets/icons/disc-2.svg +0 -1
  192. data/assets/icons/disc-3.svg +0 -1
  193. data/assets/icons/donut.svg +0 -1
  194. data/assets/icons/door-closed.svg +0 -1
  195. data/assets/icons/door-open.svg +0 -1
  196. data/assets/icons/dot.svg +0 -1
  197. data/assets/icons/drama.svg +0 -1
  198. data/assets/icons/ferris-wheel.svg +0 -1
  199. data/assets/icons/file-code-2.svg +0 -1
  200. data/assets/icons/file-stack.svg +0 -1
  201. data/assets/icons/fish-symbol.svg +0 -1
  202. data/assets/icons/fold-horizontal.svg +0 -1
  203. data/assets/icons/fold-vertical.svg +0 -1
  204. data/assets/icons/folder-dot.svg +0 -1
  205. data/assets/icons/folder-git-2.svg +0 -1
  206. data/assets/icons/folder-git.svg +0 -1
  207. data/assets/icons/folder-kanban.svg +0 -1
  208. data/assets/icons/folder-open-dot.svg +0 -1
  209. data/assets/icons/folder-root.svg +0 -1
  210. data/assets/icons/folder-sync.svg +0 -1
  211. data/assets/icons/gallery-horizontal-end.svg +0 -1
  212. data/assets/icons/gallery-horizontal.svg +0 -1
  213. data/assets/icons/gallery-thumbnails.svg +0 -1
  214. data/assets/icons/gallery-vertical-end.svg +0 -1
  215. data/assets/icons/gallery-vertical.svg +0 -1
  216. data/assets/icons/gantt-chart-square.svg +0 -1
  217. data/assets/icons/gantt-chart.svg +0 -1
  218. data/assets/icons/gauge-circle.svg +0 -1
  219. data/assets/icons/goal.svg +0 -1
  220. data/assets/icons/grid-2x2.svg +0 -1
  221. data/assets/icons/grid-3x3.svg +0 -1
  222. data/assets/icons/group.svg +0 -1
  223. data/assets/icons/hard-drive-download.svg +0 -1
  224. data/assets/icons/hard-drive-upload.svg +0 -1
  225. data/assets/icons/hdmi-port.svg +0 -1
  226. data/assets/icons/hotel.svg +0 -1
  227. data/assets/icons/iteration-ccw.svg +0 -1
  228. data/assets/icons/iteration-cw.svg +0 -1
  229. data/assets/icons/kanban-square-dashed.svg +0 -1
  230. data/assets/icons/kanban-square.svg +0 -1
  231. data/assets/icons/kanban.svg +0 -1
  232. data/assets/icons/key-round.svg +0 -1
  233. data/assets/icons/key-square.svg +0 -1
  234. data/assets/icons/layout-panel-left.svg +0 -1
  235. data/assets/icons/layout-panel-top.svg +0 -1
  236. data/assets/icons/leafy-green.svg +0 -1
  237. data/assets/icons/ligature.svg +0 -1
  238. data/assets/icons/list-filter.svg +0 -1
  239. data/assets/icons/list-restart.svg +0 -1
  240. data/assets/icons/list-todo.svg +0 -1
  241. data/assets/icons/list-tree.svg +0 -1
  242. data/assets/icons/lollipop.svg +0 -1
  243. data/assets/icons/m-square.svg +0 -1
  244. data/assets/icons/mailbox.svg +0 -1
  245. data/assets/icons/memory-stick.svg +0 -1
  246. data/assets/icons/menu-square.svg +0 -1
  247. data/assets/icons/merge.svg +0 -1
  248. data/assets/icons/message-square-dashed.svg +0 -1
  249. data/assets/icons/message-square-plus.svg +0 -1
  250. data/assets/icons/messages-square.svg +0 -1
  251. data/assets/icons/monitor-check.svg +0 -1
  252. data/assets/icons/monitor-dot.svg +0 -1
  253. data/assets/icons/monitor-down.svg +0 -1
  254. data/assets/icons/monitor-pause.svg +0 -1
  255. data/assets/icons/monitor-play.svg +0 -1
  256. data/assets/icons/monitor-stop.svg +0 -1
  257. data/assets/icons/monitor-up.svg +0 -1
  258. data/assets/icons/monitor-x.svg +0 -1
  259. data/assets/icons/moon-star.svg +0 -1
  260. data/assets/icons/mouse-pointer-square-dashed.svg +0 -1
  261. data/assets/icons/mouse-pointer-square.svg +0 -1
  262. data/assets/icons/move-down-left.svg +0 -1
  263. data/assets/icons/move-down-right.svg +0 -1
  264. data/assets/icons/move-down.svg +0 -1
  265. data/assets/icons/move-left.svg +0 -1
  266. data/assets/icons/move-right.svg +0 -1
  267. data/assets/icons/move-up-left.svg +0 -1
  268. data/assets/icons/move-up-right.svg +0 -1
  269. data/assets/icons/move-up.svg +0 -1
  270. data/assets/icons/orbit.svg +0 -1
  271. data/assets/icons/panel-bottom-close.svg +0 -1
  272. data/assets/icons/panel-bottom-inactive.svg +0 -1
  273. data/assets/icons/panel-bottom-open.svg +0 -1
  274. data/assets/icons/panel-bottom.svg +0 -1
  275. data/assets/icons/panel-left-close.svg +0 -1
  276. data/assets/icons/panel-left-inactive.svg +0 -1
  277. data/assets/icons/panel-left-open.svg +0 -1
  278. data/assets/icons/panel-left.svg +0 -1
  279. data/assets/icons/panel-right-close.svg +0 -1
  280. data/assets/icons/panel-right-inactive.svg +0 -1
  281. data/assets/icons/panel-right-open.svg +0 -1
  282. data/assets/icons/panel-right.svg +0 -1
  283. data/assets/icons/panel-top-close.svg +0 -1
  284. data/assets/icons/panel-top-inactive.svg +0 -1
  285. data/assets/icons/panel-top-open.svg +0 -1
  286. data/assets/icons/panel-top.svg +0 -1
  287. data/assets/icons/parentheses.svg +0 -1
  288. data/assets/icons/parking-circle-off.svg +0 -1
  289. data/assets/icons/parking-circle.svg +0 -1
  290. data/assets/icons/parking-meter.svg +0 -1
  291. data/assets/icons/parking-square-off.svg +0 -1
  292. data/assets/icons/parking-square.svg +0 -1
  293. data/assets/icons/paw-print.svg +0 -1
  294. data/assets/icons/pc-case.svg +0 -1
  295. data/assets/icons/pen-line.svg +0 -1
  296. data/assets/icons/pen-square.svg +0 -1
  297. data/assets/icons/pen.svg +0 -1
  298. data/assets/icons/pencil-line.svg +0 -1
  299. data/assets/icons/pencil-ruler.svg +0 -1
  300. data/assets/icons/percent-circle.svg +0 -1
  301. data/assets/icons/percent-diamond.svg +0 -1
  302. data/assets/icons/percent-square.svg +0 -1
  303. data/assets/icons/pi-square.svg +0 -1
  304. data/assets/icons/pi.svg +0 -1
  305. data/assets/icons/pilcrow-square.svg +0 -1
  306. data/assets/icons/plane-landing.svg +0 -1
  307. data/assets/icons/plane-takeoff.svg +0 -1
  308. data/assets/icons/play-square.svg +0 -1
  309. data/assets/icons/plug-zap-2.svg +0 -1
  310. data/assets/icons/pocket-knife.svg +0 -1
  311. data/assets/icons/popcorn.svg +0 -1
  312. data/assets/icons/popsicle.svg +0 -1
  313. data/assets/icons/presentation.svg +0 -1
  314. data/assets/icons/projector.svg +0 -1
  315. data/assets/icons/rabbit.svg +0 -1
  316. data/assets/icons/radar.svg +0 -1
  317. data/assets/icons/radiation.svg +0 -1
  318. data/assets/icons/radio-tower.svg +0 -1
  319. data/assets/icons/rail-symbol.svg +0 -1
  320. data/assets/icons/rainbow.svg +0 -1
  321. data/assets/icons/rat.svg +0 -1
  322. data/assets/icons/ratio.svg +0 -1
  323. data/assets/icons/receipt.svg +0 -1
  324. data/assets/icons/redo-dot.svg +0 -1
  325. data/assets/icons/refresh-ccw-dot.svg +0 -1
  326. data/assets/icons/refresh-cw-off.svg +0 -1
  327. data/assets/icons/repeat-2.svg +0 -1
  328. data/assets/icons/replace-all.svg +0 -1
  329. data/assets/icons/replace.svg +0 -1
  330. data/assets/icons/roller-coaster.svg +0 -1
  331. data/assets/icons/rows.svg +0 -1
  332. data/assets/icons/satellite-dish.svg +0 -1
  333. data/assets/icons/satellite.svg +0 -1
  334. data/assets/icons/save-all.svg +0 -1
  335. data/assets/icons/scatter-chart.svg +0 -1
  336. data/assets/icons/school-2.svg +0 -1
  337. data/assets/icons/school.svg +0 -1
  338. data/assets/icons/scissors-line-dashed.svg +0 -1
  339. data/assets/icons/scissors-square-dashed-bottom.svg +0 -1
  340. data/assets/icons/scissors-square.svg +0 -1
  341. data/assets/icons/scroll-text.svg +0 -1
  342. data/assets/icons/search-check.svg +0 -1
  343. data/assets/icons/search-code.svg +0 -1
  344. data/assets/icons/search-slash.svg +0 -1
  345. data/assets/icons/search-x.svg +0 -1
  346. data/assets/icons/send-horizontal.svg +0 -1
  347. data/assets/icons/send-to-back.svg +0 -1
  348. data/assets/icons/shapes.svg +0 -1
  349. data/assets/icons/shell.svg +0 -1
  350. data/assets/icons/shield-ban.svg +0 -1
  351. data/assets/icons/shield-ellipsis.svg +0 -1
  352. data/assets/icons/shield-half.svg +0 -1
  353. data/assets/icons/shield-minus.svg +0 -1
  354. data/assets/icons/shield-plus.svg +0 -1
  355. data/assets/icons/shield-question.svg +0 -1
  356. data/assets/icons/shield-x.svg +0 -1
  357. data/assets/icons/ship-wheel.svg +0 -1
  358. data/assets/icons/shopping-basket.svg +0 -1
  359. data/assets/icons/sigma-square.svg +0 -1
  360. data/assets/icons/snail.svg +0 -1
  361. data/assets/icons/space.svg +0 -1
  362. data/assets/icons/spade.svg +0 -1
  363. data/assets/icons/sparkle.svg +0 -1
  364. data/assets/icons/sparkles.svg +0 -1
  365. data/assets/icons/speech.svg +0 -1
  366. data/assets/icons/spell-check-2.svg +0 -1
  367. data/assets/icons/spell-check.svg +0 -1
  368. data/assets/icons/split.svg +0 -1
  369. data/assets/icons/spray-can.svg +0 -1
  370. data/assets/icons/square-asterisk.svg +0 -1
  371. data/assets/icons/square-code.svg +0 -1
  372. data/assets/icons/square-dashed-bottom-code.svg +0 -1
  373. data/assets/icons/square-dashed-bottom.svg +0 -1
  374. data/assets/icons/square-dot.svg +0 -1
  375. data/assets/icons/square-equal.svg +0 -1
  376. data/assets/icons/square-slash.svg +0 -1
  377. data/assets/icons/square-stack.svg +0 -1
  378. data/assets/icons/squirrel.svg +0 -1
  379. data/assets/icons/step-back.svg +0 -1
  380. data/assets/icons/step-forward.svg +0 -1
  381. data/assets/icons/store.svg +0 -1
  382. data/assets/icons/table-properties.svg +0 -1
  383. data/assets/icons/tablet-smartphone.svg +0 -1
  384. data/assets/icons/tally-1.svg +0 -1
  385. data/assets/icons/tally-2.svg +0 -1
  386. data/assets/icons/tally-3.svg +0 -1
  387. data/assets/icons/tally-4.svg +0 -1
  388. data/assets/icons/tally-5.svg +0 -1
  389. data/assets/icons/test-tube-2.svg +0 -1
  390. data/assets/icons/test-tube.svg +0 -1
  391. data/assets/icons/test-tubes.svg +0 -1
  392. data/assets/icons/text-quote.svg +0 -1
  393. data/assets/icons/text-select.svg +0 -1
  394. data/assets/icons/text.svg +0 -1
  395. data/assets/icons/theater.svg +0 -1
  396. data/assets/icons/touchpad-off.svg +0 -1
  397. data/assets/icons/touchpad.svg +0 -1
  398. data/assets/icons/tractor.svg +0 -1
  399. data/assets/icons/traffic-cone.svg +0 -1
  400. data/assets/icons/train-front-tunnel.svg +0 -1
  401. data/assets/icons/train-front.svg +0 -1
  402. data/assets/icons/train-track.svg +0 -1
  403. data/assets/icons/tram-front.svg +0 -1
  404. data/assets/icons/triangle-right.svg +0 -1
  405. data/assets/icons/turtle.svg +0 -1
  406. data/assets/icons/undo-dot.svg +0 -1
  407. data/assets/icons/unfold-horizontal.svg +0 -1
  408. data/assets/icons/unfold-vertical.svg +0 -1
  409. data/assets/icons/ungroup.svg +0 -1
  410. data/assets/icons/unplug.svg +0 -1
  411. data/assets/icons/user-2.svg +0 -1
  412. data/assets/icons/user-check-2.svg +0 -1
  413. data/assets/icons/user-circle-2.svg +0 -1
  414. data/assets/icons/user-circle.svg +0 -1
  415. data/assets/icons/user-cog-2.svg +0 -1
  416. data/assets/icons/user-minus-2.svg +0 -1
  417. data/assets/icons/user-plus-2.svg +0 -1
  418. data/assets/icons/user-square-2.svg +0 -1
  419. data/assets/icons/user-square.svg +0 -1
  420. data/assets/icons/user-x-2.svg +0 -1
  421. data/assets/icons/users-2.svg +0 -1
  422. data/assets/icons/variable.svg +0 -1
  423. data/assets/icons/videotape.svg +0 -1
  424. data/assets/icons/wallet-2.svg +0 -1
  425. data/assets/icons/wallet-cards.svg +0 -1
  426. data/assets/icons/wallpaper.svg +0 -1
  427. data/assets/icons/warehouse.svg +0 -1
  428. data/assets/icons/whole-word.svg +0 -1
  429. data/assets/icons/workflow.svg +0 -1
@@ -4930,7 +4930,7 @@ var $69a8ec8dbeef3157$var$require_tippy_cjs = $69a8ec8dbeef3157$var$__commonJS((
4930
4930
  return value.replace(spacesAndTabs, " ").replace(lineStartWithSpaces, "").trim();
4931
4931
  }
4932
4932
  function getDevMessage(message) {
4933
- return clean("\n %ctippy.js\n\n %c" + clean(message) + "\n\n %c\uD83D\uDC77\u200D This is a development-only message. It will be removed in production.\n ");
4933
+ return clean("\n %ctippy.js\n\n %c" + clean(message) + "\n\n %c\u{1F477}\u200D This is a development-only message. It will be removed in production.\n ");
4934
4934
  }
4935
4935
  function getFormattedMessage(message) {
4936
4936
  return [
@@ -6596,7 +6596,7 @@ var $5267f0d63de538ba$exports = {};
6596
6596
  * Licensed under the MIT license.
6597
6597
  */ (function(root, definition) {
6598
6598
  "use strict";
6599
- if (typeof define === "function" && define.amd) define(definition);
6599
+ if (typeof define === 'function' && define.amd) define(definition);
6600
6600
  else if (0, $5267f0d63de538ba$exports) $5267f0d63de538ba$exports = definition();
6601
6601
  else root.log = definition();
6602
6602
  })($5267f0d63de538ba$exports, function() {
@@ -6617,7 +6617,7 @@ var $5267f0d63de538ba$exports = {};
6617
6617
  // Cross-browser bind equivalent that works at least back to IE6
6618
6618
  function bindMethod(obj, methodName) {
6619
6619
  var method = obj[methodName];
6620
- if (typeof method.bind === "function") return method.bind(obj);
6620
+ if (typeof method.bind === 'function') return method.bind(obj);
6621
6621
  else try {
6622
6622
  return Function.prototype.bind.call(method, obj);
6623
6623
  } catch (e) {
@@ -6645,11 +6645,11 @@ var $5267f0d63de538ba$exports = {};
6645
6645
  // Build the best logging method possible for this env
6646
6646
  // Wherever possible we want to bind, not wrap, to preserve stack traces
6647
6647
  function realMethod(methodName) {
6648
- if (methodName === "debug") methodName = "log";
6648
+ if (methodName === 'debug') methodName = 'log';
6649
6649
  if (typeof console === undefinedType) return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives
6650
- else if (methodName === "trace" && isIE) return traceForIE;
6650
+ else if (methodName === 'trace' && isIE) return traceForIE;
6651
6651
  else if (console[methodName] !== undefined) return bindMethod(console, methodName);
6652
- else if (console.log !== undefined) return bindMethod(console, "log");
6652
+ else if (console.log !== undefined) return bindMethod(console, 'log');
6653
6653
  else return noop;
6654
6654
  }
6655
6655
  // These private functions always need `this` to be set properly
@@ -6705,7 +6705,7 @@ var $5267f0d63de538ba$exports = {};
6705
6705
  if (typeof name === "string") storageKey += ":" + name;
6706
6706
  else if (typeof name === "symbol") storageKey = undefined;
6707
6707
  function persistLevelIfPossible(levelNum) {
6708
- var levelName = (logMethods[levelNum] || "silent").toUpperCase();
6708
+ var levelName = (logMethods[levelNum] || 'silent').toUpperCase();
6709
6709
  if (typeof window === undefinedType || !storageKey) return;
6710
6710
  // Use localStorage if available
6711
6711
  try {
@@ -6823,18 +6823,18 @@ var $5267f0d63de538ba$exports = {};
6823
6823
  return _loggersByName;
6824
6824
  };
6825
6825
  // ES6 default export, for compatibility
6826
- defaultLogger["default"] = defaultLogger;
6826
+ defaultLogger['default'] = defaultLogger;
6827
6827
  return defaultLogger;
6828
6828
  });
6829
6829
 
6830
6830
 
6831
6831
  var $1ffebed09abdb92f$exports = {};
6832
6832
  (function(root, factory) {
6833
- if (typeof define === "function" && define.amd) define(factory);
6833
+ if (typeof define === 'function' && define.amd) define(factory);
6834
6834
  else if (0, $1ffebed09abdb92f$exports) $1ffebed09abdb92f$exports = factory();
6835
6835
  else root.prefix = factory(root);
6836
6836
  })($1ffebed09abdb92f$exports, function(root) {
6837
- "use strict";
6837
+ 'use strict';
6838
6838
  var merge = function(target) {
6839
6839
  var i = 1;
6840
6840
  var length = arguments.length;
@@ -6845,37 +6845,37 @@ var $1ffebed09abdb92f$exports = {};
6845
6845
  return target;
6846
6846
  };
6847
6847
  var defaults = {
6848
- template: "[%t] %l:",
6848
+ template: '[%t] %l:',
6849
6849
  levelFormatter: function(level) {
6850
6850
  return level.toUpperCase();
6851
6851
  },
6852
6852
  nameFormatter: function(name) {
6853
- return name || "root";
6853
+ return name || 'root';
6854
6854
  },
6855
6855
  timestampFormatter: function(date) {
6856
- return date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1");
6856
+ return date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, '$1');
6857
6857
  },
6858
6858
  format: undefined
6859
6859
  };
6860
6860
  var loglevel;
6861
6861
  var configs = {};
6862
6862
  var reg = function(rootLogger) {
6863
- if (!rootLogger || !rootLogger.getLogger) throw new TypeError("Argument is not a root logger");
6863
+ if (!rootLogger || !rootLogger.getLogger) throw new TypeError('Argument is not a root logger');
6864
6864
  loglevel = rootLogger;
6865
6865
  };
6866
6866
  var apply = function(logger, config) {
6867
- if (!logger || !logger.setLevel) throw new TypeError("Argument is not a logger");
6867
+ if (!logger || !logger.setLevel) throw new TypeError('Argument is not a logger');
6868
6868
  /* eslint-disable vars-on-top */ var originalFactory = logger.methodFactory;
6869
- var name = logger.name || "";
6870
- var parent = configs[name] || configs[""] || defaults;
6869
+ var name = logger.name || '';
6870
+ var parent = configs[name] || configs[''] || defaults;
6871
6871
  /* eslint-enable vars-on-top */ function methodFactory(methodName, logLevel, loggerName) {
6872
6872
  var originalMethod = originalFactory(methodName, logLevel, loggerName);
6873
- var options = configs[loggerName] || configs[""];
6874
- var hasTimestamp = options.template.indexOf("%t") !== -1;
6875
- var hasLevel = options.template.indexOf("%l") !== -1;
6876
- var hasName = options.template.indexOf("%n") !== -1;
6873
+ var options = configs[loggerName] || configs[''];
6874
+ var hasTimestamp = options.template.indexOf('%t') !== -1;
6875
+ var hasLevel = options.template.indexOf('%l') !== -1;
6876
+ var hasName = options.template.indexOf('%n') !== -1;
6877
6877
  return function() {
6878
- var content = "";
6878
+ var content = '';
6879
6879
  var length = arguments.length;
6880
6880
  var args = Array(length);
6881
6881
  var key = 0;
@@ -6892,8 +6892,8 @@ var $1ffebed09abdb92f$exports = {};
6892
6892
  if (hasLevel) content = content.replace(/%l/, level);
6893
6893
  if (hasName) content = content.replace(/%n/, lname);
6894
6894
  }
6895
- if (args.length && typeof args[0] === "string") // concat prefix with first argument to support string substitutions
6896
- args[0] = content + " " + args[0];
6895
+ if (args.length && typeof args[0] === 'string') // concat prefix with first argument to support string substitutions
6896
+ args[0] = content + ' ' + args[0];
6897
6897
  else args.unshift(content);
6898
6898
  }
6899
6899
  originalMethod.apply(undefined, args);
@@ -6905,7 +6905,7 @@ var $1ffebed09abdb92f$exports = {};
6905
6905
  if (config.template) config.format = undefined;
6906
6906
  configs[name] = merge({}, parent, config);
6907
6907
  logger.setLevel(logger.getLevel());
6908
- if (!loglevel) logger.warn("It is necessary to call the function reg() of loglevel-plugin-prefix before calling apply. From the next release, it will throw an error. See more: https://github.com/kutuluk/loglevel-plugin-prefix/blob/master/README.md");
6908
+ if (!loglevel) logger.warn('It is necessary to call the function reg() of loglevel-plugin-prefix before calling apply. From the next release, it will throw an error. See more: https://github.com/kutuluk/loglevel-plugin-prefix/blob/master/README.md');
6909
6909
  return logger;
6910
6910
  };
6911
6911
  var api = {
@@ -7760,11 +7760,14 @@ var $7d6b1fa982d8364d$exports = {};
7760
7760
  * `callback` is executed at the proper times in `throttle` and `end`
7761
7761
  * debounce modes.
7762
7762
  */ var timeoutID;
7763
- var cancelled = false; // Keep track of the last time `callback` was executed.
7764
- var lastExec = 0; // Function to clear existing timeout
7763
+ var cancelled = false;
7764
+ // Keep track of the last time `callback` was executed.
7765
+ var lastExec = 0;
7766
+ // Function to clear existing timeout
7765
7767
  function clearExistingTimeout() {
7766
7768
  if (timeoutID) clearTimeout(timeoutID);
7767
- } // Function to cancel next exec
7769
+ }
7770
+ // Function to cancel next exec
7768
7771
  function cancel(options) {
7769
7772
  var _ref2 = options || {}, _ref2$upcomingOnly = _ref2.upcomingOnly, upcomingOnly = _ref2$upcomingOnly === void 0 ? false : _ref2$upcomingOnly;
7770
7773
  clearExistingTimeout();
@@ -7779,7 +7782,7 @@ var $7d6b1fa982d8364d$exports = {};
7779
7782
  var self = this;
7780
7783
  var elapsed = Date.now() - lastExec;
7781
7784
  if (cancelled) return;
7782
- // Execute `callback` and update the `lastExec` timestamp.
7785
+ // Execute `callback` and update the `lastExec` timestamp.
7783
7786
  function exec() {
7784
7787
  lastExec = Date.now();
7785
7788
  callback.apply(self, arguments_);
@@ -7820,7 +7823,8 @@ var $7d6b1fa982d8364d$exports = {};
7820
7823
  * execute after `delay` ms.
7821
7824
  */ timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
7822
7825
  }
7823
- wrapper.cancel = cancel; // Return the wrapper function.
7826
+ wrapper.cancel = cancel;
7827
+ // Return the wrapper function.
7824
7828
  return wrapper;
7825
7829
  }
7826
7830
  /* eslint-disable no-undefined */ /**
@@ -7898,8 +7902,8 @@ function $490552754c23ef6f$export$b98882f166bb7ce2(link) {
7898
7902
  }
7899
7903
 
7900
7904
 
7901
- async function $41e83ac737081df5$export$51c59e2af49c1a92(url, selector) {
7902
- const response = await fetch(url || window.document.location);
7905
+ async function $41e83ac737081df5$export$51c59e2af49c1a92(url, selector, options = {}) {
7906
+ const response = await fetch(url || window.document.location, options);
7903
7907
  const html = await response.text();
7904
7908
  const doc = new DOMParser().parseFromString(html, "text/html");
7905
7909
  return {
@@ -7942,7 +7946,11 @@ function $5792afa4170ed552$export$2e2bcd8739ae039() {
7942
7946
  this.debug("Navigating to ", window.location.pathname);
7943
7947
  this.$dispatch("navigation:start");
7944
7948
  this.location = window.location;
7945
- await this.updateDOM();
7949
+ await this.updateDOM("#app-main", {
7950
+ headers: {
7951
+ "X-Lookbook-Frame": "main"
7952
+ }
7953
+ });
7946
7954
  this.$dispatch("navigation:complete");
7947
7955
  },
7948
7956
  hijax (evt) {
@@ -7961,13 +7969,13 @@ function $5792afa4170ed552$export$2e2bcd8739ae039() {
7961
7969
  }
7962
7970
  }
7963
7971
  },
7964
- async updateDOM () {
7972
+ async updateDOM (rootSelector = `#${this.$root.id}`, options = {}) {
7965
7973
  this.debug("Starting DOM update");
7966
7974
  this.$dispatch("dom:update-start");
7967
7975
  this.requestStart();
7968
7976
  try {
7969
- const { fragment: fragment, title: title } = await (0, $41e83ac737081df5$export$51c59e2af49c1a92)(window.location, `#${this.$root.id}`);
7970
- (0, $490552754c23ef6f$export$2e5e8c41f5d4e7c7)(this.$root, fragment);
7977
+ const { fragment: fragment, title: title } = await (0, $41e83ac737081df5$export$51c59e2af49c1a92)(window.location, rootSelector, options);
7978
+ (0, $490552754c23ef6f$export$2e5e8c41f5d4e7c7)(document.querySelector(rootSelector), fragment);
7971
7979
  document.title = title;
7972
7980
  this.requestEnd();
7973
7981
  this.$dispatch("dom:update-complete");
@@ -8022,7 +8030,7 @@ function $12b7aa006b8a97e1$var$toCamel(s) {
8022
8030
  }
8023
8031
 
8024
8032
 
8025
- var $c9dfaeb25bf110ce$exports = {};
8033
+ var $e3048089509446aa$exports = {};
8026
8034
  var $cbd28b10fa9798c7$exports = {};
8027
8035
 
8028
8036
  $parcel$defineInteropFlag($cbd28b10fa9798c7$exports);
@@ -8033,13 +8041,13 @@ $parcel$export($cbd28b10fa9798c7$exports, "default", () => $cbd28b10fa9798c7$exp
8033
8041
  * (c) 2017-2021 atomiks
8034
8042
  * MIT License
8035
8043
  */ function $59d97a6bab2b727e$export$2e2bcd8739ae039(element) {
8036
- return element ? (element.nodeName || "").toLowerCase() : null;
8044
+ return element ? (element.nodeName || '').toLowerCase() : null;
8037
8045
  }
8038
8046
 
8039
8047
 
8040
8048
  function $f41f4520bee001a7$export$2e2bcd8739ae039(node) {
8041
8049
  if (node == null) return window;
8042
- if (node.toString() !== "[object Window]") {
8050
+ if (node.toString() !== '[object Window]') {
8043
8051
  var ownerDocument = node.ownerDocument;
8044
8052
  return ownerDocument ? ownerDocument.defaultView || window : window;
8045
8053
  }
@@ -8057,7 +8065,7 @@ function $1fa2a5446b18c455$export$1b3bfaa9684536aa(node) {
8057
8065
  }
8058
8066
  function $1fa2a5446b18c455$export$af51f0f06c0f328a(node) {
8059
8067
  // IE 11 has no ShadowRoot
8060
- if (typeof ShadowRoot === "undefined") return false;
8068
+ if (typeof ShadowRoot === 'undefined') return false;
8061
8069
  var OwnElement = (0, $f41f4520bee001a7$export$2e2bcd8739ae039)(node).ShadowRoot;
8062
8070
  return node instanceof OwnElement || node instanceof ShadowRoot;
8063
8071
  }
@@ -8078,7 +8086,7 @@ function $dfb41fce0bddd2d8$var$applyStyles(_ref) {
8078
8086
  Object.keys(attributes).forEach(function(name) {
8079
8087
  var value = attributes[name];
8080
8088
  if (value === false) element.removeAttribute(name);
8081
- else element.setAttribute(name, value === true ? "" : value);
8089
+ else element.setAttribute(name, value === true ? '' : value);
8082
8090
  });
8083
8091
  });
8084
8092
  }
@@ -8087,12 +8095,12 @@ function $dfb41fce0bddd2d8$var$effect(_ref2) {
8087
8095
  var initialStyles = {
8088
8096
  popper: {
8089
8097
  position: state.options.strategy,
8090
- left: "0",
8091
- top: "0",
8092
- margin: "0"
8098
+ left: '0',
8099
+ top: '0',
8100
+ margin: '0'
8093
8101
  },
8094
8102
  arrow: {
8095
- position: "absolute"
8103
+ position: 'absolute'
8096
8104
  },
8097
8105
  reference: {}
8098
8106
  };
@@ -8105,7 +8113,7 @@ function $dfb41fce0bddd2d8$var$effect(_ref2) {
8105
8113
  var attributes = state.attributes[name] || {};
8106
8114
  var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them
8107
8115
  var style = styleProperties.reduce(function(style, property) {
8108
- style[property] = "";
8116
+ style[property] = '';
8109
8117
  return style;
8110
8118
  }, {}); // arrow is optional + virtual elements
8111
8119
  if (!(0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(element) || !(0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(element)) return;
@@ -8117,13 +8125,13 @@ function $dfb41fce0bddd2d8$var$effect(_ref2) {
8117
8125
  };
8118
8126
  } // eslint-disable-next-line import/no-unused-modules
8119
8127
  var $dfb41fce0bddd2d8$export$2e2bcd8739ae039 = {
8120
- name: "applyStyles",
8128
+ name: 'applyStyles',
8121
8129
  enabled: true,
8122
- phase: "write",
8130
+ phase: 'write',
8123
8131
  fn: $dfb41fce0bddd2d8$var$applyStyles,
8124
8132
  effect: $dfb41fce0bddd2d8$var$effect,
8125
8133
  requires: [
8126
- "computeStyles"
8134
+ 'computeStyles'
8127
8135
  ]
8128
8136
  };
8129
8137
 
@@ -8138,7 +8146,7 @@ function $beb42d7aceecf8c8$export$2e2bcd8739ae039() {
8138
8146
  var uaData = navigator.userAgentData;
8139
8147
  if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) return uaData.brands.map(function(item) {
8140
8148
  return item.brand + "/" + item.version;
8141
- }).join(" ");
8149
+ }).join(' ');
8142
8150
  return navigator.userAgent;
8143
8151
  }
8144
8152
 
@@ -8264,7 +8272,7 @@ function $a195ad21b1cffe79$export$2e2bcd8739ae039(elementOrVirtualElement, offse
8264
8272
  y: 0
8265
8273
  };
8266
8274
  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
8267
- if ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
8275
+ if ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
8268
8276
  (0, $d0e76ea5ac4d8fe1$export$2e2bcd8739ae039)(documentElement)) scroll = (0, $40149fb4267f270e$export$2e2bcd8739ae039)(offsetParent);
8269
8277
  if ((0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(offsetParent)) {
8270
8278
  offsets = (0, $b854957821c00430$export$2e2bcd8739ae039)(offsetParent, true);
@@ -8302,7 +8310,7 @@ function $e287ac773d355028$export$2e2bcd8739ae039(element) {
8302
8310
 
8303
8311
 
8304
8312
  function $b1adb38089003474$export$2e2bcd8739ae039(element) {
8305
- if ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(element) === "html") return element;
8313
+ if ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(element) === 'html') return element;
8306
8314
  return(// $FlowFixMe[incompatible-return]
8307
8315
  // $FlowFixMe[prop-missing]
8308
8316
  element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
@@ -8318,9 +8326,9 @@ function $b1adb38089003474$export$2e2bcd8739ae039(element) {
8318
8326
 
8319
8327
  function $8fec37e99f881747$export$2e2bcd8739ae039(node) {
8320
8328
  if ([
8321
- "html",
8322
- "body",
8323
- "#document"
8329
+ 'html',
8330
+ 'body',
8331
+ '#document'
8324
8332
  ].indexOf((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(node)) >= 0) // $FlowFixMe[incompatible-return]: assume body is always available
8325
8333
  return node.ownerDocument.body;
8326
8334
  if ((0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(node) && (0, $d0e76ea5ac4d8fe1$export$2e2bcd8739ae039)(node)) return node;
@@ -8352,9 +8360,9 @@ function $f14b4e1cd31512ee$export$2e2bcd8739ae039(element, list) {
8352
8360
 
8353
8361
  function $b7f6a1d3d9524a70$export$2e2bcd8739ae039(element) {
8354
8362
  return [
8355
- "table",
8356
- "td",
8357
- "th"
8363
+ 'table',
8364
+ 'td',
8365
+ 'th'
8358
8366
  ].indexOf((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(element)) >= 0;
8359
8367
  }
8360
8368
 
@@ -8363,7 +8371,7 @@ function $b7f6a1d3d9524a70$export$2e2bcd8739ae039(element) {
8363
8371
 
8364
8372
  function $4acba801a6bfbaa3$var$getTrueOffsetParent(element) {
8365
8373
  if (!(0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(element) || // https://github.com/popperjs/popper-core/issues/837
8366
- (0, $392247934674b5b4$export$2e2bcd8739ae039)(element).position === "fixed") return null;
8374
+ (0, $392247934674b5b4$export$2e2bcd8739ae039)(element).position === 'fixed') return null;
8367
8375
  return element.offsetParent;
8368
8376
  } // `.offsetParent` reports `null` for fixed elements, while absolute elements
8369
8377
  // return the containing block
@@ -8373,21 +8381,21 @@ function $4acba801a6bfbaa3$var$getContainingBlock(element) {
8373
8381
  if (isIE && (0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(element)) {
8374
8382
  // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
8375
8383
  var elementCss = (0, $392247934674b5b4$export$2e2bcd8739ae039)(element);
8376
- if (elementCss.position === "fixed") return null;
8384
+ if (elementCss.position === 'fixed') return null;
8377
8385
  }
8378
8386
  var currentNode = (0, $b1adb38089003474$export$2e2bcd8739ae039)(element);
8379
8387
  if ((0, $1fa2a5446b18c455$export$af51f0f06c0f328a)(currentNode)) currentNode = currentNode.host;
8380
8388
  while((0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(currentNode) && [
8381
- "html",
8382
- "body"
8389
+ 'html',
8390
+ 'body'
8383
8391
  ].indexOf((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(currentNode)) < 0){
8384
8392
  var css = (0, $392247934674b5b4$export$2e2bcd8739ae039)(currentNode); // This is non-exhaustive but covers the most common CSS properties that
8385
8393
  // create a containing block.
8386
8394
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
8387
- if (css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || [
8388
- "transform",
8389
- "perspective"
8390
- ].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === "filter" || isFirefox && css.filter && css.filter !== "none") return currentNode;
8395
+ if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || [
8396
+ 'transform',
8397
+ 'perspective'
8398
+ ].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') return currentNode;
8391
8399
  else currentNode = currentNode.parentNode;
8392
8400
  }
8393
8401
  return null;
@@ -8395,29 +8403,29 @@ function $4acba801a6bfbaa3$var$getContainingBlock(element) {
8395
8403
  function $4acba801a6bfbaa3$export$2e2bcd8739ae039(element) {
8396
8404
  var window = (0, $f41f4520bee001a7$export$2e2bcd8739ae039)(element);
8397
8405
  var offsetParent = $4acba801a6bfbaa3$var$getTrueOffsetParent(element);
8398
- while(offsetParent && (0, $b7f6a1d3d9524a70$export$2e2bcd8739ae039)(offsetParent) && (0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position === "static")offsetParent = $4acba801a6bfbaa3$var$getTrueOffsetParent(offsetParent);
8399
- if (offsetParent && ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) === "html" || (0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) === "body" && (0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position === "static")) return window;
8406
+ while(offsetParent && (0, $b7f6a1d3d9524a70$export$2e2bcd8739ae039)(offsetParent) && (0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position === 'static')offsetParent = $4acba801a6bfbaa3$var$getTrueOffsetParent(offsetParent);
8407
+ if (offsetParent && ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) === 'html' || (0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) === 'body' && (0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position === 'static')) return window;
8400
8408
  return offsetParent || $4acba801a6bfbaa3$var$getContainingBlock(element) || window;
8401
8409
  }
8402
8410
 
8403
8411
 
8404
- var $9b56e55559dfbda1$export$1e95b668f3b82d = "top";
8405
- var $9b56e55559dfbda1$export$40e543e69a8b3fbb = "bottom";
8406
- var $9b56e55559dfbda1$export$79ffe56a765070d2 = "right";
8407
- var $9b56e55559dfbda1$export$eabcd2c8791e7bf4 = "left";
8408
- var $9b56e55559dfbda1$export$dfb5619354ba860 = "auto";
8412
+ var $9b56e55559dfbda1$export$1e95b668f3b82d = 'top';
8413
+ var $9b56e55559dfbda1$export$40e543e69a8b3fbb = 'bottom';
8414
+ var $9b56e55559dfbda1$export$79ffe56a765070d2 = 'right';
8415
+ var $9b56e55559dfbda1$export$eabcd2c8791e7bf4 = 'left';
8416
+ var $9b56e55559dfbda1$export$dfb5619354ba860 = 'auto';
8409
8417
  var $9b56e55559dfbda1$export$aec2ce47c367b8c3 = [
8410
8418
  $9b56e55559dfbda1$export$1e95b668f3b82d,
8411
8419
  $9b56e55559dfbda1$export$40e543e69a8b3fbb,
8412
8420
  $9b56e55559dfbda1$export$79ffe56a765070d2,
8413
8421
  $9b56e55559dfbda1$export$eabcd2c8791e7bf4
8414
8422
  ];
8415
- var $9b56e55559dfbda1$export$b3571188c770cc5a = "start";
8416
- var $9b56e55559dfbda1$export$bd5df0f255a350f8 = "end";
8417
- var $9b56e55559dfbda1$export$390fd549c5303b4d = "clippingParents";
8418
- var $9b56e55559dfbda1$export$d7b7311ec04a3e8f = "viewport";
8419
- var $9b56e55559dfbda1$export$ae5ab1c730825774 = "popper";
8420
- var $9b56e55559dfbda1$export$ca50aac9f3ba507f = "reference";
8423
+ var $9b56e55559dfbda1$export$b3571188c770cc5a = 'start';
8424
+ var $9b56e55559dfbda1$export$bd5df0f255a350f8 = 'end';
8425
+ var $9b56e55559dfbda1$export$390fd549c5303b4d = 'clippingParents';
8426
+ var $9b56e55559dfbda1$export$d7b7311ec04a3e8f = 'viewport';
8427
+ var $9b56e55559dfbda1$export$ae5ab1c730825774 = 'popper';
8428
+ var $9b56e55559dfbda1$export$ca50aac9f3ba507f = 'reference';
8421
8429
  var $9b56e55559dfbda1$export$368f9a87e87fa4e1 = /*#__PURE__*/ $9b56e55559dfbda1$export$aec2ce47c367b8c3.reduce(function(acc, placement) {
8422
8430
  return acc.concat([
8423
8431
  placement + "-" + $9b56e55559dfbda1$export$b3571188c770cc5a,
@@ -8433,15 +8441,15 @@ var $9b56e55559dfbda1$export$803cd8101b6c182b = /*#__PURE__*/ [].concat($9b56e55
8433
8441
  placement + "-" + $9b56e55559dfbda1$export$bd5df0f255a350f8
8434
8442
  ]);
8435
8443
  }, []); // modifiers that need to read the DOM
8436
- var $9b56e55559dfbda1$export$421679a7c3d56e = "beforeRead";
8437
- var $9b56e55559dfbda1$export$aafa59e2e03f2942 = "read";
8438
- var $9b56e55559dfbda1$export$6964f6c886723980 = "afterRead"; // pure-logic modifiers
8439
- var $9b56e55559dfbda1$export$c65e99957a05207c = "beforeMain";
8440
- var $9b56e55559dfbda1$export$f22da7240b7add18 = "main";
8441
- var $9b56e55559dfbda1$export$bab79516f2d662fe = "afterMain"; // modifier with the purpose to write to the DOM (or write into a framework state)
8442
- var $9b56e55559dfbda1$export$8d4d2d70e7d46032 = "beforeWrite";
8443
- var $9b56e55559dfbda1$export$68d8715fc104d294 = "write";
8444
- var $9b56e55559dfbda1$export$70a6e5159acce2e6 = "afterWrite";
8444
+ var $9b56e55559dfbda1$export$421679a7c3d56e = 'beforeRead';
8445
+ var $9b56e55559dfbda1$export$aafa59e2e03f2942 = 'read';
8446
+ var $9b56e55559dfbda1$export$6964f6c886723980 = 'afterRead'; // pure-logic modifiers
8447
+ var $9b56e55559dfbda1$export$c65e99957a05207c = 'beforeMain';
8448
+ var $9b56e55559dfbda1$export$f22da7240b7add18 = 'main';
8449
+ var $9b56e55559dfbda1$export$bab79516f2d662fe = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)
8450
+ var $9b56e55559dfbda1$export$8d4d2d70e7d46032 = 'beforeWrite';
8451
+ var $9b56e55559dfbda1$export$68d8715fc104d294 = 'write';
8452
+ var $9b56e55559dfbda1$export$70a6e5159acce2e6 = 'afterWrite';
8445
8453
  var $9b56e55559dfbda1$export$d087d3878fdf71d5 = [
8446
8454
  $9b56e55559dfbda1$export$421679a7c3d56e,
8447
8455
  $9b56e55559dfbda1$export$aafa59e2e03f2942,
@@ -8522,14 +8530,14 @@ function $6af99e74d4c8a734$export$2e2bcd8739ae039(modifiers) {
8522
8530
 
8523
8531
 
8524
8532
  var $8e357be334f3fad9$var$DEFAULT_OPTIONS = {
8525
- placement: "bottom",
8533
+ placement: 'bottom',
8526
8534
  modifiers: [],
8527
- strategy: "absolute"
8535
+ strategy: 'absolute'
8528
8536
  };
8529
8537
  function $8e357be334f3fad9$var$areValidElements() {
8530
8538
  for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)args[_key] = arguments[_key];
8531
8539
  return !args.some(function(element) {
8532
- return !(element && typeof element.getBoundingClientRect === "function");
8540
+ return !(element && typeof element.getBoundingClientRect === 'function');
8533
8541
  });
8534
8542
  }
8535
8543
  function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
@@ -8538,7 +8546,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8538
8546
  return function createPopper(reference, popper, options) {
8539
8547
  if (options === void 0) options = defaultOptions;
8540
8548
  var state = {
8541
- placement: "bottom",
8549
+ placement: 'bottom',
8542
8550
  orderedModifiers: [],
8543
8551
  options: Object.assign({}, $8e357be334f3fad9$var$DEFAULT_OPTIONS, defaultOptions),
8544
8552
  modifiersData: {},
@@ -8554,7 +8562,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8554
8562
  var instance = {
8555
8563
  state: state,
8556
8564
  setOptions: function setOptions(setOptionsAction) {
8557
- var options = typeof setOptionsAction === "function" ? setOptionsAction(state.options) : setOptionsAction;
8565
+ var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
8558
8566
  cleanupModifierEffects();
8559
8567
  state.options = Object.assign({}, defaultOptions, state.options, options);
8560
8568
  state.scrollParents = {
@@ -8581,7 +8589,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8581
8589
  if (!$8e357be334f3fad9$var$areValidElements(reference, popper)) return;
8582
8590
  // Store the reference and popper rects to be read by modifiers
8583
8591
  state.rects = {
8584
- reference: (0, $a195ad21b1cffe79$export$2e2bcd8739ae039)(reference, (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(popper), state.options.strategy === "fixed"),
8592
+ reference: (0, $a195ad21b1cffe79$export$2e2bcd8739ae039)(reference, (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(popper), state.options.strategy === 'fixed'),
8585
8593
  popper: (0, $e287ac773d355028$export$2e2bcd8739ae039)(popper)
8586
8594
  }; // Modifiers have the ability to reset the current update cycle. The
8587
8595
  // most common use case for this is the `flip` modifier changing the
@@ -8603,7 +8611,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8603
8611
  continue;
8604
8612
  }
8605
8613
  var _state$orderedModifie = state.orderedModifiers[index], fn = _state$orderedModifie.fn, _state$orderedModifie2 = _state$orderedModifie.options, _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, name = _state$orderedModifie.name;
8606
- if (typeof fn === "function") state = fn({
8614
+ if (typeof fn === 'function') state = fn({
8607
8615
  state: state,
8608
8616
  options: _options,
8609
8617
  name: name,
@@ -8635,7 +8643,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8635
8643
  function runModifierEffects() {
8636
8644
  state.orderedModifiers.forEach(function(_ref) {
8637
8645
  var name = _ref.name, _ref$options = _ref.options, options = _ref$options === void 0 ? {} : _ref$options, effect = _ref.effect;
8638
- if (typeof effect === "function") {
8646
+ if (typeof effect === 'function') {
8639
8647
  var cleanupFn = effect({
8640
8648
  state: state,
8641
8649
  name: name,
@@ -8669,20 +8677,20 @@ function $e3348dc516600e8b$var$effect(_ref) {
8669
8677
  var window = (0, $f41f4520bee001a7$export$2e2bcd8739ae039)(state.elements.popper);
8670
8678
  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
8671
8679
  if (scroll) scrollParents.forEach(function(scrollParent) {
8672
- scrollParent.addEventListener("scroll", instance.update, $e3348dc516600e8b$var$passive);
8680
+ scrollParent.addEventListener('scroll', instance.update, $e3348dc516600e8b$var$passive);
8673
8681
  });
8674
- if (resize) window.addEventListener("resize", instance.update, $e3348dc516600e8b$var$passive);
8682
+ if (resize) window.addEventListener('resize', instance.update, $e3348dc516600e8b$var$passive);
8675
8683
  return function() {
8676
8684
  if (scroll) scrollParents.forEach(function(scrollParent) {
8677
- scrollParent.removeEventListener("scroll", instance.update, $e3348dc516600e8b$var$passive);
8685
+ scrollParent.removeEventListener('scroll', instance.update, $e3348dc516600e8b$var$passive);
8678
8686
  });
8679
- if (resize) window.removeEventListener("resize", instance.update, $e3348dc516600e8b$var$passive);
8687
+ if (resize) window.removeEventListener('resize', instance.update, $e3348dc516600e8b$var$passive);
8680
8688
  };
8681
8689
  } // eslint-disable-next-line import/no-unused-modules
8682
8690
  var $e3348dc516600e8b$export$2e2bcd8739ae039 = {
8683
- name: "eventListeners",
8691
+ name: 'eventListeners',
8684
8692
  enabled: true,
8685
- phase: "write",
8693
+ phase: 'write',
8686
8694
  fn: function fn() {},
8687
8695
  effect: $e3348dc516600e8b$var$effect,
8688
8696
  data: {}
@@ -8691,20 +8699,20 @@ var $e3348dc516600e8b$export$2e2bcd8739ae039 = {
8691
8699
 
8692
8700
 
8693
8701
  function $923eec132c8d334b$export$2e2bcd8739ae039(placement) {
8694
- return placement.split("-")[0];
8702
+ return placement.split('-')[0];
8695
8703
  }
8696
8704
 
8697
8705
 
8698
8706
  function $6572b8fb6297a772$export$2e2bcd8739ae039(placement) {
8699
- return placement.split("-")[1];
8707
+ return placement.split('-')[1];
8700
8708
  }
8701
8709
 
8702
8710
 
8703
8711
  function $d388da57f90fb762$export$2e2bcd8739ae039(placement) {
8704
8712
  return [
8705
- "top",
8706
- "bottom"
8707
- ].indexOf(placement) >= 0 ? "x" : "y";
8713
+ 'top',
8714
+ 'bottom'
8715
+ ].indexOf(placement) >= 0 ? 'x' : 'y';
8708
8716
  }
8709
8717
 
8710
8718
 
@@ -8749,7 +8757,7 @@ function $05d4a7bd7e0110bf$export$2e2bcd8739ae039(_ref) {
8749
8757
  }
8750
8758
  var mainAxis = basePlacement ? (0, $d388da57f90fb762$export$2e2bcd8739ae039)(basePlacement) : null;
8751
8759
  if (mainAxis != null) {
8752
- var len = mainAxis === "y" ? "height" : "width";
8760
+ var len = mainAxis === 'y' ? 'height' : 'width';
8753
8761
  switch(variation){
8754
8762
  case 0, $9b56e55559dfbda1$export$b3571188c770cc5a:
8755
8763
  offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
@@ -8773,14 +8781,14 @@ function $4aa27a7a3db85746$var$popperOffsets(_ref) {
8773
8781
  state.modifiersData[name] = (0, $05d4a7bd7e0110bf$export$2e2bcd8739ae039)({
8774
8782
  reference: state.rects.reference,
8775
8783
  element: state.rects.popper,
8776
- strategy: "absolute",
8784
+ strategy: 'absolute',
8777
8785
  placement: state.placement
8778
8786
  });
8779
8787
  } // eslint-disable-next-line import/no-unused-modules
8780
8788
  var $4aa27a7a3db85746$export$2e2bcd8739ae039 = {
8781
- name: "popperOffsets",
8789
+ name: 'popperOffsets',
8782
8790
  enabled: true,
8783
- phase: "read",
8791
+ phase: 'read',
8784
8792
  fn: $4aa27a7a3db85746$var$popperOffsets,
8785
8793
  data: {}
8786
8794
  };
@@ -8795,10 +8803,10 @@ var $4aa27a7a3db85746$export$2e2bcd8739ae039 = {
8795
8803
 
8796
8804
 
8797
8805
  var $03e421bdaa8eda14$var$unsetSides = {
8798
- top: "auto",
8799
- right: "auto",
8800
- bottom: "auto",
8801
- left: "auto"
8806
+ top: 'auto',
8807
+ right: 'auto',
8808
+ bottom: 'auto',
8809
+ left: 'auto'
8802
8810
  }; // Round the offsets to the nearest suitable subpixel based on the DPR.
8803
8811
  // Zooming can change the DPR, but it seems to report a value that will
8804
8812
  // cleanly divide the values into the appropriate subpixels.
@@ -8814,7 +8822,7 @@ function $03e421bdaa8eda14$export$378fa78a8fea596f(_ref2) {
8814
8822
  var _Object$assign2;
8815
8823
  var popper = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
8816
8824
  var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y = _offsets$y === void 0 ? 0 : _offsets$y;
8817
- var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
8825
+ var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
8818
8826
  x: x,
8819
8827
  y: y
8820
8828
  }) : {
@@ -8823,20 +8831,20 @@ function $03e421bdaa8eda14$export$378fa78a8fea596f(_ref2) {
8823
8831
  };
8824
8832
  x = _ref3.x;
8825
8833
  y = _ref3.y;
8826
- var hasX = offsets.hasOwnProperty("x");
8827
- var hasY = offsets.hasOwnProperty("y");
8834
+ var hasX = offsets.hasOwnProperty('x');
8835
+ var hasY = offsets.hasOwnProperty('y');
8828
8836
  var sideX = (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
8829
8837
  var sideY = (0, $9b56e55559dfbda1$export$1e95b668f3b82d);
8830
8838
  var win = window;
8831
8839
  if (adaptive) {
8832
8840
  var offsetParent = (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(popper);
8833
- var heightProp = "clientHeight";
8834
- var widthProp = "clientWidth";
8841
+ var heightProp = 'clientHeight';
8842
+ var widthProp = 'clientWidth';
8835
8843
  if (offsetParent === (0, $f41f4520bee001a7$export$2e2bcd8739ae039)(popper)) {
8836
8844
  offsetParent = (0, $3e02d6708e2a16ac$export$2e2bcd8739ae039)(popper);
8837
- if ((0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position !== "static" && position === "absolute") {
8838
- heightProp = "scrollHeight";
8839
- widthProp = "scrollWidth";
8845
+ if ((0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position !== 'static' && position === 'absolute') {
8846
+ heightProp = 'scrollHeight';
8847
+ widthProp = 'scrollWidth';
8840
8848
  }
8841
8849
  } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
8842
8850
  offsetParent;
@@ -8867,9 +8875,9 @@ function $03e421bdaa8eda14$export$378fa78a8fea596f(_ref2) {
8867
8875
  y = _ref4.y;
8868
8876
  if (gpuAcceleration) {
8869
8877
  var _Object$assign;
8870
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
8878
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
8871
8879
  }
8872
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
8880
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
8873
8881
  }
8874
8882
  function $03e421bdaa8eda14$var$computeStyles(_ref5) {
8875
8883
  var state = _ref5.state, options = _ref5.options;
@@ -8880,7 +8888,7 @@ function $03e421bdaa8eda14$var$computeStyles(_ref5) {
8880
8888
  popper: state.elements.popper,
8881
8889
  popperRect: state.rects.popper,
8882
8890
  gpuAcceleration: gpuAcceleration,
8883
- isFixed: state.options.strategy === "fixed"
8891
+ isFixed: state.options.strategy === 'fixed'
8884
8892
  };
8885
8893
  if (state.modifiersData.popperOffsets != null) state.styles.popper = Object.assign({}, state.styles.popper, $03e421bdaa8eda14$export$378fa78a8fea596f(Object.assign({}, commonStyles, {
8886
8894
  offsets: state.modifiersData.popperOffsets,
@@ -8890,18 +8898,18 @@ function $03e421bdaa8eda14$var$computeStyles(_ref5) {
8890
8898
  })));
8891
8899
  if (state.modifiersData.arrow != null) state.styles.arrow = Object.assign({}, state.styles.arrow, $03e421bdaa8eda14$export$378fa78a8fea596f(Object.assign({}, commonStyles, {
8892
8900
  offsets: state.modifiersData.arrow,
8893
- position: "absolute",
8901
+ position: 'absolute',
8894
8902
  adaptive: false,
8895
8903
  roundOffsets: roundOffsets
8896
8904
  })));
8897
8905
  state.attributes.popper = Object.assign({}, state.attributes.popper, {
8898
- "data-popper-placement": state.placement
8906
+ 'data-popper-placement': state.placement
8899
8907
  });
8900
8908
  } // eslint-disable-next-line import/no-unused-modules
8901
8909
  var $03e421bdaa8eda14$export$2e2bcd8739ae039 = {
8902
- name: "computeStyles",
8910
+ name: 'computeStyles',
8903
8911
  enabled: true,
8904
- phase: "beforeWrite",
8912
+ phase: 'beforeWrite',
8905
8913
  fn: $03e421bdaa8eda14$var$computeStyles,
8906
8914
  data: {}
8907
8915
  };
@@ -8916,7 +8924,7 @@ function $b2dec03e76957d70$export$7fa02d8595b015ed(placement, rects, offset) {
8916
8924
  (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4),
8917
8925
  (0, $9b56e55559dfbda1$export$1e95b668f3b82d)
8918
8926
  ].indexOf(basePlacement) >= 0 ? -1 : 1;
8919
- var _ref = typeof offset === "function" ? offset(Object.assign({}, rects, {
8927
+ var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
8920
8928
  placement: placement
8921
8929
  })) : offset, skidding = _ref[0], distance = _ref[1];
8922
8930
  skidding = skidding || 0;
@@ -8950,21 +8958,21 @@ function $b2dec03e76957d70$var$offset(_ref2) {
8950
8958
  state.modifiersData[name] = data;
8951
8959
  } // eslint-disable-next-line import/no-unused-modules
8952
8960
  var $b2dec03e76957d70$export$2e2bcd8739ae039 = {
8953
- name: "offset",
8961
+ name: 'offset',
8954
8962
  enabled: true,
8955
- phase: "main",
8963
+ phase: 'main',
8956
8964
  requires: [
8957
- "popperOffsets"
8965
+ 'popperOffsets'
8958
8966
  ],
8959
8967
  fn: $b2dec03e76957d70$var$offset
8960
8968
  };
8961
8969
 
8962
8970
 
8963
8971
  var $e21601d0082602f5$var$hash = {
8964
- left: "right",
8965
- right: "left",
8966
- bottom: "top",
8967
- top: "bottom"
8972
+ left: 'right',
8973
+ right: 'left',
8974
+ bottom: 'top',
8975
+ top: 'bottom'
8968
8976
  };
8969
8977
  function $e21601d0082602f5$export$2e2bcd8739ae039(placement) {
8970
8978
  return placement.replace(/left|right|bottom|top/g, function(matched) {
@@ -8975,8 +8983,8 @@ function $e21601d0082602f5$export$2e2bcd8739ae039(placement) {
8975
8983
 
8976
8984
 
8977
8985
  var $e23a845ff98433e2$var$hash = {
8978
- start: "end",
8979
- end: "start"
8986
+ start: 'end',
8987
+ end: 'start'
8980
8988
  };
8981
8989
  function $e23a845ff98433e2$export$2e2bcd8739ae039(placement) {
8982
8990
  return placement.replace(/start|end/g, function(matched) {
@@ -9002,7 +9010,7 @@ function $ed6afea5d5a4d314$export$2e2bcd8739ae039(element, strategy) {
9002
9010
  width = visualViewport.width;
9003
9011
  height = visualViewport.height;
9004
9012
  var layoutViewport = (0, $f6bdda075fc14cbf$export$2e2bcd8739ae039)();
9005
- if (layoutViewport || !layoutViewport && strategy === "fixed") {
9013
+ if (layoutViewport || !layoutViewport && strategy === 'fixed') {
9006
9014
  x = visualViewport.offsetLeft;
9007
9015
  y = visualViewport.offsetTop;
9008
9016
  }
@@ -9030,7 +9038,7 @@ function $048158ac5222e515$export$2e2bcd8739ae039(element) {
9030
9038
  var height = (0, $a435872b5ba665df$export$8960430cfd85939f)(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
9031
9039
  var x = -winScroll.scrollLeft + (0, $05804587c501a8a1$export$2e2bcd8739ae039)(element);
9032
9040
  var y = -winScroll.scrollTop;
9033
- if ((0, $392247934674b5b4$export$2e2bcd8739ae039)(body || html).direction === "rtl") x += (0, $a435872b5ba665df$export$8960430cfd85939f)(html.clientWidth, body ? body.clientWidth : 0) - width;
9041
+ if ((0, $392247934674b5b4$export$2e2bcd8739ae039)(body || html).direction === 'rtl') x += (0, $a435872b5ba665df$export$8960430cfd85939f)(html.clientWidth, body ? body.clientWidth : 0) - width;
9034
9042
  return {
9035
9043
  width: width,
9036
9044
  height: height,
@@ -9076,7 +9084,7 @@ function $611b7cfc3d40c8f5$export$2e2bcd8739ae039(rect) {
9076
9084
 
9077
9085
 
9078
9086
  function $1ae21a55ad42cc80$var$getInnerBoundingClientRect(element, strategy) {
9079
- var rect = (0, $b854957821c00430$export$2e2bcd8739ae039)(element, false, strategy === "fixed");
9087
+ var rect = (0, $b854957821c00430$export$2e2bcd8739ae039)(element, false, strategy === 'fixed');
9080
9088
  rect.top = rect.top + element.clientTop;
9081
9089
  rect.left = rect.left + element.clientLeft;
9082
9090
  rect.bottom = rect.top + element.clientHeight;
@@ -9095,18 +9103,18 @@ function $1ae21a55ad42cc80$var$getClientRectFromMixedType(element, clippingParen
9095
9103
  function $1ae21a55ad42cc80$var$getClippingParents(element) {
9096
9104
  var clippingParents = (0, $f14b4e1cd31512ee$export$2e2bcd8739ae039)((0, $b1adb38089003474$export$2e2bcd8739ae039)(element));
9097
9105
  var canEscapeClipping = [
9098
- "absolute",
9099
- "fixed"
9106
+ 'absolute',
9107
+ 'fixed'
9100
9108
  ].indexOf((0, $392247934674b5b4$export$2e2bcd8739ae039)(element).position) >= 0;
9101
9109
  var clipperElement = canEscapeClipping && (0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(element) ? (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(element) : element;
9102
9110
  if (!(0, $1fa2a5446b18c455$export$45a5e7f76e0caa8d)(clipperElement)) return [];
9103
9111
  // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
9104
9112
  return clippingParents.filter(function(clippingParent) {
9105
- return (0, $1fa2a5446b18c455$export$45a5e7f76e0caa8d)(clippingParent) && (0, $d1f185f47d247fa7$export$2e2bcd8739ae039)(clippingParent, clipperElement) && (0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(clippingParent) !== "body";
9113
+ return (0, $1fa2a5446b18c455$export$45a5e7f76e0caa8d)(clippingParent) && (0, $d1f185f47d247fa7$export$2e2bcd8739ae039)(clippingParent, clipperElement) && (0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(clippingParent) !== 'body';
9106
9114
  });
9107
9115
  } // Gets the maximum area that the element is visible in due to any number of
9108
9116
  function $1ae21a55ad42cc80$export$2e2bcd8739ae039(element, boundary, rootBoundary, strategy) {
9109
- var mainClippingParents = boundary === "clippingParents" ? $1ae21a55ad42cc80$var$getClippingParents(element) : [].concat(boundary);
9117
+ var mainClippingParents = boundary === 'clippingParents' ? $1ae21a55ad42cc80$var$getClippingParents(element) : [].concat(boundary);
9110
9118
  var clippingParents = [].concat(mainClippingParents, [
9111
9119
  rootBoundary
9112
9120
  ]);
@@ -9159,7 +9167,7 @@ function $f5b522f3e076d616$export$2e2bcd8739ae039(value, keys) {
9159
9167
  function $223e3075705edc49$export$2e2bcd8739ae039(state, options) {
9160
9168
  if (options === void 0) options = {};
9161
9169
  var _options = options, _options$placement = _options.placement, placement = _options$placement === void 0 ? state.placement : _options$placement, _options$strategy = _options.strategy, strategy = _options$strategy === void 0 ? state.strategy : _options$strategy, _options$boundary = _options.boundary, boundary = _options$boundary === void 0 ? (0, $9b56e55559dfbda1$export$390fd549c5303b4d) : _options$boundary, _options$rootBoundary = _options.rootBoundary, rootBoundary = _options$rootBoundary === void 0 ? (0, $9b56e55559dfbda1$export$d7b7311ec04a3e8f) : _options$rootBoundary, _options$elementConte = _options.elementContext, elementContext = _options$elementConte === void 0 ? (0, $9b56e55559dfbda1$export$ae5ab1c730825774) : _options$elementConte, _options$altBoundary = _options.altBoundary, altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, _options$padding = _options.padding, padding = _options$padding === void 0 ? 0 : _options$padding;
9162
- var paddingObject = (0, $4867192599152955$export$2e2bcd8739ae039)(typeof padding !== "number" ? padding : (0, $f5b522f3e076d616$export$2e2bcd8739ae039)(padding, (0, $9b56e55559dfbda1$export$aec2ce47c367b8c3)));
9170
+ var paddingObject = (0, $4867192599152955$export$2e2bcd8739ae039)(typeof padding !== 'number' ? padding : (0, $f5b522f3e076d616$export$2e2bcd8739ae039)(padding, (0, $9b56e55559dfbda1$export$aec2ce47c367b8c3)));
9163
9171
  var altContext = elementContext === (0, $9b56e55559dfbda1$export$ae5ab1c730825774) ? (0, $9b56e55559dfbda1$export$ca50aac9f3ba507f) : (0, $9b56e55559dfbda1$export$ae5ab1c730825774);
9164
9172
  var popperRect = state.rects.popper;
9165
9173
  var element = state.elements[altBoundary ? altContext : elementContext];
@@ -9168,7 +9176,7 @@ function $223e3075705edc49$export$2e2bcd8739ae039(state, options) {
9168
9176
  var popperOffsets = (0, $05d4a7bd7e0110bf$export$2e2bcd8739ae039)({
9169
9177
  reference: referenceClientRect,
9170
9178
  element: popperRect,
9171
- strategy: "absolute",
9179
+ strategy: 'absolute',
9172
9180
  placement: placement
9173
9181
  });
9174
9182
  var popperClientRect = (0, $611b7cfc3d40c8f5$export$2e2bcd8739ae039)(Object.assign({}, popperRect, popperOffsets));
@@ -9191,7 +9199,7 @@ function $223e3075705edc49$export$2e2bcd8739ae039(state, options) {
9191
9199
  var axis = [
9192
9200
  (0, $9b56e55559dfbda1$export$1e95b668f3b82d),
9193
9201
  (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb)
9194
- ].indexOf(key) >= 0 ? "y" : "x";
9202
+ ].indexOf(key) >= 0 ? 'y' : 'x';
9195
9203
  overflowOffsets[key] += offset[axis] * multiply;
9196
9204
  });
9197
9205
  }
@@ -9276,7 +9284,7 @@ function $d886080699dc4994$var$flip(_ref) {
9276
9284
  (0, $9b56e55559dfbda1$export$1e95b668f3b82d),
9277
9285
  (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb)
9278
9286
  ].indexOf(_basePlacement) >= 0;
9279
- var len = isVertical ? "width" : "height";
9287
+ var len = isVertical ? 'width' : 'height';
9280
9288
  var overflow = (0, $223e3075705edc49$export$2e2bcd8739ae039)(state, {
9281
9289
  placement: placement,
9282
9290
  boundary: boundary,
@@ -9326,12 +9334,12 @@ function $d886080699dc4994$var$flip(_ref) {
9326
9334
  }
9327
9335
  } // eslint-disable-next-line import/no-unused-modules
9328
9336
  var $d886080699dc4994$export$2e2bcd8739ae039 = {
9329
- name: "flip",
9337
+ name: 'flip',
9330
9338
  enabled: true,
9331
- phase: "main",
9339
+ phase: 'main',
9332
9340
  fn: $d886080699dc4994$var$flip,
9333
9341
  requiresIfExists: [
9334
- "offset"
9342
+ 'offset'
9335
9343
  ],
9336
9344
  data: {
9337
9345
  _skip: false
@@ -9343,7 +9351,7 @@ var $d886080699dc4994$export$2e2bcd8739ae039 = {
9343
9351
 
9344
9352
 
9345
9353
  function $635c62073241bcfb$export$2e2bcd8739ae039(axis) {
9346
- return axis === "x" ? "y" : "x";
9354
+ return axis === 'x' ? 'y' : 'x';
9347
9355
  }
9348
9356
 
9349
9357
 
@@ -9380,10 +9388,10 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9380
9388
  var popperOffsets = state.modifiersData.popperOffsets;
9381
9389
  var referenceRect = state.rects.reference;
9382
9390
  var popperRect = state.rects.popper;
9383
- var tetherOffsetValue = typeof tetherOffset === "function" ? tetherOffset(Object.assign({}, state.rects, {
9391
+ var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
9384
9392
  placement: state.placement
9385
9393
  })) : tetherOffset;
9386
- var normalizedTetherOffsetValue = typeof tetherOffsetValue === "number" ? {
9394
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
9387
9395
  mainAxis: tetherOffsetValue,
9388
9396
  altAxis: tetherOffsetValue
9389
9397
  } : Object.assign({
@@ -9398,9 +9406,9 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9398
9406
  if (!popperOffsets) return;
9399
9407
  if (checkMainAxis) {
9400
9408
  var _offsetModifierState$;
9401
- var mainSide = mainAxis === "y" ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9402
- var altSide = mainAxis === "y" ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9403
- var len = mainAxis === "y" ? "height" : "width";
9409
+ var mainSide = mainAxis === 'y' ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9410
+ var altSide = mainAxis === 'y' ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9411
+ var len = mainAxis === 'y' ? 'height' : 'width';
9404
9412
  var offset = popperOffsets[mainAxis];
9405
9413
  var min = offset + overflow[mainSide];
9406
9414
  var max = offset - overflow[altSide];
@@ -9413,7 +9421,7 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9413
9421
  width: 0,
9414
9422
  height: 0
9415
9423
  };
9416
- var arrowPaddingObject = state.modifiersData["arrow#persistent"] ? state.modifiersData["arrow#persistent"].padding : (0, $d245fd553c91b4b7$export$2e2bcd8739ae039)();
9424
+ var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : (0, $d245fd553c91b4b7$export$2e2bcd8739ae039)();
9417
9425
  var arrowPaddingMin = arrowPaddingObject[mainSide];
9418
9426
  var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
9419
9427
  // to include its full size in the calculation. If the reference is small
@@ -9424,7 +9432,7 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9424
9432
  var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
9425
9433
  var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
9426
9434
  var arrowOffsetParent = state.elements.arrow && (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(state.elements.arrow);
9427
- var clientOffset = arrowOffsetParent ? mainAxis === "y" ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
9435
+ var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
9428
9436
  var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
9429
9437
  var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
9430
9438
  var tetherMax = offset + maxOffset - offsetModifierValue;
@@ -9434,10 +9442,10 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9434
9442
  }
9435
9443
  if (checkAltAxis) {
9436
9444
  var _offsetModifierState$2;
9437
- var _mainSide = mainAxis === "x" ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9438
- var _altSide = mainAxis === "x" ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9445
+ var _mainSide = mainAxis === 'x' ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9446
+ var _altSide = mainAxis === 'x' ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9439
9447
  var _offset = popperOffsets[altAxis];
9440
- var _len = altAxis === "y" ? "height" : "width";
9448
+ var _len = altAxis === 'y' ? 'height' : 'width';
9441
9449
  var _min = _offset + overflow[_mainSide];
9442
9450
  var _max = _offset - overflow[_altSide];
9443
9451
  var isOriginSide = [
@@ -9454,12 +9462,12 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9454
9462
  state.modifiersData[name] = data;
9455
9463
  } // eslint-disable-next-line import/no-unused-modules
9456
9464
  var $59ad2e7a9286a2b9$export$2e2bcd8739ae039 = {
9457
- name: "preventOverflow",
9465
+ name: 'preventOverflow',
9458
9466
  enabled: true,
9459
- phase: "main",
9467
+ phase: 'main',
9460
9468
  fn: $59ad2e7a9286a2b9$var$preventOverflow,
9461
9469
  requiresIfExists: [
9462
- "offset"
9470
+ 'offset'
9463
9471
  ]
9464
9472
  };
9465
9473
 
@@ -9474,10 +9482,10 @@ var $59ad2e7a9286a2b9$export$2e2bcd8739ae039 = {
9474
9482
 
9475
9483
 
9476
9484
  var $84962ce4645f8891$var$toPaddingObject = function toPaddingObject(padding, state) {
9477
- padding = typeof padding === "function" ? padding(Object.assign({}, state.rects, {
9485
+ padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
9478
9486
  placement: state.placement
9479
9487
  })) : padding;
9480
- return (0, $4867192599152955$export$2e2bcd8739ae039)(typeof padding !== "number" ? padding : (0, $f5b522f3e076d616$export$2e2bcd8739ae039)(padding, (0, $9b56e55559dfbda1$export$aec2ce47c367b8c3)));
9488
+ return (0, $4867192599152955$export$2e2bcd8739ae039)(typeof padding !== 'number' ? padding : (0, $f5b522f3e076d616$export$2e2bcd8739ae039)(padding, (0, $9b56e55559dfbda1$export$aec2ce47c367b8c3)));
9481
9489
  };
9482
9490
  function $84962ce4645f8891$var$arrow(_ref) {
9483
9491
  var _state$modifiersData$;
@@ -9490,16 +9498,16 @@ function $84962ce4645f8891$var$arrow(_ref) {
9490
9498
  (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4),
9491
9499
  (0, $9b56e55559dfbda1$export$79ffe56a765070d2)
9492
9500
  ].indexOf(basePlacement) >= 0;
9493
- var len = isVertical ? "height" : "width";
9501
+ var len = isVertical ? 'height' : 'width';
9494
9502
  if (!arrowElement || !popperOffsets) return;
9495
9503
  var paddingObject = $84962ce4645f8891$var$toPaddingObject(options.padding, state);
9496
9504
  var arrowRect = (0, $e287ac773d355028$export$2e2bcd8739ae039)(arrowElement);
9497
- var minProp = axis === "y" ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9498
- var maxProp = axis === "y" ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9505
+ var minProp = axis === 'y' ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9506
+ var maxProp = axis === 'y' ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9499
9507
  var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
9500
9508
  var startDiff = popperOffsets[axis] - state.rects.reference[axis];
9501
9509
  var arrowOffsetParent = (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(arrowElement);
9502
- var clientSize = arrowOffsetParent ? axis === "y" ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
9510
+ var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
9503
9511
  var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
9504
9512
  // outside of the popper bounds
9505
9513
  var min = paddingObject[minProp];
@@ -9511,10 +9519,10 @@ function $84962ce4645f8891$var$arrow(_ref) {
9511
9519
  }
9512
9520
  function $84962ce4645f8891$var$effect(_ref2) {
9513
9521
  var state = _ref2.state, options = _ref2.options;
9514
- var _options$element = options.element, arrowElement = _options$element === void 0 ? "[data-popper-arrow]" : _options$element;
9522
+ var _options$element = options.element, arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
9515
9523
  if (arrowElement == null) return;
9516
9524
  // CSS selector
9517
- if (typeof arrowElement === "string") {
9525
+ if (typeof arrowElement === 'string') {
9518
9526
  arrowElement = state.elements.popper.querySelector(arrowElement);
9519
9527
  if (!arrowElement) return;
9520
9528
  }
@@ -9522,16 +9530,16 @@ function $84962ce4645f8891$var$effect(_ref2) {
9522
9530
  state.elements.arrow = arrowElement;
9523
9531
  } // eslint-disable-next-line import/no-unused-modules
9524
9532
  var $84962ce4645f8891$export$2e2bcd8739ae039 = {
9525
- name: "arrow",
9533
+ name: 'arrow',
9526
9534
  enabled: true,
9527
- phase: "main",
9535
+ phase: 'main',
9528
9536
  fn: $84962ce4645f8891$var$arrow,
9529
9537
  effect: $84962ce4645f8891$var$effect,
9530
9538
  requires: [
9531
- "popperOffsets"
9539
+ 'popperOffsets'
9532
9540
  ],
9533
9541
  requiresIfExists: [
9534
- "preventOverflow"
9542
+ 'preventOverflow'
9535
9543
  ]
9536
9544
  };
9537
9545
 
@@ -9566,7 +9574,7 @@ function $c7da519ecac238a3$var$hide(_ref) {
9566
9574
  var popperRect = state.rects.popper;
9567
9575
  var preventedOffsets = state.modifiersData.preventOverflow;
9568
9576
  var referenceOverflow = (0, $223e3075705edc49$export$2e2bcd8739ae039)(state, {
9569
- elementContext: "reference"
9577
+ elementContext: 'reference'
9570
9578
  });
9571
9579
  var popperAltOverflow = (0, $223e3075705edc49$export$2e2bcd8739ae039)(state, {
9572
9580
  altBoundary: true
@@ -9582,16 +9590,16 @@ function $c7da519ecac238a3$var$hide(_ref) {
9582
9590
  hasPopperEscaped: hasPopperEscaped
9583
9591
  };
9584
9592
  state.attributes.popper = Object.assign({}, state.attributes.popper, {
9585
- "data-popper-reference-hidden": isReferenceHidden,
9586
- "data-popper-escaped": hasPopperEscaped
9593
+ 'data-popper-reference-hidden': isReferenceHidden,
9594
+ 'data-popper-escaped': hasPopperEscaped
9587
9595
  });
9588
9596
  } // eslint-disable-next-line import/no-unused-modules
9589
9597
  var $c7da519ecac238a3$export$2e2bcd8739ae039 = {
9590
- name: "hide",
9598
+ name: 'hide',
9591
9599
  enabled: true,
9592
- phase: "main",
9600
+ phase: 'main',
9593
9601
  requiresIfExists: [
9594
- "preventOverflow"
9602
+ 'preventOverflow'
9595
9603
  ],
9596
9604
  fn: $c7da519ecac238a3$var$hide
9597
9605
  };
@@ -9640,10 +9648,10 @@ function $b013befce1f6217f$var$getValueAtIndexOrReturn(value, index, defaultValu
9640
9648
  }
9641
9649
  function $b013befce1f6217f$var$isType(value, type) {
9642
9650
  var str = ({}).toString.call(value);
9643
- return str.indexOf("[object") === 0 && str.indexOf(type + "]") > -1;
9651
+ return str.indexOf('[object') === 0 && str.indexOf(type + "]") > -1;
9644
9652
  }
9645
9653
  function $b013befce1f6217f$var$invokeWithArgsOrReturn(value, args) {
9646
- return typeof value === "function" ? value.apply(void 0, args) : value;
9654
+ return typeof value === 'function' ? value.apply(void 0, args) : value;
9647
9655
  }
9648
9656
  function $b013befce1f6217f$var$debounce(fn, ms) {
9649
9657
  // Avoid wrapping in `setTimeout` if ms is 0 anyway
@@ -9678,7 +9686,7 @@ function $b013befce1f6217f$var$unique(arr) {
9678
9686
  });
9679
9687
  }
9680
9688
  function $b013befce1f6217f$var$getBasePlacement(placement) {
9681
- return placement.split("-")[0];
9689
+ return placement.split('-')[0];
9682
9690
  }
9683
9691
  function $b013befce1f6217f$var$arrayFrom(value) {
9684
9692
  return [].slice.call(value);
@@ -9690,21 +9698,21 @@ function $b013befce1f6217f$var$removeUndefinedProps(obj) {
9690
9698
  }, {});
9691
9699
  }
9692
9700
  function $b013befce1f6217f$var$div() {
9693
- return document.createElement("div");
9701
+ return document.createElement('div');
9694
9702
  }
9695
9703
  function $b013befce1f6217f$var$isElement(value) {
9696
9704
  return [
9697
- "Element",
9698
- "Fragment"
9705
+ 'Element',
9706
+ 'Fragment'
9699
9707
  ].some(function(type) {
9700
9708
  return $b013befce1f6217f$var$isType(value, type);
9701
9709
  });
9702
9710
  }
9703
9711
  function $b013befce1f6217f$var$isNodeList(value) {
9704
- return $b013befce1f6217f$var$isType(value, "NodeList");
9712
+ return $b013befce1f6217f$var$isType(value, 'NodeList');
9705
9713
  }
9706
9714
  function $b013befce1f6217f$var$isMouseEvent(value) {
9707
- return $b013befce1f6217f$var$isType(value, "MouseEvent");
9715
+ return $b013befce1f6217f$var$isType(value, 'MouseEvent');
9708
9716
  }
9709
9717
  function $b013befce1f6217f$var$isReferenceElement(value) {
9710
9718
  return !!(value && value._tippy && value._tippy.reference === value);
@@ -9724,7 +9732,7 @@ function $b013befce1f6217f$var$setTransitionDuration(els, value) {
9724
9732
  }
9725
9733
  function $b013befce1f6217f$var$setVisibilityState(els, state) {
9726
9734
  els.forEach(function(el) {
9727
- if (el) el.setAttribute("data-state", state);
9735
+ if (el) el.setAttribute('data-state', state);
9728
9736
  });
9729
9737
  }
9730
9738
  function $b013befce1f6217f$var$getOwnerDocument(elementOrElements) {
@@ -9740,10 +9748,10 @@ function $b013befce1f6217f$var$isCursorOutsideInteractiveBorder(popperTreeData,
9740
9748
  var basePlacement = $b013befce1f6217f$var$getBasePlacement(popperState.placement);
9741
9749
  var offsetData = popperState.modifiersData.offset;
9742
9750
  if (!offsetData) return true;
9743
- var topDistance = basePlacement === "bottom" ? offsetData.top.y : 0;
9744
- var bottomDistance = basePlacement === "top" ? offsetData.bottom.y : 0;
9745
- var leftDistance = basePlacement === "right" ? offsetData.left.x : 0;
9746
- var rightDistance = basePlacement === "left" ? offsetData.right.x : 0;
9751
+ var topDistance = basePlacement === 'bottom' ? offsetData.top.y : 0;
9752
+ var bottomDistance = basePlacement === 'top' ? offsetData.bottom.y : 0;
9753
+ var leftDistance = basePlacement === 'right' ? offsetData.left.x : 0;
9754
+ var rightDistance = basePlacement === 'left' ? offsetData.right.x : 0;
9747
9755
  var exceedsTop = popperRect.top - clientY + topDistance > interactiveBorder;
9748
9756
  var exceedsBottom = clientY - popperRect.bottom - bottomDistance > interactiveBorder;
9749
9757
  var exceedsLeft = popperRect.left - clientX + leftDistance > interactiveBorder;
@@ -9755,8 +9763,8 @@ function $b013befce1f6217f$var$updateTransitionEndListener(box, action, listener
9755
9763
  var method = action + "EventListener"; // some browsers apparently support `transition` (unprefixed) but only fire
9756
9764
  // `webkitTransitionEnd`...
9757
9765
  [
9758
- "transitionend",
9759
- "webkitTransitionEnd"
9766
+ 'transitionend',
9767
+ 'webkitTransitionEnd'
9760
9768
  ].forEach(function(event) {
9761
9769
  box[method](event, listener);
9762
9770
  });
@@ -9785,7 +9793,7 @@ var $b013befce1f6217f$var$lastMouseMoveTime = 0;
9785
9793
  */ function $b013befce1f6217f$var$onDocumentTouchStart() {
9786
9794
  if ($b013befce1f6217f$var$currentInput.isTouch) return;
9787
9795
  $b013befce1f6217f$var$currentInput.isTouch = true;
9788
- if (window.performance) document.addEventListener("mousemove", $b013befce1f6217f$var$onDocumentMouseMove);
9796
+ if (window.performance) document.addEventListener('mousemove', $b013befce1f6217f$var$onDocumentMouseMove);
9789
9797
  }
9790
9798
  /**
9791
9799
  * When two `mousemove` event are fired consecutively within 20ms, it's assumed
@@ -9795,7 +9803,7 @@ var $b013befce1f6217f$var$lastMouseMoveTime = 0;
9795
9803
  var now = performance.now();
9796
9804
  if (now - $b013befce1f6217f$var$lastMouseMoveTime < 20) {
9797
9805
  $b013befce1f6217f$var$currentInput.isTouch = false;
9798
- document.removeEventListener("mousemove", $b013befce1f6217f$var$onDocumentMouseMove);
9806
+ document.removeEventListener('mousemove', $b013befce1f6217f$var$onDocumentMouseMove);
9799
9807
  }
9800
9808
  $b013befce1f6217f$var$lastMouseMoveTime = now;
9801
9809
  }
@@ -9812,22 +9820,22 @@ var $b013befce1f6217f$var$lastMouseMoveTime = 0;
9812
9820
  }
9813
9821
  }
9814
9822
  function $b013befce1f6217f$var$bindGlobalEventListeners() {
9815
- document.addEventListener("touchstart", $b013befce1f6217f$var$onDocumentTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
9816
- window.addEventListener("blur", $b013befce1f6217f$var$onWindowBlur);
9823
+ document.addEventListener('touchstart', $b013befce1f6217f$var$onDocumentTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
9824
+ window.addEventListener('blur', $b013befce1f6217f$var$onWindowBlur);
9817
9825
  }
9818
- var $b013befce1f6217f$var$isBrowser = typeof window !== "undefined" && typeof document !== "undefined";
9826
+ var $b013befce1f6217f$var$isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
9819
9827
  var $b013befce1f6217f$var$isIE11 = $b013befce1f6217f$var$isBrowser ? !!window.msCrypto : false;
9820
9828
  function $b013befce1f6217f$var$createMemoryLeakWarning(method) {
9821
- var txt = method === "destroy" ? "n already-" : " ";
9829
+ var txt = method === 'destroy' ? 'n already-' : ' ';
9822
9830
  return [
9823
9831
  method + "() was called on a" + txt + "destroyed instance. This is a no-op but",
9824
- "indicates a potential memory leak."
9825
- ].join(" ");
9832
+ 'indicates a potential memory leak.'
9833
+ ].join(' ');
9826
9834
  }
9827
9835
  function $b013befce1f6217f$var$clean(value) {
9828
9836
  var spacesAndTabs = /[ \t]{2,}/g;
9829
9837
  var lineStartWithSpaces = /^[ \t]*/gm;
9830
- return value.replace(spacesAndTabs, " ").replace(lineStartWithSpaces, "").trim();
9838
+ return value.replace(spacesAndTabs, ' ').replace(lineStartWithSpaces, '').trim();
9831
9839
  }
9832
9840
  function $b013befce1f6217f$var$getDevMessage(message) {
9833
9841
  return $b013befce1f6217f$var$clean("\n %ctippy.js\n\n %c" + $b013befce1f6217f$var$clean(message) + "\n\n %c\uD83D\uDC77\u200D This is a development-only message. It will be removed in production.\n ");
@@ -9835,9 +9843,9 @@ function $b013befce1f6217f$var$getDevMessage(message) {
9835
9843
  function $b013befce1f6217f$var$getFormattedMessage(message) {
9836
9844
  return [
9837
9845
  $b013befce1f6217f$var$getDevMessage(message),
9838
- "color: #00C584; font-size: 1.3em; font-weight: bold;",
9839
- "line-height: 1.5",
9840
- "color: #a6a095;"
9846
+ 'color: #00C584; font-size: 1.3em; font-weight: bold;',
9847
+ 'line-height: 1.5',
9848
+ 'color: #a6a095;'
9841
9849
  ];
9842
9850
  } // Assume warnings and errors never have the same message
9843
9851
  var $b013befce1f6217f$var$visitedMessages;
@@ -9860,17 +9868,17 @@ function $b013befce1f6217f$var$errorWhen(condition, message) {
9860
9868
  }
9861
9869
  function $b013befce1f6217f$var$validateTargets(targets) {
9862
9870
  var didPassFalsyValue = !targets;
9863
- var didPassPlainObject = Object.prototype.toString.call(targets) === "[object Object]" && !targets.addEventListener;
9871
+ var didPassPlainObject = Object.prototype.toString.call(targets) === '[object Object]' && !targets.addEventListener;
9864
9872
  $b013befce1f6217f$var$errorWhen(didPassFalsyValue, [
9865
- "tippy() was passed",
9866
- "`" + String(targets) + "`",
9867
- "as its targets (first) argument. Valid types are: String, Element,",
9868
- "Element[], or NodeList."
9869
- ].join(" "));
9873
+ 'tippy() was passed',
9874
+ '`' + String(targets) + '`',
9875
+ 'as its targets (first) argument. Valid types are: String, Element,',
9876
+ 'Element[], or NodeList.'
9877
+ ].join(' '));
9870
9878
  $b013befce1f6217f$var$errorWhen(didPassPlainObject, [
9871
- "tippy() was passed a plain object which is not supported as an argument",
9872
- "for virtual positioning. Use props.getReferenceClientRect instead."
9873
- ].join(" "));
9879
+ 'tippy() was passed a plain object which is not supported as an argument',
9880
+ 'for virtual positioning. Use props.getReferenceClientRect instead.'
9881
+ ].join(' '));
9874
9882
  }
9875
9883
  var $b013befce1f6217f$var$pluginProps = {
9876
9884
  animateFill: false,
@@ -9880,20 +9888,20 @@ var $b013befce1f6217f$var$pluginProps = {
9880
9888
  };
9881
9889
  var $b013befce1f6217f$var$renderProps = {
9882
9890
  allowHTML: false,
9883
- animation: "fade",
9891
+ animation: 'fade',
9884
9892
  arrow: true,
9885
- content: "",
9893
+ content: '',
9886
9894
  inertia: false,
9887
9895
  maxWidth: 350,
9888
- role: "tooltip",
9889
- theme: "",
9896
+ role: 'tooltip',
9897
+ theme: '',
9890
9898
  zIndex: 9999
9891
9899
  };
9892
9900
  var $b013befce1f6217f$var$defaultProps = Object.assign({
9893
9901
  appendTo: $b013befce1f6217f$var$TIPPY_DEFAULT_APPEND_TO,
9894
9902
  aria: {
9895
- content: "auto",
9896
- expanded: "auto"
9903
+ content: 'auto',
9904
+ expanded: 'auto'
9897
9905
  },
9898
9906
  delay: 0,
9899
9907
  duration: [
@@ -9906,7 +9914,7 @@ var $b013befce1f6217f$var$defaultProps = Object.assign({
9906
9914
  interactive: false,
9907
9915
  interactiveBorder: 2,
9908
9916
  interactiveDebounce: 0,
9909
- moveTransition: "",
9917
+ moveTransition: '',
9910
9918
  offset: [
9911
9919
  0,
9912
9920
  10
@@ -9923,13 +9931,13 @@ var $b013befce1f6217f$var$defaultProps = Object.assign({
9923
9931
  onTrigger: function onTrigger() {},
9924
9932
  onUntrigger: function onUntrigger() {},
9925
9933
  onClickOutside: function onClickOutside() {},
9926
- placement: "top",
9934
+ placement: 'top',
9927
9935
  plugins: [],
9928
9936
  popperOptions: {},
9929
9937
  render: null,
9930
9938
  showOnCreate: false,
9931
9939
  touch: true,
9932
- trigger: "mouseenter focus",
9940
+ trigger: 'mouseenter focus',
9933
9941
  triggerTarget: null
9934
9942
  }, $b013befce1f6217f$var$pluginProps, $b013befce1f6217f$var$renderProps);
9935
9943
  var $b013befce1f6217f$var$defaultKeys = Object.keys($b013befce1f6217f$var$defaultProps);
@@ -9956,9 +9964,9 @@ function $b013befce1f6217f$var$getDataAttributeProps(reference, plugins) {
9956
9964
  plugins: plugins
9957
9965
  }))) : $b013befce1f6217f$var$defaultKeys;
9958
9966
  var props = propKeys.reduce(function(acc, key) {
9959
- var valueAsString = (reference.getAttribute("data-tippy-" + key) || "").trim();
9967
+ var valueAsString = (reference.getAttribute("data-tippy-" + key) || '').trim();
9960
9968
  if (!valueAsString) return acc;
9961
- if (key === "content") acc[key] = valueAsString;
9969
+ if (key === 'content') acc[key] = valueAsString;
9962
9970
  else try {
9963
9971
  acc[key] = JSON.parse(valueAsString);
9964
9972
  } catch (e) {
@@ -9976,8 +9984,8 @@ function $b013befce1f6217f$var$evaluateProps(reference, props) {
9976
9984
  }, props.ignoreAttributes ? {} : $b013befce1f6217f$var$getDataAttributeProps(reference, props.plugins));
9977
9985
  out.aria = Object.assign({}, $b013befce1f6217f$var$defaultProps.aria, out.aria);
9978
9986
  out.aria = {
9979
- expanded: out.aria.expanded === "auto" ? props.interactive : out.aria.expanded,
9980
- content: out.aria.content === "auto" ? props.interactive ? null : "describedby" : out.aria.content
9987
+ expanded: out.aria.expanded === 'auto' ? props.interactive : out.aria.expanded,
9988
+ content: out.aria.content === 'auto' ? props.interactive ? null : 'describedby' : out.aria.content
9981
9989
  };
9982
9990
  return out;
9983
9991
  }
@@ -9994,15 +10002,15 @@ function $b013befce1f6217f$var$validateProps(partialProps, plugins) {
9994
10002
  $b013befce1f6217f$var$warnWhen(didPassUnknownProp, [
9995
10003
  "`" + prop + "`",
9996
10004
  "is not a valid prop. You may have spelled it incorrectly, or if it's",
9997
- "a plugin, forgot to pass it in an array as props.plugins.",
9998
- "\n\n",
9999
- "All props: https://atomiks.github.io/tippyjs/v6/all-props/\n",
10000
- "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"
10001
- ].join(" "));
10005
+ 'a plugin, forgot to pass it in an array as props.plugins.',
10006
+ '\n\n',
10007
+ 'All props: https://atomiks.github.io/tippyjs/v6/all-props/\n',
10008
+ 'Plugins: https://atomiks.github.io/tippyjs/v6/plugins/'
10009
+ ].join(' '));
10002
10010
  });
10003
10011
  }
10004
10012
  var $b013befce1f6217f$var$innerHTML = function innerHTML() {
10005
- return "innerHTML";
10013
+ return 'innerHTML';
10006
10014
  };
10007
10015
  function $b013befce1f6217f$var$dangerouslySetInnerHTML(element, html) {
10008
10016
  element[$b013befce1f6217f$var$innerHTML()] = html;
@@ -10019,9 +10027,9 @@ function $b013befce1f6217f$var$createArrowElement(value) {
10019
10027
  }
10020
10028
  function $b013befce1f6217f$var$setContent(content, props) {
10021
10029
  if ($b013befce1f6217f$var$isElement(props.content)) {
10022
- $b013befce1f6217f$var$dangerouslySetInnerHTML(content, "");
10030
+ $b013befce1f6217f$var$dangerouslySetInnerHTML(content, '');
10023
10031
  content.appendChild(props.content);
10024
- } else if (typeof props.content !== "function") {
10032
+ } else if (typeof props.content !== 'function') {
10025
10033
  if (props.allowHTML) $b013befce1f6217f$var$dangerouslySetInnerHTML(content, props.content);
10026
10034
  else content.textContent = props.content;
10027
10035
  }
@@ -10046,26 +10054,26 @@ function $b013befce1f6217f$var$render(instance) {
10046
10054
  var popper = $b013befce1f6217f$var$div();
10047
10055
  var box = $b013befce1f6217f$var$div();
10048
10056
  box.className = $b013befce1f6217f$var$BOX_CLASS;
10049
- box.setAttribute("data-state", "hidden");
10050
- box.setAttribute("tabindex", "-1");
10057
+ box.setAttribute('data-state', 'hidden');
10058
+ box.setAttribute('tabindex', '-1');
10051
10059
  var content = $b013befce1f6217f$var$div();
10052
10060
  content.className = $b013befce1f6217f$var$CONTENT_CLASS;
10053
- content.setAttribute("data-state", "hidden");
10061
+ content.setAttribute('data-state', 'hidden');
10054
10062
  $b013befce1f6217f$var$setContent(content, instance.props);
10055
10063
  popper.appendChild(box);
10056
10064
  box.appendChild(content);
10057
10065
  onUpdate(instance.props, instance.props);
10058
10066
  function onUpdate(prevProps, nextProps) {
10059
10067
  var _getChildren = $b013befce1f6217f$var$getChildren(popper), box = _getChildren.box, content = _getChildren.content, arrow = _getChildren.arrow;
10060
- if (nextProps.theme) box.setAttribute("data-theme", nextProps.theme);
10061
- else box.removeAttribute("data-theme");
10062
- if (typeof nextProps.animation === "string") box.setAttribute("data-animation", nextProps.animation);
10063
- else box.removeAttribute("data-animation");
10064
- if (nextProps.inertia) box.setAttribute("data-inertia", "");
10065
- else box.removeAttribute("data-inertia");
10066
- box.style.maxWidth = typeof nextProps.maxWidth === "number" ? nextProps.maxWidth + "px" : nextProps.maxWidth;
10067
- if (nextProps.role) box.setAttribute("role", nextProps.role);
10068
- else box.removeAttribute("role");
10068
+ if (nextProps.theme) box.setAttribute('data-theme', nextProps.theme);
10069
+ else box.removeAttribute('data-theme');
10070
+ if (typeof nextProps.animation === 'string') box.setAttribute('data-animation', nextProps.animation);
10071
+ else box.removeAttribute('data-animation');
10072
+ if (nextProps.inertia) box.setAttribute('data-inertia', '');
10073
+ else box.removeAttribute('data-inertia');
10074
+ box.style.maxWidth = typeof nextProps.maxWidth === 'number' ? nextProps.maxWidth + "px" : nextProps.maxWidth;
10075
+ if (nextProps.role) box.setAttribute('role', nextProps.role);
10076
+ else box.removeAttribute('role');
10069
10077
  if (prevProps.content !== nextProps.content || prevProps.allowHTML !== nextProps.allowHTML) $b013befce1f6217f$var$setContent(content, instance.props);
10070
10078
  if (nextProps.arrow) {
10071
10079
  if (!arrow) box.appendChild($b013befce1f6217f$var$createArrowElement(nextProps.arrow));
@@ -10146,7 +10154,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10146
10154
  // Initial mutations
10147
10155
  // ===========================================================================
10148
10156
  var _props$render = props.render(instance), popper = _props$render.popper, onUpdate = _props$render.onUpdate;
10149
- popper.setAttribute("data-tippy-root", "");
10157
+ popper.setAttribute('data-tippy-root', '');
10150
10158
  popper.id = "tippy-" + instance.id;
10151
10159
  instance.popper = popper;
10152
10160
  reference._tippy = instance;
@@ -10154,21 +10162,21 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10154
10162
  var pluginsHooks = plugins.map(function(plugin) {
10155
10163
  return plugin.fn(instance);
10156
10164
  });
10157
- var hasAriaExpanded = reference.hasAttribute("aria-expanded");
10165
+ var hasAriaExpanded = reference.hasAttribute('aria-expanded');
10158
10166
  addListeners();
10159
10167
  handleAriaExpandedAttribute();
10160
10168
  handleStyles();
10161
- invokeHook("onCreate", [
10169
+ invokeHook('onCreate', [
10162
10170
  instance
10163
10171
  ]);
10164
10172
  if (props.showOnCreate) scheduleShow();
10165
10173
  // Prevent a tippy with a delay from hiding if the cursor left then returned
10166
10174
  // before it started hiding
10167
- popper.addEventListener("mouseenter", function() {
10175
+ popper.addEventListener('mouseenter', function() {
10168
10176
  if (instance.props.interactive && instance.state.isVisible) instance.clearDelayTimeouts();
10169
10177
  });
10170
- popper.addEventListener("mouseleave", function() {
10171
- if (instance.props.interactive && instance.props.trigger.indexOf("mouseenter") >= 0) getDocument().addEventListener("mousemove", debouncedOnMouseMove);
10178
+ popper.addEventListener('mouseleave', function() {
10179
+ if (instance.props.interactive && instance.props.trigger.indexOf('mouseenter') >= 0) getDocument().addEventListener('mousemove', debouncedOnMouseMove);
10172
10180
  });
10173
10181
  return instance; // ===========================================================================
10174
10182
  // 🔒 Private methods
@@ -10181,7 +10189,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10181
10189
  ];
10182
10190
  }
10183
10191
  function getIsCustomTouchBehavior() {
10184
- return getNormalizedTouchSettings()[0] === "hold";
10192
+ return getNormalizedTouchSettings()[0] === 'hold';
10185
10193
  }
10186
10194
  function getIsDefaultRenderFn() {
10187
10195
  var _instance$props$rende;
@@ -10202,12 +10210,12 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10202
10210
  // For touch or keyboard input, force `0` delay for UX reasons
10203
10211
  // Also if the instance is mounted but not visible (transitioning out),
10204
10212
  // ignore delay
10205
- if (instance.state.isMounted && !instance.state.isVisible || $b013befce1f6217f$var$currentInput.isTouch || lastTriggerEvent && lastTriggerEvent.type === "focus") return 0;
10213
+ if (instance.state.isMounted && !instance.state.isVisible || $b013befce1f6217f$var$currentInput.isTouch || lastTriggerEvent && lastTriggerEvent.type === 'focus') return 0;
10206
10214
  return $b013befce1f6217f$var$getValueAtIndexOrReturn(instance.props.delay, isShow ? 0 : 1, $b013befce1f6217f$var$defaultProps.delay);
10207
10215
  }
10208
10216
  function handleStyles(fromHide) {
10209
10217
  if (fromHide === void 0) fromHide = false;
10210
- popper.style.pointerEvents = instance.props.interactive && !fromHide ? "" : "none";
10218
+ popper.style.pointerEvents = instance.props.interactive && !fromHide ? '' : 'none';
10211
10219
  popper.style.zIndex = "" + instance.props.zIndex;
10212
10220
  }
10213
10221
  function invokeHook(hook, args, shouldInvokePropsHook) {
@@ -10230,7 +10238,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10230
10238
  var currentValue = node.getAttribute(attr);
10231
10239
  if (instance.state.isVisible) node.setAttribute(attr, currentValue ? currentValue + " " + id : id);
10232
10240
  else {
10233
- var nextValue = currentValue && currentValue.replace(id, "").trim();
10241
+ var nextValue = currentValue && currentValue.replace(id, '').trim();
10234
10242
  if (nextValue) node.setAttribute(attr, nextValue);
10235
10243
  else node.removeAttribute(attr);
10236
10244
  }
@@ -10240,12 +10248,12 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10240
10248
  if (hasAriaExpanded || !instance.props.aria.expanded) return;
10241
10249
  var nodes = $b013befce1f6217f$var$normalizeToArray(instance.props.triggerTarget || reference);
10242
10250
  nodes.forEach(function(node) {
10243
- if (instance.props.interactive) node.setAttribute("aria-expanded", instance.state.isVisible && node === getCurrentTarget() ? "true" : "false");
10244
- else node.removeAttribute("aria-expanded");
10251
+ if (instance.props.interactive) node.setAttribute('aria-expanded', instance.state.isVisible && node === getCurrentTarget() ? 'true' : 'false');
10252
+ else node.removeAttribute('aria-expanded');
10245
10253
  });
10246
10254
  }
10247
10255
  function cleanupInteractiveMouseListeners() {
10248
- getDocument().removeEventListener("mousemove", debouncedOnMouseMove);
10256
+ getDocument().removeEventListener('mousemove', debouncedOnMouseMove);
10249
10257
  $b013befce1f6217f$var$mouseMoveListeners = $b013befce1f6217f$var$mouseMoveListeners.filter(function(listener) {
10250
10258
  return listener !== debouncedOnMouseMove;
10251
10259
  });
@@ -10253,7 +10261,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10253
10261
  function onDocumentPress(event) {
10254
10262
  // Moved finger to scroll instead of an intentional tap outside
10255
10263
  if ($b013befce1f6217f$var$currentInput.isTouch) {
10256
- if (didTouchMove || event.type === "mousedown") return;
10264
+ if (didTouchMove || event.type === 'mousedown') return;
10257
10265
  }
10258
10266
  var actualTarget = event.composedPath && event.composedPath()[0] || event.target; // Clicked on interactive popper
10259
10267
  if (instance.props.interactive && $b013befce1f6217f$var$actualContains(popper, actualTarget)) return;
@@ -10262,8 +10270,8 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10262
10270
  return $b013befce1f6217f$var$actualContains(el, actualTarget);
10263
10271
  })) {
10264
10272
  if ($b013befce1f6217f$var$currentInput.isTouch) return;
10265
- if (instance.state.isVisible && instance.props.trigger.indexOf("click") >= 0) return;
10266
- } else invokeHook("onClickOutside", [
10273
+ if (instance.state.isVisible && instance.props.trigger.indexOf('click') >= 0) return;
10274
+ } else invokeHook('onClickOutside', [
10267
10275
  instance,
10268
10276
  event
10269
10277
  ]);
@@ -10289,17 +10297,17 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10289
10297
  }
10290
10298
  function addDocumentPress() {
10291
10299
  var doc = getDocument();
10292
- doc.addEventListener("mousedown", onDocumentPress, true);
10293
- doc.addEventListener("touchend", onDocumentPress, $b013befce1f6217f$var$TOUCH_OPTIONS);
10294
- doc.addEventListener("touchstart", onTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
10295
- doc.addEventListener("touchmove", onTouchMove, $b013befce1f6217f$var$TOUCH_OPTIONS);
10300
+ doc.addEventListener('mousedown', onDocumentPress, true);
10301
+ doc.addEventListener('touchend', onDocumentPress, $b013befce1f6217f$var$TOUCH_OPTIONS);
10302
+ doc.addEventListener('touchstart', onTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
10303
+ doc.addEventListener('touchmove', onTouchMove, $b013befce1f6217f$var$TOUCH_OPTIONS);
10296
10304
  }
10297
10305
  function removeDocumentPress() {
10298
10306
  var doc = getDocument();
10299
- doc.removeEventListener("mousedown", onDocumentPress, true);
10300
- doc.removeEventListener("touchend", onDocumentPress, $b013befce1f6217f$var$TOUCH_OPTIONS);
10301
- doc.removeEventListener("touchstart", onTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
10302
- doc.removeEventListener("touchmove", onTouchMove, $b013befce1f6217f$var$TOUCH_OPTIONS);
10307
+ doc.removeEventListener('mousedown', onDocumentPress, true);
10308
+ doc.removeEventListener('touchend', onDocumentPress, $b013befce1f6217f$var$TOUCH_OPTIONS);
10309
+ doc.removeEventListener('touchstart', onTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
10310
+ doc.removeEventListener('touchmove', onTouchMove, $b013befce1f6217f$var$TOUCH_OPTIONS);
10303
10311
  }
10304
10312
  function onTransitionedOut(duration, callback) {
10305
10313
  onTransitionEnd(duration, function() {
@@ -10313,14 +10321,14 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10313
10321
  var box = getDefaultTemplateChildren().box;
10314
10322
  function listener(event) {
10315
10323
  if (event.target === box) {
10316
- $b013befce1f6217f$var$updateTransitionEndListener(box, "remove", listener);
10324
+ $b013befce1f6217f$var$updateTransitionEndListener(box, 'remove', listener);
10317
10325
  callback();
10318
10326
  }
10319
10327
  } // Make callback synchronous if duration is 0
10320
10328
  // `transitionend` won't fire otherwise
10321
10329
  if (duration === 0) return callback();
10322
- $b013befce1f6217f$var$updateTransitionEndListener(box, "remove", currentTransitionEndListener);
10323
- $b013befce1f6217f$var$updateTransitionEndListener(box, "add", listener);
10330
+ $b013befce1f6217f$var$updateTransitionEndListener(box, 'remove', currentTransitionEndListener);
10331
+ $b013befce1f6217f$var$updateTransitionEndListener(box, 'add', listener);
10324
10332
  currentTransitionEndListener = listener;
10325
10333
  }
10326
10334
  function on(eventType, handler, options) {
@@ -10338,25 +10346,25 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10338
10346
  }
10339
10347
  function addListeners() {
10340
10348
  if (getIsCustomTouchBehavior()) {
10341
- on("touchstart", onTrigger, {
10349
+ on('touchstart', onTrigger, {
10342
10350
  passive: true
10343
10351
  });
10344
- on("touchend", onMouseLeave, {
10352
+ on('touchend', onMouseLeave, {
10345
10353
  passive: true
10346
10354
  });
10347
10355
  }
10348
10356
  $b013befce1f6217f$var$splitBySpaces(instance.props.trigger).forEach(function(eventType) {
10349
- if (eventType === "manual") return;
10357
+ if (eventType === 'manual') return;
10350
10358
  on(eventType, onTrigger);
10351
10359
  switch(eventType){
10352
- case "mouseenter":
10353
- on("mouseleave", onMouseLeave);
10360
+ case 'mouseenter':
10361
+ on('mouseleave', onMouseLeave);
10354
10362
  break;
10355
- case "focus":
10356
- on($b013befce1f6217f$var$isIE11 ? "focusout" : "blur", onBlurOrFocusOut);
10363
+ case 'focus':
10364
+ on($b013befce1f6217f$var$isIE11 ? 'focusout' : 'blur', onBlurOrFocusOut);
10357
10365
  break;
10358
- case "focusin":
10359
- on("focusout", onBlurOrFocusOut);
10366
+ case 'focusin':
10367
+ on('focusout', onBlurOrFocusOut);
10360
10368
  break;
10361
10369
  }
10362
10370
  });
@@ -10372,7 +10380,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10372
10380
  var _lastTriggerEvent;
10373
10381
  var shouldScheduleClickHide = false;
10374
10382
  if (!instance.state.isEnabled || isEventListenerStopped(event) || didHideDueToDocumentMouseDown) return;
10375
- var wasFocused = ((_lastTriggerEvent = lastTriggerEvent) == null ? void 0 : _lastTriggerEvent.type) === "focus";
10383
+ var wasFocused = ((_lastTriggerEvent = lastTriggerEvent) == null ? void 0 : _lastTriggerEvent.type) === 'focus';
10376
10384
  lastTriggerEvent = event;
10377
10385
  currentTarget = event.currentTarget;
10378
10386
  handleAriaExpandedAttribute();
@@ -10384,15 +10392,15 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10384
10392
  return listener(event);
10385
10393
  });
10386
10394
  // Toggle show/hide when clicking click-triggered tooltips
10387
- if (event.type === "click" && (instance.props.trigger.indexOf("mouseenter") < 0 || isVisibleFromClick) && instance.props.hideOnClick !== false && instance.state.isVisible) shouldScheduleClickHide = true;
10395
+ if (event.type === 'click' && (instance.props.trigger.indexOf('mouseenter') < 0 || isVisibleFromClick) && instance.props.hideOnClick !== false && instance.state.isVisible) shouldScheduleClickHide = true;
10388
10396
  else scheduleShow(event);
10389
- if (event.type === "click") isVisibleFromClick = !shouldScheduleClickHide;
10397
+ if (event.type === 'click') isVisibleFromClick = !shouldScheduleClickHide;
10390
10398
  if (shouldScheduleClickHide && !wasFocused) scheduleHide(event);
10391
10399
  }
10392
10400
  function onMouseMove(event) {
10393
10401
  var target = event.target;
10394
10402
  var isCursorOverReferenceOrPopper = getCurrentTarget().contains(target) || popper.contains(target);
10395
- if (event.type === "mousemove" && isCursorOverReferenceOrPopper) return;
10403
+ if (event.type === 'mousemove' && isCursorOverReferenceOrPopper) return;
10396
10404
  var popperTreeData = getNestedPopperTree().concat(popper).map(function(popper) {
10397
10405
  var _instance$popperInsta;
10398
10406
  var instance = popper._tippy;
@@ -10410,7 +10418,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10410
10418
  }
10411
10419
  }
10412
10420
  function onMouseLeave(event) {
10413
- var shouldBail = isEventListenerStopped(event) || instance.props.trigger.indexOf("click") >= 0 && isVisibleFromClick;
10421
+ var shouldBail = isEventListenerStopped(event) || instance.props.trigger.indexOf('click') >= 0 && isVisibleFromClick;
10414
10422
  if (shouldBail) return;
10415
10423
  if (instance.props.interactive) {
10416
10424
  instance.hideWithInteractivity(event);
@@ -10419,13 +10427,13 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10419
10427
  scheduleHide(event);
10420
10428
  }
10421
10429
  function onBlurOrFocusOut(event) {
10422
- if (instance.props.trigger.indexOf("focusin") < 0 && event.target !== getCurrentTarget()) return;
10430
+ if (instance.props.trigger.indexOf('focusin') < 0 && event.target !== getCurrentTarget()) return;
10423
10431
  // If focus was moved to within the popper
10424
10432
  if (instance.props.interactive && event.relatedTarget && popper.contains(event.relatedTarget)) return;
10425
10433
  scheduleHide(event);
10426
10434
  }
10427
10435
  function isEventListenerStopped(event) {
10428
- return $b013befce1f6217f$var$currentInput.isTouch ? getIsCustomTouchBehavior() !== event.type.indexOf("touch") >= 0 : false;
10436
+ return $b013befce1f6217f$var$currentInput.isTouch ? getIsCustomTouchBehavior() !== event.type.indexOf('touch') >= 0 : false;
10429
10437
  }
10430
10438
  function createPopperInstance() {
10431
10439
  destroyPopperInstance();
@@ -10436,23 +10444,23 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10436
10444
  contextElement: getReferenceClientRect.contextElement || getCurrentTarget()
10437
10445
  } : reference;
10438
10446
  var tippyModifier = {
10439
- name: "$$tippy",
10447
+ name: '$$tippy',
10440
10448
  enabled: true,
10441
- phase: "beforeWrite",
10449
+ phase: 'beforeWrite',
10442
10450
  requires: [
10443
- "computeStyles"
10451
+ 'computeStyles'
10444
10452
  ],
10445
10453
  fn: function fn(_ref2) {
10446
10454
  var state = _ref2.state;
10447
10455
  if (getIsDefaultRenderFn()) {
10448
10456
  var _getDefaultTemplateCh = getDefaultTemplateChildren(), box = _getDefaultTemplateCh.box;
10449
10457
  [
10450
- "placement",
10451
- "reference-hidden",
10452
- "escaped"
10458
+ 'placement',
10459
+ 'reference-hidden',
10460
+ 'escaped'
10453
10461
  ].forEach(function(attr) {
10454
- if (attr === "placement") box.setAttribute("data-placement", state.placement);
10455
- else if (state.attributes.popper["data-popper-" + attr]) box.setAttribute("data-" + attr, "");
10462
+ if (attr === 'placement') box.setAttribute('data-placement', state.placement);
10463
+ else if (state.attributes.popper["data-popper-" + attr]) box.setAttribute("data-" + attr, '');
10456
10464
  else box.removeAttribute("data-" + attr);
10457
10465
  });
10458
10466
  state.attributes.popper = {};
@@ -10461,13 +10469,13 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10461
10469
  };
10462
10470
  var modifiers = [
10463
10471
  {
10464
- name: "offset",
10472
+ name: 'offset',
10465
10473
  options: {
10466
10474
  offset: offset
10467
10475
  }
10468
10476
  },
10469
10477
  {
10470
- name: "preventOverflow",
10478
+ name: 'preventOverflow',
10471
10479
  options: {
10472
10480
  padding: {
10473
10481
  top: 2,
@@ -10478,13 +10486,13 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10478
10486
  }
10479
10487
  },
10480
10488
  {
10481
- name: "flip",
10489
+ name: 'flip',
10482
10490
  options: {
10483
10491
  padding: 5
10484
10492
  }
10485
10493
  },
10486
10494
  {
10487
- name: "computeStyles",
10495
+ name: 'computeStyles',
10488
10496
  options: {
10489
10497
  adaptive: !moveTransition
10490
10498
  }
@@ -10492,7 +10500,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10492
10500
  tippyModifier
10493
10501
  ];
10494
10502
  if (getIsDefaultRenderFn() && arrow) modifiers.push({
10495
- name: "arrow",
10503
+ name: 'arrow',
10496
10504
  options: {
10497
10505
  element: arrow,
10498
10506
  padding: 3
@@ -10519,7 +10527,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10519
10527
  // If there are clipping issues, the user can specify a different appendTo
10520
10528
  // and ensure focus management is handled correctly manually
10521
10529
  var node = getCurrentTarget();
10522
- if (instance.props.interactive && appendTo === $b013befce1f6217f$var$TIPPY_DEFAULT_APPEND_TO || appendTo === "parent") parentNode = node.parentNode;
10530
+ if (instance.props.interactive && appendTo === $b013befce1f6217f$var$TIPPY_DEFAULT_APPEND_TO || appendTo === 'parent') parentNode = node.parentNode;
10523
10531
  else parentNode = $b013befce1f6217f$var$invokeWithArgsOrReturn(appendTo, [
10524
10532
  node
10525
10533
  ]);
@@ -10530,18 +10538,18 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10530
10538
  createPopperInstance();
10531
10539
  }
10532
10540
  function getNestedPopperTree() {
10533
- return $b013befce1f6217f$var$arrayFrom(popper.querySelectorAll("[data-tippy-root]"));
10541
+ return $b013befce1f6217f$var$arrayFrom(popper.querySelectorAll('[data-tippy-root]'));
10534
10542
  }
10535
10543
  function scheduleShow(event) {
10536
10544
  instance.clearDelayTimeouts();
10537
- if (event) invokeHook("onTrigger", [
10545
+ if (event) invokeHook('onTrigger', [
10538
10546
  instance,
10539
10547
  event
10540
10548
  ]);
10541
10549
  addDocumentPress();
10542
10550
  var delay = getDelay(true);
10543
10551
  var _getNormalizedTouchSe = getNormalizedTouchSettings(), touchValue = _getNormalizedTouchSe[0], touchDelay = _getNormalizedTouchSe[1];
10544
- if ($b013befce1f6217f$var$currentInput.isTouch && touchValue === "hold" && touchDelay) delay = touchDelay;
10552
+ if ($b013befce1f6217f$var$currentInput.isTouch && touchValue === 'hold' && touchDelay) delay = touchDelay;
10545
10553
  if (delay) showTimeout = setTimeout(function() {
10546
10554
  instance.show();
10547
10555
  }, delay);
@@ -10549,7 +10557,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10549
10557
  }
10550
10558
  function scheduleHide(event) {
10551
10559
  instance.clearDelayTimeouts();
10552
- invokeHook("onUntrigger", [
10560
+ invokeHook('onUntrigger', [
10553
10561
  instance,
10554
10562
  event
10555
10563
  ]);
@@ -10560,9 +10568,9 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10560
10568
  // from onMouseLeave so must intercept scheduled hides from mousemove/leave
10561
10569
  // events when trigger contains mouseenter and click, and the tip is
10562
10570
  // currently shown as a result of a click.
10563
- if (instance.props.trigger.indexOf("mouseenter") >= 0 && instance.props.trigger.indexOf("click") >= 0 && [
10564
- "mouseleave",
10565
- "mousemove"
10571
+ if (instance.props.trigger.indexOf('mouseenter') >= 0 && instance.props.trigger.indexOf('click') >= 0 && [
10572
+ 'mouseleave',
10573
+ 'mousemove'
10566
10574
  ].indexOf(event.type) >= 0 && isVisibleFromClick) return;
10567
10575
  var delay = getDelay(false);
10568
10576
  if (delay) hideTimeout = setTimeout(function() {
@@ -10592,7 +10600,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10592
10600
  }
10593
10601
  function setProps(partialProps) {
10594
10602
  if (instance.state.isDestroyed) return;
10595
- invokeHook("onBeforeUpdate", [
10603
+ invokeHook('onBeforeUpdate', [
10596
10604
  instance,
10597
10605
  partialProps
10598
10606
  ]);
@@ -10608,9 +10616,9 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10608
10616
  debouncedOnMouseMove = $b013befce1f6217f$var$debounce(onMouseMove, nextProps.interactiveDebounce);
10609
10617
  } // Ensure stale aria-expanded attributes are removed
10610
10618
  if (prevProps.triggerTarget && !nextProps.triggerTarget) $b013befce1f6217f$var$normalizeToArray(prevProps.triggerTarget).forEach(function(node) {
10611
- node.removeAttribute("aria-expanded");
10619
+ node.removeAttribute('aria-expanded');
10612
10620
  });
10613
- else if (nextProps.triggerTarget) reference.removeAttribute("aria-expanded");
10621
+ else if (nextProps.triggerTarget) reference.removeAttribute('aria-expanded');
10614
10622
  handleAriaExpandedAttribute();
10615
10623
  handleStyles();
10616
10624
  if (onUpdate) onUpdate(prevProps, nextProps);
@@ -10625,7 +10633,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10625
10633
  requestAnimationFrame(nestedPopper._tippy.popperInstance.forceUpdate);
10626
10634
  });
10627
10635
  }
10628
- invokeHook("onAfterUpdate", [
10636
+ invokeHook('onAfterUpdate', [
10629
10637
  instance,
10630
10638
  partialProps
10631
10639
  ]);
@@ -10645,16 +10653,16 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10645
10653
  // Normalize `disabled` behavior across browsers.
10646
10654
  // Firefox allows events on disabled elements, but Chrome doesn't.
10647
10655
  // Using a wrapper element (i.e. <span>) is recommended.
10648
- if (getCurrentTarget().hasAttribute("disabled")) return;
10649
- invokeHook("onShow", [
10656
+ if (getCurrentTarget().hasAttribute('disabled')) return;
10657
+ invokeHook('onShow', [
10650
10658
  instance
10651
10659
  ], false);
10652
10660
  if (instance.props.onShow(instance) === false) return;
10653
10661
  instance.state.isVisible = true;
10654
- if (getIsDefaultRenderFn()) popper.style.visibility = "visible";
10662
+ if (getIsDefaultRenderFn()) popper.style.visibility = 'visible';
10655
10663
  handleStyles();
10656
10664
  addDocumentPress();
10657
- if (!instance.state.isMounted) popper.style.transition = "none";
10665
+ if (!instance.state.isMounted) popper.style.transition = 'none';
10658
10666
  // If flipping to the opposite side after hiding at least once, the
10659
10667
  // animation will use the wrong placement without resetting the duration
10660
10668
  if (getIsDefaultRenderFn()) {
@@ -10679,19 +10687,19 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10679
10687
  $b013befce1f6217f$var$setVisibilityState([
10680
10688
  _box,
10681
10689
  _content
10682
- ], "visible");
10690
+ ], 'visible');
10683
10691
  }
10684
10692
  handleAriaContentAttribute();
10685
10693
  handleAriaExpandedAttribute();
10686
10694
  $b013befce1f6217f$var$pushIfUnique($b013befce1f6217f$var$mountedInstances, instance); // certain modifiers (e.g. `maxSize`) require a second update after the
10687
10695
  // popper has been positioned for the first time
10688
10696
  (_instance$popperInsta2 = instance.popperInstance) == null || _instance$popperInsta2.forceUpdate();
10689
- invokeHook("onMount", [
10697
+ invokeHook('onMount', [
10690
10698
  instance
10691
10699
  ]);
10692
10700
  if (instance.props.animation && getIsDefaultRenderFn()) onTransitionedIn(duration, function() {
10693
10701
  instance.state.isShown = true;
10694
- invokeHook("onShown", [
10702
+ invokeHook('onShown', [
10695
10703
  instance
10696
10704
  ]);
10697
10705
  });
@@ -10704,7 +10712,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10704
10712
  var isDisabled = !instance.state.isEnabled;
10705
10713
  var duration = $b013befce1f6217f$var$getValueAtIndexOrReturn(instance.props.duration, 1, $b013befce1f6217f$var$defaultProps.duration);
10706
10714
  if (isAlreadyHidden || isDestroyed || isDisabled) return;
10707
- invokeHook("onHide", [
10715
+ invokeHook('onHide', [
10708
10716
  instance
10709
10717
  ], false);
10710
10718
  if (instance.props.onHide(instance) === false) return;
@@ -10712,7 +10720,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10712
10720
  instance.state.isShown = false;
10713
10721
  ignoreOnFirstUpdate = false;
10714
10722
  isVisibleFromClick = false;
10715
- if (getIsDefaultRenderFn()) popper.style.visibility = "hidden";
10723
+ if (getIsDefaultRenderFn()) popper.style.visibility = 'hidden';
10716
10724
  cleanupInteractiveMouseListeners();
10717
10725
  removeDocumentPress();
10718
10726
  handleStyles(true);
@@ -10726,7 +10734,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10726
10734
  $b013befce1f6217f$var$setVisibilityState([
10727
10735
  box,
10728
10736
  content
10729
- ], "hidden");
10737
+ ], 'hidden');
10730
10738
  }
10731
10739
  }
10732
10740
  handleAriaContentAttribute();
@@ -10736,7 +10744,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10736
10744
  } else instance.unmount();
10737
10745
  }
10738
10746
  function hideWithInteractivity(event) {
10739
- getDocument().addEventListener("mousemove", debouncedOnMouseMove);
10747
+ getDocument().addEventListener('mousemove', debouncedOnMouseMove);
10740
10748
  $b013befce1f6217f$var$pushIfUnique($b013befce1f6217f$var$mouseMoveListeners, debouncedOnMouseMove);
10741
10749
  debouncedOnMouseMove(event);
10742
10750
  }
@@ -10754,7 +10762,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10754
10762
  return i !== instance;
10755
10763
  });
10756
10764
  instance.state.isMounted = false;
10757
- invokeHook("onHidden", [
10765
+ invokeHook('onHidden', [
10758
10766
  instance
10759
10767
  ]);
10760
10768
  }
@@ -10765,7 +10773,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10765
10773
  removeListeners();
10766
10774
  delete reference._tippy;
10767
10775
  instance.state.isDestroyed = true;
10768
- invokeHook("onDestroy", [
10776
+ invokeHook('onDestroy', [
10769
10777
  instance
10770
10778
  ]);
10771
10779
  }
@@ -10815,12 +10823,12 @@ var $b013befce1f6217f$var$applyStylesModifier = Object.assign({}, (0, $dfb41fce0
10815
10823
  var initialStyles = {
10816
10824
  popper: {
10817
10825
  position: state.options.strategy,
10818
- left: "0",
10819
- top: "0",
10820
- margin: "0"
10826
+ left: '0',
10827
+ top: '0',
10828
+ margin: '0'
10821
10829
  },
10822
10830
  arrow: {
10823
- position: "absolute"
10831
+ position: 'absolute'
10824
10832
  },
10825
10833
  reference: {}
10826
10834
  };
@@ -10875,12 +10883,12 @@ var $b013befce1f6217f$export$374c483667c1ea9b = function createSingleton(tippyIn
10875
10883
  var index = triggerTargets.indexOf(target); // bail-out
10876
10884
  if (target === currentTarget) return;
10877
10885
  currentTarget = target;
10878
- var overrideProps = (overrides || []).concat("content").reduce(function(acc, prop) {
10886
+ var overrideProps = (overrides || []).concat('content').reduce(function(acc, prop) {
10879
10887
  acc[prop] = individualInstances[index].props[prop];
10880
10888
  return acc;
10881
10889
  }, {});
10882
10890
  singleton.setProps(Object.assign({}, overrideProps, {
10883
- getReferenceClientRect: typeof overrideProps.getReferenceClientRect === "function" ? overrideProps.getReferenceClientRect : function() {
10891
+ getReferenceClientRect: typeof overrideProps.getReferenceClientRect === 'function' ? overrideProps.getReferenceClientRect : function() {
10884
10892
  var _references$index;
10885
10893
  return (_references$index = references[index]) == null ? void 0 : _references$index.getBoundingClientRect();
10886
10894
  }
@@ -10917,7 +10925,7 @@ var $b013befce1f6217f$export$374c483667c1ea9b = function createSingleton(tippyIn
10917
10925
  }
10918
10926
  };
10919
10927
  var singleton = $b013befce1f6217f$var$tippy($b013befce1f6217f$var$div(), Object.assign({}, $b013befce1f6217f$var$removeProperties(optionalProps, [
10920
- "overrides"
10928
+ 'overrides'
10921
10929
  ]), {
10922
10930
  plugins: [
10923
10931
  plugin
@@ -10938,7 +10946,7 @@ var $b013befce1f6217f$export$374c483667c1ea9b = function createSingleton(tippyIn
10938
10946
  // programmatic call with no params when already visible (do nothing again)
10939
10947
  if (currentTarget && target == null) return;
10940
10948
  // target is index of instance
10941
- if (typeof target === "number") return references[target] && prepareInstance(singleton, references[target]);
10949
+ if (typeof target === 'number') return references[target] && prepareInstance(singleton, references[target]);
10942
10950
  // target is a child tippy instance
10943
10951
  if (individualInstances.indexOf(target) >= 0) {
10944
10952
  var ref = target.reference;
@@ -10982,9 +10990,9 @@ var $b013befce1f6217f$export$374c483667c1ea9b = function createSingleton(tippyIn
10982
10990
  return singleton;
10983
10991
  };
10984
10992
  var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
10985
- mouseover: "mouseenter",
10986
- focusin: "focus",
10987
- click: "click"
10993
+ mouseover: 'mouseenter',
10994
+ focusin: 'focus',
10995
+ click: 'click'
10988
10996
  };
10989
10997
  /**
10990
10998
  * Creates a delegate instance that controls the creation of tippy instances
@@ -10995,10 +11003,10 @@ var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
10995
11003
  var disabled = false;
10996
11004
  var target = props.target;
10997
11005
  var nativeProps = $b013befce1f6217f$var$removeProperties(props, [
10998
- "target"
11006
+ 'target'
10999
11007
  ]);
11000
11008
  var parentProps = Object.assign({}, nativeProps, {
11001
- trigger: "manual",
11009
+ trigger: 'manual',
11002
11010
  touch: false
11003
11011
  });
11004
11012
  var childProps = Object.assign({
@@ -11016,10 +11024,10 @@ var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
11016
11024
  // 1. Check `data-tippy-trigger` attribute on target node
11017
11025
  // 2. Fallback to `trigger` passed to `delegate()`
11018
11026
  // 3. Fallback to `defaultProps.trigger`
11019
- var trigger = targetNode.getAttribute("data-tippy-trigger") || props.trigger || $b013befce1f6217f$var$defaultProps.trigger; // @ts-ignore
11027
+ var trigger = targetNode.getAttribute('data-tippy-trigger') || props.trigger || $b013befce1f6217f$var$defaultProps.trigger; // @ts-ignore
11020
11028
  if (targetNode._tippy) return;
11021
- if (event.type === "touchstart" && typeof childProps.touch === "boolean") return;
11022
- if (event.type !== "touchstart" && trigger.indexOf($b013befce1f6217f$var$BUBBLING_EVENTS_MAP[event.type]) < 0) return;
11029
+ if (event.type === 'touchstart' && typeof childProps.touch === 'boolean') return;
11030
+ if (event.type !== 'touchstart' && trigger.indexOf($b013befce1f6217f$var$BUBBLING_EVENTS_MAP[event.type]) < 0) return;
11023
11031
  var instance = $b013befce1f6217f$var$tippy(targetNode, childProps);
11024
11032
  if (instance) childTippyInstances = childTippyInstances.concat(instance);
11025
11033
  }
@@ -11035,10 +11043,10 @@ var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
11035
11043
  }
11036
11044
  function addEventListeners(instance) {
11037
11045
  var reference = instance.reference;
11038
- on(reference, "touchstart", onTrigger, $b013befce1f6217f$var$TOUCH_OPTIONS);
11039
- on(reference, "mouseover", onTrigger);
11040
- on(reference, "focusin", onTrigger);
11041
- on(reference, "click", onTrigger);
11046
+ on(reference, 'touchstart', onTrigger, $b013befce1f6217f$var$TOUCH_OPTIONS);
11047
+ on(reference, 'mouseover', onTrigger);
11048
+ on(reference, 'focusin', onTrigger);
11049
+ on(reference, 'click', onTrigger);
11042
11050
  }
11043
11051
  function removeEventListeners() {
11044
11052
  listeners.forEach(function(_ref) {
@@ -11080,7 +11088,7 @@ var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
11080
11088
  return returnValue;
11081
11089
  }
11082
11090
  var $b013befce1f6217f$export$dd8ded329c01db79 = {
11083
- name: "animateFill",
11091
+ name: 'animateFill',
11084
11092
  defaultValue: false,
11085
11093
  fn: function fn(instance) {
11086
11094
  var _instance$props$rende;
@@ -11092,34 +11100,34 @@ var $b013befce1f6217f$export$dd8ded329c01db79 = {
11092
11100
  onCreate: function onCreate() {
11093
11101
  if (backdrop) {
11094
11102
  box.insertBefore(backdrop, box.firstElementChild);
11095
- box.setAttribute("data-animatefill", "");
11096
- box.style.overflow = "hidden";
11103
+ box.setAttribute('data-animatefill', '');
11104
+ box.style.overflow = 'hidden';
11097
11105
  instance.setProps({
11098
11106
  arrow: false,
11099
- animation: "shift-away"
11107
+ animation: 'shift-away'
11100
11108
  });
11101
11109
  }
11102
11110
  },
11103
11111
  onMount: function onMount() {
11104
11112
  if (backdrop) {
11105
11113
  var transitionDuration = box.style.transitionDuration;
11106
- var duration = Number(transitionDuration.replace("ms", "")); // The content should fade in after the backdrop has mostly filled the
11114
+ var duration = Number(transitionDuration.replace('ms', '')); // The content should fade in after the backdrop has mostly filled the
11107
11115
  // tooltip element. `clip-path` is the other alternative but is not
11108
11116
  // well-supported and is buggy on some devices.
11109
11117
  content.style.transitionDelay = Math.round(duration / 10) + "ms";
11110
11118
  backdrop.style.transitionDuration = transitionDuration;
11111
11119
  $b013befce1f6217f$var$setVisibilityState([
11112
11120
  backdrop
11113
- ], "visible");
11121
+ ], 'visible');
11114
11122
  }
11115
11123
  },
11116
11124
  onShow: function onShow() {
11117
- if (backdrop) backdrop.style.transitionDuration = "0ms";
11125
+ if (backdrop) backdrop.style.transitionDuration = '0ms';
11118
11126
  },
11119
11127
  onHide: function onHide() {
11120
11128
  if (backdrop) $b013befce1f6217f$var$setVisibilityState([
11121
11129
  backdrop
11122
- ], "hidden");
11130
+ ], 'hidden');
11123
11131
  }
11124
11132
  };
11125
11133
  }
@@ -11129,7 +11137,7 @@ function $b013befce1f6217f$var$createBackdropElement() {
11129
11137
  backdrop.className = $b013befce1f6217f$var$BACKDROP_CLASS;
11130
11138
  $b013befce1f6217f$var$setVisibilityState([
11131
11139
  backdrop
11132
- ], "hidden");
11140
+ ], 'hidden');
11133
11141
  return backdrop;
11134
11142
  }
11135
11143
  var $b013befce1f6217f$var$mouseCoords = {
@@ -11145,13 +11153,13 @@ function $b013befce1f6217f$var$storeMouseCoords(_ref) {
11145
11153
  };
11146
11154
  }
11147
11155
  function $b013befce1f6217f$var$addMouseCoordsListener(doc) {
11148
- doc.addEventListener("mousemove", $b013befce1f6217f$var$storeMouseCoords);
11156
+ doc.addEventListener('mousemove', $b013befce1f6217f$var$storeMouseCoords);
11149
11157
  }
11150
11158
  function $b013befce1f6217f$var$removeMouseCoordsListener(doc) {
11151
- doc.removeEventListener("mousemove", $b013befce1f6217f$var$storeMouseCoords);
11159
+ doc.removeEventListener('mousemove', $b013befce1f6217f$var$storeMouseCoords);
11152
11160
  }
11153
11161
  var $b013befce1f6217f$export$ac81526b64504ab6 = {
11154
- name: "followCursor",
11162
+ name: 'followCursor',
11155
11163
  defaultValue: false,
11156
11164
  fn: function fn(instance) {
11157
11165
  var reference = instance.reference;
@@ -11161,13 +11169,13 @@ var $b013befce1f6217f$export$ac81526b64504ab6 = {
11161
11169
  var isUnmounted = true;
11162
11170
  var prevProps = instance.props;
11163
11171
  function getIsInitialBehavior() {
11164
- return instance.props.followCursor === "initial" && instance.state.isVisible;
11172
+ return instance.props.followCursor === 'initial' && instance.state.isVisible;
11165
11173
  }
11166
11174
  function addListener() {
11167
- doc.addEventListener("mousemove", onMouseMove);
11175
+ doc.addEventListener('mousemove', onMouseMove);
11168
11176
  }
11169
11177
  function removeListener() {
11170
- doc.removeEventListener("mousemove", onMouseMove);
11178
+ doc.removeEventListener('mousemove', onMouseMove);
11171
11179
  }
11172
11180
  function unsetGetReferenceClientRect() {
11173
11181
  isInternalUpdate = true;
@@ -11191,14 +11199,14 @@ var $b013befce1f6217f$export$ac81526b64504ab6 = {
11191
11199
  var rect = reference.getBoundingClientRect();
11192
11200
  var x = clientX;
11193
11201
  var y = clientY;
11194
- if (followCursor === "initial") {
11202
+ if (followCursor === 'initial') {
11195
11203
  x = rect.left + relativeX;
11196
11204
  y = rect.top + relativeY;
11197
11205
  }
11198
- var top = followCursor === "horizontal" ? rect.top : y;
11199
- var right = followCursor === "vertical" ? rect.right : x;
11200
- var bottom = followCursor === "horizontal" ? rect.bottom : y;
11201
- var left = followCursor === "vertical" ? rect.left : x;
11206
+ var top = followCursor === 'horizontal' ? rect.top : y;
11207
+ var right = followCursor === 'vertical' ? rect.right : x;
11208
+ var bottom = followCursor === 'horizontal' ? rect.bottom : y;
11209
+ var left = followCursor === 'vertical' ? rect.left : x;
11202
11210
  return {
11203
11211
  width: right - left,
11204
11212
  height: bottom - top,
@@ -11261,7 +11269,7 @@ var $b013befce1f6217f$export$ac81526b64504ab6 = {
11261
11269
  clientX: event.clientX,
11262
11270
  clientY: event.clientY
11263
11271
  };
11264
- wasFocusEvent = event.type === "focus";
11272
+ wasFocusEvent = event.type === 'focus';
11265
11273
  },
11266
11274
  onHidden: function onHidden() {
11267
11275
  if (instance.props.followCursor) {
@@ -11287,7 +11295,7 @@ function $b013befce1f6217f$var$getProps(props, modifier) {
11287
11295
  };
11288
11296
  }
11289
11297
  var $b013befce1f6217f$export$e2b668424a9c728 = {
11290
- name: "inlinePositioning",
11298
+ name: 'inlinePositioning',
11291
11299
  defaultValue: false,
11292
11300
  fn: function fn(instance) {
11293
11301
  var reference = instance.reference;
@@ -11299,9 +11307,9 @@ var $b013befce1f6217f$export$e2b668424a9c728 = {
11299
11307
  var isInternalUpdate = false;
11300
11308
  var triedPlacements = [];
11301
11309
  var modifier = {
11302
- name: "tippyInlinePositioning",
11310
+ name: 'tippyInlinePositioning',
11303
11311
  enabled: true,
11304
- phase: "afterWrite",
11312
+ phase: 'afterWrite',
11305
11313
  fn: function fn(_ref2) {
11306
11314
  var state = _ref2.state;
11307
11315
  if (isEnabled()) {
@@ -11355,11 +11363,11 @@ function $b013befce1f6217f$var$getInlineBoundingClientRect(currentBasePlacement,
11355
11363
  // There are two rects and they are disjoined
11356
11364
  if (clientRects.length === 2 && cursorRectIndex >= 0 && clientRects[0].left > clientRects[1].right) return clientRects[cursorRectIndex] || boundingRect;
11357
11365
  switch(currentBasePlacement){
11358
- case "top":
11359
- case "bottom":
11366
+ case 'top':
11367
+ case 'bottom':
11360
11368
  var firstRect = clientRects[0];
11361
11369
  var lastRect = clientRects[clientRects.length - 1];
11362
- var isTop = currentBasePlacement === "top";
11370
+ var isTop = currentBasePlacement === 'top';
11363
11371
  var top = firstRect.top;
11364
11372
  var bottom = lastRect.bottom;
11365
11373
  var left = isTop ? firstRect.left : lastRect.left;
@@ -11374,8 +11382,8 @@ function $b013befce1f6217f$var$getInlineBoundingClientRect(currentBasePlacement,
11374
11382
  width: width,
11375
11383
  height: height
11376
11384
  };
11377
- case "left":
11378
- case "right":
11385
+ case 'left':
11386
+ case 'right':
11379
11387
  var minLeft = Math.min.apply(Math, clientRects.map(function(rects) {
11380
11388
  return rects.left;
11381
11389
  }));
@@ -11383,7 +11391,7 @@ function $b013befce1f6217f$var$getInlineBoundingClientRect(currentBasePlacement,
11383
11391
  return rects.right;
11384
11392
  }));
11385
11393
  var measureRects = clientRects.filter(function(rect) {
11386
- return currentBasePlacement === "left" ? rect.left === minLeft : rect.right === maxRight;
11394
+ return currentBasePlacement === 'left' ? rect.left === minLeft : rect.right === maxRight;
11387
11395
  });
11388
11396
  var _top = measureRects[0].top;
11389
11397
  var _bottom = measureRects[measureRects.length - 1].bottom;
@@ -11404,7 +11412,7 @@ function $b013befce1f6217f$var$getInlineBoundingClientRect(currentBasePlacement,
11404
11412
  }
11405
11413
  }
11406
11414
  var $b013befce1f6217f$export$4bd4b47501432316 = {
11407
- name: "sticky",
11415
+ name: 'sticky',
11408
11416
  defaultValue: false,
11409
11417
  fn: function fn(instance) {
11410
11418
  var reference = instance.reference, popper = instance.popper;
@@ -11417,8 +11425,8 @@ var $b013befce1f6217f$export$4bd4b47501432316 = {
11417
11425
  var prevRefRect = null;
11418
11426
  var prevPopRect = null;
11419
11427
  function updatePosition() {
11420
- var currentRefRect = shouldCheck("reference") ? getReference().getBoundingClientRect() : null;
11421
- var currentPopRect = shouldCheck("popper") ? popper.getBoundingClientRect() : null;
11428
+ var currentRefRect = shouldCheck('reference') ? getReference().getBoundingClientRect() : null;
11429
+ var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null;
11422
11430
  if (currentRefRect && $b013befce1f6217f$var$areRectsDifferent(prevRefRect, currentRefRect) || currentPopRect && $b013befce1f6217f$var$areRectsDifferent(prevPopRect, currentPopRect)) {
11423
11431
  if (instance.popperInstance) instance.popperInstance.update();
11424
11432
  }
@@ -11487,7 +11495,9 @@ function $cbd28b10fa9798c7$export$2e2bcd8739ae039() {
11487
11495
  let tooltip = null;
11488
11496
  let dropdown = null;
11489
11497
  return {
11498
+ updateAfterNavigate: true,
11490
11499
  init () {
11500
+ this.updateAfterNavigate = this.$el.dataset.updateAfterNavigate !== "false";
11491
11501
  if (this.$refs.tooltip) tooltip = (0, $7a759511c361f2bd$export$353372104066311a)(this, {
11492
11502
  target: this.$refs.icon
11493
11503
  });
@@ -11522,7 +11532,7 @@ function $cbd28b10fa9798c7$export$2e2bcd8739ae039() {
11522
11532
  updateDropdown () {
11523
11533
  if (dropdown) {
11524
11534
  dropdown.hide();
11525
- this.$nextTick(()=>{
11535
+ if (this.updateAfterNavigate) this.$nextTick(()=>{
11526
11536
  dropdown.setContent(this.dropdownContent);
11527
11537
  });
11528
11538
  }
@@ -11728,29 +11738,29 @@ var $7cac9a0d4b75bf4e$var$numeric = function(value, unit) {
11728
11738
  return Number(value.slice(0, -1 * unit.length));
11729
11739
  };
11730
11740
  var $7cac9a0d4b75bf4e$var$parseValue = function(value) {
11731
- if (value.endsWith("px")) return {
11741
+ if (value.endsWith('px')) return {
11732
11742
  value: value,
11733
- type: "px",
11734
- numeric: $7cac9a0d4b75bf4e$var$numeric(value, "px")
11743
+ type: 'px',
11744
+ numeric: $7cac9a0d4b75bf4e$var$numeric(value, 'px')
11735
11745
  };
11736
- if (value.endsWith("fr")) return {
11746
+ if (value.endsWith('fr')) return {
11737
11747
  value: value,
11738
- type: "fr",
11739
- numeric: $7cac9a0d4b75bf4e$var$numeric(value, "fr")
11748
+ type: 'fr',
11749
+ numeric: $7cac9a0d4b75bf4e$var$numeric(value, 'fr')
11740
11750
  };
11741
- if (value.endsWith("%")) return {
11751
+ if (value.endsWith('%')) return {
11742
11752
  value: value,
11743
- type: "%",
11744
- numeric: $7cac9a0d4b75bf4e$var$numeric(value, "%")
11753
+ type: '%',
11754
+ numeric: $7cac9a0d4b75bf4e$var$numeric(value, '%')
11745
11755
  };
11746
- if (value === "auto") return {
11756
+ if (value === 'auto') return {
11747
11757
  value: value,
11748
- type: "auto"
11758
+ type: 'auto'
11749
11759
  };
11750
11760
  return null;
11751
11761
  };
11752
11762
  var $7cac9a0d4b75bf4e$var$parse = function(rule) {
11753
- return rule.split(" ").map($7cac9a0d4b75bf4e$var$parseValue);
11763
+ return rule.split(' ').map($7cac9a0d4b75bf4e$var$parseValue);
11754
11764
  };
11755
11765
  var $7cac9a0d4b75bf4e$var$getSizeAtTrack = function(index, tracks, gap, end) {
11756
11766
  if (gap === void 0) gap = 0;
@@ -11766,7 +11776,7 @@ var $7cac9a0d4b75bf4e$var$getStyles = function(rule, ownRules, matchedRules) {
11766
11776
  return ownRules.concat(matchedRules).map(function(r) {
11767
11777
  return r.style[rule];
11768
11778
  }).filter(function(style) {
11769
- return style !== undefined && style !== "";
11779
+ return style !== undefined && style !== '';
11770
11780
  });
11771
11781
  };
11772
11782
  var $7cac9a0d4b75bf4e$var$getGapValue = function(unit, size) {
@@ -11812,41 +11822,41 @@ function $7cac9a0d4b75bf4e$var$getMatchedCSSRules(el) {
11812
11822
  return matches;
11813
11823
  });
11814
11824
  }
11815
- var $7cac9a0d4b75bf4e$var$gridTemplatePropColumns = "grid-template-columns";
11816
- var $7cac9a0d4b75bf4e$var$gridTemplatePropRows = "grid-template-rows";
11825
+ var $7cac9a0d4b75bf4e$var$gridTemplatePropColumns = 'grid-template-columns';
11826
+ var $7cac9a0d4b75bf4e$var$gridTemplatePropRows = 'grid-template-rows';
11817
11827
  var $7cac9a0d4b75bf4e$var$Gutter = function Gutter(direction, options, parentOptions) {
11818
11828
  this.direction = direction;
11819
11829
  this.element = options.element;
11820
11830
  this.track = options.track;
11821
- if (direction === "column") {
11831
+ if (direction === 'column') {
11822
11832
  this.gridTemplateProp = $7cac9a0d4b75bf4e$var$gridTemplatePropColumns;
11823
- this.gridGapProp = "grid-column-gap";
11824
- this.cursor = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "columnCursor", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "cursor", "col-resize"));
11825
- this.snapOffset = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "columnSnapOffset", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "snapOffset", 30));
11826
- this.dragInterval = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "columnDragInterval", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "dragInterval", 1));
11827
- this.clientAxis = "clientX";
11828
- this.optionStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "gridTemplateColumns");
11829
- } else if (direction === "row") {
11833
+ this.gridGapProp = 'grid-column-gap';
11834
+ this.cursor = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'columnCursor', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'cursor', 'col-resize'));
11835
+ this.snapOffset = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'columnSnapOffset', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'snapOffset', 30));
11836
+ this.dragInterval = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'columnDragInterval', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'dragInterval', 1));
11837
+ this.clientAxis = 'clientX';
11838
+ this.optionStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'gridTemplateColumns');
11839
+ } else if (direction === 'row') {
11830
11840
  this.gridTemplateProp = $7cac9a0d4b75bf4e$var$gridTemplatePropRows;
11831
- this.gridGapProp = "grid-row-gap";
11832
- this.cursor = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "rowCursor", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "cursor", "row-resize"));
11833
- this.snapOffset = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "rowSnapOffset", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "snapOffset", 30));
11834
- this.dragInterval = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "rowDragInterval", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "dragInterval", 1));
11835
- this.clientAxis = "clientY";
11836
- this.optionStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "gridTemplateRows");
11837
- }
11838
- this.onDragStart = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "onDragStart", $7cac9a0d4b75bf4e$var$NOOP);
11839
- this.onDragEnd = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "onDragEnd", $7cac9a0d4b75bf4e$var$NOOP);
11840
- this.onDrag = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "onDrag", $7cac9a0d4b75bf4e$var$NOOP);
11841
- this.writeStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "writeStyle", $7cac9a0d4b75bf4e$var$defaultWriteStyle);
11841
+ this.gridGapProp = 'grid-row-gap';
11842
+ this.cursor = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'rowCursor', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'cursor', 'row-resize'));
11843
+ this.snapOffset = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'rowSnapOffset', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'snapOffset', 30));
11844
+ this.dragInterval = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'rowDragInterval', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'dragInterval', 1));
11845
+ this.clientAxis = 'clientY';
11846
+ this.optionStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'gridTemplateRows');
11847
+ }
11848
+ this.onDragStart = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'onDragStart', $7cac9a0d4b75bf4e$var$NOOP);
11849
+ this.onDragEnd = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'onDragEnd', $7cac9a0d4b75bf4e$var$NOOP);
11850
+ this.onDrag = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'onDrag', $7cac9a0d4b75bf4e$var$NOOP);
11851
+ this.writeStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'writeStyle', $7cac9a0d4b75bf4e$var$defaultWriteStyle);
11842
11852
  this.startDragging = this.startDragging.bind(this);
11843
11853
  this.stopDragging = this.stopDragging.bind(this);
11844
11854
  this.drag = this.drag.bind(this);
11845
11855
  this.minSizeStart = options.minSizeStart;
11846
11856
  this.minSizeEnd = options.minSizeEnd;
11847
11857
  if (options.element) {
11848
- this.element.addEventListener("mousedown", this.startDragging);
11849
- this.element.addEventListener("touchstart", this.startDragging);
11858
+ this.element.addEventListener('mousedown', this.startDragging);
11859
+ this.element.addEventListener('touchstart', this.startDragging);
11850
11860
  }
11851
11861
  };
11852
11862
  $7cac9a0d4b75bf4e$var$Gutter.prototype.getDimensions = function getDimensions() {
@@ -11857,11 +11867,11 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.getDimensions = function getDimensions()
11857
11867
  var bottom = ref.bottom;
11858
11868
  var left = ref.left;
11859
11869
  var right = ref.right;
11860
- if (this.direction === "column") {
11870
+ if (this.direction === 'column') {
11861
11871
  this.start = top;
11862
11872
  this.end = bottom;
11863
11873
  this.size = height;
11864
- } else if (this.direction === "row") {
11874
+ } else if (this.direction === 'row') {
11865
11875
  this.start = left;
11866
11876
  this.end = right;
11867
11877
  this.size = width;
@@ -11879,7 +11889,7 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.getRawTracks = function getRawTracks() {
11879
11889
  ], $7cac9a0d4b75bf4e$var$getMatchedCSSRules(this.grid));
11880
11890
  if (!tracks.length) {
11881
11891
  if (this.optionStyle) return this.optionStyle;
11882
- throw Error("Unable to determine grid template tracks from styles.");
11892
+ throw Error('Unable to determine grid template tracks from styles.');
11883
11893
  }
11884
11894
  return tracks[0];
11885
11895
  };
@@ -11897,11 +11907,11 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.getRawComputedGap = function getRawComput
11897
11907
  return window.getComputedStyle(this.grid)[this.gridGapProp];
11898
11908
  };
11899
11909
  $7cac9a0d4b75bf4e$var$Gutter.prototype.setTracks = function setTracks(raw) {
11900
- this.tracks = raw.split(" ");
11910
+ this.tracks = raw.split(' ');
11901
11911
  this.trackValues = $7cac9a0d4b75bf4e$var$parse(raw);
11902
11912
  };
11903
11913
  $7cac9a0d4b75bf4e$var$Gutter.prototype.setComputedTracks = function setComputedTracks(raw) {
11904
- this.computedTracks = raw.split(" ");
11914
+ this.computedTracks = raw.split(' ');
11905
11915
  this.computedPixels = $7cac9a0d4b75bf4e$var$parse(raw);
11906
11916
  };
11907
11917
  $7cac9a0d4b75bf4e$var$Gutter.prototype.setGap = function setGap(raw) {
@@ -11909,14 +11919,14 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.setGap = function setGap(raw) {
11909
11919
  };
11910
11920
  $7cac9a0d4b75bf4e$var$Gutter.prototype.setComputedGap = function setComputedGap(raw) {
11911
11921
  this.computedGap = raw;
11912
- this.computedGapPixels = $7cac9a0d4b75bf4e$var$getGapValue("px", this.computedGap) || 0;
11922
+ this.computedGapPixels = $7cac9a0d4b75bf4e$var$getGapValue('px', this.computedGap) || 0;
11913
11923
  };
11914
11924
  $7cac9a0d4b75bf4e$var$Gutter.prototype.getMousePosition = function getMousePosition(e) {
11915
- if ("touches" in e) return e.touches[0][this.clientAxis];
11925
+ if ('touches' in e) return e.touches[0][this.clientAxis];
11916
11926
  return e[this.clientAxis];
11917
11927
  };
11918
11928
  $7cac9a0d4b75bf4e$var$Gutter.prototype.startDragging = function startDragging(e) {
11919
- if ("button" in e && e.button !== 0) return;
11929
+ if ('button' in e && e.button !== 0) return;
11920
11930
  // Don't actually drag the element. We emulate that in the drag function.
11921
11931
  e.preventDefault();
11922
11932
  if (this.element) this.grid = this.element.parentNode;
@@ -11927,10 +11937,10 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.startDragging = function startDragging(e)
11927
11937
  this.setGap(this.getGap());
11928
11938
  this.setComputedGap(this.getRawComputedGap());
11929
11939
  var trackPercentage = this.trackValues.filter(function(track) {
11930
- return track.type === "%";
11940
+ return track.type === '%';
11931
11941
  });
11932
11942
  var trackFr = this.trackValues.filter(function(track) {
11933
- return track.type === "fr";
11943
+ return track.type === 'fr';
11934
11944
  });
11935
11945
  this.totalFrs = trackFr.length;
11936
11946
  if (this.totalFrs) {
@@ -11952,18 +11962,18 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.startDragging = function startDragging(e)
11952
11962
  // Set the dragging property of the pair object.
11953
11963
  this.dragging = true;
11954
11964
  // All the binding. `window` gets the stop events in case we drag out of the elements.
11955
- window.addEventListener("mouseup", this.stopDragging);
11956
- window.addEventListener("touchend", this.stopDragging);
11957
- window.addEventListener("touchcancel", this.stopDragging);
11958
- window.addEventListener("mousemove", this.drag);
11959
- window.addEventListener("touchmove", this.drag);
11965
+ window.addEventListener('mouseup', this.stopDragging);
11966
+ window.addEventListener('touchend', this.stopDragging);
11967
+ window.addEventListener('touchcancel', this.stopDragging);
11968
+ window.addEventListener('mousemove', this.drag);
11969
+ window.addEventListener('touchmove', this.drag);
11960
11970
  // Disable selection. Disable!
11961
- this.grid.addEventListener("selectstart", $7cac9a0d4b75bf4e$var$NOOP);
11962
- this.grid.addEventListener("dragstart", $7cac9a0d4b75bf4e$var$NOOP);
11963
- this.grid.style.userSelect = "none";
11964
- this.grid.style.webkitUserSelect = "none";
11965
- this.grid.style.MozUserSelect = "none";
11966
- this.grid.style.pointerEvents = "none";
11971
+ this.grid.addEventListener('selectstart', $7cac9a0d4b75bf4e$var$NOOP);
11972
+ this.grid.addEventListener('dragstart', $7cac9a0d4b75bf4e$var$NOOP);
11973
+ this.grid.style.userSelect = 'none';
11974
+ this.grid.style.webkitUserSelect = 'none';
11975
+ this.grid.style.MozUserSelect = 'none';
11976
+ this.grid.style.pointerEvents = 'none';
11967
11977
  // Set the cursor at multiple levels
11968
11978
  this.grid.style.cursor = this.cursor;
11969
11979
  window.document.body.style.cursor = this.cursor;
@@ -11976,8 +11986,8 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.stopDragging = function stopDragging() {
11976
11986
  this.onDragEnd(this.direction, this.track);
11977
11987
  if (this.needsDestroy) {
11978
11988
  if (this.element) {
11979
- this.element.removeEventListener("mousedown", this.startDragging);
11980
- this.element.removeEventListener("touchstart", this.startDragging);
11989
+ this.element.removeEventListener('mousedown', this.startDragging);
11990
+ this.element.removeEventListener('touchstart', this.startDragging);
11981
11991
  }
11982
11992
  this.destroyCb();
11983
11993
  this.needsDestroy = false;
@@ -12004,56 +12014,56 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.drag = function drag(e) {
12004
12014
  }
12005
12015
  if (aTrackSize < this.minSizeStart) aTrackSize = this.minSizeStart;
12006
12016
  if (bTrackSize < this.minSizeEnd) bTrackSize = this.minSizeEnd;
12007
- if (this.trackValues[this.aTrack].type === "px") this.tracks[this.aTrack] = aTrackSize + "px";
12008
- else if (this.trackValues[this.aTrack].type === "fr") {
12009
- if (this.totalFrs === 1) this.tracks[this.aTrack] = "1fr";
12017
+ if (this.trackValues[this.aTrack].type === 'px') this.tracks[this.aTrack] = aTrackSize + "px";
12018
+ else if (this.trackValues[this.aTrack].type === 'fr') {
12019
+ if (this.totalFrs === 1) this.tracks[this.aTrack] = '1fr';
12010
12020
  else {
12011
12021
  var targetFr = aTrackSize / this.frToPixels;
12012
12022
  this.tracks[this.aTrack] = targetFr + "fr";
12013
12023
  }
12014
- } else if (this.trackValues[this.aTrack].type === "%") {
12024
+ } else if (this.trackValues[this.aTrack].type === '%') {
12015
12025
  var targetPercentage = aTrackSize / this.percentageToPixels;
12016
12026
  this.tracks[this.aTrack] = targetPercentage + "%";
12017
12027
  }
12018
- if (this.trackValues[this.bTrack].type === "px") this.tracks[this.bTrack] = bTrackSize + "px";
12019
- else if (this.trackValues[this.bTrack].type === "fr") {
12020
- if (this.totalFrs === 1) this.tracks[this.bTrack] = "1fr";
12028
+ if (this.trackValues[this.bTrack].type === 'px') this.tracks[this.bTrack] = bTrackSize + "px";
12029
+ else if (this.trackValues[this.bTrack].type === 'fr') {
12030
+ if (this.totalFrs === 1) this.tracks[this.bTrack] = '1fr';
12021
12031
  else {
12022
12032
  var targetFr$1 = bTrackSize / this.frToPixels;
12023
12033
  this.tracks[this.bTrack] = targetFr$1 + "fr";
12024
12034
  }
12025
- } else if (this.trackValues[this.bTrack].type === "%") {
12035
+ } else if (this.trackValues[this.bTrack].type === '%') {
12026
12036
  var targetPercentage$1 = bTrackSize / this.percentageToPixels;
12027
12037
  this.tracks[this.bTrack] = targetPercentage$1 + "%";
12028
12038
  }
12029
- var style = this.tracks.join(" ");
12039
+ var style = this.tracks.join(' ');
12030
12040
  this.writeStyle(this.grid, this.gridTemplateProp, style);
12031
12041
  this.onDrag(this.direction, this.track, style);
12032
12042
  };
12033
12043
  $7cac9a0d4b75bf4e$var$Gutter.prototype.cleanup = function cleanup() {
12034
- window.removeEventListener("mouseup", this.stopDragging);
12035
- window.removeEventListener("touchend", this.stopDragging);
12036
- window.removeEventListener("touchcancel", this.stopDragging);
12037
- window.removeEventListener("mousemove", this.drag);
12038
- window.removeEventListener("touchmove", this.drag);
12044
+ window.removeEventListener('mouseup', this.stopDragging);
12045
+ window.removeEventListener('touchend', this.stopDragging);
12046
+ window.removeEventListener('touchcancel', this.stopDragging);
12047
+ window.removeEventListener('mousemove', this.drag);
12048
+ window.removeEventListener('touchmove', this.drag);
12039
12049
  if (this.grid) {
12040
- this.grid.removeEventListener("selectstart", $7cac9a0d4b75bf4e$var$NOOP);
12041
- this.grid.removeEventListener("dragstart", $7cac9a0d4b75bf4e$var$NOOP);
12042
- this.grid.style.userSelect = "";
12043
- this.grid.style.webkitUserSelect = "";
12044
- this.grid.style.MozUserSelect = "";
12045
- this.grid.style.pointerEvents = "";
12046
- this.grid.style.cursor = "";
12047
- }
12048
- window.document.body.style.cursor = "";
12050
+ this.grid.removeEventListener('selectstart', $7cac9a0d4b75bf4e$var$NOOP);
12051
+ this.grid.removeEventListener('dragstart', $7cac9a0d4b75bf4e$var$NOOP);
12052
+ this.grid.style.userSelect = '';
12053
+ this.grid.style.webkitUserSelect = '';
12054
+ this.grid.style.MozUserSelect = '';
12055
+ this.grid.style.pointerEvents = '';
12056
+ this.grid.style.cursor = '';
12057
+ }
12058
+ window.document.body.style.cursor = '';
12049
12059
  };
12050
12060
  $7cac9a0d4b75bf4e$var$Gutter.prototype.destroy = function destroy(immediate, cb) {
12051
12061
  if (immediate === void 0) immediate = true;
12052
12062
  if (immediate || this.dragging === false) {
12053
12063
  this.cleanup();
12054
12064
  if (this.element) {
12055
- this.element.removeEventListener("mousedown", this.startDragging);
12056
- this.element.removeEventListener("touchstart", this.startDragging);
12065
+ this.element.removeEventListener('mousedown', this.startDragging);
12066
+ this.element.removeEventListener('touchstart', this.startDragging);
12057
12067
  }
12058
12068
  if (cb) cb();
12059
12069
  } else {
@@ -12068,11 +12078,11 @@ var $7cac9a0d4b75bf4e$var$getTrackOption = function(options, track, defaultValue
12068
12078
  var $7cac9a0d4b75bf4e$var$createGutter = function(direction, options) {
12069
12079
  return function(gutterOptions) {
12070
12080
  if (gutterOptions.track < 1) throw Error("Invalid track index: " + gutterOptions.track + ". Track must be between two other tracks.");
12071
- var trackMinSizes = direction === "column" ? options.columnMinSizes || {} : options.rowMinSizes || {};
12072
- var trackMinSize = direction === "column" ? "columnMinSize" : "rowMinSize";
12081
+ var trackMinSizes = direction === 'column' ? options.columnMinSizes || {} : options.rowMinSizes || {};
12082
+ var trackMinSize = direction === 'column' ? 'columnMinSize' : 'rowMinSize';
12073
12083
  return new $7cac9a0d4b75bf4e$var$Gutter(direction, Object.assign({}, {
12074
- minSizeStart: $7cac9a0d4b75bf4e$var$getTrackOption(trackMinSizes, gutterOptions.track - 1, $7cac9a0d4b75bf4e$var$getOption(options, trackMinSize, $7cac9a0d4b75bf4e$var$getOption(options, "minSize", 0))),
12075
- minSizeEnd: $7cac9a0d4b75bf4e$var$getTrackOption(trackMinSizes, gutterOptions.track + 1, $7cac9a0d4b75bf4e$var$getOption(options, trackMinSize, $7cac9a0d4b75bf4e$var$getOption(options, "minSize", 0)))
12084
+ minSizeStart: $7cac9a0d4b75bf4e$var$getTrackOption(trackMinSizes, gutterOptions.track - 1, $7cac9a0d4b75bf4e$var$getOption(options, trackMinSize, $7cac9a0d4b75bf4e$var$getOption(options, 'minSize', 0))),
12085
+ minSizeEnd: $7cac9a0d4b75bf4e$var$getTrackOption(trackMinSizes, gutterOptions.track + 1, $7cac9a0d4b75bf4e$var$getOption(options, trackMinSize, $7cac9a0d4b75bf4e$var$getOption(options, 'minSize', 0)))
12076
12086
  }, gutterOptions), options);
12077
12087
  };
12078
12088
  };
@@ -12087,22 +12097,22 @@ var $7cac9a0d4b75bf4e$var$Grid = function Grid(options) {
12087
12097
  rowMinSizes: options.rowMinSizes || {}
12088
12098
  }, options);
12089
12099
  this.options.columnGutters.forEach(function(gutterOptions) {
12090
- this$1.columnGutters[gutterOptions.track] = $7cac9a0d4b75bf4e$var$createGutter("column", this$1.options)(gutterOptions);
12100
+ this$1.columnGutters[gutterOptions.track] = $7cac9a0d4b75bf4e$var$createGutter('column', this$1.options)(gutterOptions);
12091
12101
  });
12092
12102
  this.options.rowGutters.forEach(function(gutterOptions) {
12093
- this$1.rowGutters[gutterOptions.track] = $7cac9a0d4b75bf4e$var$createGutter("row", this$1.options)(gutterOptions);
12103
+ this$1.rowGutters[gutterOptions.track] = $7cac9a0d4b75bf4e$var$createGutter('row', this$1.options)(gutterOptions);
12094
12104
  });
12095
12105
  };
12096
12106
  $7cac9a0d4b75bf4e$var$Grid.prototype.addColumnGutter = function addColumnGutter(element, track) {
12097
12107
  if (this.columnGutters[track]) this.columnGutters[track].destroy();
12098
- this.columnGutters[track] = $7cac9a0d4b75bf4e$var$createGutter("column", this.options)({
12108
+ this.columnGutters[track] = $7cac9a0d4b75bf4e$var$createGutter('column', this.options)({
12099
12109
  element: element,
12100
12110
  track: track
12101
12111
  });
12102
12112
  };
12103
12113
  $7cac9a0d4b75bf4e$var$Grid.prototype.addRowGutter = function addRowGutter(element, track) {
12104
12114
  if (this.rowGutters[track]) this.rowGutters[track].destroy();
12105
- this.rowGutters[track] = $7cac9a0d4b75bf4e$var$createGutter("row", this.options)({
12115
+ this.rowGutters[track] = $7cac9a0d4b75bf4e$var$createGutter('row', this.options)({
12106
12116
  element: element,
12107
12117
  track: track
12108
12118
  });
@@ -12122,15 +12132,15 @@ $7cac9a0d4b75bf4e$var$Grid.prototype.removeRowGutter = function removeRowGutter(
12122
12132
  });
12123
12133
  };
12124
12134
  $7cac9a0d4b75bf4e$var$Grid.prototype.handleDragStart = function handleDragStart(e, direction, track) {
12125
- if (direction === "column") {
12135
+ if (direction === 'column') {
12126
12136
  if (this.columnGutters[track]) this.columnGutters[track].destroy();
12127
- this.columnGutters[track] = $7cac9a0d4b75bf4e$var$createGutter("column", this.options)({
12137
+ this.columnGutters[track] = $7cac9a0d4b75bf4e$var$createGutter('column', this.options)({
12128
12138
  track: track
12129
12139
  });
12130
12140
  this.columnGutters[track].startDragging(e);
12131
- } else if (direction === "row") {
12141
+ } else if (direction === 'row') {
12132
12142
  if (this.rowGutters[track]) this.rowGutters[track].destroy();
12133
- this.rowGutters[track] = $7cac9a0d4b75bf4e$var$createGutter("row", this.options)({
12143
+ this.rowGutters[track] = $7cac9a0d4b75bf4e$var$createGutter('row', this.options)({
12134
12144
  track: track
12135
12145
  });
12136
12146
  this.rowGutters[track].startDragging(e);
@@ -12269,33 +12279,6 @@ function $506dabb2bf255b38$var$sizeSplits(sizes) {
12269
12279
  }
12270
12280
 
12271
12281
 
12272
- var $a87dacf5139b5e2f$exports = {};
12273
-
12274
- $parcel$defineInteropFlag($a87dacf5139b5e2f$exports);
12275
-
12276
- $parcel$export($a87dacf5139b5e2f$exports, "default", () => $a87dacf5139b5e2f$export$2e2bcd8739ae039);
12277
- function $a87dacf5139b5e2f$export$2e2bcd8739ae039(store) {
12278
- return {
12279
- get store () {
12280
- return store || this;
12281
- },
12282
- get id () {
12283
- return this.$root.id;
12284
- },
12285
- get panels () {
12286
- return Array.from(this.$refs.panels.children);
12287
- },
12288
- isActive (el) {
12289
- return this.store.activeTab === this._getRef(el);
12290
- },
12291
- // protected
12292
- _getRef (el) {
12293
- return el.getAttribute("x-ref");
12294
- }
12295
- };
12296
- }
12297
-
12298
-
12299
12282
  var $0db07828cadc68e0$exports = {};
12300
12283
 
12301
12284
  $parcel$defineInteropFlag($0db07828cadc68e0$exports);
@@ -12516,7 +12499,34 @@ function $6d64716f0b34fdf4$export$2e2bcd8739ae039(store) {
12516
12499
  }
12517
12500
 
12518
12501
 
12519
- $c9dfaeb25bf110ce$exports = {
12502
+ var $a87dacf5139b5e2f$exports = {};
12503
+
12504
+ $parcel$defineInteropFlag($a87dacf5139b5e2f$exports);
12505
+
12506
+ $parcel$export($a87dacf5139b5e2f$exports, "default", () => $a87dacf5139b5e2f$export$2e2bcd8739ae039);
12507
+ function $a87dacf5139b5e2f$export$2e2bcd8739ae039(store) {
12508
+ return {
12509
+ get store () {
12510
+ return store || this;
12511
+ },
12512
+ get id () {
12513
+ return this.$root.id;
12514
+ },
12515
+ get panels () {
12516
+ return Array.from(this.$refs.panels.children);
12517
+ },
12518
+ isActive (el) {
12519
+ return this.store.activeTab === this._getRef(el);
12520
+ },
12521
+ // protected
12522
+ _getRef (el) {
12523
+ return el.getAttribute("x-ref");
12524
+ }
12525
+ };
12526
+ }
12527
+
12528
+
12529
+ $e3048089509446aa$exports = {
12520
12530
  "button": $cbd28b10fa9798c7$exports,
12521
12531
  "code": $99486586f6691564$exports,
12522
12532
  "copy_button": $47a1c62621be0c54$exports,
@@ -12525,13 +12535,131 @@ $c9dfaeb25bf110ce$exports = {
12525
12535
  "filter": $e9904a14dabf652d$exports,
12526
12536
  "nav": $d92d9d5253f84566$exports,
12527
12537
  "split_layout": $506dabb2bf255b38$exports,
12528
- "tab_panels": $a87dacf5139b5e2f$exports,
12529
12538
  "tabs": $0db07828cadc68e0$exports,
12530
- "viewport": $6d64716f0b34fdf4$exports
12539
+ "viewport": $6d64716f0b34fdf4$exports,
12540
+ "tab_panels": $a87dacf5139b5e2f$exports
12531
12541
  };
12532
12542
 
12533
12543
 
12534
- var $9a68326211e66205$exports = {};
12544
+ var $6178ee12f80cbf68$exports = {};
12545
+ var $6a9b69d9cc7f810f$exports = {};
12546
+
12547
+ $parcel$defineInteropFlag($6a9b69d9cc7f810f$exports);
12548
+
12549
+ $parcel$export($6a9b69d9cc7f810f$exports, "default", () => $6a9b69d9cc7f810f$export$2e2bcd8739ae039);
12550
+ var $cdfeaa1e0e8d642c$exports = {};
12551
+ (function(global, factory) {
12552
+ $cdfeaa1e0e8d642c$exports = factory();
12553
+ })($cdfeaa1e0e8d642c$exports, function() {
12554
+ 'use strict';
12555
+ /* eslint-disable no-var */ function assign(target) {
12556
+ for(var i = 1; i < arguments.length; i++){
12557
+ var source = arguments[i];
12558
+ for(var key in source)target[key] = source[key];
12559
+ }
12560
+ return target;
12561
+ }
12562
+ /* eslint-enable no-var */ /* eslint-disable no-var */ var defaultConverter = {
12563
+ read: function(value) {
12564
+ if (value[0] === '"') value = value.slice(1, -1);
12565
+ return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
12566
+ },
12567
+ write: function(value) {
12568
+ return encodeURIComponent(value).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);
12569
+ }
12570
+ };
12571
+ /* eslint-enable no-var */ /* eslint-disable no-var */ function init(converter, defaultAttributes) {
12572
+ function set(name, value, attributes) {
12573
+ if (typeof document === 'undefined') return;
12574
+ attributes = assign({}, defaultAttributes, attributes);
12575
+ if (typeof attributes.expires === 'number') attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
12576
+ if (attributes.expires) attributes.expires = attributes.expires.toUTCString();
12577
+ name = encodeURIComponent(name).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
12578
+ var stringifiedAttributes = '';
12579
+ for(var attributeName in attributes){
12580
+ if (!attributes[attributeName]) continue;
12581
+ stringifiedAttributes += '; ' + attributeName;
12582
+ if (attributes[attributeName] === true) continue;
12583
+ // Considers RFC 6265 section 5.2:
12584
+ // ...
12585
+ // 3. If the remaining unparsed-attributes contains a %x3B (";")
12586
+ // character:
12587
+ // Consume the characters of the unparsed-attributes up to,
12588
+ // not including, the first %x3B (";") character.
12589
+ // ...
12590
+ stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
12591
+ }
12592
+ return document.cookie = name + '=' + converter.write(value, name) + stringifiedAttributes;
12593
+ }
12594
+ function get(name) {
12595
+ if (typeof document === 'undefined' || arguments.length && !name) return;
12596
+ // To prevent the for loop in the first place assign an empty array
12597
+ // in case there are no cookies at all.
12598
+ var cookies = document.cookie ? document.cookie.split('; ') : [];
12599
+ var jar = {};
12600
+ for(var i = 0; i < cookies.length; i++){
12601
+ var parts = cookies[i].split('=');
12602
+ var value = parts.slice(1).join('=');
12603
+ try {
12604
+ var found = decodeURIComponent(parts[0]);
12605
+ jar[found] = converter.read(value, found);
12606
+ if (name === found) break;
12607
+ } catch (e) {}
12608
+ }
12609
+ return name ? jar[name] : jar;
12610
+ }
12611
+ return Object.create({
12612
+ set: set,
12613
+ get: get,
12614
+ remove: function(name, attributes) {
12615
+ set(name, '', assign({}, attributes, {
12616
+ expires: -1
12617
+ }));
12618
+ },
12619
+ withAttributes: function(attributes) {
12620
+ return init(this.converter, assign({}, this.attributes, attributes));
12621
+ },
12622
+ withConverter: function(converter) {
12623
+ return init(assign({}, this.converter, converter), this.attributes);
12624
+ }
12625
+ }, {
12626
+ attributes: {
12627
+ value: Object.freeze(defaultAttributes)
12628
+ },
12629
+ converter: {
12630
+ value: Object.freeze(converter)
12631
+ }
12632
+ });
12633
+ }
12634
+ var api = init(defaultConverter, {
12635
+ path: '/'
12636
+ });
12637
+ /* eslint-enable no-var */ return api;
12638
+ });
12639
+
12640
+
12641
+
12642
+ function $6a9b69d9cc7f810f$export$2e2bcd8739ae039({ name: name, value: value }) {
12643
+ return {
12644
+ name: name,
12645
+ value: value,
12646
+ init () {
12647
+ this.$watch("value", ()=>this.update());
12648
+ },
12649
+ update () {
12650
+ (0, (/*@__PURE__*/$parcel$interopDefault($cdfeaa1e0e8d642c$exports))).set(`lookbook-display-${name}`, this.value);
12651
+ const searchParams = new URLSearchParams(window.location.search);
12652
+ const display = searchParams.get("_display");
12653
+ const displayParams = display ? (0, $fb8f79f7dd40b68f$export$f720fd0ddbeb53d9)(display) : {};
12654
+ displayParams[this.name] = this.value;
12655
+ searchParams.set("_display", (0, $fb8f79f7dd40b68f$export$c788aab010beeaec)(displayParams));
12656
+ const path = location.href.replace(location.search, "");
12657
+ this.navigateTo(`${path}?${searchParams.toString()}`);
12658
+ }
12659
+ };
12660
+ }
12661
+
12662
+
12535
12663
  var $c299e36fa9e271bc$exports = {};
12536
12664
 
12537
12665
  $parcel$defineInteropFlag($c299e36fa9e271bc$exports);
@@ -12548,8 +12676,8 @@ var $ef5e88eaa61efd95$exports = {};
12548
12676
  * Contributor: Reed Dadoune - reed@dadoune.com
12549
12677
  */ // eslint-disable-next-line sonarjs/cognitive-complexity, no-shadow-restricted-names
12550
12678
  (function(undefined) {
12551
- if (typeof window === "undefined") return; // don't run for server side render
12552
- var count = 0, logEnabled = false, hiddenCheckEnabled = false, msgHeader = "message", msgHeaderLen = msgHeader.length, msgId = "[iFrameSizer]", msgIdLen = msgId.length, pagePosition = null, requestAnimationFrame = window.requestAnimationFrame, resetRequiredMethods = Object.freeze({
12679
+ if (typeof window === 'undefined') return; // don't run for server side render
12680
+ var count = 0, logEnabled = false, hiddenCheckEnabled = false, msgHeader = 'message', msgHeaderLen = msgHeader.length, msgId = '[iFrameSizer]', msgIdLen = msgId.length, pagePosition = null, requestAnimationFrame = window.requestAnimationFrame, resetRequiredMethods = Object.freeze({
12553
12681
  max: 1,
12554
12682
  scroll: 1,
12555
12683
  bodyScroll: 1,
@@ -12563,8 +12691,8 @@ var $ef5e88eaa61efd95$exports = {};
12563
12691
  checkOrigin: true,
12564
12692
  inPageLinks: false,
12565
12693
  enablePublicMethods: true,
12566
- heightCalculationMethod: "bodyOffset",
12567
- id: "iFrameResizer",
12694
+ heightCalculationMethod: 'bodyOffset',
12695
+ id: 'iFrameResizer',
12568
12696
  interval: 32,
12569
12697
  log: false,
12570
12698
  maxHeight: Infinity,
@@ -12572,20 +12700,20 @@ var $ef5e88eaa61efd95$exports = {};
12572
12700
  minHeight: 0,
12573
12701
  minWidth: 0,
12574
12702
  mouseEvents: true,
12575
- resizeFrom: "parent",
12703
+ resizeFrom: 'parent',
12576
12704
  scrolling: false,
12577
12705
  sizeHeight: true,
12578
12706
  sizeWidth: false,
12579
12707
  warningTimeout: 5000,
12580
12708
  tolerance: 0,
12581
- widthCalculationMethod: "scroll",
12709
+ widthCalculationMethod: 'scroll',
12582
12710
  onClose: function() {
12583
12711
  return true;
12584
12712
  },
12585
12713
  onClosed: function() {},
12586
12714
  onInit: function() {},
12587
12715
  onMessage: function() {
12588
- warn("onMessage function not defined");
12716
+ warn('onMessage function not defined');
12589
12717
  },
12590
12718
  onMouseEnter: function() {},
12591
12719
  onMouseLeave: function() {},
@@ -12605,42 +12733,42 @@ var $ef5e88eaa61efd95$exports = {};
12605
12733
  }
12606
12734
  function setupRequestAnimationFrame() {
12607
12735
  var vendors = [
12608
- "moz",
12609
- "webkit",
12610
- "o",
12611
- "ms"
12736
+ 'moz',
12737
+ 'webkit',
12738
+ 'o',
12739
+ 'ms'
12612
12740
  ];
12613
12741
  var x;
12614
12742
  // Remove vendor prefixing if prefixed and break early if not
12615
- for(x = 0; x < vendors.length && !requestAnimationFrame; x += 1)requestAnimationFrame = window[vendors[x] + "RequestAnimationFrame"];
12743
+ for(x = 0; x < vendors.length && !requestAnimationFrame; x += 1)requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'];
12616
12744
  if (requestAnimationFrame) // Firefox extension content-scripts have a globalThis object that is not the same as window.
12617
12745
  // Binding `requestAnimationFrame` to window allows the function to work and prevents errors
12618
12746
  // being thrown when run in that context, and should be a no-op in every other context.
12619
12747
  requestAnimationFrame = requestAnimationFrame.bind(window);
12620
- else log("setup", "RequestAnimationFrame not supported");
12748
+ else log('setup', 'RequestAnimationFrame not supported');
12621
12749
  }
12622
12750
  function getMyID(iframeId) {
12623
- var retStr = "Host page: " + iframeId;
12624
- if (window.top !== window.self) retStr = window.parentIFrame && window.parentIFrame.getId ? window.parentIFrame.getId() + ": " + iframeId : "Nested host page: " + iframeId;
12751
+ var retStr = 'Host page: ' + iframeId;
12752
+ if (window.top !== window.self) retStr = window.parentIFrame && window.parentIFrame.getId ? window.parentIFrame.getId() + ': ' + iframeId : 'Nested host page: ' + iframeId;
12625
12753
  return retStr;
12626
12754
  }
12627
12755
  function formatLogHeader(iframeId) {
12628
- return msgId + "[" + getMyID(iframeId) + "]";
12756
+ return msgId + '[' + getMyID(iframeId) + ']';
12629
12757
  }
12630
12758
  function isLogEnabled(iframeId) {
12631
12759
  return settings[iframeId] ? settings[iframeId].log : logEnabled;
12632
12760
  }
12633
12761
  function log(iframeId, msg) {
12634
- output("log", iframeId, msg, isLogEnabled(iframeId));
12762
+ output('log', iframeId, msg, isLogEnabled(iframeId));
12635
12763
  }
12636
12764
  function info(iframeId, msg) {
12637
- output("info", iframeId, msg, isLogEnabled(iframeId));
12765
+ output('info', iframeId, msg, isLogEnabled(iframeId));
12638
12766
  }
12639
12767
  function warn(iframeId, msg) {
12640
- output("warn", iframeId, msg, true);
12768
+ output('warn', iframeId, msg, true);
12641
12769
  }
12642
12770
  function output(type, iframeId, msg, enabled) {
12643
- if (true === enabled && "object" === typeof window.console) // eslint-disable-next-line no-console
12771
+ if (true === enabled && 'object' === typeof window.console) // eslint-disable-next-line no-console
12644
12772
  console[type](formatLogHeader(iframeId), msg);
12645
12773
  }
12646
12774
  function iFrameListener(event) {
@@ -12648,14 +12776,14 @@ var $ef5e88eaa61efd95$exports = {};
12648
12776
  function resize() {
12649
12777
  setSize(messageData);
12650
12778
  setPagePosition(iframeId);
12651
- on("onResized", messageData);
12779
+ on('onResized', messageData);
12652
12780
  }
12653
- ensureInRange("Height");
12654
- ensureInRange("Width");
12655
- syncResize(resize, messageData, "init");
12781
+ ensureInRange('Height');
12782
+ ensureInRange('Width');
12783
+ syncResize(resize, messageData, 'init');
12656
12784
  }
12657
12785
  function processMsg() {
12658
- var data = msg.slice(msgIdLen).split(":");
12786
+ var data = msg.slice(msgIdLen).split(':');
12659
12787
  var height = data[1] ? parseInt(data[1], 10) : 0;
12660
12788
  var iframe = settings[data[0]] && settings[data[0]].iframe;
12661
12789
  var compStyle = getComputedStyle(iframe);
@@ -12668,35 +12796,35 @@ var $ef5e88eaa61efd95$exports = {};
12668
12796
  };
12669
12797
  }
12670
12798
  function getPaddingEnds(compStyle) {
12671
- if (compStyle.boxSizing !== "border-box") return 0;
12799
+ if (compStyle.boxSizing !== 'border-box') return 0;
12672
12800
  var top = compStyle.paddingTop ? parseInt(compStyle.paddingTop, 10) : 0;
12673
12801
  var bot = compStyle.paddingBottom ? parseInt(compStyle.paddingBottom, 10) : 0;
12674
12802
  return top + bot;
12675
12803
  }
12676
12804
  function getBorderEnds(compStyle) {
12677
- if (compStyle.boxSizing !== "border-box") return 0;
12805
+ if (compStyle.boxSizing !== 'border-box') return 0;
12678
12806
  var top = compStyle.borderTopWidth ? parseInt(compStyle.borderTopWidth, 10) : 0;
12679
12807
  var bot = compStyle.borderBottomWidth ? parseInt(compStyle.borderBottomWidth, 10) : 0;
12680
12808
  return top + bot;
12681
12809
  }
12682
12810
  function ensureInRange(Dimension) {
12683
- var max = Number(settings[iframeId]["max" + Dimension]), min = Number(settings[iframeId]["min" + Dimension]), dimension = Dimension.toLowerCase(), size = Number(messageData[dimension]);
12684
- log(iframeId, "Checking " + dimension + " is in range " + min + "-" + max);
12811
+ var max = Number(settings[iframeId]['max' + Dimension]), min = Number(settings[iframeId]['min' + Dimension]), dimension = Dimension.toLowerCase(), size = Number(messageData[dimension]);
12812
+ log(iframeId, 'Checking ' + dimension + ' is in range ' + min + '-' + max);
12685
12813
  if (size < min) {
12686
12814
  size = min;
12687
- log(iframeId, "Set " + dimension + " to min value");
12815
+ log(iframeId, 'Set ' + dimension + ' to min value');
12688
12816
  }
12689
12817
  if (size > max) {
12690
12818
  size = max;
12691
- log(iframeId, "Set " + dimension + " to max value");
12819
+ log(iframeId, 'Set ' + dimension + ' to max value');
12692
12820
  }
12693
- messageData[dimension] = "" + size;
12821
+ messageData[dimension] = '' + size;
12694
12822
  }
12695
12823
  function isMessageFromIFrame() {
12696
12824
  function checkAllowedOrigin() {
12697
12825
  function checkList() {
12698
12826
  var i = 0, retCode = false;
12699
- log(iframeId, "Checking connection is from allowed list of origins: " + checkOrigin);
12827
+ log(iframeId, 'Checking connection is from allowed list of origins: ' + checkOrigin);
12700
12828
  for(; i < checkOrigin.length; i++)if (checkOrigin[i] === origin) {
12701
12829
  retCode = true;
12702
12830
  break;
@@ -12705,17 +12833,17 @@ var $ef5e88eaa61efd95$exports = {};
12705
12833
  }
12706
12834
  function checkSingle() {
12707
12835
  var remoteHost = settings[iframeId] && settings[iframeId].remoteHost;
12708
- log(iframeId, "Checking connection is from: " + remoteHost);
12836
+ log(iframeId, 'Checking connection is from: ' + remoteHost);
12709
12837
  return origin === remoteHost;
12710
12838
  }
12711
12839
  return checkOrigin.constructor === Array ? checkList() : checkSingle();
12712
12840
  }
12713
12841
  var origin = event.origin, checkOrigin = settings[iframeId] && settings[iframeId].checkOrigin;
12714
- if (checkOrigin && "" + origin !== "null" && !checkAllowedOrigin()) throw new Error("Unexpected message received from: " + origin + " for " + messageData.iframe.id + ". Message was: " + event.data + ". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");
12842
+ if (checkOrigin && '' + origin !== 'null' && !checkAllowedOrigin()) throw new Error('Unexpected message received from: ' + origin + ' for ' + messageData.iframe.id + '. Message was: ' + event.data + '. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.');
12715
12843
  return true;
12716
12844
  }
12717
12845
  function isMessageForUs() {
12718
- return msgId === ("" + msg).slice(0, msgIdLen) && msg.slice(msgIdLen).split(":")[0] in settings // ''+Protects against non-string msg
12846
+ return msgId === ('' + msg).slice(0, msgIdLen) && msg.slice(msgIdLen).split(':')[0] in settings // ''+Protects against non-string msg
12719
12847
  ;
12720
12848
  }
12721
12849
  function isMessageFromMetaParent() {
@@ -12726,19 +12854,19 @@ var $ef5e88eaa61efd95$exports = {};
12726
12854
  false: 1,
12727
12855
  undefined: 1
12728
12856
  };
12729
- if (retCode) log(iframeId, "Ignoring init message from meta parent page");
12857
+ if (retCode) log(iframeId, 'Ignoring init message from meta parent page');
12730
12858
  return retCode;
12731
12859
  }
12732
12860
  function getMsgBody(offset) {
12733
- return msg.slice(msg.indexOf(":") + msgHeaderLen + offset);
12861
+ return msg.slice(msg.indexOf(':') + msgHeaderLen + offset);
12734
12862
  }
12735
12863
  function forwardMsgFromIFrame(msgBody) {
12736
- log(iframeId, "onMessage passed: {iframe: " + messageData.iframe.id + ", message: " + msgBody + "}");
12737
- on("onMessage", {
12864
+ log(iframeId, 'onMessage passed: {iframe: ' + messageData.iframe.id + ', message: ' + msgBody + '}');
12865
+ on('onMessage', {
12738
12866
  iframe: messageData.iframe,
12739
12867
  message: JSON.parse(msgBody)
12740
12868
  });
12741
- log(iframeId, "--");
12869
+ log(iframeId, '--');
12742
12870
  }
12743
12871
  function getPageInfo() {
12744
12872
  var bodyPosition = document.body.getBoundingClientRect(), iFramePosition = messageData.iframe.getBoundingClientRect();
@@ -12759,7 +12887,7 @@ var $ef5e88eaa61efd95$exports = {};
12759
12887
  }
12760
12888
  function sendPageInfoToIframe(iframe, iframeId) {
12761
12889
  function debouncedTrigger() {
12762
- trigger("Send Page Info", "pageInfo:" + getPageInfo(), iframe, iframeId);
12890
+ trigger('Send Page Info', 'pageInfo:' + getPageInfo(), iframe, iframeId);
12763
12891
  }
12764
12892
  debounceFrameEvents(debouncedTrigger, 32, iframeId);
12765
12893
  }
@@ -12770,18 +12898,18 @@ var $ef5e88eaa61efd95$exports = {};
12770
12898
  else stop();
12771
12899
  }
12772
12900
  [
12773
- "scroll",
12774
- "resize"
12901
+ 'scroll',
12902
+ 'resize'
12775
12903
  ].forEach(function(evt) {
12776
- log(id, type + evt + " listener for sendPageInfo");
12904
+ log(id, type + evt + ' listener for sendPageInfo');
12777
12905
  func(window, evt, sendPageInfo);
12778
12906
  });
12779
12907
  }
12780
12908
  function stop() {
12781
- setListener("Remove ", removeEventListener);
12909
+ setListener('Remove ', removeEventListener);
12782
12910
  }
12783
12911
  function start() {
12784
- setListener("Add ", addEventListener);
12912
+ setListener('Add ', addEventListener);
12785
12913
  }
12786
12914
  var id = iframeId // Create locally scoped copy of iFrame ID
12787
12915
  ;
@@ -12797,7 +12925,7 @@ var $ef5e88eaa61efd95$exports = {};
12797
12925
  function checkIFrameExists() {
12798
12926
  var retBool = true;
12799
12927
  if (null === messageData.iframe) {
12800
- warn(iframeId, "IFrame (" + messageData.id + ") not found");
12928
+ warn(iframeId, 'IFrame (' + messageData.id + ') not found');
12801
12929
  retBool = false;
12802
12930
  }
12803
12931
  return retBool;
@@ -12815,7 +12943,7 @@ var $ef5e88eaa61efd95$exports = {};
12815
12943
  function reposition() {
12816
12944
  pagePosition = newPosition;
12817
12945
  scrollTo();
12818
- log(iframeId, "--");
12946
+ log(iframeId, '--');
12819
12947
  }
12820
12948
  function calcOffset() {
12821
12949
  return {
@@ -12824,45 +12952,45 @@ var $ef5e88eaa61efd95$exports = {};
12824
12952
  };
12825
12953
  }
12826
12954
  function scrollParent() {
12827
- if (window.parentIFrame) window.parentIFrame["scrollTo" + (addOffset ? "Offset" : "")](newPosition.x, newPosition.y);
12828
- else warn(iframeId, "Unable to scroll to requested position, window.parentIFrame not found");
12955
+ if (window.parentIFrame) window.parentIFrame['scrollTo' + (addOffset ? 'Offset' : '')](newPosition.x, newPosition.y);
12956
+ else warn(iframeId, 'Unable to scroll to requested position, window.parentIFrame not found');
12829
12957
  }
12830
12958
  var offset = addOffset ? getElementPosition(messageData.iframe) : {
12831
12959
  x: 0,
12832
12960
  y: 0
12833
12961
  }, newPosition = calcOffset();
12834
- log(iframeId, "Reposition requested from iFrame (offset x:" + offset.x + " y:" + offset.y + ")");
12962
+ log(iframeId, 'Reposition requested from iFrame (offset x:' + offset.x + ' y:' + offset.y + ')');
12835
12963
  if (window.top === window.self) reposition();
12836
12964
  else scrollParent();
12837
12965
  }
12838
12966
  function scrollTo() {
12839
- if (false === on("onScroll", pagePosition)) unsetPagePosition();
12967
+ if (false === on('onScroll', pagePosition)) unsetPagePosition();
12840
12968
  else setPagePosition(iframeId);
12841
12969
  }
12842
12970
  function findTarget(location) {
12843
12971
  function jumpToTarget() {
12844
12972
  var jumpPosition = getElementPosition(target);
12845
- log(iframeId, "Moving to in page link (#" + hash + ") at x: " + jumpPosition.x + " y: " + jumpPosition.y);
12973
+ log(iframeId, 'Moving to in page link (#' + hash + ') at x: ' + jumpPosition.x + ' y: ' + jumpPosition.y);
12846
12974
  pagePosition = {
12847
12975
  x: jumpPosition.x,
12848
12976
  y: jumpPosition.y
12849
12977
  };
12850
12978
  scrollTo();
12851
- log(iframeId, "--");
12979
+ log(iframeId, '--');
12852
12980
  }
12853
12981
  function jumpToParent() {
12854
12982
  if (window.parentIFrame) window.parentIFrame.moveToAnchor(hash);
12855
- else log(iframeId, "In page link #" + hash + " not found and window.parentIFrame not found");
12983
+ else log(iframeId, 'In page link #' + hash + ' not found and window.parentIFrame not found');
12856
12984
  }
12857
- var hash = location.split("#")[1] || "", hashData = decodeURIComponent(hash), target = document.getElementById(hashData) || document.getElementsByName(hashData)[0];
12985
+ var hash = location.split('#')[1] || '', hashData = decodeURIComponent(hash), target = document.getElementById(hashData) || document.getElementsByName(hashData)[0];
12858
12986
  if (target) jumpToTarget();
12859
- else if (window.top === window.self) log(iframeId, "In page link #" + hash + " not found");
12987
+ else if (window.top === window.self) log(iframeId, 'In page link #' + hash + ' not found');
12860
12988
  else jumpToParent();
12861
12989
  }
12862
12990
  function onMouse(event) {
12863
12991
  var mousePos = {};
12864
12992
  if (Number(messageData.width) === 0 && Number(messageData.height) === 0) {
12865
- var data = getMsgBody(9).split(":");
12993
+ var data = getMsgBody(9).split(':');
12866
12994
  mousePos = {
12867
12995
  x: data[1],
12868
12996
  y: data[0]
@@ -12884,46 +13012,46 @@ var $ef5e88eaa61efd95$exports = {};
12884
13012
  function actionMsg() {
12885
13013
  if (settings[iframeId] && settings[iframeId].firstRun) firstRun();
12886
13014
  switch(messageData.type){
12887
- case "close":
13015
+ case 'close':
12888
13016
  closeIFrame(messageData.iframe);
12889
13017
  break;
12890
- case "message":
13018
+ case 'message':
12891
13019
  forwardMsgFromIFrame(getMsgBody(6));
12892
13020
  break;
12893
- case "mouseenter":
12894
- onMouse("onMouseEnter");
13021
+ case 'mouseenter':
13022
+ onMouse('onMouseEnter');
12895
13023
  break;
12896
- case "mouseleave":
12897
- onMouse("onMouseLeave");
13024
+ case 'mouseleave':
13025
+ onMouse('onMouseLeave');
12898
13026
  break;
12899
- case "autoResize":
13027
+ case 'autoResize':
12900
13028
  settings[iframeId].autoResize = JSON.parse(getMsgBody(9));
12901
13029
  break;
12902
- case "scrollTo":
13030
+ case 'scrollTo':
12903
13031
  scrollRequestFromChild(false);
12904
13032
  break;
12905
- case "scrollToOffset":
13033
+ case 'scrollToOffset':
12906
13034
  scrollRequestFromChild(true);
12907
13035
  break;
12908
- case "pageInfo":
13036
+ case 'pageInfo':
12909
13037
  sendPageInfoToIframe(settings[iframeId] && settings[iframeId].iframe, iframeId);
12910
13038
  startPageInfoMonitor();
12911
13039
  break;
12912
- case "pageInfoStop":
13040
+ case 'pageInfoStop':
12913
13041
  stopPageInfoMonitor();
12914
13042
  break;
12915
- case "inPageLink":
13043
+ case 'inPageLink':
12916
13044
  findTarget(getMsgBody(9));
12917
13045
  break;
12918
- case "reset":
13046
+ case 'reset':
12919
13047
  resetIFrame(messageData);
12920
13048
  break;
12921
- case "init":
13049
+ case 'init':
12922
13050
  resizeIFrame();
12923
- on("onInit", messageData.iframe);
13051
+ on('onInit', messageData.iframe);
12924
13052
  break;
12925
13053
  default:
12926
- if (Number(messageData.width) === 0 && Number(messageData.height) === 0) warn("Unsupported message received (" + messageData.type + "), this is likely due to the iframe containing a later " + "version of iframe-resizer than the parent page");
13054
+ if (Number(messageData.width) === 0 && Number(messageData.height) === 0) warn('Unsupported message received (' + messageData.type + '), this is likely due to the iframe containing a later ' + 'version of iframe-resizer than the parent page');
12927
13055
  else resizeIFrame();
12928
13056
  }
12929
13057
  }
@@ -12931,35 +13059,35 @@ var $ef5e88eaa61efd95$exports = {};
12931
13059
  var retBool = true;
12932
13060
  if (!settings[iframeId]) {
12933
13061
  retBool = false;
12934
- warn(messageData.type + " No settings for " + iframeId + ". Message was: " + msg);
13062
+ warn(messageData.type + ' No settings for ' + iframeId + '. Message was: ' + msg);
12935
13063
  }
12936
13064
  return retBool;
12937
13065
  }
12938
13066
  function iFrameReadyMsgReceived() {
12939
13067
  // eslint-disable-next-line no-restricted-syntax, guard-for-in
12940
- for(var iframeId in settings)trigger("iFrame requested init", createOutgoingMsg(iframeId), settings[iframeId].iframe, iframeId);
13068
+ for(var iframeId in settings)trigger('iFrame requested init', createOutgoingMsg(iframeId), settings[iframeId].iframe, iframeId);
12941
13069
  }
12942
13070
  function firstRun() {
12943
13071
  if (settings[iframeId]) settings[iframeId].firstRun = false;
12944
13072
  }
12945
13073
  var msg = event.data, messageData = {}, iframeId = null;
12946
- if ("[iFrameResizerChild]Ready" === msg) iFrameReadyMsgReceived();
13074
+ if ('[iFrameResizerChild]Ready' === msg) iFrameReadyMsgReceived();
12947
13075
  else if (isMessageForUs()) {
12948
13076
  messageData = processMsg();
12949
13077
  iframeId = messageData.id;
12950
13078
  if (settings[iframeId]) settings[iframeId].loaded = true;
12951
13079
  if (!isMessageFromMetaParent() && hasSettings(iframeId)) {
12952
- log(iframeId, "Received: " + msg);
13080
+ log(iframeId, 'Received: ' + msg);
12953
13081
  if (checkIFrameExists() && isMessageFromIFrame()) actionMsg();
12954
13082
  }
12955
- } else info(iframeId, "Ignored: " + msg);
13083
+ } else info(iframeId, 'Ignored: ' + msg);
12956
13084
  }
12957
13085
  function chkEvent(iframeId, funcName, val) {
12958
13086
  var func = null, retVal = null;
12959
13087
  if (settings[iframeId]) {
12960
13088
  func = settings[iframeId][funcName];
12961
- if ("function" === typeof func) retVal = func(val);
12962
- else throw new TypeError(funcName + " on iFrame[" + iframeId + "] is not a function");
13089
+ if ('function' === typeof func) retVal = func(val);
13090
+ else throw new TypeError(funcName + ' on iFrame[' + iframeId + '] is not a function');
12963
13091
  }
12964
13092
  return retVal;
12965
13093
  }
@@ -12969,19 +13097,19 @@ var $ef5e88eaa61efd95$exports = {};
12969
13097
  }
12970
13098
  function closeIFrame(iframe) {
12971
13099
  var iframeId = iframe.id;
12972
- if (chkEvent(iframeId, "onClose", iframeId) === false) {
12973
- log(iframeId, "Close iframe cancelled by onClose event");
13100
+ if (chkEvent(iframeId, 'onClose', iframeId) === false) {
13101
+ log(iframeId, 'Close iframe cancelled by onClose event');
12974
13102
  return;
12975
13103
  }
12976
- log(iframeId, "Removing iFrame: " + iframeId);
13104
+ log(iframeId, 'Removing iFrame: ' + iframeId);
12977
13105
  try {
12978
13106
  // Catch race condition error with React
12979
13107
  if (iframe.parentNode) iframe.parentNode.removeChild(iframe);
12980
13108
  } catch (error) {
12981
13109
  warn(error);
12982
13110
  }
12983
- chkEvent(iframeId, "onClosed", iframeId);
12984
- log(iframeId, "--");
13111
+ chkEvent(iframeId, 'onClosed', iframeId);
13112
+ log(iframeId, '--');
12985
13113
  removeIframeListeners(iframe);
12986
13114
  }
12987
13115
  function getPagePosition(iframeId) {
@@ -12990,13 +13118,13 @@ var $ef5e88eaa61efd95$exports = {};
12990
13118
  x: window.pageXOffset === undefined ? document.documentElement.scrollLeft : window.pageXOffset,
12991
13119
  y: window.pageYOffset === undefined ? document.documentElement.scrollTop : window.pageYOffset
12992
13120
  };
12993
- log(iframeId, "Get page position: " + pagePosition.x + "," + pagePosition.y);
13121
+ log(iframeId, 'Get page position: ' + pagePosition.x + ',' + pagePosition.y);
12994
13122
  }
12995
13123
  }
12996
13124
  function setPagePosition(iframeId) {
12997
13125
  if (null !== pagePosition) {
12998
13126
  window.scrollTo(pagePosition.x, pagePosition.y);
12999
- log(iframeId, "Set page position: " + pagePosition.x + "," + pagePosition.y);
13127
+ log(iframeId, 'Set page position: ' + pagePosition.x + ',' + pagePosition.y);
13000
13128
  unsetPagePosition();
13001
13129
  }
13002
13130
  }
@@ -13006,29 +13134,29 @@ var $ef5e88eaa61efd95$exports = {};
13006
13134
  function resetIFrame(messageData) {
13007
13135
  function reset() {
13008
13136
  setSize(messageData);
13009
- trigger("reset", "reset", messageData.iframe, messageData.id);
13137
+ trigger('reset', 'reset', messageData.iframe, messageData.id);
13010
13138
  }
13011
- log(messageData.id, "Size reset requested by " + ("init" === messageData.type ? "host page" : "iFrame"));
13139
+ log(messageData.id, 'Size reset requested by ' + ('init' === messageData.type ? 'host page' : 'iFrame'));
13012
13140
  getPagePosition(messageData.id);
13013
- syncResize(reset, messageData, "reset");
13141
+ syncResize(reset, messageData, 'reset');
13014
13142
  }
13015
13143
  function setSize(messageData) {
13016
13144
  function setDimension(dimension) {
13017
13145
  if (!messageData.id) {
13018
- log("undefined", "messageData id not set");
13146
+ log('undefined', 'messageData id not set');
13019
13147
  return;
13020
13148
  }
13021
- messageData.iframe.style[dimension] = messageData[dimension] + "px";
13022
- log(messageData.id, "IFrame (" + iframeId + ") " + dimension + " set to " + messageData[dimension] + "px");
13149
+ messageData.iframe.style[dimension] = messageData[dimension] + 'px';
13150
+ log(messageData.id, 'IFrame (' + iframeId + ') ' + dimension + ' set to ' + messageData[dimension] + 'px');
13023
13151
  }
13024
13152
  function chkZero(dimension) {
13025
13153
  // FireFox sets dimension of hidden iFrames to zero.
13026
13154
  // So if we detect that set up an event to check for
13027
13155
  // when iFrame becomes visible.
13028
13156
  /* istanbul ignore next */ // Not testable in PhantomJS
13029
- if (!hiddenCheckEnabled && "0" === messageData[dimension]) {
13157
+ if (!hiddenCheckEnabled && '0' === messageData[dimension]) {
13030
13158
  hiddenCheckEnabled = true;
13031
- log(iframeId, "Hidden iFrame detected, creating visibility listener");
13159
+ log(iframeId, 'Hidden iFrame detected, creating visibility listener');
13032
13160
  fixHiddenIFrames();
13033
13161
  }
13034
13162
  }
@@ -13038,29 +13166,29 @@ var $ef5e88eaa61efd95$exports = {};
13038
13166
  }
13039
13167
  var iframeId = messageData.iframe.id;
13040
13168
  if (settings[iframeId]) {
13041
- if (settings[iframeId].sizeHeight) processDimension("height");
13042
- if (settings[iframeId].sizeWidth) processDimension("width");
13169
+ if (settings[iframeId].sizeHeight) processDimension('height');
13170
+ if (settings[iframeId].sizeWidth) processDimension('width');
13043
13171
  }
13044
13172
  }
13045
13173
  function syncResize(func, messageData, doNotSync) {
13046
13174
  /* istanbul ignore if */ // Not testable in PhantomJS
13047
13175
  if (doNotSync !== messageData.type && requestAnimationFrame && // including check for jasmine because had trouble getting spy to work in unit test using requestAnimationFrame
13048
13176
  !window.jasmine) {
13049
- log(messageData.id, "Requesting animation frame");
13177
+ log(messageData.id, 'Requesting animation frame');
13050
13178
  requestAnimationFrame(func);
13051
13179
  } else func();
13052
13180
  }
13053
13181
  function trigger(calleeMsg, msg, iframe, id, noResponseWarning) {
13054
13182
  function postMessageToIFrame() {
13055
13183
  var target = settings[id] && settings[id].targetOrigin;
13056
- log(id, "[" + calleeMsg + "] Sending msg to iframe[" + id + "] (" + msg + ") targetOrigin: " + target);
13184
+ log(id, '[' + calleeMsg + '] Sending msg to iframe[' + id + '] (' + msg + ') targetOrigin: ' + target);
13057
13185
  iframe.contentWindow.postMessage(msgId + msg, target);
13058
13186
  }
13059
13187
  function iFrameNotFound() {
13060
- warn(id, "[" + calleeMsg + "] IFrame(" + id + ") not found");
13188
+ warn(id, '[' + calleeMsg + '] IFrame(' + id + ') not found');
13061
13189
  }
13062
13190
  function chkAndSend() {
13063
- if (iframe && "contentWindow" in iframe && null !== iframe.contentWindow) // Null test for PhantomJS
13191
+ if (iframe && 'contentWindow' in iframe && null !== iframe.contentWindow) // Null test for PhantomJS
13064
13192
  postMessageToIFrame();
13065
13193
  else iFrameNotFound();
13066
13194
  }
@@ -13068,7 +13196,7 @@ var $ef5e88eaa61efd95$exports = {};
13068
13196
  function warning() {
13069
13197
  if (settings[id] && !settings[id].loaded && !errorShown) {
13070
13198
  errorShown = true;
13071
- warn(id, "IFrame has not responded within " + settings[id].warningTimeout / 1000 + " seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.");
13199
+ warn(id, 'IFrame has not responded within ' + settings[id].warningTimeout / 1000 + ' seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.');
13072
13200
  }
13073
13201
  }
13074
13202
  if (!!noResponseWarning && settings[id] && !!settings[id].warningTimeout) settings[id].msgTimeout = setTimeout(warning, settings[id].warningTimeout);
@@ -13081,29 +13209,29 @@ var $ef5e88eaa61efd95$exports = {};
13081
13209
  }
13082
13210
  }
13083
13211
  function createOutgoingMsg(iframeId) {
13084
- return iframeId + ":" + settings[iframeId].bodyMarginV1 + ":" + settings[iframeId].sizeWidth + ":" + settings[iframeId].log + ":" + settings[iframeId].interval + ":" + settings[iframeId].enablePublicMethods + ":" + settings[iframeId].autoResize + ":" + settings[iframeId].bodyMargin + ":" + settings[iframeId].heightCalculationMethod + ":" + settings[iframeId].bodyBackground + ":" + settings[iframeId].bodyPadding + ":" + settings[iframeId].tolerance + ":" + settings[iframeId].inPageLinks + ":" + settings[iframeId].resizeFrom + ":" + settings[iframeId].widthCalculationMethod + ":" + settings[iframeId].mouseEvents;
13212
+ return iframeId + ':' + settings[iframeId].bodyMarginV1 + ':' + settings[iframeId].sizeWidth + ':' + settings[iframeId].log + ':' + settings[iframeId].interval + ':' + settings[iframeId].enablePublicMethods + ':' + settings[iframeId].autoResize + ':' + settings[iframeId].bodyMargin + ':' + settings[iframeId].heightCalculationMethod + ':' + settings[iframeId].bodyBackground + ':' + settings[iframeId].bodyPadding + ':' + settings[iframeId].tolerance + ':' + settings[iframeId].inPageLinks + ':' + settings[iframeId].resizeFrom + ':' + settings[iframeId].widthCalculationMethod + ':' + settings[iframeId].mouseEvents;
13085
13213
  }
13086
13214
  function isNumber(value) {
13087
- return typeof value === "number";
13215
+ return typeof value === 'number';
13088
13216
  }
13089
13217
  function setupIFrame(iframe, options) {
13090
13218
  function setLimits() {
13091
13219
  function addStyle(style) {
13092
13220
  var styleValue = settings[iframeId][style];
13093
13221
  if (Infinity !== styleValue && 0 !== styleValue) {
13094
- iframe.style[style] = isNumber(styleValue) ? styleValue + "px" : styleValue;
13095
- log(iframeId, "Set " + style + " = " + iframe.style[style]);
13222
+ iframe.style[style] = isNumber(styleValue) ? styleValue + 'px' : styleValue;
13223
+ log(iframeId, 'Set ' + style + ' = ' + iframe.style[style]);
13096
13224
  }
13097
13225
  }
13098
13226
  function chkMinMax(dimension) {
13099
- if (settings[iframeId]["min" + dimension] > settings[iframeId]["max" + dimension]) throw new Error("Value for min" + dimension + " can not be greater than max" + dimension);
13227
+ if (settings[iframeId]['min' + dimension] > settings[iframeId]['max' + dimension]) throw new Error('Value for min' + dimension + ' can not be greater than max' + dimension);
13100
13228
  }
13101
- chkMinMax("Height");
13102
- chkMinMax("Width");
13103
- addStyle("maxHeight");
13104
- addStyle("minHeight");
13105
- addStyle("maxWidth");
13106
- addStyle("minWidth");
13229
+ chkMinMax('Height');
13230
+ chkMinMax('Width');
13231
+ addStyle('maxHeight');
13232
+ addStyle('minHeight');
13233
+ addStyle('maxWidth');
13234
+ addStyle('minWidth');
13107
13235
  }
13108
13236
  function newId() {
13109
13237
  var id = options && options.id || defaults.id + count++;
@@ -13111,38 +13239,38 @@ var $ef5e88eaa61efd95$exports = {};
13111
13239
  return id;
13112
13240
  }
13113
13241
  function ensureHasId(iframeId) {
13114
- if (typeof iframeId !== "string") throw new TypeError("Invaild id for iFrame. Expected String");
13115
- if ("" === iframeId) {
13242
+ if (typeof iframeId !== 'string') throw new TypeError('Invaild id for iFrame. Expected String');
13243
+ if ('' === iframeId) {
13116
13244
  // eslint-disable-next-line no-multi-assign
13117
13245
  iframe.id = iframeId = newId();
13118
13246
  logEnabled = (options || {}).log;
13119
- log(iframeId, "Added missing iframe ID: " + iframeId + " (" + iframe.src + ")");
13247
+ log(iframeId, 'Added missing iframe ID: ' + iframeId + ' (' + iframe.src + ')');
13120
13248
  }
13121
13249
  return iframeId;
13122
13250
  }
13123
13251
  function setScrolling() {
13124
- log(iframeId, "IFrame scrolling " + (settings[iframeId] && settings[iframeId].scrolling ? "enabled" : "disabled") + " for " + iframeId);
13125
- iframe.style.overflow = false === (settings[iframeId] && settings[iframeId].scrolling) ? "hidden" : "auto";
13252
+ log(iframeId, 'IFrame scrolling ' + (settings[iframeId] && settings[iframeId].scrolling ? 'enabled' : 'disabled') + ' for ' + iframeId);
13253
+ iframe.style.overflow = false === (settings[iframeId] && settings[iframeId].scrolling) ? 'hidden' : 'auto';
13126
13254
  switch(settings[iframeId] && settings[iframeId].scrolling){
13127
- case "omit":
13255
+ case 'omit':
13128
13256
  break;
13129
13257
  case true:
13130
- iframe.scrolling = "yes";
13258
+ iframe.scrolling = 'yes';
13131
13259
  break;
13132
13260
  case false:
13133
- iframe.scrolling = "no";
13261
+ iframe.scrolling = 'no';
13134
13262
  break;
13135
13263
  default:
13136
- iframe.scrolling = settings[iframeId] ? settings[iframeId].scrolling : "no";
13264
+ iframe.scrolling = settings[iframeId] ? settings[iframeId].scrolling : 'no';
13137
13265
  }
13138
13266
  }
13139
13267
  // The V1 iFrame script expects an int, where as in V2 expects a CSS
13140
13268
  // string value such as '1px 3em', so if we have an int for V2, set V1=V2
13141
13269
  // and then convert V2 to a string PX value.
13142
13270
  function setupBodyMarginValues() {
13143
- if ("number" === typeof (settings[iframeId] && settings[iframeId].bodyMargin) || "0" === (settings[iframeId] && settings[iframeId].bodyMargin)) {
13271
+ if ('number' === typeof (settings[iframeId] && settings[iframeId].bodyMargin) || '0' === (settings[iframeId] && settings[iframeId].bodyMargin)) {
13144
13272
  settings[iframeId].bodyMarginV1 = settings[iframeId].bodyMargin;
13145
- settings[iframeId].bodyMargin = "" + settings[iframeId].bodyMargin + "px";
13273
+ settings[iframeId].bodyMargin = '' + settings[iframeId].bodyMargin + 'px';
13146
13274
  }
13147
13275
  }
13148
13276
  function checkReset() {
@@ -13154,20 +13282,20 @@ var $ef5e88eaa61efd95$exports = {};
13154
13282
  iframe: iframe,
13155
13283
  height: 0,
13156
13284
  width: 0,
13157
- type: "init"
13285
+ type: 'init'
13158
13286
  });
13159
13287
  }
13160
13288
  function setupIFrameObject() {
13161
13289
  if (settings[iframeId]) settings[iframeId].iframe.iFrameResizer = {
13162
13290
  close: closeIFrame.bind(null, settings[iframeId].iframe),
13163
13291
  removeListeners: removeIframeListeners.bind(null, settings[iframeId].iframe),
13164
- resize: trigger.bind(null, "Window resize", "resize", settings[iframeId].iframe),
13292
+ resize: trigger.bind(null, 'Window resize', 'resize', settings[iframeId].iframe),
13165
13293
  moveToAnchor: function(anchor) {
13166
- trigger("Move to anchor", "moveToAnchor:" + anchor, settings[iframeId].iframe, iframeId);
13294
+ trigger('Move to anchor', 'moveToAnchor:' + anchor, settings[iframeId].iframe, iframeId);
13167
13295
  },
13168
13296
  sendMessage: function(message) {
13169
13297
  message = JSON.stringify(message);
13170
- trigger("Send Message", "message:" + message, settings[iframeId].iframe, iframeId);
13298
+ trigger('Send Message', 'message:' + message, settings[iframeId].iframe, iframeId);
13171
13299
  }
13172
13300
  };
13173
13301
  }
@@ -13176,7 +13304,7 @@ var $ef5e88eaa61efd95$exports = {};
13176
13304
  // event listener also catches the page changing in the iFrame.
13177
13305
  function init(msg) {
13178
13306
  function iFrameLoaded() {
13179
- trigger("iFrame.onload", msg, iframe, undefined, true);
13307
+ trigger('iFrame.onload', msg, iframe, undefined, true);
13180
13308
  checkReset();
13181
13309
  }
13182
13310
  function createDestroyObserver(MutationObserver) {
@@ -13196,23 +13324,23 @@ var $ef5e88eaa61efd95$exports = {};
13196
13324
  }
13197
13325
  var MutationObserver = getMutationObserver();
13198
13326
  if (MutationObserver) createDestroyObserver(MutationObserver);
13199
- addEventListener(iframe, "load", iFrameLoaded);
13200
- trigger("init", msg, iframe, undefined, true);
13327
+ addEventListener(iframe, 'load', iFrameLoaded);
13328
+ trigger('init', msg, iframe, undefined, true);
13201
13329
  }
13202
13330
  function checkOptions(options) {
13203
- if ("object" !== typeof options) throw new TypeError("Options is not an object");
13331
+ if ('object' !== typeof options) throw new TypeError('Options is not an object');
13204
13332
  }
13205
13333
  function copyOptions(options) {
13206
13334
  // eslint-disable-next-line no-restricted-syntax
13207
13335
  for(var option in defaults)if (Object.prototype.hasOwnProperty.call(defaults, option)) settings[iframeId][option] = Object.prototype.hasOwnProperty.call(options, option) ? options[option] : defaults[option];
13208
13336
  }
13209
13337
  function getTargetOrigin(remoteHost) {
13210
- return "" === remoteHost || null !== remoteHost.match(/^(about:blank|javascript:|file:\/\/)/) ? "*" : remoteHost;
13338
+ return '' === remoteHost || null !== remoteHost.match(/^(about:blank|javascript:|file:\/\/)/) ? '*' : remoteHost;
13211
13339
  }
13212
13340
  function depricate(key) {
13213
- var splitName = key.split("Callback");
13341
+ var splitName = key.split('Callback');
13214
13342
  if (splitName.length === 2) {
13215
- var name = "on" + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1);
13343
+ var name = 'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1);
13216
13344
  this[name] = this[key];
13217
13345
  delete this[key];
13218
13346
  warn(iframeId, "Deprecated: '" + key + "' has been renamed '" + name + "'. The old method will be removed in the next major version.");
@@ -13224,17 +13352,17 @@ var $ef5e88eaa61efd95$exports = {};
13224
13352
  ;
13225
13353
  settings[iframeId].iframe = iframe;
13226
13354
  settings[iframeId].firstRun = true;
13227
- settings[iframeId].remoteHost = iframe.src && iframe.src.split("/").slice(0, 3).join("/");
13355
+ settings[iframeId].remoteHost = iframe.src && iframe.src.split('/').slice(0, 3).join('/');
13228
13356
  checkOptions(options);
13229
13357
  Object.keys(options).forEach(depricate, options);
13230
13358
  copyOptions(options);
13231
- if (settings[iframeId]) settings[iframeId].targetOrigin = true === settings[iframeId].checkOrigin ? getTargetOrigin(settings[iframeId].remoteHost) : "*";
13359
+ if (settings[iframeId]) settings[iframeId].targetOrigin = true === settings[iframeId].checkOrigin ? getTargetOrigin(settings[iframeId].remoteHost) : '*';
13232
13360
  }
13233
13361
  function beenHere() {
13234
- return iframeId in settings && "iFrameResizer" in iframe;
13362
+ return iframeId in settings && 'iFrameResizer' in iframe;
13235
13363
  }
13236
13364
  var iframeId = ensureHasId(iframe.id);
13237
- if (beenHere()) warn(iframeId, "Ignored iFrame, already setup.");
13365
+ if (beenHere()) warn(iframeId, 'Ignored iFrame, already setup.');
13238
13366
  else {
13239
13367
  processOptions(options);
13240
13368
  setScrolling();
@@ -13262,23 +13390,23 @@ var $ef5e88eaa61efd95$exports = {};
13262
13390
  function checkIFrames() {
13263
13391
  function checkIFrame(settingId) {
13264
13392
  function chkDimension(dimension) {
13265
- return "0px" === (settings[settingId] && settings[settingId].iframe.style[dimension]);
13393
+ return '0px' === (settings[settingId] && settings[settingId].iframe.style[dimension]);
13266
13394
  }
13267
13395
  function isVisible(el) {
13268
13396
  return null !== el.offsetParent;
13269
13397
  }
13270
- if (settings[settingId] && isVisible(settings[settingId].iframe) && (chkDimension("height") || chkDimension("width"))) trigger("Visibility change", "resize", settings[settingId].iframe, settingId);
13398
+ if (settings[settingId] && isVisible(settings[settingId].iframe) && (chkDimension('height') || chkDimension('width'))) trigger('Visibility change', 'resize', settings[settingId].iframe, settingId);
13271
13399
  }
13272
13400
  Object.keys(settings).forEach(function(key) {
13273
13401
  checkIFrame(key);
13274
13402
  });
13275
13403
  }
13276
13404
  function mutationObserved(mutations) {
13277
- log("window", "Mutation observed: " + mutations[0].target + " " + mutations[0].type);
13405
+ log('window', 'Mutation observed: ' + mutations[0].target + ' ' + mutations[0].type);
13278
13406
  debouce(checkIFrames, 16);
13279
13407
  }
13280
13408
  function createMutationObserver() {
13281
- var target = document.querySelector("body"), config = {
13409
+ var target = document.querySelector('body'), config = {
13282
13410
  attributes: true,
13283
13411
  attributeOldValue: false,
13284
13412
  characterData: true,
@@ -13293,42 +13421,42 @@ var $ef5e88eaa61efd95$exports = {};
13293
13421
  }
13294
13422
  function resizeIFrames(event) {
13295
13423
  function resize() {
13296
- sendTriggerMsg("Window " + event, "resize");
13424
+ sendTriggerMsg('Window ' + event, 'resize');
13297
13425
  }
13298
- log("window", "Trigger event: " + event);
13426
+ log('window', 'Trigger event: ' + event);
13299
13427
  debouce(resize, 16);
13300
13428
  }
13301
13429
  // Not testable in PhantomJS
13302
13430
  /* istanbul ignore next */ function tabVisible() {
13303
13431
  function resize() {
13304
- sendTriggerMsg("Tab Visible", "resize");
13432
+ sendTriggerMsg('Tab Visible', 'resize');
13305
13433
  }
13306
- if ("hidden" !== document.visibilityState) {
13307
- log("document", "Trigger event: Visibility change");
13434
+ if ('hidden' !== document.visibilityState) {
13435
+ log('document', 'Trigger event: Visibility change');
13308
13436
  debouce(resize, 16);
13309
13437
  }
13310
13438
  }
13311
13439
  function sendTriggerMsg(eventName, event) {
13312
13440
  function isIFrameResizeEnabled(iframeId) {
13313
- return settings[iframeId] && "parent" === settings[iframeId].resizeFrom && settings[iframeId].autoResize && !settings[iframeId].firstRun;
13441
+ return settings[iframeId] && 'parent' === settings[iframeId].resizeFrom && settings[iframeId].autoResize && !settings[iframeId].firstRun;
13314
13442
  }
13315
13443
  Object.keys(settings).forEach(function(iframeId) {
13316
13444
  if (isIFrameResizeEnabled(iframeId)) trigger(eventName, event, settings[iframeId].iframe, iframeId);
13317
13445
  });
13318
13446
  }
13319
13447
  function setupEventListeners() {
13320
- addEventListener(window, "message", iFrameListener);
13321
- addEventListener(window, "resize", function() {
13322
- resizeIFrames("resize");
13448
+ addEventListener(window, 'message', iFrameListener);
13449
+ addEventListener(window, 'resize', function() {
13450
+ resizeIFrames('resize');
13323
13451
  });
13324
- addEventListener(document, "visibilitychange", tabVisible);
13325
- addEventListener(document, "-webkit-visibilitychange", tabVisible);
13452
+ addEventListener(document, 'visibilitychange', tabVisible);
13453
+ addEventListener(document, '-webkit-visibilitychange', tabVisible);
13326
13454
  }
13327
13455
  function factory() {
13328
13456
  function init(options, element) {
13329
13457
  function chkType() {
13330
- if (!element.tagName) throw new TypeError("Object is not a valid DOM element");
13331
- else if ("IFRAME" !== element.tagName.toUpperCase()) throw new TypeError("Expected <IFRAME> tag, found <" + element.tagName + ">");
13458
+ if (!element.tagName) throw new TypeError('Object is not a valid DOM element');
13459
+ else if ('IFRAME' !== element.tagName.toUpperCase()) throw new TypeError('Expected <IFRAME> tag, found <' + element.tagName + '>');
13332
13460
  }
13333
13461
  if (element) {
13334
13462
  chkType();
@@ -13337,7 +13465,7 @@ var $ef5e88eaa61efd95$exports = {};
13337
13465
  }
13338
13466
  }
13339
13467
  function warnDeprecatedOptions(options) {
13340
- if (options && options.enablePublicMethods) warn("enablePublicMethods option has been removed, public methods are now always available in the iFrame");
13468
+ if (options && options.enablePublicMethods) warn('enablePublicMethods option has been removed, public methods are now always available in the iFrame');
13341
13469
  }
13342
13470
  var iFrames;
13343
13471
  setupRequestAnimationFrame();
@@ -13347,31 +13475,31 @@ var $ef5e88eaa61efd95$exports = {};
13347
13475
  ;
13348
13476
  warnDeprecatedOptions(options);
13349
13477
  switch(typeof target){
13350
- case "undefined":
13351
- case "string":
13352
- Array.prototype.forEach.call(document.querySelectorAll(target || "iframe"), init.bind(undefined, options));
13478
+ case 'undefined':
13479
+ case 'string':
13480
+ Array.prototype.forEach.call(document.querySelectorAll(target || 'iframe'), init.bind(undefined, options));
13353
13481
  break;
13354
- case "object":
13482
+ case 'object':
13355
13483
  init(options, target);
13356
13484
  break;
13357
13485
  default:
13358
- throw new TypeError("Unexpected data type (" + typeof target + ")");
13486
+ throw new TypeError('Unexpected data type (' + typeof target + ')');
13359
13487
  }
13360
13488
  return iFrames;
13361
13489
  };
13362
13490
  }
13363
13491
  function createJQueryPublicMethod($) {
13364
- if (!$.fn) info("", "Unable to bind to jQuery, it is not fully loaded.");
13492
+ if (!$.fn) info('', 'Unable to bind to jQuery, it is not fully loaded.');
13365
13493
  else if (!$.fn.iFrameResize) $.fn.iFrameResize = function $iFrameResizeF(options) {
13366
13494
  function init(index, element) {
13367
13495
  setupIFrame(element, options);
13368
13496
  }
13369
- return this.filter("iframe").each(init).end();
13497
+ return this.filter('iframe').each(init).end();
13370
13498
  };
13371
13499
  }
13372
13500
  if (window.jQuery !== undefined) createJQueryPublicMethod(window.jQuery);
13373
- if (typeof define === "function" && define.amd) define([], factory);
13374
- else if (typeof $ef5e88eaa61efd95$exports === "object") // Node for browserfy
13501
+ if (typeof define === 'function' && define.amd) define([], factory);
13502
+ else if (typeof $ef5e88eaa61efd95$exports === 'object') // Node for browserfy
13375
13503
  $ef5e88eaa61efd95$exports = factory();
13376
13504
  window.iFrameResize = window.iFrameResize || factory();
13377
13505
  })();
@@ -13424,124 +13552,6 @@ function $c299e36fa9e271bc$export$2e2bcd8739ae039(id, embedStore) {
13424
13552
  }
13425
13553
 
13426
13554
 
13427
- var $6a9b69d9cc7f810f$exports = {};
13428
-
13429
- $parcel$defineInteropFlag($6a9b69d9cc7f810f$exports);
13430
-
13431
- $parcel$export($6a9b69d9cc7f810f$exports, "default", () => $6a9b69d9cc7f810f$export$2e2bcd8739ae039);
13432
- var $cdfeaa1e0e8d642c$exports = {};
13433
- (function(global, factory) {
13434
- $cdfeaa1e0e8d642c$exports = factory();
13435
- })($cdfeaa1e0e8d642c$exports, function() {
13436
- "use strict";
13437
- /* eslint-disable no-var */ function assign(target) {
13438
- for(var i = 1; i < arguments.length; i++){
13439
- var source = arguments[i];
13440
- for(var key in source)target[key] = source[key];
13441
- }
13442
- return target;
13443
- }
13444
- /* eslint-enable no-var */ /* eslint-disable no-var */ var defaultConverter = {
13445
- read: function(value) {
13446
- if (value[0] === '"') value = value.slice(1, -1);
13447
- return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
13448
- },
13449
- write: function(value) {
13450
- return encodeURIComponent(value).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);
13451
- }
13452
- };
13453
- /* eslint-enable no-var */ /* eslint-disable no-var */ function init(converter, defaultAttributes) {
13454
- function set(name, value, attributes) {
13455
- if (typeof document === "undefined") return;
13456
- attributes = assign({}, defaultAttributes, attributes);
13457
- if (typeof attributes.expires === "number") attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
13458
- if (attributes.expires) attributes.expires = attributes.expires.toUTCString();
13459
- name = encodeURIComponent(name).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
13460
- var stringifiedAttributes = "";
13461
- for(var attributeName in attributes){
13462
- if (!attributes[attributeName]) continue;
13463
- stringifiedAttributes += "; " + attributeName;
13464
- if (attributes[attributeName] === true) continue;
13465
- // Considers RFC 6265 section 5.2:
13466
- // ...
13467
- // 3. If the remaining unparsed-attributes contains a %x3B (";")
13468
- // character:
13469
- // Consume the characters of the unparsed-attributes up to,
13470
- // not including, the first %x3B (";") character.
13471
- // ...
13472
- stringifiedAttributes += "=" + attributes[attributeName].split(";")[0];
13473
- }
13474
- return document.cookie = name + "=" + converter.write(value, name) + stringifiedAttributes;
13475
- }
13476
- function get(name) {
13477
- if (typeof document === "undefined" || arguments.length && !name) return;
13478
- // To prevent the for loop in the first place assign an empty array
13479
- // in case there are no cookies at all.
13480
- var cookies = document.cookie ? document.cookie.split("; ") : [];
13481
- var jar = {};
13482
- for(var i = 0; i < cookies.length; i++){
13483
- var parts = cookies[i].split("=");
13484
- var value = parts.slice(1).join("=");
13485
- try {
13486
- var found = decodeURIComponent(parts[0]);
13487
- jar[found] = converter.read(value, found);
13488
- if (name === found) break;
13489
- } catch (e) {}
13490
- }
13491
- return name ? jar[name] : jar;
13492
- }
13493
- return Object.create({
13494
- set: set,
13495
- get: get,
13496
- remove: function(name, attributes) {
13497
- set(name, "", assign({}, attributes, {
13498
- expires: -1
13499
- }));
13500
- },
13501
- withAttributes: function(attributes) {
13502
- return init(this.converter, assign({}, this.attributes, attributes));
13503
- },
13504
- withConverter: function(converter) {
13505
- return init(assign({}, this.converter, converter), this.attributes);
13506
- }
13507
- }, {
13508
- attributes: {
13509
- value: Object.freeze(defaultAttributes)
13510
- },
13511
- converter: {
13512
- value: Object.freeze(converter)
13513
- }
13514
- });
13515
- }
13516
- var api = init(defaultConverter, {
13517
- path: "/"
13518
- });
13519
- /* eslint-enable no-var */ return api;
13520
- });
13521
-
13522
-
13523
-
13524
- function $6a9b69d9cc7f810f$export$2e2bcd8739ae039({ name: name, value: value }) {
13525
- return {
13526
- name: name,
13527
- value: value,
13528
- init () {
13529
- this.$watch("value", ()=>this.update());
13530
- },
13531
- update () {
13532
- (0, (/*@__PURE__*/$parcel$interopDefault($cdfeaa1e0e8d642c$exports))).set(`lookbook-display-${name}`, this.value);
13533
- const searchParams = new URLSearchParams(window.location.search);
13534
- const display = searchParams.get("_display");
13535
- const displayParams = display ? (0, $fb8f79f7dd40b68f$export$f720fd0ddbeb53d9)(display) : {};
13536
- displayParams[this.name] = this.value;
13537
- searchParams.set("_display", (0, $fb8f79f7dd40b68f$export$c788aab010beeaec)(displayParams));
13538
- const path = location.href.replace(location.search, "");
13539
- this.navigateTo(`${path}?${searchParams.toString()}`);
13540
- }
13541
- };
13542
- }
13543
-
13544
-
13545
13555
  var $9b24cbeb3a465447$exports = {};
13546
13556
 
13547
13557
  $parcel$defineInteropFlag($9b24cbeb3a465447$exports);
@@ -13551,19 +13561,19 @@ function $9b24cbeb3a465447$export$2e2bcd8739ae039({ id: id, matchers: matchers }
13551
13561
  matchers = matchers.map((matcher)=>matcher.replace(/\s/g, "").toLowerCase());
13552
13562
  return {
13553
13563
  filteredOut: false,
13564
+ active: false,
13554
13565
  get open () {
13555
13566
  return this.isCollection && this.isOpen(id);
13556
13567
  },
13557
- get active () {
13558
- if (this.$refs.link) return this.location && this.location.pathname === this.$refs.link.getAttribute("href");
13559
- return false;
13560
- },
13561
13568
  get children () {
13562
13569
  return this.$refs.items ? Array.from(this.$refs.items.children) : [];
13563
13570
  },
13564
13571
  get isCollection () {
13565
13572
  return !this.$refs.link;
13566
13573
  },
13574
+ checkActive () {
13575
+ this.active = this.$refs.link && window.location.pathname === this.$refs.link.getAttribute("href");
13576
+ },
13567
13577
  toggle () {
13568
13578
  this.toggleOpen(id);
13569
13579
  },
@@ -13631,13 +13641,13 @@ function $e773f8ef556b41ff$export$2e2bcd8739ae039() {
13631
13641
  }
13632
13642
 
13633
13643
 
13634
- $9a68326211e66205$exports = {
13635
- "embed": {
13636
- "inspector": $c299e36fa9e271bc$exports
13637
- },
13644
+ $6178ee12f80cbf68$exports = {
13638
13645
  "display_options": {
13639
13646
  "field": $6a9b69d9cc7f810f$exports
13640
13647
  },
13648
+ "embed": {
13649
+ "inspector": $c299e36fa9e271bc$exports
13650
+ },
13641
13651
  "nav": {
13642
13652
  "item": $9b24cbeb3a465447$exports
13643
13653
  },
@@ -13711,8 +13721,8 @@ const $22969b543678f572$var$prefix = window.APP_NAME;
13711
13721
  // Components
13712
13722
  (0, $caa9439642c6336c$export$2e2bcd8739ae039).data("app", (0, $5792afa4170ed552$export$2e2bcd8739ae039));
13713
13723
  [
13714
- $c9dfaeb25bf110ce$exports,
13715
- $9a68326211e66205$exports,
13724
+ $e3048089509446aa$exports,
13725
+ $6178ee12f80cbf68$exports,
13716
13726
  $d56e5cced44001d2$exports
13717
13727
  ].forEach((scripts)=>{
13718
13728
  const components = (0, $12b7aa006b8a97e1$export$4e811121b221213b)(scripts);