import{c as ae}from"./@babel.6cd0804c.js";var se={exports:{}};/*!
 * a-color-picker (https://github.com/narsenico/a-color-picker)
 * 
 * Copyright (c) 2017-2018, Gianfranco Caldi.
 * Released under the MIT License.
 */(function(Q,le){(function(H,o){Q.exports=o()})(typeof self!="undefined"?self:ae,function(){return function(H){var o={};function A(b){if(o[b])return o[b].exports;var g=o[b]={i:b,l:!1,exports:{}};return H[b].call(g.exports,g,g.exports,A),g.l=!0,g.exports}return A.m=H,A.c=o,A.d=function(b,g,n){A.o(b,g)||Object.defineProperty(b,g,{enumerable:!0,get:n})},A.r=function(b){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(b,"__esModule",{value:!0})},A.t=function(b,g){if(1&g&&(b=A(b)),8&g||4&g&&typeof b=="object"&&b&&b.__esModule)return b;var n=Object.create(null);if(A.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:b}),2&g&&typeof b!="string")for(var B in b)A.d(n,B,function(f){return b[f]}.bind(null,B));return n},A.n=function(b){var g=b&&b.__esModule?function(){return b.default}:function(){return b};return A.d(g,"a",g),g},A.o=function(b,g){return Object.prototype.hasOwnProperty.call(b,g)},A.p="",A(A.s=1)}([function(H,o,A){/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/var b=A(3);function g(n){return b(n)===!0&&Object.prototype.toString.call(n)==="[object Object]"}H.exports=function(n){var B,f;return g(n)!==!1&&typeof(B=n.constructor)=="function"&&g(f=B.prototype)!==!1&&f.hasOwnProperty("isPrototypeOf")!==!1}},function(H,o,A){Object.defineProperty(o,"__esModule",{value:!0}),o.VERSION=o.PALETTE_MATERIAL_CHROME=o.PALETTE_MATERIAL_500=o.COLOR_NAMES=o.getLuminance=o.intToRgb=o.rgbToInt=o.rgbToHsv=o.rgbToHsl=o.hslToRgb=o.rgbToHex=o.parseColor=o.parseColorToHsla=o.parseColorToHsl=o.parseColorToRgba=o.parseColorToRgb=o.from=o.createPicker=void 0;var b=function(){function l(t,e){for(var r=0;r<e.length;r++){var p=e[r];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,p.key,p)}}return function(t,e,r){return e&&l(t.prototype,e),r&&l(t,r),t}}(),g=function(l,t){if(Array.isArray(l))return l;if(Symbol.iterator in Object(l))return function(e,r){var p=[],c=!0,d=!1,s=void 0;try{for(var a,m=e[Symbol.iterator]();!(c=(a=m.next()).done)&&(p.push(a.value),!r||p.length!==r);c=!0);}catch(y){d=!0,s=y}finally{try{!c&&m.return&&m.return()}finally{if(d)throw s}}return p}(l,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=A(2),B=R(A(0)),f=R(A(4));function R(l){return l&&l.__esModule?l:{default:l}}function F(l,t){if(!(l instanceof t))throw new TypeError("Cannot call a class as a function")}function G(l){if(Array.isArray(l)){for(var t=0,e=Array(l.length);t<l.length;t++)e[t]=l[t];return e}return Array.from(l)}/*!
 * a-color-picker
 * https://github.com/narsenico/a-color-picker
 *
 * Copyright (c) 2017-2019, Gianfranco Caldi.
 * Released under the MIT License.
 */var L=typeof window!="undefined"&&window.navigator.userAgent.indexOf("Edge")>-1,T=typeof window!="undefined"&&window.navigator.userAgent.indexOf("rv:")>-1,C={id:null,attachTo:"body",showHSL:!0,showRGB:!0,showHEX:!0,showAlpha:!1,color:"#ff0000",palette:null,paletteEditable:!1,useAlphaInPalette:"auto",slBarSize:[232,150],hueBarSize:[150,11],alphaBarSize:[150,11]},w="COLOR",I="RGBA_USER",P="HSLA_USER";function D(l,t,e){return l?l instanceof HTMLElement?l:l instanceof NodeList?l[0]:typeof l=="string"?document.querySelector(l):l.jquery?l.get(0):e?t:null:t}function M(l){var t=l.getContext("2d"),e=+l.width,r=+l.height,p=t.createLinearGradient(1,1,1,r-1);return p.addColorStop(0,"white"),p.addColorStop(1,"black"),{setHue:function(c){var d=t.createLinearGradient(1,0,e-1,0);d.addColorStop(0,"hsla("+c+", 100%, 50%, 0)"),d.addColorStop(1,"hsla("+c+", 100%, 50%, 1)"),t.fillStyle=p,t.fillRect(0,0,e,r),t.fillStyle=d,t.globalCompositeOperation="multiply",t.fillRect(0,0,e,r),t.globalCompositeOperation="source-over"},grabColor:function(c,d){return t.getImageData(c,d,1,1).data},findColor:function(c,d,s){var a=(0,n.rgbToHsv)(c,d,s),m=g(a,3),y=m[1],k=m[2];return[y*e,r-k*r]}}}function x(l,t,e){return l===null?t:/^\s*$/.test(l)?e:!!/true|yes|1/i.test(l)||!/false|no|0/i.test(l)&&t}function _(l,t,e){if(l===null)return t;if(/^\s*$/.test(l))return e;var r=l.split(",").map(Number);return r.length===2&&r[0]&&r[1]?r:t}var O=function(){function l(t,e){if(F(this,l),e?(t=D(t),this.options=Object.assign({},C,e)):t&&(0,B.default)(t)?(this.options=Object.assign({},C,t),t=D(this.options.attachTo)):(this.options=Object.assign({},C),t=D((0,n.nvl)(t,this.options.attachTo))),!t)throw new Error("Container not found: "+this.options.attachTo);(function(c,d){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"acp-";if(d.hasAttribute(s+"show-hsl")&&(c.showHSL=x(d.getAttribute(s+"show-hsl"),C.showHSL,!0)),d.hasAttribute(s+"show-rgb")&&(c.showRGB=x(d.getAttribute(s+"show-rgb"),C.showRGB,!0)),d.hasAttribute(s+"show-hex")&&(c.showHEX=x(d.getAttribute(s+"show-hex"),C.showHEX,!0)),d.hasAttribute(s+"show-alpha")&&(c.showAlpha=x(d.getAttribute(s+"show-alpha"),C.showAlpha,!0)),d.hasAttribute(s+"palette-editable")&&(c.paletteEditable=x(d.getAttribute(s+"palette-editable"),C.paletteEditable,!0)),d.hasAttribute(s+"sl-bar-size")&&(c.slBarSize=_(d.getAttribute(s+"sl-bar-size"),C.slBarSize,[232,150])),d.hasAttribute(s+"hue-bar-size")&&(c.hueBarSize=_(d.getAttribute(s+"hue-bar-size"),C.hueBarSize,[150,11]),c.alphaBarSize=c.hueBarSize),d.hasAttribute(s+"palette")){var a=d.getAttribute(s+"palette");switch(a){case"PALETTE_MATERIAL_500":c.palette=n.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":case"":c.palette=n.PALETTE_MATERIAL_CHROME;break;default:c.palette=a.split(/[;|]/)}}d.hasAttribute(s+"color")&&(c.color=d.getAttribute(s+"color"))})(this.options,t),this.H=0,this.S=0,this.L=0,this.R=0,this.G=0,this.B=0,this.A=1,this.palette={},this.element=document.createElement("div"),this.options.id&&(this.element.id=this.options.id),this.element.className="a-color-picker",this.element.innerHTML=f.default,t.appendChild(this.element);var r=this.element.querySelector(".a-color-picker-h");this.setupHueCanvas(r),this.hueBarHelper=M(r),this.huePointer=this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");var p=this.element.querySelector(".a-color-picker-sl");this.setupSlCanvas(p),this.slBarHelper=M(p),this.slPointer=this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"),this.preview=this.element.querySelector(".a-color-picker-preview"),this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")),this.options.showHSL?(this.setupInput(this.inputH=this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")),this.setupInput(this.inputS=this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")),this.setupInput(this.inputL=this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))):this.element.querySelector(".a-color-picker-hsl").remove(),this.options.showRGB?(this.setupInput(this.inputR=this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")),this.setupInput(this.inputG=this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")),this.setupInput(this.inputB=this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))):this.element.querySelector(".a-color-picker-rgb").remove(),this.options.showHEX?this.setupInput(this.inputRGBHEX=this.element.querySelector("input[nameref=RGBHEX]")):this.element.querySelector(".a-color-picker-rgbhex").remove(),this.options.paletteEditable||this.options.palette&&this.options.palette.length>0?this.setPalette(this.paletteRow=this.element.querySelector(".a-color-picker-palette")):(this.paletteRow=this.element.querySelector(".a-color-picker-palette"),this.paletteRow.remove()),this.options.showAlpha?(this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")),this.alphaPointer=this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")):this.element.querySelector(".a-color-picker-alpha").remove(),this.element.style.width=this.options.slBarSize[0]+"px",this.onValueChanged(w,this.options.color)}return b(l,[{key:"setupHueCanvas",value:function(t){var e=this;t.width=this.options.hueBarSize[0],t.height=this.options.hueBarSize[1];for(var r=t.getContext("2d"),p=r.createLinearGradient(0,0,this.options.hueBarSize[0],0),c=0;c<=1;c+=1/360)p.addColorStop(c,"hsl("+360*c+", 100%, 50%)");r.fillStyle=p,r.fillRect(0,0,this.options.hueBarSize[0],this.options.hueBarSize[1]);var d=function(a){var m=(0,n.limit)(a.clientX-t.getBoundingClientRect().left,0,e.options.hueBarSize[0]),y=Math.round(360*m/e.options.hueBarSize[0]);e.huePointer.style.left=m-7+"px",e.onValueChanged("H",y)},s=function a(){document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",a)};t.addEventListener("mousedown",function(a){d(a),document.addEventListener("mousemove",d),document.addEventListener("mouseup",s)})}},{key:"setupSlCanvas",value:function(t){var e=this;t.width=this.options.slBarSize[0],t.height=this.options.slBarSize[1];var r=function(c){var d=(0,n.limit)(c.clientX-t.getBoundingClientRect().left,0,e.options.slBarSize[0]-1),s=(0,n.limit)(c.clientY-t.getBoundingClientRect().top,0,e.options.slBarSize[1]-1),a=e.slBarHelper.grabColor(d,s);e.slPointer.style.left=d-7+"px",e.slPointer.style.top=s-7+"px",e.onValueChanged("RGB",a)},p=function c(){document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",c)};t.addEventListener("mousedown",function(c){r(c),document.addEventListener("mousemove",r),document.addEventListener("mouseup",p)})}},{key:"setupAlphaCanvas",value:function(t){var e=this;t.width=this.options.alphaBarSize[0],t.height=this.options.alphaBarSize[1];var r=t.getContext("2d"),p=r.createLinearGradient(0,0,t.width-1,0);p.addColorStop(0,"hsla(0, 0%, 50%, 0)"),p.addColorStop(1,"hsla(0, 0%, 50%, 1)"),r.fillStyle=p,r.fillRect(0,0,this.options.alphaBarSize[0],this.options.alphaBarSize[1]);var c=function(s){var a=(0,n.limit)(s.clientX-t.getBoundingClientRect().left,0,e.options.alphaBarSize[0]),m=+(a/e.options.alphaBarSize[0]).toFixed(2);e.alphaPointer.style.left=a-7+"px",e.onValueChanged("ALPHA",m)},d=function s(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",s)};t.addEventListener("mousedown",function(s){c(s),document.addEventListener("mousemove",c),document.addEventListener("mouseup",d)})}},{key:"setupInput",value:function(t){var e=this,r=+t.min,p=+t.max,c=t.getAttribute("nameref");t.hasAttribute("select-on-focus")&&t.addEventListener("focus",function(){t.select()}),t.type==="text"?t.addEventListener("change",function(){e.onValueChanged(c,t.value)}):((L||T)&&t.addEventListener("keydown",function(d){d.key==="Up"?(t.value=(0,n.limit)(+t.value+1,r,p),e.onValueChanged(c,t.value),d.returnValue=!1):d.key==="Down"&&(t.value=(0,n.limit)(+t.value-1,r,p),e.onValueChanged(c,t.value),d.returnValue=!1)}),t.addEventListener("change",function(){var d=+t.value;e.onValueChanged(c,(0,n.limit)(d,r,p))}))}},{key:"setupClipboard",value:function(t){var e=this;t.title="click to copy",t.addEventListener("click",function(){t.value=(0,n.parseColor)([e.R,e.G,e.B,e.A],"hexcss4"),t.select(),document.execCommand("copy")})}},{key:"setPalette",value:function(t){var e=this,r=this.options.useAlphaInPalette==="auto"?this.options.showAlpha:this.options.useAlphaInPalette,p=null;switch(this.options.palette){case"PALETTE_MATERIAL_500":p=n.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":p=n.PALETTE_MATERIAL_CHROME;break;default:p=(0,n.ensureArray)(this.options.palette)}if(this.options.paletteEditable||p.length>0){var c=function(a,m,y){var k=t.querySelector('.a-color-picker-palette-color[data-color="'+a+'"]')||document.createElement("div");k.className="a-color-picker-palette-color",k.style.backgroundColor=a,k.setAttribute("data-color",a),k.title=a,t.insertBefore(k,m),e.palette[a]=!0,y&&e.onPaletteColorAdd(a)},d=function(a,m){a?(t.removeChild(a),e.palette[a.getAttribute("data-color")]=!1,m&&e.onPaletteColorRemove(a.getAttribute("data-color"))):(t.querySelectorAll(".a-color-picker-palette-color[data-color]").forEach(function(y){t.removeChild(y)}),Object.keys(e.palette).forEach(function(y){e.palette[y]=!1}),m&&e.onPaletteColorRemove())};if(p.map(function(a){return(0,n.parseColor)(a,r?"rgbcss4":"hex")}).filter(function(a){return!!a}).forEach(function(a){return c(a)}),this.options.paletteEditable){var s=document.createElement("div");s.className="a-color-picker-palette-color a-color-picker-palette-add",s.innerHTML="+",t.appendChild(s),t.addEventListener("click",function(a){/a-color-picker-palette-add/.test(a.target.className)?a.shiftKey?d(null,!0):c(r?(0,n.parseColor)([e.R,e.G,e.B,e.A],"rgbcss4"):(0,n.rgbToHex)(e.R,e.G,e.B),a.target,!0):/a-color-picker-palette-color/.test(a.target.className)&&(a.shiftKey?d(a.target,!0):e.onValueChanged(w,a.target.getAttribute("data-color")))})}else t.addEventListener("click",function(a){/a-color-picker-palette-color/.test(a.target.className)&&e.onValueChanged(w,a.target.getAttribute("data-color"))})}else t.style.display="none"}},{key:"updatePalette",value:function(t){this.paletteRow.innerHTML="",this.palette={},this.paletteRow.parentElement||this.element.appendChild(this.paletteRow),this.options.palette=t,this.setPalette(this.paletteRow)}},{key:"onValueChanged",value:function(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{silent:!1};switch(t){case"H":this.H=e;var p=(0,n.hslToRgb)(this.H,this.S,this.L),c=g(p,3);this.R=c[0],this.G=c[1],this.B=c[2],this.slBarHelper.setHue(e),this.updatePointerH(this.H),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"S":this.S=e;var d=(0,n.hslToRgb)(this.H,this.S,this.L),s=g(d,3);this.R=s[0],this.G=s[1],this.B=s[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"L":this.L=e;var a=(0,n.hslToRgb)(this.H,this.S,this.L),m=g(a,3);this.R=m[0],this.G=m[1],this.B=m[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"R":this.R=e;var y=(0,n.rgbToHsl)(this.R,this.G,this.B),k=g(y,3);this.H=k[0],this.S=k[1],this.L=k[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"G":this.G=e;var E=(0,n.rgbToHsl)(this.R,this.G,this.B),S=g(E,3);this.H=S[0],this.S=S[1],this.L=S[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"B":this.B=e;var W=(0,n.rgbToHsl)(this.R,this.G,this.B),X=g(W,3);this.H=X[0],this.S=X[1],this.L=X[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"RGB":var V=g(e,3);this.R=V[0],this.G=V[1],this.B=V[2];var Z=(0,n.rgbToHsl)(this.R,this.G,this.B),N=g(Z,3);this.H=N[0],this.S=N[1],this.L=N[2],this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case I:var z=g(e,4);this.R=z[0],this.G=z[1],this.B=z[2],this.A=z[3];var ee=(0,n.rgbToHsl)(this.R,this.G,this.B),U=g(ee,3);this.H=U[0],this.S=U[1],this.L=U[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case P:var q=g(e,4);this.H=q[0],this.S=q[1],this.L=q[2],this.A=q[3];var te=(0,n.hslToRgb)(this.H,this.S,this.L),$=g(te,3);this.R=$[0],this.G=$[1],this.B=$[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"RGBHEX":var ie=(0,n.cssColorToRgb)(e)||[this.R,this.G,this.B],K=g(ie,3);this.R=K[0],this.G=K[1],this.B=K[2];var re=(0,n.rgbToHsl)(this.R,this.G,this.B),J=g(re,3);this.H=J[0],this.S=J[1],this.L=J[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B);break;case w:var oe=(0,n.parseColor)(e,"rgba")||[0,0,0,1],j=g(oe,4);this.R=j[0],this.G=j[1],this.B=j[2],this.A=j[3];var ne=(0,n.rgbToHsl)(this.R,this.G,this.B),Y=g(ne,3);this.H=Y[0],this.S=Y[1],this.L=Y[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"ALPHA":this.A=e}this.A===1?this.preview.style.backgroundColor="rgb("+this.R+","+this.G+","+this.B+")":this.preview.style.backgroundColor="rgba("+this.R+","+this.G+","+this.B+","+this.A+")",r&&r.silent||this.onchange&&this.onchange(this.preview.style.backgroundColor)}},{key:"onPaletteColorAdd",value:function(t){this.oncoloradd&&this.oncoloradd(t)}},{key:"onPaletteColorRemove",value:function(t){this.oncolorremove&&this.oncolorremove(t)}},{key:"updateInputHSL",value:function(t,e,r){this.options.showHSL&&(this.inputH.value=t,this.inputS.value=e,this.inputL.value=r)}},{key:"updateInputRGB",value:function(t,e,r){this.options.showRGB&&(this.inputR.value=t,this.inputG.value=e,this.inputB.value=r)}},{key:"updateInputRGBHEX",value:function(t,e,r){this.options.showHEX&&(this.inputRGBHEX.value=(0,n.rgbToHex)(t,e,r))}},{key:"updatePointerH",value:function(t){var e=this.options.hueBarSize[0]*t/360;this.huePointer.style.left=e-7+"px"}},{key:"updatePointerSL",value:function(t,e,r){var p=(0,n.hslToRgb)(t,e,r),c=g(p,3),d=c[0],s=c[1],a=c[2],m=this.slBarHelper.findColor(d,s,a),y=g(m,2),k=y[0],E=y[1];k>=0&&(this.slPointer.style.left=k-7+"px",this.slPointer.style.top=E-7+"px")}},{key:"updatePointerA",value:function(t){if(this.options.showAlpha){var e=this.options.alphaBarSize[0]*t;this.alphaPointer.style.left=e-7+"px"}}}]),l}(),i=function(){function l(t){F(this,l),this.name=t,this.listeners=[]}return b(l,[{key:"on",value:function(t){t&&this.listeners.push(t)}},{key:"off",value:function(t){this.listeners=t?this.listeners.filter(function(e){return e!==t}):[]}},{key:"emit",value:function(t,e){for(var r=this.listeners.slice(0),p=0;p<r.length;p++)r[p].apply(e,t)}}]),l}();function h(l,t){var e=new O(l,t),r={change:new i("change"),coloradd:new i("coloradd"),colorremove:new i("colorremove")},p=!0,c={},d={get element(){return e.element},get rgb(){return[e.R,e.G,e.B]},set rgb(s){var a=g(s,3),m=a[0],y=a[1],k=a[2],E=[(0,n.limit)(m,0,255),(0,n.limit)(y,0,255),(0,n.limit)(k,0,255)];m=E[0],y=E[1],k=E[2],e.onValueChanged(I,[m,y,k,1])},get hsl(){return[e.H,e.S,e.L]},set hsl(s){var a=g(s,3),m=a[0],y=a[1],k=a[2],E=[(0,n.limit)(m,0,360),(0,n.limit)(y,0,100),(0,n.limit)(k,0,100)];m=E[0],y=E[1],k=E[2],e.onValueChanged(P,[m,y,k,1])},get rgbhex(){return this.all.hex},get rgba(){return[e.R,e.G,e.B,e.A]},set rgba(s){var a=g(s,4),m=a[0],y=a[1],k=a[2],E=a[3],S=[(0,n.limit)(m,0,255),(0,n.limit)(y,0,255),(0,n.limit)(k,0,255),(0,n.limit)(E,0,1)];m=S[0],y=S[1],k=S[2],E=S[3],e.onValueChanged(I,[m,y,k,E])},get hsla(){return[e.H,e.S,e.L,e.A]},set hsla(s){var a=g(s,4),m=a[0],y=a[1],k=a[2],E=a[3],S=[(0,n.limit)(m,0,360),(0,n.limit)(y,0,100),(0,n.limit)(k,0,100),(0,n.limit)(E,0,1)];m=S[0],y=S[1],k=S[2],E=S[3],e.onValueChanged(P,[m,y,k,E])},get color(){return this.all.toString()},set color(s){e.onValueChanged(w,s)},setColor:function(s){var a=arguments.length>1&&arguments[1]!==void 0&&arguments[1];e.onValueChanged(w,s,{silent:a})},get all(){if(p){var s=[e.R,e.G,e.B,e.A],a=e.A<1?"rgba("+e.R+","+e.G+","+e.B+","+e.A+")":n.rgbToHex.apply(void 0,s);(c=(0,n.parseColor)(s,c)).toString=function(){return a},p=!1}return Object.assign({},c)},get onchange(){return r.change&&r.change.listeners[0]},set onchange(s){this.off("change").on("change",s)},get oncoloradd(){return r.coloradd&&r.coloradd.listeners[0]},set oncoloradd(s){this.off("coloradd").on("coloradd",s)},get oncolorremove(){return r.colorremove&&r.colorremove.listeners[0]},set oncolorremove(s){this.off("colorremove").on("colorremove",s)},get palette(){return Object.keys(e.palette).filter(function(s){return e.palette[s]})},set palette(s){e.updatePalette(s)},show:function(){e.element.classList.remove("hidden")},hide:function(){e.element.classList.add("hidden")},toggle:function(){e.element.classList.toggle("hidden")},on:function(s,a){return s&&r[s]&&r[s].on(a),this},off:function(s,a){return s&&r[s]&&r[s].off(a),this},destroy:function(){r.change.off(),r.coloradd.off(),r.colorremove.off(),e.element.remove(),r=null,e=null}};return e.onchange=function(){for(var s=arguments.length,a=Array(s),m=0;m<s;m++)a[m]=arguments[m];p=!0,r.change.emit([d].concat(a),d)},e.oncoloradd=function(){for(var s=arguments.length,a=Array(s),m=0;m<s;m++)a[m]=arguments[m];r.coloradd.emit([d].concat(a),d)},e.oncolorremove=function(){for(var s=arguments.length,a=Array(s),m=0;m<s;m++)a[m]=arguments[m];r.colorremove.emit([d].concat(a),d)},e.element.ctrl=d,d}if(typeof window!="undefined"&&!document.querySelector('head>style[data-source="a-color-picker"]')){var u=A(5).toString(),v=document.createElement("style");v.setAttribute("type","text/css"),v.setAttribute("data-source","a-color-picker"),v.innerHTML=u,document.querySelector("head").appendChild(v)}o.createPicker=h,o.from=function(l,t){var e=function(r){return r?Array.isArray(r)?r:r instanceof HTMLElement?[r]:r instanceof NodeList?[].concat(G(r)):typeof r=="string"?[].concat(G(document.querySelectorAll(r))):r.jquery?r.get():[]:[]}(l).map(function(r,p){var c=h(r,t);return c.index=p,c});return e.on=function(r,p){return e.forEach(function(c){return c.on(r,p)}),this},e.off=function(r){return e.forEach(function(p){return p.off(r)}),this},e},o.parseColorToRgb=n.parseColorToRgb,o.parseColorToRgba=n.parseColorToRgba,o.parseColorToHsl=n.parseColorToHsl,o.parseColorToHsla=n.parseColorToHsla,o.parseColor=n.parseColor,o.rgbToHex=n.rgbToHex,o.hslToRgb=n.hslToRgb,o.rgbToHsl=n.rgbToHsl,o.rgbToHsv=n.rgbToHsv,o.rgbToInt=n.rgbToInt,o.intToRgb=n.intToRgb,o.getLuminance=n.getLuminance,o.COLOR_NAMES=n.COLOR_NAMES,o.PALETTE_MATERIAL_500=n.PALETTE_MATERIAL_500,o.PALETTE_MATERIAL_CHROME=n.PALETTE_MATERIAL_CHROME,o.VERSION="1.2.1"},function(H,o,A){Object.defineProperty(o,"__esModule",{value:!0}),o.nvl=o.ensureArray=o.limit=o.getLuminance=o.parseColor=o.parseColorToHsla=o.parseColorToHsl=o.cssHslaToHsla=o.cssHslToHsl=o.parseColorToRgba=o.parseColorToRgb=o.cssRgbaToRgba=o.cssRgbToRgb=o.cssColorToRgba=o.cssColorToRgb=o.intToRgb=o.rgbToInt=o.rgbToHsv=o.rgbToHsl=o.hslToRgb=o.rgbToHex=o.PALETTE_MATERIAL_CHROME=o.PALETTE_MATERIAL_500=o.COLOR_NAMES=void 0;var b=function(i,h){if(Array.isArray(i))return i;if(Symbol.iterator in Object(i))return function(u,v){var l=[],t=!0,e=!1,r=void 0;try{for(var p,c=u[Symbol.iterator]();!(t=(p=c.next()).done)&&(l.push(p.value),!v||l.length!==v);t=!0);}catch(d){e=!0,r=d}finally{try{!t&&c.return&&c.return()}finally{if(e)throw r}}return l}(i,h);throw new TypeError("Invalid attempt to destructure non-iterable instance")},g=function(i){return i&&i.__esModule?i:{default:i}}(A(0));function n(i){if(Array.isArray(i)){for(var h=0,u=Array(i.length);h<i.length;h++)u[h]=i[h];return u}return Array.from(i)}var B={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",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",darkgrey:"#A9A9A9",darkgreen:"#006400",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",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",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",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",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",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function f(i,h,u){return i=+i,isNaN(i)||i<h?h:i>u?u:i}function R(i,h){return i==null?h:i}function F(i,h,u){var v=[f(i,0,255),f(h,0,255),f(u,0,255)];return"#"+("000000"+((i=v[0])<<16|(h=v[1])<<8|(u=v[2])).toString(16)).slice(-6)}function G(i,h,u){var v=void 0,l=void 0,t=void 0,e=[f(i,0,360)/360,f(h,0,100)/100,f(u,0,100)/100];if(i=e[0],u=e[2],(h=e[1])==0)v=l=t=u;else{var r=function(d,s,a){return a<0&&(a+=1),a>1&&(a-=1),a<.16666666666666666?d+6*(s-d)*a:a<.5?s:a<.6666666666666666?d+(s-d)*(.6666666666666666-a)*6:d},p=u<.5?u*(1+h):u+h-u*h,c=2*u-p;v=r(c,p,i+1/3),l=r(c,p,i),t=r(c,p,i-1/3)}return[255*v,255*l,255*t].map(Math.round)}function L(i,h,u){var v=[f(i,0,255)/255,f(h,0,255)/255,f(u,0,255)/255];i=v[0],h=v[1],u=v[2];var l=Math.max(i,h,u),t=Math.min(i,h,u),e=void 0,r=void 0,p=(l+t)/2;if(l==t)e=r=0;else{var c=l-t;switch(r=p>.5?c/(2-l-t):c/(l+t),l){case i:e=(h-u)/c+(h<u?6:0);break;case h:e=(u-i)/c+2;break;case u:e=(i-h)/c+4}e/=6}return[360*e,100*r,100*p].map(Math.round)}function T(i,h,u){return i<<16|h<<8|u}function C(i){if(i){var h=B[i.toString().toLowerCase()],u=/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(h||i)||[],v=b(u,10),l=v[3],t=v[4],e=v[5],r=v[7],p=v[8],c=v[9];if(l!==void 0)return[parseInt(l+l,16),parseInt(t+t,16),parseInt(e+e,16)];if(r!==void 0)return[parseInt(r,16),parseInt(p,16),parseInt(c,16)]}}function w(i){if(i){var h=B[i.toString().toLowerCase()],u=/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(h||i)||[],v=b(u,12),l=v[3],t=v[4],e=v[5],r=v[6],p=v[8],c=v[9],d=v[10],s=v[11];if(l!==void 0)return[parseInt(l+l,16),parseInt(t+t,16),parseInt(e+e,16),r?+(parseInt(r+r,16)/255).toFixed(2):1];if(p!==void 0)return[parseInt(p,16),parseInt(c,16),parseInt(d,16),s?+(parseInt(s,16)/255).toFixed(2):1]}}function I(i){if(i){var h=/^rgb\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(i)||[],u=b(h,4),v=u[0],l=u[1],t=u[2],e=u[3];return v?[f(l,0,255),f(t,0,255),f(e,0,255)]:void 0}}function P(i){if(i){var h=/^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(i)||[],u=b(h,6),v=u[0],l=u[1],t=u[2],e=u[3],r=u[5];return v?[f(l,0,255),f(t,0,255),f(e,0,255),f(R(r,1),0,1)]:void 0}}function D(i){if(Array.isArray(i))return[f(i[0],0,255),f(i[1],0,255),f(i[2],0,255),f(R(i[3],1),0,1)];var h=w(i)||P(i);return h&&h.length===3&&h.push(1),h}function M(i){if(i){var h=/^hsl\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(i)||[],u=b(h,4),v=u[0],l=u[1],t=u[2],e=u[3];return v?[f(l,0,360),f(t,0,100),f(e,0,100)]:void 0}}function x(i){if(i){var h=/^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(i)||[],u=b(h,6),v=u[0],l=u[1],t=u[2],e=u[3],r=u[5];return v?[f(l,0,255),f(t,0,255),f(e,0,255),f(R(r,1),0,1)]:void 0}}function _(i){if(Array.isArray(i))return[f(i[0],0,360),f(i[1],0,100),f(i[2],0,100),f(R(i[3],1),0,1)];var h=x(i);return h&&h.length===3&&h.push(1),h}function O(i,h){switch(h){case"rgb":default:return i.slice(0,3);case"rgbcss":return"rgb("+i[0]+", "+i[1]+", "+i[2]+")";case"rgbcss4":return"rgb("+i[0]+", "+i[1]+", "+i[2]+", "+i[3]+")";case"rgba":return i;case"rgbacss":return"rgba("+i[0]+", "+i[1]+", "+i[2]+", "+i[3]+")";case"hsl":return L.apply(void 0,n(i));case"hslcss":return"hsl("+(i=L.apply(void 0,n(i)))[0]+", "+i[1]+", "+i[2]+")";case"hslcss4":var u=L.apply(void 0,n(i));return"hsl("+u[0]+", "+u[1]+", "+u[2]+", "+i[3]+")";case"hsla":return[].concat(n(L.apply(void 0,n(i))),[i[3]]);case"hslacss":var v=L.apply(void 0,n(i));return"hsla("+v[0]+", "+v[1]+", "+v[2]+", "+i[3]+")";case"hex":return F.apply(void 0,n(i));case"hexcss4":return F.apply(void 0,n(i))+("00"+parseInt(255*i[3]).toString(16)).slice(-2);case"int":return T.apply(void 0,n(i))}}o.COLOR_NAMES=B,o.PALETTE_MATERIAL_500=["#F44336","#E91E63","#E91E63","#9C27B0","#9C27B0","#673AB7","#673AB7","#3F51B5","#3F51B5","#2196F3","#2196F3","#03A9F4","#03A9F4","#00BCD4","#00BCD4","#009688","#009688","#4CAF50","#4CAF50","#8BC34A","#8BC34A","#CDDC39","#CDDC39","#FFEB3B","#FFEB3B","#FFC107","#FFC107","#FF9800","#FF9800","#FF5722","#FF5722","#795548","#795548","#9E9E9E","#9E9E9E","#607D8B","#607D8B"],o.PALETTE_MATERIAL_CHROME=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b"],o.rgbToHex=F,o.hslToRgb=G,o.rgbToHsl=L,o.rgbToHsv=function(i,h,u){var v=[f(i,0,255)/255,f(h,0,255)/255,f(u,0,255)/255];i=v[0],h=v[1],u=v[2];var l,t=Math.max(i,h,u),e=Math.min(i,h,u),r=void 0,p=t,c=t-e;if(l=t===0?0:c/t,t==e)r=0;else{switch(t){case i:r=(h-u)/c+(h<u?6:0);break;case h:r=(u-i)/c+2;break;case u:r=(i-h)/c+4}r/=6}return[r,l,p]},o.rgbToInt=T,o.intToRgb=function(i){return[i>>16&255,i>>8&255,255&i]},o.cssColorToRgb=C,o.cssColorToRgba=w,o.cssRgbToRgb=I,o.cssRgbaToRgba=P,o.parseColorToRgb=function(i){return Array.isArray(i)?i=[f(i[0],0,255),f(i[1],0,255),f(i[2],0,255)]:C(i)||I(i)},o.parseColorToRgba=D,o.cssHslToHsl=M,o.cssHslaToHsla=x,o.parseColorToHsl=function(i){return Array.isArray(i)?i=[f(i[0],0,360),f(i[1],0,100),f(i[2],0,100)]:M(i)},o.parseColorToHsla=_,o.parseColor=function(i,h){if(h=h||"rgb",i!=null){var u=void 0;if((u=D(i))||(u=_(i))&&(u=[].concat(n(G.apply(void 0,n(u))),[u[3]])))return(0,g.default)(h)?["rgb","rgbcss","rgbcss4","rgba","rgbacss","hsl","hslcss","hslcss4","hsla","hslacss","hex","hexcss4","int"].reduce(function(v,l){return v[l]=O(u,l),v},h||{}):O(u,h.toString().toLowerCase())}},o.getLuminance=function(i,h,u){return .2126*(i=(i/=255)<.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.7152*(h=(h/=255)<.03928?h/12.92:Math.pow((h+.055)/1.055,2.4))+.0722*((u/=255)<.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))},o.limit=f,o.ensureArray=function(i){return i?Array.from(i):[]},o.nvl=R},function(H,o,A){/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/H.exports=function(b){return b!=null&&typeof b=="object"&&Array.isArray(b)===!1}},function(H,o){H.exports='<div class="a-color-picker-row a-color-picker-stack a-color-picker-row-top"> <canvas class="a-color-picker-sl a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> <div class=a-color-picker-row> <div class="a-color-picker-stack a-color-picker-transparent a-color-picker-circle"> <div class=a-color-picker-preview> <input class=a-color-picker-clipbaord type=text> </div> </div> <div class=a-color-picker-column> <div class="a-color-picker-cell a-color-picker-stack"> <canvas class=a-color-picker-h></canvas> <div class=a-color-picker-dot></div> </div> <div class="a-color-picker-cell a-color-picker-alpha a-color-picker-stack" show-on-alpha> <canvas class="a-color-picker-a a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> </div> </div> <div class="a-color-picker-row a-color-picker-hsl" show-on-hsl> <label>H</label> <input nameref=H type=number maxlength=3 min=0 max=360 value=0> <label>S</label> <input nameref=S type=number maxlength=3 min=0 max=100 value=0> <label>L</label> <input nameref=L type=number maxlength=3 min=0 max=100 value=0> </div> <div class="a-color-picker-row a-color-picker-rgb" show-on-rgb> <label>R</label> <input nameref=R type=number maxlength=3 min=0 max=255 value=0> <label>G</label> <input nameref=G type=number maxlength=3 min=0 max=255 value=0> <label>B</label> <input nameref=B type=number maxlength=3 min=0 max=255 value=0> </div> <div class="a-color-picker-row a-color-picker-rgbhex a-color-picker-single-input" show-on-single-input> <label>HEX</label> <input nameref=RGBHEX type=text select-on-focus> </div> <div class="a-color-picker-row a-color-picker-palette"></div>'},function(H,o,A){var b=A(6);H.exports=typeof b=="string"?b:b.toString()},function(H,o,A){(H.exports=A(7)(!1)).push([H.i,`/*!
 * a-color-picker
 * https://github.com/narsenico/a-color-picker
 *
 * Copyright (c) 2017-2018, Gianfranco Caldi.
 * Released under the MIT License.
 */.a-color-picker{background-color:#fff;padding:0;display:inline-flex;flex-direction:column;user-select:none;width:232px;font:400 10px Helvetica,Arial,sans-serif;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.25)}.a-color-picker,.a-color-picker-row,.a-color-picker input{box-sizing:border-box}.a-color-picker-row{padding:15px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;user-select:none}.a-color-picker-row-top{padding:0}.a-color-picker-row:not(:first-child){border-top:1px solid #f5f5f5}.a-color-picker-column{display:flex;flex-direction:column}.a-color-picker-cell{flex:1 1 auto;margin-bottom:4px}.a-color-picker-cell:last-child{margin-bottom:0}.a-color-picker-stack{position:relative}.a-color-picker-dot{position:absolute;width:14px;height:14px;top:0;left:0;background:#fff;pointer-events:none;border-radius:50px;z-index:1000;box-shadow:0 1px 2px rgba(0,0,0,.75)}.a-color-picker-a,.a-color-picker-h,.a-color-picker-sl{cursor:cell}.a-color-picker-a+.a-color-picker-dot,.a-color-picker-h+.a-color-picker-dot{top:-2px}.a-color-picker-a,.a-color-picker-h{border-radius:2px}.a-color-picker-preview{box-sizing:border-box;width:30px;height:30px;user-select:none;border-radius:15px}.a-color-picker-circle{border-radius:50px;border:1px solid #eee}.a-color-picker-hsl,.a-color-picker-rgb,.a-color-picker-single-input{justify-content:space-evenly}.a-color-picker-hsl>label,.a-color-picker-rgb>label,.a-color-picker-single-input>label{padding:0 8px;flex:0 0 auto;color:#969696}.a-color-picker-hsl>input,.a-color-picker-rgb>input,.a-color-picker-single-input>input{text-align:center;padding:2px 0;width:0;flex:1 1 auto;border:1px solid #e0e0e0;line-height:20px}.a-color-picker-hsl>input::-webkit-inner-spin-button,.a-color-picker-rgb>input::-webkit-inner-spin-button,.a-color-picker-single-input>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.a-color-picker-hsl>input:focus,.a-color-picker-rgb>input:focus,.a-color-picker-single-input>input:focus{border-color:#04a9f4;outline:none}.a-color-picker-transparent{background-image:linear-gradient(-45deg,#cdcdcd 25%,transparent 0),linear-gradient(45deg,#cdcdcd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#cdcdcd 0),linear-gradient(45deg,transparent 75%,#cdcdcd 0);background-size:11px 11px;background-position:0 0,0 -5.5px,-5.5px 5.5px,5.5px 0}.a-color-picker-sl{border-radius:3px 3px 0 0}.a-color-picker.hide-alpha [show-on-alpha],.a-color-picker.hide-hsl [show-on-hsl],.a-color-picker.hide-rgb [show-on-rgb],.a-color-picker.hide-single-input [show-on-single-input]{display:none}.a-color-picker-clipbaord{width:100%;height:100%;opacity:0;cursor:pointer}.a-color-picker-palette{flex-flow:wrap;flex-direction:row;justify-content:flex-start;padding:10px}.a-color-picker-palette-color{width:15px;height:15px;flex:0 1 15px;margin:3px;box-sizing:border-box;cursor:pointer;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.a-color-picker-palette-add{text-align:center;line-height:13px;color:#607d8b}.a-color-picker.hidden{display:none}`,""])},function(H,o){H.exports=function(A){var b=[];return b.toString=function(){return this.map(function(g){var n=function(B,f){var R=B[1]||"",F=B[3];if(!F)return R;if(f&&typeof btoa=="function"){var G=function(T){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(T))))+" */"}(F),L=F.sources.map(function(T){return"/*# sourceURL="+F.sourceRoot+T+" */"});return[R].concat(L).concat([G]).join(`
`)}return[R].join(`
`)}(g,A);return g[2]?"@media "+g[2]+"{"+n+"}":n}).join("")},b.i=function(g,n){typeof g=="string"&&(g=[[null,g,""]]);for(var B={},f=0;f<this.length;f++){var R=this[f][0];typeof R=="number"&&(B[R]=!0)}for(f=0;f<g.length;f++){var F=g[f];typeof F[0]=="number"&&B[F[0]]||(n&&!F[2]?F[2]=n:n&&(F[2]="("+F[2]+") and ("+n+")"),b.push(F))}},b}}])})})(se);export{se as a};
