lookbook 2.0.0.beta.4 → 2.0.0.beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (944) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/lookbook/icons/accessibility.svg +1 -0
  3. data/app/assets/lookbook/icons/activity.svg +1 -0
  4. data/app/assets/lookbook/icons/air-vent.svg +1 -0
  5. data/app/assets/lookbook/icons/airplay.svg +1 -0
  6. data/app/assets/lookbook/icons/alarm-check.svg +1 -0
  7. data/app/assets/lookbook/icons/alarm-clock-off.svg +1 -0
  8. data/app/assets/lookbook/icons/alarm-clock.svg +1 -0
  9. data/app/assets/lookbook/icons/alarm-minus.svg +1 -0
  10. data/app/assets/lookbook/icons/alarm-plus.svg +1 -0
  11. data/app/assets/lookbook/icons/album.svg +1 -0
  12. data/app/assets/lookbook/icons/alert-circle.svg +1 -0
  13. data/app/assets/lookbook/icons/alert-octagon.svg +1 -0
  14. data/app/assets/lookbook/icons/alert-triangle.svg +1 -0
  15. data/app/assets/lookbook/icons/align-center-horizontal.svg +1 -0
  16. data/app/assets/lookbook/icons/align-center-vertical.svg +1 -0
  17. data/app/assets/lookbook/icons/align-center.svg +1 -0
  18. data/app/assets/lookbook/icons/align-end-horizontal.svg +1 -0
  19. data/app/assets/lookbook/icons/align-end-vertical.svg +1 -0
  20. data/app/assets/lookbook/icons/align-horizontal-distribute-center.svg +1 -0
  21. data/app/assets/lookbook/icons/align-horizontal-distribute-end.svg +1 -0
  22. data/app/assets/lookbook/icons/align-horizontal-distribute-start.svg +1 -0
  23. data/app/assets/lookbook/icons/align-horizontal-justify-center.svg +1 -0
  24. data/app/assets/lookbook/icons/align-horizontal-justify-end.svg +1 -0
  25. data/app/assets/lookbook/icons/align-horizontal-justify-start.svg +1 -0
  26. data/app/assets/lookbook/icons/align-horizontal-space-around.svg +1 -0
  27. data/app/assets/lookbook/icons/align-horizontal-space-between.svg +1 -0
  28. data/app/assets/lookbook/icons/align-justify.svg +1 -0
  29. data/app/assets/lookbook/icons/align-left.svg +1 -0
  30. data/app/assets/lookbook/icons/align-right.svg +1 -0
  31. data/app/assets/lookbook/icons/align-start-horizontal.svg +1 -0
  32. data/app/assets/lookbook/icons/align-start-vertical.svg +1 -0
  33. data/app/assets/lookbook/icons/align-vertical-distribute-center.svg +1 -0
  34. data/app/assets/lookbook/icons/align-vertical-distribute-end.svg +1 -0
  35. data/app/assets/lookbook/icons/align-vertical-distribute-start.svg +1 -0
  36. data/app/assets/lookbook/icons/align-vertical-justify-center.svg +1 -0
  37. data/app/assets/lookbook/icons/align-vertical-justify-end.svg +1 -0
  38. data/app/assets/lookbook/icons/align-vertical-justify-start.svg +1 -0
  39. data/app/assets/lookbook/icons/align-vertical-space-around.svg +1 -0
  40. data/app/assets/lookbook/icons/align-vertical-space-between.svg +1 -0
  41. data/app/assets/lookbook/icons/anchor.svg +1 -0
  42. data/app/assets/lookbook/icons/angry.svg +1 -0
  43. data/app/assets/lookbook/icons/annoyed.svg +1 -0
  44. data/app/assets/lookbook/icons/aperture.svg +1 -0
  45. data/app/assets/lookbook/icons/apple.svg +1 -0
  46. data/app/assets/lookbook/icons/archive-restore.svg +1 -0
  47. data/app/assets/lookbook/icons/archive.svg +1 -0
  48. data/app/assets/lookbook/icons/armchair.svg +1 -0
  49. data/app/assets/lookbook/icons/arrow-big-down.svg +1 -0
  50. data/app/assets/lookbook/icons/arrow-big-left.svg +1 -0
  51. data/app/assets/lookbook/icons/arrow-big-right.svg +1 -0
  52. data/app/assets/lookbook/icons/arrow-big-up.svg +1 -0
  53. data/app/assets/lookbook/icons/arrow-down-circle.svg +1 -0
  54. data/app/assets/lookbook/icons/arrow-down-left.svg +1 -0
  55. data/app/assets/lookbook/icons/arrow-down-right.svg +1 -0
  56. data/app/assets/lookbook/icons/arrow-down.svg +1 -0
  57. data/app/assets/lookbook/icons/arrow-left-circle.svg +1 -0
  58. data/app/assets/lookbook/icons/arrow-left-right.svg +1 -0
  59. data/app/assets/lookbook/icons/arrow-left.svg +1 -0
  60. data/app/assets/lookbook/icons/arrow-right-circle.svg +1 -0
  61. data/app/assets/lookbook/icons/arrow-right.svg +1 -0
  62. data/app/assets/lookbook/icons/arrow-up-circle.svg +1 -0
  63. data/app/assets/lookbook/icons/arrow-up-down.svg +1 -0
  64. data/app/assets/lookbook/icons/arrow-up-left.svg +1 -0
  65. data/app/assets/lookbook/icons/arrow-up-right.svg +1 -0
  66. data/app/assets/lookbook/icons/arrow-up.svg +1 -0
  67. data/app/assets/lookbook/icons/asterisk.svg +1 -0
  68. data/app/assets/lookbook/icons/at-sign.svg +1 -0
  69. data/app/assets/lookbook/icons/award.svg +1 -0
  70. data/app/assets/lookbook/icons/axe.svg +1 -0
  71. data/app/assets/lookbook/icons/axis-3d.svg +1 -0
  72. data/app/assets/lookbook/icons/baby.svg +1 -0
  73. data/app/assets/lookbook/icons/backpack.svg +1 -0
  74. data/app/assets/lookbook/icons/baggage-claim.svg +1 -0
  75. data/app/assets/lookbook/icons/banana.svg +1 -0
  76. data/app/assets/lookbook/icons/banknote.svg +1 -0
  77. data/app/assets/lookbook/icons/bar-chart-2.svg +1 -0
  78. data/app/assets/lookbook/icons/bar-chart-3.svg +1 -0
  79. data/app/assets/lookbook/icons/bar-chart-4.svg +1 -0
  80. data/app/assets/lookbook/icons/bar-chart-horizontal.svg +1 -0
  81. data/app/assets/lookbook/icons/bar-chart.svg +1 -0
  82. data/app/assets/lookbook/icons/baseline.svg +1 -0
  83. data/app/assets/lookbook/icons/bath.svg +1 -0
  84. data/app/assets/lookbook/icons/battery-charging.svg +1 -0
  85. data/app/assets/lookbook/icons/battery-full.svg +1 -0
  86. data/app/assets/lookbook/icons/battery-low.svg +1 -0
  87. data/app/assets/lookbook/icons/battery-medium.svg +1 -0
  88. data/app/assets/lookbook/icons/battery-warning.svg +1 -0
  89. data/app/assets/lookbook/icons/battery.svg +1 -0
  90. data/app/assets/lookbook/icons/beaker.svg +1 -0
  91. data/app/assets/lookbook/icons/bean-off.svg +1 -0
  92. data/app/assets/lookbook/icons/bean.svg +1 -0
  93. data/app/assets/lookbook/icons/bed-double.svg +1 -0
  94. data/app/assets/lookbook/icons/bed-single.svg +1 -0
  95. data/app/assets/lookbook/icons/bed.svg +1 -0
  96. data/app/assets/lookbook/icons/beef.svg +1 -0
  97. data/app/assets/lookbook/icons/beer.svg +1 -0
  98. data/app/assets/lookbook/icons/bell-minus.svg +1 -0
  99. data/app/assets/lookbook/icons/bell-off.svg +1 -0
  100. data/app/assets/lookbook/icons/bell-plus.svg +1 -0
  101. data/app/assets/lookbook/icons/bell-ring.svg +1 -0
  102. data/app/assets/lookbook/icons/bell.svg +1 -0
  103. data/app/assets/lookbook/icons/bike.svg +1 -0
  104. data/app/assets/lookbook/icons/binary.svg +1 -0
  105. data/app/assets/lookbook/icons/bird.svg +1 -0
  106. data/app/assets/lookbook/icons/bitcoin.svg +1 -0
  107. data/app/assets/lookbook/icons/blinds.svg +1 -0
  108. data/app/assets/lookbook/icons/bluetooth-connected.svg +1 -0
  109. data/app/assets/lookbook/icons/bluetooth-off.svg +1 -0
  110. data/app/assets/lookbook/icons/bluetooth-searching.svg +1 -0
  111. data/app/assets/lookbook/icons/bluetooth.svg +1 -0
  112. data/app/assets/lookbook/icons/bold.svg +1 -0
  113. data/app/assets/lookbook/icons/bomb.svg +1 -0
  114. data/app/assets/lookbook/icons/bone.svg +1 -0
  115. data/app/assets/lookbook/icons/book-open-check.svg +1 -0
  116. data/app/assets/lookbook/icons/book-open.svg +1 -0
  117. data/app/assets/lookbook/icons/book.svg +1 -0
  118. data/app/assets/lookbook/icons/bookmark-minus.svg +1 -0
  119. data/app/assets/lookbook/icons/bookmark-plus.svg +1 -0
  120. data/app/assets/lookbook/icons/bookmark.svg +1 -0
  121. data/app/assets/lookbook/icons/bot.svg +1 -0
  122. data/app/assets/lookbook/icons/box-select.svg +1 -0
  123. data/app/assets/lookbook/icons/box.svg +1 -0
  124. data/app/assets/lookbook/icons/boxes.svg +1 -0
  125. data/app/assets/lookbook/icons/briefcase.svg +1 -0
  126. data/app/assets/lookbook/icons/brush.svg +1 -0
  127. data/app/assets/lookbook/icons/bug.svg +1 -0
  128. data/app/assets/lookbook/icons/building-2.svg +1 -0
  129. data/app/assets/lookbook/icons/building.svg +1 -0
  130. data/app/assets/lookbook/icons/bus.svg +1 -0
  131. data/app/assets/lookbook/icons/cake.svg +1 -0
  132. data/app/assets/lookbook/icons/calculator.svg +1 -0
  133. data/app/assets/lookbook/icons/calendar-check-2.svg +1 -0
  134. data/app/assets/lookbook/icons/calendar-check.svg +1 -0
  135. data/app/assets/lookbook/icons/calendar-clock.svg +1 -0
  136. data/app/assets/lookbook/icons/calendar-days.svg +1 -0
  137. data/app/assets/lookbook/icons/calendar-heart.svg +1 -0
  138. data/app/assets/lookbook/icons/calendar-minus.svg +1 -0
  139. data/app/assets/lookbook/icons/calendar-off.svg +1 -0
  140. data/app/assets/lookbook/icons/calendar-plus.svg +1 -0
  141. data/app/assets/lookbook/icons/calendar-range.svg +1 -0
  142. data/app/assets/lookbook/icons/calendar-search.svg +1 -0
  143. data/app/assets/lookbook/icons/calendar-x-2.svg +1 -0
  144. data/app/assets/lookbook/icons/calendar-x.svg +1 -0
  145. data/app/assets/lookbook/icons/calendar.svg +1 -0
  146. data/app/assets/lookbook/icons/camera-off.svg +1 -0
  147. data/app/assets/lookbook/icons/camera.svg +1 -0
  148. data/app/assets/lookbook/icons/candy-off.svg +1 -0
  149. data/app/assets/lookbook/icons/candy.svg +1 -0
  150. data/app/assets/lookbook/icons/car.svg +1 -0
  151. data/app/assets/lookbook/icons/carrot.svg +1 -0
  152. data/app/assets/lookbook/icons/cast.svg +1 -0
  153. data/app/assets/lookbook/icons/cat.svg +1 -0
  154. data/app/assets/lookbook/icons/check-check.svg +1 -0
  155. data/app/assets/lookbook/icons/check-circle-2.svg +1 -0
  156. data/app/assets/lookbook/icons/check-circle.svg +1 -0
  157. data/app/assets/lookbook/icons/check-square.svg +1 -0
  158. data/app/assets/lookbook/icons/check.svg +1 -0
  159. data/app/assets/lookbook/icons/chef-hat.svg +1 -0
  160. data/app/assets/lookbook/icons/cherry.svg +1 -0
  161. data/app/assets/lookbook/icons/chevron-down.svg +1 -0
  162. data/app/assets/lookbook/icons/chevron-first.svg +1 -0
  163. data/app/assets/lookbook/icons/chevron-last.svg +1 -0
  164. data/app/assets/lookbook/icons/chevron-left.svg +1 -0
  165. data/app/assets/lookbook/icons/chevron-right.svg +1 -0
  166. data/app/assets/lookbook/icons/chevron-up.svg +1 -0
  167. data/app/assets/lookbook/icons/chevrons-down-up.svg +1 -0
  168. data/app/assets/lookbook/icons/chevrons-down.svg +1 -0
  169. data/app/assets/lookbook/icons/chevrons-left-right.svg +1 -0
  170. data/app/assets/lookbook/icons/chevrons-left.svg +1 -0
  171. data/app/assets/lookbook/icons/chevrons-right-left.svg +1 -0
  172. data/app/assets/lookbook/icons/chevrons-right.svg +1 -0
  173. data/app/assets/lookbook/icons/chevrons-up-down.svg +1 -0
  174. data/app/assets/lookbook/icons/chevrons-up.svg +1 -0
  175. data/app/assets/lookbook/icons/chrome.svg +1 -0
  176. data/app/assets/lookbook/icons/cigarette-off.svg +1 -0
  177. data/app/assets/lookbook/icons/cigarette.svg +1 -0
  178. data/app/assets/lookbook/icons/circle-dot.svg +1 -0
  179. data/app/assets/lookbook/icons/circle-ellipsis.svg +1 -0
  180. data/app/assets/lookbook/icons/circle-slashed.svg +1 -0
  181. data/app/assets/lookbook/icons/circle.svg +1 -0
  182. data/app/assets/lookbook/icons/citrus.svg +1 -0
  183. data/app/assets/lookbook/icons/clapperboard.svg +1 -0
  184. data/app/assets/lookbook/icons/clipboard-check.svg +1 -0
  185. data/app/assets/lookbook/icons/clipboard-copy.svg +1 -0
  186. data/app/assets/lookbook/icons/clipboard-edit.svg +1 -0
  187. data/app/assets/lookbook/icons/clipboard-list.svg +1 -0
  188. data/app/assets/lookbook/icons/clipboard-signature.svg +1 -0
  189. data/app/assets/lookbook/icons/clipboard-type.svg +1 -0
  190. data/app/assets/lookbook/icons/clipboard-x.svg +1 -0
  191. data/app/assets/lookbook/icons/clipboard.svg +1 -0
  192. data/app/assets/lookbook/icons/clock-1.svg +1 -0
  193. data/app/assets/lookbook/icons/clock-10.svg +1 -0
  194. data/app/assets/lookbook/icons/clock-11.svg +1 -0
  195. data/app/assets/lookbook/icons/clock-12.svg +1 -0
  196. data/app/assets/lookbook/icons/clock-2.svg +1 -0
  197. data/app/assets/lookbook/icons/clock-3.svg +1 -0
  198. data/app/assets/lookbook/icons/clock-4.svg +1 -0
  199. data/app/assets/lookbook/icons/clock-5.svg +1 -0
  200. data/app/assets/lookbook/icons/clock-6.svg +1 -0
  201. data/app/assets/lookbook/icons/clock-7.svg +1 -0
  202. data/app/assets/lookbook/icons/clock-8.svg +1 -0
  203. data/app/assets/lookbook/icons/clock-9.svg +1 -0
  204. data/app/assets/lookbook/icons/clock.svg +1 -0
  205. data/app/assets/lookbook/icons/cloud-cog.svg +1 -0
  206. data/app/assets/lookbook/icons/cloud-drizzle.svg +1 -0
  207. data/app/assets/lookbook/icons/cloud-fog.svg +1 -0
  208. data/app/assets/lookbook/icons/cloud-hail.svg +1 -0
  209. data/app/assets/lookbook/icons/cloud-lightning.svg +1 -0
  210. data/app/assets/lookbook/icons/cloud-moon-rain.svg +1 -0
  211. data/app/assets/lookbook/icons/cloud-moon.svg +1 -0
  212. data/app/assets/lookbook/icons/cloud-off.svg +1 -0
  213. data/app/assets/lookbook/icons/cloud-rain-wind.svg +1 -0
  214. data/app/assets/lookbook/icons/cloud-rain.svg +1 -0
  215. data/app/assets/lookbook/icons/cloud-snow.svg +1 -0
  216. data/app/assets/lookbook/icons/cloud-sun-rain.svg +1 -0
  217. data/app/assets/lookbook/icons/cloud-sun.svg +1 -0
  218. data/app/assets/lookbook/icons/cloud.svg +1 -0
  219. data/app/assets/lookbook/icons/cloudy.svg +1 -0
  220. data/app/assets/lookbook/icons/clover.svg +1 -0
  221. data/app/assets/lookbook/icons/code-2.svg +1 -0
  222. data/app/assets/lookbook/icons/code.svg +1 -0
  223. data/app/assets/lookbook/icons/codepen.svg +1 -0
  224. data/app/assets/lookbook/icons/codesandbox.svg +1 -0
  225. data/app/assets/lookbook/icons/coffee.svg +1 -0
  226. data/app/assets/lookbook/icons/cog.svg +1 -0
  227. data/app/assets/lookbook/icons/coins.svg +1 -0
  228. data/app/assets/lookbook/icons/columns.svg +1 -0
  229. data/app/assets/lookbook/icons/command.svg +1 -0
  230. data/app/assets/lookbook/icons/compass.svg +1 -0
  231. data/app/assets/lookbook/icons/component.svg +1 -0
  232. data/app/assets/lookbook/icons/concierge-bell.svg +1 -0
  233. data/app/assets/lookbook/icons/construction.svg +1 -0
  234. data/app/assets/lookbook/icons/contact.svg +1 -0
  235. data/app/assets/lookbook/icons/contrast.svg +1 -0
  236. data/app/assets/lookbook/icons/cookie.svg +1 -0
  237. data/app/assets/lookbook/icons/copy.svg +1 -0
  238. data/app/assets/lookbook/icons/copyleft.svg +1 -0
  239. data/app/assets/lookbook/icons/copyright.svg +1 -0
  240. data/app/assets/lookbook/icons/corner-down-left.svg +1 -0
  241. data/app/assets/lookbook/icons/corner-down-right.svg +1 -0
  242. data/app/assets/lookbook/icons/corner-left-down.svg +1 -0
  243. data/app/assets/lookbook/icons/corner-left-up.svg +1 -0
  244. data/app/assets/lookbook/icons/corner-right-down.svg +1 -0
  245. data/app/assets/lookbook/icons/corner-right-up.svg +1 -0
  246. data/app/assets/lookbook/icons/corner-up-left.svg +1 -0
  247. data/app/assets/lookbook/icons/corner-up-right.svg +1 -0
  248. data/app/assets/lookbook/icons/cpu.svg +1 -0
  249. data/app/assets/lookbook/icons/creative-commons.svg +1 -0
  250. data/app/assets/lookbook/icons/credit-card.svg +1 -0
  251. data/app/assets/lookbook/icons/croissant.svg +1 -0
  252. data/app/assets/lookbook/icons/crop.svg +1 -0
  253. data/app/assets/lookbook/icons/cross.svg +1 -0
  254. data/app/assets/lookbook/icons/crosshair.svg +1 -0
  255. data/app/assets/lookbook/icons/crown.svg +1 -0
  256. data/app/assets/lookbook/icons/cup-soda.svg +1 -0
  257. data/app/assets/lookbook/icons/curly-braces.svg +1 -0
  258. data/app/assets/lookbook/icons/currency.svg +1 -0
  259. data/app/assets/lookbook/icons/database-backup.svg +1 -0
  260. data/app/assets/lookbook/icons/database.svg +1 -0
  261. data/app/assets/lookbook/icons/delete.svg +1 -0
  262. data/app/assets/lookbook/icons/diamond.svg +1 -0
  263. data/app/assets/lookbook/icons/dice-1.svg +1 -0
  264. data/app/assets/lookbook/icons/dice-2.svg +1 -0
  265. data/app/assets/lookbook/icons/dice-3.svg +1 -0
  266. data/app/assets/lookbook/icons/dice-4.svg +1 -0
  267. data/app/assets/lookbook/icons/dice-5.svg +1 -0
  268. data/app/assets/lookbook/icons/dice-6.svg +1 -0
  269. data/app/assets/lookbook/icons/dices.svg +1 -0
  270. data/app/assets/lookbook/icons/diff.svg +1 -0
  271. data/app/assets/lookbook/icons/disc.svg +1 -0
  272. data/app/assets/lookbook/icons/divide-circle.svg +1 -0
  273. data/app/assets/lookbook/icons/divide-square.svg +1 -0
  274. data/app/assets/lookbook/icons/divide.svg +1 -0
  275. data/app/assets/lookbook/icons/dna-off.svg +1 -0
  276. data/app/assets/lookbook/icons/dna.svg +1 -0
  277. data/app/assets/lookbook/icons/dog.svg +1 -0
  278. data/app/assets/lookbook/icons/dollar-sign.svg +1 -0
  279. data/app/assets/lookbook/icons/download-cloud.svg +1 -0
  280. data/app/assets/lookbook/icons/download.svg +1 -0
  281. data/app/assets/lookbook/icons/dribbble.svg +1 -0
  282. data/app/assets/lookbook/icons/droplet.svg +1 -0
  283. data/app/assets/lookbook/icons/droplets.svg +1 -0
  284. data/app/assets/lookbook/icons/drumstick.svg +1 -0
  285. data/app/assets/lookbook/icons/dumbbell.svg +1 -0
  286. data/app/assets/lookbook/icons/ear-off.svg +1 -0
  287. data/app/assets/lookbook/icons/ear.svg +1 -0
  288. data/app/assets/lookbook/icons/edit-2.svg +1 -0
  289. data/app/assets/lookbook/icons/edit-3.svg +1 -0
  290. data/app/assets/lookbook/icons/edit.svg +1 -0
  291. data/app/assets/lookbook/icons/egg-fried.svg +1 -0
  292. data/app/assets/lookbook/icons/egg-off.svg +1 -0
  293. data/app/assets/lookbook/icons/egg.svg +1 -0
  294. data/app/assets/lookbook/icons/equal-not.svg +1 -0
  295. data/app/assets/lookbook/icons/equal.svg +1 -0
  296. data/app/assets/lookbook/icons/eraser.svg +1 -0
  297. data/app/assets/lookbook/icons/euro.svg +1 -0
  298. data/app/assets/lookbook/icons/expand.svg +1 -0
  299. data/app/assets/lookbook/icons/external-link.svg +1 -0
  300. data/app/assets/lookbook/icons/eye-off.svg +1 -0
  301. data/app/assets/lookbook/icons/eye.svg +1 -0
  302. data/app/assets/lookbook/icons/facebook.svg +1 -0
  303. data/app/assets/lookbook/icons/factory.svg +1 -0
  304. data/app/assets/lookbook/icons/fan.svg +1 -0
  305. data/app/assets/lookbook/icons/fast-forward.svg +1 -0
  306. data/app/assets/lookbook/icons/feather.svg +1 -0
  307. data/app/assets/lookbook/icons/figma.svg +1 -0
  308. data/app/assets/lookbook/icons/file-archive.svg +1 -0
  309. data/app/assets/lookbook/icons/file-audio-2.svg +1 -0
  310. data/app/assets/lookbook/icons/file-audio.svg +1 -0
  311. data/app/assets/lookbook/icons/file-axis-3d.svg +1 -0
  312. data/app/assets/lookbook/icons/file-badge-2.svg +1 -0
  313. data/app/assets/lookbook/icons/file-badge.svg +1 -0
  314. data/app/assets/lookbook/icons/file-bar-chart-2.svg +1 -0
  315. data/app/assets/lookbook/icons/file-bar-chart.svg +1 -0
  316. data/app/assets/lookbook/icons/file-box.svg +1 -0
  317. data/app/assets/lookbook/icons/file-check-2.svg +1 -0
  318. data/app/assets/lookbook/icons/file-check.svg +1 -0
  319. data/app/assets/lookbook/icons/file-clock.svg +1 -0
  320. data/app/assets/lookbook/icons/file-code.svg +1 -0
  321. data/app/assets/lookbook/icons/file-cog-2.svg +1 -0
  322. data/app/assets/lookbook/icons/file-cog.svg +1 -0
  323. data/app/assets/lookbook/icons/file-diff.svg +1 -0
  324. data/app/assets/lookbook/icons/file-digit.svg +1 -0
  325. data/app/assets/lookbook/icons/file-down.svg +1 -0
  326. data/app/assets/lookbook/icons/file-edit.svg +1 -0
  327. data/app/assets/lookbook/icons/file-heart.svg +1 -0
  328. data/app/assets/lookbook/icons/file-image.svg +1 -0
  329. data/app/assets/lookbook/icons/file-input.svg +1 -0
  330. data/app/assets/lookbook/icons/file-json-2.svg +1 -0
  331. data/app/assets/lookbook/icons/file-json.svg +1 -0
  332. data/app/assets/lookbook/icons/file-key-2.svg +1 -0
  333. data/app/assets/lookbook/icons/file-key.svg +1 -0
  334. data/app/assets/lookbook/icons/file-line-chart.svg +1 -0
  335. data/app/assets/lookbook/icons/file-lock-2.svg +1 -0
  336. data/app/assets/lookbook/icons/file-lock.svg +1 -0
  337. data/app/assets/lookbook/icons/file-minus-2.svg +1 -0
  338. data/app/assets/lookbook/icons/file-minus.svg +1 -0
  339. data/app/assets/lookbook/icons/file-output.svg +1 -0
  340. data/app/assets/lookbook/icons/file-pie-chart.svg +1 -0
  341. data/app/assets/lookbook/icons/file-plus-2.svg +1 -0
  342. data/app/assets/lookbook/icons/file-plus.svg +1 -0
  343. data/app/assets/lookbook/icons/file-question.svg +1 -0
  344. data/app/assets/lookbook/icons/file-scan.svg +1 -0
  345. data/app/assets/lookbook/icons/file-search-2.svg +1 -0
  346. data/app/assets/lookbook/icons/file-search.svg +1 -0
  347. data/app/assets/lookbook/icons/file-signature.svg +1 -0
  348. data/app/assets/lookbook/icons/file-spreadsheet.svg +1 -0
  349. data/app/assets/lookbook/icons/file-symlink.svg +1 -0
  350. data/app/assets/lookbook/icons/file-terminal.svg +1 -0
  351. data/app/assets/lookbook/icons/file-text.svg +1 -0
  352. data/app/assets/lookbook/icons/file-type-2.svg +1 -0
  353. data/app/assets/lookbook/icons/file-type.svg +1 -0
  354. data/app/assets/lookbook/icons/file-up.svg +1 -0
  355. data/app/assets/lookbook/icons/file-video-2.svg +1 -0
  356. data/app/assets/lookbook/icons/file-video.svg +1 -0
  357. data/app/assets/lookbook/icons/file-volume-2.svg +1 -0
  358. data/app/assets/lookbook/icons/file-volume.svg +1 -0
  359. data/app/assets/lookbook/icons/file-warning.svg +1 -0
  360. data/app/assets/lookbook/icons/file-x-2.svg +1 -0
  361. data/app/assets/lookbook/icons/file-x.svg +1 -0
  362. data/app/assets/lookbook/icons/file.svg +1 -0
  363. data/app/assets/lookbook/icons/files.svg +1 -0
  364. data/app/assets/lookbook/icons/film.svg +1 -0
  365. data/app/assets/lookbook/icons/filter-x.svg +1 -0
  366. data/app/assets/lookbook/icons/filter.svg +1 -0
  367. data/app/assets/lookbook/icons/fingerprint.svg +1 -0
  368. data/app/assets/lookbook/icons/fish-off.svg +1 -0
  369. data/app/assets/lookbook/icons/fish.svg +1 -0
  370. data/app/assets/lookbook/icons/flag-off.svg +1 -0
  371. data/app/assets/lookbook/icons/flag-triangle-left.svg +1 -0
  372. data/app/assets/lookbook/icons/flag-triangle-right.svg +1 -0
  373. data/app/assets/lookbook/icons/flag.svg +1 -0
  374. data/app/assets/lookbook/icons/flame.svg +1 -0
  375. data/app/assets/lookbook/icons/flashlight-off.svg +1 -0
  376. data/app/assets/lookbook/icons/flashlight.svg +1 -0
  377. data/app/assets/lookbook/icons/flask-conical-off.svg +1 -0
  378. data/app/assets/lookbook/icons/flask-conical.svg +1 -0
  379. data/app/assets/lookbook/icons/flask-round.svg +1 -0
  380. data/app/assets/lookbook/icons/flip-horizontal-2.svg +1 -0
  381. data/app/assets/lookbook/icons/flip-horizontal.svg +1 -0
  382. data/app/assets/lookbook/icons/flip-vertical-2.svg +1 -0
  383. data/app/assets/lookbook/icons/flip-vertical.svg +1 -0
  384. data/app/assets/lookbook/icons/flower-2.svg +1 -0
  385. data/app/assets/lookbook/icons/flower.svg +1 -0
  386. data/app/assets/lookbook/icons/focus.svg +1 -0
  387. data/app/assets/lookbook/icons/folder-archive.svg +1 -0
  388. data/app/assets/lookbook/icons/folder-check.svg +1 -0
  389. data/app/assets/lookbook/icons/folder-clock.svg +1 -0
  390. data/app/assets/lookbook/icons/folder-closed.svg +1 -0
  391. data/app/assets/lookbook/icons/folder-cog-2.svg +1 -0
  392. data/app/assets/lookbook/icons/folder-cog.svg +1 -0
  393. data/app/assets/lookbook/icons/folder-down.svg +1 -0
  394. data/app/assets/lookbook/icons/folder-edit.svg +1 -0
  395. data/app/assets/lookbook/icons/folder-heart.svg +1 -0
  396. data/app/assets/lookbook/icons/folder-input.svg +1 -0
  397. data/app/assets/lookbook/icons/folder-key.svg +1 -0
  398. data/app/assets/lookbook/icons/folder-lock.svg +1 -0
  399. data/app/assets/lookbook/icons/folder-minus.svg +1 -0
  400. data/app/assets/lookbook/icons/folder-open.svg +1 -0
  401. data/app/assets/lookbook/icons/folder-output.svg +1 -0
  402. data/app/assets/lookbook/icons/folder-plus.svg +1 -0
  403. data/app/assets/lookbook/icons/folder-search-2.svg +1 -0
  404. data/app/assets/lookbook/icons/folder-search.svg +1 -0
  405. data/app/assets/lookbook/icons/folder-symlink.svg +1 -0
  406. data/app/assets/lookbook/icons/folder-tree.svg +1 -0
  407. data/app/assets/lookbook/icons/folder-up.svg +1 -0
  408. data/app/assets/lookbook/icons/folder-x.svg +1 -0
  409. data/app/assets/lookbook/icons/folder.svg +1 -0
  410. data/app/assets/lookbook/icons/folders.svg +1 -0
  411. data/app/assets/lookbook/icons/footprints.svg +1 -0
  412. data/app/assets/lookbook/icons/forklift.svg +1 -0
  413. data/app/assets/lookbook/icons/form-input.svg +1 -0
  414. data/app/assets/lookbook/icons/forward.svg +1 -0
  415. data/app/assets/lookbook/icons/frame.svg +1 -0
  416. data/app/assets/lookbook/icons/framer.svg +1 -0
  417. data/app/assets/lookbook/icons/frown.svg +1 -0
  418. data/app/assets/lookbook/icons/fuel.svg +1 -0
  419. data/app/assets/lookbook/icons/function-square.svg +1 -0
  420. data/app/assets/lookbook/icons/gamepad-2.svg +1 -0
  421. data/app/assets/lookbook/icons/gamepad.svg +1 -0
  422. data/app/assets/lookbook/icons/gauge.svg +1 -0
  423. data/app/assets/lookbook/icons/gavel.svg +1 -0
  424. data/app/assets/lookbook/icons/gem.svg +1 -0
  425. data/app/assets/lookbook/icons/ghost.svg +1 -0
  426. data/app/assets/lookbook/icons/gift.svg +1 -0
  427. data/app/assets/lookbook/icons/git-branch-plus.svg +1 -0
  428. data/app/assets/lookbook/icons/git-branch.svg +1 -0
  429. data/app/assets/lookbook/icons/git-commit.svg +1 -0
  430. data/app/assets/lookbook/icons/git-compare.svg +1 -0
  431. data/app/assets/lookbook/icons/git-fork.svg +1 -0
  432. data/app/assets/lookbook/icons/git-merge.svg +1 -0
  433. data/app/assets/lookbook/icons/git-pull-request-closed.svg +1 -0
  434. data/app/assets/lookbook/icons/git-pull-request-draft.svg +1 -0
  435. data/app/assets/lookbook/icons/git-pull-request.svg +1 -0
  436. data/app/assets/lookbook/icons/github.svg +1 -0
  437. data/app/assets/lookbook/icons/gitlab.svg +1 -0
  438. data/app/assets/lookbook/icons/glass-water.svg +1 -0
  439. data/app/assets/lookbook/icons/glasses.svg +1 -0
  440. data/app/assets/lookbook/icons/globe-2.svg +1 -0
  441. data/app/assets/lookbook/icons/globe.svg +1 -0
  442. data/app/assets/lookbook/icons/grab.svg +1 -0
  443. data/app/assets/lookbook/icons/graduation-cap.svg +1 -0
  444. data/app/assets/lookbook/icons/grape.svg +1 -0
  445. data/app/assets/lookbook/icons/grid.svg +1 -0
  446. data/app/assets/lookbook/icons/grip-horizontal.svg +1 -0
  447. data/app/assets/lookbook/icons/grip-vertical.svg +1 -0
  448. data/app/assets/lookbook/icons/grip.svg +1 -0
  449. data/app/assets/lookbook/icons/hammer.svg +1 -0
  450. data/app/assets/lookbook/icons/hand-metal.svg +1 -0
  451. data/app/assets/lookbook/icons/hand.svg +1 -0
  452. data/app/assets/lookbook/icons/hard-drive.svg +1 -0
  453. data/app/assets/lookbook/icons/hard-hat.svg +1 -0
  454. data/app/assets/lookbook/icons/hash.svg +1 -0
  455. data/app/assets/lookbook/icons/haze.svg +1 -0
  456. data/app/assets/lookbook/icons/heading-1.svg +1 -0
  457. data/app/assets/lookbook/icons/heading-2.svg +1 -0
  458. data/app/assets/lookbook/icons/heading-3.svg +1 -0
  459. data/app/assets/lookbook/icons/heading-4.svg +1 -0
  460. data/app/assets/lookbook/icons/heading-5.svg +1 -0
  461. data/app/assets/lookbook/icons/heading-6.svg +1 -0
  462. data/app/assets/lookbook/icons/heading.svg +1 -0
  463. data/app/assets/lookbook/icons/headphones.svg +1 -0
  464. data/app/assets/lookbook/icons/heart-crack.svg +1 -0
  465. data/app/assets/lookbook/icons/heart-handshake.svg +1 -0
  466. data/app/assets/lookbook/icons/heart-off.svg +1 -0
  467. data/app/assets/lookbook/icons/heart-pulse.svg +1 -0
  468. data/app/assets/lookbook/icons/heart.svg +1 -0
  469. data/app/assets/lookbook/icons/help-circle.svg +1 -0
  470. data/app/assets/lookbook/icons/helping-hand.svg +1 -0
  471. data/app/assets/lookbook/icons/hexagon.svg +1 -0
  472. data/app/assets/lookbook/icons/highlighter.svg +1 -0
  473. data/app/assets/lookbook/icons/history.svg +1 -0
  474. data/app/assets/lookbook/icons/home.svg +1 -0
  475. data/app/assets/lookbook/icons/hop-off.svg +1 -0
  476. data/app/assets/lookbook/icons/hop.svg +1 -0
  477. data/app/assets/lookbook/icons/hourglass.svg +1 -0
  478. data/app/assets/lookbook/icons/ice-cream-2.svg +1 -0
  479. data/app/assets/lookbook/icons/ice-cream.svg +1 -0
  480. data/app/assets/lookbook/icons/image-minus.svg +1 -0
  481. data/app/assets/lookbook/icons/image-off.svg +1 -0
  482. data/app/assets/lookbook/icons/image-plus.svg +1 -0
  483. data/app/assets/lookbook/icons/image.svg +1 -0
  484. data/app/assets/lookbook/icons/import.svg +1 -0
  485. data/app/assets/lookbook/icons/inbox.svg +1 -0
  486. data/app/assets/lookbook/icons/indent.svg +1 -0
  487. data/app/assets/lookbook/icons/indian-rupee.svg +1 -0
  488. data/app/assets/lookbook/icons/infinity.svg +1 -0
  489. data/app/assets/lookbook/icons/info.svg +1 -0
  490. data/app/assets/lookbook/icons/inspect.svg +1 -0
  491. data/app/assets/lookbook/icons/instagram.svg +1 -0
  492. data/app/assets/lookbook/icons/italic.svg +1 -0
  493. data/app/assets/lookbook/icons/japanese-yen.svg +1 -0
  494. data/app/assets/lookbook/icons/joystick.svg +1 -0
  495. data/app/assets/lookbook/icons/key.svg +1 -0
  496. data/app/assets/lookbook/icons/keyboard.svg +1 -0
  497. data/app/assets/lookbook/icons/lamp-ceiling.svg +1 -0
  498. data/app/assets/lookbook/icons/lamp-desk.svg +1 -0
  499. data/app/assets/lookbook/icons/lamp-floor.svg +1 -0
  500. data/app/assets/lookbook/icons/lamp-wall-down.svg +1 -0
  501. data/app/assets/lookbook/icons/lamp-wall-up.svg +1 -0
  502. data/app/assets/lookbook/icons/lamp.svg +1 -0
  503. data/app/assets/lookbook/icons/landmark.svg +1 -0
  504. data/app/assets/lookbook/icons/languages.svg +1 -0
  505. data/app/assets/lookbook/icons/laptop-2.svg +1 -0
  506. data/app/assets/lookbook/icons/laptop.svg +1 -0
  507. data/app/assets/lookbook/icons/lasso-select.svg +1 -0
  508. data/app/assets/lookbook/icons/lasso.svg +1 -0
  509. data/app/assets/lookbook/icons/laugh.svg +1 -0
  510. data/app/assets/lookbook/icons/layers.svg +1 -0
  511. data/app/assets/lookbook/icons/layout-dashboard.svg +1 -0
  512. data/app/assets/lookbook/icons/layout-grid.svg +1 -0
  513. data/app/assets/lookbook/icons/layout-list.svg +1 -0
  514. data/app/assets/lookbook/icons/layout-template.svg +1 -0
  515. data/app/assets/lookbook/icons/layout.svg +1 -0
  516. data/app/assets/lookbook/icons/leaf.svg +1 -0
  517. data/app/assets/lookbook/icons/library.svg +1 -0
  518. data/app/assets/lookbook/icons/life-buoy.svg +1 -0
  519. data/app/assets/lookbook/icons/lightbulb-off.svg +1 -0
  520. data/app/assets/lookbook/icons/lightbulb.svg +1 -0
  521. data/app/assets/lookbook/icons/line-chart.svg +1 -0
  522. data/app/assets/lookbook/icons/link-2-off.svg +1 -0
  523. data/app/assets/lookbook/icons/link-2.svg +1 -0
  524. data/app/assets/lookbook/icons/link.svg +1 -0
  525. data/app/assets/lookbook/icons/linkedin.svg +1 -0
  526. data/app/assets/lookbook/icons/list-checks.svg +1 -0
  527. data/app/assets/lookbook/icons/list-end.svg +1 -0
  528. data/app/assets/lookbook/icons/list-minus.svg +1 -0
  529. data/app/assets/lookbook/icons/list-music.svg +1 -0
  530. data/app/assets/lookbook/icons/list-ordered.svg +1 -0
  531. data/app/assets/lookbook/icons/list-plus.svg +1 -0
  532. data/app/assets/lookbook/icons/list-start.svg +1 -0
  533. data/app/assets/lookbook/icons/list-video.svg +1 -0
  534. data/app/assets/lookbook/icons/list-x.svg +1 -0
  535. data/app/assets/lookbook/icons/list.svg +1 -0
  536. data/app/assets/lookbook/icons/loader-2.svg +1 -0
  537. data/app/assets/lookbook/icons/loader.svg +1 -0
  538. data/app/assets/lookbook/icons/locate-fixed.svg +1 -0
  539. data/app/assets/lookbook/icons/locate-off.svg +1 -0
  540. data/app/assets/lookbook/icons/locate.svg +1 -0
  541. data/app/assets/lookbook/icons/lock.svg +1 -0
  542. data/app/assets/lookbook/icons/log-in.svg +1 -0
  543. data/app/assets/lookbook/icons/log-out.svg +1 -0
  544. data/app/assets/lookbook/icons/luggage.svg +1 -0
  545. data/app/assets/lookbook/icons/magnet.svg +1 -0
  546. data/app/assets/lookbook/icons/mail-check.svg +1 -0
  547. data/app/assets/lookbook/icons/mail-minus.svg +1 -0
  548. data/app/assets/lookbook/icons/mail-open.svg +1 -0
  549. data/app/assets/lookbook/icons/mail-plus.svg +1 -0
  550. data/app/assets/lookbook/icons/mail-question.svg +1 -0
  551. data/app/assets/lookbook/icons/mail-search.svg +1 -0
  552. data/app/assets/lookbook/icons/mail-warning.svg +1 -0
  553. data/app/assets/lookbook/icons/mail-x.svg +1 -0
  554. data/app/assets/lookbook/icons/mail.svg +1 -0
  555. data/app/assets/lookbook/icons/mails.svg +1 -0
  556. data/app/assets/lookbook/icons/map-pin-off.svg +1 -0
  557. data/app/assets/lookbook/icons/map-pin.svg +1 -0
  558. data/app/assets/lookbook/icons/map.svg +1 -0
  559. data/app/assets/lookbook/icons/martini.svg +1 -0
  560. data/app/assets/lookbook/icons/maximize-2.svg +1 -0
  561. data/app/assets/lookbook/icons/maximize.svg +1 -0
  562. data/app/assets/lookbook/icons/medal.svg +1 -0
  563. data/app/assets/lookbook/icons/megaphone-off.svg +1 -0
  564. data/app/assets/lookbook/icons/megaphone.svg +1 -0
  565. data/app/assets/lookbook/icons/meh.svg +1 -0
  566. data/app/assets/lookbook/icons/menu.svg +1 -0
  567. data/app/assets/lookbook/icons/message-circle.svg +1 -0
  568. data/app/assets/lookbook/icons/message-square.svg +1 -0
  569. data/app/assets/lookbook/icons/mic-2.svg +1 -0
  570. data/app/assets/lookbook/icons/mic-off.svg +1 -0
  571. data/app/assets/lookbook/icons/mic.svg +1 -0
  572. data/app/assets/lookbook/icons/microscope.svg +1 -0
  573. data/app/assets/lookbook/icons/microwave.svg +1 -0
  574. data/app/assets/lookbook/icons/milestone.svg +1 -0
  575. data/app/assets/lookbook/icons/milk-off.svg +1 -0
  576. data/app/assets/lookbook/icons/milk.svg +1 -0
  577. data/app/assets/lookbook/icons/minimize-2.svg +1 -0
  578. data/app/assets/lookbook/icons/minimize.svg +1 -0
  579. data/app/assets/lookbook/icons/minus-circle.svg +1 -0
  580. data/app/assets/lookbook/icons/minus-square.svg +1 -0
  581. data/app/assets/lookbook/icons/minus.svg +1 -0
  582. data/app/assets/lookbook/icons/monitor-off.svg +1 -0
  583. data/app/assets/lookbook/icons/monitor-smartphone.svg +1 -0
  584. data/app/assets/lookbook/icons/monitor-speaker.svg +1 -0
  585. data/app/assets/lookbook/icons/monitor.svg +1 -0
  586. data/app/assets/lookbook/icons/moon.svg +1 -0
  587. data/app/assets/lookbook/icons/more-horizontal.svg +1 -0
  588. data/app/assets/lookbook/icons/more-vertical.svg +1 -0
  589. data/app/assets/lookbook/icons/mountain-snow.svg +1 -0
  590. data/app/assets/lookbook/icons/mountain.svg +1 -0
  591. data/app/assets/lookbook/icons/mouse-pointer-2.svg +1 -0
  592. data/app/assets/lookbook/icons/mouse-pointer-click.svg +1 -0
  593. data/app/assets/lookbook/icons/mouse-pointer.svg +1 -0
  594. data/app/assets/lookbook/icons/mouse.svg +1 -0
  595. data/app/assets/lookbook/icons/move-3d.svg +1 -0
  596. data/app/assets/lookbook/icons/move-diagonal-2.svg +1 -0
  597. data/app/assets/lookbook/icons/move-diagonal.svg +1 -0
  598. data/app/assets/lookbook/icons/move-horizontal.svg +1 -0
  599. data/app/assets/lookbook/icons/move-vertical.svg +1 -0
  600. data/app/assets/lookbook/icons/move.svg +1 -0
  601. data/app/assets/lookbook/icons/music-2.svg +1 -0
  602. data/app/assets/lookbook/icons/music-3.svg +1 -0
  603. data/app/assets/lookbook/icons/music-4.svg +1 -0
  604. data/app/assets/lookbook/icons/music.svg +1 -0
  605. data/app/assets/lookbook/icons/navigation-2-off.svg +1 -0
  606. data/app/assets/lookbook/icons/navigation-2.svg +1 -0
  607. data/app/assets/lookbook/icons/navigation-off.svg +1 -0
  608. data/app/assets/lookbook/icons/navigation.svg +1 -0
  609. data/app/assets/lookbook/icons/network.svg +1 -0
  610. data/app/assets/lookbook/icons/newspaper.svg +1 -0
  611. data/app/assets/lookbook/icons/nfc.svg +1 -0
  612. data/app/assets/lookbook/icons/nut-off.svg +1 -0
  613. data/app/assets/lookbook/icons/nut.svg +1 -0
  614. data/app/assets/lookbook/icons/octagon.svg +1 -0
  615. data/app/assets/lookbook/icons/option.svg +1 -0
  616. data/app/assets/lookbook/icons/outdent.svg +1 -0
  617. data/app/assets/lookbook/icons/package-2.svg +1 -0
  618. data/app/assets/lookbook/icons/package-check.svg +1 -0
  619. data/app/assets/lookbook/icons/package-minus.svg +1 -0
  620. data/app/assets/lookbook/icons/package-open.svg +1 -0
  621. data/app/assets/lookbook/icons/package-plus.svg +1 -0
  622. data/app/assets/lookbook/icons/package-search.svg +1 -0
  623. data/app/assets/lookbook/icons/package-x.svg +1 -0
  624. data/app/assets/lookbook/icons/package.svg +1 -0
  625. data/app/assets/lookbook/icons/paint-bucket.svg +1 -0
  626. data/app/assets/lookbook/icons/paintbrush-2.svg +1 -0
  627. data/app/assets/lookbook/icons/paintbrush.svg +1 -0
  628. data/app/assets/lookbook/icons/palette.svg +1 -0
  629. data/app/assets/lookbook/icons/palmtree.svg +1 -0
  630. data/app/assets/lookbook/icons/paperclip.svg +1 -0
  631. data/app/assets/lookbook/icons/party-popper.svg +1 -0
  632. data/app/assets/lookbook/icons/pause-circle.svg +1 -0
  633. data/app/assets/lookbook/icons/pause-octagon.svg +1 -0
  634. data/app/assets/lookbook/icons/pause.svg +1 -0
  635. data/app/assets/lookbook/icons/pen-tool.svg +1 -0
  636. data/app/assets/lookbook/icons/pencil.svg +1 -0
  637. data/app/assets/lookbook/icons/percent.svg +1 -0
  638. data/app/assets/lookbook/icons/person-standing.svg +1 -0
  639. data/app/assets/lookbook/icons/phone-call.svg +1 -0
  640. data/app/assets/lookbook/icons/phone-forwarded.svg +1 -0
  641. data/app/assets/lookbook/icons/phone-incoming.svg +1 -0
  642. data/app/assets/lookbook/icons/phone-missed.svg +1 -0
  643. data/app/assets/lookbook/icons/phone-off.svg +1 -0
  644. data/app/assets/lookbook/icons/phone-outgoing.svg +1 -0
  645. data/app/assets/lookbook/icons/phone.svg +1 -0
  646. data/app/assets/lookbook/icons/picture-in-picture-2.svg +1 -0
  647. data/app/assets/lookbook/icons/picture-in-picture.svg +1 -0
  648. data/app/assets/lookbook/icons/pie-chart.svg +1 -0
  649. data/app/assets/lookbook/icons/piggy-bank.svg +1 -0
  650. data/app/assets/lookbook/icons/pilcrow.svg +1 -0
  651. data/app/assets/lookbook/icons/pill.svg +1 -0
  652. data/app/assets/lookbook/icons/pin-off.svg +1 -0
  653. data/app/assets/lookbook/icons/pin.svg +1 -0
  654. data/app/assets/lookbook/icons/pipette.svg +1 -0
  655. data/app/assets/lookbook/icons/pizza.svg +1 -0
  656. data/app/assets/lookbook/icons/plane.svg +1 -0
  657. data/app/assets/lookbook/icons/play-circle.svg +1 -0
  658. data/app/assets/lookbook/icons/play.svg +1 -0
  659. data/app/assets/lookbook/icons/plug-2.svg +1 -0
  660. data/app/assets/lookbook/icons/plug-zap.svg +1 -0
  661. data/app/assets/lookbook/icons/plug.svg +1 -0
  662. data/app/assets/lookbook/icons/plus-circle.svg +1 -0
  663. data/app/assets/lookbook/icons/plus-square.svg +1 -0
  664. data/app/assets/lookbook/icons/plus.svg +1 -0
  665. data/app/assets/lookbook/icons/pocket.svg +1 -0
  666. data/app/assets/lookbook/icons/podcast.svg +1 -0
  667. data/app/assets/lookbook/icons/pointer.svg +1 -0
  668. data/app/assets/lookbook/icons/pound-sterling.svg +1 -0
  669. data/app/assets/lookbook/icons/power-off.svg +1 -0
  670. data/app/assets/lookbook/icons/power.svg +1 -0
  671. data/app/assets/lookbook/icons/printer.svg +1 -0
  672. data/app/assets/lookbook/icons/puzzle.svg +1 -0
  673. data/app/assets/lookbook/icons/qr-code.svg +1 -0
  674. data/app/assets/lookbook/icons/quote.svg +1 -0
  675. data/app/assets/lookbook/icons/radio-receiver.svg +1 -0
  676. data/app/assets/lookbook/icons/radio.svg +1 -0
  677. data/app/assets/lookbook/icons/rectangle-horizontal.svg +1 -0
  678. data/app/assets/lookbook/icons/rectangle-vertical.svg +1 -0
  679. data/app/assets/lookbook/icons/recycle.svg +1 -0
  680. data/app/assets/lookbook/icons/redo-2.svg +1 -0
  681. data/app/assets/lookbook/icons/redo.svg +1 -0
  682. data/app/assets/lookbook/icons/refresh-ccw.svg +1 -0
  683. data/app/assets/lookbook/icons/refresh-cw.svg +1 -0
  684. data/app/assets/lookbook/icons/refrigerator.svg +1 -0
  685. data/app/assets/lookbook/icons/regex.svg +1 -0
  686. data/app/assets/lookbook/icons/remove-formatting.svg +1 -0
  687. data/app/assets/lookbook/icons/repeat-1.svg +1 -0
  688. data/app/assets/lookbook/icons/repeat.svg +1 -0
  689. data/app/assets/lookbook/icons/reply-all.svg +1 -0
  690. data/app/assets/lookbook/icons/reply.svg +1 -0
  691. data/app/assets/lookbook/icons/rewind.svg +1 -0
  692. data/app/assets/lookbook/icons/rocket.svg +1 -0
  693. data/app/assets/lookbook/icons/rocking-chair.svg +1 -0
  694. data/app/assets/lookbook/icons/rotate-3d.svg +1 -0
  695. data/app/assets/lookbook/icons/rotate-ccw.svg +1 -0
  696. data/app/assets/lookbook/icons/rotate-cw.svg +1 -0
  697. data/app/assets/lookbook/icons/router.svg +1 -0
  698. data/app/assets/lookbook/icons/rss.svg +1 -0
  699. data/app/assets/lookbook/icons/ruler.svg +1 -0
  700. data/app/assets/lookbook/icons/russian-ruble.svg +1 -0
  701. data/app/assets/lookbook/icons/sailboat.svg +1 -0
  702. data/app/assets/lookbook/icons/salad.svg +1 -0
  703. data/app/assets/lookbook/icons/sandwich.svg +1 -0
  704. data/app/assets/lookbook/icons/save.svg +1 -0
  705. data/app/assets/lookbook/icons/scale-3d.svg +1 -0
  706. data/app/assets/lookbook/icons/scale.svg +1 -0
  707. data/app/assets/lookbook/icons/scaling.svg +1 -0
  708. data/app/assets/lookbook/icons/scan-face.svg +1 -0
  709. data/app/assets/lookbook/icons/scan-line.svg +1 -0
  710. data/app/assets/lookbook/icons/scan.svg +1 -0
  711. data/app/assets/lookbook/icons/scissors.svg +1 -0
  712. data/app/assets/lookbook/icons/screen-share-off.svg +1 -0
  713. data/app/assets/lookbook/icons/screen-share.svg +1 -0
  714. data/app/assets/lookbook/icons/scroll.svg +1 -0
  715. data/app/assets/lookbook/icons/search.svg +1 -0
  716. data/app/assets/lookbook/icons/send.svg +1 -0
  717. data/app/assets/lookbook/icons/separator-horizontal.svg +1 -0
  718. data/app/assets/lookbook/icons/separator-vertical.svg +1 -0
  719. data/app/assets/lookbook/icons/server-cog.svg +1 -0
  720. data/app/assets/lookbook/icons/server-crash.svg +1 -0
  721. data/app/assets/lookbook/icons/server-off.svg +1 -0
  722. data/app/assets/lookbook/icons/server.svg +1 -0
  723. data/app/assets/lookbook/icons/settings-2.svg +1 -0
  724. data/app/assets/lookbook/icons/settings.svg +1 -0
  725. data/app/assets/lookbook/icons/share-2.svg +1 -0
  726. data/app/assets/lookbook/icons/share.svg +1 -0
  727. data/app/assets/lookbook/icons/sheet.svg +1 -0
  728. data/app/assets/lookbook/icons/shield-alert.svg +1 -0
  729. data/app/assets/lookbook/icons/shield-check.svg +1 -0
  730. data/app/assets/lookbook/icons/shield-close.svg +1 -0
  731. data/app/assets/lookbook/icons/shield-off.svg +1 -0
  732. data/app/assets/lookbook/icons/shield.svg +1 -0
  733. data/app/assets/lookbook/icons/ship.svg +1 -0
  734. data/app/assets/lookbook/icons/shirt.svg +1 -0
  735. data/app/assets/lookbook/icons/shopping-bag.svg +1 -0
  736. data/app/assets/lookbook/icons/shopping-cart.svg +1 -0
  737. data/app/assets/lookbook/icons/shovel.svg +1 -0
  738. data/app/assets/lookbook/icons/shower-head.svg +1 -0
  739. data/app/assets/lookbook/icons/shrink.svg +1 -0
  740. data/app/assets/lookbook/icons/shrub.svg +1 -0
  741. data/app/assets/lookbook/icons/shuffle.svg +1 -0
  742. data/app/assets/lookbook/icons/sidebar-close.svg +1 -0
  743. data/app/assets/lookbook/icons/sidebar-open.svg +1 -0
  744. data/app/assets/lookbook/icons/sidebar.svg +1 -0
  745. data/app/assets/lookbook/icons/sigma.svg +1 -0
  746. data/app/assets/lookbook/icons/signal-high.svg +1 -0
  747. data/app/assets/lookbook/icons/signal-low.svg +1 -0
  748. data/app/assets/lookbook/icons/signal-medium.svg +1 -0
  749. data/app/assets/lookbook/icons/signal-zero.svg +1 -0
  750. data/app/assets/lookbook/icons/signal.svg +1 -0
  751. data/app/assets/lookbook/icons/siren.svg +1 -0
  752. data/app/assets/lookbook/icons/skip-back.svg +1 -0
  753. data/app/assets/lookbook/icons/skip-forward.svg +1 -0
  754. data/app/assets/lookbook/icons/skull.svg +1 -0
  755. data/app/assets/lookbook/icons/slack.svg +1 -0
  756. data/app/assets/lookbook/icons/slash.svg +1 -0
  757. data/app/assets/lookbook/icons/slice.svg +1 -0
  758. data/app/assets/lookbook/icons/sliders-horizontal.svg +1 -0
  759. data/app/assets/lookbook/icons/sliders.svg +1 -0
  760. data/app/assets/lookbook/icons/smartphone-charging.svg +1 -0
  761. data/app/assets/lookbook/icons/smartphone-nfc.svg +1 -0
  762. data/app/assets/lookbook/icons/smartphone.svg +1 -0
  763. data/app/assets/lookbook/icons/smile-plus.svg +1 -0
  764. data/app/assets/lookbook/icons/smile.svg +1 -0
  765. data/app/assets/lookbook/icons/snowflake.svg +1 -0
  766. data/app/assets/lookbook/icons/sofa.svg +1 -0
  767. data/app/assets/lookbook/icons/sort-asc.svg +1 -0
  768. data/app/assets/lookbook/icons/sort-desc.svg +1 -0
  769. data/app/assets/lookbook/icons/soup.svg +1 -0
  770. data/app/assets/lookbook/icons/speaker.svg +1 -0
  771. data/app/assets/lookbook/icons/spline.svg +1 -0
  772. data/app/assets/lookbook/icons/split-square-horizontal.svg +1 -0
  773. data/app/assets/lookbook/icons/split-square-vertical.svg +1 -0
  774. data/app/assets/lookbook/icons/sprout.svg +1 -0
  775. data/app/assets/lookbook/icons/square.svg +1 -0
  776. data/app/assets/lookbook/icons/stamp.svg +1 -0
  777. data/app/assets/lookbook/icons/star-half.svg +1 -0
  778. data/app/assets/lookbook/icons/star-off.svg +1 -0
  779. data/app/assets/lookbook/icons/star.svg +1 -0
  780. data/app/assets/lookbook/icons/stethoscope.svg +1 -0
  781. data/app/assets/lookbook/icons/sticker.svg +1 -0
  782. data/app/assets/lookbook/icons/sticky-note.svg +1 -0
  783. data/app/assets/lookbook/icons/stop-circle.svg +1 -0
  784. data/app/assets/lookbook/icons/stretch-horizontal.svg +1 -0
  785. data/app/assets/lookbook/icons/stretch-vertical.svg +1 -0
  786. data/app/assets/lookbook/icons/strikethrough.svg +1 -0
  787. data/app/assets/lookbook/icons/subscript.svg +1 -0
  788. data/app/assets/lookbook/icons/subtitles.svg +1 -0
  789. data/app/assets/lookbook/icons/sun-dim.svg +1 -0
  790. data/app/assets/lookbook/icons/sun-medium.svg +1 -0
  791. data/app/assets/lookbook/icons/sun-moon.svg +1 -0
  792. data/app/assets/lookbook/icons/sun-snow.svg +1 -0
  793. data/app/assets/lookbook/icons/sun.svg +1 -0
  794. data/app/assets/lookbook/icons/sunrise.svg +1 -0
  795. data/app/assets/lookbook/icons/sunset.svg +1 -0
  796. data/app/assets/lookbook/icons/superscript.svg +1 -0
  797. data/app/assets/lookbook/icons/swiss-franc.svg +1 -0
  798. data/app/assets/lookbook/icons/switch-camera.svg +1 -0
  799. data/app/assets/lookbook/icons/sword.svg +1 -0
  800. data/app/assets/lookbook/icons/swords.svg +1 -0
  801. data/app/assets/lookbook/icons/syringe.svg +1 -0
  802. data/app/assets/lookbook/icons/table-2.svg +1 -0
  803. data/app/assets/lookbook/icons/table.svg +1 -0
  804. data/app/assets/lookbook/icons/tablet.svg +1 -0
  805. data/app/assets/lookbook/icons/tablets.svg +1 -0
  806. data/app/assets/lookbook/icons/tag.svg +1 -0
  807. data/app/assets/lookbook/icons/tags.svg +1 -0
  808. data/app/assets/lookbook/icons/target.svg +1 -0
  809. data/app/assets/lookbook/icons/tent.svg +1 -0
  810. data/app/assets/lookbook/icons/terminal-square.svg +1 -0
  811. data/app/assets/lookbook/icons/terminal.svg +1 -0
  812. data/app/assets/lookbook/icons/text-cursor-input.svg +1 -0
  813. data/app/assets/lookbook/icons/text-cursor.svg +1 -0
  814. data/app/assets/lookbook/icons/thermometer-snowflake.svg +1 -0
  815. data/app/assets/lookbook/icons/thermometer-sun.svg +1 -0
  816. data/app/assets/lookbook/icons/thermometer.svg +1 -0
  817. data/app/assets/lookbook/icons/thumbs-down.svg +1 -0
  818. data/app/assets/lookbook/icons/thumbs-up.svg +1 -0
  819. data/app/assets/lookbook/icons/ticket.svg +1 -0
  820. data/app/assets/lookbook/icons/timer-off.svg +1 -0
  821. data/app/assets/lookbook/icons/timer-reset.svg +1 -0
  822. data/app/assets/lookbook/icons/timer.svg +1 -0
  823. data/app/assets/lookbook/icons/toggle-left.svg +1 -0
  824. data/app/assets/lookbook/icons/toggle-right.svg +1 -0
  825. data/app/assets/lookbook/icons/tornado.svg +1 -0
  826. data/app/assets/lookbook/icons/tower-control.svg +1 -0
  827. data/app/assets/lookbook/icons/toy-brick.svg +1 -0
  828. data/app/assets/lookbook/icons/train.svg +1 -0
  829. data/app/assets/lookbook/icons/trash-2.svg +1 -0
  830. data/app/assets/lookbook/icons/trash.svg +1 -0
  831. data/app/assets/lookbook/icons/tree-deciduous.svg +1 -0
  832. data/app/assets/lookbook/icons/tree-pine.svg +1 -0
  833. data/app/assets/lookbook/icons/trees.svg +1 -0
  834. data/app/assets/lookbook/icons/trello.svg +1 -0
  835. data/app/assets/lookbook/icons/trending-down.svg +1 -0
  836. data/app/assets/lookbook/icons/trending-up.svg +1 -0
  837. data/app/assets/lookbook/icons/triangle.svg +1 -0
  838. data/app/assets/lookbook/icons/trophy.svg +1 -0
  839. data/app/assets/lookbook/icons/truck.svg +1 -0
  840. data/app/assets/lookbook/icons/tv-2.svg +1 -0
  841. data/app/assets/lookbook/icons/tv.svg +1 -0
  842. data/app/assets/lookbook/icons/twitch.svg +1 -0
  843. data/app/assets/lookbook/icons/twitter.svg +1 -0
  844. data/app/assets/lookbook/icons/type.svg +1 -0
  845. data/app/assets/lookbook/icons/umbrella.svg +1 -0
  846. data/app/assets/lookbook/icons/underline.svg +1 -0
  847. data/app/assets/lookbook/icons/undo-2.svg +1 -0
  848. data/app/assets/lookbook/icons/undo.svg +1 -0
  849. data/app/assets/lookbook/icons/unlink-2.svg +1 -0
  850. data/app/assets/lookbook/icons/unlink.svg +1 -0
  851. data/app/assets/lookbook/icons/unlock.svg +1 -0
  852. data/app/assets/lookbook/icons/upload-cloud.svg +1 -0
  853. data/app/assets/lookbook/icons/upload.svg +1 -0
  854. data/app/assets/lookbook/icons/usb.svg +1 -0
  855. data/app/assets/lookbook/icons/user-check.svg +1 -0
  856. data/app/assets/lookbook/icons/user-cog.svg +1 -0
  857. data/app/assets/lookbook/icons/user-minus.svg +1 -0
  858. data/app/assets/lookbook/icons/user-plus.svg +1 -0
  859. data/app/assets/lookbook/icons/user-x.svg +1 -0
  860. data/app/assets/lookbook/icons/user.svg +1 -0
  861. data/app/assets/lookbook/icons/users.svg +1 -0
  862. data/app/assets/lookbook/icons/utensils-crossed.svg +1 -0
  863. data/app/assets/lookbook/icons/utensils.svg +1 -0
  864. data/app/assets/lookbook/icons/utility-pole.svg +1 -0
  865. data/app/assets/lookbook/icons/vegan.svg +1 -0
  866. data/app/assets/lookbook/icons/venetian-mask.svg +1 -0
  867. data/app/assets/lookbook/icons/verified.svg +1 -0
  868. data/app/assets/lookbook/icons/vibrate-off.svg +1 -0
  869. data/app/assets/lookbook/icons/vibrate.svg +1 -0
  870. data/app/assets/lookbook/icons/video-off.svg +1 -0
  871. data/app/assets/lookbook/icons/video.svg +1 -0
  872. data/app/assets/lookbook/icons/view.svg +1 -0
  873. data/app/assets/lookbook/icons/voicemail.svg +1 -0
  874. data/app/assets/lookbook/icons/volume-1.svg +1 -0
  875. data/app/assets/lookbook/icons/volume-2.svg +1 -0
  876. data/app/assets/lookbook/icons/volume-x.svg +1 -0
  877. data/app/assets/lookbook/icons/volume.svg +1 -0
  878. data/app/assets/lookbook/icons/vote.svg +1 -0
  879. data/app/assets/lookbook/icons/wallet.svg +1 -0
  880. data/app/assets/lookbook/icons/wand-2.svg +1 -0
  881. data/app/assets/lookbook/icons/wand.svg +1 -0
  882. data/app/assets/lookbook/icons/watch.svg +1 -0
  883. data/app/assets/lookbook/icons/waves.svg +1 -0
  884. data/app/assets/lookbook/icons/webcam.svg +1 -0
  885. data/app/assets/lookbook/icons/webhook.svg +1 -0
  886. data/app/assets/lookbook/icons/wheat-off.svg +1 -0
  887. data/app/assets/lookbook/icons/wheat.svg +1 -0
  888. data/app/assets/lookbook/icons/wifi-off.svg +1 -0
  889. data/app/assets/lookbook/icons/wifi.svg +1 -0
  890. data/app/assets/lookbook/icons/wind.svg +1 -0
  891. data/app/assets/lookbook/icons/wine-off.svg +1 -0
  892. data/app/assets/lookbook/icons/wine.svg +1 -0
  893. data/app/assets/lookbook/icons/wrap-text.svg +1 -0
  894. data/app/assets/lookbook/icons/wrench.svg +1 -0
  895. data/app/assets/lookbook/icons/x-circle.svg +1 -0
  896. data/app/assets/lookbook/icons/x-octagon.svg +1 -0
  897. data/app/assets/lookbook/icons/x-square.svg +1 -0
  898. data/app/assets/lookbook/icons/x.svg +1 -0
  899. data/app/assets/lookbook/icons/youtube.svg +1 -0
  900. data/app/assets/lookbook/icons/zap-off.svg +1 -0
  901. data/app/assets/lookbook/icons/zap.svg +1 -0
  902. data/app/assets/lookbook/icons/zoom-in.svg +1 -0
  903. data/app/assets/lookbook/icons/zoom-out.svg +1 -0
  904. data/app/assets/lookbook/img/favicon_dark.svg +1 -0
  905. data/app/assets/lookbook/img/favicon_light.svg +1 -0
  906. data/app/assets/lookbook/js/helpers/request.js +9 -11
  907. data/app/components/lookbook/header/component.css +12 -0
  908. data/app/components/lookbook/header/component.html.erb +13 -9
  909. data/app/components/lookbook/header/component.rb +4 -2
  910. data/app/components/lookbook/icon/component.css +8 -0
  911. data/app/components/lookbook/icon/component.html.erb +2 -4
  912. data/app/components/lookbook/icon/component.rb +16 -4
  913. data/app/components/lookbook/nav/directory/component.html.erb +4 -4
  914. data/app/components/lookbook/nav/entity/component.html.erb +4 -4
  915. data/app/views/layouts/lookbook/application.html.erb +40 -42
  916. data/app/views/layouts/lookbook/skeleton.html.erb +3 -9
  917. data/app/views/lookbook/inspector/panels/_preview.html.erb +1 -0
  918. data/app/views/lookbook/inspector/show.html.erb +10 -2
  919. data/config/app.yml +2 -1
  920. data/lib/lookbook/engine.rb +20 -18
  921. data/lib/lookbook/entities/concerns/navigable_entity.rb +6 -1
  922. data/lib/lookbook/entities/preview_entity.rb +24 -4
  923. data/lib/lookbook/entities/scenario_group_entity.rb +5 -0
  924. data/lib/lookbook/preview.rb +4 -0
  925. data/lib/lookbook/services/urls/data_uri_encoder.rb +14 -0
  926. data/lib/lookbook/services/urls/file_data_uri_encoder.rb +24 -0
  927. data/lib/lookbook/stores/config_store.rb +46 -1
  928. data/lib/lookbook/stores/hook_store.rb +0 -10
  929. data/lib/lookbook/stores/input_store.rb +7 -1
  930. data/lib/lookbook/stores/panel_store.rb +4 -1
  931. data/lib/lookbook/stores/tag_store.rb +6 -5
  932. data/lib/lookbook/version.rb +1 -1
  933. data/lib/lookbook.rb +3 -3
  934. data/public/lookbook-assets/css/lookbook.css +125 -6
  935. data/public/lookbook-assets/css/lookbook.css.map +1 -1
  936. data/public/lookbook-assets/js/iframe.js +2 -1
  937. data/public/lookbook-assets/js/iframe.js.map +1 -1
  938. data/public/lookbook-assets/js/index.js +311 -339
  939. data/public/lookbook-assets/js/index.js.map +1 -1
  940. data/public/lookbook-assets/js/lookbook.js +9 -8
  941. metadata +910 -6
  942. data/app/assets/lookbook/img/lucide-sprite.svg +0 -4960
  943. data/app/components/lookbook/icon/component.js +0 -5
  944. data/config/hooks.yml +0 -4
@@ -407,7 +407,7 @@ pre[class*="language-"] {
407
407
  background-color: var(--lookbook-scrollbar);
408
408
  background-clip: content-box;
409
409
  border-radius: 9999px;
410
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
410
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
411
411
  transition-duration: .15s;
412
412
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
413
413
  }
@@ -1454,10 +1454,22 @@ pre[class*="language-"] {
1454
1454
  overflow: hidden;
1455
1455
  }
1456
1456
 
1457
+ [data-component="header"] .header-project-icon {
1458
+ height: 1.25rem;
1459
+ width: min-content;
1460
+ flex: none;
1461
+ display: inline-block;
1462
+ }
1463
+
1464
+ [data-component="header"] .header-project-icon svg {
1465
+ height: 100%;
1466
+ width: auto;
1467
+ }
1468
+
1457
1469
  [data-component="icon"] {
1458
1470
  flex: none;
1459
1471
  line-height: 1;
1460
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
1472
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
1461
1473
  transition-duration: .15s;
1462
1474
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
1463
1475
  display: block;
@@ -1472,6 +1484,14 @@ pre[class*="language-"] {
1472
1484
  stroke-linejoin: round;
1473
1485
  }
1474
1486
 
1487
+ [data-component="icon"].icon-stroke-2 svg {
1488
+ stroke-width: 2px;
1489
+ }
1490
+
1491
+ [data-component="icon"].icon-stroke-1 svg {
1492
+ stroke-width: 1px;
1493
+ }
1494
+
1475
1495
  .lookbook-panel {
1476
1496
  min-height: 100%;
1477
1497
  padding: 1rem;
@@ -1556,7 +1576,7 @@ pre[class*="language-"] {
1556
1576
  align-items: center;
1557
1577
  padding-top: .25rem;
1558
1578
  padding-bottom: .25rem;
1559
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
1579
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
1560
1580
  transition-duration: .15s;
1561
1581
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
1562
1582
  display: flex;
@@ -1729,7 +1749,7 @@ pre[class*="language-"] {
1729
1749
  -webkit-user-select: none;
1730
1750
  user-select: none;
1731
1751
  color: var(--lookbook-viewport-handle-icon-stroke);
1732
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
1752
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
1733
1753
  transition-duration: .15s;
1734
1754
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
1735
1755
  }
@@ -2403,6 +2423,10 @@ select.compact {
2403
2423
  border-color: var(--lookbook-divider);
2404
2424
  }
2405
2425
 
2426
+ .divide-lookbook-viewport-handle-icon-stroke-hover > :not([hidden]) ~ :not([hidden]) {
2427
+ border-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2428
+ }
2429
+
2406
2430
  .overflow-auto {
2407
2431
  overflow: auto;
2408
2432
  }
@@ -2514,6 +2538,10 @@ select.compact {
2514
2538
  border-color: var(--lookbook-tabs-border-active);
2515
2539
  }
2516
2540
 
2541
+ .border-lookbook-viewport-handle-icon-stroke-hover {
2542
+ border-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2543
+ }
2544
+
2517
2545
  .border-red-200 {
2518
2546
  --tw-border-opacity: 1;
2519
2547
  border-color: rgb(254 202 202 / var(--tw-border-opacity));
@@ -2523,6 +2551,32 @@ select.compact {
2523
2551
  border-color: #0000;
2524
2552
  }
2525
2553
 
2554
+ .border-x-lookbook-viewport-handle-icon-stroke-hover {
2555
+ border-left-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2556
+ border-right-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2557
+ }
2558
+
2559
+ .border-y-lookbook-viewport-handle-icon-stroke-hover {
2560
+ border-top-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2561
+ border-bottom-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2562
+ }
2563
+
2564
+ .border-b-lookbook-viewport-handle-icon-stroke-hover {
2565
+ border-bottom-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2566
+ }
2567
+
2568
+ .border-l-lookbook-viewport-handle-icon-stroke-hover {
2569
+ border-left-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2570
+ }
2571
+
2572
+ .border-r-lookbook-viewport-handle-icon-stroke-hover {
2573
+ border-right-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2574
+ }
2575
+
2576
+ .border-t-lookbook-viewport-handle-icon-stroke-hover {
2577
+ border-top-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2578
+ }
2579
+
2526
2580
  .\!bg-lookbook-header-bg {
2527
2581
  background-color: var(--lookbook-header-bg) !important;
2528
2582
  }
@@ -2584,6 +2638,10 @@ select.compact {
2584
2638
  background-color: var(--lookbook-toolbar-bg);
2585
2639
  }
2586
2640
 
2641
+ .bg-lookbook-viewport-handle-icon-stroke-hover {
2642
+ background-color: var(--lookbook-viewport-handle-icon-stroke-hover);
2643
+ }
2644
+
2587
2645
  .bg-red-100 {
2588
2646
  --tw-bg-opacity: 1;
2589
2647
  background-color: rgb(254 226 226 / var(--tw-bg-opacity));
@@ -2608,6 +2666,29 @@ select.compact {
2608
2666
  background-color: rgb(250 250 250 / var(--tw-bg-opacity));
2609
2667
  }
2610
2668
 
2669
+ .from-lookbook-viewport-handle-icon-stroke-hover {
2670
+ --tw-gradient-from: var(--lookbook-viewport-handle-icon-stroke-hover);
2671
+ --tw-gradient-to: #fff0;
2672
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2673
+ }
2674
+
2675
+ .via-lookbook-viewport-handle-icon-stroke-hover {
2676
+ --tw-gradient-to: #fff0;
2677
+ --tw-gradient-stops: var(--tw-gradient-from), var(--lookbook-viewport-handle-icon-stroke-hover), var(--tw-gradient-to);
2678
+ }
2679
+
2680
+ .to-lookbook-viewport-handle-icon-stroke-hover {
2681
+ --tw-gradient-to: var(--lookbook-viewport-handle-icon-stroke-hover);
2682
+ }
2683
+
2684
+ .fill-lookbook-viewport-handle-icon-stroke-hover {
2685
+ fill: var(--lookbook-viewport-handle-icon-stroke-hover);
2686
+ }
2687
+
2688
+ .stroke-lookbook-viewport-handle-icon-stroke-hover {
2689
+ stroke: var(--lookbook-viewport-handle-icon-stroke-hover);
2690
+ }
2691
+
2611
2692
  .p-1 {
2612
2693
  padding: .25rem;
2613
2694
  }
@@ -2899,6 +2980,10 @@ select.compact {
2899
2980
  color: var(--lookbook-tabs-text-hover);
2900
2981
  }
2901
2982
 
2983
+ .text-lookbook-viewport-handle-icon-stroke-hover {
2984
+ color: var(--lookbook-viewport-handle-icon-stroke-hover);
2985
+ }
2986
+
2902
2987
  .text-red-700 {
2903
2988
  --tw-text-opacity: 1;
2904
2989
  color: rgb(185 28 28 / var(--tw-text-opacity));
@@ -2913,6 +2998,23 @@ select.compact {
2913
2998
  text-decoration-line: underline;
2914
2999
  }
2915
3000
 
3001
+ .decoration-lookbook-viewport-handle-icon-stroke-hover {
3002
+ -webkit-text-decoration-color: var(--lookbook-viewport-handle-icon-stroke-hover);
3003
+ text-decoration-color: var(--lookbook-viewport-handle-icon-stroke-hover);
3004
+ }
3005
+
3006
+ .placeholder-lookbook-viewport-handle-icon-stroke-hover::placeholder {
3007
+ color: var(--lookbook-viewport-handle-icon-stroke-hover);
3008
+ }
3009
+
3010
+ .caret-lookbook-viewport-handle-icon-stroke-hover {
3011
+ caret-color: var(--lookbook-viewport-handle-icon-stroke-hover);
3012
+ }
3013
+
3014
+ .accent-lookbook-viewport-handle-icon-stroke-hover {
3015
+ accent-color: var(--lookbook-viewport-handle-icon-stroke-hover);
3016
+ }
3017
+
2916
3018
  .\!opacity-100 {
2917
3019
  opacity: 1 !important;
2918
3020
  }
@@ -2963,12 +3065,29 @@ select.compact {
2963
3065
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2964
3066
  }
2965
3067
 
3068
+ .shadow-lookbook-viewport-handle-icon-stroke-hover {
3069
+ --tw-shadow-color: var(--lookbook-viewport-handle-icon-stroke-hover);
3070
+ --tw-shadow: var(--tw-shadow-colored);
3071
+ }
3072
+
3073
+ .outline-lookbook-viewport-handle-icon-stroke-hover {
3074
+ outline-color: var(--lookbook-viewport-handle-icon-stroke-hover);
3075
+ }
3076
+
2966
3077
  .ring-0 {
2967
3078
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2968
3079
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2969
3080
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2970
3081
  }
2971
3082
 
3083
+ .ring-lookbook-viewport-handle-icon-stroke-hover {
3084
+ --tw-ring-color: var(--lookbook-viewport-handle-icon-stroke-hover);
3085
+ }
3086
+
3087
+ .ring-offset-lookbook-viewport-handle-icon-stroke-hover {
3088
+ --tw-ring-offset-color: var(--lookbook-viewport-handle-icon-stroke-hover);
3089
+ }
3090
+
2972
3091
  .blur {
2973
3092
  --tw-blur: blur(8px);
2974
3093
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -2979,7 +3098,7 @@ select.compact {
2979
3098
  }
2980
3099
 
2981
3100
  .transition {
2982
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
3101
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
2983
3102
  transition-duration: .15s;
2984
3103
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2985
3104
  }
@@ -2997,7 +3116,7 @@ select.compact {
2997
3116
  }
2998
3117
 
2999
3118
  .transition-colors {
3000
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
3119
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
3001
3120
  transition-duration: .15s;
3002
3121
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
3003
3122
  }
@@ -1 +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OA;;;;;AAOA;;;;AAMA;;;;;AAmCA;;;;;AAOA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAMA;;;;;AAOA;;;;AAMA;;;;AAMA;;;;AAMA;;;;;AAOA;;;;;AAOA;;;;AAMA;;;;AAMA;;;;AAYA;;;;AAMA;;;;AAMA;;;;;AAOA;;;;AAMA;;;;AAwBA;;;;AA0CA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAkBA;;;;AAQA;;;;;AAOA;;;;AAUA;EAEE;;;;;EAKA;;;;;EAKA;;;;;;;EAOA;;;;;;EAMA;;;;;;;EAOA;;;;;;;EAOA;;;;;;;EAOA;;;;;;EAMA;;;;;EAKA;;;;;EAKA;;;;;EAKA;;;;;EAKA;;;;;;EAMA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;;;;;EAYA;;;;;;EAMA;;;;;;EAMA;;;;;EAKA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;;;EAMA;;;;EAIA;;;;EAIA;;;;EAOA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;AAKF;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;;AAMA;;;;;;AAMA;;;;AAIA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;EAEE;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;;AAMF;EAEE;;;;;AAKF;EAEE;;;;EAIA;;;;;EAKA;;;;;AAKF;EAEE;;;;EAIA","sources":["app/assets/lookbook/css/lookbook.css"],"sourcesContent":["@import \"./fonts.css\";\n@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";\n\n@import \"./tooltip.css\";\n\n@import-glob \"../../../components/lookbook/**/*/component.css\";\n\n@layer base {\n html {\n @apply scroll-smooth h-screen;\n }\n\n @media screen and (prefers-reduced-motion: reduce) {\n html {\n @apply scroll-auto;\n }\n }\n\n body {\n @apply text-lookbook-text font-sans text-sm antialiased overflow-hidden;\n }\n\n [x-cloak] {\n @apply !hidden;\n }\n\n pre[class*=\"language-\"] {\n @apply !p-0 !m-0;\n }\n\n ::-webkit-scrollbar {\n @apply w-1 h-1;\n }\n\n ::-webkit-scrollbar-track {\n @apply bg-transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n @apply transition-colors rounded-full\tbg-clip-content bg-lookbook-scrollbar;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n @apply bg-lookbook-scrollbar-hover;\n }\n}\n\n@layer utilities {\n .bg-checked {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23f3f3f3' fill-opacity='1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E\");\n }\n}\n\n@layer components {\n [type=\"text\"],\n [type=\"email\"],\n [type=\"url\"],\n [type=\"password\"],\n [type=\"number\"],\n [type=\"date\"],\n [type=\"datetime-local\"],\n [type=\"month\"],\n [type=\"search\"],\n [type=\"tel\"],\n [type=\"time\"],\n [type=\"week\"],\n textarea,\n select {\n @apply text-lookbook-input-text placeholder:text-lookbook-input-text-placeholder placeholder:italic;\n @apply border-lookbook-input-border focus:ring-lookbook-input-border-focus focus:border-lookbook-input-border-focus;\n @apply rounded-md text-sm w-full bg-lookbook-input-bg block;\n }\n\n input[type=\"range\"] {\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n cursor: pointer;\n width: 100%;\n }\n\n input[type=\"range\"]:focus {\n outline: none;\n }\n\n input[type=\"range\"]::-webkit-slider-runnable-track {\n @apply bg-lookbook-input-toggle;\n border-radius: 0.5rem;\n height: 0.5rem;\n }\n\n input[type=\"range\"]::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n @apply bg-lookbook-input-toggle-active;\n margin-top: -4px;\n border-radius: 0.5rem;\n height: 1rem;\n width: 1rem;\n }\n\n input[type=\"range\"]::-moz-range-track {\n @apply bg-lookbook-input-toggle;\n border-radius: 0.5rem;\n height: 0.5rem;\n }\n\n input[type=\"range\"]::-moz-range-thumb {\n @apply bg-lookbook-input-toggle-active;\n border: none;\n border-radius: 0.5rem;\n height: 1rem;\n width: 1rem;\n }\n\n input[type=\"range\"]:focus::-webkit-slider-thumb,\n input[type=\"range\"]:focus::-moz-range-thumb {\n @apply outline-1 outline-lookbook-input-toggle-active outline-offset-2;\n }\n\n input[type=\"color\"] {\n -webkit-appearance: none;\n width: 46px;\n @apply border border-lookbook-input-border rounded-lg cursor-pointer;\n }\n\n input[type=\"color\"]::-webkit-color-swatch-wrapper {\n padding: 0;\n }\n\n input[type=\"color\"]::-webkit-color-swatch {\n @apply border-0 rounded-lg;\n }\n\n select.compact {\n font-size: 0.8rem;\n line-height: 1.1rem;\n border-radius: 0.375rem;\n padding: 0.26rem 1.5rem 0.26rem 0.6rem;\n background-size: 1.2em 1.2em;\n background-position: right 0.4rem center;\n }\n}\n"],"names":[],"version":3,"file":"lookbook.css.map"}
1
+ {"mappings":"AAAA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;AAQA;;;;;;;;AAiBA;;;;;AASA;;;;AAaA;;;;;;;;AAcA;;;;;AAWA;;;;;;AAUA;;;;;AAQA;;;;;AAcA;;;;;;AASA;;;;AAUA;;;;;AAYA;;;;AAQA;;;;;;;AAQA;;;;AAIA;;;;AAUA;;;;;;AAYA;;;;;;;;;;AAkBA;;;;AAUA;;;;;;AAaA;;;;AAQA;;;;AAQA;;;;AAQA;;;;AAUA;;;;;AASA;;;;AASA;;;;;AASA;;;;AAQA;;;;AAgBA;;;;;AAKA;;;;AAIA;;;;;;AAYA;;;;AASA;;;;;AAUA;;;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A;;;;AAMA;;;;AAMA;;;;AAYA;;;;AAMA;;;;AAMA;;;;;AAOA;;;;AAMA;;;;AAwBA;;;;AA0CA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAkBA;;;;AAQA;;;;;AAOA;;;;AAUA;EAEE;;;;;EAKA;;;;;EAKA;;;;;;;EAOA;;;;;;EAMA;;;;;;;EAOA;;;;;;;EAOA;;;;;;;EAOA;;;;;;EAMA;;;;;EAKA;;;;;EAKA;;;;;EAKA;;;;;EAKA;;;;;;EAMA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;;;;;EAYA;;;;;;EAMA;;;;;;EAMA;;;;;EAKA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;;;EAMA;;;;EAIA;;;;EAIA;;;;EAOA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;AAKF;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;;AAMA;;;;;;AAMA;;;;AAIA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;EAEE;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;;AAMF;EAEE;;;;;AAKF;EAEE;;;;EAIA;;;;;EAKA;;;;;AAKF;EAEE;;;;EAIA","sources":["app/assets/lookbook/css/lookbook.css"],"sourcesContent":["@import \"./fonts.css\";\n@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";\n\n@import \"./tooltip.css\";\n\n@import-glob \"../../../components/lookbook/**/*/component.css\";\n\n@layer base {\n html {\n @apply scroll-smooth h-screen;\n }\n\n @media screen and (prefers-reduced-motion: reduce) {\n html {\n @apply scroll-auto;\n }\n }\n\n body {\n @apply text-lookbook-text font-sans text-sm antialiased overflow-hidden;\n }\n\n [x-cloak] {\n @apply !hidden;\n }\n\n pre[class*=\"language-\"] {\n @apply !p-0 !m-0;\n }\n\n ::-webkit-scrollbar {\n @apply w-1 h-1;\n }\n\n ::-webkit-scrollbar-track {\n @apply bg-transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n @apply transition-colors rounded-full\tbg-clip-content bg-lookbook-scrollbar;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n @apply bg-lookbook-scrollbar-hover;\n }\n}\n\n@layer utilities {\n .bg-checked {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23f3f3f3' fill-opacity='1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E\");\n }\n}\n\n@layer components {\n [type=\"text\"],\n [type=\"email\"],\n [type=\"url\"],\n [type=\"password\"],\n [type=\"number\"],\n [type=\"date\"],\n [type=\"datetime-local\"],\n [type=\"month\"],\n [type=\"search\"],\n [type=\"tel\"],\n [type=\"time\"],\n [type=\"week\"],\n textarea,\n select {\n @apply text-lookbook-input-text placeholder:text-lookbook-input-text-placeholder placeholder:italic;\n @apply border-lookbook-input-border focus:ring-lookbook-input-border-focus focus:border-lookbook-input-border-focus;\n @apply rounded-md text-sm w-full bg-lookbook-input-bg block;\n }\n\n input[type=\"range\"] {\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n cursor: pointer;\n width: 100%;\n }\n\n input[type=\"range\"]:focus {\n outline: none;\n }\n\n input[type=\"range\"]::-webkit-slider-runnable-track {\n @apply bg-lookbook-input-toggle;\n border-radius: 0.5rem;\n height: 0.5rem;\n }\n\n input[type=\"range\"]::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n @apply bg-lookbook-input-toggle-active;\n margin-top: -4px;\n border-radius: 0.5rem;\n height: 1rem;\n width: 1rem;\n }\n\n input[type=\"range\"]::-moz-range-track {\n @apply bg-lookbook-input-toggle;\n border-radius: 0.5rem;\n height: 0.5rem;\n }\n\n input[type=\"range\"]::-moz-range-thumb {\n @apply bg-lookbook-input-toggle-active;\n border: none;\n border-radius: 0.5rem;\n height: 1rem;\n width: 1rem;\n }\n\n input[type=\"range\"]:focus::-webkit-slider-thumb,\n input[type=\"range\"]:focus::-moz-range-thumb {\n @apply outline-1 outline-lookbook-input-toggle-active outline-offset-2;\n }\n\n input[type=\"color\"] {\n -webkit-appearance: none;\n width: 46px;\n @apply border border-lookbook-input-border rounded-lg cursor-pointer;\n }\n\n input[type=\"color\"]::-webkit-color-swatch-wrapper {\n padding: 0;\n }\n\n input[type=\"color\"]::-webkit-color-swatch {\n @apply border-0 rounded-lg;\n }\n\n select.compact {\n font-size: 0.8rem;\n line-height: 1.1rem;\n border-radius: 0.375rem;\n padding: 0.26rem 1.5rem 0.26rem 0.6rem;\n background-size: 1.2em 1.2em;\n background-position: right 0.4rem center;\n }\n}\n"],"names":[],"version":3,"file":"lookbook.css.map"}
@@ -35,6 +35,7 @@ var $b2e1fd3e30ab1f5c$exports = {};
35
35
  try {
36
36
  var options = Object.create({}, {
37
37
  passive: {
38
+ // eslint-disable-next-line getter-return
38
39
  get: function() {
39
40
  passiveSupported = true;
40
41
  }
@@ -130,7 +131,7 @@ var $b2e1fd3e30ab1f5c$exports = {};
130
131
  inPageLinks.enable = undefined === data[12] ? false : strBool(data[12]);
131
132
  resizeFrom = undefined === data[13] ? resizeFrom : data[13];
132
133
  widthCalcMode = undefined === data[14] ? widthCalcMode : data[14];
133
- mouseEvents = undefined === data[15] ? mouseEvents : Boolean(data[15]);
134
+ mouseEvents = undefined === data[15] ? mouseEvents : strBool(data[15]);
134
135
  }
135
136
  function depricate(key) {
136
137
  var splitName = key.split("Callback");
@@ -1 +1 @@
1
- {"mappings":";;ACAA;;;;;;;;CAQC,GAED,oFAAoF;AAClF,CAAA,SAAU,SAAS,EAAE;IACrB,IAAI,OA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KAAK,UACZ;iBACK,IAAI,aACT,yBAAyB,IAAI;iBAE7B,IACE,8BACE,mBACA;QAGR;QAEA,IAAI,kBACF;IAEJ;IAEA,8EAA8E;IAC9E,uEAAuE;IACvE,SAAS,gBAAgB;QACvB,IAAI,cAAc,SAAS,UAAU,EACnC,OAAO,MAAM,CAAC,WAAW,CAAC,6BAA6B;IAE3D;IAEA,iBAAiB,QAAQ,WAAW;IACpC,iBAAiB,QAAQ,oBAAoB;IAC7C;AAGF,CAAA;;ADtxCA","sources":["app/assets/lookbook/js/iframe.js","node_modules/iframe-resizer/js/iframeResizer.contentWindow.js"],"sourcesContent":["import \"iframe-resizer/js/iframeResizer.contentWindow\";\n","/*\n * File: iframeResizer.contentWindow.js\n * Desc: Include this file in any page being loaded into an iframe\n * to force the iframe to resize to the content size.\n * Requires: iframeResizer.js on host page.\n * Doc: https://github.com/davidjbradshaw/iframe-resizer\n * Author: David J. Bradshaw - dave@bradshaw.net\n *\n */\n\n// eslint-disable-next-line sonarjs/cognitive-complexity, no-shadow-restricted-names\n;(function (undefined) {\n if (typeof window === 'undefined') return // don't run for server side render\n\n var autoResize = true,\n base = 10,\n bodyBackground = '',\n bodyMargin = 0,\n bodyMarginStr = '',\n bodyObserver = null,\n bodyPadding = '',\n calculateWidth = false,\n doubleEventList = { resize: 1, click: 1 },\n eventCancelTimer = 128,\n firstRun = true,\n height = 1,\n heightCalcModeDefault = 'bodyOffset',\n heightCalcMode = heightCalcModeDefault,\n initLock = true,\n initMsg = '',\n inPageLinks = {},\n interval = 32,\n intervalTimer = null,\n logging = false,\n mouseEvents = false,\n msgID = '[iFrameSizer]', // Must match host page msg ID\n msgIdLen = msgID.length,\n myID = '',\n resetRequiredMethods = {\n max: 1,\n min: 1,\n bodyScroll: 1,\n documentElementScroll: 1\n },\n resizeFrom = 'child',\n sendPermit = true,\n target = window.parent,\n targetOriginDefault = '*',\n tolerance = 0,\n triggerLocked = false,\n triggerLockedTimer = null,\n throttledTimer = 16,\n width = 1,\n widthCalcModeDefault = 'scroll',\n widthCalcMode = widthCalcModeDefault,\n win = window,\n onMessage = function () {\n warn('onMessage function not defined')\n },\n onReady = function () {},\n onPageInfo = function () {},\n customCalcMethods = {\n height: function () {\n warn('Custom height calculation function not defined')\n return document.documentElement.offsetHeight\n },\n width: function () {\n warn('Custom width calculation function not defined')\n return document.body.scrollWidth\n }\n },\n eventHandlersByName = {},\n passiveSupported = false\n\n function noop() {}\n\n try {\n var options = Object.create(\n {},\n {\n passive: {\n get: function () { // eslint-disable-line getter-return\n passiveSupported = true\n }\n }\n }\n )\n window.addEventListener('test', noop, options)\n window.removeEventListener('test', noop, options)\n } catch (error) {\n /* */\n }\n\n function addEventListener(el, evt, func, options) {\n el.addEventListener(evt, func, passiveSupported ? options || {} : false)\n }\n\n function removeEventListener(el, evt, func) {\n el.removeEventListener(evt, func, false)\n }\n\n function capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1)\n }\n\n // Based on underscore.js\n function throttle(func) {\n var context,\n args,\n result,\n timeout = null,\n previous = 0,\n later = function () {\n previous = Date.now()\n timeout = null\n result = func.apply(context, args)\n if (!timeout) {\n // eslint-disable-next-line no-multi-assign\n context = args = null\n }\n }\n\n return function () {\n var now = Date.now()\n\n if (!previous) {\n previous = now\n }\n\n var remaining = throttledTimer - (now - previous)\n\n context = this\n args = arguments\n\n if (remaining <= 0 || remaining > throttledTimer) {\n if (timeout) {\n clearTimeout(timeout)\n timeout = null\n }\n\n previous = now\n result = func.apply(context, args)\n\n if (!timeout) {\n // eslint-disable-next-line no-multi-assign\n context = args = null\n }\n } else if (!timeout) {\n timeout = setTimeout(later, remaining)\n }\n\n return result\n }\n }\n\n function formatLogMsg(msg) {\n return msgID + '[' + myID + '] ' + msg\n }\n\n function log(msg) {\n if (logging && 'object' === typeof window.console) {\n // eslint-disable-next-line no-console\n console.log(formatLogMsg(msg))\n }\n }\n\n function warn(msg) {\n if ('object' === typeof window.console) {\n // eslint-disable-next-line no-console\n console.warn(formatLogMsg(msg))\n }\n }\n\n function init() {\n readDataFromParent()\n log('Initialising iFrame (' + window.location.href + ')')\n readDataFromPage()\n setMargin()\n setBodyStyle('background', bodyBackground)\n setBodyStyle('padding', bodyPadding)\n injectClearFixIntoBodyElement()\n checkHeightMode()\n checkWidthMode()\n stopInfiniteResizingOfIFrame()\n setupPublicMethods()\n setupMouseEvents()\n startEventListeners()\n inPageLinks = setupInPageLinks()\n sendSize('init', 'Init message from host page')\n onReady()\n }\n\n function readDataFromParent() {\n function strBool(str) {\n return 'true' === str\n }\n\n var data = initMsg.slice(msgIdLen).split(':')\n\n myID = data[0]\n bodyMargin = undefined === data[1] ? bodyMargin : Number(data[1]) // For V1 compatibility\n calculateWidth = undefined === data[2] ? calculateWidth : strBool(data[2])\n logging = undefined === data[3] ? logging : strBool(data[3])\n interval = undefined === data[4] ? interval : Number(data[4])\n autoResize = undefined === data[6] ? autoResize : strBool(data[6])\n bodyMarginStr = data[7]\n heightCalcMode = undefined === data[8] ? heightCalcMode : data[8]\n bodyBackground = data[9]\n bodyPadding = data[10]\n tolerance = undefined === data[11] ? tolerance : Number(data[11])\n inPageLinks.enable = undefined === data[12] ? false : strBool(data[12])\n resizeFrom = undefined === data[13] ? resizeFrom : data[13]\n widthCalcMode = undefined === data[14] ? widthCalcMode : data[14]\n mouseEvents = undefined === data[15] ? mouseEvents : Boolean(data[15])\n }\n\n function depricate(key) {\n var splitName = key.split('Callback')\n\n if (splitName.length === 2) {\n var name =\n 'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1)\n this[name] = this[key]\n delete this[key]\n warn(\n \"Deprecated: '\" +\n key +\n \"' has been renamed '\" +\n name +\n \"'. The old method will be removed in the next major version.\"\n )\n }\n }\n\n function readDataFromPage() {\n function readData() {\n var data = window.iFrameResizer\n\n log('Reading data from page: ' + JSON.stringify(data))\n Object.keys(data).forEach(depricate, data)\n\n onMessage = 'onMessage' in data ? data.onMessage : onMessage\n onReady = 'onReady' in data ? data.onReady : onReady\n targetOriginDefault =\n 'targetOrigin' in data ? data.targetOrigin : targetOriginDefault\n heightCalcMode =\n 'heightCalculationMethod' in data\n ? data.heightCalculationMethod\n : heightCalcMode\n widthCalcMode =\n 'widthCalculationMethod' in data\n ? data.widthCalculationMethod\n : widthCalcMode\n }\n\n function setupCustomCalcMethods(calcMode, calcFunc) {\n if ('function' === typeof calcMode) {\n log('Setup custom ' + calcFunc + 'CalcMethod')\n customCalcMethods[calcFunc] = calcMode\n calcMode = 'custom'\n }\n\n return calcMode\n }\n\n if (\n 'iFrameResizer' in window &&\n Object === window.iFrameResizer.constructor\n ) {\n readData()\n heightCalcMode = setupCustomCalcMethods(heightCalcMode, 'height')\n widthCalcMode = setupCustomCalcMethods(widthCalcMode, 'width')\n }\n\n log('TargetOrigin for parent set to: ' + targetOriginDefault)\n }\n\n function chkCSS(attr, value) {\n if (-1 !== value.indexOf('-')) {\n warn('Negative CSS value ignored for ' + attr)\n value = ''\n }\n return value\n }\n\n function setBodyStyle(attr, value) {\n if (undefined !== value && '' !== value && 'null' !== value) {\n document.body.style[attr] = value\n log('Body ' + attr + ' set to \"' + value + '\"')\n }\n }\n\n function setMargin() {\n // If called via V1 script, convert bodyMargin from int to str\n if (undefined === bodyMarginStr) {\n bodyMarginStr = bodyMargin + 'px'\n }\n\n setBodyStyle('margin', chkCSS('margin', bodyMarginStr))\n }\n\n function stopInfiniteResizingOfIFrame() {\n document.documentElement.style.height = ''\n document.body.style.height = ''\n log('HTML & body height set to \"auto\"')\n }\n\n function manageTriggerEvent(options) {\n var listener = {\n add: function (eventName) {\n function handleEvent() {\n sendSize(options.eventName, options.eventType)\n }\n\n eventHandlersByName[eventName] = handleEvent\n\n addEventListener(window, eventName, handleEvent, { passive: true })\n },\n remove: function (eventName) {\n var handleEvent = eventHandlersByName[eventName]\n delete eventHandlersByName[eventName]\n\n removeEventListener(window, eventName, handleEvent)\n }\n }\n\n if (options.eventNames && Array.prototype.map) {\n options.eventName = options.eventNames[0]\n options.eventNames.map(listener[options.method])\n } else {\n listener[options.method](options.eventName)\n }\n\n log(\n capitalizeFirstLetter(options.method) +\n ' event listener: ' +\n options.eventType\n )\n }\n\n function manageEventListeners(method) {\n manageTriggerEvent({\n method: method,\n eventType: 'Animation Start',\n eventNames: ['animationstart', 'webkitAnimationStart']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Animation Iteration',\n eventNames: ['animationiteration', 'webkitAnimationIteration']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Animation End',\n eventNames: ['animationend', 'webkitAnimationEnd']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Input',\n eventName: 'input'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Mouse Up',\n eventName: 'mouseup'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Mouse Down',\n eventName: 'mousedown'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Orientation Change',\n eventName: 'orientationchange'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Print',\n eventNames: ['afterprint', 'beforeprint']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Ready State Change',\n eventName: 'readystatechange'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch Start',\n eventName: 'touchstart'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch End',\n eventName: 'touchend'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch Cancel',\n eventName: 'touchcancel'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition Start',\n eventNames: [\n 'transitionstart',\n 'webkitTransitionStart',\n 'MSTransitionStart',\n 'oTransitionStart',\n 'otransitionstart'\n ]\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition Iteration',\n eventNames: [\n 'transitioniteration',\n 'webkitTransitionIteration',\n 'MSTransitionIteration',\n 'oTransitionIteration',\n 'otransitioniteration'\n ]\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition End',\n eventNames: [\n 'transitionend',\n 'webkitTransitionEnd',\n 'MSTransitionEnd',\n 'oTransitionEnd',\n 'otransitionend'\n ]\n })\n if ('child' === resizeFrom) {\n manageTriggerEvent({\n method: method,\n eventType: 'IFrame Resized',\n eventName: 'resize'\n })\n }\n }\n\n function checkCalcMode(calcMode, calcModeDefault, modes, type) {\n if (calcModeDefault !== calcMode) {\n if (!(calcMode in modes)) {\n warn(\n calcMode + ' is not a valid option for ' + type + 'CalculationMethod.'\n )\n calcMode = calcModeDefault\n }\n log(type + ' calculation method set to \"' + calcMode + '\"')\n }\n\n return calcMode\n }\n\n function checkHeightMode() {\n heightCalcMode = checkCalcMode(\n heightCalcMode,\n heightCalcModeDefault,\n getHeight,\n 'height'\n )\n }\n\n function checkWidthMode() {\n widthCalcMode = checkCalcMode(\n widthCalcMode,\n widthCalcModeDefault,\n getWidth,\n 'width'\n )\n }\n\n function startEventListeners() {\n if (true === autoResize) {\n manageEventListeners('add')\n setupMutationObserver()\n } else {\n log('Auto Resize disabled')\n }\n }\n\n // function stopMsgsToParent() {\n // log('Disable outgoing messages')\n // sendPermit = false\n // }\n\n // function removeMsgListener() {\n // log('Remove event listener: Message')\n // removeEventListener(window, 'message', receiver)\n // }\n\n function disconnectMutationObserver() {\n if (null !== bodyObserver) {\n /* istanbul ignore next */ // Not testable in PhantonJS\n bodyObserver.disconnect()\n }\n }\n\n function stopEventListeners() {\n manageEventListeners('remove')\n disconnectMutationObserver()\n clearInterval(intervalTimer)\n }\n\n // function teardown() {\n // stopMsgsToParent()\n // removeMsgListener()\n // if (true === autoResize) stopEventListeners()\n // }\n\n function injectClearFixIntoBodyElement() {\n var clearFix = document.createElement('div')\n clearFix.style.clear = 'both'\n // Guard against the following having been globally redefined in CSS.\n clearFix.style.display = 'block'\n clearFix.style.height = '0'\n document.body.appendChild(clearFix)\n }\n\n function setupInPageLinks() {\n function getPagePosition() {\n return {\n x:\n window.pageXOffset === undefined\n ? document.documentElement.scrollLeft\n : window.pageXOffset,\n y:\n window.pageYOffset === undefined\n ? document.documentElement.scrollTop\n : window.pageYOffset\n }\n }\n\n function getElementPosition(el) {\n var elPosition = el.getBoundingClientRect(),\n pagePosition = getPagePosition()\n\n return {\n x: parseInt(elPosition.left, 10) + parseInt(pagePosition.x, 10),\n y: parseInt(elPosition.top, 10) + parseInt(pagePosition.y, 10)\n }\n }\n\n function findTarget(location) {\n function jumpToTarget(target) {\n var jumpPosition = getElementPosition(target)\n\n log(\n 'Moving to in page link (#' +\n hash +\n ') at x: ' +\n jumpPosition.x +\n ' y: ' +\n jumpPosition.y\n )\n sendMsg(jumpPosition.y, jumpPosition.x, 'scrollToOffset') // X&Y reversed at sendMsg uses height/width\n }\n\n var hash = location.split('#')[1] || location, // Remove # if present\n hashData = decodeURIComponent(hash),\n target =\n document.getElementById(hashData) ||\n document.getElementsByName(hashData)[0]\n\n if (undefined === target) {\n log(\n 'In page link (#' +\n hash +\n ') not found in iFrame, so sending to parent'\n )\n sendMsg(0, 0, 'inPageLink', '#' + hash)\n } else {\n jumpToTarget(target)\n }\n }\n\n function checkLocationHash() {\n var hash = window.location.hash\n var href = window.location.href\n\n if ('' !== hash && '#' !== hash) {\n findTarget(href)\n }\n }\n\n function bindAnchors() {\n function setupLink(el) {\n function linkClicked(e) {\n e.preventDefault()\n\n /* jshint validthis:true */\n findTarget(this.getAttribute('href'))\n }\n\n if ('#' !== el.getAttribute('href')) {\n addEventListener(el, 'click', linkClicked)\n }\n }\n\n Array.prototype.forEach.call(\n document.querySelectorAll('a[href^=\"#\"]'),\n setupLink\n )\n }\n\n function bindLocationHash() {\n addEventListener(window, 'hashchange', checkLocationHash)\n }\n\n function initCheck() {\n // Check if page loaded with location hash after init resize\n setTimeout(checkLocationHash, eventCancelTimer)\n }\n\n function enableInPageLinks() {\n /* istanbul ignore else */ // Not testable in phantonJS\n if (Array.prototype.forEach && document.querySelectorAll) {\n log('Setting up location.hash handlers')\n bindAnchors()\n bindLocationHash()\n initCheck()\n } else {\n warn(\n 'In page linking not fully supported in this browser! (See README.md for IE8 workaround)'\n )\n }\n }\n\n if (inPageLinks.enable) {\n enableInPageLinks()\n } else {\n log('In page linking not enabled')\n }\n\n return {\n findTarget: findTarget\n }\n }\n\n function setupMouseEvents() {\n if (mouseEvents !== true) return\n\n function sendMouse(e) {\n sendMsg(0, 0, e.type, e.screenY + ':' + e.screenX)\n }\n\n function addMouseListener(evt, name) {\n log('Add event listener: ' + name)\n addEventListener(window.document, evt, sendMouse)\n }\n\n addMouseListener('mouseenter', 'Mouse Enter')\n addMouseListener('mouseleave', 'Mouse Leave')\n }\n\n function setupPublicMethods() {\n log('Enable public methods')\n\n win.parentIFrame = {\n autoResize: function autoResizeF(resize) {\n if (true === resize && false === autoResize) {\n autoResize = true\n startEventListeners()\n } else if (false === resize && true === autoResize) {\n autoResize = false\n stopEventListeners()\n }\n sendMsg(0, 0, 'autoResize', JSON.stringify(autoResize))\n return autoResize\n },\n\n close: function closeF() {\n sendMsg(0, 0, 'close')\n // teardown()\n },\n\n getId: function getIdF() {\n return myID\n },\n\n getPageInfo: function getPageInfoF(callback) {\n if ('function' === typeof callback) {\n onPageInfo = callback\n sendMsg(0, 0, 'pageInfo')\n } else {\n onPageInfo = function () {}\n sendMsg(0, 0, 'pageInfoStop')\n }\n },\n\n moveToAnchor: function moveToAnchorF(hash) {\n inPageLinks.findTarget(hash)\n },\n\n reset: function resetF() {\n resetIFrame('parentIFrame.reset')\n },\n\n scrollTo: function scrollToF(x, y) {\n sendMsg(y, x, 'scrollTo') // X&Y reversed at sendMsg uses height/width\n },\n\n scrollToOffset: function scrollToF(x, y) {\n sendMsg(y, x, 'scrollToOffset') // X&Y reversed at sendMsg uses height/width\n },\n\n sendMessage: function sendMessageF(msg, targetOrigin) {\n sendMsg(0, 0, 'message', JSON.stringify(msg), targetOrigin)\n },\n\n setHeightCalculationMethod: function setHeightCalculationMethodF(\n heightCalculationMethod\n ) {\n heightCalcMode = heightCalculationMethod\n checkHeightMode()\n },\n\n setWidthCalculationMethod: function setWidthCalculationMethodF(\n widthCalculationMethod\n ) {\n widthCalcMode = widthCalculationMethod\n checkWidthMode()\n },\n\n setTargetOrigin: function setTargetOriginF(targetOrigin) {\n log('Set targetOrigin: ' + targetOrigin)\n targetOriginDefault = targetOrigin\n },\n\n size: function sizeF(customHeight, customWidth) {\n var valString =\n '' + (customHeight || '') + (customWidth ? ',' + customWidth : '')\n sendSize(\n 'size',\n 'parentIFrame.size(' + valString + ')',\n customHeight,\n customWidth\n )\n }\n }\n }\n\n function initInterval() {\n if (0 !== interval) {\n log('setInterval: ' + interval + 'ms')\n intervalTimer = setInterval(function () {\n sendSize('interval', 'setInterval: ' + interval)\n }, Math.abs(interval))\n }\n }\n\n // Not testable in PhantomJS\n /* istanbul ignore next */\n function setupBodyMutationObserver() {\n function addImageLoadListners(mutation) {\n function addImageLoadListener(element) {\n if (false === element.complete) {\n log('Attach listeners to ' + element.src)\n element.addEventListener('load', imageLoaded, false)\n element.addEventListener('error', imageError, false)\n elements.push(element)\n }\n }\n\n if (mutation.type === 'attributes' && mutation.attributeName === 'src') {\n addImageLoadListener(mutation.target)\n } else if (mutation.type === 'childList') {\n Array.prototype.forEach.call(\n mutation.target.querySelectorAll('img'),\n addImageLoadListener\n )\n }\n }\n\n function removeFromArray(element) {\n elements.splice(elements.indexOf(element), 1)\n }\n\n function removeImageLoadListener(element) {\n log('Remove listeners from ' + element.src)\n element.removeEventListener('load', imageLoaded, false)\n element.removeEventListener('error', imageError, false)\n removeFromArray(element)\n }\n\n function imageEventTriggered(event, type, typeDesc) {\n removeImageLoadListener(event.target)\n sendSize(type, typeDesc + ': ' + event.target.src)\n }\n\n function imageLoaded(event) {\n imageEventTriggered(event, 'imageLoad', 'Image loaded')\n }\n\n function imageError(event) {\n imageEventTriggered(event, 'imageLoadFailed', 'Image load failed')\n }\n\n function mutationObserved(mutations) {\n sendSize(\n 'mutationObserver',\n 'mutationObserver: ' + mutations[0].target + ' ' + mutations[0].type\n )\n\n // Deal with WebKit / Blink asyncing image loading when tags are injected into the page\n mutations.forEach(addImageLoadListners)\n }\n\n function createMutationObserver() {\n var target = document.querySelector('body'),\n config = {\n attributes: true,\n attributeOldValue: false,\n characterData: true,\n characterDataOldValue: false,\n childList: true,\n subtree: true\n }\n\n observer = new MutationObserver(mutationObserved)\n\n log('Create body MutationObserver')\n observer.observe(target, config)\n\n return observer\n }\n\n var elements = [],\n MutationObserver =\n window.MutationObserver || window.WebKitMutationObserver,\n observer = createMutationObserver()\n\n return {\n disconnect: function () {\n if ('disconnect' in observer) {\n log('Disconnect body MutationObserver')\n observer.disconnect()\n elements.forEach(removeImageLoadListener)\n }\n }\n }\n }\n\n function setupMutationObserver() {\n var forceIntervalTimer = 0 > interval\n\n // Not testable in PhantomJS\n /* istanbul ignore if */ if (\n window.MutationObserver ||\n window.WebKitMutationObserver\n ) {\n if (forceIntervalTimer) {\n initInterval()\n } else {\n bodyObserver = setupBodyMutationObserver()\n }\n } else {\n log('MutationObserver not supported in this browser!')\n initInterval()\n }\n }\n\n // document.documentElement.offsetHeight is not reliable, so\n // we have to jump through hoops to get a better value.\n function getComputedStyle(prop, el) {\n var retVal = 0\n el = el || document.body // Not testable in phantonJS\n\n retVal = document.defaultView.getComputedStyle(el, null)\n retVal = null === retVal ? 0 : retVal[prop]\n\n return parseInt(retVal, base)\n }\n\n function chkEventThottle(timer) {\n if (timer > throttledTimer / 2) {\n throttledTimer = 2 * timer\n log('Event throttle increased to ' + throttledTimer + 'ms')\n }\n }\n\n // Idea from https://github.com/guardian/iframe-messenger\n function getMaxElement(side, elements) {\n var elementsLength = elements.length,\n elVal = 0,\n maxVal = 0,\n Side = capitalizeFirstLetter(side),\n timer = Date.now()\n\n for (var i = 0; i < elementsLength; i++) {\n elVal =\n elements[i].getBoundingClientRect()[side] +\n getComputedStyle('margin' + Side, elements[i])\n if (elVal > maxVal) {\n maxVal = elVal\n }\n }\n\n timer = Date.now() - timer\n\n log('Parsed ' + elementsLength + ' HTML elements')\n log('Element position calculated in ' + timer + 'ms')\n\n chkEventThottle(timer)\n\n return maxVal\n }\n\n function getAllMeasurements(dimensions) {\n return [\n dimensions.bodyOffset(),\n dimensions.bodyScroll(),\n dimensions.documentElementOffset(),\n dimensions.documentElementScroll()\n ]\n }\n\n function getTaggedElements(side, tag) {\n function noTaggedElementsFound() {\n warn('No tagged elements (' + tag + ') found on page')\n return document.querySelectorAll('body *')\n }\n\n var elements = document.querySelectorAll('[' + tag + ']')\n\n if (elements.length === 0) noTaggedElementsFound()\n\n return getMaxElement(side, elements)\n }\n\n function getAllElements() {\n return document.querySelectorAll('body *')\n }\n\n var getHeight = {\n bodyOffset: function getBodyOffsetHeight() {\n return (\n document.body.offsetHeight +\n getComputedStyle('marginTop') +\n getComputedStyle('marginBottom')\n )\n },\n\n offset: function () {\n return getHeight.bodyOffset() // Backwards compatibility\n },\n\n bodyScroll: function getBodyScrollHeight() {\n return document.body.scrollHeight\n },\n\n custom: function getCustomWidth() {\n return customCalcMethods.height()\n },\n\n documentElementOffset: function getDEOffsetHeight() {\n return document.documentElement.offsetHeight\n },\n\n documentElementScroll: function getDEScrollHeight() {\n return document.documentElement.scrollHeight\n },\n\n max: function getMaxHeight() {\n return Math.max.apply(null, getAllMeasurements(getHeight))\n },\n\n min: function getMinHeight() {\n return Math.min.apply(null, getAllMeasurements(getHeight))\n },\n\n grow: function growHeight() {\n return getHeight.max() // Run max without the forced downsizing\n },\n\n lowestElement: function getBestHeight() {\n return Math.max(\n getHeight.bodyOffset() || getHeight.documentElementOffset(),\n getMaxElement('bottom', getAllElements())\n )\n },\n\n taggedElement: function getTaggedElementsHeight() {\n return getTaggedElements('bottom', 'data-iframe-height')\n }\n },\n getWidth = {\n bodyScroll: function getBodyScrollWidth() {\n return document.body.scrollWidth\n },\n\n bodyOffset: function getBodyOffsetWidth() {\n return document.body.offsetWidth\n },\n\n custom: function getCustomWidth() {\n return customCalcMethods.width()\n },\n\n documentElementScroll: function getDEScrollWidth() {\n return document.documentElement.scrollWidth\n },\n\n documentElementOffset: function getDEOffsetWidth() {\n return document.documentElement.offsetWidth\n },\n\n scroll: function getMaxWidth() {\n return Math.max(getWidth.bodyScroll(), getWidth.documentElementScroll())\n },\n\n max: function getMaxWidth() {\n return Math.max.apply(null, getAllMeasurements(getWidth))\n },\n\n min: function getMinWidth() {\n return Math.min.apply(null, getAllMeasurements(getWidth))\n },\n\n rightMostElement: function rightMostElement() {\n return getMaxElement('right', getAllElements())\n },\n\n taggedElement: function getTaggedElementsWidth() {\n return getTaggedElements('right', 'data-iframe-width')\n }\n }\n\n function sizeIFrame(\n triggerEvent,\n triggerEventDesc,\n customHeight,\n customWidth\n ) {\n function resizeIFrame() {\n height = currentHeight\n width = currentWidth\n\n sendMsg(height, width, triggerEvent)\n }\n\n function isSizeChangeDetected() {\n function checkTolarance(a, b) {\n var retVal = Math.abs(a - b) <= tolerance\n return !retVal\n }\n\n currentHeight =\n undefined === customHeight ? getHeight[heightCalcMode]() : customHeight\n currentWidth =\n undefined === customWidth ? getWidth[widthCalcMode]() : customWidth\n\n return (\n checkTolarance(height, currentHeight) ||\n (calculateWidth && checkTolarance(width, currentWidth))\n )\n }\n\n function isForceResizableEvent() {\n return !(triggerEvent in { init: 1, interval: 1, size: 1 })\n }\n\n function isForceResizableCalcMode() {\n return (\n heightCalcMode in resetRequiredMethods ||\n (calculateWidth && widthCalcMode in resetRequiredMethods)\n )\n }\n\n function logIgnored() {\n log('No change in size detected')\n }\n\n function checkDownSizing() {\n if (isForceResizableEvent() && isForceResizableCalcMode()) {\n resetIFrame(triggerEventDesc)\n } else if (!(triggerEvent in { interval: 1 })) {\n logIgnored()\n }\n }\n\n var currentHeight, currentWidth\n\n if (isSizeChangeDetected() || 'init' === triggerEvent) {\n lockTrigger()\n resizeIFrame()\n } else {\n checkDownSizing()\n }\n }\n\n var sizeIFrameThrottled = throttle(sizeIFrame)\n\n function sendSize(triggerEvent, triggerEventDesc, customHeight, customWidth) {\n function recordTrigger() {\n if (!(triggerEvent in { reset: 1, resetPage: 1, init: 1 })) {\n log('Trigger event: ' + triggerEventDesc)\n }\n }\n\n function isDoubleFiredEvent() {\n return triggerLocked && triggerEvent in doubleEventList\n }\n\n if (isDoubleFiredEvent()) {\n log('Trigger event cancelled: ' + triggerEvent)\n } else {\n recordTrigger()\n if (triggerEvent === 'init') {\n sizeIFrame(triggerEvent, triggerEventDesc, customHeight, customWidth)\n } else {\n sizeIFrameThrottled(\n triggerEvent,\n triggerEventDesc,\n customHeight,\n customWidth\n )\n }\n }\n }\n\n function lockTrigger() {\n if (!triggerLocked) {\n triggerLocked = true\n log('Trigger event lock on')\n }\n clearTimeout(triggerLockedTimer)\n triggerLockedTimer = setTimeout(function () {\n triggerLocked = false\n log('Trigger event lock off')\n log('--')\n }, eventCancelTimer)\n }\n\n function triggerReset(triggerEvent) {\n height = getHeight[heightCalcMode]()\n width = getWidth[widthCalcMode]()\n\n sendMsg(height, width, triggerEvent)\n }\n\n function resetIFrame(triggerEventDesc) {\n var hcm = heightCalcMode\n heightCalcMode = heightCalcModeDefault\n\n log('Reset trigger event: ' + triggerEventDesc)\n lockTrigger()\n triggerReset('reset')\n\n heightCalcMode = hcm\n }\n\n function sendMsg(height, width, triggerEvent, msg, targetOrigin) {\n function setTargetOrigin() {\n if (undefined === targetOrigin) {\n targetOrigin = targetOriginDefault\n } else {\n log('Message targetOrigin: ' + targetOrigin)\n }\n }\n\n function sendToParent() {\n var size = height + ':' + width,\n message =\n myID +\n ':' +\n size +\n ':' +\n triggerEvent +\n (undefined === msg ? '' : ':' + msg)\n\n log('Sending message to host page (' + message + ')')\n target.postMessage(msgID + message, targetOrigin)\n }\n\n if (true === sendPermit) {\n setTargetOrigin()\n sendToParent()\n }\n }\n\n function receiver(event) {\n var processRequestFromParent = {\n init: function initFromParent() {\n initMsg = event.data\n target = event.source\n\n init()\n firstRun = false\n setTimeout(function () {\n initLock = false\n }, eventCancelTimer)\n },\n\n reset: function resetFromParent() {\n if (initLock) {\n log('Page reset ignored by init')\n } else {\n log('Page size reset by host page')\n triggerReset('resetPage')\n }\n },\n\n resize: function resizeFromParent() {\n sendSize('resizeParent', 'Parent window requested size check')\n },\n\n moveToAnchor: function moveToAnchorF() {\n inPageLinks.findTarget(getData())\n },\n inPageLink: function inPageLinkF() {\n this.moveToAnchor()\n }, // Backward compatibility\n\n pageInfo: function pageInfoFromParent() {\n var msgBody = getData()\n log('PageInfoFromParent called from parent: ' + msgBody)\n onPageInfo(JSON.parse(msgBody))\n log(' --')\n },\n\n message: function messageFromParent() {\n var msgBody = getData()\n\n log('onMessage called from parent: ' + msgBody)\n // eslint-disable-next-line sonarjs/no-extra-arguments\n onMessage(JSON.parse(msgBody))\n log(' --')\n }\n }\n\n function isMessageForUs() {\n return msgID === ('' + event.data).slice(0, msgIdLen) // ''+ Protects against non-string messages\n }\n\n function getMessageType() {\n return event.data.split(']')[1].split(':')[0]\n }\n\n function getData() {\n return event.data.slice(event.data.indexOf(':') + 1)\n }\n\n function isMiddleTier() {\n return (\n (!(typeof module !== 'undefined' && module.exports) &&\n 'iFrameResize' in window) ||\n (window.jQuery !== undefined && 'iFrameResize' in window.jQuery.prototype)\n )\n }\n\n function isInitMsg() {\n // Test if this message is from a child below us. This is an ugly test, however, updating\n // the message format would break backwards compatibility.\n return event.data.split(':')[2] in { true: 1, false: 1 }\n }\n\n function callFromParent() {\n var messageType = getMessageType()\n\n if (messageType in processRequestFromParent) {\n processRequestFromParent[messageType]()\n } else if (!isMiddleTier() && !isInitMsg()) {\n warn('Unexpected message (' + event.data + ')')\n }\n }\n\n function processMessage() {\n if (false === firstRun) {\n callFromParent()\n } else if (isInitMsg()) {\n processRequestFromParent.init()\n } else {\n log(\n 'Ignored message of type \"' +\n getMessageType() +\n '\". Received before initialization.'\n )\n }\n }\n\n if (isMessageForUs()) {\n processMessage()\n }\n }\n\n // Normally the parent kicks things off when it detects the iFrame has loaded.\n // If this script is async-loaded, then tell parent page to retry init.\n function chkLateLoaded() {\n if ('loading' !== document.readyState) {\n window.parent.postMessage('[iFrameResizerChild]Ready', '*')\n }\n }\n\n addEventListener(window, 'message', receiver)\n addEventListener(window, 'readystatechange', chkLateLoaded)\n chkLateLoaded()\n\n \n})()\n"],"names":[],"version":3,"file":"iframe.js.map"}
1
+ {"mappings":";;ACAA;;;;;;;;CAQC,GAED,oFAAoF;AAClF,CAAA,SAAU,SAAS,EAAE;IACrB,IAAI,OAAO,WAAW,aAAa,QAAO,mCAAmC;IAE7E,IAAI,aAAa,IAAI,EACnB,OAAO,IACP,iBAAiB,IACjB,aAAa,GACb,gBAAgB,IAChB,eAAe,IAAI,EACnB,cAAc,IACd,iBAAiB,KAAK,EACtB,kBAAkB;QAAE,QAAQ;QAAG,OAAO;IAAE,GACxC,mBAAmB,KACnB,WAAW,IAAI,EACf,SAAS,GACT,wBAAwB,cACxB,iBAAiB,uBACjB,WAAW,IAAI,EACf,UAAU,IACV,cAAc,CAAC,GACf,WAAW,IACX,gBAAgB,IAAI,EACpB,UAAU,KAAK,EACf,cAAc,KAAK,EACnB,QAAQ,iBACR,WAAW,MAAM,MAAM,EACvB,OAAO,IACP,uBAAuB;QACrB,KAAK;QACL,KAAK;QACL,YAAY;QACZ,uBAAuB;IACzB,GACA,aAAa,SACb,aAAa,IAAI,EACjB,SAAS,OAAO,MAAM,EACtB,sBAAsB,KACtB,YAAY,GACZ,gBAAgB,KAAK,EACrB,qBAAqB,IAAI,EACzB,iBAAiB,IACjB,QAAQ,GACR,uBAAuB,UACvB,gBAAgB,sBAChB,MAAM,QACN,YAAY,WAAY;QACtB,KAAK;IACP,GACA,UAAU,WAAY,CAAC,GACvB,aAAa,WAAY,CAAC,GAC1B,oBAAoB;QAClB,QAAQ,WAAY;YAClB,KAAK;YACL,OAAO,SAAS,eAAe,CAAC,YAAY;QAC9C;QACA,OAAO,WAAY;YACjB,KAAK;YACL,OAAO,SAAS,IAAI,CAAC,WAAW;QAClC;IACF,GACA,sBAAsB,CAAC,GACvB,mBAAmB,KAAK;IAE1B,SAAS,OAAO,CAAC;IAEjB,IAAI;QACF,IAAI,UAAU,OA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O;YAAE;QACzD;QAEA,SAAS,iBAAiB;YACxB,IAAI,cAAc;YAElB,IAAI,eAAe,0BACjB,wBAAwB,CAAC,YAAY;iBAChC,IAAI,CAAC,kBAAkB,CAAC,aAC7B,KAAK,yBAAyB,MAAM,IAAI,GAAG;QAE/C;QAEA,SAAS,iBAAiB;YACxB,IAAI,KAAK,KAAK,UACZ;iBACK,IAAI,aACT,yBAAyB,IAAI;iBAE7B,IACE,8BACE,mBACA;QAGR;QAEA,IAAI,kBACF;IAEJ;IAEA,8EAA8E;IAC9E,uEAAuE;IACvE,SAAS,gBAAgB;QACvB,IAAI,cAAc,SAAS,UAAU,EACnC,OAAO,MAAM,CAAC,WAAW,CAAC,6BAA6B;IAE3D;IAEA,iBAAiB,QAAQ,WAAW;IACpC,iBAAiB,QAAQ,oBAAoB;IAC7C;AAGF,CAAA;;ADxxCA","sources":["app/assets/lookbook/js/iframe.js","node_modules/iframe-resizer/js/iframeResizer.contentWindow.js"],"sourcesContent":["import \"iframe-resizer/js/iframeResizer.contentWindow\";\n","/*\n * File: iframeResizer.contentWindow.js\n * Desc: Include this file in any page being loaded into an iframe\n * to force the iframe to resize to the content size.\n * Requires: iframeResizer.js on host page.\n * Doc: https://github.com/davidjbradshaw/iframe-resizer\n * Author: David J. Bradshaw - dave@bradshaw.net\n *\n */\n\n// eslint-disable-next-line sonarjs/cognitive-complexity, no-shadow-restricted-names\n;(function (undefined) {\n if (typeof window === 'undefined') return // don't run for server side render\n\n var autoResize = true,\n base = 10,\n bodyBackground = '',\n bodyMargin = 0,\n bodyMarginStr = '',\n bodyObserver = null,\n bodyPadding = '',\n calculateWidth = false,\n doubleEventList = { resize: 1, click: 1 },\n eventCancelTimer = 128,\n firstRun = true,\n height = 1,\n heightCalcModeDefault = 'bodyOffset',\n heightCalcMode = heightCalcModeDefault,\n initLock = true,\n initMsg = '',\n inPageLinks = {},\n interval = 32,\n intervalTimer = null,\n logging = false,\n mouseEvents = false,\n msgID = '[iFrameSizer]', // Must match host page msg ID\n msgIdLen = msgID.length,\n myID = '',\n resetRequiredMethods = {\n max: 1,\n min: 1,\n bodyScroll: 1,\n documentElementScroll: 1\n },\n resizeFrom = 'child',\n sendPermit = true,\n target = window.parent,\n targetOriginDefault = '*',\n tolerance = 0,\n triggerLocked = false,\n triggerLockedTimer = null,\n throttledTimer = 16,\n width = 1,\n widthCalcModeDefault = 'scroll',\n widthCalcMode = widthCalcModeDefault,\n win = window,\n onMessage = function () {\n warn('onMessage function not defined')\n },\n onReady = function () {},\n onPageInfo = function () {},\n customCalcMethods = {\n height: function () {\n warn('Custom height calculation function not defined')\n return document.documentElement.offsetHeight\n },\n width: function () {\n warn('Custom width calculation function not defined')\n return document.body.scrollWidth\n }\n },\n eventHandlersByName = {},\n passiveSupported = false\n\n function noop() {}\n\n try {\n var options = Object.create(\n {},\n {\n passive: {\n // eslint-disable-next-line getter-return\n get: function () {\n passiveSupported = true\n }\n }\n }\n )\n window.addEventListener('test', noop, options)\n window.removeEventListener('test', noop, options)\n } catch (error) {\n /* */\n }\n\n function addEventListener(el, evt, func, options) {\n el.addEventListener(evt, func, passiveSupported ? options || {} : false)\n }\n\n function removeEventListener(el, evt, func) {\n el.removeEventListener(evt, func, false)\n }\n\n function capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1)\n }\n\n // Based on underscore.js\n function throttle(func) {\n var context,\n args,\n result,\n timeout = null,\n previous = 0,\n later = function () {\n previous = Date.now()\n timeout = null\n result = func.apply(context, args)\n if (!timeout) {\n // eslint-disable-next-line no-multi-assign\n context = args = null\n }\n }\n\n return function () {\n var now = Date.now()\n\n if (!previous) {\n previous = now\n }\n\n var remaining = throttledTimer - (now - previous)\n\n context = this\n args = arguments\n\n if (remaining <= 0 || remaining > throttledTimer) {\n if (timeout) {\n clearTimeout(timeout)\n timeout = null\n }\n\n previous = now\n result = func.apply(context, args)\n\n if (!timeout) {\n // eslint-disable-next-line no-multi-assign\n context = args = null\n }\n } else if (!timeout) {\n timeout = setTimeout(later, remaining)\n }\n\n return result\n }\n }\n\n function formatLogMsg(msg) {\n return msgID + '[' + myID + '] ' + msg\n }\n\n function log(msg) {\n if (logging && 'object' === typeof window.console) {\n // eslint-disable-next-line no-console\n console.log(formatLogMsg(msg))\n }\n }\n\n function warn(msg) {\n if ('object' === typeof window.console) {\n // eslint-disable-next-line no-console\n console.warn(formatLogMsg(msg))\n }\n }\n\n function init() {\n readDataFromParent()\n log('Initialising iFrame (' + window.location.href + ')')\n readDataFromPage()\n setMargin()\n setBodyStyle('background', bodyBackground)\n setBodyStyle('padding', bodyPadding)\n injectClearFixIntoBodyElement()\n checkHeightMode()\n checkWidthMode()\n stopInfiniteResizingOfIFrame()\n setupPublicMethods()\n setupMouseEvents()\n startEventListeners()\n inPageLinks = setupInPageLinks()\n sendSize('init', 'Init message from host page')\n onReady()\n }\n\n function readDataFromParent() {\n function strBool(str) {\n return 'true' === str\n }\n\n var data = initMsg.slice(msgIdLen).split(':')\n\n myID = data[0]\n bodyMargin = undefined === data[1] ? bodyMargin : Number(data[1]) // For V1 compatibility\n calculateWidth = undefined === data[2] ? calculateWidth : strBool(data[2])\n logging = undefined === data[3] ? logging : strBool(data[3])\n interval = undefined === data[4] ? interval : Number(data[4])\n autoResize = undefined === data[6] ? autoResize : strBool(data[6])\n bodyMarginStr = data[7]\n heightCalcMode = undefined === data[8] ? heightCalcMode : data[8]\n bodyBackground = data[9]\n bodyPadding = data[10]\n tolerance = undefined === data[11] ? tolerance : Number(data[11])\n inPageLinks.enable = undefined === data[12] ? false : strBool(data[12])\n resizeFrom = undefined === data[13] ? resizeFrom : data[13]\n widthCalcMode = undefined === data[14] ? widthCalcMode : data[14]\n mouseEvents = undefined === data[15] ? mouseEvents : strBool(data[15])\n }\n\n function depricate(key) {\n var splitName = key.split('Callback')\n\n if (splitName.length === 2) {\n var name =\n 'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1)\n this[name] = this[key]\n delete this[key]\n warn(\n \"Deprecated: '\" +\n key +\n \"' has been renamed '\" +\n name +\n \"'. The old method will be removed in the next major version.\"\n )\n }\n }\n\n function readDataFromPage() {\n function readData() {\n var data = window.iFrameResizer\n\n log('Reading data from page: ' + JSON.stringify(data))\n Object.keys(data).forEach(depricate, data)\n\n onMessage = 'onMessage' in data ? data.onMessage : onMessage\n onReady = 'onReady' in data ? data.onReady : onReady\n targetOriginDefault =\n 'targetOrigin' in data ? data.targetOrigin : targetOriginDefault\n heightCalcMode =\n 'heightCalculationMethod' in data\n ? data.heightCalculationMethod\n : heightCalcMode\n widthCalcMode =\n 'widthCalculationMethod' in data\n ? data.widthCalculationMethod\n : widthCalcMode\n }\n\n function setupCustomCalcMethods(calcMode, calcFunc) {\n if ('function' === typeof calcMode) {\n log('Setup custom ' + calcFunc + 'CalcMethod')\n customCalcMethods[calcFunc] = calcMode\n calcMode = 'custom'\n }\n\n return calcMode\n }\n\n if (\n 'iFrameResizer' in window &&\n Object === window.iFrameResizer.constructor\n ) {\n readData()\n heightCalcMode = setupCustomCalcMethods(heightCalcMode, 'height')\n widthCalcMode = setupCustomCalcMethods(widthCalcMode, 'width')\n }\n\n log('TargetOrigin for parent set to: ' + targetOriginDefault)\n }\n\n function chkCSS(attr, value) {\n if (-1 !== value.indexOf('-')) {\n warn('Negative CSS value ignored for ' + attr)\n value = ''\n }\n return value\n }\n\n function setBodyStyle(attr, value) {\n if (undefined !== value && '' !== value && 'null' !== value) {\n document.body.style[attr] = value\n log('Body ' + attr + ' set to \"' + value + '\"')\n }\n }\n\n function setMargin() {\n // If called via V1 script, convert bodyMargin from int to str\n if (undefined === bodyMarginStr) {\n bodyMarginStr = bodyMargin + 'px'\n }\n\n setBodyStyle('margin', chkCSS('margin', bodyMarginStr))\n }\n\n function stopInfiniteResizingOfIFrame() {\n document.documentElement.style.height = ''\n document.body.style.height = ''\n log('HTML & body height set to \"auto\"')\n }\n\n function manageTriggerEvent(options) {\n var listener = {\n add: function (eventName) {\n function handleEvent() {\n sendSize(options.eventName, options.eventType)\n }\n\n eventHandlersByName[eventName] = handleEvent\n\n addEventListener(window, eventName, handleEvent, { passive: true })\n },\n remove: function (eventName) {\n var handleEvent = eventHandlersByName[eventName]\n delete eventHandlersByName[eventName]\n\n removeEventListener(window, eventName, handleEvent)\n }\n }\n\n if (options.eventNames && Array.prototype.map) {\n options.eventName = options.eventNames[0]\n options.eventNames.map(listener[options.method])\n } else {\n listener[options.method](options.eventName)\n }\n\n log(\n capitalizeFirstLetter(options.method) +\n ' event listener: ' +\n options.eventType\n )\n }\n\n function manageEventListeners(method) {\n manageTriggerEvent({\n method: method,\n eventType: 'Animation Start',\n eventNames: ['animationstart', 'webkitAnimationStart']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Animation Iteration',\n eventNames: ['animationiteration', 'webkitAnimationIteration']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Animation End',\n eventNames: ['animationend', 'webkitAnimationEnd']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Input',\n eventName: 'input'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Mouse Up',\n eventName: 'mouseup'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Mouse Down',\n eventName: 'mousedown'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Orientation Change',\n eventName: 'orientationchange'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Print',\n eventNames: ['afterprint', 'beforeprint']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Ready State Change',\n eventName: 'readystatechange'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch Start',\n eventName: 'touchstart'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch End',\n eventName: 'touchend'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch Cancel',\n eventName: 'touchcancel'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition Start',\n eventNames: [\n 'transitionstart',\n 'webkitTransitionStart',\n 'MSTransitionStart',\n 'oTransitionStart',\n 'otransitionstart'\n ]\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition Iteration',\n eventNames: [\n 'transitioniteration',\n 'webkitTransitionIteration',\n 'MSTransitionIteration',\n 'oTransitionIteration',\n 'otransitioniteration'\n ]\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition End',\n eventNames: [\n 'transitionend',\n 'webkitTransitionEnd',\n 'MSTransitionEnd',\n 'oTransitionEnd',\n 'otransitionend'\n ]\n })\n if ('child' === resizeFrom) {\n manageTriggerEvent({\n method: method,\n eventType: 'IFrame Resized',\n eventName: 'resize'\n })\n }\n }\n\n function checkCalcMode(calcMode, calcModeDefault, modes, type) {\n if (calcModeDefault !== calcMode) {\n if (!(calcMode in modes)) {\n warn(\n calcMode + ' is not a valid option for ' + type + 'CalculationMethod.'\n )\n calcMode = calcModeDefault\n }\n log(type + ' calculation method set to \"' + calcMode + '\"')\n }\n\n return calcMode\n }\n\n function checkHeightMode() {\n heightCalcMode = checkCalcMode(\n heightCalcMode,\n heightCalcModeDefault,\n getHeight,\n 'height'\n )\n }\n\n function checkWidthMode() {\n widthCalcMode = checkCalcMode(\n widthCalcMode,\n widthCalcModeDefault,\n getWidth,\n 'width'\n )\n }\n\n function startEventListeners() {\n if (true === autoResize) {\n manageEventListeners('add')\n setupMutationObserver()\n } else {\n log('Auto Resize disabled')\n }\n }\n\n // function stopMsgsToParent() {\n // log('Disable outgoing messages')\n // sendPermit = false\n // }\n\n // function removeMsgListener() {\n // log('Remove event listener: Message')\n // removeEventListener(window, 'message', receiver)\n // }\n\n function disconnectMutationObserver() {\n if (null !== bodyObserver) {\n /* istanbul ignore next */ // Not testable in PhantonJS\n bodyObserver.disconnect()\n }\n }\n\n function stopEventListeners() {\n manageEventListeners('remove')\n disconnectMutationObserver()\n clearInterval(intervalTimer)\n }\n\n // function teardown() {\n // stopMsgsToParent()\n // removeMsgListener()\n // if (true === autoResize) stopEventListeners()\n // }\n\n function injectClearFixIntoBodyElement() {\n var clearFix = document.createElement('div')\n clearFix.style.clear = 'both'\n // Guard against the following having been globally redefined in CSS.\n clearFix.style.display = 'block'\n clearFix.style.height = '0'\n document.body.appendChild(clearFix)\n }\n\n function setupInPageLinks() {\n function getPagePosition() {\n return {\n x:\n window.pageXOffset === undefined\n ? document.documentElement.scrollLeft\n : window.pageXOffset,\n y:\n window.pageYOffset === undefined\n ? document.documentElement.scrollTop\n : window.pageYOffset\n }\n }\n\n function getElementPosition(el) {\n var elPosition = el.getBoundingClientRect(),\n pagePosition = getPagePosition()\n\n return {\n x: parseInt(elPosition.left, 10) + parseInt(pagePosition.x, 10),\n y: parseInt(elPosition.top, 10) + parseInt(pagePosition.y, 10)\n }\n }\n\n function findTarget(location) {\n function jumpToTarget(target) {\n var jumpPosition = getElementPosition(target)\n\n log(\n 'Moving to in page link (#' +\n hash +\n ') at x: ' +\n jumpPosition.x +\n ' y: ' +\n jumpPosition.y\n )\n sendMsg(jumpPosition.y, jumpPosition.x, 'scrollToOffset') // X&Y reversed at sendMsg uses height/width\n }\n\n var hash = location.split('#')[1] || location, // Remove # if present\n hashData = decodeURIComponent(hash),\n target =\n document.getElementById(hashData) ||\n document.getElementsByName(hashData)[0]\n\n if (undefined === target) {\n log(\n 'In page link (#' +\n hash +\n ') not found in iFrame, so sending to parent'\n )\n sendMsg(0, 0, 'inPageLink', '#' + hash)\n } else {\n jumpToTarget(target)\n }\n }\n\n function checkLocationHash() {\n var hash = window.location.hash\n var href = window.location.href\n\n if ('' !== hash && '#' !== hash) {\n findTarget(href)\n }\n }\n\n function bindAnchors() {\n function setupLink(el) {\n function linkClicked(e) {\n e.preventDefault()\n\n /* jshint validthis:true */\n findTarget(this.getAttribute('href'))\n }\n\n if ('#' !== el.getAttribute('href')) {\n addEventListener(el, 'click', linkClicked)\n }\n }\n\n Array.prototype.forEach.call(\n document.querySelectorAll('a[href^=\"#\"]'),\n setupLink\n )\n }\n\n function bindLocationHash() {\n addEventListener(window, 'hashchange', checkLocationHash)\n }\n\n function initCheck() {\n // Check if page loaded with location hash after init resize\n setTimeout(checkLocationHash, eventCancelTimer)\n }\n\n function enableInPageLinks() {\n /* istanbul ignore else */ // Not testable in phantonJS\n if (Array.prototype.forEach && document.querySelectorAll) {\n log('Setting up location.hash handlers')\n bindAnchors()\n bindLocationHash()\n initCheck()\n } else {\n warn(\n 'In page linking not fully supported in this browser! (See README.md for IE8 workaround)'\n )\n }\n }\n\n if (inPageLinks.enable) {\n enableInPageLinks()\n } else {\n log('In page linking not enabled')\n }\n\n return {\n findTarget: findTarget\n }\n }\n\n function setupMouseEvents() {\n if (mouseEvents !== true) return\n\n function sendMouse(e) {\n sendMsg(0, 0, e.type, e.screenY + ':' + e.screenX)\n }\n\n function addMouseListener(evt, name) {\n log('Add event listener: ' + name)\n addEventListener(window.document, evt, sendMouse)\n }\n\n addMouseListener('mouseenter', 'Mouse Enter')\n addMouseListener('mouseleave', 'Mouse Leave')\n }\n\n function setupPublicMethods() {\n log('Enable public methods')\n\n win.parentIFrame = {\n autoResize: function autoResizeF(resize) {\n if (true === resize && false === autoResize) {\n autoResize = true\n startEventListeners()\n } else if (false === resize && true === autoResize) {\n autoResize = false\n stopEventListeners()\n }\n sendMsg(0, 0, 'autoResize', JSON.stringify(autoResize))\n return autoResize\n },\n\n close: function closeF() {\n sendMsg(0, 0, 'close')\n // teardown()\n },\n\n getId: function getIdF() {\n return myID\n },\n\n getPageInfo: function getPageInfoF(callback) {\n if ('function' === typeof callback) {\n onPageInfo = callback\n sendMsg(0, 0, 'pageInfo')\n } else {\n onPageInfo = function () {}\n sendMsg(0, 0, 'pageInfoStop')\n }\n },\n\n moveToAnchor: function moveToAnchorF(hash) {\n inPageLinks.findTarget(hash)\n },\n\n reset: function resetF() {\n resetIFrame('parentIFrame.reset')\n },\n\n scrollTo: function scrollToF(x, y) {\n sendMsg(y, x, 'scrollTo') // X&Y reversed at sendMsg uses height/width\n },\n\n scrollToOffset: function scrollToF(x, y) {\n sendMsg(y, x, 'scrollToOffset') // X&Y reversed at sendMsg uses height/width\n },\n\n sendMessage: function sendMessageF(msg, targetOrigin) {\n sendMsg(0, 0, 'message', JSON.stringify(msg), targetOrigin)\n },\n\n setHeightCalculationMethod: function setHeightCalculationMethodF(\n heightCalculationMethod\n ) {\n heightCalcMode = heightCalculationMethod\n checkHeightMode()\n },\n\n setWidthCalculationMethod: function setWidthCalculationMethodF(\n widthCalculationMethod\n ) {\n widthCalcMode = widthCalculationMethod\n checkWidthMode()\n },\n\n setTargetOrigin: function setTargetOriginF(targetOrigin) {\n log('Set targetOrigin: ' + targetOrigin)\n targetOriginDefault = targetOrigin\n },\n\n size: function sizeF(customHeight, customWidth) {\n var valString =\n '' + (customHeight || '') + (customWidth ? ',' + customWidth : '')\n sendSize(\n 'size',\n 'parentIFrame.size(' + valString + ')',\n customHeight,\n customWidth\n )\n }\n }\n }\n\n function initInterval() {\n if (0 !== interval) {\n log('setInterval: ' + interval + 'ms')\n intervalTimer = setInterval(function () {\n sendSize('interval', 'setInterval: ' + interval)\n }, Math.abs(interval))\n }\n }\n\n // Not testable in PhantomJS\n /* istanbul ignore next */\n function setupBodyMutationObserver() {\n function addImageLoadListners(mutation) {\n function addImageLoadListener(element) {\n if (false === element.complete) {\n log('Attach listeners to ' + element.src)\n element.addEventListener('load', imageLoaded, false)\n element.addEventListener('error', imageError, false)\n elements.push(element)\n }\n }\n\n if (mutation.type === 'attributes' && mutation.attributeName === 'src') {\n addImageLoadListener(mutation.target)\n } else if (mutation.type === 'childList') {\n Array.prototype.forEach.call(\n mutation.target.querySelectorAll('img'),\n addImageLoadListener\n )\n }\n }\n\n function removeFromArray(element) {\n elements.splice(elements.indexOf(element), 1)\n }\n\n function removeImageLoadListener(element) {\n log('Remove listeners from ' + element.src)\n element.removeEventListener('load', imageLoaded, false)\n element.removeEventListener('error', imageError, false)\n removeFromArray(element)\n }\n\n function imageEventTriggered(event, type, typeDesc) {\n removeImageLoadListener(event.target)\n sendSize(type, typeDesc + ': ' + event.target.src)\n }\n\n function imageLoaded(event) {\n imageEventTriggered(event, 'imageLoad', 'Image loaded')\n }\n\n function imageError(event) {\n imageEventTriggered(event, 'imageLoadFailed', 'Image load failed')\n }\n\n function mutationObserved(mutations) {\n sendSize(\n 'mutationObserver',\n 'mutationObserver: ' + mutations[0].target + ' ' + mutations[0].type\n )\n\n // Deal with WebKit / Blink asyncing image loading when tags are injected into the page\n mutations.forEach(addImageLoadListners)\n }\n\n function createMutationObserver() {\n var target = document.querySelector('body'),\n config = {\n attributes: true,\n attributeOldValue: false,\n characterData: true,\n characterDataOldValue: false,\n childList: true,\n subtree: true\n }\n\n observer = new MutationObserver(mutationObserved)\n\n log('Create body MutationObserver')\n observer.observe(target, config)\n\n return observer\n }\n\n var elements = [],\n MutationObserver =\n window.MutationObserver || window.WebKitMutationObserver,\n observer = createMutationObserver()\n\n return {\n disconnect: function () {\n if ('disconnect' in observer) {\n log('Disconnect body MutationObserver')\n observer.disconnect()\n elements.forEach(removeImageLoadListener)\n }\n }\n }\n }\n\n function setupMutationObserver() {\n var forceIntervalTimer = 0 > interval\n\n // Not testable in PhantomJS\n /* istanbul ignore if */ if (\n window.MutationObserver ||\n window.WebKitMutationObserver\n ) {\n if (forceIntervalTimer) {\n initInterval()\n } else {\n bodyObserver = setupBodyMutationObserver()\n }\n } else {\n log('MutationObserver not supported in this browser!')\n initInterval()\n }\n }\n\n // document.documentElement.offsetHeight is not reliable, so\n // we have to jump through hoops to get a better value.\n function getComputedStyle(prop, el) {\n var retVal = 0\n el = el || document.body // Not testable in phantonJS\n\n retVal = document.defaultView.getComputedStyle(el, null)\n retVal = null === retVal ? 0 : retVal[prop]\n\n return parseInt(retVal, base)\n }\n\n function chkEventThottle(timer) {\n if (timer > throttledTimer / 2) {\n throttledTimer = 2 * timer\n log('Event throttle increased to ' + throttledTimer + 'ms')\n }\n }\n\n // Idea from https://github.com/guardian/iframe-messenger\n function getMaxElement(side, elements) {\n var elementsLength = elements.length,\n elVal = 0,\n maxVal = 0,\n Side = capitalizeFirstLetter(side),\n timer = Date.now()\n\n for (var i = 0; i < elementsLength; i++) {\n elVal =\n elements[i].getBoundingClientRect()[side] +\n getComputedStyle('margin' + Side, elements[i])\n if (elVal > maxVal) {\n maxVal = elVal\n }\n }\n\n timer = Date.now() - timer\n\n log('Parsed ' + elementsLength + ' HTML elements')\n log('Element position calculated in ' + timer + 'ms')\n\n chkEventThottle(timer)\n\n return maxVal\n }\n\n function getAllMeasurements(dimensions) {\n return [\n dimensions.bodyOffset(),\n dimensions.bodyScroll(),\n dimensions.documentElementOffset(),\n dimensions.documentElementScroll()\n ]\n }\n\n function getTaggedElements(side, tag) {\n function noTaggedElementsFound() {\n warn('No tagged elements (' + tag + ') found on page')\n return document.querySelectorAll('body *')\n }\n\n var elements = document.querySelectorAll('[' + tag + ']')\n\n if (elements.length === 0) noTaggedElementsFound()\n\n return getMaxElement(side, elements)\n }\n\n function getAllElements() {\n return document.querySelectorAll('body *')\n }\n\n var getHeight = {\n bodyOffset: function getBodyOffsetHeight() {\n return (\n document.body.offsetHeight +\n getComputedStyle('marginTop') +\n getComputedStyle('marginBottom')\n )\n },\n\n offset: function () {\n return getHeight.bodyOffset() // Backwards compatibility\n },\n\n bodyScroll: function getBodyScrollHeight() {\n return document.body.scrollHeight\n },\n\n custom: function getCustomWidth() {\n return customCalcMethods.height()\n },\n\n documentElementOffset: function getDEOffsetHeight() {\n return document.documentElement.offsetHeight\n },\n\n documentElementScroll: function getDEScrollHeight() {\n return document.documentElement.scrollHeight\n },\n\n max: function getMaxHeight() {\n return Math.max.apply(null, getAllMeasurements(getHeight))\n },\n\n min: function getMinHeight() {\n return Math.min.apply(null, getAllMeasurements(getHeight))\n },\n\n grow: function growHeight() {\n return getHeight.max() // Run max without the forced downsizing\n },\n\n lowestElement: function getBestHeight() {\n return Math.max(\n getHeight.bodyOffset() || getHeight.documentElementOffset(),\n getMaxElement('bottom', getAllElements())\n )\n },\n\n taggedElement: function getTaggedElementsHeight() {\n return getTaggedElements('bottom', 'data-iframe-height')\n }\n },\n getWidth = {\n bodyScroll: function getBodyScrollWidth() {\n return document.body.scrollWidth\n },\n\n bodyOffset: function getBodyOffsetWidth() {\n return document.body.offsetWidth\n },\n\n custom: function getCustomWidth() {\n return customCalcMethods.width()\n },\n\n documentElementScroll: function getDEScrollWidth() {\n return document.documentElement.scrollWidth\n },\n\n documentElementOffset: function getDEOffsetWidth() {\n return document.documentElement.offsetWidth\n },\n\n scroll: function getMaxWidth() {\n return Math.max(getWidth.bodyScroll(), getWidth.documentElementScroll())\n },\n\n max: function getMaxWidth() {\n return Math.max.apply(null, getAllMeasurements(getWidth))\n },\n\n min: function getMinWidth() {\n return Math.min.apply(null, getAllMeasurements(getWidth))\n },\n\n rightMostElement: function rightMostElement() {\n return getMaxElement('right', getAllElements())\n },\n\n taggedElement: function getTaggedElementsWidth() {\n return getTaggedElements('right', 'data-iframe-width')\n }\n }\n\n function sizeIFrame(\n triggerEvent,\n triggerEventDesc,\n customHeight,\n customWidth\n ) {\n function resizeIFrame() {\n height = currentHeight\n width = currentWidth\n\n sendMsg(height, width, triggerEvent)\n }\n\n function isSizeChangeDetected() {\n function checkTolarance(a, b) {\n var retVal = Math.abs(a - b) <= tolerance\n return !retVal\n }\n\n currentHeight =\n undefined === customHeight ? getHeight[heightCalcMode]() : customHeight\n currentWidth =\n undefined === customWidth ? getWidth[widthCalcMode]() : customWidth\n\n return (\n checkTolarance(height, currentHeight) ||\n (calculateWidth && checkTolarance(width, currentWidth))\n )\n }\n\n function isForceResizableEvent() {\n return !(triggerEvent in { init: 1, interval: 1, size: 1 })\n }\n\n function isForceResizableCalcMode() {\n return (\n heightCalcMode in resetRequiredMethods ||\n (calculateWidth && widthCalcMode in resetRequiredMethods)\n )\n }\n\n function logIgnored() {\n log('No change in size detected')\n }\n\n function checkDownSizing() {\n if (isForceResizableEvent() && isForceResizableCalcMode()) {\n resetIFrame(triggerEventDesc)\n } else if (!(triggerEvent in { interval: 1 })) {\n logIgnored()\n }\n }\n\n var currentHeight, currentWidth\n\n if (isSizeChangeDetected() || 'init' === triggerEvent) {\n lockTrigger()\n resizeIFrame()\n } else {\n checkDownSizing()\n }\n }\n\n var sizeIFrameThrottled = throttle(sizeIFrame)\n\n function sendSize(triggerEvent, triggerEventDesc, customHeight, customWidth) {\n function recordTrigger() {\n if (!(triggerEvent in { reset: 1, resetPage: 1, init: 1 })) {\n log('Trigger event: ' + triggerEventDesc)\n }\n }\n\n function isDoubleFiredEvent() {\n return triggerLocked && triggerEvent in doubleEventList\n }\n\n if (isDoubleFiredEvent()) {\n log('Trigger event cancelled: ' + triggerEvent)\n } else {\n recordTrigger()\n if (triggerEvent === 'init') {\n sizeIFrame(triggerEvent, triggerEventDesc, customHeight, customWidth)\n } else {\n sizeIFrameThrottled(\n triggerEvent,\n triggerEventDesc,\n customHeight,\n customWidth\n )\n }\n }\n }\n\n function lockTrigger() {\n if (!triggerLocked) {\n triggerLocked = true\n log('Trigger event lock on')\n }\n clearTimeout(triggerLockedTimer)\n triggerLockedTimer = setTimeout(function () {\n triggerLocked = false\n log('Trigger event lock off')\n log('--')\n }, eventCancelTimer)\n }\n\n function triggerReset(triggerEvent) {\n height = getHeight[heightCalcMode]()\n width = getWidth[widthCalcMode]()\n\n sendMsg(height, width, triggerEvent)\n }\n\n function resetIFrame(triggerEventDesc) {\n var hcm = heightCalcMode\n heightCalcMode = heightCalcModeDefault\n\n log('Reset trigger event: ' + triggerEventDesc)\n lockTrigger()\n triggerReset('reset')\n\n heightCalcMode = hcm\n }\n\n function sendMsg(height, width, triggerEvent, msg, targetOrigin) {\n function setTargetOrigin() {\n if (undefined === targetOrigin) {\n targetOrigin = targetOriginDefault\n } else {\n log('Message targetOrigin: ' + targetOrigin)\n }\n }\n\n function sendToParent() {\n var size = height + ':' + width,\n message =\n myID +\n ':' +\n size +\n ':' +\n triggerEvent +\n (undefined === msg ? '' : ':' + msg)\n\n log('Sending message to host page (' + message + ')')\n target.postMessage(msgID + message, targetOrigin)\n }\n\n if (true === sendPermit) {\n setTargetOrigin()\n sendToParent()\n }\n }\n\n function receiver(event) {\n var processRequestFromParent = {\n init: function initFromParent() {\n initMsg = event.data\n target = event.source\n\n init()\n firstRun = false\n setTimeout(function () {\n initLock = false\n }, eventCancelTimer)\n },\n\n reset: function resetFromParent() {\n if (initLock) {\n log('Page reset ignored by init')\n } else {\n log('Page size reset by host page')\n triggerReset('resetPage')\n }\n },\n\n resize: function resizeFromParent() {\n sendSize('resizeParent', 'Parent window requested size check')\n },\n\n moveToAnchor: function moveToAnchorF() {\n inPageLinks.findTarget(getData())\n },\n inPageLink: function inPageLinkF() {\n this.moveToAnchor()\n }, // Backward compatibility\n\n pageInfo: function pageInfoFromParent() {\n var msgBody = getData()\n log('PageInfoFromParent called from parent: ' + msgBody)\n onPageInfo(JSON.parse(msgBody))\n log(' --')\n },\n\n message: function messageFromParent() {\n var msgBody = getData()\n\n log('onMessage called from parent: ' + msgBody)\n // eslint-disable-next-line sonarjs/no-extra-arguments\n onMessage(JSON.parse(msgBody))\n log(' --')\n }\n }\n\n function isMessageForUs() {\n return msgID === ('' + event.data).slice(0, msgIdLen) // ''+ Protects against non-string messages\n }\n\n function getMessageType() {\n return event.data.split(']')[1].split(':')[0]\n }\n\n function getData() {\n return event.data.slice(event.data.indexOf(':') + 1)\n }\n\n function isMiddleTier() {\n return (\n (!(typeof module !== 'undefined' && module.exports) &&\n 'iFrameResize' in window) ||\n (window.jQuery !== undefined &&\n 'iFrameResize' in window.jQuery.prototype)\n )\n }\n\n function isInitMsg() {\n // Test if this message is from a child below us. This is an ugly test, however, updating\n // the message format would break backwards compatibility.\n return event.data.split(':')[2] in { true: 1, false: 1 }\n }\n\n function callFromParent() {\n var messageType = getMessageType()\n\n if (messageType in processRequestFromParent) {\n processRequestFromParent[messageType]()\n } else if (!isMiddleTier() && !isInitMsg()) {\n warn('Unexpected message (' + event.data + ')')\n }\n }\n\n function processMessage() {\n if (false === firstRun) {\n callFromParent()\n } else if (isInitMsg()) {\n processRequestFromParent.init()\n } else {\n log(\n 'Ignored message of type \"' +\n getMessageType() +\n '\". Received before initialization.'\n )\n }\n }\n\n if (isMessageForUs()) {\n processMessage()\n }\n }\n\n // Normally the parent kicks things off when it detects the iFrame has loaded.\n // If this script is async-loaded, then tell parent page to retry init.\n function chkLateLoaded() {\n if ('loading' !== document.readyState) {\n window.parent.postMessage('[iFrameResizerChild]Ready', '*')\n }\n }\n\n addEventListener(window, 'message', receiver)\n addEventListener(window, 'readystatechange', chkLateLoaded)\n chkLateLoaded()\n\n \n})()\n"],"names":[],"version":3,"file":"iframe.js.map"}