buefy 0.9.13 → 0.9.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/CHANGELOG.md +1706 -1639
  2. package/README.md +1 -1
  3. package/dist/buefy.css +313 -1
  4. package/dist/buefy.esm.js +4431 -2331
  5. package/dist/buefy.esm.min.js +2 -2
  6. package/dist/buefy.js +4467 -2364
  7. package/dist/buefy.min.css +1 -1
  8. package/dist/buefy.min.js +2 -2
  9. package/dist/cjs/autocomplete.js +5 -5
  10. package/dist/cjs/button.js +3 -3
  11. package/dist/cjs/carousel.js +4 -4
  12. package/dist/cjs/{chunk-34949503.js → chunk-0d6f213f.js} +2 -2
  13. package/dist/cjs/{chunk-2c7de785.js → chunk-0e3108f5.js} +2 -2
  14. package/dist/cjs/{chunk-2911aa4b.js → chunk-1438658c.js} +14 -11
  15. package/dist/cjs/{chunk-114191ae.js → chunk-1f7e4ed3.js} +3 -3
  16. package/dist/cjs/{chunk-a11294f9.js → chunk-334bc809.js} +1 -1
  17. package/dist/cjs/chunk-45739695.js +332 -0
  18. package/dist/cjs/{chunk-c7b2aa4b.js → chunk-4bcfaf1c.js} +0 -0
  19. package/dist/cjs/{chunk-f5106717.js → chunk-5058e659.js} +3 -3
  20. package/dist/cjs/{chunk-61023b09.js → chunk-545e1c7f.js} +102 -16
  21. package/dist/cjs/{chunk-30670fac.js → chunk-54b0042d.js} +19 -3
  22. package/dist/cjs/{chunk-fe2f57ee.js → chunk-5ed8a75a.js} +2 -2
  23. package/dist/cjs/{chunk-d120e215.js → chunk-73f8eef8.js} +8 -2
  24. package/dist/cjs/{chunk-2062216d.js → chunk-7c11fdde.js} +5 -4
  25. package/dist/cjs/{chunk-3cc5d9a6.js → chunk-841c0e0f.js} +1 -1
  26. package/dist/cjs/{chunk-9e4cf4c5.js → chunk-87a116d9.js} +0 -0
  27. package/dist/cjs/{chunk-fefd7b77.js → chunk-a53b7aff.js} +0 -0
  28. package/dist/cjs/{chunk-d0f8ea39.js → chunk-c0a093d7.js} +7 -7
  29. package/dist/cjs/{chunk-7da0c017.js → chunk-c8abb3ed.js} +21 -21
  30. package/dist/cjs/{chunk-c6fbc7b4.js → chunk-d0df905a.js} +15 -2
  31. package/dist/cjs/{chunk-d54e40f6.js → chunk-e86d3eeb.js} +1 -8
  32. package/dist/cjs/{chunk-6cb902f8.js → chunk-e872f5e2.js} +1 -1
  33. package/dist/cjs/{chunk-2ae50815.js → chunk-f5285f14.js} +4 -4
  34. package/dist/cjs/clockpicker.js +8 -8
  35. package/dist/cjs/colorpicker.js +1752 -0
  36. package/dist/cjs/config.js +1 -1
  37. package/dist/cjs/datepicker.js +11 -11
  38. package/dist/cjs/datetimepicker.js +30 -14
  39. package/dist/cjs/dialog.js +5 -5
  40. package/dist/cjs/dropdown.js +3 -3
  41. package/dist/cjs/field.js +2 -2
  42. package/dist/cjs/helpers.js +21 -1
  43. package/dist/cjs/icon.js +2 -2
  44. package/dist/cjs/image.js +2 -2
  45. package/dist/cjs/index.js +27 -22
  46. package/dist/cjs/input.js +4 -4
  47. package/dist/cjs/loading.js +5 -5
  48. package/dist/cjs/menu.js +2 -2
  49. package/dist/cjs/message.js +4 -9
  50. package/dist/cjs/modal.js +5 -5
  51. package/dist/cjs/navbar.js +4 -1
  52. package/dist/cjs/notification.js +7 -7
  53. package/dist/cjs/numberinput.js +30 -21
  54. package/dist/cjs/pagination.js +7 -7
  55. package/dist/cjs/progress.js +3 -3
  56. package/dist/cjs/rate.js +2 -2
  57. package/dist/cjs/select.js +4 -4
  58. package/dist/cjs/sidebar.js +1 -1
  59. package/dist/cjs/slider.js +3 -3
  60. package/dist/cjs/snackbar.js +5 -4
  61. package/dist/cjs/steps.js +5 -5
  62. package/dist/cjs/table.js +157 -146
  63. package/dist/cjs/tabs.js +7 -7
  64. package/dist/cjs/taginput.js +5 -5
  65. package/dist/cjs/timepicker.js +12 -12
  66. package/dist/cjs/toast.js +3 -3
  67. package/dist/cjs/tooltip.js +4 -4
  68. package/dist/cjs/upload.js +23 -9
  69. package/dist/components/autocomplete/index.js +24 -2
  70. package/dist/components/autocomplete/index.min.js +2 -2
  71. package/dist/components/breadcrumb/index.js +1 -1
  72. package/dist/components/breadcrumb/index.min.js +1 -1
  73. package/dist/components/button/index.js +8 -2
  74. package/dist/components/button/index.min.js +2 -2
  75. package/dist/components/carousel/index.js +8 -2
  76. package/dist/components/carousel/index.min.js +2 -2
  77. package/dist/components/checkbox/index.js +1 -1
  78. package/dist/components/checkbox/index.min.js +1 -1
  79. package/dist/components/clockpicker/index.js +41 -22
  80. package/dist/components/clockpicker/index.min.js +2 -2
  81. package/dist/components/collapse/index.js +1 -1
  82. package/dist/components/collapse/index.min.js +1 -1
  83. package/dist/components/colorpicker/index.js +4318 -0
  84. package/dist/components/colorpicker/index.min.js +2 -0
  85. package/dist/components/datepicker/index.js +48 -26
  86. package/dist/components/datepicker/index.min.js +2 -2
  87. package/dist/components/datetimepicker/index.js +66 -28
  88. package/dist/components/datetimepicker/index.min.js +2 -2
  89. package/dist/components/dialog/index.js +8 -2
  90. package/dist/components/dialog/index.min.js +2 -2
  91. package/dist/components/dropdown/index.js +14 -1
  92. package/dist/components/dropdown/index.min.js +2 -2
  93. package/dist/components/field/index.js +21 -21
  94. package/dist/components/field/index.min.js +1 -1
  95. package/dist/components/icon/index.js +8 -2
  96. package/dist/components/icon/index.min.js +2 -2
  97. package/dist/components/image/index.js +1 -1
  98. package/dist/components/image/index.min.js +1 -1
  99. package/dist/components/input/index.js +8 -2
  100. package/dist/components/input/index.min.js +2 -2
  101. package/dist/components/loading/index.js +1 -1
  102. package/dist/components/loading/index.min.js +1 -1
  103. package/dist/components/menu/index.js +8 -2
  104. package/dist/components/menu/index.min.js +2 -2
  105. package/dist/components/message/index.js +11 -9
  106. package/dist/components/message/index.min.js +2 -2
  107. package/dist/components/modal/index.js +1 -1
  108. package/dist/components/modal/index.min.js +1 -1
  109. package/dist/components/navbar/index.js +4 -1
  110. package/dist/components/navbar/index.min.js +2 -2
  111. package/dist/components/notification/index.js +13 -13
  112. package/dist/components/notification/index.min.js +2 -2
  113. package/dist/components/numberinput/index.js +34 -19
  114. package/dist/components/numberinput/index.min.js +2 -2
  115. package/dist/components/pagination/index.js +107 -16
  116. package/dist/components/pagination/index.min.js +2 -2
  117. package/dist/components/progress/index.js +2 -2
  118. package/dist/components/progress/index.min.js +2 -2
  119. package/dist/components/radio/index.js +1 -1
  120. package/dist/components/radio/index.min.js +1 -1
  121. package/dist/components/rate/index.js +8 -2
  122. package/dist/components/rate/index.min.js +2 -2
  123. package/dist/components/select/index.js +8 -2
  124. package/dist/components/select/index.min.js +2 -2
  125. package/dist/components/sidebar/index.js +1 -1
  126. package/dist/components/sidebar/index.min.js +1 -1
  127. package/dist/components/skeleton/index.js +1 -1
  128. package/dist/components/skeleton/index.min.js +1 -1
  129. package/dist/components/slider/index.js +2 -2
  130. package/dist/components/slider/index.min.js +2 -2
  131. package/dist/components/snackbar/index.js +4 -10
  132. package/dist/components/snackbar/index.min.js +2 -2
  133. package/dist/components/steps/index.js +8 -2
  134. package/dist/components/steps/index.min.js +2 -2
  135. package/dist/components/switch/index.js +1 -1
  136. package/dist/components/switch/index.min.js +1 -1
  137. package/dist/components/table/index.js +253 -133
  138. package/dist/components/table/index.min.js +2 -2
  139. package/dist/components/tabs/index.js +10 -4
  140. package/dist/components/tabs/index.min.js +2 -2
  141. package/dist/components/tag/index.js +1 -1
  142. package/dist/components/tag/index.min.js +1 -1
  143. package/dist/components/taginput/index.js +24 -2
  144. package/dist/components/taginput/index.min.js +2 -2
  145. package/dist/components/timepicker/index.js +41 -22
  146. package/dist/components/timepicker/index.min.js +2 -2
  147. package/dist/components/toast/index.js +2 -9
  148. package/dist/components/toast/index.min.js +2 -2
  149. package/dist/components/tooltip/index.js +2 -2
  150. package/dist/components/tooltip/index.min.js +2 -2
  151. package/dist/components/upload/index.js +20 -6
  152. package/dist/components/upload/index.min.js +2 -2
  153. package/dist/esm/autocomplete.js +6 -6
  154. package/dist/esm/button.js +4 -4
  155. package/dist/esm/carousel.js +4 -4
  156. package/dist/esm/{chunk-18e8b067.js → chunk-1a4fde6d.js} +102 -17
  157. package/dist/esm/{chunk-3773c62d.js → chunk-22cf6667.js} +2 -2
  158. package/dist/esm/{chunk-ece062a7.js → chunk-262b3f82.js} +1 -1
  159. package/dist/esm/chunk-455cdeae.js +317 -0
  160. package/dist/esm/{chunk-d7f92d97.js → chunk-5435bd9a.js} +5 -4
  161. package/dist/esm/{chunk-e7c9b2cb.js → chunk-58cdbf2b.js} +2 -2
  162. package/dist/esm/{chunk-29ca0df8.js → chunk-60a03517.js} +1 -1
  163. package/dist/esm/{chunk-21fc0948.js → chunk-66cef090.js} +7 -7
  164. package/dist/esm/{chunk-71a547bc.js → chunk-690d5be4.js} +1 -1
  165. package/dist/esm/{chunk-83eb0d37.js → chunk-6adc5c5d.js} +3 -3
  166. package/dist/esm/{chunk-c9c58d0c.js → chunk-6d0f2352.js} +0 -0
  167. package/dist/esm/{chunk-8d0f95b8.js → chunk-6d96579e.js} +4 -4
  168. package/dist/esm/{chunk-22e9f916.js → chunk-6fb4a069.js} +14 -11
  169. package/dist/esm/{chunk-75a5af93.js → chunk-84c6dfd6.js} +0 -0
  170. package/dist/esm/{chunk-ae8ab23a.js → chunk-a628d44d.js} +3 -3
  171. package/dist/esm/{chunk-b0c0c6b0.js → chunk-c9c18b2f.js} +0 -0
  172. package/dist/esm/{chunk-9f7f7441.js → chunk-d35985c7.js} +0 -0
  173. package/dist/esm/{chunk-799e084d.js → chunk-d9232770.js} +1 -8
  174. package/dist/esm/{chunk-4b67a181.js → chunk-dbd43ef1.js} +15 -2
  175. package/dist/esm/{chunk-d92f0cd9.js → chunk-e044aa02.js} +8 -2
  176. package/dist/esm/{chunk-b07e3182.js → chunk-effa4d25.js} +21 -21
  177. package/dist/esm/{chunk-6019fd7a.js → chunk-f9eaeac4.js} +19 -3
  178. package/dist/esm/clockpicker.js +8 -8
  179. package/dist/esm/colorpicker.js +1748 -0
  180. package/dist/esm/config.js +1 -1
  181. package/dist/esm/datepicker.js +10 -10
  182. package/dist/esm/datetimepicker.js +29 -13
  183. package/dist/esm/dialog.js +4 -4
  184. package/dist/esm/dropdown.js +4 -4
  185. package/dist/esm/field.js +3 -3
  186. package/dist/esm/helpers.js +20 -2
  187. package/dist/esm/icon.js +3 -3
  188. package/dist/esm/image.js +3 -3
  189. package/dist/esm/index.js +94 -91
  190. package/dist/esm/input.js +5 -5
  191. package/dist/esm/loading.js +3 -3
  192. package/dist/esm/menu.js +2 -2
  193. package/dist/esm/message.js +3 -8
  194. package/dist/esm/modal.js +3 -3
  195. package/dist/esm/navbar.js +4 -1
  196. package/dist/esm/notification.js +5 -5
  197. package/dist/esm/numberinput.js +30 -21
  198. package/dist/esm/pagination.js +4 -4
  199. package/dist/esm/progress.js +3 -3
  200. package/dist/esm/rate.js +2 -2
  201. package/dist/esm/select.js +5 -5
  202. package/dist/esm/sidebar.js +1 -1
  203. package/dist/esm/slider.js +2 -2
  204. package/dist/esm/snackbar.js +4 -3
  205. package/dist/esm/steps.js +5 -5
  206. package/dist/esm/table.js +155 -144
  207. package/dist/esm/tabs.js +7 -7
  208. package/dist/esm/taginput.js +5 -5
  209. package/dist/esm/timepicker.js +11 -11
  210. package/dist/esm/toast.js +2 -2
  211. package/dist/esm/tooltip.js +3 -3
  212. package/dist/esm/upload.js +21 -7
  213. package/dist/vetur/attributes.json +96 -0
  214. package/dist/vetur/tags.json +30 -1
  215. package/package.json +1 -1
  216. package/src/components/autocomplete/Autocomplete.vue +10 -0
  217. package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +1 -5
  218. package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +48 -48
  219. package/src/components/colorpicker/Colorpicker.spec.js +10 -0
  220. package/src/components/colorpicker/Colorpicker.vue +354 -0
  221. package/src/components/colorpicker/ColorpickerAlphaSlider.spec.js +14 -0
  222. package/src/components/colorpicker/ColorpickerAlphaSlider.vue +194 -0
  223. package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.spec.js +22 -0
  224. package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.vue +366 -0
  225. package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.spec.js +22 -0
  226. package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +442 -0
  227. package/src/components/colorpicker/__snapshots__/ColorPickerHSLRepresentationSquare.spec.js.snap +12 -0
  228. package/src/components/colorpicker/__snapshots__/Colorpicker.spec.js.snap +32 -0
  229. package/src/components/colorpicker/__snapshots__/ColorpickerAlphaSlider.spec.js.snap +11 -0
  230. package/src/components/colorpicker/__snapshots__/ColorpickerHSLRepresentationTriangle.spec.js.snap +36 -0
  231. package/src/components/colorpicker/index.js +17 -0
  232. package/src/components/datepicker/DatepickerTableRow.spec.js +26 -0
  233. package/src/components/datepicker/DatepickerTableRow.vue +4 -5
  234. package/src/components/datetimepicker/Datetimepicker.vue +17 -1
  235. package/src/components/dropdown/Dropdown.vue +13 -0
  236. package/src/components/field/Field.vue +271 -271
  237. package/src/components/index.js +2 -0
  238. package/src/components/message/Message.vue +0 -5
  239. package/src/components/navbar/NavbarDropdown.vue +4 -0
  240. package/src/components/notification/Notification.vue +1 -1
  241. package/src/components/numberinput/Numberinput.spec.js +62 -0
  242. package/src/components/numberinput/Numberinput.vue +22 -15
  243. package/src/components/pagination/Pagination.vue +141 -51
  244. package/src/components/progress/Progress.vue +1 -1
  245. package/src/components/snackbar/index.js +2 -1
  246. package/src/components/table/Table.spec.js +17 -3
  247. package/src/components/table/Table.vue +1436 -1409
  248. package/src/components/table/TablePagination.vue +10 -2
  249. package/src/components/tabs/Tabs.vue +2 -0
  250. package/src/components/timepicker/__snapshots__/Timepicker.spec.js.snap +18 -47
  251. package/src/components/tooltip/Tooltip.vue +2 -2
  252. package/src/components/upload/Upload.vue +19 -7
  253. package/src/scss/buefy.scss +1 -0
  254. package/src/scss/components/_colorpicker.scss +283 -0
  255. package/src/scss/components/_pagination.scss +38 -0
  256. package/src/utils/MessageMixin.js +2 -1
  257. package/src/utils/NoticeMixin.js +1 -5
  258. package/src/utils/color.js +441 -0
  259. package/src/utils/color.spec.js +52 -0
  260. package/src/utils/helpers.js +16 -0
  261. package/src/utils/icons.js +7 -1
  262. package/types/components.d.ts +7 -2
  263. package/types/helpers.d.ts +2 -1
  264. package/dist/cjs/chunk-92621ff7.js +0 -141
  265. package/dist/esm/chunk-2452e3d3.js +0 -134
@@ -0,0 +1,2 @@
1
+ /*! Buefy v0.9.17 | MIT License | github.com/buefy/buefy */
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Colorpicker={})}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach(function(t){s(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t,i){return(c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var s=new(Function.bind.apply(e,n));return i&&l(s,i.prototype),s}).apply(null,arguments)}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,e)})(e)}function h(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function f(e,t){return m(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var i=[],n=!0,s=!1,a=void 0;try{for(var o,r=e[Symbol.iterator]();!(n=(o=r.next()).done)&&(i.push(o.value),!t||i.length!==t);n=!0);}catch(e){s=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(s)throw a}}return i}(e,t)||v()}function p(e){return function(e){if(Array.isArray(e)){for(var t=0,i=new Array(e.length);t<e.length;t++)i[t]=e[t];return i}}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function m(e){if(Array.isArray(e))return e}function g(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var b={defaultContainerElement:null,defaultIconPack:"mdi",defaultIconComponent:null,defaultIconPrev:"chevron-left",defaultIconNext:"chevron-right",defaultLocale:void 0,defaultDialogConfirmText:null,defaultDialogCancelText:null,defaultSnackbarDuration:3500,defaultSnackbarPosition:null,defaultToastDuration:2e3,defaultToastPosition:null,defaultNotificationDuration:2e3,defaultNotificationPosition:null,defaultTooltipType:"is-primary",defaultTooltipDelay:null,defaultSidebarDelay:null,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultTimeCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,10],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1,defaultDatepickerWeekNumberClickable:!1,defaultDatepickerMobileModal:!0,defaultTrapFocus:!0,defaultAutoFocus:!0,defaultButtonRounded:!1,defaultSwitchRounded:!0,defaultCarouselInterval:3500,defaultTabsExpanded:!1,defaultTabsAnimated:!0,defaultTabsType:null,defaultStatusIcon:!0,defaultProgrammaticPromise:!1,defaultLinkTags:["a","button","input","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultImageWebpFallback:null,defaultImageLazy:!0,defaultImageResponsive:!0,defaultImageRatio:null,defaultImageSrcsetFormatter:null,defaultBreadcrumbTag:"a",defaultBreadcrumbAlign:"is-left",defaultBreadcrumbSeparator:"",defaultBreadcrumbSize:"is-medium",customIconPacks:null};function y(e,t){return(e&t)===t}var w=function(e){return"object"===t(e)&&!Array.isArray(e)},k=function e(t,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n||!Object.assign){var a=Object.getOwnPropertyNames(i).map(function(a){return s({},a,function(e){return w(i[e])&&null!==t&&t.hasOwnProperty(e)&&w(t[e])}(a)?e(t[a],i[a],n):i[a])}).reduce(function(e,t){return o({},e,{},t)},{});return o({},t,{},a)}return Object.assign(t,i)},C={Android:function(){return"undefined"!=typeof window&&window.navigator.userAgent.match(/Android/i)},BlackBerry:function(){return"undefined"!=typeof window&&window.navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return"undefined"!=typeof window&&(window.navigator.userAgent.match(/iPhone|iPad|iPod/i)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)},Opera:function(){return"undefined"!=typeof window&&window.navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return"undefined"!=typeof window&&window.navigator.userAgent.match(/IEMobile/i)},any:function(){return C.Android()||C.BlackBerry()||C.iOS()||C.Opera()||C.Windows()}};function M(e){void 0!==e.remove?e.remove():void 0!==e.parentNode&&null!==e.parentNode&&e.parentNode.removeChild(e)}function x(e){var t=document.createElement("div");t.style.position="absolute",t.style.left="0px",t.style.top="0px",t.style.width="100%";var i=document.createElement("div");return t.appendChild(i),i.appendChild(e),document.body.appendChild(t),t}var S,A={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return b.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return b.defaultLocale}},statusIcon:{type:Boolean,default:function(){return b.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||b.defaultIconPack}},computed:{parentField:function(){for(var e=this.$parent,t=0;t<3;t++)e&&!e.$data._isField&&(e=e.$parent);return e},statusType:function(){var e=(this.parentField||{}).newType;if(e){if("string"==typeof e)return e;for(var t in e)if(e[t])return t}},statusMessage:function(){if(this.parentField)return this.parentField.newMessage||this.parentField.$slots.message},iconSize:function(){switch(this.size){case"is-small":return this.size;case"is-medium":return;case"is-large":return"mdi"===this.newIconPack?"is-medium":""}}},methods:{focus:function(){var e=this.getElement();void 0!==e&&this.$nextTick(function(){e&&e.focus()})},onBlur:function(e){this.isFocused=!1,this.$emit("blur",e),this.checkHtml5Validity()},onFocus:function(e){this.isFocused=!0,this.$emit("focus",e),this.checkHtml5Validity()},getElement:function(){for(var e,t=this.$refs[this.$data._elementRef];(e=t)&&e._isVue;)t=t.$refs[t.$data._elementRef];return t},setInvalid:function(){var e=this.validationMessage||this.getElement().validationMessage;this.setValidity("is-danger",e)},setValidity:function(e,t){var i=this;this.$nextTick(function(){i.parentField&&(i.parentField.type||(i.parentField.newType=e),i.parentField.message||(i.parentField.newMessage=t))})},checkHtml5Validity:function(){if(this.useHtml5Validation){var e=this.getElement();if(void 0!==e)return e.checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}}},$=["red","green","blue","alpha"],P={black:"#000000",silver:"#c0c0c0",gray:"#808080",white:"#ffffff",maroon:"#800000",red:"#ff0000",purple:"#800080",fuchsia:"#ff00ff",green:"#008000",lime:"#00ff00",olive:"#808000",yellow:"#ffff00",navy:"#000080",blue:"#0000ff",teal:"#008080",aqua:"#00ffff",orange:"#ffa500",aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32",rebeccapurple:"#663399"},O=function(e){function t(){return i(this,t),h(this,r(t).call(this,"ColorTypeError: type must be hex(a), rgb(a) or hsl(a)"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(t,u(Error)),t}(),_=function(){function e(){var t=this;if(i(this,e),arguments.length>0)return e.parse.apply(e,arguments);this.$channels=new Uint8Array($.length),$.forEach(function(e,i){Object.defineProperty(t,e,{get:function(){return t.$channels[i]},set:function(e){Number.isNaN(e/1)||(t.$channels[i]=Math.min(255,Math.max(0,e)))},enumerable:!0,configurable:!0})}),["hue","saturation","lightness"].forEach(function(e){var i=e.replace(/^./,function(e){return e.toUpperCase()});Object.defineProperty(t,e,{get:function(){return t["get".concat(i)]()},set:function(e){Number.isNaN(e/1)||t["set".concat(i)](e)},enumerable:!0,configurable:!0})})}var s,a,o;return s=e,a=[{key:"getHue",value:function(){var e=f(Array.from(this.$channels).map(function(e){return e/255}),3),t=e[0],i=e[1],n=e[2],s=[Math.min(t,i,n),Math.max(t,i,n)],a=s[1],o=a-s[0],r=0;if(0===o)return r;for(r=t===a?(i-n)/o%6:i===a?(n-t)/o+2:(t-i)/o+4,r*=60;r!==-1/0&&r<0;)r+=360;return Math.round(r%360)}},{key:"setHue",value:function(t){for(var i=e.fromHSL(t,this.saturation,this.lightness,this.alpha/255),n=0;n<this.$channels.length;n++)this.$channels[n]=Number(i.$channels[n])}},{key:"getSaturation",value:function(){var e=f(Array.from(this.$channels).map(function(e){return e/255}),3),t=e[0],i=e[1],n=e[2],s=[Math.min(t,i,n),Math.max(t,i,n)],a=s[1]-s[0];return 0!==a?Math.round(a/(1-Math.abs(2*this.lightness-1))*100)/100:0}},{key:"setSaturation",value:function(t){var i=this,n=e.fromHSL(this.hue,t,this.lightness,this.alpha/255);$.forEach(function(e,t){return i.$channels[t]=n.$channels[t]})}},{key:"getLightness",value:function(){var e=f(Array.from(this.$channels).map(function(e){return e/255}),3),t=e[0],i=e[1],n=e[2],s=[Math.min(t,i,n),Math.max(t,i,n)],a=s[0],o=s[1];return Math.round((o+a)/2*100)/100}},{key:"setLightness",value:function(t){var i=this,n=e.fromHSL(this.hue,this.lightness,t,this.alpha/255);$.forEach(function(e,t){return i.$channels[t]=n.$channels[t]})}},{key:"clone",value:function(){var t=this,i=new e;return $.forEach(function(e,n){return i.$channels[n]=t.$channels[n]}),i}},{key:"toString",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hex";switch(String(t).toLowerCase()){case"hex":return"#"+$.slice(0,3).map(function(t){return e[t].toString(16).padStart(2,"0")}).join("");case"hexa":return"#"+$.map(function(t){return e[t].toString(16).padStart(2,"0")}).join("");case"rgb":return"rgb(".concat(this.red,", ").concat(this.green,", ").concat(this.blue,")");case"rgba":return"rgba(".concat(this.red,", ").concat(this.green,", ").concat(this.blue,", ").concat(Math.round(this.alpha/2.55)/100,")");case"hsl":return"hsl(".concat(Math.round(this.hue),"deg, ").concat(Math.round(100*this.saturation),"%, ").concat(Math.round(100*this.lightness),"%)");case"hsla":return"hsla(".concat(Math.round(this.hue),"deg, ").concat(Math.round(100*this.saturation),"%, ").concat(Math.round(100*this.lightness),"%, ").concat(Math.round(this.alpha/2.55)/100,")");default:throw new O}}},{key:Symbol.toString,get:function(){return this.toString("hex")}}],o=[{key:"parse",value:function(){for(var i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];if("object"===t(n[0]))return e.parseObject(n[0]);if(n.every(function(e){return!Number.isNaN(e/1)})){var a=new e;if(n.length>3)a.red=n[0],a.green=n[1],a.blue=n[2],n[3]&&(a.alpha=n[3]);else if(1===n.length){var o=Number(n[0]);return e.parseIndex(o,o>Math.pow(2,24)?3:4)}}else if("string"==typeof n[0]){var r=null;if("string"==typeof P[n[0].toLowerCase()])return e.parseHex(P[n[0].toLowerCase()]);if(null!==(r=n[0].match(/^(#|&h|0x)?(([a-f0-9]{3,4}){1,2})$/i)))return e.parseHex(r[2]);if(null!==(r=n[0].match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(\s*,\s*(\d*\.?\d+))?\s*\)$/i))){var l=[r[1],r[2],r[3],void 0!==r[5]?r[5]:1];return e.fromRGB.apply(e,p(l.map(function(e){return Number(e)})))}if(r=n[0].match(/^(h(sl|wb)a?|lab|color|cmyk)\(/i))throw new Error("Color expression not implemented yet")}return new e}},{key:"parseObject",value:function(i){var n=new e;return null===i||"object"!==t(i)?n:e.isColor(i)?i.clone():($.forEach(function(e){Number.isNaN(i[e])||(n[e]=i[e])}),n)}},{key:"parseHex",value:function(t){if("string"!=typeof t)throw new Error("Hex expression must be a string");if(3!==(t=t.trim().replace(/^(0x|&h|#)/i,"")).length&&4!==t.length||(t=t.split("").map(function(e){return e.repeat(2)}).join("")),6!==t.length&&8!==t.length)throw new Error("Incorrect Hex expression length");var i=t.split(/(..)/).filter(function(e){return e}).map(function(e){return Number.parseInt(e,16)});return"number"==typeof i[3]&&(i[3]/=255),e.fromRGB.apply(e,p(i))}},{key:"parseIndex",value:function(t){for(var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new e,s=0;s<4;s++)n[$[s]]=t>>8*(i-s)&&255;return n}},{key:"fromRGB",value:function(t,i,n){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if([t,i,n,s].some(function(e){return Number.isNaN(e/1)}))throw new Error("Invalid arguments");s*=255;var a=new e;return[t,i,n,s].forEach(function(e,t){a[$[t]]=e}),a}},{key:"fromHSL",value:function(t,i,n){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if([t,i,n,s].some(function(e){return Number.isNaN(e)}))throw new Error("Invalid arguments");for(;t<0&&t!==-1/0;)t+=360;t%=360,i=Math.max(0,Math.min(1,i)),n=Math.max(0,Math.min(1,n)),s=Math.max(0,Math.min(1,s));var a=(1-Math.abs(2*n-1))*i,o=a*(1-Math.abs(t/60%2-1)),r=n-a/2,l=f(t<60?[a,o,0]:t<120?[o,a,0]:t<180?[0,a,o]:t<240?[0,o,a]:t<300?[o,0,a]:[a,0,o],3),c=l[0],u=l[1],h=l[2];return e.fromRGB(255*(c+r),255*(u+r),255*(h+r),s)}},{key:"isColor",value:function(t){return t instanceof e}}],a&&n(s.prototype,a),o&&n(s,o),e}(),B=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?t?e.querySelectorAll('*[tabindex="-1"]'):e.querySelectorAll('a[href]:not([tabindex="-1"]),\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n *[tabindex]:not([tabindex="-1"]),\n *[contenteditable]'):null},I=["escape","outside"];var L=function(e,t,i,n,s,a,o,r,l,c){"boolean"!=typeof o&&(l=r,r=o,o=!1);var u,h="function"==typeof i?i.options:i;if(e&&e.render&&(h.render=e.render,h.staticRenderFns=e.staticRenderFns,h._compiled=!0,s&&(h.functional=!0)),n&&(h._scopeId=n),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},h._ssrRegister=u):t&&(u=o?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),u)if(h.functional){var d=h.render;h.render=function(e,t){return u.call(t),d(e,t)}}else{var f=h.beforeCreate;h.beforeCreate=f?[].concat(f,u):[u]}return i};var T=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"dropdown",staticClass:"dropdown dropdown-menu-animation",class:e.rootClasses},[e.inline?e._e():i("div",{ref:"trigger",staticClass:"dropdown-trigger",attrs:{role:"button",tabindex:!e.disabled&&0,"aria-haspopup":"true"},on:{click:e.onClick,contextmenu:function(t){return t.preventDefault(),e.onContextMenu(t)},mouseenter:e.onHover,"!focus":function(t){return e.onFocus(t)}}},[e._t("trigger",null,{active:e.isActive})],2),i("transition",{attrs:{name:e.animation}},[e.isMobileModal?i("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"background",attrs:{"aria-hidden":!e.isActive}}):e._e()]),i("transition",{attrs:{name:e.animation}},[i("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&(e.isActive||e.isHoverable)||e.inline,expression:"(!disabled && (isActive || isHoverable)) || inline"},{name:"trap-focus",rawName:"v-trap-focus",value:e.trapFocus,expression:"trapFocus"}],ref:"dropdownMenu",staticClass:"dropdown-menu",style:e.style,attrs:{"aria-hidden":!e.isActive}},[i("div",{staticClass:"dropdown-content",style:e.contentStyle,attrs:{role:e.ariaRole}},[e._t("default")],2)])])],1)},staticRenderFns:[]},void 0,{name:"BDropdown",directives:{trapFocus:{bind:function(e,t){var i=t.value;if(void 0===i||i){var n=B(e),s=B(e,!0);n&&n.length>0&&(S=function(t){n=B(e),s=B(e,!0);var i=n[0],a=n[n.length-1];t.target===i&&t.shiftKey&&"Tab"===t.key?(t.preventDefault(),a.focus()):(t.target===a||Array.from(s).indexOf(t.target)>=0)&&!t.shiftKey&&"Tab"===t.key&&(t.preventDefault(),i.focus())},e.addEventListener("keydown",S))}},unbind:function(e){e.removeEventListener("keydown",S)}}},mixins:[function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i={provide:function(){return s({},"b"+e,this)}};return y(t,1)&&(i.data=function(){return{childItems:[]}},i.methods={_registerItem:function(e){this.childItems.push(e)},_unregisterItem:function(e){this.childItems=this.childItems.filter(function(t){return t!==e})}},y(t,3)&&(i.watch={childItems:function(e){if(e.length>0&&this.$scopedSlots.default){var t=e[0].$vnode.tag,i=0;!function n(s){var a=!0,o=!1,r=void 0;try{for(var l,c=function(){var s=l.value;if(s.tag===t){var a=e.find(function(e){return e.$vnode===s});a&&(a.index=i++)}else if(s.tag){var o=s.componentInstance?s.componentInstance.$scopedSlots.default?s.componentInstance.$scopedSlots.default():s.componentInstance.$children:s.children;Array.isArray(o)&&o.length>0&&n(o.map(function(e){return e.$vnode}))}},u=s[Symbol.iterator]();!(a=(l=u.next()).done);a=!0)c()}catch(e){o=!0,r=e}finally{try{a||null==u.return||u.return()}finally{if(o)throw r}}return!1}(this.$scopedSlots.default())}}},i.computed={sortedItems:function(){return this.childItems.slice().sort(function(e,t){return e.index-t.index})}})),i}("dropdown")],props:{value:{type:[String,Number,Boolean,Object,Array,Function],default:null},disabled:Boolean,inline:Boolean,scrollable:Boolean,maxHeight:{type:[String,Number],default:200},position:{type:String,validator:function(e){return["is-top-right","is-top-left","is-bottom-left","is-bottom-right"].indexOf(e)>-1}},triggers:{type:Array,default:function(){return["click"]}},mobileModal:{type:Boolean,default:function(){return b.defaultDropdownMobileModal}},ariaRole:{type:String,validator:function(e){return["menu","list","dialog"].indexOf(e)>-1},default:null},animation:{type:String,default:"fade"},multiple:Boolean,trapFocus:{type:Boolean,default:function(){return b.defaultTrapFocus}},closeOnClick:{type:Boolean,default:!0},canClose:{type:[Array,Boolean],default:!0},expanded:Boolean,appendToBody:Boolean,appendToBodyCopyParent:Boolean},data:function(){return{selected:this.value,style:{},isActive:!1,isHoverable:!1,_bodyEl:void 0}},computed:{rootClasses:function(){return[this.position,{"is-disabled":this.disabled,"is-hoverable":this.hoverable,"is-inline":this.inline,"is-active":this.isActive||this.inline,"is-mobile-modal":this.isMobileModal,"is-expanded":this.expanded}]},isMobileModal:function(){return this.mobileModal&&!this.inline},cancelOptions:function(){return"boolean"==typeof this.canClose?this.canClose?I:[]:this.canClose},contentStyle:function(){return{maxHeight:this.scrollable?(e=this.maxHeight,void 0===e?null:isNaN(e)?e:e+"px"):null,overflow:this.scrollable?"auto":null};var e},hoverable:function(){return this.triggers.indexOf("hover")>=0}},watch:{value:function(e){this.selected=e},isActive:function(e){var t=this;this.$emit("active-change",e),this.handleScroll(),this.appendToBody&&this.$nextTick(function(){t.updateAppendToBody()})}},methods:{handleScroll:function(){"undefined"!=typeof window&&this.isMobileModal&&(this.isActive?document.documentElement.classList.add("is-clipped-touch"):document.documentElement.classList.remove("is-clipped-touch"))},selectItem:function(e){this.multiple?(this.selected?-1===this.selected.indexOf(e)?this.selected=[].concat(p(this.selected),[e]):this.selected=this.selected.filter(function(t){return t!==e}):this.selected=[e],this.$emit("change",this.selected)):this.selected!==e&&(this.selected=e,this.$emit("change",this.selected)),this.$emit("input",this.selected),this.multiple||(this.isActive=!this.closeOnClick,this.hoverable&&this.closeOnClick&&(this.isHoverable=!1))},isInWhiteList:function(e){if(e===this.$refs.dropdownMenu)return!0;if(e===this.$refs.trigger)return!0;if(void 0!==this.$refs.dropdownMenu){var t=this.$refs.dropdownMenu.querySelectorAll("*"),i=!0,n=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done);i=!0){if(e===a.value)return!0}}catch(e){n=!0,s=e}finally{try{i||null==o.return||o.return()}finally{if(n)throw s}}}if(void 0!==this.$refs.trigger){var r=this.$refs.trigger.querySelectorAll("*"),l=!0,c=!1,u=void 0;try{for(var h,d=r[Symbol.iterator]();!(l=(h=d.next()).done);l=!0){if(e===h.value)return!0}}catch(e){c=!0,u=e}finally{try{l||null==d.return||d.return()}finally{if(c)throw u}}}return!1},clickedOutside:function(e){if(!(this.cancelOptions.indexOf("outside")<0||this.inline)){var t="shadowRoot"in this.$root.$options?e.composedPath()[0]:e.target;this.isInWhiteList(t)||(this.isActive=!1)}},keyPress:function(e){var t=e.key;if(this.isActive&&("Escape"===t||"Esc"===t)){if(this.cancelOptions.indexOf("escape")<0)return;this.isActive=!1}},onClick:function(){this.triggers.indexOf("click")<0||this.toggle()},onContextMenu:function(){this.triggers.indexOf("contextmenu")<0||this.toggle()},onHover:function(){this.triggers.indexOf("hover")<0||(this.isHoverable=!0)},onFocus:function(){this.triggers.indexOf("focus")<0||this.toggle()},toggle:function(){var e=this;this.disabled||(this.isActive?this.isActive=!this.isActive:this.$nextTick(function(){var t=!e.isActive;e.isActive=t,setTimeout(function(){return e.isActive=t})}))},updateAppendToBody:function(){var e=this.$refs.dropdown,i=this.$refs.dropdownMenu,n=this.$refs.trigger;if(i&&n){var s=this.$data._bodyEl.children[0];if(s.classList.forEach(function(e){return s.classList.remove(e)}),s.classList.add("dropdown"),s.classList.add("dropdown-menu-animation"),this.$vnode&&this.$vnode.data&&this.$vnode.data.staticClass&&s.classList.add(this.$vnode.data.staticClass),this.rootClasses.forEach(function(e){if(e&&"object"===t(e))for(var i in e)e[i]&&s.classList.add(i)}),this.appendToBodyCopyParent){var a=this.$refs.dropdown.parentNode,o=this.$data._bodyEl;o.classList.forEach(function(e){return o.classList.remove(e)}),a.classList.forEach(function(e){o.classList.add(e)})}var r=n.getBoundingClientRect(),l=r.top+window.scrollY,c=r.left+window.scrollX;!this.position||this.position.indexOf("bottom")>=0?l+=n.clientHeight:l-=i.clientHeight,this.position&&this.position.indexOf("left")>=0&&(c-=i.clientWidth-n.clientWidth),this.style={position:"absolute",top:"".concat(l,"px"),left:"".concat(c,"px"),zIndex:"99",width:this.expanded?"".concat(e.offsetWidth,"px"):void 0}}}},mounted:function(){this.appendToBody&&(this.$data._bodyEl=x(this.$refs.dropdownMenu),this.updateAppendToBody())},created:function(){"undefined"!=typeof window&&(document.addEventListener("click",this.clickedOutside),document.addEventListener("keyup",this.keyPress))},beforeDestroy:function(){"undefined"!=typeof window&&(document.removeEventListener("click",this.clickedOutside),document.removeEventListener("keyup",this.keyPress)),this.appendToBody&&M(this.$data._bodyEl)}},void 0,!1,void 0,void 0,void 0);var E=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.separator?i("hr",{staticClass:"dropdown-divider"}):e.custom||e.hasLink?i("div",{class:e.itemClasses,attrs:{role:e.ariaRoleItem,tabindex:e.isFocusable?0:null},on:{click:e.selectItem}},[e._t("default")],2):i("a",{staticClass:"dropdown-item",class:e.anchorClasses,attrs:{role:e.ariaRoleItem,tabindex:e.isFocusable?0:null},on:{click:e.selectItem}},[e._t("default")],2)},staticRenderFns:[]},void 0,{name:"BDropdownItem",mixins:[function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i={inject:{parent:{from:"b"+e,default:!1}},created:function(){if(this.parent)this.parent._registerItem&&this.parent._registerItem(this);else if(!y(t,2))throw this.$destroy(),new Error("You should wrap "+this.$options.name+" in a "+e)},beforeDestroy:function(){this.parent&&this.parent._unregisterItem&&this.parent._unregisterItem(this)}};return y(t,1)&&(i.data=function(){return{index:null}}),i}("dropdown")],props:{value:{type:[String,Number,Boolean,Object,Array,Function],default:null},separator:Boolean,disabled:Boolean,custom:Boolean,focusable:{type:Boolean,default:!0},paddingless:Boolean,hasLink:Boolean,ariaRole:{type:String,default:""}},computed:{anchorClasses:function(){return{"is-disabled":this.parent.disabled||this.disabled,"is-paddingless":this.paddingless,"is-active":this.isActive}},itemClasses:function(){return{"dropdown-item":!this.hasLink,"is-disabled":this.disabled,"is-paddingless":this.paddingless,"is-active":this.isActive,"has-link":this.hasLink}},ariaRoleItem:function(){return"menuitem"===this.ariaRole||"listitem"===this.ariaRole?this.ariaRole:null},isClickable:function(){return!(this.parent.disabled||this.separator||this.disabled||this.custom)},isActive:function(){return null!==this.parent.selected&&(this.parent.multiple?this.parent.selected.indexOf(this.value)>=0:this.value===this.parent.selected)},isFocusable:function(){return!this.hasLink&&this.focusable}},methods:{selectItem:function(){this.isClickable&&(this.parent.selectItem(this.value),this.$emit("click"))}}},void 0,!1,void 0,void 0,void 0),F={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},z=function(){var e=b&&b.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":e+"lg","is-large":e+"2x"},iconPrefix:e,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}};var R=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",{staticClass:"icon",class:[e.newType,e.size]},[e.useIconComponent?i(e.useIconComponent,{tag:"component",class:[e.customClass],attrs:{icon:[e.newPack,e.newIcon],size:e.newCustomSize}}):i("i",{class:[e.newPack,e.newIcon,e.newCustomSize,e.customClass]})],1)},staticRenderFns:[]},void 0,{name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{iconConfig:function(){var e;return(e={mdi:F,fa:z(),fas:z(),far:z(),fad:z(),fab:z(),fal:z(),"fa-solid":z(),"fa-regular":z(),"fa-light":z(),"fa-thin":z(),"fa-duotone":z(),"fa-brands":z()},b&&b.customIconPacks&&(e=k(e,b.customIconPacks,!0)),e)[this.newPack]},iconPrefix:function(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon:function(){return"".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||b.defaultIconPack},newType:function(){if(this.type){var e=[];if("string"==typeof this.type)e=this.type.split("-");else for(var t in this.type)if(this.type[t]){e=t.split("-");break}if(!(e.length<=1)){var i,n=(m(i=e)||g(i)||v()).slice(1);return"has-text-".concat(n.join("-"))}}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent:function(){return this.component||b.defaultIconComponent}},methods:{getEquivalentIconOf:function(e){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[e]?this.iconConfig.internalIcons[e]:e}}},void 0,!1,void 0,void 0,void 0);var D=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"control",class:e.rootClasses},["textarea"!==e.type?i("input",e._b({ref:"input",staticClass:"input",class:[e.inputClasses,e.customClass],attrs:{type:e.newType,autocomplete:e.newAutocomplete,maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,change:e.onChange,blur:e.onBlur,focus:e.onFocus}},"input",e.$attrs,!1)):i("textarea",e._b({ref:"textarea",staticClass:"textarea",class:[e.inputClasses,e.customClass],attrs:{maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,change:e.onChange,blur:e.onBlur,focus:e.onFocus}},"textarea",e.$attrs,!1)),e.icon?i("b-icon",{staticClass:"is-left",class:{"is-clickable":e.iconClickable},attrs:{icon:e.icon,pack:e.iconPack,size:e.iconSize},nativeOn:{click:function(t){return e.iconClick("icon-click",t)}}}):e._e(),!e.loading&&e.hasIconRight?i("b-icon",{staticClass:"is-right",class:{"is-clickable":e.passwordReveal||e.iconRightClickable},attrs:{icon:e.rightIcon,pack:e.iconPack,size:e.iconSize,type:e.rightIconType,both:""},nativeOn:{click:function(t){return e.rightIconClick(t)}}}):e._e(),e.maxlength&&e.hasCounter&&"number"!==e.type?i("small",{staticClass:"help counter",class:{"is-invisible":!e.isFocused}},[e._v(" "+e._s(e.valueLength)+" / "+e._s(e.maxlength)+" ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"BInput",components:s({},R.name,R),mixins:[A],inheritAttrs:!1,props:{value:[Number,String],type:{type:String,default:"text"},lazy:{type:Boolean,default:!1},passwordReveal:Boolean,iconClickable:Boolean,hasCounter:{type:Boolean,default:function(){return b.defaultInputHasCounter}},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,iconRightType:String},data:function(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||b.defaultInputAutocomplete,isPasswordVisible:!1,_elementRef:"textarea"===this.type?"textarea":"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(e){this.newValue=e,this.$emit("input",e)}},rootClasses:function(){return[this.iconPosition,this.size,{"is-expanded":this.expanded,"is-loading":this.loading,"is-clearfix":!this.hasMessage}]},inputClasses:function(){return[this.statusType,this.size,{"is-rounded":this.rounded}]},hasIconRight:function(){return this.passwordReveal||this.loading||this.statusIcon&&this.statusTypeIcon||this.iconRight},rightIcon:function(){return this.passwordReveal?this.passwordVisibleIcon:this.iconRight?this.iconRight:this.statusTypeIcon},rightIconType:function(){return this.passwordReveal?"is-primary":this.iconRight?this.iconRightType||null:this.statusType},iconPosition:function(){var e="";return this.icon&&(e+="has-icons-left "),this.hasIconRight&&(e+="has-icons-right"),e},statusTypeIcon:function(){switch(this.statusType){case"is-success":return"check";case"is-danger":return"alert-circle";case"is-info":return"information";case"is-warning":return"alert"}},hasMessage:function(){return!!this.statusMessage},passwordVisibleIcon:function(){return this.isPasswordVisible?"eye-off":"eye"},valueLength:function(){return"string"==typeof this.computedValue?this.computedValue.length:"number"==typeof this.computedValue?this.computedValue.toString().length:0}},watch:{value:function(e){this.newValue=e}},methods:{togglePasswordVisibility:function(){var e=this;this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick(function(){e.focus()})},iconClick:function(e,t){var i=this;this.$emit(e,t),this.$nextTick(function(){i.focus()})},rightIconClick:function(e){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",e)},onInput:function(e){if(!this.lazy){var t=e.target.value;this.updateValue(t)}},onChange:function(e){if(this.lazy){var t=e.target.value;this.updateValue(t)}},updateValue:function(e){this.computedValue=e,!this.isValid&&this.checkHtml5Validity()}}},void 0,!1,void 0,void 0,void 0);var H=L({},void 0,{name:"BFieldBody",props:{message:{type:[String,Array]},type:{type:[String,Object]}},render:function(e){var t=this,i=!0;return e("div",{attrs:{class:"field-body"}},this.$slots.default.map(function(n){return n.tag?(i&&(s=t.message,i=!1),e("b-field",{attrs:{type:t.type,message:s}},[n])):n;var s}))}},void 0,void 0,void 0,void 0,void 0);var N=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"field",class:e.rootClasses},[e.horizontal?i("div",{staticClass:"field-label",class:[e.customClass,e.fieldLabelSize]},[e.hasLabel?i("label",{staticClass:"label",class:e.customClass,attrs:{for:e.labelFor}},[e.$slots.label?e._t("label"):[e._v(e._s(e.label))]],2):e._e()]):[e.hasLabel?i("label",{staticClass:"label",class:e.customClass,attrs:{for:e.labelFor}},[e.$slots.label?e._t("label"):[e._v(e._s(e.label))]],2):e._e()],e.horizontal?i("b-field-body",{attrs:{message:e.newMessage?e.formattedMessage:"",type:e.newType}},[e._t("default")],2):e.hasInnerField?i("div",{staticClass:"field-body"},[i("b-field",{class:e.innerFieldClasses,attrs:{addons:!1}},[e._t("default")],2)],1):[e._t("default")],e.hasMessage&&!e.horizontal?i("p",{staticClass:"help",class:e.newType},[e.$slots.message?e._t("message"):[e._l(e.formattedMessage,function(t,n){return[e._v(" "+e._s(t)+" "),n+1<e.formattedMessage.length?i("br",{key:n}):e._e()]})]],2):e._e()],2)},staticRenderFns:[]},void 0,{name:"BField",components:s({},H.name,H),provide:function(){return{BField:this}},inject:{parent:{from:"BField",default:!1}},props:{type:[String,Object],label:String,labelFor:String,message:[String,Array,Object],grouped:Boolean,groupMultiline:Boolean,position:String,expanded:Boolean,horizontal:Boolean,addons:{type:Boolean,default:!0},customClass:String,labelPosition:{type:String,default:function(){return b.defaultFieldLabelPosition}}},data:function(){return{newType:this.type,newMessage:this.message,fieldLabelSize:null,_isField:!0}},computed:{rootClasses:function(){return[{"is-expanded":this.expanded,"is-horizontal":this.horizontal,"is-floating-in-label":this.hasLabel&&!this.horizontal&&"inside"===this.labelPosition,"is-floating-label":this.hasLabel&&!this.horizontal&&"on-border"===this.labelPosition},this.numberInputClasses]},innerFieldClasses:function(){return[this.fieldType(),this.newPosition,{"is-grouped-multiline":this.groupMultiline}]},hasInnerField:function(){return this.grouped||this.groupMultiline||this.hasAddons()},newPosition:function(){if(void 0!==this.position){var e=this.position.split("-");if(!(e.length<1)){var t=this.grouped?"is-grouped-":"has-addons-";return this.position?t+e[1]:void 0}}},formattedMessage:function(){if(this.parent&&this.parent.hasInnerField)return"";if("string"==typeof this.newMessage)return[this.newMessage];var e=[];if(Array.isArray(this.newMessage))this.newMessage.forEach(function(t){if("string"==typeof t)e.push(t);else for(var i in t)t[i]&&e.push(i)});else for(var t in this.newMessage)this.newMessage[t]&&e.push(t);return e.filter(function(e){if(e)return e})},hasLabel:function(){return this.label||this.$slots.label},hasMessage:function(){return(!this.parent||!this.parent.hasInnerField)&&this.newMessage||this.$slots.message},numberInputClasses:function(){if(this.$slots.default){var e=this.$slots.default.filter(function(e){return e.tag&&e.tag.toLowerCase().indexOf("numberinput")>=0})[0];if(e){var t=["has-numberinput"],i=e.componentOptions.propsData.controlsPosition,n=e.componentOptions.propsData.size;return i&&t.push("has-numberinput-".concat(i)),n&&t.push("has-numberinput-".concat(n)),t}}return null}},watch:{type:function(e){this.newType=e},message:function(e){this.newMessage=e},newMessage:function(e){this.parent&&this.parent.hasInnerField&&(this.parent.type||(this.parent.newType=this.newType),this.parent.message||(this.parent.newMessage=e))}},methods:{fieldType:function(){return this.grouped?"is-grouped":this.hasAddons()?"has-addons":void 0},hasAddons:function(){var e=0;return this.$slots.default&&(e=this.$slots.default.reduce(function(e,t){return t.tag?e+1:e},0)),e>1&&this.addons&&!this.horizontal}},mounted:function(){this.horizontal&&(this.$el.querySelectorAll(".input, .select, .button, .textarea, .b-slider").length>0&&(this.fieldLabelSize="is-normal"))}},void 0,!1,void 0,void 0,void 0);var j=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"control",class:{"is-expanded":e.expanded,"has-icons-left":e.icon}},[i("span",{staticClass:"select",class:e.spanClasses},[i("select",e._b({directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"select",attrs:{multiple:e.multiple,size:e.nativeSize},on:{blur:function(t){e.$emit("blur",t)&&e.checkHtml5Validity()},focus:function(t){return e.$emit("focus",t)},change:function(t){var i=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.computedValue=t.target.multiple?i:i[0]}}},"select",e.$attrs,!1),[e.placeholder?[null==e.computedValue?i("option",{attrs:{disabled:"",hidden:""},domProps:{value:null}},[e._v(" "+e._s(e.placeholder)+" ")]):e._e()]:e._e(),e._t("default")],2)]),e.icon?i("b-icon",{staticClass:"is-left",attrs:{icon:e.icon,pack:e.iconPack,size:e.iconSize}}):e._e()],1)},staticRenderFns:[]},void 0,{name:"BSelect",components:s({},R.name,R),mixins:[A],inheritAttrs:!1,props:{value:{type:[String,Number,Boolean,Object,Array,Function,Date],default:null},placeholder:String,multiple:Boolean,nativeSize:[String,Number]},data:function(){return{selected:this.value,_elementRef:"select"}},computed:{computedValue:{get:function(){return this.selected},set:function(e){this.selected=e,this.$emit("input",e),!this.isValid&&this.checkHtml5Validity()}},spanClasses:function(){return[this.size,this.statusType,{"is-fullwidth":this.expanded,"is-loading":this.loading,"is-multiple":this.multiple,"is-rounded":this.rounded,"is-empty":null===this.selected}]}},watch:{value:function(e){this.selected=e,!this.isValid&&this.checkHtml5Validity()}}},void 0,!1,void 0,void 0,void 0),V=.86602540378,q=0;var U=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("svg",{staticClass:"b-colorpicker-triangle",attrs:{viewBox:e.viewBox}},[i("defs",[i("linearGradient",{attrs:{id:"cp-triangle-gradient-ligthness-"+e.id,x1:"0",y1:"0",x2:"1",y2:"0"}},[i("stop",{attrs:{offset:"0%","stop-color":"#fff"}}),i("stop",{attrs:{offset:"100%","stop-color":"#000"}})],1),i("linearGradient",{attrs:{id:"cp-triangle-gradient-saturation-"+e.id,x1:"0",y1:"0",x2:"0",y2:"1"}},[i("stop",{attrs:{offset:"0%","stop-color":"hsl("+e.hue+"deg, 100%, 50%)","stop-opacity":"1"}}),i("stop",{attrs:{offset:"100%","stop-color":"hsl("+e.hue+"deg, 100%, 50%)","stop-opacity":"0"}})],1),i("clipPath",{attrs:{id:"cp-triangle-clip-"+e.id}},[i("path",{attrs:{d:e.haloPath}})])],1),i("g",{staticClass:"colorpicker-triangle-slider-hue"},[i("foreignObject",{attrs:{x:0,y:0,width:e.size,height:e.size,"clip-path":"url(#cp-triangle-clip-"+e.id+")"}},[i("div",{staticClass:"colorpicker-triangle-hue",on:{click:e.clickHue,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}})]),i("g",{style:"transform: rotate("+e.hue+"deg)"},[i("foreignObject",{attrs:{x:e.size/2-4,y:0,width:"8",height:e.thickness+4}},[i("div",{ref:"hueCursor",staticClass:"hue-range-thumb",style:"background-color: hsl("+e.hue+"deg, 100%, 50%)",attrs:{role:"slider",tabindex:"0","aria-label":"Hue","aria-valuemin":"0","aria-valuenow":e.hue,"aria-valuemax":"360"},on:{click:e.clickHue,keydown:e.hueKeyPress,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}})])],1)],1),i("g",{staticClass:"colorpicker-triangle-slider-sl",style:"transform: rotate("+e.hue+"deg) translate(50%, 50%)",attrs:{role:"graphics-datagroup","aria-datascales":"lightness, saturation"}},[i("path",{attrs:{d:e.trianglePath,fill:"url(#cp-triangle-gradient-ligthness-"+e.id+")"}}),i("path",{staticStyle:{"mix-blend-mode":"overlay"},attrs:{d:e.trianglePath,fill:"url(#cp-triangle-gradient-saturation-"+e.id+")"},on:{click:e.clickSL,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}}),i("foreignObject",{attrs:{x:(e.internalRadius-3)*e.cos30*(.5-e.lightness)*2-6,y:-e.internalRadius+(1-e.saturation)*(e.internalRadius-3)*1.5-3,width:"12",height:"12"}},[i("div",{ref:"slCursor",staticClass:"sl-range-thumb",style:{backgroundColor:"hsl("+e.hue+"deg, "+100*e.saturation+"%, "+100*e.lightness+"%)"},attrs:{tabindex:"0","aria-datavalues":100*e.saturation+"%, "+100*e.lightness+"%"},on:{click:e.clickSL,keydown:e.slKeyPress,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}})])],1)])},staticRenderFns:[]},void 0,{name:"BColorpickerHSLRepresentationTriangle",props:{value:{type:Object,required:!0,validator:function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness}},size:{type:Number,default:200},thickness:{type:Number,default:20}},data:function(){return{id:q++,hue:this.value.hue,saturation:this.value.saturation,lightness:this.value.lightness,captureMouse:!1,captureType:"hue",clientOffset:{cx:-1,cy:-1,width:0,height:0},cos30:V,sin30:.5,debounce:0}},computed:{viewBox:function(){var e=this.size;return"0 0 ".concat(e," ").concat(e)},internalRadius:function(){return this.size/2-this.thickness},haloPath:function(){var e=this.size,t=this.thickness,i=e/2-2,n=i-t,s=e/2;return"M".concat(s-i," ").concat(s,"a").concat(i," ").concat(i," 0 1 1 ").concat(2*i," 0")+"h".concat(-t)+"a".concat(-n," ").concat(n," 0 1 0 ").concat(-2*n," 0")+"a".concat(n," ").concat(n," 0 1 0 ").concat(2*n," 0")+"h".concat(t)+"a".concat(i," ").concat(i," 0 1 1 ").concat(-2*i," 0z")},trianglePath:function(){var e=(this.size-4-2*this.thickness)/2;return"M0 ".concat(-e)+"L".concat(V*e," ").concat(.5*e)+"H".concat(-V*e,"z")}},watch:{captureMouse:function(e,t){if(!1===t&&!1!==e){var i=this.$el.getBoundingClientRect();this.clientOffset.cx=i.x+i.width/2,this.clientOffset.cy=i.y+i.height/2,this.clientOffset.width=i.width,this.clientOffset.height=i.height}},value:{deep:!0,handler:function(e){var t=this,i=e.hue,n=e.saturation,s=e.lightness;window.clearTimeout(this.debounce),this.debounce=window.setTimeout(function(){t.hue=i,t.saturation=n,t.lightness=s},200)}}},methods:{increaseHue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(this.hue+e)%360},decreaseHue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(360+this.hue-e)%360},increaseSaturation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation+e)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},decreaseSaturation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation-e)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},increaseLightness:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness+e))},decreaseLightness:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness-e))},hueKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":case"ArrowUp":this.increaseHue(),t=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseHue(),t=!0;break;case"Home":this.increaseHue(360-this.hue),t=!0;break;case"End":this.decreaseHue(this.hue),t=!0;break;case"PageUp":this.increaseHue(60-this.hue%60),t=!0;break;case"PageDown":this.decreaseHue(60+this.hue%60),t=!0}t&&(e.preventDefault(),e.stopPropagation(),this.emitColor())},slKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":this.decreaseLightness(),t=!0;break;case"ArrowUp":this.increaseSaturation(),t=!0;break;case"ArrowLeft":this.increaseLightness(),t=!0;break;case"ArrowDown":this.decreaseSaturation(),t=!0;break;case"Home":this.increaseLightness(1-this.lightness),t=!0;break;case"End":this.decreaseLightness(this.lightness),t=!0;break;case"PageUp":this.increaseSaturation(1-this.saturation),t=!0;break;case"PageDown":this.decreaseSaturation(this.saturation),t=!0}t&&(e.preventDefault(),e.stopPropagation(),this.emitColor())},clickHue:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.hueCursor.focus()},clickSL:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.slCursor.focus()},trackMouse:function(e){if(!1!==this.captureMouse){e.preventDefault(),e.stopPropagation();var t=0,i=0;if(void 0!==e.touches&&e.touches.length){var n=[e.touches[0].clientX,e.touches[0].clientY];t=n[0],i=n[1]}else{var s=[e.clientX,e.clientY];t=s[0],i=s[1]}var a=Math.atan2(i-this.clientOffset.cy,t-this.clientOffset.cx);if("sl"===this.captureType){var o=Math.sqrt(Math.pow(t-this.clientOffset.cx,2)+Math.pow(i-this.clientOffset.cy,2)),r=this.size/this.clientOffset.width,l=o*Math.cos(a-this.hue/180*Math.PI)*r,c=o*Math.sin(a-this.hue/180*Math.PI)*r,u=this.internalRadius,h=1-(Math.min(.5*u,Math.max(-u,c))+u)/(u+.5*u),d=(Math.min(u*V*(1-h),Math.max(-u*V*(1-h),l))+u*V)/(2*u*V);this.saturation=Math.round(1e3*h)/1e3,this.lightness=1-Math.round(1e3*d)/1e3}else this.hue=Math.round(a/Math.PI*180+90)%360;this.emitColor()}},startMouseCapture:function(e){e.stopPropagation(),this.captureMouse=!0,null!==e.target.closest(".colorpicker-triangle-slider-sl")?this.captureType="sl":this.captureType="hue"},stopMouseCapture:function(e){!1!==this.captureMouse&&(e.preventDefault(),e.stopPropagation(),this.$refs["sl"===this.captureType?"slCursor":"hueCursor"].focus()),this.captureMouse=!1},emitColor:function(){var e=this.hue,t=this.saturation,i=this.lightness;this.$emit("input",_.fromHSL(e,t,i)),window.clearTimeout(this.debounce)}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}},void 0,!1,void 0,void 0,void 0);function W(){var e=d(["","px"]);return W=function(){return e},e}function K(){var e=d(["","px"]);return K=function(){return e},e}function X(){var e=d(["","px"]);return X=function(){return e},e}var G=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var s=[];return e.forEach(function(e,t){s.push(e),i[t]&&s.push(Number.isNaN(i[t]/1)?i[t]:Math.round(10*i)/10)}),s.join("")};var Y=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"b-colorpicker-square",style:{width:e.size+"px"}},[i("div",{staticClass:"colorpicker-square-slider-hue",on:{click:e.clickHue,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}},[i("div",{ref:"hueCursor",staticClass:"hue-range-thumb",style:e.hueThumbStyle,attrs:{role:"slider",tabindex:"0","aria-label":"Hue","aria-valuemin":"0","aria-valuemax":"359"}})]),i("div",{staticClass:"colorpicker-square-slider-sl",style:{background:e.SLBackground,margin:e.thickness+"px"},attrs:{"aria-datascales":"lightness, saturation"},on:{click:e.clickSL,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}},[i("div",{ref:"slCursor",staticClass:"sl-range-thumb",style:e.slThumbStyle,attrs:{role:"slider",tabindex:"0","aria-datavalues":100*e.saturation+"%, "+100*e.lightness+"%"},on:{click:e.clickSL,keydown:e.slKeyPress,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}})])])},staticRenderFns:[]},void 0,{name:"BColorpickerHSLRepresentationSquare",props:{value:{type:Object,required:!0,validator:function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness}},size:{type:Number,default:200},thickness:{type:Number,default:20}},data:function(){return{hue:this.value.hue,saturation:this.value.saturation,lightness:this.value.lightness,captureMouse:!1,captureType:"hue",clientOffset:{cx:-1,cy:-1,width:0,height:0},debounce:0}},computed:{hueThumbStyle:function(){var e=this.hue,t=this.size,i=this.thickness,n=t-i,s=t/2,a=(e+720+90)%360/180*Math.PI,o=1/Math.cos(Math.PI/4),r={x:-Math.min(1,Math.max(-1,o*Math.cos(a)))/2*n+s,y:-Math.min(1,Math.max(-1,o*Math.sin(a)))/2*n+s},l=r.x,c=r.y;return{background:"hsl(".concat(e,"deg, 100%, 50%)"),left:G(X(),l),top:G(K(),c),width:G(W(),i-2)}},slThumbStyle:function(){var e=this.hue,t=this.saturation,i=this.lightness;return t=Math.max(0,Math.min(1,t)),i=Math.max(0,Math.min(1,i)),{background:"hsl(".concat(e,"deg, ").concat(100*t,"%, ").concat(100*i,"%)"),left:"".concat(100*t,"%"),top:"".concat(100*(1-i),"%")}},SLBackground:function(){var e=this.hue;return"linear-gradient(90deg, hsl(".concat(e,"deg, 0%, 50%), hsl(").concat(e,"deg, 100%, 50%))")}},watch:{captureMouse:function(e,t){if(!1===t&&!1!==e){var i=this.$el.getBoundingClientRect();this.clientOffset.cx=i.x+i.width/2,this.clientOffset.cy=i.y+i.height/2,this.clientOffset.width=i.width,this.clientOffset.height=i.height}},value:{deep:!0,handler:function(e){var t=this,i=e.hue,n=e.saturation,s=e.lightness;window.clearTimeout(this.debounce),this.debounce=window.setTimeout(function(){t.hue=i,t.saturation=n,t.lightness=s},200)}}},methods:{increaseHue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(this.hue+e)%360},decreaseHue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(360+this.hue-e)%360},increaseSaturation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation+e)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},decreaseSaturation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation-e)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},increaseLightness:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness+e))},decreaseLightness:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness-e))},hueKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":case"ArrowUp":this.increaseHue(),t=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseHue(),t=!0;break;case"Home":this.increaseHue(360-this.hue),t=!0;break;case"End":this.decreaseHue(this.hue),t=!0;break;case"PageUp":this.increaseHue(60-this.hue%60),t=!0;break;case"PageDown":this.decreaseHue(60+this.hue%60),t=!0}t&&(e.preventDefault(),e.stopPropagation(),this.emitColor())},slKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":this.increaseSaturation(),t=!0;break;case"ArrowUp":this.increaseLightness(),t=!0;break;case"ArrowLeft":this.decreaseSaturation(),t=!0;break;case"ArrowDown":this.decreaseLightness(),t=!0;break;case"Home":this.increaseLightness(1-this.lightness),t=!0;break;case"End":this.decreaseLightness(this.lightness),t=!0;break;case"PageUp":this.increaseSaturation(1-this.saturation),t=!0;break;case"PageDown":this.decreaseSaturation(this.saturation),t=!0}t&&(e.preventDefault(),e.stopPropagation(),this.emitColor())},startMouseCapture:function(e){e.stopPropagation(),this.captureMouse=!0,null!==e.target.closest(".colorpicker-square-slider-sl")?this.captureType="sl":this.captureType="hue"},stopMouseCapture:function(e){!1!==this.captureMouse&&(e.preventDefault(),e.stopPropagation(),this.$refs["sl"===this.captureType?"slCursor":"hueCursor"].focus()),this.captureMouse=!1},clickHue:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.hueCursor.focus()},clickSL:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.slCursor.focus()},trackMouse:function(e){if(!1!==this.captureMouse){e.preventDefault(),e.stopPropagation();var t=0,i=0;if(void 0!==e.touches&&e.touches.length){var n=[e.touches[0].clientX,e.touches[0].clientY];t=n[0],i=n[1]}else{var s=[e.clientX,e.clientY];t=s[0],i=s[1]}var a=Math.atan2(i-this.clientOffset.cy,t-this.clientOffset.cx);if("sl"===this.captureType){var o=(t-this.clientOffset.cx)/(this.clientOffset.width-2*this.thickness)+.5,r=(i-this.clientOffset.cy)/(this.clientOffset.height-2*this.thickness)+.5;this.saturation=Math.round(1e3*Math.min(1,Math.max(0,o)))/1e3,this.lightness=1-Math.round(1e3*Math.min(1,Math.max(0,r)))/1e3}else this.hue=Math.round(a/Math.PI*180+90)%360;this.emitColor()}},emitColor:function(){var e=this.hue,t=this.saturation,i=this.lightness;this.$emit("input",_.fromHSL(e,t,i)),window.clearTimeout(this.debounce)}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}},void 0,!1,void 0,void 0,void 0);var Q=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"tooltip",class:e.rootClasses},[i("transition",{attrs:{name:e.newAnimation}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.active&&(e.isActive||e.always),expression:"active && (isActive || always)"}],ref:"content",class:["tooltip-content",e.contentClass]},[e.label?[e._v(e._s(e.label))]:e.$slots.content?[e._t("content")]:e._e()],2)]),i("div",{ref:"trigger",staticClass:"tooltip-trigger",style:e.triggerStyle,on:{click:e.onClick,contextmenu:e.onContextMenu,mouseenter:e.onHover,"!focus":function(t){return e.onFocus(t)},"!blur":function(t){return e.close(t)},mouseleave:e.close}},[e._t("default")],2)],1)},staticRenderFns:[]},void 0,{name:"BTooltip",props:{active:{type:Boolean,default:!0},type:{type:String,default:function(){return b.defaultTooltipType}},label:String,delay:{type:Number,default:function(){return b.defaultTooltipDelay}},position:{type:String,default:"is-top",validator:function(e){return["is-top","is-bottom","is-left","is-right"].indexOf(e)>-1}},triggers:{type:Array,default:function(){return["hover"]}},always:Boolean,square:Boolean,dashed:Boolean,multilined:Boolean,size:{type:String,default:"is-medium"},appendToBody:Boolean,animated:{type:Boolean,default:!0},animation:{type:String,default:"fade"},contentClass:String,autoClose:{type:[Array,Boolean],default:!0}},data:function(){return{isActive:!1,triggerStyle:{},timer:null,_bodyEl:void 0}},computed:{rootClasses:function(){return["b-tooltip",this.type,this.position,this.size,{"is-square":this.square,"is-always":this.always,"is-multiline":this.multilined,"is-dashed":this.dashed}]},newAnimation:function(){return this.animated?this.animation:void 0}},watch:{isActive:function(e){this.appendToBody&&this.updateAppendToBody()}},methods:{updateAppendToBody:function(){var e=this.$refs.tooltip,i=this.$refs.trigger;if(e&&i){var n=this.$data._bodyEl.children[0];n.classList.forEach(function(e){return n.classList.remove(e)}),this.$vnode&&this.$vnode.data&&this.$vnode.data.staticClass&&n.classList.add(this.$vnode.data.staticClass),this.rootClasses.forEach(function(e){if("object"===t(e))for(var i in e)e[i]&&n.classList.add(i);else n.classList.add(e)}),n.style.width="".concat(i.clientWidth,"px"),n.style.height="".concat(i.clientHeight,"px");var s=i.getBoundingClientRect(),a=s.top+window.scrollY,o=s.left+window.scrollX,r=this.$data._bodyEl;r.style.position="absolute",r.style.top="".concat(a,"px"),r.style.left="".concat(o,"px"),r.style.zIndex=this.isActive||this.always?"99":"-1",this.triggerStyle={zIndex:this.isActive||this.always?"100":void 0}}},onClick:function(){var e=this;this.triggers.indexOf("click")<0||this.$nextTick(function(){setTimeout(function(){return e.open()})})},onHover:function(){this.triggers.indexOf("hover")<0||this.open()},onContextMenu:function(e){this.triggers.indexOf("contextmenu")<0||(e.preventDefault(),this.open())},onFocus:function(){this.triggers.indexOf("focus")<0||this.open()},open:function(){var e=this;this.delay?this.timer=setTimeout(function(){e.isActive=!0,e.timer=null},this.delay):this.isActive=!0},close:function(){"boolean"==typeof this.autoClose&&(this.isActive=!this.autoClose,this.autoClose&&this.timer&&clearTimeout(this.timer))},clickedOutside:function(e){if(this.isActive&&Array.isArray(this.autoClose)){if(this.autoClose.includes("outside")&&!this.isInWhiteList(e.target))return void(this.isActive=!1);this.autoClose.includes("inside")&&this.isInWhiteList(e.target)&&(this.isActive=!1)}},keyPress:function(e){var t=e.key;!this.isActive||"Escape"!==t&&"Esc"!==t||Array.isArray(this.autoClose)&&this.autoClose.indexOf("escape")>=0&&(this.isActive=!1)},isInWhiteList:function(e){if(e===this.$refs.content)return!0;if(void 0!==this.$refs.content){var t=this.$refs.content.querySelectorAll("*"),i=!0,n=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done);i=!0){if(e===a.value)return!0}}catch(e){n=!0,s=e}finally{try{i||null==o.return||o.return()}finally{if(n)throw s}}}return!1}},mounted:function(){this.appendToBody&&"undefined"!=typeof window&&(this.$data._bodyEl=x(this.$refs.content),this.updateAppendToBody())},created:function(){"undefined"!=typeof window&&(document.addEventListener("click",this.clickedOutside),document.addEventListener("keyup",this.keyPress))},beforeDestroy:function(){"undefined"!=typeof window&&(document.removeEventListener("click",this.clickedOutside),document.removeEventListener("keyup",this.keyPress)),this.appendToBody&&M(this.$data._bodyEl)}},void 0,!1,void 0,void 0,void 0);var J,Z=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"b-colorpicker-alpha-slider",style:e.style,on:{click:e.clickAlpha,keydown:e.alphaKeyPress,mousedown:e.startMouseCapture,touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}},[i("div",{ref:"alphaCursor",staticClass:"alpha-range-thumb",style:{left:e.percent+"%"},attrs:{role:"slider",tabindex:"0","aria-label":"Tranparency","aria-valuemin":"0","aria-valuenow":e.percent,"aria-valuemax":"100"}},[i("b-tooltip",{attrs:{label:e.percent+"%",always:e.captureMouse}})],1)])},staticRenderFns:[]},void 0,{name:"BColorpickerAlphaSlider",components:s({},Q.name,Q),props:{value:{type:Number,validator:function(e){return e>=0&&e<256}},color:[String,Object]},data:function(){var e=_.parse(this.color);return e.alpha=0,{startColor:e.toString("hex"),endColor:e.toString("hexa"),percent:Math.round(100*(1-this.value/255)),captureMouse:!1,clientOffset:{cx:-1,cy:-1,width:0,height:0}}},computed:{style:function(){return{backgroundImage:"linear-gradient(90deg, ".concat(this.startColor," 0%, ").concat(this.endColor," 100%),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7)"),backgroundSize:"100% 100%, 1em 1em, 1em 1em",backgroundPosition:"0 0, .5em .5em, 0 0"}}},watch:{value:function(e,t){e!==t&&(this.percent=Math.round(100*(1-e/255)))},color:function(e){var t=_.parse(e);t.alpha=0,this.startColor=t.toString("hex"),this.endColor=t.toString("hexa")},captureMouse:function(e,t){if(!1===t&&!1!==e){var i=this.$el.getBoundingClientRect();this.clientOffset.cx=i.x+i.width/2,this.clientOffset.cy=i.y+i.height/2,this.clientOffset.width=i.width,this.clientOffset.height=i.height}}},methods:{increaseAlpha:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.percent=Math.max(0,Math.min(100,this.percent+e))},decreaseAlpha:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.increaseAlpha(-e)},alphaKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":case"ArrowUp":this.increaseAlpha(),t=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseAlpha(),t=!0;break;case"Home":this.decreaseAlpha(this.percent),t=!0;break;case"End":this.increaseAlpha(100-this.percent),t=!0;break;case"PageUp":this.increaseAlpha(10-this.percent%10),t=!0;break;case"PageDown":this.decreaseAlpha(this.percent%10),t=!0}t&&(e.preventDefault(),e.stopPropagation(),this.emitAlpha())},clickAlpha:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.alphaCursor.focus()},startMouseCapture:function(e){e.stopPropagation(),this.captureMouse=!0},trackMouse:function(e){if(!1!==this.captureMouse){e.preventDefault(),e.stopPropagation();var t=0;if(void 0!==e.touches&&e.touches.length)t=[e.touches[0].clientX][0];else t=[e.clientX][0];var i=.5+(this.clientOffset.cx-t)/this.clientOffset.width;this.percent=Math.round(100-100*Math.max(0,Math.min(1,i))),this.emitAlpha()}},stopMouseCapture:function(e){!1!==this.captureMouse&&(e.preventDefault(),e.stopPropagation(),this.$refs.alphaCursor.focus()),this.captureMouse=!1},emitAlpha:function(){this.$emit("input",255*(1-this.percent/100))}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}},void 0,!1,void 0,void 0,void 0);var ee,te=L({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"colorpicker control",class:[e.size,{"is-expanded":e.expanded}]},[!e.isMobile||e.inline?i("b-dropdown",{ref:"dropdown",attrs:{position:e.position,expanded:e.expanded,disabled:e.disabled,inline:e.inline,"mobile-modal":e.mobileModal,"trap-focus":e.trapFocus,"aria-role":e.ariaRole,"aria-modal":!e.inline,"append-to-body":e.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":e.onActiveChange},scopedSlots:e._u([e.inline?null:{key:"trigger",fn:function(){return[e._t("trigger",[i("b-button",{style:e.triggerStyle,attrs:{expanded:e.expanded,disabled:e.disabled}},[i("span",{staticClass:"color-name"},[e._v(e._s(e.colorFormatter(e.colorSelected)))])])])]},proxy:!0}],null,!0)},[i("b-dropdown-item",{class:{"dropdown-horizonal-colorpicker":e.horizontalColorPicker},attrs:{disabled:e.disabled,focusable:e.focusable,custom:""}},[i("div",[i("header",{staticClass:"colorpicker-header"},[void 0!==e.$slots.header&&e.$slots.header.length?[e._t("header")]:e._e()],2),i("div",{staticClass:"colorpicker-content"},["square"===e.representation?i("b-colorpicker-h-s-l-representation-square",{attrs:{value:e.colorSelected},on:{input:e.updateColor}}):i("b-colorpicker-h-s-l-representation-triangle",{attrs:{value:e.colorSelected},on:{input:e.updateColor}})],1)]),i("footer",{staticClass:"colorpicker-footer"},[e.alpha?i("b-colorpicker-alpha-slider",{attrs:{color:e.colorSelected},model:{value:e.colorSelected.alpha,callback:function(t){e.$set(e.colorSelected,"alpha",t)},expression:"colorSelected.alpha"}}):e._e(),e._t("footer",[i("b-field",{staticClass:"colorpicker-fields",attrs:{grouped:""}},[i("b-field",{attrs:{horizontal:"",label:"R"}},[i("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Red"},model:{value:e.colorSelected.red,callback:function(t){e.$set(e.colorSelected,"red",e._n(t))},expression:"colorSelected.red"}})],1),i("b-field",{attrs:{horizontal:"",label:"G"}},[i("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Green"},model:{value:e.colorSelected.green,callback:function(t){e.$set(e.colorSelected,"green",e._n(t))},expression:"colorSelected.green"}})],1),i("b-field",{attrs:{horizontal:"",label:"B"}},[i("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Blue"},model:{value:e.colorSelected.blue,callback:function(t){e.$set(e.colorSelected,"blue",e._n(t))},expression:"colorSelected.blue"}})],1)],1)],{color:e.colorSelected})],2)])],1):e._e()],1)},staticRenderFns:[]},void 0,{name:"BColorpicker",components:(J={},s(J,U.name,U),s(J,Y.name,Y),s(J,Z.name,Z),s(J,D.name,D),s(J,N.name,N),s(J,j.name,j),s(J,R.name,R),s(J,T.name,T),s(J,E.name,E),J),mixins:[A],inheritAttrs:!1,provide:function(){return{$colorpicker:this}},props:{value:{type:[String,Object],validator:function(e){return"string"==typeof e||"object"===t(e)&&"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue}},representation:{type:String,default:"triangle",value:function(e){return["triangle","square"].some(function(t){return t===e})}},inline:Boolean,disabled:Boolean,horizontalColorPicker:{type:Boolean,default:!1},colorFormatter:{type:Function,default:function(e,t){return"function"==typeof b.defaultColorFormatter?b.defaultColorFormatter(e):function(e,t){return e.alpha<1?e.toString("hexa"):e.toString("hex")}(e)}},colorParser:{type:Function,default:function(e,t){return"function"==typeof b.defaultColorParser?b.defaultColorParser(e):function(e,t){return _.parse(e)}(e)}},alpha:{type:Boolean,default:!1},expanded:Boolean,position:String,mobileModal:{type:Boolean,default:function(){return b.defaultDatepickerMobileModal}},focusable:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:function(){return b.defaultTrapFocus}},appendToBody:Boolean},data:function(){return{colorSelected:this.colorParser(this.value)}},computed:{background:function(){if(this.alpha)return"linear-gradient(\n 45deg,\n ".concat(this.colorSelected.toString("hex")," 50%,\n ").concat(this.colorSelected.toString("hexa")," 50%\n )");var e=this.colorSelected.toString("hex");return"linear-gradient(\n 45deg,\n ".concat(e," 50%,\n ").concat(e," 50%\n )")},triggerStyle:function(){var e=this.colorSelected,t=.299*e.red+.587*e.green+.114*e.blue>186;return{backgroundColor:"#ffffff",backgroundImage:"\n ".concat(this.background,",\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7)\n "),backgroundSize:"100% 100%, 16px 16px, 16px 16px",backgroundPosition:"0 0, 8px 8px, 0 0",color:t?"#000000":"#FFFFFF",textShadow:"0 0 2px ".concat(t?"#FFFFFFAA":"#000000AA")}},isMobile:function(){return this.mobileNative&&C.any()},ariaRole:function(){if(!this.inline)return"dialog"}},watch:{value:function(e){this.colorSelected=new _(e)}},methods:{updateColor:function(e){e.alpha=this.colorSelected.alpha,this.colorSelected=e,this.$emit("change",e)},formatValue:function(e){return e?this.colorFormatter(e,this):null},togglePicker:function(e){if(this.$refs.dropdown){var t="boolean"==typeof e?e:!this.$refs.dropdown.isActive;t?this.$refs.dropdown.isActive=t:this.closeOnClick&&(this.$refs.dropdown.isActive=t)}},handleOnFocus:function(e){this.onFocus(e),this.openOnFocus&&this.togglePicker(!0)},toggle:function(){if(this.mobileNative&&this.isMobile){var e=this.$refs.input.$refs.input;return e.focus(),void e.click()}this.$refs.dropdown.toggle()},onInputClick:function(e){this.$refs.dropdown.isActive&&e.stopPropagation()},keyPress:function(e){var t=e.key;this.$refs.dropdown&&this.$refs.dropdown.isActive&&("Escape"===t||"Esc"===t)&&this.togglePicker(!1)},onActiveChange:function(e){e||this.onBlur(),this.$emit("active-change",e)}}},void 0,!1,void 0,void 0,void 0),ie={install:function(e){!function(e,t){e.component(t.name,t)}(e,te)}};ee=ie,"undefined"!=typeof window&&window.Vue&&window.Vue.use(ee),e.BColorpicker=te,e.default=ie,Object.defineProperty(e,"__esModule",{value:!0})});
@@ -1,4 +1,4 @@
1
- /*! Buefy v0.9.13 | MIT License | github.com/buefy/buefy */
1
+ /*! Buefy v0.9.17 | MIT License | github.com/buefy/buefy */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -803,6 +803,7 @@
803
803
  var _this = this;
804
804
 
805
805
  this.$emit('active-change', value);
806
+ this.handleScroll();
806
807
 
807
808
  if (this.appendToBody) {
808
809
  this.$nextTick(function () {
@@ -812,6 +813,18 @@
812
813
  }
813
814
  },
814
815
  methods: {
816
+ handleScroll: function handleScroll() {
817
+ if (typeof window === 'undefined') return;
818
+
819
+ if (this.isMobileModal) {
820
+ if (this.isActive) {
821
+ document.documentElement.classList.add('is-clipped-touch');
822
+ } else {
823
+ document.documentElement.classList.remove('is-clipped-touch');
824
+ }
825
+ }
826
+ },
827
+
815
828
  /**
816
829
  * Click listener from DropdownItem.
817
830
  * 1. Set new selected item.
@@ -1372,7 +1385,13 @@
1372
1385
  far: faIcons(),
1373
1386
  fad: faIcons(),
1374
1387
  fab: faIcons(),
1375
- fal: faIcons()
1388
+ fal: faIcons(),
1389
+ 'fa-solid': faIcons(),
1390
+ 'fa-regular': faIcons(),
1391
+ 'fa-light': faIcons(),
1392
+ 'fa-thin': faIcons(),
1393
+ 'fa-duotone': faIcons(),
1394
+ 'fa-brands': faIcons()
1376
1395
  };
1377
1396
 
1378
1397
  if (config && config.customIconPacks) {
@@ -1882,12 +1901,12 @@
1882
1901
  return this.grouped || this.groupMultiline || this.hasAddons();
1883
1902
  },
1884
1903
 
1885
- /**
1886
- * Correct Bulma class for the side of the addon or group.
1887
- *
1888
- * This is not kept like the others (is-small, etc.),
1889
- * because since 'has-addons' is set automatically it
1890
- * doesn't make sense to teach users what addons are exactly.
1904
+ /**
1905
+ * Correct Bulma class for the side of the addon or group.
1906
+ *
1907
+ * This is not kept like the others (is-small, etc.),
1908
+ * because since 'has-addons' is set automatically it
1909
+ * doesn't make sense to teach users what addons are exactly.
1891
1910
  */
1892
1911
  newPosition: function newPosition() {
1893
1912
  if (this.position === undefined) return;
@@ -1897,9 +1916,9 @@
1897
1916
  if (this.position) return prefix + position[1];
1898
1917
  },
1899
1918
 
1900
- /**
1901
- * Formatted message in case it's an array
1902
- * (each element is separated by <br> tag)
1919
+ /**
1920
+ * Formatted message in case it's an array
1921
+ * (each element is separated by <br> tag)
1903
1922
  */
1904
1923
  formattedMessage: function formattedMessage() {
1905
1924
  if (this.parent && this.parent.hasInnerField) {
@@ -1969,22 +1988,22 @@
1969
1988
  }
1970
1989
  },
1971
1990
  watch: {
1972
- /**
1973
- * Set internal type when prop change.
1991
+ /**
1992
+ * Set internal type when prop change.
1974
1993
  */
1975
1994
  type: function type(value) {
1976
1995
  this.newType = value;
1977
1996
  },
1978
1997
 
1979
- /**
1980
- * Set internal message when prop change.
1998
+ /**
1999
+ * Set internal message when prop change.
1981
2000
  */
1982
2001
  message: function message(value) {
1983
2002
  this.newMessage = value;
1984
2003
  },
1985
2004
 
1986
- /**
1987
- * Set parent message if we use Field in Field.
2005
+ /**
2006
+ * Set parent message if we use Field in Field.
1988
2007
  */
1989
2008
  newMessage: function newMessage(value) {
1990
2009
  if (this.parent && this.parent.hasInnerField) {
@@ -1999,11 +2018,11 @@
1999
2018
  }
2000
2019
  },
2001
2020
  methods: {
2002
- /**
2003
- * Field has addons if there are more than one slot
2004
- * (element / component) in the Field.
2005
- * Or is grouped when prop is set.
2006
- * Is a method to be called when component re-render.
2021
+ /**
2022
+ * Field has addons if there are more than one slot
2023
+ * (element / component) in the Field.
2024
+ * Or is grouped when prop is set.
2025
+ * Is a method to be called when component re-render.
2007
2026
  */
2008
2027
  fieldType: function fieldType() {
2009
2028
  if (this.grouped) return 'is-grouped';
@@ -2301,11 +2320,14 @@
2301
2320
  resWeek = week;
2302
2321
  }
2303
2322
 
2304
- return resWeek;
2323
+ return {
2324
+ week: resWeek,
2325
+ year: resYear
2326
+ };
2305
2327
  },
2306
- clickWeekNumber: function clickWeekNumber(week) {
2328
+ clickWeekNumber: function clickWeekNumber(weekData) {
2307
2329
  if (this.weekNumberClickable) {
2308
- this.$datepicker.$emit('week-number-click', week);
2330
+ this.$datepicker.$emit('week-number-click', weekData.week, weekData.year);
2309
2331
  }
2310
2332
  },
2311
2333
 
@@ -2518,7 +2540,7 @@
2518
2540
  const __vue_script__$7 = script$7;
2519
2541
 
2520
2542
  /* template */
2521
- var __vue_render__$6 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"datepicker-row"},[(_vm.showWeekNumber)?_c('a',{staticClass:"datepicker-cell is-week-number",class:{'is-clickable': _vm.weekNumberClickable },on:{"click":function($event){$event.preventDefault();_vm.clickWeekNumber(_vm.getWeekNumber(_vm.week[6]));}}},[_c('span',[_vm._v(_vm._s(_vm.getWeekNumber(_vm.week[6])))])]):_vm._e(),_vm._l((_vm.week),function(weekDay,index){return [(_vm.selectableDate(weekDay) && !_vm.disabled)?_c('a',{key:index,ref:("day-" + (weekDay.getMonth()) + "-" + (weekDay.getDate())),refInFor:true,staticClass:"datepicker-cell",class:_vm.classObject(weekDay),attrs:{"role":"button","href":"#","disabled":_vm.disabled,"tabindex":_vm.day === weekDay.getDate() && _vm.month === weekDay.getMonth() ? null : -1},on:{"click":function($event){$event.preventDefault();return _vm.emitChosenDate(weekDay)},"mouseenter":function($event){return _vm.setRangeHoverEndDate(weekDay)},"keydown":function($event){return _vm.manageKeydown($event, weekDay)}}},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()]):_c('div',{key:index,staticClass:"datepicker-cell",class:_vm.classObject(weekDay)},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()])]})],2)};
2543
+ var __vue_render__$6 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"datepicker-row"},[(_vm.showWeekNumber)?_c('a',{staticClass:"datepicker-cell is-week-number",class:{'is-clickable': _vm.weekNumberClickable },on:{"click":function($event){$event.preventDefault();_vm.clickWeekNumber(_vm.getWeekNumber(_vm.week[6]));}}},[_c('span',[_vm._v(_vm._s(_vm.getWeekNumber(_vm.week[6]).week))])]):_vm._e(),_vm._l((_vm.week),function(weekDay,index){return [(_vm.selectableDate(weekDay) && !_vm.disabled)?_c('a',{key:index,ref:("day-" + (weekDay.getMonth()) + "-" + (weekDay.getDate())),refInFor:true,staticClass:"datepicker-cell",class:_vm.classObject(weekDay),attrs:{"role":"button","href":"#","disabled":_vm.disabled,"tabindex":_vm.day === weekDay.getDate() && _vm.month === weekDay.getMonth() ? null : -1},on:{"click":function($event){$event.preventDefault();return _vm.emitChosenDate(weekDay)},"mouseenter":function($event){return _vm.setRangeHoverEndDate(weekDay)},"keydown":function($event){return _vm.manageKeydown($event, weekDay)}}},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()]):_c('div',{key:index,staticClass:"datepicker-cell",class:_vm.classObject(weekDay)},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()])]})],2)};
2522
2544
  var __vue_staticRenderFns__$6 = [];
2523
2545
 
2524
2546
  /* style */