{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"jQuery\"","webpack:///./vendor/assets/libs/minicolors/minicolors.js","webpack:///./node_modules/@claviska/jquery-minicolors/jquery.minicolors.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","window","_typeof","iterator","obj","constructor","$","destroy","input","minicolors","parent","removeData","removeProp","removeClass","before","remove","show","panel","find","settings","data","prop","hasClass","hide","addClass","animate","stop","fadeIn","showSpeed","each","this","fadeOut","hideSpeed","move","target","event","wx","wy","phi","styles","parents","picker","offsetX","offset","left","offsetY","top","x","Math","round","pageX","y","pageY","duration","animationSpeed","originalEvent","changedTouches","width","height","is","sqrt","atan2","PI","cos","sin","animationEasing","updateFromControl","css","getCoords","container","length","outerWidth","outerHeight","hue","saturation","brightness","hex","val","opacity","attr","swatch","grid","slider","opacitySlider","gridPicker","sliderPicker","opacityPicker","gridPos","sliderPos","opacityPos","control","keepWithin","hsb2hex","h","b","floor","parseInt","updateInput","parseFloat","toFixed","backgroundColor","doChange","rgb","format","isRgb","parseRgb","hex2rgb","parseHex","isNaN","a","g","rgbString2hex","convertCase","letterCase","updateFromInput","preserveInputValue","hsb","keywords","alpha","getAlpha","parseInput","defaultValue","min","max","delta","rgb2hsb","hex2hsb","map","split","trim","toLowerCase","inArray","ceil","sel","lastChange","swatches","eq","change","changeDelay","clearTimeout","setTimeout","trigger","string","toUpperCase","expand","replace","match","rgba","undefined","toString","slice","rgb2hex","nr","join","v","t1","t2","t3","hsb2rgb","indexOf","substring","defaults","inline","position","theme","extend","fn","method","rgbString","color","size","swatchString","toggleClass","wrap","after","next","on","preventDefault","focus","end","appendTo","type","init","document","add","delegateTarget","swatchOpacity","closest","which","blur"],"mappings":"4DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAi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\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"https://optimal.seneris.com/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 872);\n","(function() { module.exports = window[\"jQuery\"]; }());","import '@claviska/jquery-minicolors/jquery.minicolors.js'\n","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n//\n// jQuery MiniColors: A tiny color picker built on jQuery\n//\n// Developed by Cory LaViska for A Beautiful Site, LLC\n//\n// Licensed under the MIT license: http://opensource.org/licenses/MIT\n//\n(function (factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['jquery'], factory);\n } else if ((typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object') {\n // Node/CommonJS\n module.exports = factory(require('jquery'));\n } else {\n // Browser globals\n factory(jQuery);\n }\n})(function ($) {\n 'use strict'; // Defaults\n\n $.minicolors = {\n defaults: {\n animationSpeed: 50,\n animationEasing: 'swing',\n change: null,\n changeDelay: 0,\n control: 'hue',\n defaultValue: '',\n format: 'hex',\n hide: null,\n hideSpeed: 100,\n inline: false,\n keywords: '',\n letterCase: 'lowercase',\n opacity: false,\n position: 'bottom',\n show: null,\n showSpeed: 100,\n theme: 'default',\n swatches: []\n }\n }; // Public methods\n\n $.extend($.fn, {\n minicolors: function minicolors(method, data) {\n switch (method) {\n // Destroy the control\n case 'destroy':\n $(this).each(function () {\n destroy($(this));\n });\n return $(this);\n // Hide the color picker\n\n case 'hide':\n hide();\n return $(this);\n // Get/set opacity\n\n case 'opacity':\n // Getter\n if (data === undefined) {\n // Getter\n return $(this).attr('data-opacity');\n } else {\n // Setter\n $(this).each(function () {\n updateFromInput($(this).attr('data-opacity', data));\n });\n }\n\n return $(this);\n // Get an RGB(A) object based on the current color/opacity\n\n case 'rgbObject':\n return rgbObject($(this), method === 'rgbaObject');\n // Get an RGB(A) string based on the current color/opacity\n\n case 'rgbString':\n case 'rgbaString':\n return rgbString($(this), method === 'rgbaString');\n // Get/set settings on the fly\n\n case 'settings':\n if (data === undefined) {\n return $(this).data('minicolors-settings');\n } else {\n // Setter\n $(this).each(function () {\n var settings = $(this).data('minicolors-settings') || {};\n destroy($(this));\n $(this).minicolors($.extend(true, settings, data));\n });\n }\n\n return $(this);\n // Show the color picker\n\n case 'show':\n show($(this).eq(0));\n return $(this);\n // Get/set the hex color value\n\n case 'value':\n if (data === undefined) {\n // Getter\n return $(this).val();\n } else {\n // Setter\n $(this).each(function () {\n if (_typeof(data) === 'object' && data !== null) {\n if (data.opacity !== undefined) {\n $(this).attr('data-opacity', keepWithin(data.opacity, 0, 1));\n }\n\n if (data.color) {\n $(this).val(data.color);\n }\n } else {\n $(this).val(data);\n }\n\n updateFromInput($(this));\n });\n }\n\n return $(this);\n // Initializes the control\n\n default:\n if (method !== 'create') data = method;\n $(this).each(function () {\n init($(this), data);\n });\n return $(this);\n }\n }\n }); // Initialize input elements\n\n function init(input, settings) {\n var minicolors = $('
');\n var defaults = $.minicolors.defaults;\n var name;\n var size;\n var swatches;\n var swatch;\n var swatchString;\n var panel;\n var i; // Do nothing if already initialized\n\n if (input.data('minicolors-initialized')) return; // Handle settings\n\n settings = $.extend(true, {}, defaults, settings); // The wrapper\n\n minicolors.addClass('minicolors-theme-' + settings.theme).toggleClass('minicolors-with-opacity', settings.opacity); // Custom positioning\n\n if (settings.position !== undefined) {\n $.each(settings.position.split(' '), function () {\n minicolors.addClass('minicolors-position-' + this);\n });\n } // Input size\n\n\n if (settings.format === 'rgb') {\n size = settings.opacity ? '25' : '20';\n } else {\n size = settings.keywords ? '11' : '7';\n } // The input\n\n\n input.addClass('minicolors-input').data('minicolors-initialized', false).data('minicolors-settings', settings).prop('size', size).wrap(minicolors).after('
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
'); // The swatch\n\n if (!settings.inline) {\n input.after('');\n input.next('.minicolors-input-swatch').on('click', function (event) {\n event.preventDefault();\n input.focus();\n });\n } // Prevent text selection in IE\n\n\n panel = input.parent().find('.minicolors-panel');\n panel.on('selectstart', function () {\n return false;\n }).end(); // Swatches\n\n if (settings.swatches && settings.swatches.length !== 0) {\n panel.addClass('minicolors-with-swatches');\n swatches = $('').appendTo(panel);\n\n for (i = 0; i < settings.swatches.length; ++i) {\n // allow for custom objects as swatches\n if ($.type(settings.swatches[i]) === 'object') {\n name = settings.swatches[i].name;\n swatch = settings.swatches[i].color;\n } else {\n name = '';\n swatch = settings.swatches[i];\n }\n\n swatchString = swatch;\n swatch = isRgb(swatch) ? parseRgb(swatch, true) : hex2rgb(parseHex(swatch, true));\n $('
  • ').appendTo(swatches).data('swatch-color', swatchString).find('.minicolors-swatch-color').css({\n backgroundColor: rgb2hex(swatch),\n opacity: swatch.a\n });\n settings.swatches[i] = swatch;\n }\n } // Inline controls\n\n\n if (settings.inline) input.parent().addClass('minicolors-inline');\n updateFromInput(input, false);\n input.data('minicolors-initialized', true);\n } // Returns the input back to its original state\n\n\n function destroy(input) {\n var minicolors = input.parent(); // Revert the input element\n\n input.removeData('minicolors-initialized').removeData('minicolors-settings').removeProp('size').removeClass('minicolors-input'); // Remove the wrap and destroy whatever remains\n\n minicolors.before(input).remove();\n } // Shows the specified dropdown panel\n\n\n function show(input) {\n var minicolors = input.parent();\n var panel = minicolors.find('.minicolors-panel');\n var settings = input.data('minicolors-settings'); // Do nothing if uninitialized, disabled, inline, or already open\n\n if (!input.data('minicolors-initialized') || input.prop('disabled') || minicolors.hasClass('minicolors-inline') || minicolors.hasClass('minicolors-focus')) return;\n hide();\n minicolors.addClass('minicolors-focus');\n\n if (panel.animate) {\n panel.stop(true, true).fadeIn(settings.showSpeed, function () {\n if (settings.show) settings.show.call(input.get(0));\n });\n } else {\n panel.show();\n if (settings.show) settings.show.call(input.get(0));\n }\n } // Hides all dropdown panels\n\n\n function hide() {\n $('.minicolors-focus').each(function () {\n var minicolors = $(this);\n var input = minicolors.find('.minicolors-input');\n var panel = minicolors.find('.minicolors-panel');\n var settings = input.data('minicolors-settings');\n\n if (panel.animate) {\n panel.fadeOut(settings.hideSpeed, function () {\n if (settings.hide) settings.hide.call(input.get(0));\n minicolors.removeClass('minicolors-focus');\n });\n } else {\n panel.hide();\n if (settings.hide) settings.hide.call(input.get(0));\n minicolors.removeClass('minicolors-focus');\n }\n });\n } // Moves the selected picker\n\n\n function move(target, event, animate) {\n var input = target.parents('.minicolors').find('.minicolors-input');\n var settings = input.data('minicolors-settings');\n var picker = target.find('[class$=-picker]');\n var offsetX = target.offset().left;\n var offsetY = target.offset().top;\n var x = Math.round(event.pageX - offsetX);\n var y = Math.round(event.pageY - offsetY);\n var duration = animate ? settings.animationSpeed : 0;\n var wx, wy, r, phi, styles; // Touch support\n\n if (event.originalEvent.changedTouches) {\n x = event.originalEvent.changedTouches[0].pageX - offsetX;\n y = event.originalEvent.changedTouches[0].pageY - offsetY;\n } // Constrain picker to its container\n\n\n if (x < 0) x = 0;\n if (y < 0) y = 0;\n if (x > target.width()) x = target.width();\n if (y > target.height()) y = target.height(); // Constrain color wheel values to the wheel\n\n if (target.parent().is('.minicolors-slider-wheel') && picker.parent().is('.minicolors-grid')) {\n wx = 75 - x;\n wy = 75 - y;\n r = Math.sqrt(wx * wx + wy * wy);\n phi = Math.atan2(wy, wx);\n if (phi < 0) phi += Math.PI * 2;\n\n if (r > 75) {\n r = 75;\n x = 75 - 75 * Math.cos(phi);\n y = 75 - 75 * Math.sin(phi);\n }\n\n x = Math.round(x);\n y = Math.round(y);\n } // Move the picker\n\n\n styles = {\n top: y + 'px'\n };\n\n if (target.is('.minicolors-grid')) {\n styles.left = x + 'px';\n }\n\n if (picker.animate) {\n picker.stop(true).animate(styles, duration, settings.animationEasing, function () {\n updateFromControl(input, target);\n });\n } else {\n picker.css(styles);\n updateFromControl(input, target);\n }\n } // Sets the input based on the color picker values\n\n\n function updateFromControl(input, target) {\n function getCoords(picker, container) {\n var left, top;\n if (!picker.length || !container) return null;\n left = picker.offset().left;\n top = picker.offset().top;\n return {\n x: left - container.offset().left + picker.outerWidth() / 2,\n y: top - container.offset().top + picker.outerHeight() / 2\n };\n }\n\n var hue, saturation, brightness, x, y, r, phi;\n var hex = input.val();\n var opacity = input.attr('data-opacity'); // Helpful references\n\n var minicolors = input.parent();\n var settings = input.data('minicolors-settings');\n var swatch = minicolors.find('.minicolors-input-swatch'); // Panel objects\n\n var grid = minicolors.find('.minicolors-grid');\n var slider = minicolors.find('.minicolors-slider');\n var opacitySlider = minicolors.find('.minicolors-opacity-slider'); // Picker objects\n\n var gridPicker = grid.find('[class$=-picker]');\n var sliderPicker = slider.find('[class$=-picker]');\n var opacityPicker = opacitySlider.find('[class$=-picker]'); // Picker positions\n\n var gridPos = getCoords(gridPicker, grid);\n var sliderPos = getCoords(sliderPicker, slider);\n var opacityPos = getCoords(opacityPicker, opacitySlider); // Handle colors\n\n if (target.is('.minicolors-grid, .minicolors-slider, .minicolors-opacity-slider')) {\n // Determine HSB values\n switch (settings.control) {\n case 'wheel':\n // Calculate hue, saturation, and brightness\n x = grid.width() / 2 - gridPos.x;\n y = grid.height() / 2 - gridPos.y;\n r = Math.sqrt(x * x + y * y);\n phi = Math.atan2(y, x);\n if (phi < 0) phi += Math.PI * 2;\n\n if (r > 75) {\n r = 75;\n gridPos.x = 69 - 75 * Math.cos(phi);\n gridPos.y = 69 - 75 * Math.sin(phi);\n }\n\n saturation = keepWithin(r / 0.75, 0, 100);\n hue = keepWithin(phi * 180 / Math.PI, 0, 360);\n brightness = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100);\n hex = hsb2hex({\n h: hue,\n s: saturation,\n b: brightness\n }); // Update UI\n\n slider.css('backgroundColor', hsb2hex({\n h: hue,\n s: saturation,\n b: 100\n }));\n break;\n\n case 'saturation':\n // Calculate hue, saturation, and brightness\n hue = keepWithin(parseInt(gridPos.x * (360 / grid.width()), 10), 0, 360);\n saturation = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100);\n brightness = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100);\n hex = hsb2hex({\n h: hue,\n s: saturation,\n b: brightness\n }); // Update UI\n\n slider.css('backgroundColor', hsb2hex({\n h: hue,\n s: 100,\n b: brightness\n }));\n minicolors.find('.minicolors-grid-inner').css('opacity', saturation / 100);\n break;\n\n case 'brightness':\n // Calculate hue, saturation, and brightness\n hue = keepWithin(parseInt(gridPos.x * (360 / grid.width()), 10), 0, 360);\n saturation = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100);\n brightness = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100);\n hex = hsb2hex({\n h: hue,\n s: saturation,\n b: brightness\n }); // Update UI\n\n slider.css('backgroundColor', hsb2hex({\n h: hue,\n s: saturation,\n b: 100\n }));\n minicolors.find('.minicolors-grid-inner').css('opacity', 1 - brightness / 100);\n break;\n\n default:\n // Calculate hue, saturation, and brightness\n hue = keepWithin(360 - parseInt(sliderPos.y * (360 / slider.height()), 10), 0, 360);\n saturation = keepWithin(Math.floor(gridPos.x * (100 / grid.width())), 0, 100);\n brightness = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100);\n hex = hsb2hex({\n h: hue,\n s: saturation,\n b: brightness\n }); // Update UI\n\n grid.css('backgroundColor', hsb2hex({\n h: hue,\n s: 100,\n b: 100\n }));\n break;\n } // Handle opacity\n\n\n if (settings.opacity) {\n opacity = parseFloat(1 - opacityPos.y / opacitySlider.height()).toFixed(2);\n } else {\n opacity = 1;\n }\n\n updateInput(input, hex, opacity);\n } else {\n // Set swatch color\n swatch.find('span').css({\n backgroundColor: hex,\n opacity: opacity\n }); // Handle change event\n\n doChange(input, hex, opacity);\n }\n } // Sets the value of the input and does the appropriate conversions\n // to respect settings, also updates the swatch\n\n\n function updateInput(input, value, opacity) {\n var rgb; // Helpful references\n\n var minicolors = input.parent();\n var settings = input.data('minicolors-settings');\n var swatch = minicolors.find('.minicolors-input-swatch');\n if (settings.opacity) input.attr('data-opacity', opacity); // Set color string\n\n if (settings.format === 'rgb') {\n // Returns RGB(A) string\n // Checks for input format and does the conversion\n if (isRgb(value)) {\n rgb = parseRgb(value, true);\n } else {\n rgb = hex2rgb(parseHex(value, true));\n }\n\n opacity = input.attr('data-opacity') === '' ? 1 : keepWithin(parseFloat(input.attr('data-opacity')).toFixed(2), 0, 1);\n if (isNaN(opacity) || !settings.opacity) opacity = 1;\n\n if (input.minicolors('rgbObject').a <= 1 && rgb && settings.opacity) {\n // Set RGBA string if alpha\n value = 'rgba(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ', ' + parseFloat(opacity) + ')';\n } else {\n // Set RGB string (alpha = 1)\n value = 'rgb(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')';\n }\n } else {\n // Returns hex color\n // Checks for input format and does the conversion\n if (isRgb(value)) {\n value = rgbString2hex(value);\n }\n\n value = convertCase(value, settings.letterCase);\n } // Update value from picker\n\n\n input.val(value); // Set swatch color\n\n swatch.find('span').css({\n backgroundColor: value,\n opacity: opacity\n }); // Handle change event\n\n doChange(input, value, opacity);\n } // Sets the color picker values from the input\n\n\n function updateFromInput(input, preserveInputValue) {\n var hex, hsb, opacity, keywords, alpha, value, x, y, r, phi; // Helpful references\n\n var minicolors = input.parent();\n var settings = input.data('minicolors-settings');\n var swatch = minicolors.find('.minicolors-input-swatch'); // Panel objects\n\n var grid = minicolors.find('.minicolors-grid');\n var slider = minicolors.find('.minicolors-slider');\n var opacitySlider = minicolors.find('.minicolors-opacity-slider'); // Picker objects\n\n var gridPicker = grid.find('[class$=-picker]');\n var sliderPicker = slider.find('[class$=-picker]');\n var opacityPicker = opacitySlider.find('[class$=-picker]'); // Determine hex/HSB values\n\n if (isRgb(input.val())) {\n // If input value is a rgb(a) string, convert it to hex color and update opacity\n hex = rgbString2hex(input.val());\n alpha = keepWithin(parseFloat(getAlpha(input.val())).toFixed(2), 0, 1);\n\n if (alpha) {\n input.attr('data-opacity', alpha);\n }\n } else {\n hex = convertCase(parseHex(input.val(), true), settings.letterCase);\n }\n\n if (!hex) {\n hex = convertCase(parseInput(settings.defaultValue, true), settings.letterCase);\n }\n\n hsb = hex2hsb(hex); // Get array of lowercase keywords\n\n keywords = !settings.keywords ? [] : $.map(settings.keywords.split(','), function (a) {\n return $.trim(a.toLowerCase());\n }); // Set color string\n\n if (input.val() !== '' && $.inArray(input.val().toLowerCase(), keywords) > -1) {\n value = convertCase(input.val());\n } else {\n value = isRgb(input.val()) ? parseRgb(input.val()) : hex;\n } // Update input value\n\n\n if (!preserveInputValue) input.val(value); // Determine opacity value\n\n if (settings.opacity) {\n // Get from data-opacity attribute and keep within 0-1 range\n opacity = input.attr('data-opacity') === '' ? 1 : keepWithin(parseFloat(input.attr('data-opacity')).toFixed(2), 0, 1);\n if (isNaN(opacity)) opacity = 1;\n input.attr('data-opacity', opacity);\n swatch.find('span').css('opacity', opacity); // Set opacity picker position\n\n y = keepWithin(opacitySlider.height() - opacitySlider.height() * opacity, 0, opacitySlider.height());\n opacityPicker.css('top', y + 'px');\n } // Set opacity to zero if input value is transparent\n\n\n if (input.val().toLowerCase() === 'transparent') {\n swatch.find('span').css('opacity', 0);\n } // Update swatch\n\n\n swatch.find('span').css('backgroundColor', hex); // Determine picker locations\n\n switch (settings.control) {\n case 'wheel':\n // Set grid position\n r = keepWithin(Math.ceil(hsb.s * 0.75), 0, grid.height() / 2);\n phi = hsb.h * Math.PI / 180;\n x = keepWithin(75 - Math.cos(phi) * r, 0, grid.width());\n y = keepWithin(75 - Math.sin(phi) * r, 0, grid.height());\n gridPicker.css({\n top: y + 'px',\n left: x + 'px'\n }); // Set slider position\n\n y = 150 - hsb.b / (100 / grid.height());\n if (hex === '') y = 0;\n sliderPicker.css('top', y + 'px'); // Update panel color\n\n slider.css('backgroundColor', hsb2hex({\n h: hsb.h,\n s: hsb.s,\n b: 100\n }));\n break;\n\n case 'saturation':\n // Set grid position\n x = keepWithin(5 * hsb.h / 12, 0, 150);\n y = keepWithin(grid.height() - Math.ceil(hsb.b / (100 / grid.height())), 0, grid.height());\n gridPicker.css({\n top: y + 'px',\n left: x + 'px'\n }); // Set slider position\n\n y = keepWithin(slider.height() - hsb.s * (slider.height() / 100), 0, slider.height());\n sliderPicker.css('top', y + 'px'); // Update UI\n\n slider.css('backgroundColor', hsb2hex({\n h: hsb.h,\n s: 100,\n b: hsb.b\n }));\n minicolors.find('.minicolors-grid-inner').css('opacity', hsb.s / 100);\n break;\n\n case 'brightness':\n // Set grid position\n x = keepWithin(5 * hsb.h / 12, 0, 150);\n y = keepWithin(grid.height() - Math.ceil(hsb.s / (100 / grid.height())), 0, grid.height());\n gridPicker.css({\n top: y + 'px',\n left: x + 'px'\n }); // Set slider position\n\n y = keepWithin(slider.height() - hsb.b * (slider.height() / 100), 0, slider.height());\n sliderPicker.css('top', y + 'px'); // Update UI\n\n slider.css('backgroundColor', hsb2hex({\n h: hsb.h,\n s: hsb.s,\n b: 100\n }));\n minicolors.find('.minicolors-grid-inner').css('opacity', 1 - hsb.b / 100);\n break;\n\n default:\n // Set grid position\n x = keepWithin(Math.ceil(hsb.s / (100 / grid.width())), 0, grid.width());\n y = keepWithin(grid.height() - Math.ceil(hsb.b / (100 / grid.height())), 0, grid.height());\n gridPicker.css({\n top: y + 'px',\n left: x + 'px'\n }); // Set slider position\n\n y = keepWithin(slider.height() - hsb.h / (360 / slider.height()), 0, slider.height());\n sliderPicker.css('top', y + 'px'); // Update panel color\n\n grid.css('backgroundColor', hsb2hex({\n h: hsb.h,\n s: 100,\n b: 100\n }));\n break;\n } // Fire change event, but only if minicolors is fully initialized\n\n\n if (input.data('minicolors-initialized')) {\n doChange(input, value, opacity);\n }\n } // Runs the change and changeDelay callbacks\n\n\n function doChange(input, value, opacity) {\n var settings = input.data('minicolors-settings');\n var lastChange = input.data('minicolors-lastChange');\n var obj, sel, i; // Only run if it actually changed\n\n if (!lastChange || lastChange.value !== value || lastChange.opacity !== opacity) {\n // Remember last-changed value\n input.data('minicolors-lastChange', {\n value: value,\n opacity: opacity\n }); // Check and select applicable swatch\n\n if (settings.swatches && settings.swatches.length !== 0) {\n if (!isRgb(value)) {\n obj = hex2rgb(value);\n } else {\n obj = parseRgb(value, true);\n }\n\n sel = -1;\n\n for (i = 0; i < settings.swatches.length; ++i) {\n if (obj.r === settings.swatches[i].r && obj.g === settings.swatches[i].g && obj.b === settings.swatches[i].b && obj.a === settings.swatches[i].a) {\n sel = i;\n break;\n }\n }\n\n input.parent().find('.minicolors-swatches .minicolors-swatch').removeClass('selected');\n\n if (sel !== -1) {\n input.parent().find('.minicolors-swatches .minicolors-swatch').eq(i).addClass('selected');\n }\n } // Fire change event\n\n\n if (settings.change) {\n if (settings.changeDelay) {\n // Call after a delay\n clearTimeout(input.data('minicolors-changeTimeout'));\n input.data('minicolors-changeTimeout', setTimeout(function () {\n settings.change.call(input.get(0), value, opacity);\n }, settings.changeDelay));\n } else {\n // Call immediately\n settings.change.call(input.get(0), value, opacity);\n }\n }\n\n input.trigger('change').trigger('input');\n }\n } // Generates an RGB(A) object based on the input's value\n\n\n function rgbObject(input) {\n var rgb,\n opacity = $(input).attr('data-opacity');\n\n if (isRgb($(input).val())) {\n rgb = parseRgb($(input).val(), true);\n } else {\n var hex = parseHex($(input).val(), true);\n rgb = hex2rgb(hex);\n }\n\n if (!rgb) return null;\n if (opacity !== undefined) $.extend(rgb, {\n a: parseFloat(opacity)\n });\n return rgb;\n } // Generates an RGB(A) string based on the input's value\n\n\n function rgbString(input, alpha) {\n var rgb,\n opacity = $(input).attr('data-opacity');\n\n if (isRgb($(input).val())) {\n rgb = parseRgb($(input).val(), true);\n } else {\n var hex = parseHex($(input).val(), true);\n rgb = hex2rgb(hex);\n }\n\n if (!rgb) return null;\n if (opacity === undefined) opacity = 1;\n\n if (alpha) {\n return 'rgba(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ', ' + parseFloat(opacity) + ')';\n } else {\n return 'rgb(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')';\n }\n } // Converts to the letter case specified in settings\n\n\n function convertCase(string, letterCase) {\n return letterCase === 'uppercase' ? string.toUpperCase() : string.toLowerCase();\n } // Parses a string and returns a valid hex string when possible\n\n\n function parseHex(string, expand) {\n string = string.replace(/^#/g, '');\n if (!string.match(/^[A-F0-9]{3,6}/ig)) return '';\n if (string.length !== 3 && string.length !== 6) return '';\n\n if (string.length === 3 && expand) {\n string = string[0] + string[0] + string[1] + string[1] + string[2] + string[2];\n }\n\n return '#' + string;\n } // Parses a string and returns a valid RGB(A) string when possible\n\n\n function parseRgb(string, obj) {\n var values = string.replace(/[^\\d,.]/g, '');\n var rgba = values.split(',');\n rgba[0] = keepWithin(parseInt(rgba[0], 10), 0, 255);\n rgba[1] = keepWithin(parseInt(rgba[1], 10), 0, 255);\n rgba[2] = keepWithin(parseInt(rgba[2], 10), 0, 255);\n\n if (rgba[3] !== undefined) {\n rgba[3] = keepWithin(parseFloat(rgba[3], 10), 0, 1);\n } // Return RGBA object\n\n\n if (obj) {\n if (rgba[3] !== undefined) {\n return {\n r: rgba[0],\n g: rgba[1],\n b: rgba[2],\n a: rgba[3]\n };\n } else {\n return {\n r: rgba[0],\n g: rgba[1],\n b: rgba[2]\n };\n }\n } // Return RGBA string\n\n\n if (typeof rgba[3] !== 'undefined' && rgba[3] <= 1) {\n return 'rgba(' + rgba[0] + ', ' + rgba[1] + ', ' + rgba[2] + ', ' + rgba[3] + ')';\n } else {\n return 'rgb(' + rgba[0] + ', ' + rgba[1] + ', ' + rgba[2] + ')';\n }\n } // Parses a string and returns a valid color string when possible\n\n\n function parseInput(string, expand) {\n if (isRgb(string)) {\n // Returns a valid rgb(a) string\n return parseRgb(string);\n } else {\n return parseHex(string, expand);\n }\n } // Keeps value within min and max\n\n\n function keepWithin(value, min, max) {\n if (value < min) value = min;\n if (value > max) value = max;\n return value;\n } // Checks if a string is a valid RGB(A) string\n\n\n function isRgb(string) {\n var rgb = string.match(/^rgba?[\\s+]?\\([\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?/i);\n return rgb && rgb.length === 4 ? true : false;\n } // Function to get alpha from a RGB(A) string\n\n\n function getAlpha(rgba) {\n rgba = rgba.match(/^rgba?[\\s+]?\\([\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+(\\.\\d{1,2})?|\\.\\d{1,2})[\\s+]?/i);\n return rgba && rgba.length === 6 ? rgba[4] : '1';\n } // Converts an HSB object to an RGB object\n\n\n function hsb2rgb(hsb) {\n var rgb = {};\n var h = Math.round(hsb.h);\n var s = Math.round(hsb.s * 255 / 100);\n var v = Math.round(hsb.b * 255 / 100);\n\n if (s === 0) {\n rgb.r = rgb.g = rgb.b = v;\n } else {\n var t1 = v;\n var t2 = (255 - s) * v / 255;\n var t3 = (t1 - t2) * (h % 60) / 60;\n if (h === 360) h = 0;\n\n if (h < 60) {\n rgb.r = t1;\n rgb.b = t2;\n rgb.g = t2 + t3;\n } else if (h < 120) {\n rgb.g = t1;\n rgb.b = t2;\n rgb.r = t1 - t3;\n } else if (h < 180) {\n rgb.g = t1;\n rgb.r = t2;\n rgb.b = t2 + t3;\n } else if (h < 240) {\n rgb.b = t1;\n rgb.r = t2;\n rgb.g = t1 - t3;\n } else if (h < 300) {\n rgb.b = t1;\n rgb.g = t2;\n rgb.r = t2 + t3;\n } else if (h < 360) {\n rgb.r = t1;\n rgb.g = t2;\n rgb.b = t1 - t3;\n } else {\n rgb.r = 0;\n rgb.g = 0;\n rgb.b = 0;\n }\n }\n\n return {\n r: Math.round(rgb.r),\n g: Math.round(rgb.g),\n b: Math.round(rgb.b)\n };\n } // Converts an RGB string to a hex string\n\n\n function rgbString2hex(rgb) {\n rgb = rgb.match(/^rgba?[\\s+]?\\([\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?/i);\n return rgb && rgb.length === 4 ? '#' + ('0' + parseInt(rgb[1], 10).toString(16)).slice(-2) + ('0' + parseInt(rgb[2], 10).toString(16)).slice(-2) + ('0' + parseInt(rgb[3], 10).toString(16)).slice(-2) : '';\n } // Converts an RGB object to a hex string\n\n\n function rgb2hex(rgb) {\n var hex = [rgb.r.toString(16), rgb.g.toString(16), rgb.b.toString(16)];\n $.each(hex, function (nr, val) {\n if (val.length === 1) hex[nr] = '0' + val;\n });\n return '#' + hex.join('');\n } // Converts an HSB object to a hex string\n\n\n function hsb2hex(hsb) {\n return rgb2hex(hsb2rgb(hsb));\n } // Converts a hex string to an HSB object\n\n\n function hex2hsb(hex) {\n var hsb = rgb2hsb(hex2rgb(hex));\n if (hsb.s === 0) hsb.h = 360;\n return hsb;\n } // Converts an RGB object to an HSB object\n\n\n function rgb2hsb(rgb) {\n var hsb = {\n h: 0,\n s: 0,\n b: 0\n };\n var min = Math.min(rgb.r, rgb.g, rgb.b);\n var max = Math.max(rgb.r, rgb.g, rgb.b);\n var delta = max - min;\n hsb.b = max;\n hsb.s = max !== 0 ? 255 * delta / max : 0;\n\n if (hsb.s !== 0) {\n if (rgb.r === max) {\n hsb.h = (rgb.g - rgb.b) / delta;\n } else if (rgb.g === max) {\n hsb.h = 2 + (rgb.b - rgb.r) / delta;\n } else {\n hsb.h = 4 + (rgb.r - rgb.g) / delta;\n }\n } else {\n hsb.h = -1;\n }\n\n hsb.h *= 60;\n\n if (hsb.h < 0) {\n hsb.h += 360;\n }\n\n hsb.s *= 100 / 255;\n hsb.b *= 100 / 255;\n return hsb;\n } // Converts a hex string to an RGB object\n\n\n function hex2rgb(hex) {\n hex = parseInt(hex.indexOf('#') > -1 ? hex.substring(1) : hex, 16);\n return {\n r: hex >> 16,\n g: (hex & 0x00FF00) >> 8,\n b: hex & 0x0000FF\n };\n } // Handle events\n\n\n $([document]) // Hide on clicks outside of the control\n .on('mousedown.minicolors touchstart.minicolors', function (event) {\n if (!$(event.target).parents().add(event.target).hasClass('minicolors')) {\n hide();\n }\n }) // Start moving\n .on('mousedown.minicolors touchstart.minicolors', '.minicolors-grid, .minicolors-slider, .minicolors-opacity-slider', function (event) {\n var target = $(this);\n event.preventDefault();\n $(event.delegateTarget).data('minicolors-target', target);\n move(target, event, true);\n }) // Move pickers\n .on('mousemove.minicolors touchmove.minicolors', function (event) {\n var target = $(event.delegateTarget).data('minicolors-target');\n if (target) move(target, event);\n }) // Stop moving\n .on('mouseup.minicolors touchend.minicolors', function () {\n $(this).removeData('minicolors-target');\n }) // Selected a swatch\n .on('click.minicolors', '.minicolors-swatches li', function (event) {\n event.preventDefault();\n var target = $(this),\n input = target.parents('.minicolors').find('.minicolors-input'),\n color = target.data('swatch-color');\n updateInput(input, color, getAlpha(color));\n updateFromInput(input);\n }) // Show panel when swatch is clicked\n .on('mousedown.minicolors touchstart.minicolors', '.minicolors-input-swatch', function (event) {\n var input = $(this).parent().find('.minicolors-input');\n event.preventDefault();\n show(input);\n }) // Show on focus\n .on('focus.minicolors', '.minicolors-input', function () {\n var input = $(this);\n if (!input.data('minicolors-initialized')) return;\n show(input);\n }) // Update value on blur\n .on('blur.minicolors', '.minicolors-input', function () {\n var input = $(this);\n var settings = input.data('minicolors-settings');\n var keywords;\n var hex;\n var rgba;\n var swatchOpacity;\n var value;\n if (!input.data('minicolors-initialized')) return; // Get array of lowercase keywords\n\n keywords = !settings.keywords ? [] : $.map(settings.keywords.split(','), function (a) {\n return $.trim(a.toLowerCase());\n }); // Set color string\n\n if (input.val() !== '' && $.inArray(input.val().toLowerCase(), keywords) > -1) {\n value = input.val();\n } else {\n // Get RGBA values for easy conversion\n if (isRgb(input.val())) {\n rgba = parseRgb(input.val(), true);\n } else {\n hex = parseHex(input.val(), true);\n rgba = hex ? hex2rgb(hex) : null;\n } // Convert to format\n\n\n if (rgba === null) {\n value = settings.defaultValue;\n } else if (settings.format === 'rgb') {\n value = settings.opacity ? parseRgb('rgba(' + rgba.r + ',' + rgba.g + ',' + rgba.b + ',' + input.attr('data-opacity') + ')') : parseRgb('rgb(' + rgba.r + ',' + rgba.g + ',' + rgba.b + ')');\n } else {\n value = rgb2hex(rgba);\n }\n } // Update swatch opacity\n\n\n swatchOpacity = settings.opacity ? input.attr('data-opacity') : 1;\n if (value.toLowerCase() === 'transparent') swatchOpacity = 0;\n input.closest('.minicolors').find('.minicolors-input-swatch > span').css('opacity', swatchOpacity); // Set input value\n\n input.val(value); // Is it blank?\n\n if (input.val() === '') input.val(parseInput(settings.defaultValue, true)); // Adjust case\n\n input.val(convertCase(input.val(), settings.letterCase));\n }) // Handle keypresses\n .on('keydown.minicolors', '.minicolors-input', function (event) {\n var input = $(this);\n if (!input.data('minicolors-initialized')) return;\n\n switch (event.which) {\n case 9:\n // tab\n hide();\n break;\n\n case 13: // enter\n\n case 27:\n // esc\n hide();\n input.blur();\n break;\n }\n }) // Update on keyup\n .on('keyup.minicolors', '.minicolors-input', function () {\n var input = $(this);\n if (!input.data('minicolors-initialized')) return;\n updateFromInput(input, true);\n }) // Update on paste\n .on('paste.minicolors', '.minicolors-input', function () {\n var input = $(this);\n if (!input.data('minicolors-initialized')) return;\n setTimeout(function () {\n updateFromInput(input, true);\n }, 1);\n });\n});"],"sourceRoot":""}