=n)O("invalid-input");var g=v(t.charCodeAt(c++));if(g>=N||g>Z((W-r)/d))O("overflow");r+=g*d;var p=u<=s?G:u>=s+F?F:u-s;if(gZ(W/m))O("overflow");d*=m}var f=i.length+1;s=j(r-h,f,h==0);if(Z(r/f)>W-o)O("overflow");o+=Z(r/f);r%=f;i.splice(r++,0,o)}return String.fromCodePoint.apply(String,i)},b=function e(t){var i=[];t=D(t);var n=t.length;var r=H;var o=0;var s=P;var a=true;var l=false;var c=undefined;try{for(var h=t[Symbol.iterator](),d;!(a=(d=h.next()).done);a=true){var u=d.value;if(u<128)i.push(M(u))}}catch(e){l=true;c=e}finally{try{if(!a&&h.return)h.return()}finally{if(l)throw c}}var g=i.length;var p=g;if(g)i.push(V);while(p=r&&bZ((W-o)/y))O("overflow");o+=(m-r)*y;r=m;var w=true;var S=false;var x=undefined;try{for(var k=t[Symbol.iterator](),E;!(w=(E=k.next()).done);w=true){var R=E.value;if(RW)O("overflow");if(R==r){var T=o;for(var _=N;;_+=N){var $=_<=s?G:_>=s+F?F:_-s;if(T<$)break;var L=T-$;var B=N-$;i.push(M(K($+L%B,0)));T=Z(L/B)}i.push(M(K(T,0)));s=j(o,y,p==g);o=0;++p}}}catch(e){S=true;x=e}finally{try{if(!w&&k.return)k.return()}finally{if(S)throw x}}++o;++r}return i.join("")},w,S,x={version:"2.1.0",ucs2:{decode:D,encode:function e(t){return String.fromCodePoint.apply(String,i(t))}},decode:A,encode:b,toASCII:function e(t){return C(t,function(e){return h.test(e)?"xn--"+b(e):e})},toUnicode:function e(t){return C(t,function(e){return c.test(e)?A(e.slice(4).toLowerCase()):e})}},k={};function E(e){var t=e.charCodeAt(0);var i=void 0;if(t<16)i="%0"+t.toString(16).toUpperCase();else if(t<128)i="%"+t.toString(16).toUpperCase();else if(t<2048)i="%"+(t>>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else i="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return i}function R(e){var t="";var i=0;var n=e.length;while(i=194&&r<224){if(n-i>=6){var o=parseInt(e.substr(i+4,2),16);t+=String.fromCharCode((r&31)<<6|o&63)}else t+=e.substr(i,6);i+=6}else if(r>=224){if(n-i>=9){var s=parseInt(e.substr(i+4,2),16);var a=parseInt(e.substr(i+7,2),16);t+=String.fromCharCode((r&15)<<12|(s&63)<<6|a&63)}else t+=e.substr(i,9);i+=9}else{t+=e.substr(i,3);i+=3}}return t}function T(e,i){function t(e){var t=R(e);return!t.match(i.UNRESERVED)?e:t}if(e.scheme)e.scheme=String(e.scheme).replace(i.PCT_ENCODED,t).toLowerCase().replace(i.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(i.PCT_ENCODED,t).replace(i.NOT_USERINFO,E).replace(i.PCT_ENCODED,p);if(e.host!==undefined)e.host=String(e.host).replace(i.PCT_ENCODED,t).toLowerCase().replace(i.NOT_HOST,E).replace(i.PCT_ENCODED,p);if(e.path!==undefined)e.path=String(e.path).replace(i.PCT_ENCODED,t).replace(e.scheme?i.NOT_PATH:i.NOT_PATH_NOSCHEME,E).replace(i.PCT_ENCODED,p);if(e.query!==undefined)e.query=String(e.query).replace(i.PCT_ENCODED,t).replace(i.NOT_QUERY,E).replace(i.PCT_ENCODED,p);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(i.PCT_ENCODED,t).replace(i.NOT_FRAGMENT,E).replace(i.PCT_ENCODED,p);return e}function _(e){return e.replace(/^0*(.*)/,"$1")||"0"}function $(e,t){var i=e.match(t.IPV4ADDRESS)||[];var n=y(i,2),r=n[1];if(r)return r.split(".").map(_).join(".");else return e}function L(e,t){var i=e.match(t.IPV6ADDRESS)||[];var n=y(i,3),r=n[1],o=n[2];if(r){var s=r.toLowerCase().split("::").reverse(),a=y(s,2),l=a[0],c=a[1];var h=c?c.split(":").map(_):[];var d=l.split(":").map(_);var u=t.IPV4ADDRESS.test(d[d.length-1]);var g=u?7:8;var p=d.length-g;var m=Array(g);for(var f=0;f1){var A=m.slice(0,I.index);var b=m.slice(I.index+I.length);v=A.join(":")+"::"+b.join(":")}else v=m.join(":");if(o)v+="%"+o;return v}else return e}var B=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,z="".match(/(){0}/)[1]===undefined;function X(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i={};var n=t.iri!==false?l:a;if(t.reference==="suffix")e=(t.scheme?t.scheme+":":"")+"//"+e;var r=e.match(B);if(r){if(z){i.scheme=r[1];i.userinfo=r[3];i.host=r[4];i.port=parseInt(r[5],10);i.path=r[6]||"";i.query=r[7];i.fragment=r[8];if(isNaN(i.port))i.port=r[5]}else{i.scheme=r[1]||undefined;i.userinfo=e.indexOf("@")!==-1?r[3]:undefined;i.host=e.indexOf("//")!==-1?r[4]:undefined;i.port=parseInt(r[5],10);i.path=r[6]||"";i.query=e.indexOf("?")!==-1?r[7]:undefined;i.fragment=e.indexOf("#")!==-1?r[8]:undefined;if(isNaN(i.port))i.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?r[4]:undefined}if(i.host)i.host=L($(i.host,n),n);if(i.scheme===undefined&&i.userinfo===undefined&&i.host===undefined&&i.port===undefined&&!i.path&&i.query===undefined)i.reference="same-document";else if(i.scheme===undefined)i.reference="relative";else if(i.fragment===undefined)i.reference="absolute";else i.reference="uri";if(t.reference&&t.reference!=="suffix"&&t.reference!==i.reference)i.error=i.error||"URI is not a "+t.reference+" reference.";var o=k[(t.scheme||i.scheme||"").toLowerCase()];if(!t.unicodeSupport&&(!o||!o.unicodeSupport)){if(i.host&&(t.domainHost||o&&o.domainHost))try{i.host=x.toASCII(i.host.replace(n.PCT_ENCODED,R).toLowerCase())}catch(e){i.error=i.error||"Host's domain name can not be converted to ASCII via punycode: "+e}T(i,a)}else T(i,n);if(o&&o.parse)o.parse(i,t)}else i.error=i.error||"URI can not be parsed.";return i}function J(e,t){var i=t.iri!==false?l:a;var n=[];if(e.userinfo!==undefined){n.push(e.userinfo);n.push("@")}if(e.host!==undefined)n.push(L($(String(e.host),i),i).replace(i.IPV6ADDRESS,function(e,t,i){return"["+t+(i?"%25"+i:"")+"]"}));if(typeof e.port==="number"||typeof e.port==="string"){n.push(":");n.push(String(e.port))}return n.length?n.join(""):undefined}var Y=/^\.\.?\//,U=/^\/\.(\/|$)/,Q=/^\/\.\.(\/|$)/,q=/^\/?(?:.|\n)*?(?=\/|$)/;function ee(e){var t=[];while(e.length)if(e.match(Y))e=e.replace(Y,"");else if(e.match(U))e=e.replace(U,"/");else if(e.match(Q)){e=e.replace(Q,"/");t.pop()}else if(e==="."||e==="..")e="";else{var i=e.match(q);if(i){var n=i[0];e=e.slice(n.length);t.push(n)}else throw new Error("Unexpected dot segment condition")}return t.join("")}function te(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var e=i.iri?l:a;var n=[];var r=k[(i.scheme||t.scheme||"").toLowerCase()];if(r&&r.serialize)r.serialize(t,i);if(t.host)if(e.IPV6ADDRESS.test(t.host));else if(i.domainHost||r&&r.domainHost)try{t.host=!i.iri?x.toASCII(t.host.replace(e.PCT_ENCODED,R).toLowerCase()):x.toUnicode(t.host)}catch(e){t.error=t.error||"Host's domain name can not be converted to "+(!i.iri?"ASCII":"Unicode")+" via punycode: "+e}T(t,e);if(i.reference!=="suffix"&&t.scheme){n.push(t.scheme);n.push(":")}var o=J(t,i);if(o!==undefined){if(i.reference!=="suffix")n.push("//");n.push(o);if(t.path&&t.path.charAt(0)!=="/")n.push("/")}if(t.path!==undefined){var s=t.path;if(!i.absolutePath&&(!r||!r.absolutePath))s=ee(s);if(o===undefined)s=s.replace(/^\/\//,"/%2F");n.push(s)}if(t.query!==undefined){n.push("?");n.push(t.query)}if(t.fragment!==undefined){n.push("#");n.push(t.fragment)}return n.join("")}function ie(e,t){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var r={};if(!n){e=X(te(e,i),i);t=X(te(t,i),i)}i=i||{};if(!i.tolerant&&t.scheme){r.scheme=t.scheme;r.userinfo=t.userinfo;r.host=t.host;r.port=t.port;r.path=ee(t.path||"");r.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){r.userinfo=t.userinfo;r.host=t.host;r.port=t.port;r.path=ee(t.path||"");r.query=t.query}else{if(!t.path){r.path=e.path;if(t.query!==undefined)r.query=t.query;else r.query=e.query}else{if(t.path.charAt(0)==="/")r.path=ee(t.path);else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path)r.path="/"+t.path;else if(!e.path)r.path=t.path;else r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path;r.path=ee(r.path)}r.query=t.query}r.userinfo=e.userinfo;r.host=e.host;r.port=e.port}r.scheme=e.scheme}r.fragment=t.fragment;return r}function ne(e,t,i){var n=r({scheme:"null"},i);return te(ie(X(e,n),X(t,n),n,true),n)}function re(e,t){if(typeof e==="string")e=te(X(e,t),t);else if(n(e)==="object")e=X(te(e,t),t);return e}function oe(e,t,i){if(typeof e==="string")e=te(X(e,i),i);else if(n(e)==="object")e=te(e,i);if(typeof t==="string")t=te(X(t,i),i);else if(n(t)==="object")t=te(t,i);return e===t}function se(e,t){return e&&e.toString().replace(!t||!t.iri?a.ESCAPE:l.ESCAPE,E)}function ae(e,t){return e&&e.toString().replace(!t||!t.iri?a.PCT_ENCODED:l.PCT_ENCODED,R)}var le={scheme:"http",domainHost:true,parse:function e(t,i){if(!t.host)t.error=t.error||"HTTP URIs must have a host.";return t},serialize:function e(t,i){var n=String(t.scheme).toLowerCase()==="https";if(t.port===(n?443:80)||t.port==="")t.port=undefined;if(!t.path)t.path="/";return t}},ce={scheme:"https",domainHost:le.domainHost,parse:le.parse,serialize:le.serialize};function ue(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var ge={scheme:"ws",domainHost:true,parse:function e(t,i){var n=t;n.secure=ue(n);n.resourceName=(n.path||"/")+(n.query?"?"+n.query:"");n.path=undefined;n.query=undefined;return n},serialize:function e(t,i){if(t.port===(ue(t)?443:80)||t.port==="")t.port=undefined;if(typeof t.secure==="boolean"){t.scheme=t.secure?"wss":"ws";t.secure=undefined}if(t.resourceName){var n=t.resourceName.split("?"),r=y(n,2),o=r[0],s=r[1];t.path=o&&o!=="/"?o:undefined;t.query=s;t.resourceName=undefined}t.fragment=undefined;return t}},pe={scheme:"wss",domainHost:ge.domainHost,parse:ge.parse,serialize:ge.serialize},me={},fe,Ce="[A-Za-z0-9\\-\\.\\_\\~"+(true?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Ie="[0-9A-Fa-f]",ve=de(de("%[EFef]"+Ie+"%"+Ie+Ie+"%"+Ie+Ie)+"|"+de("%[89A-Fa-f]"+Ie+"%"+Ie+Ie)+"|"+de("%"+Ie+Ie)),Ae="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be,ye=he("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),we="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Se=new RegExp(Ce,"g"),xe=new RegExp(ve,"g"),ke=new RegExp(he("[^]",Ae,"[\\.]",'[\\"]',ye),"g"),Ee=new RegExp(he("[^]",Ce,we),"g"),Re=Ee;function Te(e){var t=R(e);return!t.match(Se)?e:t}var _e={scheme:"mailto",parse:function e(t,i){var n=t;var r=n.to=n.path?n.path.split(","):[];n.path=undefined;if(n.query){var o=false;var s={};var a=n.query.split("&");for(var l=0,c=a.length;l1&&arguments[1]!==undefined?arguments[1]:1;var i=t>0?e.toFixed(t).replace(/0+$/,"").replace(/\.$/,""):e.toString();return i||"0"}var o=function(){function p(e,t,i,n){s(this,p);var g=this;function r(e){if(e.startsWith("hsl")){var t=e.match(/([\-\d\.e]+)/g).map(Number),i=m(t,4),n=i[0],r=i[1],o=i[2],s=i[3];if(s===undefined)s=1;n/=360;r/=100;o/=100;g.hsla=[n,r,o,s]}else if(e.startsWith("rgb")){var a=e.match(/([\-\d\.e]+)/g).map(Number),l=m(a,4),c=l[0],h=l[1],d=l[2],u=l[3];if(u===undefined)u=1;g.rgba=[c,h,d,u]}else if(e.startsWith("#"))g.rgba=p.hexToRgb(e);else g.rgba=p.nameToRgb(e)||p.hexToRgb(e)}if(e===undefined);else if(Array.isArray(e))this.rgba=e;else if(i===undefined){var o=e&&""+e;if(o)r(o.toLowerCase())}else this.rgba=[e,t,i,n===undefined?1:n]}e(p,[{key:"printRGB",value:function e(t){var i=t?this.rgba:this.rgba.slice(0,3),n=i.map(function(e,t){return a(e,t===3?3:0)});return t?"rgba("+n+")":"rgb("+n+")"}},{key:"printHSL",value:function e(t){var i=[360,100,100,1],n=["","%","%",""];var r=t?this.hsla:this.hsla.slice(0,3),o=r.map(function(e,t){return a(e*i[t],t===3?3:1)+n[t]});return t?"hsla("+o+")":"hsl("+o+")"}},{key:"printHex",value:function e(t){var i=this.hex;return t?i:i.substring(0,7)}},{key:"rgba",get:function e(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=p.hslToRgb(this._hsla)},set:function e(t){if(t.length===3)t[3]=1;this._rgba=t;this._hsla=null}},{key:"rgbString",get:function e(){return this.printRGB()}},{key:"rgbaString",get:function e(){return this.printRGB(true)}},{key:"hsla",get:function e(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=p.rgbToHsl(this._rgba)},set:function e(t){if(t.length===3)t[3]=1;this._hsla=t;this._rgba=null}},{key:"hslString",get:function e(){return this.printHSL()}},{key:"hslaString",get:function e(){return this.printHSL(true)}},{key:"hex",get:function e(){var t=this.rgba,i=t.map(function(e,t){return t<3?e.toString(16):Math.round(e*255).toString(16)});return"#"+i.map(function(e){return e.padStart(2,"0")}).join("")},set:function e(t){this.rgba=p.hexToRgb(t)}}],[{key:"hexToRgb",value:function e(t){var i=(t.startsWith("#")?t.slice(1):t).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!i.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+t);var n=i.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(e){return parseInt(e,16)});n[3]=n[3]/255;return n}},{key:"nameToRgb",value:function e(t){var i=t.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),n=r[i];return n===undefined?n:p.hexToRgb(n.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function e(t){var i=m(t,4),n=i[0],r=i[1],o=i[2],s=i[3];n/=255;r/=255;o/=255;var a=Math.max(n,r,o),l=Math.min(n,r,o);var c=void 0,h=void 0,d=(a+l)/2;if(a===l)c=h=0;else{var u=a-l;h=d>.5?u/(2-a-l):u/(a+l);switch(a){case n:c=(r-o)/u+(r1)n-=1;if(n<1/6)return t+(i-t)*6*n;if(n<1/2)return i;if(n<2/3)return t+(i-t)*(2/3-n)*6;return t};var d=o<.5?o*(1+r):o+r-o*r,u=2*o-d;a=h(u,d,n+1/3);l=h(u,d,n);c=h(u,d,n-1/3)}var g=[a*255,l*255,c*255].map(Math.round);g[3]=s;return g}}]);return p}(),i=function(){function o(){s(this,o);this._events=[]}e(o,[{key:"add",value:function e(t,i,n){t.addEventListener(i,n,false);this._events.push({target:t,type:i,handler:n})}},{key:"remove",value:function e(i,n,r){this._events=this._events.filter(function(e){var t=true;if(i&&i!==e.target)t=false;if(n&&n!==e.type)t=false;if(r&&r!==e.handler)t=false;if(t)o._doRemove(e.target,e.type,e.handler);return!t})}},{key:"destroy",value:function e(){this._events.forEach(function(e){return o._doRemove(e.target,e.type,e.handler)});this._events=[]}}],[{key:"_doRemove",value:function e(t,i,n){t.removeEventListener(i,n,false)}}]);return o}();function l(e){var t=document.createElement("div");t.innerHTML=e;return t.firstElementChild}function c(e,h,d){var u=false;function g(e,t,i){return Math.max(t,Math.min(e,i))}function n(e,t,i){if(i)u=true;if(!u)return;e.preventDefault();var n=h.getBoundingClientRect(),r=n.width,o=n.height,s=t.clientX,a=t.clientY;var l=g(s-n.left,0,r),c=g(a-n.top,0,o);d(l/r,c/o)}function t(e,t){var i=e.buttons===undefined?e.which:e.buttons;if(i===1)n(e,e,t);else u=false}function i(e,t){if(e.touches.length===1)n(e,e.touches[0],t);else u=false}e.add(h,"mousedown",function(e){t(e,true)});e.add(h,"touchstart",function(e){i(e,true)});e.add(window,"mousemove",t);e.add(h,"touchmove",i);e.add(window,"mouseup",function(e){u=false});e.add(h,"touchend",function(e){u=false});e.add(h,"touchcancel",function(e){u=false})}var b="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\")",y=360,h="keydown",d="mousedown",u="focusin";function w(e,t){return(t||document).querySelector(e)}function g(e){e.preventDefault();e.stopPropagation()}function p(e,t,i,n,r){e.add(t,h,function(e){if(i.indexOf(e.key)>=0){if(r)g(e);n(e)}})}var n=document.createElement("style"),t;return n.textContent=".picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:stretch;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:'';display:block;width:100%;height:0;-webkit-box-ordinal-group:2;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{-webkit-box-flex:1;flex:1 1 auto}.layout_default .picker_sl::before{content:'';display:block;padding-bottom:100%}.layout_default .picker_editor{-webkit-box-ordinal-group:2;order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{-webkit-box-ordinal-group:2;order:1;-webkit-box-flex:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{-webkit-box-ordinal-group:2;order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px dodgerblue}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:whitesmoke;background-image:-webkit-gradient(linear, left bottom, left top, from(gainsboro), to(transparent));background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:-webkit-gradient(linear, left bottom, left top, from(transparent), to(gainsboro));background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:white}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:-webkit-gradient(linear, left top, right top, from(red), color-stop(yellow), color-stop(lime), color-stop(cyan), color-stop(blue), color-stop(magenta), to(red));background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:-webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, rgba(255,255,255,0))),-webkit-gradient(linear, left bottom, left top, from(black), color-stop(50%, rgba(0,0,0,0))),-webkit-gradient(linear, left top, right top, from(gray), to(rgba(128,128,128,0)));background-image:linear-gradient(180deg, white, rgba(255,255,255,0) 50%),linear-gradient(0deg, black, rgba(0,0,0,0) 50%),linear-gradient(90deg, gray, rgba(128,128,128,0))}.picker_alpha,.picker_sample{position:relative;background:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\") left top/contain white;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:'';position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,0.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:\"\";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}",document.documentElement.firstElementChild.appendChild(n),function(){function t(e){s(this,t);this.settings={popup:"right",layout:"default",alpha:true,editor:true,editorFormat:"hex",cancelButton:false,defaultColor:"#0cf"};this._events=new i;this.onChange=null;this.onDone=null;this.onOpen=null;this.onClose=null;this.setOptions(e)}e(t,[{key:"setOptions",value:function e(t){var i=this;if(!t)return;var n=this.settings;function r(e,t,i){for(var n in e){if(i&&i.indexOf(n)>=0)continue;t[n]=e[n]}}if(t instanceof HTMLElement)n.parent=t;else{if(n.parent&&t.parent&&n.parent!==t.parent){this._events.remove(n.parent);this._popupInited=false}r(t,n);if(t.onChange)this.onChange=t.onChange;if(t.onDone)this.onDone=t.onDone;if(t.onOpen)this.onOpen=t.onOpen;if(t.onClose)this.onClose=t.onClose;var o=t.color||t.colour;if(o)this._setColor(o)}var s=n.parent;if(s&&n.popup&&!this._popupInited){var a=function e(t){return i.openHandler(t)};this._events.add(s,"click",a);p(this._events,s,[" ","Spacebar","Enter"],a);this._popupInited=true}else if(t.parent&&!n.popup)this.show()}},{key:"openHandler",value:function e(t){if(this.show()){t&&t.preventDefault();this.settings.parent.style.pointerEvents="none";var i=t&&t.type===h?this._domEdit:this.domElement;setTimeout(function(){return i.focus()},100);if(this.onOpen)this.onOpen(this.colour)}}},{key:"closeHandler",value:function e(t){var i=t&&t.type;var n=false;if(!t)n=true;else if(i===d||i===u){var r=(this.__containedEvent||0)+100;if(t.timeStamp>r)n=true}else{g(t);n=true}if(n&&this.hide()){this.settings.parent.style.pointerEvents="";if(i!==d)this.settings.parent.focus();if(this.onClose)this.onClose(this.colour)}}},{key:"movePopup",value:function e(t,i){this.closeHandler();this.setOptions(t);if(i)this.openHandler()}},{key:"setColor",value:function e(t,i){this._setColor(t,{silent:i})}},{key:"_setColor",value:function e(t,i){if(typeof t==="string")t=t.trim();if(!t)return;i=i||{};var n=void 0;try{n=new o(t)}catch(e){if(i.failSilently)return;throw e}if(!this.settings.alpha){var r=n.hsla;r[3]=1;n.hsla=r}this.colour=this.color=n;this._setHSLA(null,null,null,null,i)}},{key:"setColour",value:function e(t,i){this.setColor(t,i)}},{key:"show",value:function e(){var t=this.settings.parent;if(!t)return false;if(this.domElement){var i=this._toggleDOM(true);this._setPosition();return i}var n=this.settings.template||'';var r=l(n);this.domElement=r;this._domH=w(".picker_hue",r);this._domSL=w(".picker_sl",r);this._domA=w(".picker_alpha",r);this._domEdit=w(".picker_editor input",r);this._domSample=w(".picker_sample",r);this._domOkay=w(".picker_done button",r);this._domCancel=w(".picker_cancel button",r);r.classList.add("layout_"+this.settings.layout);if(!this.settings.alpha)r.classList.add("no_alpha");if(!this.settings.editor)r.classList.add("no_editor");if(!this.settings.cancelButton)r.classList.add("no_cancel");this._ifPopup(function(){return r.classList.add("popup")});this._setPosition();if(this.colour)this._updateUI();else this._setColor(this.settings.defaultColor);this._bindEvents();return true}},{key:"hide",value:function e(){return this._toggleDOM(false)}},{key:"destroy",value:function e(){this._events.destroy();if(this.domElement)this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function e(){var i=this;var n=this,r=this.domElement,o=this._events;function s(e,t,i){o.add(e,t,i)}s(r,"click",function(e){return e.preventDefault()});c(o,this._domH,function(e,t){return n._setHSLA(e)});c(o,this._domSL,function(e,t){return n._setHSLA(null,e,1-t)});if(this.settings.alpha)c(o,this._domA,function(e,t){return n._setHSLA(null,null,null,1-t)});var t=this._domEdit;{s(t,"input",function(e){n._setColor(this.value,{fromEditor:true,failSilently:true})});s(t,"focus",function(e){var t=this;if(t.selectionStart===t.selectionEnd)t.select()})}this._ifPopup(function(){var e=function e(t){return i.closeHandler(t)};s(window,d,e);s(window,u,e);p(o,r,["Esc","Escape"],e);var t=function e(t){i.__containedEvent=t.timeStamp};s(r,d,t);s(r,u,t);s(i._domCancel,"click",e)});var a=function e(t){i._ifPopup(function(){return i.closeHandler(t)});if(i.onDone)i.onDone(i.colour)};s(this._domOkay,"click",a);p(o,r,["Enter"],a)}},{key:"_setPosition",value:function e(){var i=this.settings.parent,n=this.domElement;if(i!==n.parentNode)i.appendChild(n);this._ifPopup(function(e){if(getComputedStyle(i).position==="static")i.style.position="relative";var t=e===true?"popup_right":"popup_"+e;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(e){if(e===t)n.classList.add(e);else n.classList.remove(e)});n.classList.add(t)})}},{key:"_setHSLA",value:function e(t,i,n,r,o){o=o||{};var s=this.colour,a=s.hsla;[t,i,n,r].forEach(function(e,t){if(e||e===0)a[t]=e});s.hsla=a;this._updateUI(o);if(this.onChange&&!o.silent)this.onChange(s)}},{key:"_updateUI",value:function e(t){if(!this.domElement)return;t=t||{};var i=this.colour,n=i.hsla,r="hsl("+n[0]*y+", 100%, 50%)",o=i.hslString,s=i.hslaString;var a=this._domH,l=this._domSL,c=this._domA,h=w(".picker_selector",a),d=w(".picker_selector",l),u=w(".picker_selector",c);function g(e,t,i){t.style.left=i*100+"%"}function p(e,t,i){t.style.top=i*100+"%"}g(a,h,n[0]);this._domSL.style.backgroundColor=this._domH.style.color=r;g(l,d,n[1]);p(l,d,1-n[2]);l.style.color=o;p(c,u,1-n[3]);var m=o,f=m.replace("hsl","hsla").replace(")",", 0)"),C="linear-gradient("+[m,f]+")";this._domA.style.backgroundImage=C+", "+b;if(!t.fromEditor){var I=this.settings.editorFormat,v=this.settings.alpha;var A=void 0;switch(I){case"rgb":A=i.printRGB(v);break;case"hsl":A=i.printHSL(v);break;default:A=i.printHex(v)}this._domEdit.value=A}this._domSample.style.color=s}},{key:"_ifPopup",value:function e(t,i){if(this.settings.parent&&this.settings.popup)t&&t(this.settings.popup);else i&&i()}},{key:"_toggleDOM",value:function e(t){var i=this.domElement;if(!i)return false;var n=t?"":"none",r=i.style.display!==n;if(r)i.style.display=n;return r}}],[{key:"StyleElement",get:function e(){return n}}]);return t}()}()}},r={},n.amdD=function(){throw new Error("define cannot be used indirect")},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n(3161);function n(e){var t=r[e];if(void 0!==t)return t.exports;t=r[e]={id:e,loaded:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}var i,r});
+//# sourceMappingURL=jsoneditor.map
\ No newline at end of file
diff --git a/wwwroot/vendors/jsoneditor/which files do I need.md b/wwwroot/vendors/jsoneditor/which files do I need.md
new file mode 100644
index 0000000..5adcbb3
--- /dev/null
+++ b/wwwroot/vendors/jsoneditor/which files do I need.md
@@ -0,0 +1,44 @@
+# Which files do I need?
+
+Ehhh, that's quite some files in this dist folder. Which files do I need?
+
+
+## Full version
+
+If you're not sure which version to use, use the full version.
+
+Which files are needed when using the full version?
+
+- jsoneditor.min.js
+- jsoneditor.map (optional, for debugging purposes only)
+- jsoneditor.min.css
+- img/jsoneditor-icons.svg
+
+
+## Minimalist version
+
+The minimalist version has excluded the following libraries:
+
+- `ace` (via `brace`), used for the code editor.
+- `ajv`, used for JSON schema validation.
+- `vanilla-picker`, used as color picker.
+
+This reduces the the size of the minified and gzipped JavaScript file
+from about 210 kB to about 70 kB (one third).
+
+When to use the minimalist version?
+
+- If you don't need the mode "code" and don't need JSON schema validation.
+- Or if you want to provide `ace` and/or `ajv` yourself via the configuration
+ options, for example when you already use Ace in other parts of your
+ web application too and don't want to bundle the library twice.
+- You don't need the color picker, or want to provide your own
+ color picker using `onColorPicker`.
+
+Which files are needed when using the minimalist version?
+
+- jsoneditor-minimalist.min.js
+- jsoneditor-minimalist.map (optional, for debugging purposes only)
+- jsoneditor.min.css
+- img/jsoneditor-icons.svg
+