123456789101112131415161718192021222324252627 |
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("ca-ui-toolkit"),require("underscore"),require("react-dom"),require("jquery"),require("polyglot"),require("doT"),require("hammerjs"),require("jquery.hammer"),require("baglass/core-client/js/core-client/ui/properties/PropertyUIControl"));else if("function"==typeof define&&define.amd)define(["react","ca-ui-toolkit","underscore","react-dom","jquery","polyglot","doT","hammerjs","jquery.hammer","baglass/core-client/js/core-client/ui/properties/PropertyUIControl"],t);else{var a="object"==typeof exports?t(require("react"),require("ca-ui-toolkit"),require("underscore"),require("react-dom"),require("jquery"),require("polyglot"),require("doT"),require("hammerjs"),require("jquery.hammer"),require("baglass/core-client/js/core-client/ui/properties/PropertyUIControl")):t(e.react,e["ca-ui-toolkit"],e.underscore,e["react-dom"],e.jquery,e.polyglot,e.doT,e.hammerjs,e["jquery.hammer"],e["baglass/core-client/js/core-client/ui/properties/PropertyUIControl"]);for(var n in a)("object"==typeof exports?exports:e)[n]=a[n]}}("undefined"!=typeof self?self:this,function(e,t,a,n,r,i,o,s,l,c){return function(e){function t(n){if(a[n])return a[n].exports;var r=a[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var a={};return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/bundles",t(t.s=27)}([function(t,a){t.exports=e},function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=a(15),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=a(16),s=function(){function e(){n(this,e),this.polyglot=new o({phrases:i.default})}return e.prototype.get=function(e,t){return this.polyglot.t(e,t)},e}();t.default=new s},function(e,t,a){(function(t){if("production"!==t.env.NODE_ENV){var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n};e.exports=a(29)(r,!0)}else e.exports=a(32)()}).call(t,a(8))},function(e,a){e.exports=t},function(e,t,a){var n=a(35);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0};r.transform=void 0;a(37)(n,r);n.locals&&(e.exports=n.locals)},function(e,t){e.exports=a},function(e,t){e.exports=n},function(e,t){!function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var a=window.webpackJsonPBaGraphics;window.webpackJsonPBaGraphics=function(n,i,o){for(var s,l,c,u=0,d=[];u<n.length;u++)l=n[u],r[l]&&d.push(r[l][0]),r[l]=0;for(s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s]);for(a&&a(n,i,o);d.length;)d.shift()();if(o)for(u=0;u<o.length;u++)c=t(t.s=o[u]);return c};var n={},r={2052:0};t.m=e,t.c=n,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t.oe=function(e){throw console.error(e),e}}({"698d75b157f24ae829cc":function(e,t){var a;a=function(){return this}();try{a=a||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(a=window)}e.exports=a},"9689a9c94ae38b47fa2c":function(e,t,a){(function(t){!function(t,a){e.exports=function(){"use strict";function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}var a=function(e){var t=e.id,a=e.viewBox,n=e.content;this.id=t,this.viewBox=a,this.content=n};a.prototype.stringify=function(){return this.content},a.prototype.toString=function(){return this.stringify()},a.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach(function(t){return delete e[t]})};var n=function(e){var t=!!document.importNode,a=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(a,!0):a},r=("undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self,e(function(e,t){!function(t,a){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function a(a,n){return n&&!0===n.clone&&e(a)?i(t(a),a,n):a}function n(t,n,r){var o=t.slice();return n.forEach(function(n,s){void 0===o[s]?o[s]=a(n,r):e(n)?o[s]=i(t[s],n,r):-1===t.indexOf(n)&&o.push(a(n,r))}),o}function r(t,n,r){var o={};return e(t)&&Object.keys(t).forEach(function(e){o[e]=a(t[e],r)}),Object.keys(n).forEach(function(s){e(n[s])&&t[s]?o[s]=i(t[s],n[s],r):o[s]=a(n[s],r)}),o}function i(e,t,i){var o=Array.isArray(t),s=i||{arrayMerge:n},l=s.arrayMerge||n;return o?Array.isArray(e)?l(e,t,i):a(t,i):r(e,t,i)}return i.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,a){return i(e,a,t)})},i}()}()})),i=e(function(e,t){var a={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=a,e.exports=t.default}),o=function(e){return Object.keys(e).map(function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'}).join(" ")},s=i.svg,l=i.xlink,c={};c[s.name]=s.uri,c[l.name]=l.uri;var u=function(e,t){void 0===e&&(e="");var a=r(c,t||{});return"<svg "+o(a)+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var a={isMounted:{}};return a.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,a=this.render();return this.node=a,t.appendChild(a),a},t.prototype.render=function(){var e=this.stringify();return n(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,a),t}(a)}()}()}).call(t,a("698d75b157f24ae829cc"))},"9ce58a7deea14f49ef01":function(e,t,a){(function(t){!function(t,a){e.exports=function(){"use strict";function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}function a(e){return e=e||Object.create(null),{on:function(t,a){(e[t]||(e[t]=[])).push(a)},off:function(t,a){e[t]&&e[t].splice(e[t].indexOf(a)>>>0,1)},emit:function(t,a){(e[t]||[]).map(function(e){e(a)}),(e["*"]||[]).map(function(e){e(t,a)})}}}function n(e,t){return C(e).reduce(function(e,a){if(!a.attributes)return e;var n=C(a.attributes),r=t?n.filter(t):n;return e.concat(r)},[])}function r(e){return e.replace(A,function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()})}function i(e,t,a){return C(e).forEach(function(e){var n=e.getAttribute(B);if(n&&0===n.indexOf(t)){var r=n.replace(t,a);e.setAttributeNS(R,B,r)}}),e}var o=("undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self,e(function(e,t){!function(t,a){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function a(a,n){return n&&!0===n.clone&&e(a)?i(t(a),a,n):a}function n(t,n,r){var o=t.slice();return n.forEach(function(n,s){void 0===o[s]?o[s]=a(n,r):e(n)?o[s]=i(t[s],n,r):-1===t.indexOf(n)&&o.push(a(n,r))}),o}function r(t,n,r){var o={};return e(t)&&Object.keys(t).forEach(function(e){o[e]=a(t[e],r)}),Object.keys(n).forEach(function(s){e(n[s])&&t[s]?o[s]=i(t[s],n[s],r):o[s]=a(n[s],r)}),o}function i(e,t,i){var o=Array.isArray(t),s=i||{arrayMerge:n},l=s.arrayMerge||n;return o?Array.isArray(e)?l(e,t,i):a(t,i):r(e,t,i)}return i.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,a){return i(e,a,t)})},i}()}()})),s=e(function(e,t){var a={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=a,e.exports=t.default}),l=function(e){return Object.keys(e).map(function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'}).join(" ")},c=s.svg,u=s.xlink,d={};d[c.name]=c.uri,d[u.name]=u.uri;var h,p=function(e,t){void 0===e&&(e="");var a=o(d,t||{});return"<svg "+l(a)+">"+e+"</svg>"},f=s.svg,m=s.xlink,g={attrs:(h={style:["position: absolute","width: 0","height: 0"].join("; ")},h[f.name]=f.uri,h[m.name]=m.uri,h)},v=function(e){this.config=o(g,e||{}),this.symbols=[]};v.prototype.add=function(e){var t=this,a=t.symbols,n=this.find(e.id);return n?(a[a.indexOf(n)]=e,!1):(a.push(e),!0)},v.prototype.remove=function(e){var t=this,a=t.symbols,n=this.find(e);return!!n&&(a.splice(a.indexOf(n),1),n.destroy(),!0)},v.prototype.find=function(e){return this.symbols.filter(function(t){return t.id===e})[0]||null},v.prototype.has=function(e){return null!==this.find(e)},v.prototype.stringify=function(){var e=this.config,t=e.attrs,a=this.symbols.map(function(e){return e.stringify()}).join("");return p(a,t)},v.prototype.toString=function(){return this.stringify()},v.prototype.destroy=function(){this.symbols.forEach(function(e){return e.destroy()})};var y=function(e){var t=e.id,a=e.viewBox,n=e.content;this.id=t,this.viewBox=a,this.content=n};y.prototype.stringify=function(){return this.content},y.prototype.toString=function(){return this.stringify()},y.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach(function(t){return delete e[t]})};var b,S=function(e){var t=!!document.importNode,a=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(a,!0):a},_=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var a={isMounted:{}};return a.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,a=this.render();return this.node=a,t.appendChild(a),a},t.prototype.render=function(){var e=this.stringify();return S(p(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,a),t}(y),w={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},C=function(e){return Array.prototype.slice.call(e,0)},k=navigator.userAgent,x={isChrome:/chrome/i.test(k),isFirefox:/firefox/i.test(k),isIE:/msie/i.test(k)||/trident/i.test(k),isEdge:/edge/i.test(k)},P=function(e,t){var a=document.createEvent("CustomEvent");a.initCustomEvent(e,!1,!1,t),window.dispatchEvent(a)},I=function(e){var t=[];return C(e.querySelectorAll("style")).forEach(function(e){e.textContent+="",t.push(e)}),t},D=function(e){return(e||window.location.href).split("#")[0]},E=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",function(t,a,n){P(e,{oldUrl:n,newUrl:a})})}])},T=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern"),C(e.querySelectorAll("symbol")).forEach(function(e){C(e.querySelectorAll(t)).forEach(function(t){e.parentNode.insertBefore(t,e)})}),e},R=s.xlink.uri,B="xlink:href",A=/[{}|\\\^\[\]`"<>]/g,M=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],F=M.map(function(e){return"["+e+"]"}).join(","),z=function(e,t,a,o){var s=r(a),l=r(o);n(e.querySelectorAll(F),function(e){var t=e.localName,a=e.value;return-1!==M.indexOf(t)&&-1!==a.indexOf("url("+s)}).forEach(function(e){return e.value=e.value.replace(s,l)}),i(t,s,l)},L={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},O=function(e){function t(t){var n=this;void 0===t&&(t={}),e.call(this,o(w,t));var r=a();this._emitter=r,this.node=null;var i=this,s=i.config;if(s.autoConfigure&&this._autoConfigure(t),s.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");r.on(L.MOUNT,function(){return n.updateUrls("#",l)})}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,s.listenLocationChangeEvent&&window.addEventListener(s.locationChangeEvent,c),s.locationChangeAngularEmitter&&E(s.locationChangeEvent),r.on(L.MOUNT,function(e){s.moveGradientsOutsideSymbol&&T(e)}),r.on(L.SYMBOL_MOUNT,function(e){s.moveGradientsOutsideSymbol&&T(e.parentNode),(x.isIE||x.isEdge)&&I(e)})}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this,a=t.config;void 0===e.syncUrlsWithBaseTag&&(a.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(a.locationChangeAngularEmitter="angular"in window),void 0===e.moveGradientsOutsideSymbol&&(a.moveGradientsOutsideSymbol=x.isFirefox)},t.prototype._handleLocationChange=function(e){var t=e.detail,a=t.oldUrl,n=t.newUrl;this.updateUrls(a,n)},t.prototype.add=function(t){var a=this,n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(a.node),this._emitter.emit(L.SYMBOL_MOUNT,t.node)),n},t.prototype.attach=function(e){var t=this,a=this;if(a.isMounted)return a.node;var n="string"==typeof e?document.querySelector(e):e;return a.node=n,this.symbols.forEach(function(e){e.mount(a.node),t._emitter.emit(L.SYMBOL_MOUNT,e.node)}),C(n.querySelectorAll("symbol")).forEach(function(e){var t=_.createFromExistingNode(e);t.node=e,a.add(t)}),this._emitter.emit(L.MOUNT,n),n},t.prototype.destroy=function(){var e=this,t=e.config,a=e.symbols,n=e._emitter;a.forEach(function(e){return e.destroy()}),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1);var a=this;if(a.isMounted)return a.node;var n="string"==typeof e?document.querySelector(e):e,r=a.render();return this.node=r,t&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(L.MOUNT,r),r},t.prototype.render=function(){return S(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var a=document.querySelectorAll(this.config.usagesToUpdate);return z(this.node,a,D(e)+"#",D(t)+"#"),!0},Object.defineProperties(t.prototype,n),t}(v),N=e(function(e){/*!
- * domready (c) Dustin Diaz 2014 - License MIT
- */
- !function(t,a){e.exports=function(){var e,t=[],a=document,n=a.documentElement.doScroll,r=(n?/^loaded|^c/:/^loaded|^i|^c/).test(a.readyState);return r||a.addEventListener("DOMContentLoaded",e=function(){for(a.removeEventListener("DOMContentLoaded",e),r=1;e=t.shift();)e()}),function(e){r?setTimeout(e,0):t.push(e)}}()}()});!window.__SVG_SPRITE__?(b=new O({attrs:{id:"__SVG_SPRITE_NODE__"}}),window.__SVG_SPRITE__=b):b=window.__SVG_SPRITE__;var j=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?b.attach(e):b.mount(document.body,!0)};return document.body?j():N(j),b}()}()}).call(t,a("698d75b157f24ae829cc"))}})},function(e,t){function a(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function r(e){if(u===setTimeout)return setTimeout(e,0);if((u===a||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function i(e){if(d===clearTimeout)return clearTimeout(e);if((d===n||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function o(){m&&p&&(m=!1,p.length?f=p.concat(f):g=-1,f.length&&s())}function s(){if(!m){var e=r(o);m=!0;for(var t=f.length;t;){for(p=f,f=[];++g<t;)p&&p[g].run();g=-1,t=f.length}p=null,m=!1,i(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var u,d,h=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:a}catch(e){u=a}try{d="function"==typeof clearTimeout?clearTimeout:n}catch(e){d=n}}();var p,f=[],m=!1,g=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)t[a-1]=arguments[a];f.push(new l(e,t)),1!==f.length||m||r(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(e){return[]},h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(e,t){e.exports=r},function(e,t,a){"use strict";var n,r;n=[a(5)],void 0!==(r=function(e){function t(){return function(){"function"==typeof this.init&&this.init.apply(this,arguments)}}var a=function(){};return a.extend=function(a,n){1===arguments.length&&(n=a,a=null);var r=this.prototype,i=r,o=Object.create(i),s=t();if(a){for(var l=0,c=a.length;l<c;++l)o=e.extend(o,a[l].prototype);i=o,o=Object.create(o),"function"!=typeof n.init&&(n.init=function(){s.inherited("init",this,arguments)})}return e.extend(o,n),s.prototype=o,s.extend=this.extend,s.inherited=function(t,n,o){if("init"===t)"function"==typeof r[t]&&r[t].apply(n,o),e.each(a,function(e){"function"==typeof e.prototype[t]&&e.prototype[t].apply(n,o)});else if("function"==typeof i[t])return i[t].apply(n,o)},s},a}.apply(t,n))&&(e.exports=r)},function(e,t){var a;a=function(){return this}();try{a=a||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(a=window)}e.exports=a},function(e,t,a){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,a){"use strict";(function(t){function a(e,t,a,r,i,o,s,l){if(n(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[a,r,i,o,s,l],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=a}).call(t,a(8))},function(e,t,a){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){var a={__root:{errorCreatingPalette:"An error occurred while saving the palette.",paletteErrorTitle:"Palette Error",changePaletteLabel:"Change color palette",myPaletteLabel:"Custom",systemPaletteLabel:"System",publicPaletteLabel:"Global",localPaletteLabel:"Local",mruPaletteLabel:"Recently used",okDialog:"OK",deleteDialogTitle:"Delete",applyDialog:"Apply",cancelDialog:"Cancel",saveDialog:"Save",deleteMessage:'Are you sure you want to delete the palette "%{name}"?',deleteToast:'"%{name}" was deleted',favoritesLabel:"Favorites",setAsFavorite:"Set as favorite",createdToastMessage:'"%{name}" was successfully created.',createPalette:"Create a custom palette",colorPicker:"Color picker",errorNoName:"Enter a name for your palette",errorInsufficientColors:"Choose at least two colors",paletteAppliedToastMessage:'Palette "%{name}", was applied to the report.',createContinuousPalette:"Create continuous color palette",createStandardPalette:"Create categorical color palette",paletteNamePlaceholder:"Type palette name here",paletteName:"Palette name",standardPalette:"Categorical palette",continuousPalette:"Continuous palette",removeSwatch:"Remove swatch",addSwatch:"Add swatch",reversePalette:"Reverse palette",colorGuide:"Color guide",modeAutomatic:"Automatic",modeCustom:"Custom",colorModel:"Color model",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Grid",wheel:"Wheel",hexCode:"Hex code",colorRed:"Red",colorGreen:"Green",colorBlue:"Blue",colorHue:"Hue",colorSaturation:"Saturation",colorBrightness:"Brightness",colorCyan:"Cyan",colorMagenta:"Magenta",colorYellow:"Yellow",colorBlack:"Black",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Close",editSchematic:"Edit package",searchSchematic:"Search",nameLabelSchematic:"Name",captionLabelSchematic:"Caption",keyLabelSchematic:"Key",addSchematic:"Upload File",schematicsInvalidSvg:"Invalid or unsupported SVG",schematicsInvalidSvgData:"Could not obtain file data",schematicsInvalidType:"Unsupported file type: %{type}",schematicsInvalidSize:"File %{file}, size %{size} exceeds limit.",schematicsContextMenuReplace:"Replace",schematicsContextMenuDelete:"Delete",schematicsEmptySearchResults:"Search results are empty",schematicsNoSelection:"No items selected",schematicsMultipleSelection:"%{count} items selected",schematicsSingleDeletionSuccessed:"Your schematic was successfully deleted.",schematicsMultipleDeletionSuccessed:"%{count} schematics were successfully deleted.",schematicsSingleAddSuccessed:"Your schematic was successfully added.",schematicsMultipleAddSuccessed:"%{count} schematics were successfully added.",schematicsAddFailed:"Failed adding your schematic.",schematicsReplaceDlgTitle:"Confirm replacement of existing file",schematicsReplaceDlgContent:"The file '%{sourceName}' already exists. Do you want to replace it with the new file?",schematicsReplaceDlgApplyToAllFiles:"Apply to all files",schematicsPackageTab:"Package",schematicsContentTab:"Content",schematicsDescriptionLabel:"Description",schematicsIconLabel:"Icon",schematicsChooseFile:"Choose a file",schematicsDeleteIcon:"Remove the icon",schematicsIconAdded:'The icon "%{file}" has been successfully added.',schematicsIconRemove:"The icon has been successully removed.",schematicsIconDropFiles:"Drop files here",schematicsIconOr:"or",schematicsIconFileTypes:"Only .jpg, .png, and .svg files.",schematicsIconFileSize:"%{size}MB max file size."},__cy:{errorCreatingPalette:"An error occurred while saving the palette.~DB1",paletteErrorTitle:"Palette Error~DB2",changePaletteLabel:"Change color palette~DB3",myPaletteLabel:"Custom~DB4",systemPaletteLabel:"System~DB5",publicPaletteLabel:"Global~DB6",localPaletteLabel:"Local~DB7",mruPaletteLabel:"Recently used~DB8",okDialog:"OK~DB9",deleteDialogTitle:"Delete~DB10",applyDialog:"Apply~DB11",cancelDialog:"Cancel~DB12",saveDialog:"Save~DB13",deleteMessage:'Are you sure you want to delete the palette "[%{name}]"?~DB14',deleteToast:'"[%{name}]" was deleted~DB15',favoritesLabel:"Favorites~DB16",setAsFavorite:"Set as favorite~DB17",createdToastMessage:'"[%{name}]" was successfully created.~DB18',createPalette:"Create a custom palette~DB19",colorPicker:"Color picker~DB20",errorNoName:"Enter a name for your palette~DB21",errorInsufficientColors:"Choose at least two colors~DB22",paletteAppliedToastMessage:'Palette "[%{name}]", was applied to the report.~DB23',createContinuousPalette:"Create continuous color palette~DB24",createStandardPalette:"Create categorical color palette~DB25",paletteNamePlaceholder:"Type palette name here~DB26",paletteName:"Palette name~DB27",standardPalette:"Categorical palette~DB28",continuousPalette:"Continuous palette~DB29",removeSwatch:"Remove swatch~DB30",addSwatch:"Add swatch~DB31",reversePalette:"Reverse palette~DB32",colorGuide:"Color guide~DB33",modeAutomatic:"Automatic~DB34",modeCustom:"Custom~DB35",colorModel:"Color model~DB36",modelRGB:"RGB~DB37",modelHSB:"HSB~DB38",modelCMYK:"CMYK~DB39",grid:"Grid~DB40",wheel:"Wheel~DB41",hexCode:"Hex code~DB42",colorRed:"Red~DB43",colorGreen:"Green~DB44",colorBlue:"Blue~DB45",colorHue:"Hue~DB46",colorSaturation:"Saturation~DB47",colorBrightness:"Brightness~DB48",colorCyan:"Cyan~DB49",colorMagenta:"Magenta~DB50",colorYellow:"Yellow~DB51",colorBlack:"Black~DB52",codeRed:"R~DB53",codeGreen:"G~DB54",codeBlue:"B~DB55",codeHue:"H~DB56",codeSaturation:"S~DB57",codeBrightness:"B~DB58",codeCyan:"C~DB59",codeMagenta:"M~DB60",codeYellow:"Y~DB61",codeBlack:"K~DB62",close:"Close~DB63",editSchematic:"Edit package~DB64",searchSchematic:"Search~DB65",nameLabelSchematic:"Name~DB66",captionLabelSchematic:"Caption~DB67",keyLabelSchematic:"Key~DB68",addSchematic:"Upload File~DB69",schematicsInvalidSvg:"Invalid or unsupported SVG~DB70",schematicsInvalidSvgData:"Could not obtain file data~DB71",schematicsInvalidType:"Unsupported file type: [%{type}]~DB72",schematicsInvalidSize:"File [%{file}], size [%{size}] exceeds limit.~DB73",schematicsContextMenuReplace:"Replace~DB74",schematicsContextMenuDelete:"Delete~DB75",schematicsEmptySearchResults:"Search results are empty~DB76",schematicsNoSelection:"No items selected~DB77",schematicsMultipleSelection:"[%{count}] items selected~DB78",schematicsSingleDeletionSuccessed:"Your schematic was successfully deleted.~DB79",schematicsMultipleDeletionSuccessed:"[%{count}] schematics were successfully deleted.~DB80",schematicsSingleAddSuccessed:"Your schematic was successfully added.~DB81",schematicsMultipleAddSuccessed:"[%{count}] schematics were successfully added.~DB82",schematicsAddFailed:"Failed adding your schematic.~DB83",schematicsReplaceDlgTitle:"Confirm replacement of existing file~DB84",schematicsReplaceDlgContent:"The file '[%{sourceName}]' already exists. Do you want to replace it with the new file?~DB85",schematicsReplaceDlgApplyToAllFiles:"Apply to all files~DB86",schematicsPackageTab:"Package~DB87",schematicsContentTab:"Content~DB88",schematicsDescriptionLabel:"Description~DB89",schematicsIconLabel:"Icon~DB90",schematicsChooseFile:"Choose a file~DB91",schematicsDeleteIcon:"Remove the icon~DB92",schematicsIconAdded:'The icon "[%{file}]" has been successfully added.~DB93',schematicsIconRemove:"The icon has been successully removed.~DB94",schematicsIconDropFiles:"Drop files here~DB95",schematicsIconOr:"or~DB96",schematicsIconFileTypes:"Only .jpg, .png, and .svg files.~DB97",schematicsIconFileSize:"[%{size}]MB max file size.~DB98"},__gl:{errorCreatingPalette:"«头'ทั้ดูΣ_An error occurred while saving the palette._Э İı|尾»",paletteErrorTitle:"«头'ทั้ดูΣ_Palette Error_Э İı|尾»",changePaletteLabel:"«头'ทั้ดูΣ_Change color palette_Э İı|尾»",myPaletteLabel:"«头'ทั้ดูΣ_Custom_Э İı|尾»",systemPaletteLabel:"«头'ทั้ดูΣ_System_Э İı|尾»",publicPaletteLabel:"«头'ทั้ดูΣ_Global_Э İı|尾»",localPaletteLabel:"«头'ทั้ดูΣ_Local_Э İı|尾»",mruPaletteLabel:"«头'ทั้ดูΣ_Recently used_Э İı|尾»",okDialog:"«头'ทั้ดูΣ_OK_Э İı|尾»",deleteDialogTitle:"«头'ทั้ดูΣ_Delete_Э İı|尾»",applyDialog:"«头'ทั้ดูΣ_Apply_Э İı|尾»",cancelDialog:"«头'ทั้ดูΣ_Cancel_Э İı|尾»",saveDialog:"«头'ทั้ดูΣ_Save_Э İı|尾»",deleteMessage:'«头\'ทั้ดูΣ_Are you sure you want to delete the palette "[%{name}]"?_Э İı|尾»',deleteToast:'«头\'ทั้ดูΣ_"[%{name}]" was deleted_Э İı|尾»',favoritesLabel:"«头'ทั้ดูΣ_Favorites_Э İı|尾»",setAsFavorite:"«头'ทั้ดูΣ_Set as favorite_Э İı|尾»",createdToastMessage:'«头\'ทั้ดูΣ_"[%{name}]" was successfully created._Э İı|尾»',createPalette:"«头'ทั้ดูΣ_Create a custom palette_Э İı|尾»",colorPicker:"«头'ทั้ดูΣ_Color picker_Э İı|尾»",errorNoName:"«头'ทั้ดูΣ_Enter a name for your palette_Э İı|尾»",errorInsufficientColors:"«头'ทั้ดูΣ_Choose at least two colors_Э İı|尾»",paletteAppliedToastMessage:'«头\'ทั้ดูΣ_Palette "[%{name}]", was applied to the report._Э İı|尾»',createContinuousPalette:"«头'ทั้ดูΣ_Create continuous color palette_Э İı|尾»",createStandardPalette:"«头'ทั้ดูΣ_Create categorical color palette_Э İı|尾»",paletteNamePlaceholder:"«头'ทั้ดูΣ_Type palette name here_Э İı|尾»",paletteName:"«头'ทั้ดูΣ_Palette name_Э İı|尾»",standardPalette:"«头'ทั้ดูΣ_Categorical palette_Э İı|尾»",continuousPalette:"«头'ทั้ดูΣ_Continuous palette_Э İı|尾»",removeSwatch:"«头'ทั้ดูΣ_Remove swatch_Э İı|尾»",addSwatch:"«头'ทั้ดูΣ_Add swatch_Э İı|尾»",reversePalette:"«头'ทั้ดูΣ_Reverse palette_Э İı|尾»",colorGuide:"«头'ทั้ดูΣ_Color guide_Э İı|尾»",modeAutomatic:"«头'ทั้ดูΣ_Automatic_Э İı|尾»",modeCustom:"«头'ทั้ดูΣ_Custom_Э İı|尾»",colorModel:"«头'ทั้ดูΣ_Color model_Э İı|尾»",modelRGB:"«头'ทั้ดูΣ_RGB_Э İı|尾»",modelHSB:"«头'ทั้ดูΣ_HSB_Э İı|尾»",modelCMYK:"«头'ทั้ดูΣ_CMYK_Э İı|尾»",grid:"«头'ทั้ดูΣ_Grid_Э İı|尾»",wheel:"«头'ทั้ดูΣ_Wheel_Э İı|尾»",hexCode:"«头'ทั้ดูΣ_Hex code_Э İı|尾»",colorRed:"«头'ทั้ดูΣ_Red_Э İı|尾»",colorGreen:"«头'ทั้ดูΣ_Green_Э İı|尾»",colorBlue:"«头'ทั้ดูΣ_Blue_Э İı|尾»",colorHue:"«头'ทั้ดูΣ_Hue_Э İı|尾»",colorSaturation:"«头'ทั้ดูΣ_Saturation_Э İı|尾»",colorBrightness:"«头'ทั้ดูΣ_Brightness_Э İı|尾»",colorCyan:"«头'ทั้ดูΣ_Cyan_Э İı|尾»",colorMagenta:"«头'ทั้ดูΣ_Magenta_Э İı|尾»",colorYellow:"«头'ทั้ดูΣ_Yellow_Э İı|尾»",colorBlack:"«头'ทั้ดูΣ_Black_Э İı|尾»",codeRed:"«头'ทั้ดูΣ_R_Э İı|尾»",codeGreen:"«头'ทั้ดูΣ_G_Э İı|尾»",codeBlue:"«头'ทั้ดูΣ_B_Э İı|尾»",codeHue:"«头'ทั้ดูΣ_H_Э İı|尾»",codeSaturation:"«头'ทั้ดูΣ_S_Э İı|尾»",codeBrightness:"«头'ทั้ดูΣ_B_Э İı|尾»",codeCyan:"«头'ทั้ดูΣ_C_Э İı|尾»",codeMagenta:"«头'ทั้ดูΣ_M_Э İı|尾»",codeYellow:"«头'ทั้ดูΣ_Y_Э İı|尾»",codeBlack:"«头'ทั้ดูΣ_K_Э İı|尾»",close:"«头'ทั้ดูΣ_Close_Э İı|尾»",editSchematic:"«头'ทั้ดูΣ_Edit package_Э İı|尾»",searchSchematic:"«头'ทั้ดูΣ_Search_Э İı|尾»",nameLabelSchematic:"«头'ทั้ดูΣ_Name_Э İı|尾»",captionLabelSchematic:"«头'ทั้ดูΣ_Caption_Э İı|尾»",keyLabelSchematic:"«头'ทั้ดูΣ_Key_Э İı|尾»",addSchematic:"«头'ทั้ดูΣ_Upload File_Э İı|尾»",schematicsInvalidSvg:"«头'ทั้ดูΣ_Invalid or unsupported SVG_Э İı|尾»",schematicsInvalidSvgData:"«头'ทั้ดูΣ_Could not obtain file data_Э İı|尾»",schematicsInvalidType:"«头'ทั้ดูΣ_Unsupported file type: [%{type}]_Э İı|尾»",schematicsInvalidSize:"«头'ทั้ดูΣ_File [%{file}], size [%{size}] exceeds limit._Э İı|尾»",schematicsContextMenuReplace:"«头'ทั้ดูΣ_Replace_Э İı|尾»",schematicsContextMenuDelete:"«头'ทั้ดูΣ_Delete_Э İı|尾»",schematicsEmptySearchResults:"«头'ทั้ดูΣ_Search results are empty_Э İı|尾»",schematicsNoSelection:"«头'ทั้ดูΣ_No items selected_Э İı|尾»",schematicsMultipleSelection:"«头'ทั้ดูΣ_[%{count}] items selected_Э İı|尾»",schematicsSingleDeletionSuccessed:"«头'ทั้ดูΣ_Your schematic was successfully deleted._Э İı|尾»",schematicsMultipleDeletionSuccessed:"«头'ทั้ดูΣ_[%{count}] schematics were successfully deleted._Э İı|尾»",schematicsSingleAddSuccessed:"«头'ทั้ดูΣ_Your schematic was successfully added._Э İı|尾»",schematicsMultipleAddSuccessed:"«头'ทั้ดูΣ_[%{count}] schematics were successfully added._Э İı|尾»",schematicsAddFailed:"«头'ทั้ดูΣ_Failed adding your schematic._Э İı|尾»",schematicsReplaceDlgTitle:"«头'ทั้ดูΣ_Confirm replacement of existing file_Э İı|尾»",schematicsReplaceDlgContent:"«头'ทั้ดูΣ_The file '[%{sourceName}]' already exists. Do you want to replace it with the new file?_Э İı|尾»",schematicsReplaceDlgApplyToAllFiles:"«头'ทั้ดูΣ_Apply to all files_Э İı|尾»",schematicsPackageTab:"«头'ทั้ดูΣ_Package_Э İı|尾»",schematicsContentTab:"«头'ทั้ดูΣ_Content_Э İı|尾»",schematicsDescriptionLabel:"«头'ทั้ดูΣ_Description_Э İı|尾»",schematicsIconLabel:"«头'ทั้ดูΣ_Icon_Э İı|尾»",schematicsChooseFile:"«头'ทั้ดูΣ_Choose a file_Э İı|尾»",schematicsDeleteIcon:"«头'ทั้ดูΣ_Remove the icon_Э İı|尾»",schematicsIconAdded:'«头\'ทั้ดูΣ_The icon "[%{file}]" has been successfully added._Э İı|尾»',schematicsIconRemove:"«头'ทั้ดูΣ_The icon has been successully removed._Э İı|尾»",schematicsIconDropFiles:"«头'ทั้ดูΣ_Drop files here_Э İı|尾»",schematicsIconOr:"«头'ทั้ดูΣ_or_Э İı|尾»",schematicsIconFileTypes:"«头'ทั้ดูΣ_Only .jpg, .png, and .svg files._Э İı|尾»",schematicsIconFileSize:"«头'ทั้ดูΣ_[%{size}]MB max file size._Э İı|尾»"},__cs:{errorCreatingPalette:"Došlo k chybě při ukládání palety.",paletteErrorTitle:"Chyba palety",changePaletteLabel:"Změnit paletu barev",myPaletteLabel:"Vlastní",systemPaletteLabel:"Systém",publicPaletteLabel:"Globální",localPaletteLabel:"Lokální",mruPaletteLabel:"Nedávno použité",okDialog:"OK",deleteDialogTitle:"Odstranit",applyDialog:"Použít",cancelDialog:"Storno",saveDialog:"Uložit",deleteMessage:'Opravdu chcete odstranit paletu "%{name}"?',deleteToast:'Odstraněno: "%{name}"',favoritesLabel:"Oblíbené položky",setAsFavorite:"Nastavit jako oblíbené",createdToastMessage:'Úspěšně vytvořeno: "%{name}"',createPalette:"Vytvořit vlastní paletu",colorPicker:"Výběr barvy",errorNoName:"Zadejte název palety.",errorInsufficientColors:"Vyberte alespoň dvě barvy.",paletteAppliedToastMessage:'Na sestavu byla použit a paleta "%{name}".',createContinuousPalette:"Vytvořit spojitou paletu barev",createStandardPalette:"Vytvořit kategorickou paletu barev",paletteNamePlaceholder:"Zde zadejte název palety.",paletteName:"Název palety",standardPalette:"Kategorická paleta",continuousPalette:"Spojitá paleta",removeSwatch:"Odebrat paletu",addSwatch:"Přidat paletu",reversePalette:"Obrátit paletu",colorGuide:"Průvodce barvami",modeAutomatic:"Automaticky",modeCustom:"Vlastní",colorModel:"Barevný model",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Mřížka",wheel:"Kolo",hexCode:"Hexadecimální kód",colorRed:"Červená",colorGreen:"Zelená",colorBlue:"Modrá",colorHue:"Odstín",colorSaturation:"Sytost",colorBrightness:"Jas",colorCyan:"Azurová",colorMagenta:"Purpurová",colorYellow:"Žlutá",colorBlack:"Černá",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Zavřít",editSchematic:"Upravit balík",searchSchematic:"Hledat",nameLabelSchematic:"Název",captionLabelSchematic:"Titulek",keyLabelSchematic:"Klíč",addSchematic:"Odeslat soubor",schematicsInvalidSvg:"Neplatný nebo nepodporovaný formát SVG",schematicsInvalidSvgData:"Nelze získat data souboru",schematicsInvalidType:"Nepodporovaný typ souboru: %{type}",schematicsInvalidSize:"Soubor %{file} s velikostí %{size} překračuje limit.",schematicsContextMenuReplace:"Nahradit",schematicsContextMenuDelete:"Odstranit",schematicsEmptySearchResults:"Výsledky hledání jsou prázdné.",schematicsNoSelection:"Nejsou vybrány žádné prvky.",schematicsMultipleSelection:"Počet vybraných položek: %{count}",schematicsSingleDeletionSuccessed:"Vaše schéma bylo úspěšně odstraněno.",schematicsMultipleDeletionSuccessed:"Počet úspěšně odstraněných schémat: %{count}.",schematicsSingleAddSuccessed:"Vaše schéma bylo úspěšně přidáno.",schematicsMultipleAddSuccessed:"Počet úspěšně přidaných schémat: %{count}.",schematicsAddFailed:"Neúspěšné přidání nového schématu",schematicsReplaceDlgTitle:"Potvrdit nahrazení existujícího souboru",schematicsReplaceDlgContent:"Soubor '%{sourceName}' již existuje. Chcete ho nahradit tímto novým souborem?",schematicsReplaceDlgApplyToAllFiles:"Použít na všechny soubory",schematicsPackageTab:"Balík",schematicsContentTab:"Obsah",schematicsDescriptionLabel:"Popis",schematicsIconLabel:"Ikona",schematicsChooseFile:"Zvolit soubor",schematicsDeleteIcon:"Odebrat ikonu",schematicsIconAdded:'Ikona "%{file}" byla úspěšně přidána.',schematicsIconRemove:"Ikona byla úspěšně odebrána.",schematicsIconDropFiles:"Soubory přetáhněte sem",schematicsIconOr:"nebo",schematicsIconFileTypes:"Pouze soubory .jpg, .png a .svg.",schematicsIconFileSize:"Maximální velikost souboru %{size} MB."},__da:{errorCreatingPalette:"Der er opstået en fejl i forbindelse med at gemme paletten.",paletteErrorTitle:"Paletfejl",changePaletteLabel:"Skift farvepalet",myPaletteLabel:"Tilpasset",systemPaletteLabel:"System",publicPaletteLabel:"Global",localPaletteLabel:"Lokal",mruPaletteLabel:"Anvendt for nylig",okDialog:"OK",deleteDialogTitle:"Slet",applyDialog:"Anvend",cancelDialog:"Annullér",saveDialog:"Gem",deleteMessage:'Er du sikker på, at du vil slette paletten "%{name}"?',deleteToast:'"%{name}" blev slettet',favoritesLabel:"Favoritter",setAsFavorite:"Angiv som favorit",createdToastMessage:'"%{name}" blev oprettet.',createPalette:"Opret en tilpasset palet",colorPicker:"Farvevælger",errorNoName:"Angiv et navn på din palet",errorInsufficientColors:"Vælg mindst to farver",paletteAppliedToastMessage:'Palet "%{name}" er anvendt til rapporten.',createContinuousPalette:"Opret en fortløbende farvepalet",createStandardPalette:"Opret en kategorisk farvepalet",paletteNamePlaceholder:"Angiv paletnavn her",paletteName:"Paletnavn",standardPalette:"Kategorisk palet",continuousPalette:"Fortløbende palet",removeSwatch:"Fjern prøve",addSwatch:"Tilføj prøve",reversePalette:"Omvendt palet",colorGuide:"Farvevejledning",modeAutomatic:"Automatisk",modeCustom:"Tilpasset",colorModel:"Farvemodel",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Gitter",wheel:"Hjul",hexCode:"Hex-kode",colorRed:"Rød",colorGreen:"Grøn",colorBlue:"Blå",colorHue:"Hue",colorSaturation:"Mætning",colorBrightness:"Lysstyrke",colorCyan:"Turkis",colorMagenta:"Magenta",colorYellow:"Gul",colorBlack:"Sort",codeRed:"A",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Luk",editSchematic:"Redigér pakke",searchSchematic:"Søg",nameLabelSchematic:"Navn",captionLabelSchematic:"Overskrift",keyLabelSchematic:"Nøgle",addSchematic:"Upload fil",schematicsInvalidSvg:"Ugyldig eller ikke-understøttet SVG",schematicsInvalidSvgData:"Kan ikke hente fildata",schematicsInvalidType:"Ikke-understøttet filtype: %{type}",schematicsInvalidSize:"Filen %{file}, størrelse %{size} overskrider grænsen.",schematicsContextMenuReplace:"Erstat",schematicsContextMenuDelete:"Slet",schematicsEmptySearchResults:"Søgeresultater er tom",schematicsNoSelection:"Ingen elementer valgt",schematicsMultipleSelection:"%{count} elementer valgt",schematicsSingleDeletionSuccessed:"Skemaet er slettet.",schematicsMultipleDeletionSuccessed:"%{count} skemaer blev slettet.",schematicsSingleAddSuccessed:"dit skema er tilføjet.",schematicsMultipleAddSuccessed:"%{count} skemaer blev tilføjet.",schematicsAddFailed:"Fejl under tilføjelse af dit skema",schematicsReplaceDlgTitle:"Bekræft erstatning af eksisterende file",schematicsReplaceDlgContent:"Filen '%{sourceName}' findes allerede. Vil du overskrive den med den nye fil?",schematicsReplaceDlgApplyToAllFiles:"Anvend på alle filer",schematicsPackageTab:"Pakke",schematicsContentTab:"Indhold",schematicsDescriptionLabel:"Beskrivelse",schematicsIconLabel:"Ikon",schematicsChooseFile:"Vælg en fil",schematicsDeleteIcon:"Fjern ikonen",schematicsIconAdded:'Ikonen "%{file}" er tilføjet.',schematicsIconRemove:"Ikonen er fjernet.",schematicsIconDropFiles:"Placér filer her",schematicsIconOr:"eller",schematicsIconFileTypes:"Kun filer af typen .jpg, .png og .svg.",schematicsIconFileSize:"%{size}MB maks. filstørrelse."},__de:{errorCreatingPalette:"Beim Speichern der Palette ist ein Fehler aufgetreten.",paletteErrorTitle:"Palette - Fehler",changePaletteLabel:"Farbpalette ändern",myPaletteLabel:"Benutzerdefiniert",systemPaletteLabel:"System",publicPaletteLabel:"Global",localPaletteLabel:"Lokal",mruPaletteLabel:"Zuletzt verwendet",okDialog:"OK",deleteDialogTitle:"Löschen",applyDialog:"Anwenden",cancelDialog:"Abbrechen",saveDialog:"Speichern",deleteMessage:'Soll die Palette "%{name}" tatsächlich gelöscht werden?',deleteToast:'"%{name}" wurde gelöscht',favoritesLabel:"Favoriten",setAsFavorite:"Als Favorit festlegen",createdToastMessage:'"%{name}" wurde erfolgreich erstellt.',createPalette:"Benutzerdefinierte Palette erstellen",colorPicker:"Farbauswahl",errorNoName:"Namen für die Palette eingeben",errorInsufficientColors:"Mindestens zwei Farben auswählen",paletteAppliedToastMessage:'Die Palette "%{name}" wurde auf den Bericht angewendet.',createContinuousPalette:"Palette mit fortlaufenden Farben erstellen",createStandardPalette:"Palette mit kategorialen Farben erstellen",paletteNamePlaceholder:"Palettennamen hier eingeben",paletteName:"Palettenname",standardPalette:"Kategoriale Palette",continuousPalette:"Fortlaufende Palette",removeSwatch:"Muster entfernen",addSwatch:"Muster hinzufügen",reversePalette:"Umgekehrte Palette",colorGuide:"Richtlinien für Farben",modeAutomatic:"Automatisch",modeCustom:"Benutzerdefiniert",colorModel:"Farbmodell",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Raster",wheel:"Rad",hexCode:"Hexadezimalcode",colorRed:"Rot",colorGreen:"Grün",colorBlue:"Blau",colorHue:"Farbton",colorSaturation:"Sättigung",colorBrightness:"Helligkeit",colorCyan:"Zyan",colorMagenta:"Magenta",colorYellow:"Gelb",colorBlack:"Schwarz",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"Mio",codeYellow:"Y",codeBlack:"K",close:"Schließen",editSchematic:"Package bearbeiten",searchSchematic:"Suchen",nameLabelSchematic:"Name",captionLabelSchematic:"Titelzeile",keyLabelSchematic:"Schlüssel",addSchematic:"Datei hochladen",schematicsInvalidSvg:"Ungültige oder nicht unterstützte SVG",schematicsInvalidSvgData:"Abrufen der Dateidaten nicht möglich",schematicsInvalidType:"Nicht unterstützter Dateityp: %{type}",schematicsInvalidSize:"Die Größe %{size} der Datei %{file} überschreitet den Grenzwert.",schematicsContextMenuReplace:"Ersetzen",schematicsContextMenuDelete:"Löschen",schematicsEmptySearchResults:"Suchergebnisse sind leer",schematicsNoSelection:"Keine Elemente ausgewählt",schematicsMultipleSelection:"%{count} Elemente ausgewählt",schematicsSingleDeletionSuccessed:"Das Schema wurde erfolgreich gelöscht.",schematicsMultipleDeletionSuccessed:"%{count} Schemas wurden erfolgreich gelöscht.",schematicsSingleAddSuccessed:"Das Schema wurde erfolgreich hinzugefügt.",schematicsMultipleAddSuccessed:"%{count} Schemas wurden erfolgreich hinzugefügt.",schematicsAddFailed:"Hinzufügen des Schemas fehlgeschlagen.",schematicsReplaceDlgTitle:"Ersetzen vorhandener Datei bestätigen",schematicsReplaceDlgContent:"Die Datei '%{sourceName}' ist bereits vorhanden. Soll sie durch die neue Datei ersetzt werden?",schematicsReplaceDlgApplyToAllFiles:"Für alle Dateien anwenden",schematicsPackageTab:"Package",schematicsContentTab:"Inhalt",schematicsDescriptionLabel:"Beschreibung",schematicsIconLabel:"Symbol",schematicsChooseFile:"Datei auswählen",schematicsDeleteIcon:"Symbol entfernen",schematicsIconAdded:'Das Symbol "%{file}" wurde erfolgreich hinzugefügt.',schematicsIconRemove:"Das Symbol wurde erfolgreich entfernt.",schematicsIconDropFiles:"Dateien hier ablegen",schematicsIconOr:"oder",schematicsIconFileTypes:"Nur .jpg-, .png- und .svg-Dateien. ",schematicsIconFileSize:"Maximale Dateigröße %{size} MB. "},__es:{errorCreatingPalette:"Se ha producido un error al guardar la paleta.",paletteErrorTitle:"Error de paleta",changePaletteLabel:"Cambiar paleta de colores",myPaletteLabel:"Personalizado",systemPaletteLabel:"Sistema",publicPaletteLabel:"Global",localPaletteLabel:"Local",mruPaletteLabel:"Utilizados recientemente",okDialog:"Aceptar",deleteDialogTitle:"Suprimir",applyDialog:"Aplicar",cancelDialog:"Cancelar",saveDialog:"Guardar",deleteMessage:'¿Está seguro de que desea suprimir la paleta "%{name}"?',deleteToast:'Se ha suprimido "%{name}"',favoritesLabel:"Favoritos",setAsFavorite:"Establecer como favorito",createdToastMessage:'Se ha creado correctamente "%{name}".',createPalette:"Crear una paleta personalizada",colorPicker:"Selector de color",errorNoName:"Escriba un nombre para la paleta.",errorInsufficientColors:"Seleccione al menos dos colores",paletteAppliedToastMessage:'Se ha aplicado la paleta "%{name}" al informe.',createContinuousPalette:"Crear paleta de colores continua",createStandardPalette:"Crear paleta de colores de categorías",paletteNamePlaceholder:"Escriba aquí un nombre de paleta",paletteName:"Nombre de paleta",standardPalette:"Paleta de categorías",continuousPalette:"Paleta continua",removeSwatch:"Eliminar reloj",addSwatch:"Añadir reloj",reversePalette:"Invertir paleta",colorGuide:"Guía de colores",modeAutomatic:"Automático",modeCustom:"Personalizado",colorModel:"Modelo de color",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Cuadrícula",wheel:"Rueda",hexCode:"Código hexadecimal",colorRed:"Rojo",colorGreen:"Verde",colorBlue:"Azul",colorHue:"Tono",colorSaturation:"Saturación",colorBrightness:"Luminosidad",colorCyan:"Cian",colorMagenta:"Magenta",colorYellow:"Amarillo",colorBlack:"Negro",codeRed:"S",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"D",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Cerrar",editSchematic:"Editar paquete",searchSchematic:"Buscar",nameLabelSchematic:"Nombre",captionLabelSchematic:"Título",keyLabelSchematic:"Clave",addSchematic:"Cargar archivo",schematicsInvalidSvg:"SVG no válido o no soportado",schematicsInvalidSvgData:"No se han podido obtener los datos del archivo:",schematicsInvalidType:"Tipo de archivo no soportado: %{type}",schematicsInvalidSize:"El archivo %{file}, tamaño %{size} supera el límite.",schematicsContextMenuReplace:"Sustituir",schematicsContextMenuDelete:"Suprimir",schematicsEmptySearchResults:"El resultado de la búsqueda está vacío",schematicsNoSelection:"No se ha seleccionado ningún elemento",schematicsMultipleSelection:"%{count} elementos seleccionados",schematicsSingleDeletionSuccessed:"Su esquemático se ha suprimido correctamente.",schematicsMultipleDeletionSuccessed:"Se han suprimido %{count} esquemáticos correctamente.",schematicsSingleAddSuccessed:"Su esquemático se ha añadido correctamente.",schematicsMultipleAddSuccessed:"Se han añadido %{count} esquemáticos correctamente.",schematicsAddFailed:"Error al añadir su esquemático.",schematicsReplaceDlgTitle:"Confirmar sustitución del archivo existente",schematicsReplaceDlgContent:"El archivo '%{sourceName}' ya existe. ¿Desea reemplazarlo por este nuevo archivo?",schematicsReplaceDlgApplyToAllFiles:"Aplicar a todos los filtros",schematicsPackageTab:"Paquete",schematicsContentTab:"Contenido",schematicsDescriptionLabel:"Descripción",schematicsIconLabel:"Icono",schematicsChooseFile:"Seleccionar un archivo",schematicsDeleteIcon:"Suprimir el icono",schematicsIconAdded:'El icono "%{file}" se ha añadido correctamente.',schematicsIconRemove:"El icono se ha eliminado correctamente.",schematicsIconDropFiles:"Coloque aquí los archivos",schematicsIconOr:"o bien",schematicsIconFileTypes:"Solo archivos .jpg, .png y .svg.",schematicsIconFileSize:"%{size}MB de tamaño máximo de archivo. "},__fi:{errorCreatingPalette:"Virhe tallennettaessa palettia.",paletteErrorTitle:"Palettivirhe",changePaletteLabel:"Vaihda väripaletti",myPaletteLabel:"Mukautettu",systemPaletteLabel:"Järjestelmä",publicPaletteLabel:"Yleiset",localPaletteLabel:"Paikallinen",mruPaletteLabel:"Viimeksi käytetyt",okDialog:"OK",deleteDialogTitle:"Poista",applyDialog:"Käytä",cancelDialog:"Peruuta",saveDialog:"Tallenna",deleteMessage:"Haluatko varmasti poistaa paletin %{name}?",deleteToast:"%{name} on poistettu",favoritesLabel:"Suosikit",setAsFavorite:"Aseta suosikiksi",createdToastMessage:"%{name} on luotu.",createPalette:"Luo mukautettu paletti",colorPicker:"Värinvalitsin",errorNoName:"Anna paletille nimi:",errorInsufficientColors:"Valitse vähintään kaksi väriä",paletteAppliedToastMessage:"Raporttiin on käytetty palettia %{name}.",createContinuousPalette:"Luo yhtenäinen väripaletti",createStandardPalette:"Luo kategorinen väripaletti",paletteNamePlaceholder:"Kirjoita paletin nimi tähän",paletteName:"Paletin nimi",standardPalette:"Kategorinen paletti",continuousPalette:"Yhtenäinen paletti",removeSwatch:"Poista värivalikoima",addSwatch:"Lisää värivalikoima",reversePalette:"Käänteinen paletti",colorGuide:"Väriopas",modeAutomatic:"Automaattinen",modeCustom:"Mukautettu",colorModel:"Värimalli",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Ruudukko",wheel:"Pyörä",hexCode:"Heksadesimaalikoodi",colorRed:"Punainen",colorGreen:"Vihreä",colorBlue:"Sininen",colorHue:"Sävy",colorSaturation:"Kylläisyys",colorBrightness:"Kirkkaus",colorCyan:"Syaani",colorMagenta:"Magenta",colorYellow:"Keltainen",colorBlack:"Musta",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Sulje",editSchematic:"Muokkaa pakettia",searchSchematic:"Hae",nameLabelSchematic:"Nimi",captionLabelSchematic:"Kuvateksti",keyLabelSchematic:"Avain",addSchematic:"Siirrä tiedosto",schematicsInvalidSvg:"SVG on virheellinen tai sitä ei tueta",schematicsInvalidSvgData:"Tiedostotietojen nouto ei onnistunut",schematicsInvalidType:"Tiedoston laji ei ole tuettu: %{type}",schematicsInvalidSize:"Tiedoston %{file} koko %{size} ylittää enimmäiskoon.",schematicsContextMenuReplace:"Korvaa",schematicsContextMenuDelete:"Poista",schematicsEmptySearchResults:"Hakutulos on tyhjä",schematicsNoSelection:"Kohteita ei ole valittu",schematicsMultipleSelection:"%{count} kohdetta on valittu",schematicsSingleDeletionSuccessed:"Skematiikka on poistettu.",schematicsMultipleDeletionSuccessed:"%{count} skematiikkaa on poistettu.",schematicsSingleAddSuccessed:"Skematiikka on lisätty.",schematicsMultipleAddSuccessed:"%{count} skematiikkaa on lisätty.",schematicsAddFailed:"Skematiikan lisäys epäonnistui.",schematicsReplaceDlgTitle:"Vahvista aiemmin luodun tiedoston korvaus",schematicsReplaceDlgContent:"Järjestelmässä on jo tiedosto %{sourceName}. Haluatko korvata sen uudella tiedostolla?",schematicsReplaceDlgApplyToAllFiles:"Käytä kaikissa tiedostoissa",schematicsPackageTab:"Paketti",schematicsContentTab:"Sisältö",schematicsDescriptionLabel:"Kuvaus",schematicsIconLabel:"Kuvake",schematicsChooseFile:"Valitse tiedosto",schematicsDeleteIcon:"Poista kuvake",schematicsIconAdded:"Kuvake %{file} on lisätty.",schematicsIconRemove:"Kuvake on poistettu.",schematicsIconDropFiles:"Pudota tiedostot tähän",schematicsIconOr:"tai",schematicsIconFileTypes:"Vain .jpg-, .png- ja .svg-tiedostoja.",schematicsIconFileSize:"Tiedoston enimmäiskoko %{size} Mt."},__fr:{errorCreatingPalette:"Une erreur est survenue lors de la sauvegarde de la palette.",paletteErrorTitle:"Erreur liée à la palette",changePaletteLabel:"Modifier la palette de couleurs",myPaletteLabel:"Personnalisé",systemPaletteLabel:"Système",publicPaletteLabel:"Global",localPaletteLabel:"Local",mruPaletteLabel:"Utilisée récemment",okDialog:"OK",deleteDialogTitle:"Supprimer",applyDialog:"Appliquer",cancelDialog:"Annuler",saveDialog:"Enregistrer",deleteMessage:'Voulez-vous vraiment supprimer la palette "%{name}" ?',deleteToast:'"%{name}" a été supprimée',favoritesLabel:"Favoris",setAsFavorite:"Définir en tant que favori",createdToastMessage:'"%{name}" a été créé(e) avec succès.',createPalette:"Créer une palette personnalisée",colorPicker:"Sélecteur de couleur",errorNoName:"Entrez un nom pour votre palette",errorInsufficientColors:"Choisissez au moins deux couleurs",paletteAppliedToastMessage:'La palette "%{name}" a été appliquée au rapport.',createContinuousPalette:"Créer une palette de couleurs continue",createStandardPalette:"Créer une palette de couleurs catégorielle",paletteNamePlaceholder:"Entrez le nom de la palette ici",paletteName:"Nom de la palette",standardPalette:"Palette catégorielle",continuousPalette:"Palette continue",removeSwatch:"Supprimer l'échantillon témoin",addSwatch:"Ajouter un échantillon témoin",reversePalette:"Annuler la palette",colorGuide:"Guide de couleur",modeAutomatic:"Automatique",modeCustom:"Personnalisé",colorModel:"Modèle de couleur",modelRGB:"RVB",modelHSB:"TSI",modelCMYK:"CMJK",grid:"Grille",wheel:"Roue",hexCode:"Code hexadécimal",colorRed:"Rouge",colorGreen:"Vert",colorBlue:"Bleu",colorHue:"Teinte",colorSaturation:"Saturation",colorBrightness:"Intensité",colorCyan:"Cyan",colorMagenta:"Magenta",colorYellow:"Jaune",colorBlack:"Noir",codeRed:"R",codeGreen:"G",codeBlue:"o",codeHue:"H",codeSaturation:"D",codeBrightness:"o",codeCyan:"C",codeMagenta:"Mn",codeYellow:"Y",codeBlack:"K",close:"Fermer",editSchematic:"Editer le pack",searchSchematic:"Rechercher",nameLabelSchematic:"Nom",captionLabelSchematic:"Légende",keyLabelSchematic:"Clé",addSchematic:"Transférer le fichier",schematicsInvalidSvg:"Fichier SVG non valide ou non pris en charge",schematicsInvalidSvgData:"Impossible d'obtenir les données du fichier",schematicsInvalidType:"Type de fichier non pris en charge : %{type}",schematicsInvalidSize:"La taille %{size} du fichier %{file} dépasse la limite admise.",schematicsContextMenuReplace:"Remplacer",schematicsContextMenuDelete:"Supprimer",schematicsEmptySearchResults:"Les résultats de la recherche sont vides",schematicsNoSelection:"Aucun élément sélectionné",schematicsMultipleSelection:"%{count} éléments sélectionnés",schematicsSingleDeletionSuccessed:"Votre schéma a été supprimé.",schematicsMultipleDeletionSuccessed:"%{count} schémas ont été supprimés.",schematicsSingleAddSuccessed:"Votre schéma a été ajouté.",schematicsMultipleAddSuccessed:"%{count} schémas ont été ajoutés.",schematicsAddFailed:"Echec de l'ajout de votre schéma.",schematicsReplaceDlgTitle:"Confirmer le remplacement du fichier existant",schematicsReplaceDlgContent:"Le fichier '%{sourceName}' existe déjà. Voulez-vous le remplacer par le nouveau fichier ?",schematicsReplaceDlgApplyToAllFiles:"Appliquer à tous les fichiers",schematicsPackageTab:"Pack",schematicsContentTab:"Contenu",schematicsDescriptionLabel:"Description",schematicsIconLabel:"Icône",schematicsChooseFile:"Choisir un fichier",schematicsDeleteIcon:"Retirer l'icône",schematicsIconAdded:'L\'icône "%{file}" a été ajoutée.',schematicsIconRemove:"L'icône a été retirée.",schematicsIconDropFiles:"Déposer les fichiers ici",schematicsIconOr:"ou",schematicsIconFileTypes:"Uniquement les fichiers .jpg, .png et .svg.",schematicsIconFileSize:"Taille maximale du fichier : %{size} Mo."},__hr:{errorCreatingPalette:"Pojavila se greška tijekom spremanja ove palete.",paletteErrorTitle:"Greška palete",changePaletteLabel:"Promijeni paletu boja",myPaletteLabel:"Prilagođeno",systemPaletteLabel:"Sistem",publicPaletteLabel:"Globalno",localPaletteLabel:"Lokalno",mruPaletteLabel:"Nedavno korišteno",okDialog:"OK",deleteDialogTitle:"Izbriši",applyDialog:"Primijeni",cancelDialog:"Opoziv",saveDialog:"Spremi",deleteMessage:'Jeste li sigurni da želite izbrisati paletu "%{name}"?',deleteToast:'"%{name}" je izbrisana',favoritesLabel:"Favoriti",setAsFavorite:"Postavi za favorit",createdToastMessage:'"%{name}" je uspješno kreirana.',createPalette:"Kreiraj prilagođenu paletu",colorPicker:"Izbornik boja",errorNoName:"Unesite naziv vaše palete",errorInsufficientColors:"Izaberi barem dvije boje",paletteAppliedToastMessage:'Paleta "%{name}" je primijenjena na izvještaj.',createContinuousPalette:"Kreiraj neprekidnu paletu boja",createStandardPalette:"Kreiraj kategorijsku paletu boja",paletteNamePlaceholder:"Ovdje upišite naziv palete",paletteName:"Naziv palete",standardPalette:"Kategorijska paleta",continuousPalette:"Kontinuirana paleta",removeSwatch:"Ukloni uzorak",addSwatch:"Dodaj uzorak",reversePalette:"Obrni paletu",colorGuide:"Vodič za boje",modeAutomatic:"Automatski",modeCustom:"Prilagođeno",colorModel:"Model boje",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Mreža",wheel:"Kotač",hexCode:"Heksadecimalan kod",colorRed:"Crvena",colorGreen:"Zelena",colorBlue:"Plava",colorHue:"Nijansa",colorSaturation:"Zasićenost",colorBrightness:"Svjetlost",colorCyan:"Cijan",colorMagenta:"Grimizna",colorYellow:"Žuta",colorBlack:"Crna",codeRed:"Z",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Zatvori",editSchematic:"Uredi paket",searchSchematic:"Traži",nameLabelSchematic:"Naziv",captionLabelSchematic:"Zaglavlje",keyLabelSchematic:"Ključ",addSchematic:"Upload datoteka",schematicsInvalidSvg:"Pogrešan ili nepodržani SVG",schematicsInvalidSvgData:"Nisu se mogli dobiti podaci datoteke",schematicsInvalidType:"Nepodržani tip datoteke: %{type}",schematicsInvalidSize:"Datoteka %{file}, veličina %{size} premašuje ograničenje.",schematicsContextMenuReplace:"Zamijeni",schematicsContextMenuDelete:"Izbriši",schematicsEmptySearchResults:"Rezultati pretraživanja su prazni",schematicsNoSelection:"Nema izabranih stavki",schematicsMultipleSelection:"%{count} stavki je izabrano",schematicsSingleDeletionSuccessed:"Vaša shema je uspješno izbrisana.",schematicsMultipleDeletionSuccessed:"%{count} shema je uspješno izbrisano.",schematicsSingleAddSuccessed:"Vaša shema je uspješno dodana.",schematicsMultipleAddSuccessed:"%{count} shema je uspješno dodano.",schematicsAddFailed:"Neuspješno dodavanje sheme.",schematicsReplaceDlgTitle:"Potvrdite zamjenu postojeće datoteke",schematicsReplaceDlgContent:"Datoteka '%{sourceName}' već postoji. Želite li ju zamijeniti s novom datotekom?",schematicsReplaceDlgApplyToAllFiles:"Primijeni na sve datoteke",schematicsPackageTab:"Paket",schematicsContentTab:"Sadržaj",schematicsDescriptionLabel:"Opis",schematicsIconLabel:"Ikona",schematicsChooseFile:"Izaberi datoteku",schematicsDeleteIcon:"Ukloni ikonu",schematicsIconAdded:'Ikona "%{file}" je uspješno dodana.',schematicsIconRemove:"Ikona je uspješno uklonjena.",schematicsIconDropFiles:"Ovdje ispusti datoteke",schematicsIconOr:"ili",schematicsIconFileTypes:"Samo .jpg, .png i .svg datoteke",schematicsIconFileSize:"%{size}MB je maksimalna veličina datoteke."},__hu:{errorCreatingPalette:"Hiba történt a paletta mentése közben.",paletteErrorTitle:"Paletta hiba",changePaletteLabel:"Színpaletta módosítása",myPaletteLabel:"Egyéni",systemPaletteLabel:"Rendszer",publicPaletteLabel:"Globális",localPaletteLabel:"Helyi",mruPaletteLabel:"Nemrégiben használt",okDialog:"OK",deleteDialogTitle:"Törlés",applyDialog:"Alkalmaz",cancelDialog:"Mégse",saveDialog:"Mentés",deleteMessage:'Valóban törölni kívánja a(z) "%{name}" palettát?',deleteToast:'A(z) "%{name}" törlésre került',favoritesLabel:"Kedvencek",setAsFavorite:"Beállítás kedvencként",createdToastMessage:'A(z) "%{name}" sikeresen létrehozásra került',createPalette:"Egyéni paletta létrehozása",colorPicker:"Színválasztó",errorNoName:"Adja meg a paletta nevét",errorInsufficientColors:"Válasszon legalább két színt",paletteAppliedToastMessage:'A(z) "%{name}" paletta került alkalmazásra a jelentéshez.',createContinuousPalette:"Folytonos színpaletta létrehozása",createStandardPalette:"Kategorikus színpaletta létrehozása",paletteNamePlaceholder:"Itt adja meg a paletta nevét",paletteName:"Paletta neve",standardPalette:"Kategorikus paletta",continuousPalette:"Folytonos paletta",removeSwatch:"Minta eltávolítása",addSwatch:"Minta hozzáadása",reversePalette:"Fordított paletta",colorGuide:"Szín útmutató",modeAutomatic:"Automatikus",modeCustom:"Egyéni",colorModel:"Színmodell",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Rács",wheel:"Kerék",hexCode:"Hexa kód",colorRed:"Piros",colorGreen:"Zöld",colorBlue:"Kék",colorHue:"Árnyalat",colorSaturation:"Telítettség",colorBrightness:"Fényerő",colorCyan:"Cián",colorMagenta:"Bíbor",colorYellow:"Sárga",colorBlack:"Fekete",codeRed:"K",codeGreen:"m",codeBlue:"F",codeHue:"H",codeSaturation:"S",codeBrightness:"F",codeCyan:"K",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Bezárás",editSchematic:"Csomagok szerkesztése",searchSchematic:"Keresés",nameLabelSchematic:"Név",captionLabelSchematic:"Felirat",keyLabelSchematic:"Kulcs",addSchematic:"Fájl feltöltése",schematicsInvalidSvg:"Érvénytelen vagy nem támogatott SVG",schematicsInvalidSvgData:"A fájl adatait nem lehet lekérdezni",schematicsInvalidType:"Nem támogatott fájltípus: %{type}",schematicsInvalidSize:"A(z) %{file} fájl %{size} mérete meghaladja a korlátot.",schematicsContextMenuReplace:"Csere",schematicsContextMenuDelete:"Törlés",schematicsEmptySearchResults:"A keresési eredmény üres",schematicsNoSelection:"Nincs kijelölt elem",schematicsMultipleSelection:"%{count} elem kijelölve",schematicsSingleDeletionSuccessed:"Tervrajza sikeresen törlésre került.",schematicsMultipleDeletionSuccessed:"%{count} tervrajz sikeresen törlésre került.",schematicsSingleAddSuccessed:"Tervrajza sikeresen hozzáadásra került.",schematicsMultipleAddSuccessed:"%{count} tervrajz sikeresen hozzáadásra került.",schematicsAddFailed:"A tervrajz hozzáadása nem sikerült.",schematicsReplaceDlgTitle:"A meglévő fájl cseréjének jóváhagyása",schematicsReplaceDlgContent:"A(z) '%{sourceName}' fájl már létezik. Kívánja felülírni az új fájllal?",schematicsReplaceDlgApplyToAllFiles:"Minden fájlra vonatkozik",schematicsPackageTab:"Csomag",schematicsContentTab:"Tartalom",schematicsDescriptionLabel:"Leírás",schematicsIconLabel:"Ikon",schematicsChooseFile:"Válasszon egy fájlt",schematicsDeleteIcon:"Az ikon eltávolítása",schematicsIconAdded:'A(z) "%{file}" ikon sikeresen hozzáadásra került.',schematicsIconRemove:"Az ikon sikeresen eltávolításra került.",schematicsIconDropFiles:"Vontassa ide a fájlokat",schematicsIconOr:"vagy",schematicsIconFileTypes:"Csak .jpg, .png és .svg fájlok.",schematicsIconFileSize:"%{size}MB maximális fájlméret."},__it:{errorCreatingPalette:"Si è verificato un errore durante il salvataggio della tavolozza.",paletteErrorTitle:"Errore della tavolozza",changePaletteLabel:"Modifica tavolozza colori",myPaletteLabel:"Personalizzato",systemPaletteLabel:"Sistema",publicPaletteLabel:"Globale",localPaletteLabel:"Locale",mruPaletteLabel:"Utilizzato di recente",okDialog:"OK",deleteDialogTitle:"Elimina",applyDialog:"Applica",cancelDialog:"Annulla",saveDialog:"Salva",deleteMessage:'Si è sicuri di voler eliminare la tavolozza "%{name}"?',deleteToast:'"%{name}" è stato eliminato',favoritesLabel:"Preferiti",setAsFavorite:"Imposta come Preferiti",createdToastMessage:'"%{name}" creato correttamente.',createPalette:"Creazione di una tavolozza personalizzata",colorPicker:"Selettore colori",errorNoName:"Immettere un nome per la tavolozza",errorInsufficientColors:"Scegli almeno due colori",paletteAppliedToastMessage:'La tavolozza "%{name}", è stata applicata al report.',createContinuousPalette:"Crea una tavolozza di colori continua",createStandardPalette:"Crea una tavolozza di colori categoriale",paletteNamePlaceholder:"Immetti qui il nome tavolozza",paletteName:"Nome tavolozza",standardPalette:"Tavolozza categoriale",continuousPalette:"Tavolozza continua",removeSwatch:"Rimuovi campionario",addSwatch:"Aggiungi campionario",reversePalette:"Inverti tavolozza",colorGuide:"Guida a colori",modeAutomatic:"Automatico",modeCustom:"Personalizzato",colorModel:"Modello di colore",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Griglia",wheel:"Cerchio",hexCode:"Codice esadecimale",colorRed:"Rosso",colorGreen:"Verde",colorBlue:"Blu",colorHue:"Tonalità",colorSaturation:"Saturazione",colorBrightness:"Brillantezza",colorCyan:"Ciano",colorMagenta:"Magenta",colorYellow:"Giallo",colorBlack:"Nero",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Chiudi",editSchematic:"Modifica package",searchSchematic:"Ricerca",nameLabelSchematic:"Nome",captionLabelSchematic:"Didascalia",keyLabelSchematic:"Chiave",addSchematic:"Carica file",schematicsInvalidSvg:"SVG non valido o non supportato",schematicsInvalidSvgData:"Impossibile ottenere i dati del file",schematicsInvalidType:"Tipo file non supportato: %{type}",schematicsInvalidSize:"File %{file}, dimensione %{size} supera il limite.",schematicsContextMenuReplace:"Sostituisci",schematicsContextMenuDelete:"Elimina",schematicsEmptySearchResults:"I risultati della ricerca sono vuoti.",schematicsNoSelection:"Nessun elemento selezionato",schematicsMultipleSelection:"%{count} elementi selezionato",schematicsSingleDeletionSuccessed:"La schematica è stata correttamente eliminata.",schematicsMultipleDeletionSuccessed:"%{count} schematiche sono state correttamente eliminate.",schematicsSingleAddSuccessed:"Le schematiche sono state correttamente aggiunte.",schematicsMultipleAddSuccessed:"%{count} schematiche sono state correttamente aggiunte.",schematicsAddFailed:"Aggiunta schematica non riuscita.",schematicsReplaceDlgTitle:"Conferma sostituzione del file esistente",schematicsReplaceDlgContent:"Il file '%{sourceName}' esiste già. Si desidera sostituirlo con il nuovo file?",schematicsReplaceDlgApplyToAllFiles:"Applica a tutti i file",schematicsPackageTab:"Package",schematicsContentTab:"Contenuto",schematicsDescriptionLabel:"Descrizione",schematicsIconLabel:"Icona",schematicsChooseFile:"Scegli un file",schematicsDeleteIcon:"Rimuovi l'icona",schematicsIconAdded:'L\'icona "%{file}" è stata correttamente aggiunta.',schematicsIconRemove:"L'icona è stata correttamente rimossa.",schematicsIconDropFiles:"Rilascia i file qui ",schematicsIconOr:"o ",schematicsIconFileTypes:"Solo file .jpg, .png e .svg ",schematicsIconFileSize:"Dimensione file massima %{size} MB "},__ja:{errorCreatingPalette:"パレットの保存中にエラーが発生しました。",paletteErrorTitle:"パレット・エラー",changePaletteLabel:"カラー・パレットの変更",myPaletteLabel:"カスタム",systemPaletteLabel:"システム",publicPaletteLabel:"グローバル",localPaletteLabel:"ローカル",mruPaletteLabel:"最近使用された",okDialog:"OK",deleteDialogTitle:"削除",applyDialog:"適用",cancelDialog:"キャンセル",saveDialog:"保存",deleteMessage:'パレット "%{name}" を削除しますか?',deleteToast:'"%{name}" が削除されました',favoritesLabel:"お気に入り",setAsFavorite:"お気に入りとして設定",createdToastMessage:'"%{name}" が正常に作成されました。',createPalette:"カスタム・パレットの作成",colorPicker:"カラー・ピッカー",errorNoName:"パレットの名前を入力してください",errorInsufficientColors:"少なくとも 2 つの色を選択してください",paletteAppliedToastMessage:'パレット "%{name}" がレポートに適用されました。',createContinuousPalette:"連続型カラー・パレットの作成",createStandardPalette:"カテゴリー型カラー・パレットの作成",paletteNamePlaceholder:"ここにパレット名を入力",paletteName:"パレット名",standardPalette:"カテゴリー型パレット",continuousPalette:"連続型パレット",removeSwatch:"スウォッチを削除",addSwatch:"スウォッチを追加",reversePalette:"パレットを反転",colorGuide:"カラー・ガイド",modeAutomatic:"自動",modeCustom:"カスタム",colorModel:"カラー型",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"グリッド",wheel:"ホイール",hexCode:"16 進コード",colorRed:"赤",colorGreen:"緑",colorBlue:"青",colorHue:"色調",colorSaturation:"彩度",colorBrightness:"輝度",colorCyan:"シアン",colorMagenta:"マゼンタ",colorYellow:"黄",colorBlack:"黒",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"閉じる",editSchematic:"パッケージの編集",searchSchematic:"検索",nameLabelSchematic:"名前",captionLabelSchematic:"キャプション",keyLabelSchematic:"キー",addSchematic:"ファイルのアップロード",schematicsInvalidSvg:"正しくない、またはサポートされていない SVG です",schematicsInvalidSvgData:"ファイル・データを取得できませんでした",schematicsInvalidType:"サポートされないファイル・タイプ: %{type}",schematicsInvalidSize:"ファイル %{file}、サイズ %{size} が制限を超えています。",schematicsContextMenuReplace:"置換",schematicsContextMenuDelete:"削除",schematicsEmptySearchResults:"検索結果が空です",schematicsNoSelection:"アイテムが選択されていません",schematicsMultipleSelection:"%{count} 個のアイテムを選択",schematicsSingleDeletionSuccessed:"図式が正常に削除されました。",schematicsMultipleDeletionSuccessed:"%{count} 個の図式が正常に削除されました。",schematicsSingleAddSuccessed:"図式が正常に追加されました。",schematicsMultipleAddSuccessed:"%{count} 個の図式が正常に追加されました。",schematicsAddFailed:"図式を追加できませんでした。",schematicsReplaceDlgTitle:"既存ファイルの置換の確認",schematicsReplaceDlgContent:"ファイル '%{sourceName}' は既に存在しています。 新しいファイルに置き換えますか?",schematicsReplaceDlgApplyToAllFiles:"すべてのファイルに適用",schematicsPackageTab:"パッケージ",schematicsContentTab:"コンテンツ",schematicsDescriptionLabel:"説明",schematicsIconLabel:"アイコン",schematicsChooseFile:"ファイルの選択",schematicsDeleteIcon:"アイコンの削除",schematicsIconAdded:'アイコン "%{file}" が正常に追加されました。',schematicsIconRemove:"アイコンが正常に削除されました。",schematicsIconDropFiles:"ここにファイルをドロップ",schematicsIconOr:"または",schematicsIconFileTypes:".jpg、.png、および .svg ファイルのみ。",schematicsIconFileSize:"ファイル・サイズは最大 %{size}MB。"},__kk:{errorCreatingPalette:"Бояғышты сақтау кезінде қате пайда болды.",paletteErrorTitle:"Бояғыш қатесі",changePaletteLabel:"Түсті бояғыштарды өзгерту",myPaletteLabel:"Теңшелім",systemPaletteLabel:"Жүйе",publicPaletteLabel:"Глобалдық",localPaletteLabel:"Жергілікті",mruPaletteLabel:"Жақында қолданылған",okDialog:"OK",deleteDialogTitle:"Жою",applyDialog:"Қолдану",cancelDialog:"Болдырмау",saveDialog:"Сақтау",deleteMessage:'"%{name}" бояғышын жойғыңыз келетініне сенімдісіз бе?',deleteToast:'"%{name}" жойылған',favoritesLabel:"Таңдаулылар",setAsFavorite:"Таңдаулы ретінде орнату",createdToastMessage:'"%{name}" сәтті жасалды.',createPalette:"Пайдаланушы бояғышты жасау",colorPicker:"Түс таңдағыш",errorNoName:"Бояғыштың атын енгізіңіз",errorInsufficientColors:"Кемінде екі түсті таңдаңыз",paletteAppliedToastMessage:'Есепке "%{name}" бояғышы қолданылды.',createContinuousPalette:"Үздіксіз түс бояғышын жасаңыз",createStandardPalette:"Категориялық түстер бояғышын жасаңыз",paletteNamePlaceholder:"Бояғыштың атауын мына жерде теріңіз",paletteName:"Бояғыш атауы",standardPalette:"Категориялы бояғыш",continuousPalette:"Үздіксіз бояғыш",removeSwatch:"Таңбаны алып тастау",addSwatch:"Таңба қосу",reversePalette:"Кері бояғышы",colorGuide:"Түс бағыттаушы",modeAutomatic:"Автоматты",modeCustom:"Теңшелім",colorModel:"Түс үлгісі",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Жоғарғы",wheel:"Шеңбері",hexCode:"Hex код",colorRed:"Қызыл",colorGreen:"Жасыл",colorBlue:"Көк",colorHue:"Реңк",colorSaturation:"Қанықтық",colorBrightness:"Жарықтық",colorCyan:"Көкшіл",colorMagenta:"Күлгін",colorYellow:"Сары",colorBlack:"Қара",codeRed:"R",codeGreen:"Г",codeBlue:"B",codeHue:"С",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"М",codeYellow:"Y",codeBlack:"K",close:"Жабу",editSchematic:"Буманы өңдеу",searchSchematic:"Іздеу",nameLabelSchematic:"Аты",captionLabelSchematic:"Тақырып",keyLabelSchematic:"Кілт",addSchematic:"Кері қотарылған файл",schematicsInvalidSvg:"Жарамсыз немесе қолдау көрсетілмейтін SVG",schematicsInvalidSvgData:"Файл деректерін алу мүмкін болмады",schematicsInvalidType:"Қолдау көрсетілмейтін файл түрі: %{type}",schematicsInvalidSize:"%{file} файлы, %{size} мөлшері шектен асады.",schematicsContextMenuReplace:"Ауыстыру",schematicsContextMenuDelete:"Жою",schematicsEmptySearchResults:"Іздеу нәтижелері бос",schematicsNoSelection:"Ешбір элемент таңдалмады",schematicsMultipleSelection:"%{count} элемент таңдалды",schematicsSingleDeletionSuccessed:"Сіздің схемаңыз сәтті жойылды.",schematicsMultipleDeletionSuccessed:"%{count} схемасы сәтті жойылды.",schematicsSingleAddSuccessed:"Сіздің схемаңыз сәтті қосылды.",schematicsMultipleAddSuccessed:"%{count} схемасы сәтті қосылды.",schematicsAddFailed:"Схемаңызды қосу сәтсіз аяқталды.",schematicsReplaceDlgTitle:"Бар файлды ауыстыруды растаңыз",schematicsReplaceDlgContent:"'%{sourceName}' файлы бұрыннан бар. Оны жаңа файлмен алмастырғыңыз келе ме?",schematicsReplaceDlgApplyToAllFiles:"Барлық файлдарға қолданыңыз",schematicsPackageTab:"Бума",schematicsContentTab:"Мазмұн",schematicsDescriptionLabel:"Сипаттама",schematicsIconLabel:"Белгіше",schematicsChooseFile:"Файлды таңдаңыз",schematicsDeleteIcon:"Белгішені жоюңыз",schematicsIconAdded:'"%{file}" белгішесі сәтті қосылды.',schematicsIconRemove:"Белгіше сәтті алынып тасталды.",schematicsIconDropFiles:"Файлдарды осында тастау",schematicsIconOr:"or",schematicsIconFileTypes:"Тек .jpg, .png және .svg файлдары.",schematicsIconFileSize:"%{size} МБ максималды файл өлшемі."},__ko:{errorCreatingPalette:"색상표를 저장하는 중에 오류가 발생했습니다.",paletteErrorTitle:"색상표 오류",changePaletteLabel:"색상표 변경",myPaletteLabel:"사용자 정의",systemPaletteLabel:"시스템",publicPaletteLabel:"글로벌",localPaletteLabel:"로컬",mruPaletteLabel:"최근 사용됨",okDialog:"확인",deleteDialogTitle:"삭제",applyDialog:"적용",cancelDialog:"취소",saveDialog:"저장",deleteMessage:'"%{name}" 색상표를 삭제하시겠습니까?',deleteToast:'"%{name}"이(가) 삭제됨',favoritesLabel:"즐겨찾기",setAsFavorite:"즐겨찾기로 설정",createdToastMessage:'"%{name}"이(가) 작성되었습니다.',createPalette:"사용자 정의 색상표 작성",colorPicker:"색상 선택도구",errorNoName:"색상표 이름 입력",errorInsufficientColors:"둘 이상의 색상 선택",paletteAppliedToastMessage:'"%{name}" 색상표가 보고서에 적용되었습니다.',createContinuousPalette:"연속 색상표 작성",createStandardPalette:"카테고리형 색상표 작성",paletteNamePlaceholder:"여기에 색상표 이름 입력",paletteName:"색상표 이름",standardPalette:"카테고리형 색상표",continuousPalette:"연속 색상표",removeSwatch:"견본 제거",addSwatch:"견본 추가",reversePalette:"색상표 반전",colorGuide:"색상 안내서",modeAutomatic:"자동",modeCustom:"사용자 정의",colorModel:"색상 모델",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"눈금",wheel:"휠",hexCode:"16진 코드",colorRed:"빨간색",colorGreen:"녹색",colorBlue:"파란색",colorHue:"색상",colorSaturation:"채도",colorBrightness:"밝기",colorCyan:"청록색",colorMagenta:"진홍색",colorYellow:"노란색",colorBlack:"검은색",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"m",codeYellow:"Y",codeBlack:"K",close:"닫기",editSchematic:"패키지 편집",searchSchematic:"검색",nameLabelSchematic:"이름",captionLabelSchematic:"캡션",keyLabelSchematic:"키",addSchematic:"파일 업로드",schematicsInvalidSvg:"올바르지 않거나 지원되지 않는 SVG",schematicsInvalidSvgData:"파일 데이터를 확보할 수 없음",schematicsInvalidType:"지원되지 않는 파일 유형: %{type}",schematicsInvalidSize:"%{file} 파일, %{size} 크기가 한계를 초과했습니다.",schematicsContextMenuReplace:"대체",schematicsContextMenuDelete:"삭제",schematicsEmptySearchResults:"검색 결과가 비어 있음",schematicsNoSelection:"항목을 선택하지 않음",schematicsMultipleSelection:"%{count}개의 항목이 선택됨",schematicsSingleDeletionSuccessed:"도식이 삭제되었습니다.",schematicsMultipleDeletionSuccessed:"%{count} 도식이 삭제되었습니다.",schematicsSingleAddSuccessed:"도식이 추가되었습니다.",schematicsMultipleAddSuccessed:"%{count} 도식이 추가되었습니다.",schematicsAddFailed:"도식 추가에 실패했습니다.",schematicsReplaceDlgTitle:"기존 파일의 대체 확인",schematicsReplaceDlgContent:"'%{sourceName}' 파일이 이미 있습니다. 새 파일로 이를 대체하시겠습니까?",schematicsReplaceDlgApplyToAllFiles:"모든 파일에 적용",schematicsPackageTab:"패키지",schematicsContentTab:"컨텐츠",schematicsDescriptionLabel:"설명",schematicsIconLabel:"아이콘",schematicsChooseFile:"파일 선택",schematicsDeleteIcon:"아이콘 제거",schematicsIconAdded:'"%{file}" 아이콘이 추가되었습니다.',schematicsIconRemove:"아이콘이 제거되었습니다.",schematicsIconDropFiles:"파일 여기에 놓기",schematicsIconOr:"또는",schematicsIconFileTypes:".jpg, .png 및 .svg 파일만.",schematicsIconFileSize:"%{size}MB의 최대 파일 크기."},__no:{errorCreatingPalette:"Det oppstod en feil under lagring av paletten.",paletteErrorTitle:"Palettfeil",changePaletteLabel:"Endre fargepalett",myPaletteLabel:"Tilpasset",systemPaletteLabel:"System",publicPaletteLabel:"Globale",localPaletteLabel:"Lokal",mruPaletteLabel:"Nylig brukt",okDialog:"OK",deleteDialogTitle:"Slett",applyDialog:"Bruk",cancelDialog:"Avbryt",saveDialog:"Lagre",deleteMessage:'Er du sikker på at du vil slette paletten "%{name}"?',deleteToast:'"%{name}" ble slettet',favoritesLabel:"Favoritter",setAsFavorite:"Definer som favoritt",createdToastMessage:'"%{name}" ble opprettet.',createPalette:"Opprett en tilpasset palett",colorPicker:"Fargevelger",errorNoName:"Oppgi et navn på paletten.",errorInsufficientColors:"Velg minst to farger",paletteAppliedToastMessage:'Palett "%{name}" ble brukt på rapporten.',createContinuousPalette:"Opprett kontinuerlig fargepalett",createStandardPalette:"Opprett kategorisk fargepalett",paletteNamePlaceholder:"Skriv palettnavn her",paletteName:"Palettnavn",standardPalette:"Kategorisk palett",continuousPalette:"Kontinuerlig palett",removeSwatch:"Fjern prøve",addSwatch:"Legg til prøve",reversePalette:"Omvendt palett",colorGuide:"Fargeveiledning",modeAutomatic:"Automatisk",modeCustom:"Tilpasset",colorModel:"Fargemodell",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Rutenett",wheel:"Hjul",hexCode:"Heksadesimal kode",colorRed:"Rød",colorGreen:"Grønn",colorBlue:"Blå",colorHue:"Nyanse",colorSaturation:"Metning",colorBrightness:"Lysstyrke",colorCyan:"Cyan",colorMagenta:"Magenta",colorYellow:"Gul",colorBlack:"Svart",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Lukk",editSchematic:"Rediger pakke",searchSchematic:"Søk",nameLabelSchematic:"Navn",captionLabelSchematic:"Tittel",keyLabelSchematic:"Nøkkel",addSchematic:"Last opp fil",schematicsInvalidSvg:"Ugyldig eller ikke støttet SVG",schematicsInvalidSvgData:"Kunne ikke hente fildata",schematicsInvalidType:"Ikke-støttet filtype: %{type}",schematicsInvalidSize:"Fil %{file}, størrelse %{size} overskrider grense.",schematicsContextMenuReplace:"Erstatt",schematicsContextMenuDelete:"Slett",schematicsEmptySearchResults:"Søkeresultatet er tomt",schematicsNoSelection:"Ingen elementer valgt",schematicsMultipleSelection:"%{count} elementer valgt",schematicsSingleDeletionSuccessed:"Skjemaet ble slettet.",schematicsMultipleDeletionSuccessed:"%{count} skjemaer ble slettet.",schematicsSingleAddSuccessed:"Skjemaet ble lagt til.",schematicsMultipleAddSuccessed:"%{count} skjemaer ble lagt til.",schematicsAddFailed:"Kunne ikke legge til skjema.",schematicsReplaceDlgTitle:"Bekreft erstatning av eksisterende fil",schematicsReplaceDlgContent:"Filen '%{sourceName}' finnes allerede. Vil du erstatte den med den nye filen?",schematicsReplaceDlgApplyToAllFiles:"Bruk på alle filer",schematicsPackageTab:"Pakke",schematicsContentTab:"Innhold",schematicsDescriptionLabel:"Beskrivelse",schematicsIconLabel:"Ikon",schematicsChooseFile:"Velg en fil",schematicsDeleteIcon:"Fjern ikonet",schematicsIconAdded:'Ikonet "%{file}" ble lagt til.',schematicsIconRemove:"Ikonet ble fjernet.",schematicsIconDropFiles:"Slipp filer her",schematicsIconOr:"eller",schematicsIconFileTypes:"Bare filer av typen .jpg, .png og .svg.",schematicsIconFileSize:"%{size} MB maks filstørrelse."},__nb:{errorCreatingPalette:"Det oppstod en feil under lagring av paletten.",paletteErrorTitle:"Palettfeil",changePaletteLabel:"Endre fargepalett",myPaletteLabel:"Tilpasset",systemPaletteLabel:"System",publicPaletteLabel:"Globale",localPaletteLabel:"Lokal",mruPaletteLabel:"Nylig brukt",okDialog:"OK",deleteDialogTitle:"Slett",applyDialog:"Bruk",cancelDialog:"Avbryt",saveDialog:"Lagre",deleteMessage:'Er du sikker på at du vil slette paletten "%{name}"?',deleteToast:'"%{name}" ble slettet',favoritesLabel:"Favoritter",setAsFavorite:"Definer som favoritt",createdToastMessage:'"%{name}" ble opprettet.',createPalette:"Opprett en tilpasset palett",colorPicker:"Fargevelger",errorNoName:"Oppgi et navn på paletten.",errorInsufficientColors:"Velg minst to farger",paletteAppliedToastMessage:'Palett "%{name}" ble brukt på rapporten.',createContinuousPalette:"Opprett kontinuerlig fargepalett",createStandardPalette:"Opprett kategorisk fargepalett",paletteNamePlaceholder:"Skriv palettnavn her",paletteName:"Palettnavn",standardPalette:"Kategorisk palett",continuousPalette:"Kontinuerlig palett",removeSwatch:"Fjern prøve",addSwatch:"Legg til prøve",reversePalette:"Omvendt palett",colorGuide:"Fargeveiledning",modeAutomatic:"Automatisk",modeCustom:"Tilpasset",colorModel:"Fargemodell",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Rutenett",wheel:"Hjul",hexCode:"Heksadesimal kode",colorRed:"Rød",colorGreen:"Grønn",colorBlue:"Blå",colorHue:"Nyanse",colorSaturation:"Metning",colorBrightness:"Lysstyrke",colorCyan:"Cyan",colorMagenta:"Magenta",colorYellow:"Gul",colorBlack:"Svart",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Lukk",editSchematic:"Rediger pakke",searchSchematic:"Søk",nameLabelSchematic:"Navn",captionLabelSchematic:"Tittel",keyLabelSchematic:"Nøkkel",addSchematic:"Last opp fil",schematicsInvalidSvg:"Ugyldig eller ikke støttet SVG",schematicsInvalidSvgData:"Kunne ikke hente fildata",schematicsInvalidType:"Ikke-støttet filtype: %{type}",schematicsInvalidSize:"Fil %{file}, størrelse %{size} overskrider grense.",schematicsContextMenuReplace:"Erstatt",schematicsContextMenuDelete:"Slett",schematicsEmptySearchResults:"Søkeresultatet er tomt",schematicsNoSelection:"Ingen elementer valgt",schematicsMultipleSelection:"%{count} elementer valgt",schematicsSingleDeletionSuccessed:"Skjemaet ble slettet.",schematicsMultipleDeletionSuccessed:"%{count} skjemaer ble slettet.",schematicsSingleAddSuccessed:"Skjemaet ble lagt til.",schematicsMultipleAddSuccessed:"%{count} skjemaer ble lagt til.",schematicsAddFailed:"Kunne ikke legge til skjema.",schematicsReplaceDlgTitle:"Bekreft erstatning av eksisterende fil",schematicsReplaceDlgContent:"Filen '%{sourceName}' finnes allerede. Vil du erstatte den med den nye filen?",schematicsReplaceDlgApplyToAllFiles:"Bruk på alle filer",schematicsPackageTab:"Pakke",schematicsContentTab:"Innhold",schematicsDescriptionLabel:"Beskrivelse",schematicsIconLabel:"Ikon",schematicsChooseFile:"Velg en fil",schematicsDeleteIcon:"Fjern ikonet",schematicsIconAdded:'Ikonet "%{file}" ble lagt til.',schematicsIconRemove:"Ikonet ble fjernet.",schematicsIconDropFiles:"Slipp filer her",schematicsIconOr:"eller",schematicsIconFileTypes:"Bare filer av typen .jpg, .png og .svg.",schematicsIconFileSize:"%{size} MB maks filstørrelse."},__nl:{errorCreatingPalette:"Fout opgetreden bij het opslaan van het palet.",paletteErrorTitle:"Paletfout",changePaletteLabel:"Kleurenpalet wijzigen",myPaletteLabel:"Aangepast",systemPaletteLabel:"Systeem",publicPaletteLabel:"Algemeen",localPaletteLabel:"Lokaal",mruPaletteLabel:"Kortgeleden gebruikt",okDialog:"OK",deleteDialogTitle:"Verwijderen",applyDialog:"Toepassen",cancelDialog:"Annuleren",saveDialog:"Save",deleteMessage:'Weet u zeker dat u het palet "%{name}" wilt wissen?',deleteToast:'"%{name}" is gewist',favoritesLabel:"Favorieten",setAsFavorite:"Instellen als favoriet",createdToastMessage:'"%{name}" is gemaakt.',createPalette:"Aangepast palet maken",colorPicker:"Kleurenselector",errorNoName:"Geef een naam voor uw palet op",errorInsufficientColors:"Kies minimaal twee kleuren",paletteAppliedToastMessage:'Palet "%{name}" is toegepast op het rapport.',createContinuousPalette:"Doorlopen kleurenpalet maken",createStandardPalette:"Categorisch kleurenpalet maken",paletteNamePlaceholder:"Typ hier de naam van het palet",paletteName:"Naam van palet",standardPalette:"Categorisch palet",continuousPalette:"Doorlopend palet",removeSwatch:"Staal verwijderen",addSwatch:"Staal toevoegen",reversePalette:"Palet negatief maken",colorGuide:"Kleurengids",modeAutomatic:"Automatisch",modeCustom:"Aangepast",colorModel:"Kleurmodel",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Raster",wheel:"Cirkel",hexCode:"Hexcode",colorRed:"Rood",colorGreen:"Groen",colorBlue:"Blauw",colorHue:"Tint",colorSaturation:"Verzadiging",colorBrightness:"Helderheid",colorCyan:"Cyaan",colorMagenta:"Magenta",colorYellow:"Geel",colorBlack:"Zwart",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"T",codeSaturation:"V",codeBrightness:"H",codeCyan:"C",codeMagenta:"M",codeYellow:"J",codeBlack:"Z",close:"Sluiten",editSchematic:"Pakket bewerken",searchSchematic:"Zoeken",nameLabelSchematic:"Name",captionLabelSchematic:"Bijschrift",keyLabelSchematic:"Sleutel",addSchematic:"Bestand uploaden",schematicsInvalidSvg:"Ongeldige of niet-ondersteunde SVG",schematicsInvalidSvgData:"Bestandsgegevens kunnen niet worden opgehaald",schematicsInvalidType:"Niet-ondersteund bestandstype: %{type}",schematicsInvalidSize:"Bestand %{file}, grootte %{size} overschrijdt de limiet.",schematicsContextMenuReplace:"Vervangen",schematicsContextMenuDelete:"Verwijderen",schematicsEmptySearchResults:"Het zoekresultaat is leeg",schematicsNoSelection:"Geen items geselecteerd",schematicsMultipleSelection:"%{count} items geselecteerd",schematicsSingleDeletionSuccessed:"Uw schema is gewist.",schematicsMultipleDeletionSuccessed:"%{count} schema's gewist.",schematicsSingleAddSuccessed:"Uw schema is toegevoegd.",schematicsMultipleAddSuccessed:"%{count} schema's zijn toegevoegd.",schematicsAddFailed:"Toevoegen van uw schema is mislukt.",schematicsReplaceDlgTitle:"Vervanging van bestaand bestand bevestigen",schematicsReplaceDlgContent:"Het bestand '%{sourceName}' bestaat al. Wilt u het vervangen door het nieuwe bestand?",schematicsReplaceDlgApplyToAllFiles:"Toepassen op alle bestanden",schematicsPackageTab:"Pakket",schematicsContentTab:"Inhoud",schematicsDescriptionLabel:"Naam",schematicsIconLabel:"Pictogram",schematicsChooseFile:"Bestand kiezen",schematicsDeleteIcon:"Het pictogram verwijderen",schematicsIconAdded:'Het pictogram "%{file}" is toegevoegd.',schematicsIconRemove:"Het pictogram is verwijderd.",schematicsIconDropFiles:"Zet bestanden hier neer",schematicsIconOr:"of",schematicsIconFileTypes:"Alleen .jpg, .png en .svg-bestanden.",schematicsIconFileSize:"%{size} MB max bestandsgrootte."},__pl:{errorCreatingPalette:"Wystąpił błąd podczas zapisywania palety.",paletteErrorTitle:"Błąd palety",changePaletteLabel:"Zmień paletę kolorów",myPaletteLabel:"Niestandardowa",systemPaletteLabel:"System",publicPaletteLabel:"Globalne",localPaletteLabel:"Lokalne",mruPaletteLabel:"Ostatnio używane",okDialog:"OK",deleteDialogTitle:"Usuń",applyDialog:"Zastosuj",cancelDialog:"Anuluj",saveDialog:"Zapisz",deleteMessage:'Czy na pewno chcesz usunąć paletę "%{name}"?',deleteToast:'Usunięto "%{name}"',favoritesLabel:"Ulubione",setAsFavorite:"Ustaw jako ulubione",createdToastMessage:'Pomyślnie utworzono "%{name}".',createPalette:"Utwórz paletę niestandardową",colorPicker:"Selektor kolorów",errorNoName:"Wprowadź nazwę palety",errorInsufficientColors:"Wybierz co najmniej dwa kolory",paletteAppliedToastMessage:'Paleta o nazwie "%{name}" została zastosowana w raporcie.',createContinuousPalette:"Utwórz ciągłą paletę kolorów",createStandardPalette:"Utwórz kategorialną paletę kolorów",paletteNamePlaceholder:"Tutaj wpisz nazwę palety",paletteName:"Nazwa palety",standardPalette:"Paleta kategorialna",continuousPalette:"Paleta ciągła",removeSwatch:"Usuń próbkę",addSwatch:"Dodaj próbkę",reversePalette:"Odwróć paletę",colorGuide:"Przewodnik po kolorach",modeAutomatic:"Automatycznie",modeCustom:"Niestandardowa",colorModel:"Model kolorów",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Siatka",wheel:"Koło",hexCode:"Kod szesnastkowy",colorRed:"Czerwony",colorGreen:"Zielony",colorBlue:"Niebieski",colorHue:"Barwa",colorSaturation:"Nasycenie",colorBrightness:"Jasność",colorCyan:"Niebieskozielony",colorMagenta:"Amarantowy",colorYellow:"Żółty",colorBlack:"Czarny",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Zamknij",editSchematic:"Edytuj pakiet",searchSchematic:"Szukaj",nameLabelSchematic:"Nazwa",captionLabelSchematic:"Podpis",keyLabelSchematic:"Klucz",addSchematic:"Wyślij plik",schematicsInvalidSvg:"Niepoprawny lub nieobsługiwany plik SVG",schematicsInvalidSvgData:"Nie można uzyskać danych pliku",schematicsInvalidType:"Nieobsługiwany typ pliku: %{type}",schematicsInvalidSize:"Rozmiar %{size} pliku %{file} przekracza limit.",schematicsContextMenuReplace:"Zastąp",schematicsContextMenuDelete:"Usuń",schematicsEmptySearchResults:"Wyniki wyszukiwania są puste",schematicsNoSelection:"Nie wybrano żadnego elementu",schematicsMultipleSelection:"Wybrano elementów: %{count}",schematicsSingleDeletionSuccessed:"Schemat został pomyślnie usunięty.",schematicsMultipleDeletionSuccessed:"Pomyślnie usunięto następującą liczbę schematów: %{count}",schematicsSingleAddSuccessed:"Schemat został pomyślnie dodany.",schematicsMultipleAddSuccessed:"Pomyślnie dodano następującą liczbę schematów: %{count}",schematicsAddFailed:"Nie powiodło się dodanie schematu.",schematicsReplaceDlgTitle:"Potwierdź zastąpienie istniejącego pliku",schematicsReplaceDlgContent:"Plik '%{sourceName}' już istnieje. Czy zastąpić go nowym plikiem?",schematicsReplaceDlgApplyToAllFiles:"Zastosuj do wszystkich plików",schematicsPackageTab:"Pakiet",schematicsContentTab:"Treść",schematicsDescriptionLabel:"Opis",schematicsIconLabel:"Ikona",schematicsChooseFile:"Wybierz plik",schematicsDeleteIcon:"Usuń ikonę",schematicsIconAdded:'Ikona "%{file}" została pomyślnie dodana.',schematicsIconRemove:"Ikona została pomyślnie usunięta.",schematicsIconDropFiles:"Upuść pliki tutaj",schematicsIconOr:"lub",schematicsIconFileTypes:"Tylko pliki .jpg, .png i .svg.",schematicsIconFileSize:"Maks. wielkość pliku: %{size}MB."},__pt:{errorCreatingPalette:"Ocorreu um erro ao salvar a paleta.",paletteErrorTitle:"Erro da Paleta",changePaletteLabel:"Alterar paleta de cores",myPaletteLabel:"Personalização",systemPaletteLabel:"Sistema",publicPaletteLabel:"Global",localPaletteLabel:"Local",mruPaletteLabel:"Recentemente usado",okDialog:"OK",deleteDialogTitle:"Excluir",applyDialog:"Aplicar",cancelDialog:"Cancelar",saveDialog:"Salvar",deleteMessage:'Tem certeza de que deseja excluir a paleta "%{name}"?',deleteToast:'"%{name}" foi excluído',favoritesLabel:"Destaques",setAsFavorite:"Configurar como favorito",createdToastMessage:'"%{name}" foi criado com êxito.',createPalette:"Criar uma Paleta Customizada",colorPicker:"Selecionador de Cores",errorNoName:"Digite um nome para a paleta",errorInsufficientColors:"Escolha pelo menos duas cores",paletteAppliedToastMessage:'A paleta "%{name}" foi aplicada no relatório.',createContinuousPalette:"Criar paleta de cores contínuas",createStandardPalette:"Criar paleta de cores categóricas",paletteNamePlaceholder:"Digite o nome da paleta aqui",paletteName:"Nome da paleta",standardPalette:"Paleta categórica",continuousPalette:"Paleta Contínua",removeSwatch:"Remover swatch",addSwatch:"Incluir swatch",reversePalette:"Reverter Paleta",colorGuide:"Guia de Cores",modeAutomatic:"Automática",modeCustom:"Personalização",colorModel:"Modelo de Cor",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Grade",wheel:"Roda",hexCode:"Código Hex",colorRed:"Vermelho",colorGreen:"Verde",colorBlue:"Azul",colorHue:"Hue",colorSaturation:"Saturação",colorBrightness:"Brilho",colorCyan:"Ciano",colorMagenta:"Magenta",colorYellow:"Amarelo",colorBlack:"Preto",codeRed:"L",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"E",codeBlack:"K",close:"Fechar",editSchematic:"Editar pacote",searchSchematic:"Procurar",nameLabelSchematic:"Nome",captionLabelSchematic:"Texto Explicativo",keyLabelSchematic:"Chave",addSchematic:"Fazer upload do arquivo",schematicsInvalidSvg:"SVG inválido ou não suportado",schematicsInvalidSvgData:"Não foi possível obter os dados do arquivo",schematicsInvalidType:"Tipo de arquivo não suportado: %{type}",schematicsInvalidSize:"O arquivo %{file}, tamanho %{size}, excede o limite.",schematicsContextMenuReplace:"Substituir",schematicsContextMenuDelete:"Excluir",schematicsEmptySearchResults:"Os resultados da procura estão vazios",schematicsNoSelection:"Nenhum Item Selecionado",schematicsMultipleSelection:"%{count} itens selecionados",schematicsSingleDeletionSuccessed:"Seu esquema foi excluído com sucesso.",schematicsMultipleDeletionSuccessed:"%{count} esquemas foram excluídos com sucesso.",schematicsSingleAddSuccessed:"Seu esquema foi incluído com sucesso.",schematicsMultipleAddSuccessed:"%{count} esquemas foram incluídos com sucesso.",schematicsAddFailed:"Falha ao incluir seu esquema.",schematicsReplaceDlgTitle:"Confirmar substituição do arquivo existente",schematicsReplaceDlgContent:"O arquivo '%{sourceName}' já existe. Deseja substituí-lo pelo novo arquivo?",schematicsReplaceDlgApplyToAllFiles:"Aplicar a todos os arquivos",schematicsPackageTab:"Pacote",schematicsContentTab:"Conteúdo",schematicsDescriptionLabel:"Descrição",schematicsIconLabel:"Ícone",schematicsChooseFile:"Escolher um Arquivo",schematicsDeleteIcon:"Remover o ícone",schematicsIconAdded:'O ícone "%{file}" foi incluído com sucesso.',schematicsIconRemove:"O ícone foi removido com sucesso.",schematicsIconDropFiles:"Soltar arquivos aqui",schematicsIconOr:"ou",schematicsIconFileTypes:"Somente arquivos .jpg, .png, and .svg.",schematicsIconFileSize:"Tamanho máximo do arquivo: %{size}MB."},"__pt-br":{errorCreatingPalette:"Ocorreu um erro ao salvar a paleta.",paletteErrorTitle:"Erro da Paleta",changePaletteLabel:"Alterar paleta de cores",myPaletteLabel:"Personalização",systemPaletteLabel:"Sistema",publicPaletteLabel:"Global",localPaletteLabel:"Local",mruPaletteLabel:"Recentemente usado",okDialog:"OK",deleteDialogTitle:"Excluir",applyDialog:"Aplicar",cancelDialog:"Cancelar",saveDialog:"Salvar",deleteMessage:'Tem certeza de que deseja excluir a paleta "%{name}"?',deleteToast:'"%{name}" foi excluído',favoritesLabel:"Destaques",setAsFavorite:"Configurar como favorito",createdToastMessage:'"%{name}" foi criado com êxito.',createPalette:"Criar uma Paleta Customizada",colorPicker:"Selecionador de Cores",errorNoName:"Digite um nome para a paleta",errorInsufficientColors:"Escolha pelo menos duas cores",paletteAppliedToastMessage:'A paleta "%{name}" foi aplicada no relatório.',createContinuousPalette:"Criar paleta de cores contínuas",createStandardPalette:"Criar paleta de cores categóricas",paletteNamePlaceholder:"Digite o nome da paleta aqui",paletteName:"Nome da paleta",standardPalette:"Paleta categórica",continuousPalette:"Paleta Contínua",removeSwatch:"Remover swatch",addSwatch:"Incluir swatch",reversePalette:"Reverter Paleta",colorGuide:"Guia de Cores",modeAutomatic:"Automática",modeCustom:"Personalização",colorModel:"Modelo de Cor",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Grade",wheel:"Roda",hexCode:"Código Hex",colorRed:"Vermelho",colorGreen:"Verde",colorBlue:"Azul",colorHue:"Hue",colorSaturation:"Saturação",colorBrightness:"Brilho",colorCyan:"Ciano",colorMagenta:"Magenta",colorYellow:"Amarelo",colorBlack:"Preto",codeRed:"L",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"E",codeBlack:"K",close:"Fechar",editSchematic:"Editar pacote",searchSchematic:"Procurar",nameLabelSchematic:"Nome",captionLabelSchematic:"Texto Explicativo",keyLabelSchematic:"Chave",addSchematic:"Fazer upload do arquivo",schematicsInvalidSvg:"SVG inválido ou não suportado",schematicsInvalidSvgData:"Não foi possível obter os dados do arquivo",schematicsInvalidType:"Tipo de arquivo não suportado: %{type}",schematicsInvalidSize:"O arquivo %{file}, tamanho %{size}, excede o limite.",schematicsContextMenuReplace:"Substituir",schematicsContextMenuDelete:"Excluir",schematicsEmptySearchResults:"Os resultados da procura estão vazios",schematicsNoSelection:"Nenhum Item Selecionado",schematicsMultipleSelection:"%{count} itens selecionados",schematicsSingleDeletionSuccessed:"Seu esquema foi excluído com sucesso.",schematicsMultipleDeletionSuccessed:"%{count} esquemas foram excluídos com sucesso.",schematicsSingleAddSuccessed:"Seu esquema foi incluído com sucesso.",schematicsMultipleAddSuccessed:"%{count} esquemas foram incluídos com sucesso.",schematicsAddFailed:"Falha ao incluir seu esquema.",schematicsReplaceDlgTitle:"Confirmar substituição do arquivo existente",schematicsReplaceDlgContent:"O arquivo '%{sourceName}' já existe. Deseja substituí-lo pelo novo arquivo?",schematicsReplaceDlgApplyToAllFiles:"Aplicar a todos os arquivos",schematicsPackageTab:"Pacote",schematicsContentTab:"Conteúdo",schematicsDescriptionLabel:"Descrição",schematicsIconLabel:"Ícone",schematicsChooseFile:"Escolher um Arquivo",schematicsDeleteIcon:"Remover o ícone",schematicsIconAdded:'O ícone "%{file}" foi incluído com sucesso.',schematicsIconRemove:"O ícone foi removido com sucesso.",schematicsIconDropFiles:"Soltar arquivos aqui",schematicsIconOr:"ou",schematicsIconFileTypes:"Somente arquivos .jpg, .png, and .svg.",schematicsIconFileSize:"Tamanho máximo do arquivo: %{size}MB."},__ro:{errorCreatingPalette:"A apărut o eroare la salvarea paletei.",paletteErrorTitle:"Eroare paletă",changePaletteLabel:"Modificare paletă de culori",myPaletteLabel:"Personalizat",systemPaletteLabel:"Sistem",publicPaletteLabel:"Globală",localPaletteLabel:"Locală",mruPaletteLabel:"Utilizată recent",okDialog:"OK",deleteDialogTitle:"Ştergere",applyDialog:"Aplicare",cancelDialog:"Renunţare",saveDialog:"Salvare",deleteMessage:'Sunteţi sigur că vreţi să ştergeţi paleta "%{name}"?',deleteToast:'"%{name}" a fost ştearsă',favoritesLabel:"Favorite",setAsFavorite:"Setare ca favorit",createdToastMessage:'"%{name}" a fost creat cu succes.',createPalette:"Creare paletă personalizată",colorPicker:"Selector de culoare",errorNoName:"Introduceţi un nume paleta dumneavoastră",errorInsufficientColors:"Alegeţi cel puţin două culori",paletteAppliedToastMessage:'Paleta "%{name}", a fost aplicată la raport.',createContinuousPalette:"Creare paletă de culoare continuă",createStandardPalette:"Creare paletă de culoare categorială",paletteNamePlaceholder:"Tastaţi numele de paletă aici",paletteName:"Nume paletă",standardPalette:"Paletă categorială",continuousPalette:"Paletă continuă",removeSwatch:"Înlăturare mostră",addSwatch:"Adăugare mostră",reversePalette:"Paletă inversă",colorGuide:"Ghid de culoare",modeAutomatic:"Automat",modeCustom:"Personalizată",colorModel:"Model de culoare",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Grilă",wheel:"Roată",hexCode:"Cod hex",colorRed:"Roşu",colorGreen:"Verde",colorBlue:"Albastru",colorHue:"Nuanţă",colorSaturation:"Saturaţie",colorBrightness:"Luminozitate",colorCyan:"Cyan",colorMagenta:"Magenta",colorYellow:"Galben",colorBlack:"Negru",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"L",codeYellow:"Y",codeBlack:"K",close:"Închidere",editSchematic:"Editare pachet",searchSchematic:"Căutare",nameLabelSchematic:"Nume",captionLabelSchematic:"Subtitlu",keyLabelSchematic:"Cheie",addSchematic:"Încărcare fişier",schematicsInvalidSvg:"SVG invalid sau nesuportat",schematicsInvalidSvgData:"Nu s-au putut obţine datele fişierului",schematicsInvalidType:"Tip de fişier nesuportat: %{type}",schematicsInvalidSize:"Fişierul %{file}, dimensiunea %{size} depăşeşte limita.",schematicsContextMenuReplace:"Înlocuire",schematicsContextMenuDelete:"Ştergere",schematicsEmptySearchResults:"Rezultatele căutării sunt goale",schematicsNoSelection:"Niciun articol selectat",schematicsMultipleSelection:"%{count} articole selectate",schematicsSingleDeletionSuccessed:"Schematicul a fost şters cu succes.",schematicsMultipleDeletionSuccessed:"%{count} schematice au fost şterse cu succes.",schematicsSingleAddSuccessed:"Schematicul a fost adăugat cu succes.",schematicsMultipleAddSuccessed:"%{count} schematice au fost adăugate cu succes.",schematicsAddFailed:"A eşuat adăugarea schematicului.",schematicsReplaceDlgTitle:"Confirmare înlocuire fişier existent",schematicsReplaceDlgContent:"Fişierul '%{sourceName}' există deja. Doriţi să-l înlocuiţi cu noul fişier?",schematicsReplaceDlgApplyToAllFiles:"Aplicare pentru toate fişierele",schematicsPackageTab:"Pachet",schematicsContentTab:"Conţinut",schematicsDescriptionLabel:"Descriere",schematicsIconLabel:"Pictogramă",schematicsChooseFile:"Alegeţi un fişier",schematicsDeleteIcon:"Înlăturaţi pictograma",schematicsIconAdded:'Pictograma "%{file}" a fost adăugată cu succes.',schematicsIconRemove:"Pictograma a fost înlăturată cu succes.",schematicsIconDropFiles:"Plasaţi fişiere aici",schematicsIconOr:"sau",schematicsIconFileTypes:"Doar fişiere .jpg, .png, and .svg.",schematicsIconFileSize:"Dim. max. fişier %{size} MB."},__ru:{errorCreatingPalette:"При сохранении палитры произошла ошибка.",paletteErrorTitle:"Ошибка палитры",changePaletteLabel:"Изменить цветовую палитру",myPaletteLabel:"Настроить",systemPaletteLabel:"Система",publicPaletteLabel:"Глобальные",localPaletteLabel:"Локальный",mruPaletteLabel:"Недавно использованные",okDialog:"ОК",deleteDialogTitle:"Удалить",applyDialog:"Применить",cancelDialog:"Отмена",saveDialog:"Сохранить",deleteMessage:'Вы уверены, что хотите удалить палитру "%{name}"?',deleteToast:'"%{name}" удалено',favoritesLabel:"Избранное",setAsFavorite:"Задать как избранное",createdToastMessage:'"%{name}" успешно создано.',createPalette:"Создать пользовательскую палитру",colorPicker:"Выбор цвета",errorNoName:"Введите имя для своей палитры",errorInsufficientColors:"Выберите хотя бы два цвета",paletteAppliedToastMessage:'Палитра "%{name}" применена к отчету.',createContinuousPalette:"Создать непрерывную цветовую палитру",createStandardPalette:"Создать категориальную цветовую палитру",paletteNamePlaceholder:"Введите здесь имя палитры",paletteName:"Имя палитры",standardPalette:"Категориальная палитра",continuousPalette:"Непрерывная палитра",removeSwatch:"Удалить палитру",addSwatch:"Добавить палитру",reversePalette:"Обратить палитру",colorGuide:"Руководство по цветам",modeAutomatic:"Автоматически",modeCustom:"Настроить",colorModel:"Цветовая модель",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Таблица",wheel:"Часовая стрелка",hexCode:"Шестнадцатеричный код",colorRed:"Красный",colorGreen:"Зеленый",colorBlue:"Синий",colorHue:"Оттенок",colorSaturation:"Насыщенность",colorBrightness:"Яркость",colorCyan:"Cyan",colorMagenta:"Magenta",colorYellow:"Желтый",colorBlack:"Черный",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Закрыть",editSchematic:"Изменить пакет",searchSchematic:"Поиск",nameLabelSchematic:"Имя",captionLabelSchematic:"Заголовок",keyLabelSchematic:"Ключ",addSchematic:"Выгрузить файл",schematicsInvalidSvg:"Недопустимый или неподдерживаемый SVG",schematicsInvalidSvgData:"Не удалось получить данные файла",schematicsInvalidType:"Неподдерживаемый тип файла: %{type}",schematicsInvalidSize:"Файл %{file}, размер %{size} превышает предел.",schematicsContextMenuReplace:"Заменить",schematicsContextMenuDelete:"Удалить",schematicsEmptySearchResults:"Результаты поиска - пустые",schematicsNoSelection:"Элементы не выбраны",schematicsMultipleSelection:"%{count} элементов выбрано",schematicsSingleDeletionSuccessed:"Ваше схематическое представление успешно удалено.",schematicsMultipleDeletionSuccessed:"%{count} схематических представлений успешно удалены.",schematicsSingleAddSuccessed:"Ваше схематическое представление успешно добавлено.",schematicsMultipleAddSuccessed:"%{count} схематических представлений успешно добавлены.",schematicsAddFailed:"Не удалось добавить ваше схематическое представление.",schematicsReplaceDlgTitle:"Подтвердить замену существующего файла",schematicsReplaceDlgContent:"Файл '%{sourceName}' уже существует. Хотите заменить его новым файлом?",schematicsReplaceDlgApplyToAllFiles:"Применить ко всем файлам",schematicsPackageTab:"Пакет",schematicsContentTab:"Содержимое",schematicsDescriptionLabel:"Описание",schematicsIconLabel:"Значок",schematicsChooseFile:"Выберите файл",schematicsDeleteIcon:"Удалить значок",schematicsIconAdded:'Значок "%{file}" успешно добавлен.',schematicsIconRemove:"Значок успешно удален.",schematicsIconDropFiles:"Перетащить сюда файлы",schematicsIconOr:"или",schematicsIconFileTypes:"Только файлы .jpg, .png и .svg.",schematicsIconFileSize:"Максимальный размер файла %{size} МБ."},__sl:{errorCreatingPalette:"Med shranjevanjem palete je prišlo do napake.",paletteErrorTitle:"Napaka palete",changePaletteLabel:"Spremeni barvno paleto",myPaletteLabel:"Po meri",systemPaletteLabel:"Sistem",publicPaletteLabel:"Globalno",localPaletteLabel:"Lokalno",mruPaletteLabel:"Nedavno uporabljeno",okDialog:"V redu",deleteDialogTitle:"Izbriši",applyDialog:"Uveljavi",cancelDialog:"Prekliči",saveDialog:"Shrani",deleteMessage:'Ali ste prepričani, da želite izbrisati paleto "%{name}"?',deleteToast:'"%{name}" je bil izbrisan',favoritesLabel:"Priljubljene",setAsFavorite:"Nastavi kot priljubljeno",createdToastMessage:'"%{name}" je bil uspešno ustvarjen.',createPalette:"Ustvari paleto po meri",colorPicker:"Izbirnik barv",errorNoName:"Vnesite ime svoje palete",errorInsufficientColors:"Izberite vsaj dve barvi",paletteAppliedToastMessage:'Paleta "%{name}" je bila uveljavljena za poročilo.',createContinuousPalette:"Ustvari neprekinjeno barvno paleto",createStandardPalette:"Ustvari kategorično barvno paleto",paletteNamePlaceholder:"Na to mesto vpišite ime palete",paletteName:"Ime palete",standardPalette:"Kategorična paleta",continuousPalette:"Neprekinjena paleta",removeSwatch:"Odstrani paleto",addSwatch:"Dodaj paleto",reversePalette:"Obrni paleto",colorGuide:"Vodič za barve",modeAutomatic:"Samodejno",modeCustom:"Po meri",colorModel:"Barvni model",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Mreža",wheel:"Kolo",hexCode:"Šestnajstiška koda",colorRed:"Rdeča",colorGreen:"Zelena",colorBlue:"Modra",colorHue:"Odtenek",colorSaturation:"Nasičenost",colorBrightness:"Svetlost",colorCyan:"Cian",colorMagenta:"Magenta",colorYellow:"Rumena",colorBlack:"Črna",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"Zapri",editSchematic:"Urejanje paketa",searchSchematic:"Iskanje",nameLabelSchematic:"Ime",captionLabelSchematic:"Napis",keyLabelSchematic:"Ključ",addSchematic:"Naloži datoteko",schematicsInvalidSvg:"Neveljavna ali nepodprta datoteka SVG",schematicsInvalidSvgData:"Podatkov datoteke ni bilo mogoče pridobiti",schematicsInvalidType:"Nepodprta vrsta datoteke: %{type}",schematicsInvalidSize:"Datoteka %{file}, velikost %{size} presega omejitev.",schematicsContextMenuReplace:"Zamenjaj",schematicsContextMenuDelete:"Izbriši",schematicsEmptySearchResults:"Rezultati iskanja so prazni",schematicsNoSelection:"Noben element ni izbran",schematicsMultipleSelection:"%{count} elementov je izbranih",schematicsSingleDeletionSuccessed:"Vaša shema je bila uspešno izbrisana.",schematicsMultipleDeletionSuccessed:"%{count} shem je bilo uspešno izbrisanih.",schematicsSingleAddSuccessed:"Vaša shema je bila uspešno dodana.",schematicsMultipleAddSuccessed:"%{count} shem je bilo uspešno dodanih.",schematicsAddFailed:"Dodajanje sheme ni bilo uspešno.",schematicsReplaceDlgTitle:"Potrdi zamenjavo obstoječe datoteke",schematicsReplaceDlgContent:"Datoteka '%{sourceName}' že obstaja. Ali jo želite zamenjati z novo datoteko?",schematicsReplaceDlgApplyToAllFiles:"Uveljavi za vse datoteke",schematicsPackageTab:"Paket",schematicsContentTab:"Vsebina",schematicsDescriptionLabel:"Opis",schematicsIconLabel:"Ikona",schematicsChooseFile:"Izberi datoteko",schematicsDeleteIcon:"Odstrani ikono",schematicsIconAdded:'Ikona "%{file}" je bila uspešno dodana.',schematicsIconRemove:"Ikona je bila uspešno odstranjena.",schematicsIconDropFiles:"Spusti datoteke sem",schematicsIconOr:"ali",schematicsIconFileTypes:"Samo datoteke .jpg, .png in .svg.",schematicsIconFileSize:"Največja velikost datoteke je %{size} MB."},__sv:{errorCreatingPalette:"Ett fel uppstod när paletten skulle sparas.",paletteErrorTitle:"Palettfel",changePaletteLabel:"Ändra färgpalett",myPaletteLabel:"Anpassad",systemPaletteLabel:"System",publicPaletteLabel:"Global",localPaletteLabel:"Lokal",mruPaletteLabel:"Senast använda",okDialog:"OK",deleteDialogTitle:"Ta bort",applyDialog:"Tillämpa",cancelDialog:"Avbryt",saveDialog:"Spara",deleteMessage:"Vill du ta bort paletten %{name}?",deleteToast:"%{name} togs bort",favoritesLabel:"Favoriter",setAsFavorite:"Ange som favorit",createdToastMessage:"%{name} har skapats.",createPalette:"Skapa en anpassad palett",colorPicker:"Färgväljare",errorNoName:"Ange ett namn för paletten",errorInsufficientColors:"Välj minst två färger",paletteAppliedToastMessage:"Paletten %{name} tillämpades på rapporten.",createContinuousPalette:"Skapa kontinuerlig färgpalett",createStandardPalette:"Skapa kategorisk färgpalett",paletteNamePlaceholder:"Skriv palettnamn här",paletteName:"Palettnamn",standardPalette:"Kategorisk palett",continuousPalette:"Kontinuerlig palett",removeSwatch:"Ta bort färgrutor",addSwatch:"Lägg till färgrutor",reversePalette:"Omvänd palett",colorGuide:"Färgguide",modeAutomatic:"Automatisk",modeCustom:"Anpassad",colorModel:"Färgmodell",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Rutnät",wheel:"Hjul",hexCode:"Hexkod",colorRed:"Röd",colorGreen:"Grön",colorBlue:"Blå",colorHue:"Nyans",colorSaturation:"Mättnad",colorBrightness:"Ljusstyrka",colorCyan:"Cyan",colorMagenta:"Magenta",colorYellow:"Gul",colorBlack:"Svart",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"N",codeSaturation:"M",codeBrightness:"L",codeCyan:"C",codeMagenta:"M",codeYellow:"G",codeBlack:"S",close:"Stäng",editSchematic:"Redigera paket",searchSchematic:"Sök",nameLabelSchematic:"Namn",captionLabelSchematic:"Objekttext",keyLabelSchematic:"Nyckel",addSchematic:"Överför fil",schematicsInvalidSvg:"Ogiltig eller ohanterad SVG",schematicsInvalidSvgData:"Det gick inte att hämta fildata",schematicsInvalidType:"Otillåten filtyp: %{type}",schematicsInvalidSize:"Filen %{file}, storlek %{size} överskrider gränsen.",schematicsContextMenuReplace:"Ersätt",schematicsContextMenuDelete:"Ta bort",schematicsEmptySearchResults:"Sökresultatet är tomt",schematicsNoSelection:"Inga objekt har valts",schematicsMultipleSelection:"%{count} objekt har valts",schematicsSingleDeletionSuccessed:"Din schematik togs bort.",schematicsMultipleDeletionSuccessed:"%{count} schematiker togs bort.",schematicsSingleAddSuccessed:"Din schematik lades till.",schematicsMultipleAddSuccessed:"%{count} schematiker lades till.",schematicsAddFailed:"Det gick inte att lägga till din schematik",schematicsReplaceDlgTitle:"Bekräfta ersättning av befintlig fil",schematicsReplaceDlgContent:"Filen '%{sourceName}' finns redan. Vill du ersätta den med den nya filen?",schematicsReplaceDlgApplyToAllFiles:"Tillämpa på alla filer",schematicsPackageTab:"Paket",schematicsContentTab:"Innehåll",schematicsDescriptionLabel:"Beskrivning",schematicsIconLabel:"Ikon",schematicsChooseFile:"Välj en fil",schematicsDeleteIcon:"Ta bort ikonen",schematicsIconAdded:'Ikonen "%{file}" lades till.',schematicsIconRemove:"Ikonen togs bort.",schematicsIconDropFiles:"Dra filer hit",schematicsIconOr:"eller",schematicsIconFileTypes:"Endast .jpg-, .png- och .svg-filer.",schematicsIconFileSize:"%{size} MB max filstorlek."},__th:{errorCreatingPalette:"เกิดข้อผิดพลาดขณะบันทึกพาเล็ต",paletteErrorTitle:"ข้อผิดพลาดพาเล็ต",changePaletteLabel:"เปลี่ยนพาเล็ตสี",myPaletteLabel:"กำหนดเอง",systemPaletteLabel:"ระบบ",publicPaletteLabel:"โกลบอล",localPaletteLabel:"โลคัล",mruPaletteLabel:"ใช้ล่าสุด",okDialog:"ตกลง",deleteDialogTitle:"ลบ",applyDialog:"ใช้",cancelDialog:"ยกเลิก",saveDialog:"บันทึก",deleteMessage:'คุณแน่ใจหรือว่าต้องการลบพาเล็ต "%{name}"?',deleteToast:'ลบ "%{name}" ออกแล้ว',favoritesLabel:"รายการโปรด",setAsFavorite:"ตั้งค่าเป็นรายการโปรด",createdToastMessage:'สร้าง "%{name}" เรียบร้อยแล้ว',createPalette:"สร้างพาเล็ตแบบกำหนดเอง",colorPicker:"ตัวเลือกสี",errorNoName:"ป้อนชื่อสำหรับพาเล็ตของคุณ",errorInsufficientColors:"เลือกสีสองสีขึ้นไป",paletteAppliedToastMessage:'พาเล็ต "%{name}" ถูกนำไปใช้กับรายงาน',createContinuousPalette:"สร้างพาเล็ตสีที่ต่อเนื่องกัน",createStandardPalette:"สร้างพาเล็ตสีแบบเป็นหมวดหมู่",paletteNamePlaceholder:"พิมพ์ชื่อพาเล็ตที่นี่",paletteName:"ชื่อพาเล็ต",standardPalette:"พาเล็ตแบบเป็นหมวดหมู่",continuousPalette:"พาเล็ตแบบต่อเนื่องกัน",removeSwatch:"ลบ swatch",addSwatch:"เพิ่ม swatch",reversePalette:"กลับพาเล็ต",colorGuide:"ตารางสี",modeAutomatic:"อัตโนมัติ",modeCustom:"กำหนดเอง",colorModel:"โมเดลสี",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"กริด",wheel:"วงล้อ",hexCode:"รหัสเลขฐานสิบหก",colorRed:"สีแดง",colorGreen:"สีเขียว",colorBlue:"สีน้ำเงิน",colorHue:"สี",colorSaturation:"ความสดของสี",colorBrightness:"ความสว่าง",colorCyan:"สีฟ้า",colorMagenta:"สีม่วงแดง",colorYellow:"สีเหลือง",colorBlack:"สีดำ",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"ปิด",editSchematic:"แก้ไขแพ็กเกจ",searchSchematic:"ค้นหา",nameLabelSchematic:"ชื่อ",captionLabelSchematic:"คำบรรยาย",keyLabelSchematic:"คีย์",addSchematic:"อัพโหลดไฟล์",schematicsInvalidSvg:"SVG ไม่ถูกต้องหรือไม่สนับสนุน",schematicsInvalidSvgData:"ไม่สามารถขอรับข้อมูลไฟล์",schematicsInvalidType:"ชนิดไฟล์ที่ไม่สนับสนุน: %{type}",schematicsInvalidSize:"ไฟล์ %{file} ขนาด %{size} เกินขนาดที่จำกัดไว้",schematicsContextMenuReplace:"แทนที่",schematicsContextMenuDelete:"ลบ",schematicsEmptySearchResults:"ผลลัพธ์การค้นหาว่างเปล่า",schematicsNoSelection:"ไม่มีไอเท็มที่เลือกไว้",schematicsMultipleSelection:"%{count} ไอเท็มที่เลือกไว้",schematicsSingleDeletionSuccessed:"แบบแผนของคุณถูกลบทิ้งเป็นผลสำเร็จแล้ว",schematicsMultipleDeletionSuccessed:"%{count} แบบแผนถูกลบทิ้งเป็นผลสำเร็จแล้ว",schematicsSingleAddSuccessed:"แบบแผนของคุณถูกเพิ่มเป็นผลสำเร็จแล้ว",schematicsMultipleAddSuccessed:"%{count} แบบแผนถูกเพิ่มเป็นผลสำเร็จแล้ว",schematicsAddFailed:"ล้มเหลวในการเพิ่มแบบแผนของคุณ",schematicsReplaceDlgTitle:"ยืนยันการแทนที่ไฟล์ที่มีอยู่",schematicsReplaceDlgContent:"ไฟล์ '%{sourceName}' มีอยู่ก่อนแล้ว คุณต้องการแทนที่ด้วยไฟล์ใหม่หรือไม่?",schematicsReplaceDlgApplyToAllFiles:"ใช้กับไฟล์ทั้งหมด",schematicsPackageTab:"แพ็กเกจ",schematicsContentTab:"เนื้อหา",schematicsDescriptionLabel:"คำอธิบาย",schematicsIconLabel:"ไอคอน",schematicsChooseFile:"เลือกไฟล์",schematicsDeleteIcon:"ลบไอคอนออก",schematicsIconAdded:'ไอคอน "%{file}" ถูกเพิ่มเป็นผลสำเร็จแล้ว',schematicsIconRemove:"ไอคอนถูกลบออกเป็นผลสำเร็จแล้ว",schematicsIconDropFiles:"ดร็อปไฟล์ที่นี่",schematicsIconOr:"หรือ",schematicsIconFileTypes:"เฉพาะไฟล์ .jpg, .png, และ .svg",schematicsIconFileSize:"ขนาดไฟล์สูงสุด %{size}MB"},__tr:{errorCreatingPalette:"Palet kaydedilirken bir hata oluştu.",paletteErrorTitle:"Palet Hatası",changePaletteLabel:"Renk paletini değiştir",myPaletteLabel:"Özel",systemPaletteLabel:"Sistem",publicPaletteLabel:"Genel",localPaletteLabel:"Yerel",mruPaletteLabel:"Son kullanılan",okDialog:"Tamam",deleteDialogTitle:"Sil",applyDialog:"Uygula",cancelDialog:"İptal",saveDialog:"Kaydet",deleteMessage:'"%{name}" paletini silmek istediğinizden emin misiniz?',deleteToast:'"%{name}" silindi',favoritesLabel:"Sık Kullanılanlar",setAsFavorite:"Sık kullanılan olarak ayarla",createdToastMessage:'"%{name}" başarıyla oluşturuldu.',createPalette:"Özel palet oluştur",colorPicker:"Renk seçici",errorNoName:"Paletiniz için bir ad girin",errorInsufficientColors:"En az iki renk seçin",paletteAppliedToastMessage:'"%{name}" paleti, rapora uygulandı.',createContinuousPalette:"Sürekli renk paleti oluştur",createStandardPalette:"Kategorik renk paleti oluştur",paletteNamePlaceholder:"Buraya palet adını yazın",paletteName:"Palet adı",standardPalette:"Kategorik palet",continuousPalette:"Sürekli palet",removeSwatch:"Renk örneğini kaldır",addSwatch:"Renk örneği ekle",reversePalette:"Renk örneğini ters çevir",colorGuide:"Renk kılavuzu",modeAutomatic:"Otomatik",modeCustom:"Özel",colorModel:"Renk modeli",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"Kılavuz",wheel:"Tekerlek",hexCode:"Onaltılı kod",colorRed:"Kırmızı",colorGreen:"Yeşil",colorBlue:"Mavi",colorHue:"Renk Tonu",colorSaturation:"Doygunluk",colorBrightness:"Parlaklık",colorCyan:"Cam Göbeği",colorMagenta:"Macenta",colorYellow:"Sarı",colorBlack:"Siyah",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"B",close:"Kapat",editSchematic:"Paketi düzenle",searchSchematic:"Ara",nameLabelSchematic:"Ad",captionLabelSchematic:"Başlık",keyLabelSchematic:"Tuş",addSchematic:"Dosya Karşıya Yükle",schematicsInvalidSvg:"SVG geçersiz veya desteklenmiyor",schematicsInvalidSvgData:"Dosya verileri alınamadı",schematicsInvalidType:"Desteklenmeyen dosya tipi: %{type}",schematicsInvalidSize:"%{file} dosyası, %{size} boyutu sınırı aşıyor.",schematicsContextMenuReplace:"Değiştir",schematicsContextMenuDelete:"Sil",schematicsEmptySearchResults:"Arama sonuçları boş",schematicsNoSelection:"Bir öğe seçilmedi",schematicsMultipleSelection:"%{count} öğe seçildi",schematicsSingleDeletionSuccessed:"Şemanız başarıyla silindi.",schematicsMultipleDeletionSuccessed:"%{count} şema başarıyla silindi.",schematicsSingleAddSuccessed:"Şemanız başarıyla eklendi.",schematicsMultipleAddSuccessed:"%{count} şema başarıyla eklendi.",schematicsAddFailed:"Şemanız eklenemedi.",schematicsReplaceDlgTitle:"Var olan dosyanın değiştirilmesini onayla",schematicsReplaceDlgContent:"'%{sourceName}' dosyası zaten var. Bu dosyayı yeni dosyayla değiştirmek istiyor musunuz?",schematicsReplaceDlgApplyToAllFiles:"Tüm dosyalara uygula",schematicsPackageTab:"Paket",schematicsContentTab:"İçerik",schematicsDescriptionLabel:"Tanım",schematicsIconLabel:"Simge",schematicsChooseFile:"Dosya seç",schematicsDeleteIcon:"Simgeyi kaldır",schematicsIconAdded:'"%{file}" simgesi başarıyla eklendi.',schematicsIconRemove:"Simge başarıyla kaldırıldı.",schematicsIconDropFiles:"Dosyaları buraya bırakın",schematicsIconOr:"ya da",schematicsIconFileTypes:"Yalnızca .jpg, .png ve .svg dosyaları.",schematicsIconFileSize:"Maksimum dosya boyutu: %{size}."},__zh:{errorCreatingPalette:"保存调色板时发生错误。",paletteErrorTitle:"调色板错误",changePaletteLabel:"更改调色板",myPaletteLabel:"自定义",systemPaletteLabel:"系统",publicPaletteLabel:"全局",localPaletteLabel:"本地",mruPaletteLabel:"最近使用的",okDialog:"确定",deleteDialogTitle:"删除",applyDialog:"应用",cancelDialog:"取消",saveDialog:"保存",deleteMessage:"确定要删除调色板“%{name}”吗?",deleteToast:"“%{name}”已删除",favoritesLabel:"收藏夹",setAsFavorite:"设置为收藏项",createdToastMessage:"“%{name}”已成功创建。",createPalette:"创建自定义调色板",colorPicker:"颜色选取器",errorNoName:"请为调色板输入名称",errorInsufficientColors:"至少选择两种颜色",paletteAppliedToastMessage:"调色板“%{name}”已应用于报表。",createContinuousPalette:"创建连续调色板",createStandardPalette:"创建分类调色板",paletteNamePlaceholder:"在此输入调色板名称",paletteName:"调色板名称",standardPalette:"分类调色板",continuousPalette:"连续调色板",removeSwatch:"移除图样",addSwatch:"添加图样",reversePalette:"反转调色板",colorGuide:"颜色指南",modeAutomatic:"自动",modeCustom:"自定义",colorModel:"颜色模型",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"网格",wheel:"色轮",hexCode:"十六进制代码",colorRed:"红色",colorGreen:"绿色",colorBlue:"蓝色",colorHue:"色调",colorSaturation:"饱和度",colorBrightness:"亮度",colorCyan:"蓝绿色",colorMagenta:"品红色",colorYellow:"黄色",colorBlack:"黑色",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"关闭",editSchematic:"编辑数据包",searchSchematic:"搜索",nameLabelSchematic:"名称",captionLabelSchematic:"标题",keyLabelSchematic:"密钥",addSchematic:"上载文件",schematicsInvalidSvg:"SVG 无效或不受支持",schematicsInvalidSvgData:"无法获取文件数据",schematicsInvalidType:"不支持的文件类型:%{type}",schematicsInvalidSize:"文件 %{file} 的大小 %{size} 超过限制。",schematicsContextMenuReplace:"替换",schematicsContextMenuDelete:"删除",schematicsEmptySearchResults:"搜索结果为空",schematicsNoSelection:"未选择任何项",schematicsMultipleSelection:"已选择 %{count} 项",schematicsSingleDeletionSuccessed:"示意图已成功删除。",schematicsMultipleDeletionSuccessed:"%{count} 个示意图已成功删除。",schematicsSingleAddSuccessed:"示意图已成功添加。",schematicsMultipleAddSuccessed:"%{count} 个示意图已成功添加。",schematicsAddFailed:"未能添加示意图。",schematicsReplaceDlgTitle:"确认替换现有文件",schematicsReplaceDlgContent:"文件“%{sourceName}”已存在。是否要将其替换为新文件?",schematicsReplaceDlgApplyToAllFiles:"应用于所有文件",schematicsPackageTab:"数据包",schematicsContentTab:"内容",schematicsDescriptionLabel:"说明",schematicsIconLabel:"图标",schematicsChooseFile:"选择文件",schematicsDeleteIcon:"移除图标",schematicsIconAdded:"图标“%{file}”已成功添加。",schematicsIconRemove:"图标已成功移除。",schematicsIconDropFiles:"将文件放在此处",schematicsIconOr:"或",schematicsIconFileTypes:"仅限 .jpg、.png 和 .svg 文件。",schematicsIconFileSize:"%{size}MB 最大文件大小。"},"__zh-cn":{errorCreatingPalette:"保存调色板时发生错误。",paletteErrorTitle:"调色板错误",changePaletteLabel:"更改调色板",myPaletteLabel:"自定义",systemPaletteLabel:"系统",publicPaletteLabel:"全局",localPaletteLabel:"本地",mruPaletteLabel:"最近使用的",okDialog:"确定",deleteDialogTitle:"删除",applyDialog:"应用",cancelDialog:"取消",saveDialog:"保存",deleteMessage:"确定要删除调色板“%{name}”吗?",deleteToast:"“%{name}”已删除",favoritesLabel:"收藏夹",setAsFavorite:"设置为收藏项",createdToastMessage:"“%{name}”已成功创建。",createPalette:"创建自定义调色板",colorPicker:"颜色选取器",errorNoName:"请为调色板输入名称",errorInsufficientColors:"至少选择两种颜色",paletteAppliedToastMessage:"调色板“%{name}”已应用于报表。",createContinuousPalette:"创建连续调色板",createStandardPalette:"创建分类调色板",paletteNamePlaceholder:"在此输入调色板名称",paletteName:"调色板名称",standardPalette:"分类调色板",continuousPalette:"连续调色板",removeSwatch:"移除图样",addSwatch:"添加图样",reversePalette:"反转调色板",colorGuide:"颜色指南",modeAutomatic:"自动",modeCustom:"自定义",colorModel:"颜色模型",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"网格",wheel:"色轮",hexCode:"十六进制代码",colorRed:"红色",colorGreen:"绿色",colorBlue:"蓝色",colorHue:"色调",colorSaturation:"饱和度",colorBrightness:"亮度",colorCyan:"蓝绿色",colorMagenta:"品红色",colorYellow:"黄色",colorBlack:"黑色",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"关闭",editSchematic:"编辑数据包",searchSchematic:"搜索",nameLabelSchematic:"名称",captionLabelSchematic:"标题",keyLabelSchematic:"密钥",addSchematic:"上载文件",schematicsInvalidSvg:"SVG 无效或不受支持",schematicsInvalidSvgData:"无法获取文件数据",schematicsInvalidType:"不支持的文件类型:%{type}",schematicsInvalidSize:"文件 %{file} 的大小 %{size} 超过限制。",schematicsContextMenuReplace:"替换",schematicsContextMenuDelete:"删除",schematicsEmptySearchResults:"搜索结果为空",schematicsNoSelection:"未选择任何项",schematicsMultipleSelection:"已选择 %{count} 项",schematicsSingleDeletionSuccessed:"示意图已成功删除。",schematicsMultipleDeletionSuccessed:"%{count} 个示意图已成功删除。",schematicsSingleAddSuccessed:"示意图已成功添加。",schematicsMultipleAddSuccessed:"%{count} 个示意图已成功添加。",schematicsAddFailed:"未能添加示意图。",schematicsReplaceDlgTitle:"确认替换现有文件",schematicsReplaceDlgContent:"文件“%{sourceName}”已存在。是否要将其替换为新文件?",schematicsReplaceDlgApplyToAllFiles:"应用于所有文件",schematicsPackageTab:"数据包",schematicsContentTab:"内容",schematicsDescriptionLabel:"说明",schematicsIconLabel:"图标",schematicsChooseFile:"选择文件",schematicsDeleteIcon:"移除图标",schematicsIconAdded:"图标“%{file}”已成功添加。",schematicsIconRemove:"图标已成功移除。",schematicsIconDropFiles:"将文件放在此处",schematicsIconOr:"或",schematicsIconFileTypes:"仅限 .jpg、.png 和 .svg 文件。",schematicsIconFileSize:"%{size}MB 最大文件大小。"},"__zh-tw":{errorCreatingPalette:"儲存選用區時發生錯誤。",paletteErrorTitle:"選用區錯誤",changePaletteLabel:"變更調色盤",myPaletteLabel:"自訂",systemPaletteLabel:"系統",publicPaletteLabel:"廣域",localPaletteLabel:"本端",mruPaletteLabel:"最近已使用",okDialog:"確定",deleteDialogTitle:"刪除",applyDialog:"套用",cancelDialog:"取消",saveDialog:"儲存",deleteMessage:'您確定要刪除選用區 "%{name}" 嗎?',deleteToast:'"%{name}" 已刪除',favoritesLabel:"我的最愛",setAsFavorite:"設為我的最愛",createdToastMessage:'"%{name}" 已順利建立。',createPalette:"建立自訂選用區",colorPicker:"顏色選取器",errorNoName:"輸入選用區的名稱",errorInsufficientColors:"至少選擇兩種顏色",paletteAppliedToastMessage:'選用區 "%{name}" 已套用至報告。',createContinuousPalette:"建立連續調色盤",createStandardPalette:"建立種類調色盤",paletteNamePlaceholder:"在這裡鍵入選用區名稱",paletteName:"選用區名稱",standardPalette:"種類選用區",continuousPalette:"連續選用區",removeSwatch:"移除色樣",addSwatch:"新增色樣",reversePalette:"反轉選用區",colorGuide:"顏色指南",modeAutomatic:"自動",modeCustom:"自訂",colorModel:"色彩模式",modelRGB:"RGB",modelHSB:"HSB",modelCMYK:"CMYK",grid:"網格",wheel:"輪子",hexCode:"十六進位碼",colorRed:"紅色",colorGreen:"綠色",colorBlue:"藍色",colorHue:"色調",colorSaturation:"飽和度",colorBrightness:"亮度",colorCyan:"青藍色",colorMagenta:"紫紅色",colorYellow:"黃色",colorBlack:"黑色",codeRed:"R",codeGreen:"G",codeBlue:"B",codeHue:"H",codeSaturation:"S",codeBrightness:"B",codeCyan:"C",codeMagenta:"M",codeYellow:"Y",codeBlack:"K",close:"關閉",editSchematic:"編輯套件",searchSchematic:"搜尋",nameLabelSchematic:"名稱",captionLabelSchematic:"標題",keyLabelSchematic:"索引鍵",addSchematic:"上傳檔案",schematicsInvalidSvg:"無效或不受支援的 SVG",schematicsInvalidSvgData:"無法取得檔案資料",schematicsInvalidType:"不受支援的檔案類型:%{type}",schematicsInvalidSize:"檔案 %{file}(大小 %{size})超出限制。",schematicsContextMenuReplace:"取代",schematicsContextMenuDelete:"刪除",schematicsEmptySearchResults:"搜尋結果是空的",schematicsNoSelection:"未選取項目",schematicsMultipleSelection:"%{count} 個項目已選取",schematicsSingleDeletionSuccessed:"您的示意圖已順利刪除。",schematicsMultipleDeletionSuccessed:"%{count} 個示意圖已順利刪除。",schematicsSingleAddSuccessed:"您的示意圖已順利新增。",schematicsMultipleAddSuccessed:"%{count} 個示意圖已順利新增。",schematicsAddFailed:"無法新增您的示意圖。",schematicsReplaceDlgTitle:"確認取代現有檔案",schematicsReplaceDlgContent:"檔案 '%{sourceName}' 已存在。您要使用這個新檔案來進行取代嗎?",schematicsReplaceDlgApplyToAllFiles:"套用至所有檔案",schematicsPackageTab:"套件",schematicsContentTab:"內容",schematicsDescriptionLabel:"說明",schematicsIconLabel:"圖示",schematicsChooseFile:"請選擇檔案",schematicsDeleteIcon:"請移除圖示",schematicsIconAdded:'圖示 "%{file}" 已順利新增。',schematicsIconRemove:"圖示已順利移除。",schematicsIconDropFiles:"在這裡捨棄檔案",schematicsIconOr:"或",schematicsIconFileTypes:"僅限 .jpg、.png 和 .svg 檔案",schematicsIconFileSize:"%{size}MB 檔案大小上限。"}};a.init=function(e){e||(e=window._i18n&&window._i18n.locale?window._i18n.locale:document.documentElement.lang?document.documentElement.lang:"root");var t=this["__"+e]||this.__root;if(t)for(var a in t)this[a]=t[a];for(var a in this.__root)void 0===this[a]&&(this[a]=this.__root[a])},a.init(),e.exports=a},function(e,t){e.exports=i},function(e,t,a){!function(t,n){e.exports=n(a(7))}("undefined"!=typeof self&&self,function(e){return webpackJsonPBaGraphics([1343],{"3865314c5959606874d4":function(t,a){t.exports=e},"6200a98b23e7835f35ec":function(e,t,a){"use strict";var n=a("9689a9c94ae38b47fa2c"),r=a.n(n),i=a("9ce58a7deea14f49ef01"),o=a.n(i),s=new r.a({id:"delete_16_v7",use:"delete_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="delete_16_v7"><path d="M6 6h1v6H6zm3 0h1v6H9z" /><path d="M2 3v1h1v10c0 .6.4 1 1 1h8c.6 0 1-.4 1-1V4h1V3H2zm2 11V4h8v10H4zM6 1h4v1H6z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});o.a.add(s),t.a=s},"96d9f963cd5bcbe25bc9":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3865314c5959606874d4"),r=(a.n(n),a("6200a98b23e7835f35ec"));t.default=r.a}},["96d9f963cd5bcbe25bc9"])})},function(e,t,a){"use strict";var n,r;n=[a(10)],void 0!==(r=function(e){var t=e.extend({init:function(){this._events={}},on:function(e,t,a){"function"!=typeof t&&console.log("ERROR in Events.on: Invalid event handler"),this._events[e]||(this._events[e]=[]),this._events[e].push({handler:t,context:a});var n=this;return{remove:function(){n.off(e,t,a)}}},off:function(e,t,a){var n=function(e,t){var a=t._events;if(!e)return a;var n=e.split(":");if(a={},a[n[0]]=t._events[n[0]],n.length>1&&"*"!==n[1])a[e]=t._events[e];else if(n.length>1&&"*"===n[1])for(var r in t._events)0===r.indexOf(n[0]+":")&&(a[r]=t._events[r]);return a}(e,this);for(var r in n){var i=0,o=n[r];if(o)for(;i<o.length;)o[i].handler!==t&&t||o[i].context!==a&&a?i++:o.splice(i,1)}},trigger:function(e,t){var a=e.split(":"),n=[].concat(this._events.all||[]).concat(this._events[a[0]]||[]);a.length>1&&(n=n.concat(this._events[e]||[]));for(var r=0;r<n.length;r++)"function"==typeof n[r].handler&&n[r].handler.call(n[r].context,t,e)}});return t.prototype.emit=t.prototype.trigger,t}.apply(t,n))&&(e.exports=r)},function(e,t,a){"use strict";(function(t){var n=a(12),r=n;if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];var r=0,i="Warning: "+e.replace(/%s/g,function(){return a[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};r=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var a=arguments.length,n=Array(a>2?a-2:0),r=2;r<a;r++)n[r-2]=arguments[r];i.apply(void 0,[t].concat(n))}}}e.exports=r}).call(t,a(8))},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(6),u=(n(c),a(2)),d=n(u),h=a(33),p=n(h),f=a(21),m=n(f),g=a(1),v=n(g),y=a(3),b=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n.addEventsForAllInputs=function(){n.colorWheel.onclick=n.clickOnPalette.bind(n)},n.updateCanvas=function(){n.canvasContext=n.colorWheel.getContext("2d");var e=n.colorWheel.width/2,t=n.colorWheel.height/2;n.setState({wheelOriginX:e}),n.setState({wheelOriginY:t});for(var a=n.colorWheel.width/2,r=0;r<=360;r++){var i=(r-2)*Math.PI/180,o=r*Math.PI/180;n.canvasContext.beginPath(),n.canvasContext.moveTo(e,t),n.canvasContext.arc(e,t,a,i,o,!1),n.canvasContext.closePath();var s=n.canvasContext.createRadialGradient(e,t,0,e,t,a);s.addColorStop(0,"hsl("+r+", 10%, 100%)"),s.addColorStop(1,"hsl("+r+", 100%, 50%)"),n.canvasContext.fillStyle=s,n.canvasContext.fill()}},n.updateColorPicker=function(){n.normalPickerRef.style.top=-(n.colorWheel.height/2+n.normalPickerRef.clientHeight/2)+"px",n.normalPickerRef.style.left=n.colorWheel.width/2-n.normalPickerRef.clientWidth/2+"px"},n.initPaletteTouchMove=function(e){e.preventDefault(),e.stopPropagation(),n.setState({mouseDown:!0}),n.normalPickerRef.ontouchmove=n.moveOnPalette.bind(n),n.normalPickerRef.ontouchend=n.endPaletteMove.bind(n),n.colorWheel.ontouchmove=n.moveOnPalette.bind(n),n.colorWheel.ontouchend=n.endPaletteMove.bind(n)},n.initPaletteMove=function(e){e.preventDefault(),e.stopPropagation(),n.setState({mouseDown:!0}),n.normalPickerRef.onmousemove=n.moveOnPalette.bind(n),n.normalPickerRef.touchmove=n.moveOnPalette.bind(n),n.normalPickerRef.onmouseup=n.endPaletteMove.bind(n),n.colorWheel.onmousemove=n.moveOnPalette.bind(n),n.colorWheel.touchmove=n.moveOnPalette.bind(n),n.colorWheel.onmouseup=n.endPaletteMove.bind(n)},n.clickOnPalette=function(e){e.preventDefault(),e.stopPropagation(),n.setState({mouseDown:!0}),n.moveOnPalette(e),n.endPaletteMove(e)},n.moveOnPalette=function(e){if(n.state.mouseDown){var t=null,a=null;"touchmove"==e.type?(t=e.targetTouches[0].clientX,a=e.targetTouches[0].clientY):(t=e.clientX,a=e.clientY);var r=n.getRelativeOffset();n.elLeftPnt=t-r.left,n.elTopPnt=a-r.top;var i=n.computePointOnCircle(n.elLeftPnt,n.elTopPnt);switch(n.pntQuad){case 1:n.elLeftPnt=n.elLeftPnt<i.left?i.left:n.elLeftPnt,n.elTopPnt=n.elTopPnt<i.top?i.top:n.elTopPnt,n.normalPickerRef.style.left=n.elLeftPnt-n.normalPickerRef.clientWidth/2+"px",n.normalPickerRef.style.top=n.elTopPnt-(n.colorWheel.height+n.normalPickerRef.clientHeight/2)+"px";break;case 2:n.elLeftPnt=n.elLeftPnt>i.left?i.left:n.elLeftPnt,n.elTopPnt=n.elTopPnt<i.top?i.top:n.elTopPnt,n.normalPickerRef.style.left=n.elLeftPnt-n.normalPickerRef.clientWidth/2+"px",n.normalPickerRef.style.top=n.elTopPnt-(n.colorWheel.height+n.normalPickerRef.clientHeight/2)+"px";break;case 3:n.elLeftPnt=n.elLeftPnt>i.left?i.left:n.elLeftPnt,n.elTopPnt=n.elTopPnt>i.top?i.top:n.elTopPnt,n.normalPickerRef.style.left=n.elLeftPnt-n.normalPickerRef.clientWidth/2+"px",n.normalPickerRef.style.top=n.elTopPnt-(n.colorWheel.height+n.normalPickerRef.clientHeight/2)+"px";break;case 4:n.elLeftPnt=n.elLeftPnt<i.left?i.left:n.elLeftPnt,n.elTopPnt=n.elTopPnt>i.top?i.top:n.elTopPnt,n.normalPickerRef.style.left=n.elLeftPnt-n.normalPickerRef.clientWidth/2+"px",n.normalPickerRef.style.top=n.elTopPnt-(n.colorWheel.height+n.normalPickerRef.clientHeight/2)+"px"}}},n.endPaletteMove=function(){var e={};n.setState({mouseDown:!1});var t=n.canvasContext.getImageData(n.elLeftPnt,n.elTopPnt,1,1).data;e.red=t[0],e.green=t[1],e.blue=t[2];var a=m.default.convertRgbValToRgbHex(e);n.previewRef.style.backgroundColor=a,n.props.onColorChange(a,!1)},n.validateTextInput=function(e,t){if(!isNaN(e)){var a=m.default.convertRgbHexToRgbVal(n.props.color||"#FFFFFF"),r=n.state.hslColor,i=null;"Red"==t?a.red=parseInt(e,10):"Green"==t?a.green=parseInt(e,10):"Blue"==t?a.blue=parseInt(e,10):"Hue"==t?r.hue=parseInt(e,10):"Saturation"==t?r.sat=parseInt(e,10)/100:"Brightness"==t&&(r.light=parseInt(e,10)/100),"RGB"==n.state.selectedColorType?i=m.default.convertRgbValToRgbHex(a):(a=m.default.convertHslToRgb(r),i=m.default.convertRgbValToRgbHex(a)),n.setState({hslColor:r}),i!=n.props.color&&(n.previewRef.style.backgroundColor=i,n.props.onColorChange(i,!1))}},n.validator=function(e,t){var a=t.match(e);return a&&1==a.length&&a[0]===t},n.validateHexInput=function(e){0!=e.length&&"#"==e[0]||(e="#"+e);var t=/[0-9A-Fa-f]{1,2}/;e.length>1&&!n.validator(t,e.substr(1,2))||e.length>3&&!n.validator(t,e.substr(3,2))||e.length>5&&!n.validator(t,e.substr(5,2))||(7==e.length?(n.previewRef.style.backgroundColor=e,n.props.onColorChange(e.toUpperCase(),!1)):n.setState({hexVal:e}))},n.redSliderRef=null,n.greenSliderRef=null,n.blueSliderRef=null,n.hueSliderRef=null,n.saturationSliderRef=null,n.brightnessSliderRef=null,n.hexRef=null,n.previewRef=null,n.colorWheel=null,n.normalPickerRef=null,n.distanceBetweenPnts=null,n.canvasContext=null,n.elLeftPnt=null,n.elTopPnt=null,n.autoLeft=null,n.autoTop=null,n.pntQuad=0,n.state={mouseDown:!1,wheelOriginX:0,wheelOriginY:0,selectedColorType:a.selectedColorType||"RGB",hexVal:a.color||"#FFFFFF",hslColor:m.default.convertRgbToHsl(a.color||"#FFFFFF")},n}return o(t,e),t.prototype.componentDidMount=function(){this.addEventsForAllInputs(),this.updateCanvas(),this.updateColorPicker(),this.previewRef.style.backgroundColor=this.props.color},t.prototype.componentDidUpdate=function(e){if(this.props.selectedColorType!=e.selectedColorType&&this.setState({selectedColorType:this.props.selectedColorType}),this.props.color!=e.color){var t=this.props.color||"#FFFFFF";this.previewRef.style.backgroundColor=t;var a={hexVal:t};m.default.convertRgbValToRgbHex(m.default.convertHslToRgb(this.state.hslColor))!=t&&(a.hslColor=m.default.convertRgbToHsl(t)),this.setState(a)}},t.prototype.getRelativeOffset=function(){var e=this.colorWheel.getBoundingClientRect(),t=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+a,left:e.left+t}},t.prototype.computePointOnCircle=function(e,t){var a=Math.sqrt(Math.pow(Math.abs(this.state.wheelOriginX-e),2)+Math.pow(Math.abs(this.state.wheelOriginY-t),2)),n=Math.acos(Math.abs(this.state.wheelOriginX-e)/a),r=0,i=0;return e>this.state.wheelOriginX&&t<this.state.wheelOriginY?(this.pntQuad=2,n=Math.PI/180*180-n):e>this.state.wheelOriginX&&t>this.state.wheelOriginY?(this.pntQuad=3,n+=Math.PI/180*180):e<this.state.wheelOriginX&&t>this.state.wheelOriginY?(this.pntQuad=4,n=Math.PI/180*360-n):this.pntQuad=1,r=this.state.wheelOriginX-125*Math.cos(n),i=this.state.wheelOriginY-125*Math.sin(n),{left:r,top:i}},t.prototype.getSliders=function(e){var t=this,a=m.default.convertRgbHexToRgbVal(this.props.color||(7==this.state.hexVal.length?this.state.hexVal:"#FFFFFF"));switch(e){case"RGB":return l.default.createElement("tbody",null,l.default.createElement("tr",{style:{"padding-top":"20px",height:"50px"}},l.default.createElement(p.default,{ref:function(e){t.redSliderRef=e},color:"Red",validateInput:this.validateTextInput.bind(this),selectedColorType:this.state.selectedColorType,value:a.red})),l.default.createElement("tr",{style:{"padding-top":"20px",height:"50px"}},l.default.createElement(p.default,{ref:function(e){t.greenSliderRef=e},color:"Green",validateInput:this.validateTextInput.bind(this),selectedColorType:this.state.selectedColorType,value:a.green})),l.default.createElement("tr",{style:{"padding-top":"20px",height:"50px"}},l.default.createElement(p.default,{ref:function(e){t.blueSliderRef=e},color:"Blue",validateInput:this.validateTextInput.bind(this),selectedColorType:this.state.selectedColorType,value:a.blue})));case"HSB":return l.default.createElement("tbody",null,l.default.createElement("tr",{style:{"padding-top":"20px",height:"50px"}},l.default.createElement(p.default,{ref:function(e){t.hueSliderRef=e},color:"Hue",validateInput:this.validateTextInput.bind(this),selectedColorType:this.state.selectedColorType,value:this.state.hslColor.hue})),l.default.createElement("tr",{style:{"padding-top":"20px",height:"50px"}},l.default.createElement(p.default,{ref:function(e){t.saturationSliderRef=e},color:"Saturation",validateInput:this.validateTextInput.bind(this),selectedColorType:this.state.selectedColorType,value:this.state.hslColor.sat>=0?Math.round(100*this.state.hslColor.sat):null})),l.default.createElement("tr",{style:{"padding-top":"20px",height:"50px"}},l.default.createElement(p.default,{ref:function(e){t.brightnessSliderRef=e},color:"Brightness",validateInput:this.validateTextInput.bind(this),selectedColorType:this.state.selectedColorType,value:this.state.hslColor.light>=0?Math.round(100*this.state.hslColor.light):null})))}},t.prototype.render=function(){var e=this,t=this.getSliders(this.state.selectedColorType);return l.default.createElement("table",null,l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",{style:{width:"50%"}},l.default.createElement("div",{style:{width:"250px",height:"250px"},className:"clsWheelContainer "},l.default.createElement("canvas",{style:{position:"relative",float:"left"},width:"250",height:"250",id:"colorWheel",ref:function(t){e.colorWheel=t}}),l.default.createElement("div",{id:"colorPicker",style:{float:"left"},className:"clsWheelSelector clsWheelSelectorEmpty clsPickerWrapper",ref:function(t){e.normalPickerRef=t}}))),l.default.createElement("td",{style:{width:"50%",verticalAlign:"top",paddingLeft:"24px"}},l.default.createElement("div",{style:{width:"250px"}},l.default.createElement("div",{id:"idHexWrapper"},l.default.createElement("table",{style:{verticalAlign:"top",width:"100%"}},l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",null,l.default.createElement("div",{id:"divPreview",className:"clsPreviewBox",ref:function(t){e.previewRef=t}})),l.default.createElement("td",{style:{width:"100px",padding:"0 16px",textAlign:"center"}},l.default.createElement(y.Label,{id:"idHexCodeLabel",type:"caption",label:v.default.get("hexCode"),htmlFor:"idTextRgbCode",style:{fontSize:"1em"},title:v.default.get("hexCode"),alt:v.default.get("hexCode")})),l.default.createElement("td",{style:{float:"right"}},l.default.createElement(y.TextInput,{id:"idTextRgbCode",ref:function(t){e.hexRef=t},value:this.state.hexVal,onChange:function(t){return e.validateHexInput(t)},style:{width:"90px"},type:"text",maxLength:"7",tabIndex:0})))))),l.default.createElement("div",{id:"idRGBWrapper"},l.default.createElement("table",{style:{verticalAlign:"top"}},t)))))))},t}(s.Component);b.propTypes={onColorChange:d.default.func,selectedColorType:d.default.string,color:d.default.string},t.default=b},function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=function(){function e(){n(this,e)}return e.convertRgbHexToRgbVal=function(e){var t={};return e&&(t.red=parseInt(e.substr(1,2),16)||0,t.green=parseInt(e.substr(3,2),16)||0,t.blue=parseInt(e.substr(5,2),16)||0),t},e.convertRgbValToRgbHex=function(e){for(var t=parseInt(e.red).toString(16),a=parseInt(e.green).toString(16),n=parseInt(e.blue).toString(16);t.length<2;)t="0"+t;for(;a.length<2;)a="0"+a;for(;n.length<2;)n="0"+n;return("#"+t+a+n).toUpperCase()},e.convertRgbToHsl=function(e){if(!e)return{};var t=this.convertRgbHexToRgbVal(e),a={},n=t.red/255,r=t.green/255,i=t.blue/255,o=Math.max(n,r,i),s=Math.min(n,r,i),l=o-s,c=(o+s)/2,u=0;0==l?u=0:o==n?u=(r-i)/l%6:o==r?u=(i-n)/l+2:o==i&&(u=(n-r)/l+4);var d=l/(1-Math.abs(2*c-1));return d||(d=0),a.hue=Math.round(60*u),a.hue<0?a.hue+=360:a.hue>360&&(a.hue-=360),a.sat=Math.round(1e3*d)/1e3,a.light=Math.round(1e3*c)/1e3,a},e.convertHslToRgb=function(e){var t=(1-Math.abs(2*e.light-1))*e.sat,a=e.hue/60,n={},r=1*(e.light-t/2),i=t*(1-Math.abs(a%2-1));return a>=0&&a<=1?(n.red=t,n.green=i,n.blue=0):a>=1&&a<=2?(n.red=i,n.green=t,n.blue=0):a>=2&&a<=3?(n.red=0,n.green=t,n.blue=i):a>=3&&a<=4?(n.red=0,n.green=i,n.blue=t):a>=4&&a<=5?(n.red=i,n.green=0,n.blue=t):a>=5&&a<=6?(n.red=t,n.green=0,n.blue=i):(n.red=0,n.green=0,n.blue=0),n.red=255*(n.red+r),n.green=255*(n.green+r),n.blue=255*(n.blue+r),n},e}();t.default=r},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(6),u=(n(c),a(2)),d=n(u),h=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n.state={activeSelector:null},n.colorNodes=n.generateColorGrid(),n}return o(t,e),t.prototype.generateColorGrid=function(){var e=["FFFFFF","f5cedb","fccec7","fdcfad","fed500","ffd191","b4e876","89eda0","8ee9d4","a0e3f0","c8daf4","dcd4f7","e2d2f4"],t=["d8d8d8","f7aac3","ffaa9d","fcaf6d","e3bc13","ffb000","95d13c","57d785","40d5bb","71cddd","95c4f3","c7b6f7","d2b5f0"],a=["b8c1c1","f87eac","ff806c","fe8500","c6a21a","e39d14","81b532","34bc6e","00baa1","00b6cb","56acf2","ae97f4","bf93eb"],n=["8c9696","ff509e","ff5c49","db7c00","b3901f","c4881c","73a22c","00aa5e","00a78f","12a3b4","009bef","9b82f3","b07ce8"],r=["6f7878","dc267f","e62325","ad6418","91721f","9c6d1e","5b8121","00884b","008673","188291","047cc0","785ef0","9753e1"],i=["535a5a","a91560","aa231f","814b19","70541b","74521b","426200","116639","006456","17616b","175d8d","5a3ec8","7732bb"],o=["000000","831b4c","83231e","653d1b","5b421a","5b421c","374c1a","12512e","124f44","164d56","1c496d","473793","602797"],s=[];s=s.concat(e),s=s.concat(t),s=s.concat(a),s=s.concat(n),s=s.concat(r),s=s.concat(i),s=s.concat(o);for(var l=[],c=0;c<s.length;c++){var u="#"+s[c],d={backgroundColor:u};l.push(this.getColorGrid(d,c))}return l},t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.setColor=function(e,t,a){var n=e.target.firstChild||e.target;if(this.state.activeSelector){var r=this.state.activeSelector;r!=n&&(r.style.display="none",r.parentNode.style.borderWidth="1px",r.parentNode.style.backgroundColor=r.style.backgroundColor)}n.style.display="block",n.parentNode.style.borderWidth="0px",n.parentNode.style.backgroundColor="#FFFFFF",this.setState({activeSelector:n}),this.props.onColorChange(t.toUpperCase(),a)},t.prototype.getColorGrid=function(e,t){var a=this,n=0==t?"clsColorBoxStyle_white":"clsColorBoxStyle";return l.default.createElement("div",{id:"gridIndex"+t,key:t,style:e,className:n,onClick:function(n){return a.setColor(n,e.backgroundColor,t%13==0)}},l.default.createElement("div",{id:"gridSelector"+t,className:"clsSelector",style:{display:"none",backgroundColor:e.backgroundColor}}))},t.prototype.render=function(){return l.default.createElement("div",{style:{width:"550px"}},this.colorNodes)},t}(s.Component);h.propTypes={onColorChange:d.default.func,color:d.default.string},t.default=h},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(6),u=(n(c),a(2)),d=n(u),h=a(20),p=n(h),f=a(22),m=n(f),g=a(21),v=n(g),y=a(39),b=n(y),S=a(5),_=n(S),w=a(1),C=n(w),k=a(3);a(4);var x=a(17),P=n(x),I=a(24),D=n(I),E=a(40),T=n(E),R=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n.componentDidMount=function(){if(n.props.paletteDef){var e=void 0,t=void 0;"continuous"===n.props.paletteDef.fillType?(t="continuous",e=_.default.map(n.props.paletteDef.fills,function(e){return e.fill})):(t="standard",e=_.default.map(n.props.paletteDef.fills,function(e){return e.toUpperCase()})),n.setState({paletteColors:e,paletteType:t,currentSelectIndex:0,paletteNameValue:n.props.paletteDef.label,swatchCount:e.length})}},n.addSwatchEntry=function(){if("continuous"==n.state.paletteType){if(n.state.swatchCount>8)return;for(var e=[],t=0;t<n.state.paletteColors.length;t++)e.push(n.state.paletteColors[t]);e.push("#FFFFFF"),n.setState({swatchCount:e.length,currentSelectIndex:e.length-1,paletteColors:e})}else{var a=n.state.swatchCount+1;n.setState({swatchCount:a,currentSelectIndex:a-1})}},n.removeSwatchEntry=function(){if(!(n.state.swatchCount<3)){for(var e=[],t=0;t<n.state.paletteColors.length;t++)t!=n.state.currentSelectIndex&&e.push(n.state.paletteColors[t]);var a=n.state.swatchCount-1,r=n.state.currentSelectIndex>=a?a-1:n.state.currentSelectIndex;n.setState({paletteColors:e,currentSelectIndex:r,swatchCount:a})}},n.reversePalette=function(){var e=[];if("standard"==n.state.paletteType)for(var t=0;t<n.state.swatchCount-n.state.paletteColors.length;t++)e.push(null);for(var a=n.state.paletteColors.length-1;a>=0;a--)e.push(n.state.paletteColors[a]);var r=n.state.swatchCount-1-n.state.currentSelectIndex;n.setState({paletteColors:e,currentSelectIndex:r})},n.generateSwatches=function(){for(var e=[],t=0;t<n.state.swatchCount;t++)e.push(n.getSwatch(t));return e},n.applyPaletteColor=function(){var e=!!n.state.paletteNameValue,t=!1,a=null,r=null;if("continuous"==n.state.paletteType?(a=n.deriveContinuousFills(),t=a.length>1,r="continuous"):(a=n.state.paletteColors.filter(n.removeEmptySwatches),r="simple",t=a.length>1),!e||!t)return void n.setState({noName:!e,insufficientColors:!t});var i={label:n.state.paletteNameValue,fillType:r,fills:a},o="global"==n.props.type,s=n.props.paletteService?Promise.resolve(n.props.paletteService):n.props.glassContext.getSvc(".Palette");if(n.props.paletteDef&&n.props.paletteId){var l={id:n.props.paletteId,palette:i};s.then(function(e){e.updatePalette(l).then(function(){n.closeDialog()},function(e){console.log(e)})})}else o?o&&s.then(function(e){e.createPalette({palette:i,public:o}).then(function(e){n.props.onPaletteCreated&&n.props.onPaletteCreated(e),n.closeDialog()},function(e){console.log(e)})}):s.then(function(e){e.createPalette({palette:i}).then(function(e){n.props.onPaletteCreated&&n.props.onPaletteCreated(e),n.closeDialog()},function(e){console.log(e)})})},n.openDialog=function(){n.setState({isDialogOpen:!0})},n.closeDialog=function(){n.setState({isDialogOpen:!1}),n.props.removeDialog&&n.props.removeDialog()},n.swatchWrapperRef=null,n.continousWrapperRef=null,n.state={isDialogOpen:a.isDialogOpen||!1,selectedTab:"idColorGrid",selectedColorType:"RGB",paletteNameValue:"",radioGroupSelectedOption:"auto",swatchCount:"continuous"==n.props.paletteType?2:10,paletteDirection:"forward",paletteType:"standard",currentSelectIndex:0,insufficientColors:!1,noName:!1,paletteColors:"continuous"==n.props.paletteType?["#FFFFFF","#FFFFFF"]:[]},n}return o(t,e),t.prototype.componentDidUpdate=function(e,t){if(this.props.paletteType&&this.state.paletteType!=e.paletteType&&this.setState({paletteType:this.props.paletteType}),"continuous"==this.state.paletteType){if(this.swatchWrapperRef&&(this.swatchWrapperRef.style.display="none"),this.continousWrapperRef&&(this.continousWrapperRef.style.display="block"),this.state.paletteType!=t.paletteType){var a="continuous"==this.state.paletteType?"custom":this.state.radioGroupSelectedOption;this.setState({radioGroupSelectedOption:a})}}else"standard"==this.state.paletteType&&(this.continousWrapperRef&&(this.continousWrapperRef.style.display="none"),this.swatchWrapperRef&&(this.swatchWrapperRef.style.display="block"));this.state.swatchCount>12&&this.swatchWrapperRef?this.swatchWrapperRef.style.height="80px":this.swatchWrapperRef&&(this.swatchWrapperRef.style.height="40px")},t.prototype.getSwatch=function(e){var t=e<this.state.paletteColors.length?this.state.paletteColors[e]:"#FFFFFF",a=e<this.state.paletteColors.length&&this.state.paletteColors[e],n=e==this.state.currentSelectIndex,r=n&&!a?"clsSwatchStyle_selected":n&&a?"clsSwatchStyle_filled_selected":a?"clsSwatchStyle_filled":"clsSwatchStyle_empty";return l.default.createElement("div",{className:r,key:"swatch"+e,id:"swatch"+e,style:{backgroundColor:t},onClick:this.selectSwatch.bind(this,e)})},t.prototype.selectSwatch=function(e){e!=this.state.currentSelectIndex&&this.setState({currentSelectIndex:e})},t.prototype.onColorChange=function(e,t){for(var a=[],n=this.state.currentSelectIndex||0,r=0;r<this.state.paletteColors.length;r++)a.push(this.state.paletteColors[r]);if("custom"==this.state.radioGroupSelectedOption)a[n]=e;else if("auto"==this.state.radioGroupSelectedOption){var i=v.default.convertRgbToHsl(e),o=this.state.swatchCount-this.state.currentSelectIndex,s=t?b.default.createPaletteViaLight(o,i,t):b.default.createPaletteViaHue(o,i,t);a[n]=e;for(var l=1;l<s.length;l++){var c=v.default.convertHslToRgb(s[l]),u=v.default.convertRgbValToRgbHex(c);a[n+l]=u}}this.setState({paletteColors:a,insufficientColors:!1})},t.prototype.removeEmptySwatches=function(e){return!!e},t.prototype.deriveContinuousFills=function(){var e=this.state.paletteColors.filter(this.removeEmptySwatches);if(e.length<2)return[];for(var t=[],a=1/(e.length-1),n=0;n<e.length;n++){var r={fill:e[n],at:a*n};t.push(r)}return t},t.prototype.changePaletteType=function(e){this.state.paletteType!=e&&this.setState({paletteType:e,paletteColors:"standard"==e?[]:["#FFFFFF","#FFFFFF"],currentSelectIndex:0,swatchCount:"standard"==e?10:2})},t.prototype.getContinuousPreview=function(){var e=this.state.paletteColors.filter(this.removeEmptySwatches),t="#FFFFFF";e.length>1&&(t="linear-gradient(to right, "+e.join(",")+")");var a=[];if(this.state.swatchCount>1)for(var n=0;n<this.state.swatchCount;n++){var r=n==this.state.currentSelectIndex?"clsSelector":"clsContinuousIndicator";a.push(l.default.createElement("div",{key:"selector_"+n,className:"clsContinuousIndicatorContainer"},l.default.createElement("div",{className:r,style:{backgroundColor:this.state.paletteColors[n]},onClick:this.selectSwatch.bind(this,n)})))}var i="";return 0==this.state.currentSelectIndex?i=" clsContinuousPreviewRoundLeft":this.state.swatchCount==this.state.currentSelectIndex+1&&(i=" clsContinuousPreviewRoundRight"),l.default.createElement("div",{style:{background:t},id:"idContinuousPreview",className:"clsContinuousPreview"+i},a)},t.prototype.getContinuousButtons=function(){var e=this;return l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",null,l.default.createElement("div",{className:"standard"==this.state.paletteType?"clsPaletteIcons_wrapper_selected":"clsPaletteIcons_wrapper"},l.default.createElement("div",{className:"clsPaletteStandard",id:"imgStandardPalette",value:"standard",onClick:function(){return e.changePaletteType("standard")},title:C.default.get("standardPalette")}))),l.default.createElement("td",null,l.default.createElement("div",{className:"continuous"==this.state.paletteType?"clsPaletteIcons_wrapper_selected":"clsPaletteIcons_wrapper"},l.default.createElement("div",{className:"clsPaletteGradient",id:"imgContinuousPalette",value:"continuous",onClick:function(){return e.changePaletteType("continuous")},title:C.default.get("continuousPalette")})))))},t.prototype.navigateSwatch=function(e){var t=this.state.currentSelectIndex;switch(e.keyCode){case 37:t>0&&this.setState({currentSelectIndex:t-1});break;case 39:t!=this.state.swatchCount-1&&this.setState({currentSelectIndex:t+1})}},t.prototype.navigatePaletteType=function(e){switch(e.keyCode){case 37:"continuous"==this.state.paletteType&&this.changePaletteType("standard");break;case 39:"standard"==this.state.paletteType&&this.changePaletteType("continuous")}},t.prototype.render=function(){var e=this,t=this.generateSwatches(),a=[];a="continuous"==this.state.paletteType?[{label:C.default.get("modeAutomatic"),value:"auto",disabled:!0},{label:C.default.get("modeCustom"),value:"custom",checked:!0}]:[{label:C.default.get("modeAutomatic"),value:"auto"},{label:C.default.get("modeCustom"),value:"custom",checked:!0}];var n=[{value:"RGB",label:C.default.get("modelRGB")},{value:"HSB",label:C.default.get("modelHSB")}],r=this.props.userClass&&"admin"==this.props.userClass?this.getContinuousButtons():null,i=null;"continuous"==this.state.paletteType&&(i=this.getContinuousPreview());var o="continuous"==this.state.paletteType?C.default.get("createContinuousPalette"):C.default.get("createStandardPalette"),s=this.state.insufficientColors?C.default.get("errorInsufficientColors"):"";return this.state.isDialogOpen&&l.default.createElement("div",null,l.default.createElement(k.Dialog,{width:"725px",onClose:this.closeDialog,startingFocusIndex:0},l.default.createElement(k.Dialog.Header,null,o),l.default.createElement(k.Dialog.Body,null,l.default.createElement("table",{style:{width:"100%",height:"82px"}},l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",{style:{width:"75%",verticalAlign:"top"}},l.default.createElement(k.Label,{label:C.default.get("paletteName"),id:"idNameLabel",htmlFor:"idPaletteName",type:"caption"}),l.default.createElement(k.TextInput,{placeholder:C.default.get("paletteNamePlaceholder"),id:"idPaletteName",value:this.state.paletteNameValue,onChange:function(t){return e.setState({paletteNameValue:t,noName:!t})},style:{width:"100%"},label:C.default.get("paletteName"),autoFocus:!0,validationErrorText:C.default.get("errorNoName"),hasValidationError:this.state.noName})),l.default.createElement("td",{style:{float:"right"}},l.default.createElement("table",{style:{marginTop:"15px"},tabIndex:r?"0":"-1",onKeyDown:this.navigatePaletteType.bind(this)},r))))),l.default.createElement("div",{className:"clsPaletteContainer",style:{margin:"6px 0px 6px"}},l.default.createElement("table",{style:{width:"100%"}},l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",{style:{width:"90%"}},l.default.createElement("div",{style:{height:"40px",width:"95%",overflow:"auto"},ref:function(t){e.swatchWrapperRef=t},tabIndex:"0",onKeyDown:this.navigateSwatch.bind(this)},t),l.default.createElement("div",{style:{height:"40px",width:"95%",overflow:"auto",display:"none"},ref:function(t){e.continousWrapperRef=t},tabIndex:"0",onKeyDown:this.navigateSwatch.bind(this)},i)),l.default.createElement("td",null,l.default.createElement("div",{id:"idDelSwatchDiv",style:{float:"right"}},l.default.createElement(k.Button,{id:"idDelSwatch",intent:"primary",icon:P.default.id,iconSize:"small",variant:"icon",onClick:this.removeSwatchEntry,title:C.default.get("removeSwatch"),tabIndex:0}))),l.default.createElement("td",null,l.default.createElement(k.Separator,{orientation:"vertical",style:{height:"20px",color:"#C0BFC0"}})),l.default.createElement("td",null,l.default.createElement("div",{id:"idAddSwatchDiv",style:{float:"left"}},l.default.createElement(k.Button,{id:"idAddSwatch",intent:"primary",icon:D.default.id,iconSize:"small",variant:"icon",onClick:this.addSwatchEntry,title:C.default.get("addSwatch"),tabIndex:0}))),l.default.createElement("td",{style:{paddingRight:"10px"}},l.default.createElement("div",{id:"idReverse",style:{float:"left"}},l.default.createElement(k.Button,{id:"idReverse",intent:"primary",icon:T.default.id,iconSize:"small",variant:"icon",onClick:this.reversePalette.bind(this),title:C.default.get("reversePalette"),tabIndex:0})))))),l.default.createElement("span",{style:{fontSize:"0.75rem",fontWeight:"bold",color:"#e62325",wordBreak:"break-word",wordWrap:"break-word"}},s," ")),l.default.createElement("div",null,l.default.createElement(k.Tabs,{selected:this.state.selectedTab,onChange:function(t){return e.setState({selectedTab:t})}},l.default.createElement(k.TabPanel,{keepTabContent:!0,id:"idColorGrid",label:C.default.get("grid")},l.default.createElement("div",{style:{height:"275px",paddingTop:"24px"}},l.default.createElement("table",null,l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",{style:{width:"10%",verticalAlign:"top"}},l.default.createElement(k.Label,{label:C.default.get("colorGuide"),id:"idRadioGridLabel",htmlFor:"idGridRadioGroup",type:"caption"}),l.default.createElement(k.RadioGroup,{id:"idGridRadioGroup",direction:"vertical",options:a,onChange:function(t){return e.setState({radioGroupSelectedOption:t})},checked:this.state.radioGroupSelectedOption,tabIndex:0,"aria-labelledby":"idRadioGridLabel"})),l.default.createElement("td",{style:{width:"90%",paddingLeft:"24px"}},l.default.createElement(m.default,{id:"idColorGridComponent",onColorChange:this.onColorChange.bind(this),color:this.state.paletteColors[this.state.currentSelectIndex]}))))))),l.default.createElement(k.TabPanel,{keepTabContent:!0,id:"idColorWheel",label:C.default.get("wheel")},l.default.createElement("div",{style:{height:"275px",paddingTop:"24px"}},l.default.createElement("table",null,l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",{style:{width:"10%",verticalAlign:"top"}},l.default.createElement("table",null,l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",null,l.default.createElement(k.Label,{label:C.default.get("colorModel"),id:"idSelectGroupLabel",htmlFor:"idSelectGroup",type:"caption"}),l.default.createElement(k.Select,{id:"idSelectGroup",selected:this.state.selectedColorType,fixedWidth:!0,options:n,onChange:function(t){return e.setState({selectedColorType:t})},customWidth:"100px",variant:"frame"}))),l.default.createElement("tr",null,l.default.createElement("td",{style:{paddingTop:"10px"}},l.default.createElement(k.Label,{label:C.default.get("colorGuide"),id:"idRadioWheelLabel",htmlFor:"idWheelRadioGroup",type:"caption"}),l.default.createElement(k.RadioGroup,{id:"idWheelRadioGroup",direction:"vertical",options:a,onChange:function(t){return e.setState({radioGroupSelectedOption:t})},checked:this.state.radioGroupSelectedOption,"aria-labelledby":"idRadioWheelLabel"})))))),l.default.createElement("td",{style:{width:"90%",paddingLeft:"24px"}},l.default.createElement(p.default,{id:"idColorWheelComponent",onColorChange:this.onColorChange.bind(this),selectedColorType:this.state.selectedColorType,color:this.state.paletteColors[this.state.currentSelectIndex]})))))))))),l.default.createElement(k.Dialog.Footer,null,l.default.createElement(k.Dialog.Button,{id:"idSaveBtn",label:C.default.get("saveDialog"),onClick:this.applyPaletteColor,tabIndex:0,intent:"primary",variant:"solid"}),l.default.createElement(k.Dialog.Button,{id:"idCancelBtn",label:C.default.get("cancelDialog"),onClick:this.closeDialog,tabIndex:0,intent:"primary",variant:"frame"}))))||null},t}(s.Component);R.propTypes={glassContext:d.default.object,paletteDef:d.default.string,paletteId:d.default.string,onPaletteCreated:d.default.func,removeDialog:d.default.func,type:d.default.string,userClass:d.default.string,paletteType:d.default.string,isDialogOpen:d.default.bool,paletteService:d.default.object},R.defaultProps={isDialogOpen:!1},t.default=R,R.defaultProps={name:"CustomPaletteDialog"}},function(e,t,a){!function(t,n){e.exports=n(a(7))}("undefined"!=typeof self&&self,function(e){return webpackJsonPBaGraphics([2039],{"3865314c5959606874d4":function(t,a){t.exports=e},"4a8a183afccdc8d4e8ba":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3865314c5959606874d4"),r=(a.n(n),a("b837a5971597ddbe8592"));t.default=r.a},b837a5971597ddbe8592:function(e,t,a){"use strict";var n=a("9689a9c94ae38b47fa2c"),r=a.n(n),i=a("9ce58a7deea14f49ef01"),o=a.n(i),s=new r.a({id:"add--filled_16_v7",use:"add--filled_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="add--filled_16_v7"><path d="M8 1C4.2 1 1 4.2 1 8s3.2 7 7 7 7-3.2 7-7-3.2-7-7-7zm4 8H9v3H7V9H4V7h3V4h2v3h3v2z" /></symbol>'});o.a.add(s),t.a=s}},["4a8a183afccdc8d4e8ba"])})},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var i=a(54),o=n(i),s=a(1),l=n(s),c=function e(t,a,n,i){var s=this;r(this,e),this.load=function(e,t,a){try{var n=[];s._files||(s._files={});for(var r=0;r<e.length;r++)n.push(s._loadFile(e[r]));Promise.all(n).then(function(e){var a=[].concat.apply([],e);return t(a)}.bind(s),a)}catch(e){a(e)}},this.getFileAsBlob=function(e){return new Promise(function(t,a){var n=this._getFileInfo(e);if(n)if("zip"===n.type)try{var r={name:n.data[e].name,size:n.data[e]._data.uncompressedSize};this._verifyImgFileSize(r),n.data[e].async("blob").catch(function(e){a(e)}).then(function(e){t(e)})}catch(e){a(e)}else t(n.data);else a({message:l.default.get("schematicsInvalidSvgData")})}.bind(s))},this._listZip=function(e){var t=[];return Object.keys(e).forEach(function(e){t.push(e)}),t.filter(s._isSVG)},this._loadFile=function(e){var t=[],a=s._reader?s._reader:new window.FileReader,n=e.name.toLowerCase().substr(-3);if(s._isSVG(e.name)||s._isAllowedFile(e.name)){var r=e;return s._verifyImgFileSize(e),s._files[e.name]=s._fileData(e.name,n,r,e.size),t.push(e.name),Promise.resolve(t)}if(!s._allowedFileExtensions&&s._isZip(e))return new Promise(function(n,r){a.onload=function(a){if(this._isZip(e))o.default.loadAsync(a.target.result).then(function(a){this._files[e.name]=this._fileData(e.name,"zip",a.files,e.size);for(var r=this._listZip(a.files),i=0;i<r.length;i++)t.push(r[i]);n(t)}.bind(this),function(e){r(e)});else{var i=e;this._files[e.name]=this._fileData(e.name,"svg",i,e.size),t.push(e.name),n(t)}}.bind(this);try{this._readFile(e,a)}catch(e){r(e)}}.bind(s));throw new Error(l.default.get("schematicsInvalidType",{type:e.name}))},this._isZip=function(e){return e&&e.name&&".zip"===e.name.toLowerCase().substr(-4)&&("application/x-zip-compressed"===e.type||"application/zip"===e.type||"application/x-compressed"===e.type)},this._isSVG=function(e){return".svg"===e.toLowerCase().substr(-4)},this._isAllowedFile=function(e){return s._allowedFileExtensions&&s._allowedFileExtensions.indexOf(e.toLowerCase().substr(-4))>=0},this._readFile=function(e,t){if(s._isZip(e))s._verifyZipFileSize(e),t.readAsArrayBuffer(e);else{if(!s._isSVG(e))throw Error(l.default.get("schematicsInvalidType",{type:e.name}));s._verifyImgFileSize(e),t.readAsDataURL(e)}},this._verifyZipFileSize=function(e){if(e.size>1e6*s._zipMaxSize)throw Error(l.default.get("schematicsInvalidSize",{file:e.name,size:e.size}))},this._verifyImgFileSize=function(e){if(e.size>1e6*s._imgMaxSize)throw Error(l.default.get("schematicsInvalidSize",{file:e.name,size:e.size}))},this._fileData=function(e,t,a){return{name:e,type:t,data:a}},this._arrayFind=function(e,t){for(var a=0;a<e.length;++a)if(e[a]===t)return t;return null},this._getFileInfo=function(e){var t,a=Object.keys(s._files),n=s._arrayFind(a,e);if(n)t=s._files[n];else for(var r=0;r<a.length;r++){var i=a[r],o=s._files[i];if("zip"===o.type&&(n=s._arrayFind(Object.keys(o.data),e))){t=o;break}}return t},this._files=null,t&&(this._reader=t),a&&(this._zipMaxSize=a),n&&(this._imgMaxSize=n),this._allowedFileExtensions=i};t.default=c},function(e,t,a){"use strict";var n={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error"};Object.freeze(n),e.exports=n},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.DialogWrapper=t.SchematicEditor=t.ChangePaletteView=t.CustomPalette=t.CustomColorDialog=void 0;var r=a(28),i=n(r),o=a(23),s=n(o),l=a(41),c=n(l),u=a(51),d=n(u),h=a(71),p=n(h);a(4),t.CustomColorDialog=i.default,t.CustomPalette=s.default,t.ChangePaletteView=c.default,t.SchematicEditor=d.default,t.DialogWrapper=p.default},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(6),u=(n(c),a(2)),d=n(u),h=a(20),p=n(h),f=a(22),m=n(f),g=a(34),v=n(g),y=a(1),b=n(y),S=a(3);a(4);var _=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n.applyPaletteColor=function(){(n.props.paletteService?Promise.resolve(n.props.paletteService):n.props.glassContext.getSvc(".Palette")).then(function(e){e.setFavoriteColors(n.favoritesView.getFavoriteColors()).then(function(){n.props.onChange(n.state.currentColor),n.closeDialog()},function(e){console.log(e)})})},n.closeDialog=function(){n.setState({isDialogOpen:!1}),n.props.onCloseDialog&&n.props.onCloseDialog()},n.openDialog=function(){n.setState({isDialogOpen:!0})},n.favoritesView=null,n.state={currentColor:null,isDialogOpen:a.isDialogOpen||!1,selectedTab:"idColorGrid",selectedColorType:"RGB"},n}return o(t,e),t.prototype.componentDidMount=function(){var e=this;(this.props.paletteService?Promise.resolve(this.props.paletteService):this.props.glassContext.getSvc(".Palette")).then(function(t){t.getFavoriteColors().then(function(t){e.favoritesView.setState({favoriteColors:t})})})},t.prototype.updateSelectedColor=function(e){this.setState({currentColor:e})},t.prototype.setColor=function(e){this.updateSelectedColor(e),this.favoritesView.isFavoriteSelected()&&(this.favoritesView.updateSelectedColor(e),this.favoritesView.deselectCurrentFavorite())},t.prototype.addFavorite=function(){if(this.state.currentColor&&this.favoritesView.state.favoriteColors.length<12){var e=this.favoritesView.state.favoriteColors;e.push(this.state.currentColor),this.favoritesView.setState({favoriteColors:e})}},t.prototype.render=function(){var e=this,t=[{value:"RGB",label:b.default.get("modelRGB")},{value:"HSB",label:b.default.get("modelHSB")}];return this.state.isDialogOpen&&l.default.createElement("div",null,l.default.createElement(S.Dialog,{width:"620px",onClose:this.closeDialog,className:"customColorDialog"},l.default.createElement(S.Dialog.Header,null,b.default.get("colorPicker")),l.default.createElement(S.Dialog.Body,null,l.default.createElement("div",null,l.default.createElement(S.Tabs,{selected:this.state.selectedTab,onChange:function(t){return e.setState({selectedTab:t})}},l.default.createElement(S.TabPanel,{keepTabContent:!0,id:"idColorGrid",label:b.default.get("grid")},l.default.createElement("div",{style:{height:"260px",paddingTop:"15px"}},l.default.createElement("table",null,l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",{align:"center",style:{width:"50%"}},l.default.createElement(m.default,{id:"idColorGridComponent",onColorChange:this.setColor.bind(this)}))))))),l.default.createElement(S.TabPanel,{keepTabContent:!0,id:"idColorWheel",label:b.default.get("wheel")},l.default.createElement("div",{style:{height:"300px",paddingTop:"15px"}},l.default.createElement("table",null,l.default.createElement("tbody",null,l.default.createElement("tr",null,l.default.createElement("td",{align:"right",style:{width:"90%"}},l.default.createElement("div",{style:{marginBottom:"8px"}},l.default.createElement(S.Select,{selected:this.state.selectedColorType,customWidth:"250px",options:t,onChange:function(t){return e.setState({selectedColorType:t})}})),l.default.createElement(p.default,{onColorChange:this.setColor.bind(this),color:this.state.currentColor,selectedColorType:this.state.selectedColorType})))))))),l.default.createElement(S.FlexLayout,{direction:"column"},l.default.createElement(S.FlexLayout,{justifyContent:"flex-end"},l.default.createElement(S.Link,{style:{zIndex:3e3,"margin-right":"40px"},onClick:this.addFavorite.bind(this)},b.default.get("setAsFavorite"))),l.default.createElement(S.Separator,{orientation:"horizontal",style:{margin:"24px 0px"}}),l.default.createElement(v.default,{favoriteColors:[],updateColor:this.updateSelectedColor.bind(this),ref:function(t){e.favoritesView=t},numberOfFavorites:12})))),l.default.createElement(S.Dialog.Footer,null,l.default.createElement(S.Dialog.Button,{label:b.default.get("applyDialog"),onClick:this.applyPaletteColor,disabled:!this.state.currentColor}),l.default.createElement(S.Dialog.Button,{label:b.default.get("cancelDialog"),onClick:this.closeDialog}))))||null},t}(s.Component);_.propTypes={isDialogOpen:d.default.bool,glassContext:d.default.object,paletteService:d.default.object,onChange:d.default.func,onCloseDialog:d.default.func},_.defaultProps={isDialogOpen:!1},t.default=_,_.defaultProps={name:"CustomColorDialog"}},function(e,t,a){"use strict";(function(t){var n=a(12),r=a(13),i=a(19),o=a(30),s=a(14),l=a(31);e.exports=function(e,a){function c(e){var t=e&&(I&&e[I]||e[D]);if("function"==typeof t)return t}function u(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function d(e){this.message=e,this.stack=""}function h(e){function n(n,c,u,h,p,f,m){if(h=h||E,f=f||u,m!==s)if(a)r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var g=h+":"+u;!o[g]&&l<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",f,h),o[g]=!0,l++)}return null==c[u]?n?new d(null===c[u]?"The "+p+" `"+f+"` is marked as required in `"+h+"`, but its value is `null`.":"The "+p+" `"+f+"` is marked as required in `"+h+"`, but its value is `undefined`."):null:e(c,u,h,p,f)}if("production"!==t.env.NODE_ENV)var o={},l=0;var c=n.bind(null,!1);return c.isRequired=n.bind(null,!0),c}function p(e){function t(t,a,n,r,i,o){var s=t[a];if(C(s)!==e)return new d("Invalid "+r+" `"+i+"` of type `"+k(s)+"` supplied to `"+n+"`, expected `"+e+"`.");return null}return h(t)}function f(e){function t(t,a,n,r,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var o=t[a];if(!Array.isArray(o)){return new d("Invalid "+r+" `"+i+"` of type `"+C(o)+"` supplied to `"+n+"`, expected an array.")}for(var l=0;l<o.length;l++){var c=e(o,l,n,r,i+"["+l+"]",s);if(c instanceof Error)return c}return null}return h(t)}function m(e){function t(t,a,n,r,i){if(!(t[a]instanceof e)){var o=e.name||E;return new d("Invalid "+r+" `"+i+"` of type `"+P(t[a])+"` supplied to `"+n+"`, expected instance of `"+o+"`.")}return null}return h(t)}function g(e){function a(t,a,n,r,i){for(var o=t[a],s=0;s<e.length;s++)if(u(o,e[s]))return null;return new d("Invalid "+r+" `"+i+"` of value `"+o+"` supplied to `"+n+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?h(a):("production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),n.thatReturnsNull)}function v(e){function t(t,a,n,r,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var o=t[a],l=C(o);if("object"!==l)return new d("Invalid "+r+" `"+i+"` of type `"+l+"` supplied to `"+n+"`, expected an object.");for(var c in o)if(o.hasOwnProperty(c)){var u=e(o,c,n,r,i+"."+c,s);if(u instanceof Error)return u}return null}return h(t)}function y(e){function a(t,a,n,r,i){for(var o=0;o<e.length;o++){if(null==(0,e[o])(t,a,n,r,i,s))return null}return new d("Invalid "+r+" `"+i+"` supplied to `"+n+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),n.thatReturnsNull;for(var r=0;r<e.length;r++){var o=e[r];if("function"!=typeof o)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",x(o),r),n.thatReturnsNull}return h(a)}function b(e){function t(t,a,n,r,i){var o=t[a],l=C(o);if("object"!==l)return new d("Invalid "+r+" `"+i+"` of type `"+l+"` supplied to `"+n+"`, expected `object`.");for(var c in e){var u=e[c];if(u){var h=u(o,c,n,r,i+"."+c,s);if(h)return h}}return null}return h(t)}function S(e){function t(t,a,n,r,i){var l=t[a],c=C(l);if("object"!==c)return new d("Invalid "+r+" `"+i+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");var u=o({},t[a],e);for(var h in u){var p=e[h];if(!p)return new d("Invalid "+r+" `"+i+"` key `"+h+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=p(l,h,n,r,i+"."+h,s);if(f)return f}return null}return h(t)}function _(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(_);if(null===t||e(t))return!0;var a=c(t);if(!a)return!1;var n,r=a.call(t);if(a!==t.entries){for(;!(n=r.next()).done;)if(!_(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!_(i[1]))return!1}return!0;default:return!1}}function w(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function C(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":w(t,e)?"symbol":t}function k(e){if(void 0===e||null===e)return""+e;var t=C(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=k(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function P(e){return e.constructor&&e.constructor.name?e.constructor.name:E}var I="function"==typeof Symbol&&Symbol.iterator,D="@@iterator",E="<<anonymous>>",T={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return h(n.thatReturnsNull)}(),arrayOf:f,element:function(){function t(t,a,n,r,i){var o=t[a];if(!e(o)){return new d("Invalid "+r+" `"+i+"` of type `"+C(o)+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return h(t)}(),instanceOf:m,node:function(){function e(e,t,a,n,r){return _(e[t])?null:new d("Invalid "+n+" `"+r+"` supplied to `"+a+"`, expected a ReactNode.")}return h(e)}(),objectOf:v,oneOf:g,oneOfType:y,shape:b,exact:S};return d.prototype=Error.prototype,T.checkPropTypes=l,T.PropTypes=T,T}}).call(t,a(8))},function(e,t,a){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/*
- object-assign
- (c) Sindre Sorhus
- @license MIT
- */
- var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,s,l=n(e),c=1;c<arguments.length;c++){a=Object(arguments[c]);for(var u in a)i.call(a,u)&&(l[u]=a[u]);if(r){s=r(a);for(var d=0;d<s.length;d++)o.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},function(e,t,a){"use strict";(function(t){function n(e,a,n,l,c){if("production"!==t.env.NODE_ENV)for(var u in e)if(e.hasOwnProperty(u)){var d;try{r("function"==typeof e[u],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",n,u,typeof e[u]),d=e[u](a,u,l,n,null,o)}catch(e){d=e}if(i(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",n,u,typeof d),d instanceof Error&&!(d.message in s)){s[d.message]=!0;var h=c?c():"";i(!1,"Failed %s type: %s%s",n,d.message,null!=h?h:"")}}}if("production"!==t.env.NODE_ENV)var r=a(13),i=a(19),o=a(14),s={};e.exports=n}).call(t,a(8))},function(e,t,a){"use strict";var n=a(12),r=a(13),i=a(14);e.exports=function(){function e(e,t,a,n,o,s){s!==i&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var a={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return a.checkPropTypes=n,a.PropTypes=a,a}},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(6),u=(n(c),a(2)),d=n(u),h=a(1),p=n(h),f=a(3),m=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n._inputValidation=function(e){if("RGB"==n.props.selectedColorType&&e>255)return!1;if("HSB"==n.props.selectedColorType){if("Hue"==n.props.color&&e>360)return!1;if(("Saturation"==n.props.color||"Brightness"==n.props.color)&&e>100)return!1}return!0},n.sliderText=null,n}return o(t,e),t.prototype.getInputBoxType=function(){var e=this,t="id"+(this.props.color.charAt(0).toUpperCase()+this.props.color.slice(1))+"Range",a="idText"+this.props.color,n="RGB"==this.props.selectedColorType?255:"Hue"==this.props.color?360:100;return l.default.createElement("tr",{style:{paddingTop:"20px",height:"50px"}},l.default.createElement("td",{style:{width:"38px"}},l.default.createElement(f.Label,{id:a+"Label",type:"caption",hover:!0,label:p.default.get("code".concat(this.props.color)),htmlFor:a,style:{fontSize:"1em",marginTop:"10px"},title:p.default.get("color".concat(this.props.color)),alt:p.default.get("color".concat(this.props.color))})),l.default.createElement("td",{style:{width:"150px"}},l.default.createElement(f.Slider,{id:t,showBoundaryLabels:!0,value:this.props.value,onChange:function(t){return e.props.validateInput(parseInt(t,10),e.props.color)},min:0,max:n,size:"small"})),l.default.createElement("td",{style:{paddingLeft:"8px"}},l.default.createElement(f.NumberInput,{id:a,value:this.props.value,onChange:function(t){return e.props.validateInput(parseInt(t,10),e.props.color)},style:{width:"70px"},min:0,max:n,validation:this._inputValidation,tabIndex:0})))},t.prototype.render=function(){var e=this.getInputBoxType();return l.default.createElement("table",null,l.default.createElement("tbody",null,e))},t}(s.Component);m.propTypes={color:d.default.string,validateInput:d.default.func,selectedColorType:d.default.string,value:d.default.int},t.default=m},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(6),u=(n(c),a(2)),d=n(u),h=a(1),p=n(h),f=a(3);a(4);var m=a(17),g=n(m),v=12,y=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n.numberOfFavorites=a.numberOfFavorites?a.numberOfFavorites:v,n.currentFavorite=null,n.state={favoriteColors:a.favoriteColors},n}return o(t,e),t.prototype.onDeleteFavorite=function(){var e=this.state.favoriteColors.length-1;this.currentFavorite&&(e=this.currentFavorite.getAttribute("favoriteIndex"),this.deselectCurrentFavorite());var t=this.state.favoriteColors;t.splice(e,1),this.setState({favoriteColors:t})},t.prototype.handleKeyDown=function(e,t){13!==e.which&&32!==e.which||t(e)},t.prototype.deselectCurrentFavorite=function(){this.isFavoriteSelected()&&(this.currentFavorite.classList.remove("selected"),this.currentFavorite=null)},t.prototype.isFavoriteSelected=function(){return!!this.currentFavorite},t.prototype.updateSelectedColor=function(e){var t=this.state.favoriteColors;t[this.getSelectedIndex()]=e,this.setState({favoriteColors:t})},t.prototype.getSelectedIndex=function(){if(this.isFavoriteSelected())return this.currentFavorite.getAttribute("favoriteIndex")},t.prototype.getSelectedColor=function(){if(this.isFavoriteSelected())return this.currentFavorite.getAttribute("value")},t.prototype.selectFavorite=function(e){e.target.classList.contains("selected")?this.currentFavorite=null:(this.deselectCurrentFavorite(),this.currentFavorite=e.target),e.target.classList.toggle("selected"),this.props.updateColor&&this.props.updateColor(this.getSelectedColor())},t.prototype.getFavoriteColors=function(){return this.state.favoriteColors},t.prototype.getFavorite=function(e,t){var a=this;return t?l.default.createElement("div",{className:"favoriteBox filled",key:e,tabIndex:"0",favoriteIndex:e,value:t,onKeyDown:function(e){return a.handleKeyDown(e,a.selectFavorite.bind(a))},onClick:function(e){return a.selectFavorite(e)},style:{backgroundColor:t}}):l.default.createElement("div",{className:"favoriteBox",key:e,favoriteIndex:e})},t.prototype.generateFavorites=function(){for(var e=[],t=0;t<this.numberOfFavorites;t++){var a=t<this.state.favoriteColors.length?this.state.favoriteColors[t]:void 0;e.push(this.getFavorite(t,a))}return e},t.prototype.render=function(){var e=this;return l.default.createElement(f.FlexLayout,{className:"favoriteColors",direction:"column"},l.default.createElement(f.Label,{className:"favoritesLabel",label:p.default.get("favoritesLabel")}),l.default.createElement(f.FlexLayout,{className:"favoritesPicker",inline:!0,direction:"row"},this.generateFavorites(),l.default.createElement(f.SVGIcon,{className:"deleteFavorite",size:"small",iconId:g.default.id,tabIndex:"0",onKeyDown:function(t){return e.handleKeyDown(t,e.onDeleteFavorite.bind(e))},onClick:this.onDeleteFavorite.bind(this)})))},t}(s.Component);y.propTypes={updateColor:d.default.func,favoriteColors:d.default.array.isRequired,numberOfFavorites:d.default.number},t.default=y},function(e,t,a){t=e.exports=a(36)(!1),t.push([e.i,"/**\n * Licensed Materials - Property of IBM\n * IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018\n * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.\n */\n\n/**\n * Licensed Materials - Property of IBM\n * IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018\n * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.\n */\n\n#dummyId {\n background-color: white;\n}\n\n/**\n * Licensed Materials - Property of IBM\n * IBM Cognos Products: BI\n * (C) Copyright IBM Corp. 2018\n * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.\n */\n\n.clsPaletteContainer td {\n vertical-align: middle;\n}\n\n.clsSwatchStyle,\n.clsSwatchStyle_empty,\n.clsSwatchStyle_filled,\n.clsSwatchStyle_selected,\n.clsSwatchStyle_filled_selected,\n.clsVisualItem_empty {\n height: 32px;\n padding: 0;\n width: 32px;\n margin: 4px 5px;\n float: left;\n}\n\n.clsSwatchStyle_empty {\n border: 1px dashed;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n}\n\n.clsSwatchStyle_empty:hover {\n box-shadow: 0 0 0 2px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1), 0 0 0 4px hsla(var(--hover-secondary-h, 0), var(--hover-secondary-s, 0%), var(--hover-secondary-l, 29.80392%), 1);\n}\n\n.clsSwatchStyle_filled {\n border: none;\n}\n\n.clsSwatchStyle_filled:hover {\n box-shadow: 0 0 0 2px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1), 0 0 0 4px hsla(var(--hover-secondary-h, 0), var(--hover-secondary-s, 0%), var(--hover-secondary-l, 29.80392%), 1);\n}\n\n.clsSwatchStyle_selected {\n border: 1px solid;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n box-shadow: 0 0 0 2px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1), 0 0 0 4px hsla(var(--interactive-02-h, 0), var(--interactive-02-s, 0%), var(--interactive-02-l, 22.35294%), 1);\n}\n\n.clsSwatchStyle_filled_selected {\n border: none;\n box-shadow: 0 0 0 2px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1), 0 0 0 4px hsla(var(--interactive-02-h, 0), var(--interactive-02-s, 0%), var(--interactive-02-l, 22.35294%), 1);\n}\n\n.clsColorBoxStyle,\n.clsColorBoxStyle_white {\n margin: 1px 4px;\n width: 32px;\n height: 32px;\n float: left;\n}\n\n.clsColorBoxStyle_white {\n border: 1px solid;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n}\n\n.clsPaletteIcons_wrapper,\n.clsPaletteIcons_wrapper_selected {\n padding-bottom: 3px;\n margin: 0 8px;\n}\n\n.clsPaletteIcons_wrapper_selected {\n box-shadow: 0 2px hsla(var(--interactive-01-h, 219.16318), var(--interactive-01-s, 99.17012%), var(--interactive-01-l, 52.7451%), 1);\n}\n\n.clsPaletteIcons,\n.clsPaletteStandard,\n.clsPaletteGradient {\n margin-top: 10px;\n box-sizing: border-box;\n width: 22px;\n height: 22px;\n border: 2px solid;\n border-color: #8d8d8d;\n border-color: hsla(var(--ui-04-h, 0), var(--ui-04-s, 0%), var(--ui-04-l, 55.29412%), 1);\n}\n\n.clsPaletteStandard {\n background-color: #e0e0e0;\n background-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n}\n\n.clsPaletteGradient {\n background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, black 100%);\n}\n\n.clsWheelContainer {\n cursor: pointer;\n}\n\n.clsPickerWrapper {\n height: 32px;\n width: 32px;\n top: 0;\n left: 0;\n position: relative;\n display: none;\n}\n\n.clsWheelSelector {\n border: 2px solid;\n border-color: #8d8d8d;\n border-color: hsla(var(--ui-04-h, 0), var(--ui-04-s, 0%), var(--ui-04-l, 55.29412%), 1);\n border-radius: 50%;\n box-shadow: inset 0 0 0 2px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1);\n background-color: transparent;\n display: none;\n}\n\n.clsWheelSelectorEmpty {\n box-shadow: inset 0 0 0 2px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1), inset 0 0 0 3px hsla(var(--hover-secondary-h, 0), var(--hover-secondary-s, 0%), var(--hover-secondary-l, 29.80392%), 1);\n background-color: white;\n background-color: hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1);\n display: none;\n}\n\n.clsPreviewBox {\n height: 40px;\n width: 60px;\n position: relative;\n border: 1px solid;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n}\n\n.clsSelector {\n border: 2px solid;\n border-color: #393939;\n border-color: hsla(var(--interactive-02-h, 0), var(--interactive-02-s, 0%), var(--interactive-02-l, 22.35294%), 1);\n height: 32px;\n width: 32px;\n border-radius: 50%;\n box-shadow: inset 0 0 0 2px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1);\n transition: 150ms;\n}\n\n.clsContinuousIndicatorContainer {\n width: 32px;\n height: 32px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.clsContinuousIndicator {\n border: 2px solid;\n border-color: #8d8d8d;\n border-color: hsla(var(--ui-04-h, 0), var(--ui-04-s, 0%), var(--ui-04-l, 55.29412%), 1);\n border-radius: 50%;\n height: 16px;\n width: 16px;\n box-shadow: inset 0 0 0 1px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1), inset 0 0 0 2px hsla(var(--hover-secondary-h, 0), var(--hover-secondary-s, 0%), var(--hover-secondary-l, 29.80392%), 1);\n}\n\n.clsContinuousIndicator:hover {\n height: 24px;\n width: 24px;\n transition: 150ms;\n}\n\n.clsContinuousPreview {\n width: 97%;\n height: 32px;\n border: 1px solid;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n\n.clsContinuousPreviewRoundLeft {\n border-radius: 16px 0px 0px 16px;\n}\n\n.clsContinuousPreviewRoundRight {\n border-radius: 0px 16px 16px 0px;\n}\n\n/**\n * Licensed Materials - Property of IBM\n * IBM Cognos Products: BI\n * (C) Copyright IBM Corp. 2018\n * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.\n */\n\n.favoriteColors .favoritesLabel {\n margin: 0px 0px 8px 8px;\n}\n\n.favoriteColors .deleteFavorite {\n margin-left: 16px;\n -ms-flex-item-align: center;\n -ms-grid-row-align: center;\n align-self: center;\n}\n\n.favoriteColors .favoriteBox {\n border: 2px dashed;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n height: 36px;\n padding: 0;\n width: 36px;\n float: left;\n margin-left: 8px;\n}\n\n.favoriteColors .favoriteBox.filled {\n border-style: solid;\n}\n\n.favoriteColors .favoriteBox.selected {\n border-color: #161616;\n border-color: hsla(var(--ui-05-h, 0), var(--ui-05-s, 0%), var(--ui-05-l, 8.62745%), 1);\n}\n\n/**\n * Licensed Materials - Property of IBM\n * IBM Cognos Products: BI\n * (C) Copyright IBM Corp. 2019\n * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.\n */\n\n#schematicEditorToastTargetId .ba-common-globaltoast {\n position: absolute;\n width: 56%;\n left: 22%;\n}\n\n.clsSVGEditorTabs .ba-common-tabList__item.is-label {\n min-width: 120px;\n}\n\n.clsSVGSearch .ba-common-baseInput {\n width: 288px;\n}\n\n.clsSVGTileStyle,\n.clsSVGTileStyle_selected {\n position: relative;\n width: 128px;\n height: 128px;\n box-sizing: border-box;\n border: 1px solid;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n}\n\n.clsSVGTileStyle:hover,\n.clsSVGTileStyle_selected:hover {\n background-color: #f4f4f4;\n background-color: hsla(var(--ui-02-h, 0), var(--ui-02-s, 0%), var(--ui-02-l, 95.68627%), 1);\n}\n\n.clsSVGTileStyle:focus,\n.clsSVGTileStyle_selected:focus {\n outline: none;\n}\n\n.clsSVGTileStyle_selected {\n border: 2px solid;\n border-color: #e0e0e0;\n border-color: hsla(var(--selected-ui-h, 0), var(--selected-ui-s, 0%), var(--selected-ui-l, 87.84314%), 1);\n}\n\n.clsSVGTilesStyle {\n overflow: auto;\n height: 504px;\n width: 100%;\n border: 1px solid;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n text-align: center;\n}\n\n.clsSVGTabsStyle {\n padding-top: 16px;\n height: 594px;\n box-sizing: border-box;\n}\n\n.clsSVGDetailContainer {\n border: 1px solid;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n box-sizing: border-box;\n padding: 16px;\n}\n\n.clsSVGPackageEdit .ba-common-baseInput,\n.clsSVGPackageEdit .ba-common-textArea > textarea {\n width: 420px;\n}\n\n.clsSVGDetailEdit,\n.clsSVGDetailEdit .ba-common-baseInput,\n.clsSVGPackageEdit .ba-common-baseInput {\n width: 100%;\n}\n\n.clsSVGDetailEdit input,\n.clsSVGPackageEdit input,\n.clsSVGPackageEdit .ba-common-textArea > textarea {\n box-sizing: border-box;\n}\n\n.clsSVGPackageEdit .ba-common-textArea.is-fullHeight > textarea {\n height: 190px;\n}\n\n.clsSVGDetailStyle {\n height: 216px;\n width: 237px;\n}\n\n.clsSVGTileStyleMenu {\n height: 16px;\n}\n\n.clsSVGTileStyleMenu .svgIcon {\n color: #a8a8a8;\n color: hsla(var(--text-03-h, 0), var(--text-03-s, 0%), var(--text-03-l, 65.88235%), 1);\n}\n\n.clsSVGTileStyleMenu .clsSVGTileStyleMenuAnchor {\n padding-right: 4px;\n}\n\n.clsSVGTileStyleMenu:hover .svgIcon {\n color: #e0e0e0;\n color: hsla(var(--selected-ui-h, 0), var(--selected-ui-s, 0%), var(--selected-ui-l, 87.84314%), 1);\n}\n\n.clsVisualItem_empty {\n border: 1px dashed;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n}\n\n.clsVisualItem_empty:hover {\n box-shadow: 0 0 0 2px hsla(var(--ui-01-h, 0), var(--ui-01-s, 0%), var(--ui-01-l, 100%), 1), 0 0 0 4px hsla(var(--hover-secondary-h, 0), var(--hover-secondary-s, 0%), var(--hover-secondary-l, 29.80392%), 1);\n}\n\n.clsSVGIconPanel,\n.clsSVGDetailsPanel,\n.clsSVGDropZone,\n.clsSVGDndOverlay {\n width: 420px;\n height: 278px;\n box-sizing: border-box;\n}\n\n.clsSVGIconPanel {\n background-color: rgba(0, 0, 0, 0.05);\n background-color: rgba(0, 0, 0, 0.05);\n background-color: hsla(var(--background-color-hover-h, 0), var(--background-color-hover-s, 0%), var(--background-color-hover-l, 0%), 0.05);\n}\n\n.clsSVGIconRow {\n border-bottom: 2px solid;\n border-bottom-color: #e0e0e0;\n border-bottom-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n margin-left: 16px;\n margin-right: 16px;\n height: 64px;\n}\n\n#svgIconFL {\n width: 36px;\n height: 36px;\n}\n\n#svgIconIMG {\n max-width: 36px;\n max-height: 36px;\n}\n\n#svgIconFI {\n width: 100%;\n}\n\n#idAddSwatch,\n#idRemoveIcon {\n padding-right: 0px;\n}\n\n#idSchematicIconLabel {\n margin-bottom: 0px;\n}\n\n.clsSVGDropZone {\n border: 2px dashed;\n border-color: #e0e0e0;\n border-color: hsla(var(--ui-03-h, 0), var(--ui-03-s, 0%), var(--ui-03-l, 87.84314%), 1);\n}\n\n.clsSVGDropZone.dragging {\n border: 2px dashed;\n border-color: #e0e0e0;\n border-color: hsla(var(--selected-ui-h, 0), var(--selected-ui-s, 0%), var(--selected-ui-l, 87.84314%), 1);\n}\n\n.clsSVGDndOverlay {\n position: absolute;\n z-index: 1;\n display: none;\n opacity: 0.5;\n background-color: rgba(15, 98, 254, 0.5);\n background-color: hsla(var(--interactive-01-h, 219.16318), var(--interactive-01-s, 99.17012%), var(--interactive-01-l, 52.7451%), 0.5);\n}\n\n#schematicEditorFooterId {\n margin-top: 24px;\n}",""])},function(e,t){function a(e,t){var a=e[1]||"",r=e[3];if(!r)return a;if(t&&"function"==typeof btoa){var i=n(r);return[a].concat(r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"})).concat([i]).join("\n")}return[a].join("\n")}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=a(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,a){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(a&&!o[2]?o[2]=a:a&&(o[2]="("+o[2]+") and ("+a+")"),t.push(o))}},t}},function(e,t,a){function n(e,t){for(var a=0;a<e.length;a++){var n=e[a],r=f[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(u(n.parts[i],t))}else{for(var o=[],i=0;i<n.parts.length;i++)o.push(u(n.parts[i],t));f[n.id]={id:n.id,refs:1,parts:o}}}}function r(e,t){for(var a=[],n={},r=0;r<e.length;r++){var i=e[r],o=t.base?i[0]+t.base:i[0],s=i[1],l=i[2],c=i[3],u={css:s,media:l,sourceMap:c};n[o]?n[o].parts.push(u):a.push(n[o]={id:o,parts:[u]})}return a}function i(e,t){var a=g(e.insertInto);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=b[b.length-1];if("top"===e.insertAt)n?n.nextSibling?a.insertBefore(t,n.nextSibling):a.appendChild(t):a.insertBefore(t,a.firstChild),b.push(t);else if("bottom"===e.insertAt)a.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=g(e.insertInto+" "+e.insertAt.before);a.insertBefore(t,r)}}function o(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=b.indexOf(e);t>=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),i(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),i(e,t),t}function c(e,t){Object.keys(t).forEach(function(a){e.setAttribute(a,t[a])})}function u(e,t){var a,n,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var c=y++;a=v||(v=s(t)),n=d.bind(null,a,c,!1),r=d.bind(null,a,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(a=l(t),n=p.bind(null,a,t),r=function(){o(a),a.href&&URL.revokeObjectURL(a.href)}):(a=s(t),n=h.bind(null,a),r=function(){o(a)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}function d(e,t,a,n){var r=a?"":n.css;if(e.styleSheet)e.styleSheet.cssText=_(t,r);else{var i=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function h(e,t){var a=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}function p(e,t,a){var n=a.css,r=a.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(n=S(n)),r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(o),s&&URL.revokeObjectURL(s)}var f={},m=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),g=function(e){var t={};return function(a){if(void 0===t[a]){var n=e.call(this,a);if(n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[a]=n}return t[a]}}(function(e){return document.querySelector(e)}),v=null,y=0,b=[],S=a(38);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=m()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var a=r(e,t);return n(a,t),function(e){for(var i=[],o=0;o<a.length;o++){var s=a[o],l=f[s.id];l.refs--,i.push(l)}if(e){n(r(e,t),t)}for(var o=0;o<i.length;o++){var l=i[o];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete f[l.id]}}}};var _=function(){var e=[];return function(t,a){return e[t]=a,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var a=t.protocol+"//"+t.host,n=a+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return e;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?a+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=function(){function e(){n(this,e)}return e.createPaletteViaHue=function(e,t){for(var a=[],n=360/e,r=t.hue,i=0;i<e;i++){var o=r+n*i;o<0?o=360-o:o>360&&(o-=360),a.push({hue:o,sat:t.sat,light:t.light})}return a},e.createPaletteViaLight=function(e,t){for(var a=[],n=t.light,r=e>1?n/(e-1):0,i=0;i<e;i++)a.push({hue:t.hue,sat:t.sat,light:n-i*r});return a},e}();t.default=r},function(e,t,a){!function(t,n){e.exports=n(a(7))}("undefined"!=typeof self&&self,function(e){return webpackJsonPBaGraphics([546],{"10eed102fbc488d5f846":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3865314c5959606874d4"),r=(a.n(n),a("33c7892ad4967aa3ba24"));t.default=r.a},"33c7892ad4967aa3ba24":function(e,t,a){"use strict";var n=a("9689a9c94ae38b47fa2c"),r=a.n(n),i=a("9ce58a7deea14f49ef01"),o=a.n(i),s=new r.a({id:"repeat_32_v7",use:"repeat_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="repeat_32_v7"><path d="M26 6H5.83l3.58-3.59L8 1 2 7l6 6 1.41-1.41L5.83 8H26v7h2V8a2 2 0 00-2-2zm-3.41 14.41L26.17 24H6v-7H4v7a2 2 0 002 2h20.17l-3.58 3.59L24 31l6-6-6-6z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});o.a.add(s),t.a=s},"3865314c5959606874d4":function(t,a){t.exports=e}},["10eed102fbc488d5f846"])})},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=a(23),i=n(r),o=a(1),s=n(o),l=a(5),c=n(l),u=a(0),d=n(u),h=a(6),p=n(h),f=a(9),m=n(f),g=a(42),v={my:["edit","duplicate","delete"],local:["duplicate"],public:["duplicate"],system:["duplicate"]},y=["mru","local","my","public","system"],b=g.extend({init:function(e){b.inherited("init",this,arguments),this._sectionOpenState={},this._initialSelectedId=e.selectedId,c.default.extend(this,e)},_createBannerSpec:function(){var e=this;return{type:"Banner",value:s.default.get("changePaletteLabel"),name:"changePaletteBanner",id:"changePaletteBanner",centerLabel:!0,onClose:function(){e._handleUpdatingMRU(),e.onCloseCb?e.onCloseCb():e.slideout&&e.slideout.hide()},clickables:[{type:"icon",name:"addNewPalette",svgIcon:"common-add-new",iconTooltip:s.default.get("createPalette"),clickCallback:this._openPaletteCreator.bind(this)}],backButton:!0}},_openPaletteCreator:function(){var e=this,t=d.default.createElement(i.default,{key:"addNewPalette",glassContext:this.glassContext,onPaletteCreated:this.onPaletteCreated.bind(this),paletteType:this.createPaletteType,removeDialog:function(){(0,m.default)(document.body).find(".paletteDialogContainer").remove()},ref:function(t){e.palleteDialog=t}}),a=(0,m.default)(document.body).find(".paletteDialogContainer");0===a.length&&(a=(0,m.default)('<div class="paletteDialogContainer">'),(0,m.default)(document.body).append(a)),p.default.render(t,a.get(0)),this.palleteDialog.openDialog()},_createSectionSpec:function(e){var t=this;return{type:"CollapsibleSection",label:s.default.get(e+"PaletteLabel"),id:"sectionLabel"+e,name:e,styleAsSimpleRow:!0,hideSectionTitle:!!this.hideSectionTitle&&this.hideSectionTitle,items:[],onOpenChange:function(e,a){t._sectionOpenState[e]=a}}},_createPaletteSpec:function(e,t){var a=this;y.forEach(function(n){if(e[n]&&e[n].length>0){var r=null;!1!==a.useSections&&(r=a._createSectionSpec(n),t.push(r));var i=r||t;e[n].forEach(function(e){var t=a.selectedId===e.id,r={type:"NewPalette",id:e.id,name:a.name,reverse:a.reverse,selected:t,palette:e,createPaletteType:a.createPaletteType,isAdminUI:a.isAdminUI,onChange:a.onPaletteChange.bind(a),readOnly:!1};a.menuItems&&a.menuItems[e.section]?r.menuItems=a.menuItems[e.section]:r.menuItems=v[e.section],!1!==a.useSections?(t&&void 0===a._sectionOpenState[n]&&(a._sectionOpenState[n]=!0),a._sectionOpenState[n]&&(i.open=!0),i.items.push(r)):i.push(r)})}})},_getPropertySpec:function(){var e=this,t=[];return!1!==this.showHeader&&t.push(this._createBannerSpec()),this.getPalettes().then(function(a){return e._augmentPalettes(a),e.palettes=a,e._trimCustomPalettes(a),e._getMRUPalettes().then(function(n){return a.mru=n||[],e._createPaletteSpec(a,t),0===t.length?null:{el:e.$el,glassContext:e.glassContext,items:t,ariaLabel:t[0].value,primaryUIControl:!0}})})},_augmentPalettes:function(e){if(e){for(var t in e)!function(t){e[t]&&e[t].length>0&&e[t].forEach(function(e){e.section=t})}(t)}},_getMRUPalettes:function(){var e=this,t=[];return!1!==this.showRecentlyUsed&&this._paletteService?this._paletteService.getRecentlyUsedPaletteInfo(this._getFillType()).then(function(a){return a.forEach(function(a){if(t.length<3){var n=e._findPaletteFromId(a.id);n&&t.push(n)}}),t}):Promise.resolve(t)},_getFillType:function(){if(this._fillType)return this._fillType;for(var e in this.palettes)if(this.palettes[e]&&this.palettes[e].length>0)for(var t=this.palettes[e],a=0;a<t.length;a++)if(t[a].content&&t[a].content.fillType)return this._fillType=t[a].content.fillType,this._fillType},_findPaletteFromId:function(e){var t=this;if(!this.palettes)return null;var a=this._getRealPaletteId(e);for(var n in this.palettes)if(this.palettes[n]){var r=c.default.find(this.palettes[n],function(e){return t._getRealPaletteId(e.id)===a});if(r)return r}return null},_trimCustomPalettes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.my,a=e.public;if(t&&a)for(var n=0;n<t.length;n++){var r=t[n].id;(function(e){return c.default.find(a,function(t){return t.id===e})})(r)&&(t.splice(n,1),n--)}},onPaletteCreated:function(e){this.onCreatePalette&&(this.selectedId=this.onCreatePalette(e))},_registerPaletteServiceEvents:function(){this._paletteService&&!this._regisered&&(this._regisered=!0,this._paletteService.on("palette:created",this.render,this),this._paletteService.on("palette:updated",this._onPaletteUpdate,this),this._paletteService.on("palette:deleted",this._onPaletteDelete,this))},_unregisterPaletteServiceEvents:function(){this._paletteService&&(this._paletteService.off("palette:created",this.render,this),this._paletteService.off("palette:updated",this._onPaletteUpdate,this),this._paletteService.off("palette:deleted",this._onPaletteDelete,this))},onPaletteChange:function(e,t){this.selectedId=t.id,this.onChange&&this.onChange(e,t)},_handleUpdatingMRU:function(){if(this.selectedId!==this._initialSelectedId){var e=this._findPaletteFromId(this.selectedId);if(e&&"local"!==e.section){var t=this.name||"",a="condColorPalette"===t||0===t.indexOf("contColorPalette");this._paletteService.addRecentlyUsedPalette({palette:e,isSystem:"system"===e.section,component:this.component,propName:t,trimSystemByPropName:a})}}},_getRealPaletteId:function(e){return this._paletteService.getCMSafePaletteId(e)},_onPaletteUpdate:function(e){var t=e.paletteId;this._updatePaletteProperties({properties:this._propertyUIControl.getProperties(),paletteIdToUpdate:t,action:"update"})},_updatePaletteProperties:function(e){for(var t=this,a=e.properties,n=e.paletteIdToUpdate,r=e.action,i=e.parentProperty,o=0;o<a.length;o++)!function(e){var s=a[e];if("CollapsibleSection"===s.type)t._updatePaletteProperties({properties:s._oPropertyUIControl.getProperties(),paletteIdToUpdate:n,action:r,parentProperty:s});else if("NewPalette"===s.type&&s.palette&&t._getRealPaletteId(s.palette.id)===n){var l=s.$el.find(".property_"+s.id);"update"===r?(l.remove(),t._paletteService.getPalette(n).then(function(e){s.palette.content=e.content,s.doRender()})):"delete"===r&&(a.splice(e,1),e--,0===a.length&&i?(i.$el.find(".collapsibleSectionToggle"+i.id).remove(),i.$el.find(".property_"+i.id).remove()):l.remove())}o=e}(o)},_onPaletteDelete:function(e){var t=e.paletteId;if(this._getRealPaletteId(t)===this._getRealPaletteId(this.selectedId)){var a=null,n=this._findPaletteFromId(t);if(n)for(var r=n.section,i=0;i<this.palettes[r].length;i++)if(this._getRealPaletteId(this.palettes[r][i].id)!==this._getRealPaletteId(t)){a=this.palettes[r][i],this._sectionOpenState[r]=!0;break}!a&&this.palettes.system&&(a=this.palettes.system[0],this._sectionOpenState.system=!0),a&&this.onPaletteChange(this.name,{id:a.id,reverse:this.reverse}),this.render()}else this._updatePaletteProperties({properties:this._propertyUIControl.getProperties(),paletteIdToUpdate:t,action:"delete"})},updateSelection:function(){if(this.getPaletteId){var e=this.getPaletteId();e&&e!==this.selectedId&&(this.selectedId=e,this.$el&&this.$el.find(".paletteColors.selected").removeClass("selected").attr("aria-pressed","false"),this.$el&&this.$el.find(".property_"+e).addClass("selected").attr("aria-pressed","true"))}},remove:function(){this._unregisterPaletteServiceEvents(),this.onRemove&&this.onRemove()},render:function(){var e=this;return this.$el.parent().addClass("changePalettePane"),this._propertyUIControl&&(this._propertyUIControl.remove(),this.$el.empty()),this.glassContext.getSvc(".Palette").then(function(t){return e._paletteService=t,e._getPropertySpec().then(function(t){return t&&t.items&&t.items.length?new Promise(function(n){new Promise(function(e){e()}).then(function(){var r=[a(50)];(function(a){return e._propertyUIControl=new a(t),e._propertyUIControl.render().then(function(){e._propertyUIControl.focus(),e._registerPaletteServiceEvents(),n(e._propertyUIControl)})}).apply(null,r)}).catch(a.oe)}):void e._registerPaletteServiceEvents()})})},getPropertyUIControl:function(){return this._propertyUIControl}});t.default=b},function(e,t,a){"use strict";var n,r;n=[a(9),a(5),a(43),a(18),a(44)],void 0!==(r=function(e,t,a,n){var r=null,i=/^(\S+)\s*(.*)$/,o=["el","id","className","tagName","events"];return r=n.extend({templateString:null,id:null,init:function(e){r.inherited("init",this,arguments),this.viewId=t.uniqueId("view"),this.dotTemplate=a.template(this.templateString||""),t.extend(this,t.pick(e||{},o)),this._initDomElement(),this._attachEvents()},tagName:"div",_initDomElement:function(){if(this.el)this.setElement(t.result(this,"el"));else{var e={};this.id&&(e.id=t.result(this,"id")),this.className&&(e.class=t.result(this,"className")),this.setElement(document.createElement(this.tagName)),this.$el.attr(e)}},$:function(e){return this.$el.find(e)},hide:function(){this.$el.hide()},show:function(){this.$el.show()},getTarget:function(t,a){var n=e(t);if(!n.hasClass(a)){var r=n.parents("."+a);r.length>0&&(t=r[0])}return t},render:function(){return this},remove:function(){return this.$el&&this.$el.remove(),this.off&&this.off(),this},setElement:function(t){return this._detachEvents(),this.$el=t instanceof e?t:e(t),this.el=this.$el[0],this._attachEvents(),this},_attachEvents:function(){var e=this.events;this._detachEvents();for(var a in e){var n=e[a];if(t.isFunction(n)||(n=this[e[a]]),n){var r=a.match(i),o=r[1],s=r[2];this.$el.on(o+".privateViewEvents"+this.viewId,s,n.bind(this))}}return this},_detachEvents:function(){return this.$el&&this.$el.off(".privateViewEvents"+this.viewId),this}})}.apply(t,n))&&(e.exports=r)},function(e,t){e.exports=o},function(e,t,a){"use strict";var n,r;n=[a(9),a(45),a(46),a(5),a(48),a(49)],void 0!==(r=function(e,t,a,n,r){var i=[];for(var o in r.gestures)r.gestures.hasOwnProperty(o)&&i.push(r.gestures[o].name);var s={prevent_mouseevents:!0,stop_browser_behavior:!1};e.each(i,function(t,a){e.event.special[a]={setup:function(){var t=e(this);t.data("hammer")||t.hammer(s)}}}),e.fn.onClick=function(e){return this.on("click",function(t){e(t)}).on("tap",function(t){e(t),t.gesture.preventDefault()}),this};var l=function(t,a){var n=["padding-top","padding-right","padding-bottom","padding-left","margin-top","margin-right","margin-bottom","margin-left","border-bottom-color","border-bottom-style","border-bottom-width","border-top-color","border-top-style","border-top-width","border-right-color","border-right-style","border-right-width","border-left-color","border-left-style","border-left-width","position","top","right","left","bottom","height","width","min-height","min-width","max-height","max-width"],r=t.css(n);if("0px"===r.height&&delete r.height,"0px"===r.width&&delete r.width,a&&a.maxSizeNode){var i=e(a.maxSizeNode);a.maxSizeNode.style.width?(r["max-width"]="100%",delete r.width):r["max-width"]=i.width()+"px"}return r},c=function(e){var t={width:"0px","min-width":e.css("fontSize")},a=e.css("text-align");return"center"===a?t.margin="0px auto":"right"===a&&(t.margin="0px 0px 0px auto"),t},u=function(e){return e.css(["fontSize","fontFamily","fontWeight","letterSpacing","color"])},d=function(a,n,r){var i=a._$inlineEdit;a._updateWidth=function(){if(i){var e=i.val()||"";e!==i._hidden.text()&&(i._hidden.text(e),i.width(i._hidden.width()+2))}},a._inlineEditChangedFn=function(){var e=i.val().trim();0===e.length&&r.noEmptyText&&(e=a._previousInlineText),i.removeClass("inlineText").off("keypress").off("keydown").off("blur");var t=!1;a._previousInlineText!==e&&(t=!0),a._previousInlineText=null,i._hidden.remove(),i._hidden=null,i.off(),i.hide(),i.parent().remove(),i=null,a._$inlineEdit=null,a.text(e),a.removeClass("inEditMode"),a.show().focus(),t&&n(e);var o=r&&r.onEditEnd;o&&o()}.bind(a);var o=a.text();if(a._previousInlineText=o,i)i.val(o);else{a.addClass("inEditMode");var s=e("<div>",{class:"inlineEditContainer"});s.css(l(a,r)),a.after(s),i=e("<input>",{class:"inlineText"}),i.css("max-width","100%"),i.css(c(a));var d=u(a);i.css(d),s.append(i),a._$inlineEdit=i,i.val(o),i._hidden=e('<div style="white-space:pre; top:-999px; left:-999px; position:absolute;"/>'),i._hidden.css(d),a.hide(),a.after(i._hidden),i.on("keyup keydown input propertychange change",function(){a._updateWidth()}),r&&r.style&&i.css(r.style),a._updateWidth(),i.on("blur",a._inlineEditChangedFn).on("keypress",function(e){13===e.keyCode&&a._inlineEditChangedFn()}).on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||e.stopPropagation()}).on("keydown",function(e){37!==e.keyCode&&39!==e.keyCode||e.stopPropagation()}).on("mousedown mouseup dblclick",function(e){e.stopPropagation()}),t.initElementForBidi(i[0]),i.show()}return i.focus(),i[0].setSelectionRange(0,9999),!1};e.fn.inlineEditor=function(e,t){if("remove"===e)this._$inlineEdit&&this._inlineEditChangedFn(),this.off("dblclick",this._inlineEditFn),this.off("hold",this._inlineEditFn),delete this._inlineEditFn,delete this._previousInlineText,delete this._inlineEditChangedFn,delete this._updateWidth;else if("blur"===e)this._$inlineEdit&&this._inlineEditChangedFn();else{if("isEditing"===e)return!!this._$inlineEdit;if("edit"===e)this._inlineEditFn&&this._inlineEditFn();else{var n=t&&t.onEditStart;this._inlineEditFn=function(r){a.resetDragging(),n&&n(),d(this,e,t),r&&r.stopPropagation()}.bind(this),this.hammer({stop_browser_behavior:!1,prevent_mouseevents:!0}),this.on("dblclick",this._inlineEditFn),this.on("hold",this._inlineEditFn),this.on("keypress",function(e){var t=e.keyCode||e.charCode;13!==t&&32!==t||this._inlineEditFn(e)}.bind(this))}}}}.apply(t,n))&&(e.exports=r)},function(e,t,a){"use strict";var n,r;n=[],void 0!==(r=function(){var e="auto",t={"General Info":{"Generated from":"CLDR Version: 30.0.3","Generated by":"BDL CLDR Reader Tool",Date:"16-03-17 12:40:12"},"Arabic Default Numbering Systems":{ar:"arab",ar_AE:"arab",ar_BH:"arab",ar_DJ:"arab",ar_DZ:"latn",ar_EG:"arab",ar_EH:"latn",ar_ER:"arab",ar_IL:"arab",ar_IQ:"arab",ar_JO:"arab",ar_KM:"arab",ar_KW:"arab",ar_LB:"arab",ar_LY:"latn",ar_MA:"latn",ar_MR:"arab",ar_OM:"arab",ar_PS:"arab",ar_QA:"arab",ar_SA:"arab",ar_SD:"arab",ar_SO:"arab",ar_SS:"arab",ar_SY:"arab",ar_TD:"arab",ar_TN:"latn",ar_YE:"arab"}},a=t["Arabic Default Numbering Systems"],n=function(){this._isIE=this._detectIE(navigator.userAgent),this.userPreferredTextDir=this._getUserPreferredTextDir()||e,this.LRE="",this.RLE="",this.PDF="",this.LRM=""};return n.prototype._detectIE=function(e){return/\b(MSIE|Trident|Edge)\b/.test(e)},n.prototype._getUserPreferredTextDir=function(){return this.userPreferredTextDir||(this.userPreferredTextDir=document.documentElement.getAttribute("data-pref-text-dir")),this.userPreferredTextDir},n.prototype._getNodeValue=function(e){return e.value||"INPUT"===e.tagName?e.value:e.textContent},n.prototype._setNodeValue=function(e,t){e.value||"INPUT"===e.tagName?e.value=t:e.textContent=t},n.prototype._isArabicChar=function(e){return e>=1536&&e<=1641||e>=1786&&e<=2047||e>=64336&&e<=65023||e>=65136&&e<=65276},n.prototype._isHebrewChar=function(e){return e>=1488&&e<=1535},n.prototype._isBidiChar=function(e){return this._isArabicChar(e)||this._isHebrewChar(e)},n.prototype._isLatinChar=function(e){return e>64&&e<91||e>96&&e<123},n.prototype._handleInputEvent=function(e){this._resolveDirAttr(e.target)},n.prototype._addBidiEventListeners=function(e){if(!e._hasBidiEventListeners){e._hasBidiEventListeners=!0;for(var t=["keyup","cut","paste"],a=0;a<t.length;++a)e.addEventListener(t[a],this._handleInputEvent.bind(this),!1)}},n.prototype._resolveDirAttr=function(t){if(!this._isIE||this.userPreferredTextDir!==e&&this.userPreferredTextDir)t.dir=this.userPreferredTextDir||e;else{var a=this._getNodeValue(t);t.dir=this.resolveBaseTextDir(a)}},n.prototype._parseSTT=function(e,t){var a,n=t?">":":/@=[]'<>",r=[],i=0;for(a=0;a<e.length;a++)n.indexOf(e.charAt(a))>=0&&(r[i]=a,i++);return r},n.prototype.initElementForBidi=function(e){e&&(this._resolveDirAttr(e),this._isIE&&this._addBidiEventListeners(e))},n.prototype.enforceTextDirection=function(e){if(e){var t=this.resolveBaseTextDir(e),a=e;return"ltr"===t?a=this.LRE+a+this.PDF:"rtl"===t&&(a=this.RLE+a+this.PDF),a}return e},n.prototype.resolveBaseTextDir=function(t,a){var n=this.userPreferredTextDir;if(n||(n=e),n===e&&(!a||this._isIE)){for(var r=0;t&&r<t.length;r++){var i=t.charCodeAt(r);if(this._isBidiChar(i)){n="rtl";break}if(this._isLatinChar(i)){n="ltr";break}}this._isIE&&n===e&&(n="")}return n},n.prototype.enforceTextDirectionForSTT=function(e){if(e){e=this.removeMarkers(e);var t,a=(e.match(/ > /g)||[]).length>0,n=this._parseSTT(e,a),r="",i=this.LRM,o=a?1:0;r=0===n.length?this.enforceTextDirection(e):this.enforceTextDirection(e.substring(0,n[0]-o));for(var s=0;s<n.length;s++)if(t=n[s]){var l=s<n.length-1?n[s+1]-o:e.length,c=e.substring(t+1+o,l);r=r+i+e.substring(t-o,t+o+1)+this.enforceTextDirection(c)}return r}return e},n.prototype.enforceTextDirectionForLocation=function(e){return this.enforceTextDirectionForSTT(e)},n.prototype.removeMarkers=function(e){return e.replace(/[\u202A\u202B\u202C\u200E]/g,"")},n.prototype._isArabicLocale=function(e){return e.match(/^ar[-_].*$/i)},n.prototype._useLatinNums=function(e){return!this._isArabicLocale(e)||a[e]&&"latn"===a[e]},n.prototype.enforceNumericShaping=function(t,a){if(this.bidiSupport&&this.userPreferredContentLocale.startsWith("ar")&&("number"==typeof t||"string"==typeof t)){var n=this.userPreferredTextDir;this.userPreferredTextDir===e&&(n=this.resolveBaseTextDir(t));var r="undefined"==typeof navigator?"":navigator.language||navigator.userLanguage||"";r=r.replace("-","_");var i=t;"number"==typeof t&&(i=t.toString());var o=/([0-9])|([\u0660-\u0669])|([\u0590-\u05FF\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FF\u0750-\u077F\u08A0-\u08E3\u200F\u202B\u202E\u2067\uFB50-\uFD3D\uFD40-\uFDCF\uFDF0-\uFDFC\uFDFE-\uFDFF\uFE70-\uFEFE]+)|([^0-9\u0590-\u05FF\u0660-\u0669\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FF\u0750-\u077F\u08A0-\u08E3\u200F\u202B\u202E\u2067\uFB50-\uFD3D\uFD40-\uFDCF\uFDF0-\uFDFC\uFDFE-\uFDFF\uFE70-\uFEFE\u0600-\u0607\u0609-\u060A\u060C\u060E-\u061A\u064B-\u066C\u0670\u06D6-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u08E4-\u08FF\uFD3E-\uFD3F\uFDD0-\uFDEF\uFDFD\uFEFF\u0000-\u0040\u005B-\u0060\u007B-\u007F\u0080-\u00A9\u00AB-\u00B4\u00B6-\u00B9\u00BB-\u00BF\u00D7\u00F7\u02B9-\u02BA\u02C2-\u02CF\u02D2-\u02DF\u02E5-\u02ED\u02EF-\u02FF\u2070\u2074-\u207E\u2080-\u208E\u2100-\u2101\u2103-\u2106\u2108-\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A-\u213B\u2140-\u2144\u214A-\u214D\u2150-\u215F\u2189\uA720-\uA721\uA788\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE]+)/g,s=this;return i.replace(o,function(e,t,i,o,l){return i?a&&"ltr"===n||!a&&s._useLatinNums(r)?i.charCodeAt(0)-1632:i:t?a&&"rtl"===n||!a&&!s._useLatinNums(r)?String.fromCharCode(parseInt(t)+1632):t:(o?n="rtl":l&&(n="ltr"),e)})}return t},n.prototype.setUserPreferredTextDir=function(e,t){this.userPreferredTextDir="",this.bidiSupport=!1,"true"===t&&(this.userPreferredTextDir=e.toLowerCase(),this.bidiSupport=!0)},n.prototype.setUserPreferredContentLocale=function(e){this.userPreferredContentLocale=e},new n}.apply(t,n))&&(e.exports=r)},function(e,t,a){"use strict";var n,r;n=[a(9),a(5),a(10),a(47)],void 0!==(r=function(e,t,a,n){return new(a.extend({dropTargets:null,currentDropTarget:null,init:function(){this.dropTargets=[],this.currentDropTarget={},this.addDropTarget(e("body")[0],".dialogBlocker",{accepts:function(){return!0}})},on:function(e,t,a,n,r){return e.on(t,a,n,r),{remove:function(){e.off(t,a,r)}}},addDropTarget:function(e,t,a){return"string"!=typeof t&&(a=t,t=null),this.removeDropTarget(e),this.dropTargets.push({el:e,selector:t,callbacks:a}),{remove:function(){this.removeDropTarget(e)}.bind(this)}},removeDropTarget:function(e){var a=t.find(this.dropTargets,function(t){return t.el===e});a&&this.dropTargets.splice(t.indexOf(this.dropTargets,a),1)},_isScrollDropSupported:function(){return!(!this.currentDropTarget.target||!this.currentDropTarget.target.callbacks.isScrollDropSupported)},_validateDropTarget:function(t,a,n){var r=t;return a&&((n.x+1>=e(window).innerWidth()||n.y+1>=e(window).height()||n.x<=1||n.y<=1)&&(r=r?this._getClosestTargetWithScrollSupport(r.node):this.lastActiveScrollableTarget),!r&&this.currentDropTarget&&(r=this._getClosestTargetWithScrollSupport(this.currentDropTarget.node))),r||{}},_getClosestTargetWithScrollSupport:function(t){var a=e(t).parents();a.splice(0,0,t);for(var n=null,r=0;r<a.length;r++)if(n=this._getDropTargetWithScrollSupport(a[r])){this.lastActiveScrollableTarget=n;break}return n},_getDropTargetWithScrollSupport:function(a){var n=null,r=t.find(this.dropTargets,function(n){var r=e(n.el);return n.selector&&(r=r.find(n.selector)),t.find(r,function(e){return e===a&&n.callbacks.isScrollDropSupported&&(!n.callbacks.accepts||n.callbacks.accepts(this.dragObject))}.bind(this))}.bind(this));return r&&(n={target:r,node:a}),n},getDropTargetFromPos:function(a,n){var r=n&&!n.disableScrollableDropZoneSupport,i=null,o=0,s=0,l=[];return t.each(this.dropTargets,function(n){var r=e(n.el);n.selector&&(r=r.find(n.selector)),t.each(r,function(e){var t=this.getTargetMatchInformation(a,e,n,i,o,s);t.isMatch&&(!n.callbacks.accepts||n.callbacks.accepts(this.dragObject)?(i={target:n,node:e},o=t.area,s=t.priority):n.callbacks.receiveEventsWhenNotAccepting&&l.push({target:n,node:e}))}.bind(this))}.bind(this)),i=this._validateDropTarget(i,r,a),i&&(i.nonActiveDropZones=l),i||{}},_isInRange:function(e,t,a){return e>=t&&e<t+a},_getPriority:function(e){var t=e.callbacks.priority;return"function"==typeof t&&(t=t()),t||0},getTargetMatchInformation:function(t,a,n,r,i,o){var s={},l=e(a),c=a.getBoundingClientRect();if(l.is(":visible")){var u=this._isInRange(t.x,c.left,c.width),d=this._isInRange(t.y,c.top,c.height);u&&d&&(s={area:c.width*c.height,priority:this._getPriority(n)},s.isMatch=!r||s.priority>o||i>s.area&&s.priority>=o)}return s},getDropTargetFromNode:function(e){for(var t=null,a=0;a<this.dropTargets.length;a++)if(e===this.dropTargets[a].el){t=this.dropTargets[a];break}return t},dragObject:null,startDrag:function(t){if(!this.dragObject){e("body").addClass("preventSelection"),this.isDragStartCalled=!1,this.targetMap={};var a=n.isTouchEvent(t.event);this.dragObject={type:t.type,data:t.data,avatar:t.avatar,isTouch:a||void 0!==t.event.gesture};var r=n.getEventPos(t.event);this.dragObject.startPosition={x:r.pageX,y:r.pageY},this.setAvatar(t.avatar,t),this.callerCallbacks=t.callerCallbacks?t.callerCallbacks:{};var i=e(window);if(a&&(i=e(n.getEventTarget(t.event))),this.attachedMoveHandler=this.on(i,"mousemove touchmove",this.moveHandler.bind(this,t)),this.attachedUpHandler=this.on(i,"mouseup touchend touchcancel",this.upHandler.bind(this)),"mousedown"===t.event.type&&(this.attachedScrollHandler=this.on(e(t.event.target),"scroll",this.scrollHandler.bind(this))),t.currentDropZoneNode){var o=this.getDropTargetFromNode(t.currentDropZoneNode);o&&(this.currentDropTarget={target:o,node:t.currentDropZoneNode})}}},scrollHandler:function(){this.resetDragging()},_setAvatarPosition:function(t){if(this.avatar&&this.dragObject.position){this.avatar.parentNode||e("body").append(this.avatar);var a=t&&t.avatarXOffset?t.avatarXOffset:1,n=t&&t.avatarYOffset?t.avatarYOffset:1;e(this.avatar).css({left:this.dragObject.position.x+a+"px",top:this.dragObject.position.y+n+"px"})}},setAvatar:function(e,t){this.avatar=e,this._setAvatarPosition(t)},moveHandler:function(e,t){t.preventDefault();var a=n.getEventPos(t),r=a.pageX,i=a.pageY;if(this.dragObject.position={x:r,y:i},e.restrictToXAxis&&(this.dragObject.position.y=this.dragObject.startPosition.y),e.restrictToYAxis&&(this.dragObject.position.x=this.dragObject.startPosition.x),this.isDragStartCalled||!this._isThresholdNotMet(e)){this._setAvatarPosition(e);var o=this.getDropTargetFromPos(this.dragObject.position,e);this._callStartDrag(t),this._callMove(o,t),this._processCallbacks(o)}},_processCallbacks:function(e){var t=this.currentDropTarget.nonActiveDropZones;e.target!==this.currentDropTarget.target||e.node!==this.currentDropTarget.node?(this._dropTargetCallback(this.currentDropTarget,"onDragLeave"),this.currentDropTarget=e,this._dropTargetCallback(this.currentDropTarget,"onDragEnter")):this._dropTargetCallback(this.currentDropTarget,"onDragMove"),this._processCallbacksForNonActiveDropzones(e.nonActiveDropZones,t)},_processCallbacksForNonActiveDropzones:function(e,a){t.each(e,function(e){this._isDropZoneInArray(e,a)?this._dropTargetCallback(e,"onDragMove"):this._dropTargetCallback(e,"onDragEnter")}.bind(this)),a&&t.each(a,function(t){this._isDropZoneInArray(t,e)||this._dropTargetCallback(t,"onDragLeave")}.bind(this)),this.currentDropTarget.nonActiveDropZones=e},_dropTargetCallback:function(e,t){return!(!e.target||!e.target.callbacks[t])&&(e.target.callbacks[t](this.dragObject,e.node),!0)},_isDropZoneInArray:function(e,t){var a=!1;if(t)for(var n=0;n<t.length;n++)if(e.target===t[n].target){a=!0;break}return a},_isThresholdNotMet:function(e){var t=e.moveXThreshold||e.moveYThreshold,a=!e.moveXThreshold||e.moveXThreshold>Math.abs(this.dragObject.position.x-this.dragObject.startPosition.x),n=!e.moveYThreshold||e.moveYThreshold>Math.abs(this.dragObject.position.y-this.dragObject.startPosition.y);return t&&a&&n},_callMove:function(e,t){this.callerCallbacks.onMove&&this.callerCallbacks.onMove(t,{dragObject:this.dragObject,dropTargetNode:e.node})},_callStartDrag:function(a){this.callerCallbacks.onDragStart&&!this.isDragStartCalled&&(this.callerCallbacks.onDragStart(a,{dragObject:this.dragObject}),t.each(this.dropTargets,function(e){e.callbacks.onDragStart&&e.callbacks.onDragStart(this.dragObject)}.bind(this))),e("body").addClass("dragging"),this.isDragStartCalled=!0},upHandler:function(a){if(this.isDragStartCalled){var n=!1;e("body").removeClass("dragging");var r=this.currentDropTarget;this._dropTargetCallback(r,"onDrop")&&(n=!0),this.callerCallbacks.onDragDone&&this.callerCallbacks.onDragDone(a,{dragObject:this.dragObject,dropTargetNode:n?r.node:null,isDropped:n}),r.nonActiveDropZones&&t.each(r.nonActiveDropZones,function(e){this._dropTargetCallback(e,"onDrop")}.bind(this)),t.each(this.dropTargets,function(e){e.callbacks.onDragEnd&&e.callbacks.onDragEnd(this.dragObject)}.bind(this))}this.resetDragging()},resetDragging:function(){document.releaseCapture&&document.releaseCapture(),this.attachedMoveHandler&&this.attachedMoveHandler.remove(),this.attachedUpHandler&&this.attachedUpHandler.remove(),this.attachedScrollHandler&&this.attachedScrollHandler.remove(),e("body").removeClass("preventSelection"),this.currentDropTarget={},this.dragObject=null,this.isDragStartCalled=!1,this.targetMap=null,this.lastActiveScrollableTarget=null,e(this.avatar).remove()}}))}.apply(t,n))&&(e.exports=r)},function(e,t,a){"use strict";var n,r;n=[],void 0!==(r=function(){return{getAncestorOfClass:function(e,t){for(var a=document;e&&e!==a;){if(e.className.split(" ").indexOf(t)>=0)return e;e=e.parentNode}return null},isTouchEvent:function(e){return 0===e.type.indexOf("touch")},isPointerTouch:function(e){return e.gesture&&"touch"===e.gesture.pointerType},isMultiTouchEvent:function(e){var t=e.originalEvent||e;return!!(t&&t.touches&&t.touches.length>1)},isGesture:function(e){return!!(e.gesture&&e.gesture.touches&&e.gesture.touches.length>0)},getEventPos:function(e){var t,a=function(e){return e&&(e.pageX||0===e.pageX)&&(e.pageY||0===e.pageY)};if(this.isGesture(e)){var n=e.gesture.touches[0];a(n)&&(t={pageX:n.pageX,pageY:n.pageY})}if(!t&&this.isTouchEvent(e)){var r=e.originalEvent||e;r&&r.touches.length>0&&a(r.touches[0])&&(t={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY})}return!t&&a(e)&&(t={pageX:e.pageX,pageY:e.pageY}),!t&&a(e.originalEvent)&&(t={pageX:e.originalEvent.pageX,pageY:e.originalEvent.pageY}),t||(t={pageX:0,pageY:0}),t},getEventTarget:function(e){if(this.isTouchEvent(e)){var t=e.originalEvent||e;if(t&&t.touches.length>0)return t.touches[0].target}return e.target},withinElementBoundaries:function(e,t){var a=this.getEventPos(e),n=t.getBoundingClientRect(),r=a.pageX>=n.left&&a.pageX<=n.right,i=a.pageY>=n.top&&a.pageY<=n.bottom;return r&&i}}}.apply(t,n))&&(e.exports=r)},function(e,t){e.exports=s},function(e,t){e.exports=l},function(e,t){e.exports=c},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(2),u=n(c),d=a(1),h=n(d),p=a(52),f=n(p),m=a(68),g=n(m),v=a(26),y=n(v),b=a(3);a(4);var S=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));n.componentDidMount=function(){},n.openDialog=function(){n.setState({isDialogOpen:!0})},n.applyDialog=function(){n.props.okCallbackFn(n.state.definition),n.closeDialog()},n.closeDialog=function(){var e=n.props.onCloseDialog;n.setState({isDialogOpen:!1},function(){e&&e()})},n._cloneJsonObject=function(e){return JSON.parse(JSON.stringify(e))},n._renderGlobalToast=function(){var e=n.state.toastMsg;return e&&e.type&&e.info&&l.default.createElement(b.GlobalToast,{statusType:e.type,timedDismiss:!0,contentString:e.info,targetId:"schematicEditorToastTargetId",onClose:function(){n.setState({toastMsg:null})}})},n._updatePackageInfo=function(e){var t=n._cloneJsonObject(n.state.definition);t.meta[e.name]=e.value,n.setState({definition:t})},n._handleContentChange=function(e){n.setState(e)},n._iconLoadFailed=function(e){n.setState({toastMsg:{type:y.default.ERROR,info:e.message}})},n._handleIconLoad=function(e,t){var a=n._cloneJsonObject(n.state.definition);a.meta.icon=e,a.iconUrl=t;var r=e?h.default.get("schematicsIconAdded",{file:e}):h.default.get("schematicsIconRemove");n.setState({toastMsg:{type:y.default.SUCCESS,info:r},definition:a})},n.addSvgFilesButtonRef=null;var o=n._cloneJsonObject(n.props.definition);return n.state={isDialogOpen:!1,definition:o,selectedIndices:[],search:"",searchMatches:null,toastMsg:null,svgFiles:null,selectedTab:"schematicEditorContentTab",tabs:null},n}return o(t,e),t.prototype.render=function(){var e=this,t=h.default.get("editSchematic"),a=h.default.get("schematicsContentTab"),n=h.default.get("schematicsPackageTab"),r=this.props,i=r.zipMaxSize,o=r.imgMaxSize,s=this.state,c=s.isDialogOpen,u=s.selectedTab,d=s.tabs,p=s.definition,m=s.svgFiles,v=s.selectedIndices,y=s.search,S=s.searchMatches;return c&&l.default.createElement("div",null,this._renderGlobalToast(),l.default.createElement(b.Dialog,{width:"920px",onClose:this.closeDialog,startingFocusIndex:0},l.default.createElement(b.Dialog.Header,{id:"schematicEditorToastTargetId"},t),l.default.createElement(b.Dialog.Body,null,l.default.createElement(b.Tabs,{draggable:!1,selected:u,onChange:function(t){return e.setState({selectedTab:t})},stateTabs:d,className:"clsSVGEditorTabs"},l.default.createElement(b.TabPanel,{id:"schematicEditorPackageTab",label:n},l.default.createElement(g.default,{packageName:p.meta.name,packageDescription:p.meta.description,iconName:p.meta.icon,iconURL:p.iconUrl,zipMaxSize:i,imgMaxSize:o,onChange:this._updatePackageInfo,onIconChanged:this._handleIconLoad,onIconError:this._iconLoadFailed})),l.default.createElement(b.TabPanel,{id:"schematicEditorContentTab",label:a},l.default.createElement(f.default,{definition:p,svgFiles:m,selectedIndices:v,search:y,searchMatches:S,zipMaxSize:i,imgMaxSize:o,onChange:this._handleContentChange})))),l.default.createElement(b.Dialog.Footer,{id:"schematicEditorFooterId"},l.default.createElement(b.Dialog.Button,{id:"idOkBtn",autofocus:!0,label:h.default.get("okDialog"),onClick:this.applyDialog,tabIndex:0,intent:"primary",variant:"solid"}),l.default.createElement(b.Dialog.Button,{id:"idCancelBtn",label:h.default.get("cancelDialog"),onClick:this.closeDialog,tabIndex:0,intent:"primary",variant:"frame"}))))},t}(s.Component);S.propTypes={definition:u.default.object.isRequired,okCallbackFn:u.default.func.isRequired,onCloseDialog:u.default.func,zipMaxSize:u.default.number,imgMaxSize:u.default.number},t.default=S,S.defaultProps={zipMaxSize:500,imgMaxSize:500}},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var a={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=a(0),c=n(l),u=a(2),d=n(u),h=a(1),p=n(h),f=a(53),m=n(f),g=a(61),v=n(g),y=a(62),b=n(y),S=a(26),_=n(S),w=a(63),C=n(w),k=a(3);a(4);var x=a(17),P=n(x),I=function(e){function t(a){i(this,t);var n=o(this,e.call(this,a));return n._cloneJsonObject=function(e){return JSON.parse(JSON.stringify(e))},n._findSearchMatches=function(e){var t=n.props,a=t.definition,r=t.onChange,i=null;e&&(i=[],a.meta.content.forEach(function(t,a){-1!==t.caption.toLowerCase().indexOf(e.toLowerCase())&&i.push(a)})),r({search:e,searchMatches:i})},n._updateItem=function(e,t,a){var r=n.props,i=r.definition,o=r.onChange,s=n._cloneJsonObject(i);s.meta.content=s.meta.content.map(function(n,r){return r===a&&(n[e]=t),n}),o({definition:s})},n._updateSVGFiles=function(e,t,a,r,i){for(var o=n.props,s=o.definition,l=o.onChange,c=n._cloneJsonObject(s),u=0;e.length>0;){for(var d=e[0],h=t[0],f=-1,m=0;m<c.meta.content.length;++m)if(c.meta.content[m].source===d){f=m;break}if(i>=0&&i<c.meta.content.length)c.files[i]=h,u=1;else if(f>=0){if("confirm"===a)break;"replace"===a&&(c.files[f]=h,u++)}else c.meta.content.push({key:d,caption:d,source:d}),c.files.push(h),u++;e.shift(),t.shift(),r||(a="confirm")}var g=u?{type:_.default.SUCCESS}:null;1===u?g.info=p.default.get("schematicsSingleAddSuccessed"):u>1&&(g.info=p.default.get("schematicsMultipleAddSuccessed",{count:u})),l({definition:c,svgFiles:e.length>0?{sourceNames:e,blobUrls:t}:null,search:"",searchMatches:null,toastMsg:g})},n._newSvgFiles=function(e,t,a){n._updateSVGFiles(e,t,"confirm",!1,a)},n._toastSchematicsAddFailed=function(e){n.props.onChange({toastMsg:{type:_.default.ERROR,info:e&&e.message||p.default.get("schematicsAddFailed")}})},n._toggleSelection=function(e,t){var a=n.props,r=a.selectedIndices,i=a.onChange,o=n._cloneJsonObject(r),s=o.indexOf(e);-1!==s&&t?o.splice(s,1):t?o.push(e):o=[e],i({selectedIndices:o})},n._handleVisualItemContextMenu=function(e,t,a){"delete"===t?n._handleDeletions([a]):"replace"===t&&n.addSvgFilesButtonRef&&n.addSvgFilesButtonRef.openFileSelector(!1,a)},n._handleDeletions=function(e){var t=n.props,a=t.definition,i=t.searchMatches,o=t.selectedIndices,s=t.onChange;if(e.length>0){var l=0,c={meta:function(e){return r(e,[])}(a.meta),files:[]};a.iconUrl&&(c.iconUrl=a.iconUrl),c.meta.content=[];for(var u=[],d=i?[]:null,h=0;h<a.files.length;++h)if(-1===e.indexOf(h)){c.meta.content.push(a.meta.content[h]),c.files.push(a.files[h]);var f=c.files.length-1;-1!==o.indexOf(h)&&u.push(f),i&&-1!==i.indexOf(h)&&d.push(f)}else l+=1;if(l>0){var m=1===l?p.default.get("schematicsSingleDeletionSuccessed"):p.default.get("schematicsMultipleDeletionSuccessed",{count:l});s({selectedIndices:u,searchMatches:d,definition:c,toastMsg:{type:_.default.SUCCESS,info:m}})}}},n._replaceAddSVGFiles=function(e){var t=n._cloneJsonObject(n.props.svgFiles);n._updateSVGFiles(t.sourceNames,t.blobUrls,"replace",e)},n._cancelAddSVGFiles=function(e){var t=n._cloneJsonObject(n.props.svgFiles);n._updateSVGFiles(t.sourceNames,t.blobUrls,"cancel",e)},n}return s(t,e),t.prototype.render=function(){var e=this,t=this.props,a=t.selectedIndices,n=t.searchMatches,r=t.definition,i=t.onChange,o=t.search,s=t.zipMaxSize,l=t.imgMaxSize,u=t.svgFiles,d=p.default.get("searchSchematic"),h=n?a.filter(function(e){return-1!==n.indexOf(e)}):a,f=h.length,g=1===f?r.meta.content[h[0]]:{},y=1===f?r.files[h[0]]:"",S=1===f?h[0]:-1;return c.default.createElement("div",null,c.default.createElement(k.VSpacer,{size:4}),c.default.createElement(k.FlexLayout,{direction:"row",justifyContent:"space-between",alignItems:"center",style:{width:"100%",height:"82px"}},c.default.createElement(k.FlexItem,{grow:!0},c.default.createElement(k.SearchInput,{tabIndex:0,placeholder:d,className:"clsSVGSearch",value:o,disabled:0===r.meta.content.length,onChange:this._findSearchMatches,onClear:function(){return i({search:"",searchMatches:null})}})),f>1&&c.default.createElement(k.FlexItem,null,c.default.createElement(k.Button,{id:"idTrash",intent:"primary",icon:P.default.id,iconSize:"small",variant:"icon",onClick:function(){return e._handleDeletions(h)},title:p.default.get("schematicsContextMenuDelete"),tabIndex:0})),c.default.createElement(k.FlexItem,null,c.default.createElement(m.default,{ref:function(t){e.addSvgFilesButtonRef=t},successCallback:this._newSvgFiles,failCallback:this._toastSchematicsAddFailed,zipMaxSize:s,imgMaxSize:l}))),c.default.createElement(k.VSpacer,{size:2}),c.default.createElement(k.FlexLayout,{direction:"row",justifyContent:"space-between",alignItems:"stretch",style:{width:"100%"}},c.default.createElement(k.FlexItem,{style:{width:"593px"}},c.default.createElement(C.default,{items:r.meta.content,files:r.files,selections:a,searchMatches:n,selectVisualItemCallback:this._toggleSelection,deSelectAllCallback:function(){i({selectedIndices:[]})},handleVisualItemContextMenuCallback:this._handleVisualItemContextMenu})),c.default.createElement(k.FlexItem,null,c.default.createElement(k.HSpacer,{size:1})),c.default.createElement(k.FlexItem,{style:{width:"271px"}},c.default.createElement(b.default,{item:g,fileRef:y,index:S,selectionCount:f,updateItemCallback:this._updateItem}))),!!u&&c.default.createElement(v.default,{sourceName:u?u.sourceNames[0]:"",isApplyToAll:!1,okCallback:this._replaceAddSVGFiles,cancelCallback:this._cancelAddSVGFiles}))},t}(l.Component);I.propTypes={definition:d.default.object.isRequired,svgFiles:d.default.object,selectedIndices:d.default.array.isRequired,search:d.default.string.isRequired,searchMatches:d.default.array,zipMaxSize:d.default.number,imgMaxSize:d.default.number,onChange:d.default.func.isRequired},t.default=I},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(2),u=n(c),d=a(1),h=n(d),p=a(3),f=a(24),m=n(f);a(4);var g=a(25),v=n(g),y=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n._findSourceName=function(e){return e.split("/").pop()},n._onFileChange=function(e){var t=new v.default(null,n.props.zipMaxSize,n.props.imgMaxSize);t.load(e.target.files,function(e){if(e.length>0){var a=[],r=[],i=[];e.forEach(function(e){a.push(n._findSourceName(e)),r.push(""),i.push(t.getFileAsBlob(e))});var o=window.URL||window.webkitURL;Promise.all(i).then(function(e){e.forEach(function(e,t){var a=e.slice(0,e.size,"image/svg+xml");r[t]=o.createObjectURL(a)}),n.props.successCallback(a,r,n.replaceIdx)}).catch(n.props.failCallback)}},n.props.failCallback)},n.fileInputRef=null,n.replaceIdx=null,n}return o(t,e),t.prototype.openFileSelector=function(e,t){this.replaceIdx=t,this.fileInputRef&&(this.fileInputRef.multiple=e,this.fileInputRef.click())},t.prototype.render=function(){var e=this;return l.default.createElement("div",null,l.default.createElement("input",{id:"myInput",accept:".svg",multiple:!0,value:"",type:"file",style:{display:"none"},ref:function(t){e.fileInputRef=t},onChange:this._onFileChange}),l.default.createElement(p.Button,{id:"idAddSwatch",intent:"primary",icon:m.default.id,iconSize:"small",variant:"icon",onClick:function(){return e.openFileSelector(!0)},title:h.default.get("addSchematic"),tabIndex:0}))},t}(s.Component);y.propTypes={successCallback:u.default.func.isRequired,failCallback:u.default.func.isRequired,zipMaxSize:u.default.number.isRequired,imgMaxSize:u.default.number.isRequired},t.default=y},function(e,t,a){(function(t,a,n){var r,r;/*!
- JSZip v3.5.0 - A JavaScript class for generating and reading zip files
- <http://stuartk.com/jszip>
- (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
- Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
- JSZip uses the library pako released under the MIT license :
- https://github.com/nodeca/pako/blob/master/LICENSE
- */
- !function(t){e.exports=t()}(function(){return function e(t,a,n){function i(s,l){if(!a[s]){if(!t[s]){var c="function"==typeof r&&r;if(!l&&c)return r(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var d=a[s]={exports:{}};t[s][0].call(d.exports,function(e){return i(t[s][1][e]||e)},d,d.exports,e,t,a,n)}return a[s].exports}for(var o="function"==typeof r&&r,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,a){"use strict";var n=e("./utils"),r=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.encode=function(e){for(var t,a,r,o,s,l,c,u=[],d=0,h=e.length,p=h,f="string"!==n.getTypeOf(e);d<e.length;)p=h-d,r=f?(t=e[d++],a=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),a=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|a>>4,l=1<p?(15&a)<<2|r>>6:64,c=2<p?63&r:64,u.push(i.charAt(o)+i.charAt(s)+i.charAt(l)+i.charAt(c));return u.join("")},a.decode=function(e){var t,a,n,o,s,l,c=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===i.charAt(64)&&p--,e.charAt(e.length-2)===i.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=r.uint8array?new Uint8Array(0|p):new Array(0|p);c<e.length;)t=i.indexOf(e.charAt(c++))<<2|(o=i.indexOf(e.charAt(c++)))>>4,a=(15&o)<<4|(s=i.indexOf(e.charAt(c++)))>>2,n=(3&s)<<6|(l=i.indexOf(e.charAt(c++))),h[u++]=t,64!==s&&(h[u++]=a),64!==l&&(h[u++]=n);return h}},{"./support":30,"./utils":32}],2:[function(e,t,a){"use strict";function n(e,t,a,n,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=a,this.compression=n,this.compressedContent=r}var r=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/DataLengthProbe"),s=e("./stream/Crc32Probe");o=e("./stream/DataLengthProbe"),n.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},n.createWorkerFrom=function(e,t,a){return e.pipe(new s).pipe(new o("uncompressedSize")).pipe(t.compressWorker(a)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=n},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,a){"use strict";var n=e("./stream/GenericWorker");a.STORE={magic:"\0\0",compressWorker:function(e){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},a.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,a){"use strict";var n=e("./utils"),r=function(){for(var e,t=[],a=0;a<256;a++){e=a;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[a]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,a,n){var i=r,o=0+a;e^=-1;for(var s=0;s<o;s++)e=e>>>8^i[255&(e^t[s])];return-1^e}(0|t,e,e.length):function(e,t,a,n){var i=r,o=0+a;e^=-1;for(var s=0;s<o;s++)e=e>>>8^i[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,a){"use strict";a.base64=!1,a.binary=!1,a.dir=!1,a.createFolders=!0,a.date=null,a.compression=null,a.compressionOptions=null,a.comment=null,a.unixPermissions=null,a.dosPermissions=null},{}],6:[function(e,t,a){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,a){"use strict";function n(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),l=r?"uint8array":"array";a.magic="\b\0",o.inherits(n,s),n.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(l,e.data),!1)},n.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},n.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},n.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},a.compressWorker=function(e){return new n("Deflate",e)},a.uncompressWorker=function(){return new n("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,a){"use strict";function n(e,t){var a,n="";for(a=0;a<t;a++)n+=String.fromCharCode(255&e),e>>>=8;return n}function r(e,t,a,r,i,s){var d,h,p=e.file,f=e.compression,m=s!==l.utf8encode,g=o.transformTo("string",s(p.name)),v=o.transformTo("string",l.utf8encode(p.name)),y=p.comment,b=o.transformTo("string",s(y)),S=o.transformTo("string",l.utf8encode(y)),_=v.length!==p.name.length,w=S.length!==y.length,C="",k="",x="",P=p.dir,I=p.date,D={crc32:0,compressedSize:0,uncompressedSize:0};t&&!a||(D.crc32=e.crc32,D.compressedSize=e.compressedSize,D.uncompressedSize=e.uncompressedSize);var E=0;t&&(E|=8),m||!_&&!w||(E|=2048);var T=0,R=0;P&&(T|=16),"UNIX"===i?(R=798,T|=function(e,t){var a=e;return e||(a=t?16893:33204),(65535&a)<<16}(p.unixPermissions,P)):(R=20,T|=function(e){return 63&(e||0)}(p.dosPermissions)),d=I.getUTCHours(),d<<=6,d|=I.getUTCMinutes(),d<<=5,d|=I.getUTCSeconds()/2,h=I.getUTCFullYear()-1980,h<<=4,h|=I.getUTCMonth()+1,h<<=5,h|=I.getUTCDate(),_&&(k=n(1,1)+n(c(g),4)+v,C+="up"+n(k.length,2)+k),w&&(x=n(1,1)+n(c(b),4)+S,C+="uc"+n(x.length,2)+x);var B="";return B+="\n\0",B+=n(E,2),B+=f.magic,B+=n(d,2),B+=n(h,2),B+=n(D.crc32,4),B+=n(D.compressedSize,4),B+=n(D.uncompressedSize,4),B+=n(g.length,2),B+=n(C.length,2),{fileRecord:u.LOCAL_FILE_HEADER+B+g+C,dirRecord:u.CENTRAL_FILE_HEADER+n(R,2)+B+n(b.length,2)+"\0\0\0\0"+n(T,4)+n(r,4)+g+C+b}}function i(e,t,a,n){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=a,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}var o=e("../utils"),s=e("../stream/GenericWorker"),l=e("../utf8"),c=e("../crc32"),u=e("../signature");o.inherits(i,s),i.prototype.push=function(e){var t=e.meta.percent||0,a=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:a?(t+100*(a-n-1))/a:100}}))},i.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var a=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:a.fileRecord,meta:{percent:0}})}else this.accumulate=!0},i.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,a=r(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),t)this.push({data:function(e){return u.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},i.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var a=this.bytesWritten-e,r=function(e,t,a,r,i){var s=o.transformTo("string",i(r));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(e,2)+n(e,2)+n(t,4)+n(a,4)+n(s.length,2)+s}(this.dirRecords.length,a,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},i.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},i.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},i.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},i.prototype.error=function(e){var t=this._sources;if(!s.prototype.error.call(this,e))return!1;for(var a=0;a<t.length;a++)try{t[a].error(e)}catch(e){}return!0},i.prototype.lock=function(){s.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=i},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,a){"use strict";var n=e("../compressions"),r=e("./ZipFileWorker");a.generateWorker=function(e,t,a){var i=new r(t.streamFiles,a,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,a){o++;var r=function(e,t){var a=e||t,r=n[a];if(!r)throw new Error(a+" is not a valid compression method !");return r}(a.options.compression,t.compression),s=a.options.compressionOptions||t.compressionOptions||{},l=a.dir,c=a.date;a._compressWorker(r,s).withStreamInfo("file",{name:e,dir:l,date:c,comment:a.comment||"",unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions}).pipe(i)}),i.entriesCount=o}catch(e){i.error(e)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,a){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.5.0",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,a){"use strict";function n(e){return new i.Promise(function(t,a){var n=e.decompressed.getContentWorker().pipe(new l);n.on("error",function(e){a(e)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?a(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}var r=e("./utils"),i=e("./external"),o=e("./utf8"),s=(r=e("./utils"),e("./zipEntries")),l=e("./stream/Crc32Probe"),c=e("./nodejsUtils");t.exports=function(e,t){var a=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var a=new s(t);return a.load(e),a}).then(function(e){var a=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)a.push(n(r[o]));return i.Promise.all(a)}).then(function(e){for(var n=e.shift(),r=n.files,i=0;i<r.length;i++){var o=r[i];a.file(o.fileNameStr,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:t.createFolders})}return n.zipComment.length&&(a.comment=n.zipComment),a})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,a){"use strict";function n(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}var r=e("../utils"),i=e("../stream/GenericWorker");r.inherits(n,i),n.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},n.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,a){"use strict";function n(e,t,a){r.call(this,t),this._helper=e;var n=this;e.on("data",function(e,t){n.push(e)||n._helper.pause(),a&&a(t)}).on("error",function(e){n.emit("error",e)}).on("end",function(){n.push(null)})}var r=e("readable-stream").Readable;e("../utils").inherits(n,r),n.prototype._read=function(){this._helper.resume()},t.exports=n},{"../utils":32,"readable-stream":16}],14:[function(e,a,n){"use strict";a.exports={isNode:void 0!==t,newBufferFrom:function(e,a){if(t.from&&t.from!==Uint8Array.from)return t.from(e,a);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,a)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var a=new t(e);return a.fill(0),a},isBuffer:function(e){return t.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,a){"use strict";function n(e,t,a){var n,r=o.getTypeOf(t),i=o.extend(a||{},c);i.date=i.date||new Date,null!==i.compression&&(i.compression=i.compression.toUpperCase()),"string"==typeof i.unixPermissions&&(i.unixPermissions=parseInt(i.unixPermissions,8)),i.unixPermissions&&16384&i.unixPermissions&&(i.dir=!0),i.dosPermissions&&16&i.dosPermissions&&(i.dir=!0),i.dir&&(e=g(e)),i.createFolders&&(n=m(e))&&v.call(this,n,!0);var l="string"===r&&!1===i.binary&&!1===i.base64;a&&void 0!==a.binary||(i.binary=!l),(t instanceof u&&0===t.uncompressedSize||i.dir||!t||0===t.length)&&(i.base64=!1,i.binary=!0,t="",i.compression="STORE",r="string");var h=null;h=t instanceof u||t instanceof s?t:p.isNode&&p.isStream(t)?new f(e,t):o.prepareContent(e,t,i.binary,i.optimizedBinaryString,i.base64);var y=new d(e,h,i);this.files[e]=y}function r(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var i=e("./utf8"),o=e("./utils"),s=e("./stream/GenericWorker"),l=e("./stream/StreamHelper"),c=e("./defaults"),u=e("./compressedObject"),d=e("./zipObject"),h=e("./generate"),p=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),m=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},g=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},v=function(e,t){return t=void 0!==t?t:c.createFolders,e=g(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,a,n;for(t in this.files)this.files.hasOwnProperty(t)&&(n=this.files[t],(a=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(a,n))},filter:function(e){var t=[];return this.forEach(function(a,n){e(a,n)&&t.push(n)}),t},file:function(e,t,a){if(1!==arguments.length)return e=this.root+e,n.call(this,e,t,a),this;if(r(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(r(e))return this.filter(function(t,a){return a.dir&&e.test(t)});var t=this.root+e,a=v.call(this,t),n=this.clone();return n.root=a.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var a=this.filter(function(t,a){return a.name.slice(0,e.length)===e}),n=0;n<a.length;n++)delete this.files[a[n].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,a={};try{if((a=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=a.type.toLowerCase(),a.compression=a.compression.toUpperCase(),"binarystring"===a.type&&(a.type="string"),!a.type)throw new Error("No output type specified.");o.checkSupport(a.type),"darwin"!==a.platform&&"freebsd"!==a.platform&&"linux"!==a.platform&&"sunos"!==a.platform||(a.platform="UNIX"),"win32"===a.platform&&(a.platform="DOS");var n=a.comment||this.comment||"";t=h.generateWorker(this,a,n)}catch(e){(t=new s("error")).error(e)}return new l(t,a.type||"string",a.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,a){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,a){"use strict";function n(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}var r=e("./DataReader");e("../utils").inherits(n,r),n.prototype.byteAt=function(e){return this.data[this.zero+e]},n.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),a=e.charCodeAt(1),n=e.charCodeAt(2),r=e.charCodeAt(3),i=this.length-4;0<=i;--i)if(this.data[i]===t&&this.data[i+1]===a&&this.data[i+2]===n&&this.data[i+3]===r)return i-this.zero;return-1},n.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),a=e.charCodeAt(1),n=e.charCodeAt(2),r=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&a===i[1]&&n===i[2]&&r===i[3]},n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./DataReader":18}],18:[function(e,t,a){"use strict";function n(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}var r=e("../utils");n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,a=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)a=(a<<8)+this.byteAt(t);return this.index+=e,a},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=n},{"../utils":32}],19:[function(e,t,a){"use strict";function n(e){r.call(this,e)}var r=e("./Uint8ArrayReader");e("../utils").inherits(n,r),n.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,a){"use strict";function n(e){r.call(this,e)}var r=e("./DataReader");e("../utils").inherits(n,r),n.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},n.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},n.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},n.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./DataReader":18}],21:[function(e,t,a){"use strict";function n(e){r.call(this,e)}var r=e("./ArrayReader");e("../utils").inherits(n,r),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,a){"use strict";var n=e("../utils"),r=e("../support"),i=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new s(e):r.uint8array?new l(n.transformTo("uint8array",e)):new i(n.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,a){"use strict";a.LOCAL_FILE_HEADER="PK",a.CENTRAL_FILE_HEADER="PK",a.CENTRAL_DIRECTORY_END="PK",a.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",a.ZIP64_CENTRAL_DIRECTORY_END="PK",a.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,a){"use strict";function n(e){r.call(this,"ConvertWorker to "+e),this.destType=e}var r=e("./GenericWorker"),i=e("../utils");i.inherits(n,r),n.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,a){"use strict";function n(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}var r=e("./GenericWorker"),i=e("../crc32");e("../utils").inherits(n,r),n.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,a){"use strict";function n(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}var r=e("../utils"),i=e("./GenericWorker");r.inherits(n,i),n.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,a){"use strict";function n(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}var r=e("../utils"),i=e("./GenericWorker");r.inherits(n,i),n.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,a){"use strict";function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var a=0;a<this._listeners[e].length;a++)this._listeners[e][a].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,a,n){"use strict";function r(e,a){return new d.Promise(function(n,r){var i=[],s=e._internalType,l=e._outputType,u=e._mimeType;e.on("data",function(e,t){i.push(e),a&&a(t)}).on("error",function(e){i=[],r(e)}).on("end",function(){try{var e=function(e,t,a){switch(e){case"blob":return o.newBlob(o.transformTo("arraybuffer",t),a);case"base64":return c.encode(t);default:return o.transformTo(e,t)}}(l,function(e,a){var n,r=0,i=null,o=0;for(n=0;n<a.length;n++)o+=a[n].length;switch(e){case"string":return a.join("");case"array":return Array.prototype.concat.apply([],a);case"uint8array":for(i=new Uint8Array(o),n=0;n<a.length;n++)i.set(a[n],r),r+=a[n].length;return i;case"nodebuffer":return t.concat(a);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,i),u);n(e)}catch(e){r(e)}i=[]}).resume()})}function i(e,t,a){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=a,o.checkSupport(n),this._worker=e.pipe(new s(n)),e.lock()}catch(e){this._worker=new l("error"),this._worker.error(e)}}var o=e("../utils"),s=e("./ConvertWorker"),l=e("./GenericWorker"),c=e("../base64"),u=e("../support"),d=e("../external"),h=null;if(u.nodestream)try{h=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}i.prototype={accumulate:function(e){return r(this,e)},on:function(e,t){var a=this;return"data"===e?this._worker.on(e,function(e){t.call(a,e.data,e.meta)}):this._worker.on(e,function(){o.delay(t,arguments,a)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(o.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:"nodebuffer"!==this._outputType},e)}},a.exports=i},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,a,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==t,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=0===i.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,a){"use strict";function n(){l.call(this,"utf-8 decode"),this.leftOver=null}function r(){l.call(this,"utf-8 encode")}for(var i=e("./utils"),o=e("./support"),s=e("./nodejsUtils"),l=e("./stream/GenericWorker"),c=new Array(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;c[254]=c[254]=1,a.utf8encode=function(e){return o.nodebuffer?s.newBufferFrom(e,"utf-8"):function(e){var t,a,n,r,i,s=e.length,l=0;for(r=0;r<s;r++)55296==(64512&(a=e.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=e.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),l+=a<128?1:a<2048?2:a<65536?3:4;for(t=o.uint8array?new Uint8Array(l):new Array(l),r=i=0;i<l;r++)55296==(64512&(a=e.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=e.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?t[i++]=a:(a<2048?t[i++]=192|a>>>6:(a<65536?t[i++]=224|a>>>12:(t[i++]=240|a>>>18,t[i++]=128|a>>>12&63),t[i++]=128|a>>>6&63),t[i++]=128|63&a);return t}(e)},a.utf8decode=function(e){return o.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,a,n,r,o=e.length,s=new Array(2*o);for(t=a=0;t<o;)if((n=e[t++])<128)s[a++]=n;else if(4<(r=c[n]))s[a++]=65533,t+=r-1;else{for(n&=2===r?31:3===r?15:7;1<r&&t<o;)n=n<<6|63&e[t++],r--;1<r?s[a++]=65533:n<65536?s[a++]=n:(n-=65536,s[a++]=55296|n>>10&1023,s[a++]=56320|1023&n)}return s.length!==a&&(s.subarray?s=s.subarray(0,a):s.length=a),i.applyFromCharCode(s)}(e=i.transformTo(o.uint8array?"uint8array":"array",e))},i.inherits(n,l),n.prototype.processChunk=function(e){var t=i.transformTo(o.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var n=t;(t=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var r=function(e,t){var a;for((t=t||e.length)>e.length&&(t=e.length),a=t-1;0<=a&&128==(192&e[a]);)a--;return a<0?t:0===a?t:a+c[e[a]]>t?a:t}(t),s=t;r!==t.length&&(o.uint8array?(s=t.subarray(0,r),this.leftOver=t.subarray(r,t.length)):(s=t.slice(0,r),this.leftOver=t.slice(r,t.length))),this.push({data:a.utf8decode(s),meta:e.meta})},n.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=n,i.inherits(r,l),r.prototype.processChunk=function(e){this.push({data:a.utf8encode(e.data),meta:e.meta})},a.Utf8EncodeWorker=r},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,a){"use strict";function n(e){return e}function r(e,t){for(var a=0;a<e.length;++a)t[a]=255&e.charCodeAt(a);return t}function i(e){var t=65536,n=a.getTypeOf(e),r=!0;if("uint8array"===n?r=h.applyCanBeUsed.uint8array:"nodebuffer"===n&&(r=h.applyCanBeUsed.nodebuffer),r)for(;1<t;)try{return h.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return h.stringifyByChar(e)}function o(e,t){for(var a=0;a<e.length;a++)t[a]=e[a];return t}var s=e("./support"),l=e("./base64"),c=e("./nodejsUtils"),u=e("set-immediate-shim"),d=e("./external");a.newBlob=function(e,t){a.checkSupport("blob");try{return new Blob([e],{type:t})}catch(a){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(e,t,a){var n=[],r=0,i=e.length;if(i<=a)return String.fromCharCode.apply(null,e);for(;r<i;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(r,Math.min(r+a,i)))):n.push(String.fromCharCode.apply(null,e.subarray(r,Math.min(r+a,i)))),r+=a;return n.join("")},stringifyByChar:function(e){for(var t="",a=0;a<e.length;a++)t+=String.fromCharCode(e[a]);return t},applyCanBeUsed:{uint8array:function(){try{return s.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return s.nodebuffer&&1===String.fromCharCode.apply(null,c.allocBuffer(1)).length}catch(e){return!1}}()}};a.applyFromCharCode=i;var p={};p.string={string:n,array:function(e){return r(e,new Array(e.length))},arraybuffer:function(e){return p.string.uint8array(e).buffer},uint8array:function(e){return r(e,new Uint8Array(e.length))},nodebuffer:function(e){return r(e,c.allocBuffer(e.length))}},p.array={string:i,array:n,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return c.newBufferFrom(e)}},p.arraybuffer={string:function(e){return i(new Uint8Array(e))},array:function(e){return o(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:n,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return c.newBufferFrom(new Uint8Array(e))}},p.uint8array={string:i,array:function(e){return o(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:n,nodebuffer:function(e){return c.newBufferFrom(e)}},p.nodebuffer={string:i,array:function(e){return o(e,new Array(e.length))},arraybuffer:function(e){return p.nodebuffer.uint8array(e).buffer},uint8array:function(e){return o(e,new Uint8Array(e.length))},nodebuffer:n},a.transformTo=function(e,t){if(t=t||"",!e)return t;a.checkSupport(e);var n=a.getTypeOf(t);return p[n][e](t)},a.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":s.nodebuffer&&c.isBuffer(e)?"nodebuffer":s.uint8array&&e instanceof Uint8Array?"uint8array":s.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},a.checkSupport=function(e){if(!s[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},a.MAX_VALUE_16BITS=65535,a.MAX_VALUE_32BITS=-1,a.pretty=function(e){var t,a,n="";for(a=0;a<(e||"").length;a++)n+="\\x"+((t=e.charCodeAt(a))<16?"0":"")+t.toString(16).toUpperCase();return n},a.delay=function(e,t,a){u(function(){e.apply(a||null,t||[])})},a.inherits=function(e,t){function a(){}a.prototype=t.prototype,e.prototype=new a},a.extend=function(){var e,t,a={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===a[t]&&(a[t]=arguments[e][t]);return a},a.prepareContent=function(e,t,n,i,o){return d.Promise.resolve(t).then(function(e){return s.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new d.Promise(function(t,a){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){a(e.target.error)},n.readAsArrayBuffer(e)}):e}).then(function(t){var c=a.getTypeOf(t);return c?("arraybuffer"===c?t=a.transformTo("uint8array",t):"string"===c&&(o?t=l.decode(t):n&&!0!==i&&(t=function(e){return r(e,s.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):d.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(e,t,a){"use strict";function n(e){this.files=[],this.loadOptions=e}var r=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),s=e("./zipEntry"),l=(e("./utf8"),e("./support"));n.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var a=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(a),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=l.uint8array?"uint8array":"array",a=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(a)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,a,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),a=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:a}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var a=this.centralDirOffset+this.centralDirSize;this.zip64&&(a+=20,a+=12+this.zip64EndOfCentralSize);var n=t-a;if(0<n)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=n},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(e,t,a){"use strict";function n(e,t){this.options=e,this.loadOptions=t}var r=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),s=e("./crc32"),l=e("./utf8"),c=e("./compressions"),u=e("./support");n.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,a;if(e.skip(22),this.fileNameLength=e.readInt(2),a=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(a),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in c)if(c.hasOwnProperty(t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,a,n,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<r;)t=e.readInt(2),a=e.readInt(2),n=e.readData(a),this.extraFields[t]={id:t,length:a,value:n};e.setIndex(r)},handleUTF8:function(){var e=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var a=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(a)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var r=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(r)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)?null:s(this.fileName)!==t.readInt(4)?null:l.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)?null:s(this.fileComment)!==t.readInt(4)?null:l.utf8decode(t.readData(e.length-5))}return null}},t.exports=n},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,a){"use strict";function n(e,t,a){this.name=e,this.dir=a.dir,this.date=a.date,this.comment=a.comment,this.unixPermissions=a.unixPermissions,this.dosPermissions=a.dosPermissions,this._data=t,this._dataBinary=a.binary,this.options={compression:a.compression,compressionOptions:a.compressionOptions}}var r=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),o=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,a="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(a=e.toLowerCase())||"text"===a;"binarystring"!==a&&"text"!==a||(a="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new o.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new r(t,a,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var a=this._decompressWorker();return this._dataBinary||(a=a.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(a,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new i(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<c.length;d++)n.prototype[c[d]]=u;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){"use strict";function a(){var e,t;r=!0;for(var a=u.length;a;){for(t=u,u=[],e=-1;++e<a;)t[e]();a=u.length}r=!1}var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(a),l=e.document.createTextNode("");s.observe(l,{characterData:!0}),n=function(){l.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){a(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(a,0)};else{var c=new e.MessageChannel;c.port1.onmessage=a,n=function(){c.port2.postMessage(0)}}var u=[];t.exports=function(e){1!==u.push(e)||r||n()}}).call(this,void 0!==a?a:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,a){"use strict";function n(){}function r(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,e!==n&&l(this,e)}function i(e,t,a){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof a&&(this.onRejected=a,this.callRejected=this.otherCallRejected)}function o(e,t,a){u(function(){var n;try{n=t(a)}catch(n){return d.reject(e,n)}n===e?d.reject(e,new TypeError("Cannot resolve promise with itself")):d.resolve(e,n)})}function s(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function l(e,t){function a(t){r||(r=!0,d.reject(e,t))}function n(t){r||(r=!0,d.resolve(e,t))}var r=!1,i=c(function(){t(n,a)});"error"===i.status&&a(i.value)}function c(e,t){var a={};try{a.value=e(t),a.status="success"}catch(e){a.status="error",a.value=e}return a}var u=e("immediate"),d={},h=["REJECTED"],p=["FULFILLED"],f=["PENDING"];(t.exports=r).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(a){return t.resolve(e()).then(function(){return a})},function(a){return t.resolve(e()).then(function(){throw a})})},r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){if("function"!=typeof e&&this.state===p||"function"!=typeof t&&this.state===h)return this;var a=new this.constructor(n);return this.state!==f?o(a,this.state===p?e:t,this.outcome):this.queue.push(new i(a,e,t)),a},i.prototype.callFulfilled=function(e){d.resolve(this.promise,e)},i.prototype.otherCallFulfilled=function(e){o(this.promise,this.onFulfilled,e)},i.prototype.callRejected=function(e){d.reject(this.promise,e)},i.prototype.otherCallRejected=function(e){o(this.promise,this.onRejected,e)},d.resolve=function(e,t){var a=c(s,t);if("error"===a.status)return d.reject(e,a.value);var n=a.value;if(n)l(e,n);else{e.state=p,e.outcome=t;for(var r=-1,i=e.queue.length;++r<i;)e.queue[r].callFulfilled(t)}return e},d.reject=function(e,t){e.state=h,e.outcome=t;for(var a=-1,n=e.queue.length;++a<n;)e.queue[a].callRejected(t);return e},r.resolve=function(e){return e instanceof this?e:d.resolve(new this(n),e)},r.reject=function(e){var t=new this(n);return d.reject(t,e)},r.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var a=e.length,r=!1;if(!a)return this.resolve([]);for(var i=new Array(a),o=0,s=-1,l=new this(n);++s<a;)!function(e,n){t.resolve(e).then(function(e){i[n]=e,++o!==a||r||(r=!0,d.resolve(l,i))},function(e){r||(r=!0,d.reject(l,e))})}(e[s],s);return l},r.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var a=e.length,r=!1;if(!a)return this.resolve([]);for(var i=-1,o=new this(n);++i<a;)s=e[i],t.resolve(s).then(function(e){r||(r=!0,d.resolve(o,e))},function(e){r||(r=!0,d.reject(o,e))});var s;return o}},{immediate:36}],38:[function(e,t,a){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,a){"use strict";function n(e){if(!(this instanceof n))return new n(e);this.options=o.assign({level:h,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var a=i.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(a!==d)throw new Error(l[a]);if(t.header&&i.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(a=i.deflateSetDictionary(this.strm,r))!==d)throw new Error(l[a]);this._dict_set=!0}}function r(e,t){var a=new n(t);if(a.push(e,!0),a.err)throw a.msg||l[a.err];return a.result}var i=e("./zlib/deflate"),o=e("./utils/common"),s=e("./utils/strings"),l=e("./zlib/messages"),c=e("./zlib/zstream"),u=Object.prototype.toString,d=0,h=-1,p=0,f=8;n.prototype.push=function(e,t){var a,n,r=this.strm,l=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?r.input=s.string2buf(e):"[object ArrayBuffer]"===u.call(e)?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new o.Buf8(l),r.next_out=0,r.avail_out=l),1!==(a=i.deflate(r,n))&&a!==d)return this.onEnd(a),!(this.ended=!0);0!==r.avail_out&&(0!==r.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(s.buf2binstring(o.shrinkBuf(r.output,r.next_out))):this.onData(o.shrinkBuf(r.output,r.next_out)))}while((0<r.avail_in||0===r.avail_out)&&1!==a);return 4===n?(a=i.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===d):2!==n||(this.onEnd(d),!(r.avail_out=0))},n.prototype.onData=function(e){this.chunks.push(e)},n.prototype.onEnd=function(e){e===d&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},a.Deflate=n,a.deflate=r,a.deflateRaw=function(e,t){return(t=t||{}).raw=!0,r(e,t)},a.gzip=function(e,t){return(t=t||{}).gzip=!0,r(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,a){"use strict";function n(e){if(!(this instanceof n))return new n(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var a=i.inflateInit2(this.strm,t.windowBits);if(a!==l.Z_OK)throw new Error(c[a]);this.header=new d,i.inflateGetHeader(this.strm,this.header)}function r(e,t){var a=new n(t);if(a.push(e,!0),a.err)throw a.msg||c[a.err];return a.result}var i=e("./zlib/inflate"),o=e("./utils/common"),s=e("./utils/strings"),l=e("./zlib/constants"),c=e("./zlib/messages"),u=e("./zlib/zstream"),d=e("./zlib/gzheader"),h=Object.prototype.toString;n.prototype.push=function(e,t){var a,n,r,c,u,d,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?l.Z_FINISH:l.Z_NO_FLUSH,"string"==typeof e?p.input=s.binstring2buf(e):"[object ArrayBuffer]"===h.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new o.Buf8(f),p.next_out=0,p.avail_out=f),(a=i.inflate(p,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&m&&(d="string"==typeof m?s.string2buf(m):"[object ArrayBuffer]"===h.call(m)?new Uint8Array(m):m,a=i.inflateSetDictionary(this.strm,d)),a===l.Z_BUF_ERROR&&!0===g&&(a=l.Z_OK,g=!1),a!==l.Z_STREAM_END&&a!==l.Z_OK)return this.onEnd(a),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&a!==l.Z_STREAM_END&&(0!==p.avail_in||n!==l.Z_FINISH&&n!==l.Z_SYNC_FLUSH)||("string"===this.options.to?(r=s.utf8border(p.output,p.next_out),c=p.next_out-r,u=s.buf2string(p.output,r),p.next_out=c,p.avail_out=f-c,c&&o.arraySet(p.output,p.output,r,c,0),this.onData(u)):this.onData(o.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((0<p.avail_in||0===p.avail_out)&&a!==l.Z_STREAM_END);return a===l.Z_STREAM_END&&(n=l.Z_FINISH),n===l.Z_FINISH?(a=i.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===l.Z_OK):n!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(p.avail_out=0))},n.prototype.onData=function(e){this.chunks.push(e)},n.prototype.onEnd=function(e){e===l.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},a.Inflate=n,a.inflate=r,a.inflateRaw=function(e,t){return(t=t||{}).raw=!0,r(e,t)},a.ungzip=r},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,a){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;a.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var a=t.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(var n in a)a.hasOwnProperty(n)&&(e[n]=a[n])}}return e},a.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,a,n,r){if(t.subarray&&e.subarray)e.set(t.subarray(a,a+n),r);else for(var i=0;i<n;i++)e[r+i]=t[a+i]},flattenChunks:function(e){var t,a,n,r,i,o;for(t=n=0,a=e.length;t<a;t++)n+=e[t].length;for(o=new Uint8Array(n),t=r=0,a=e.length;t<a;t++)i=e[t],o.set(i,r),r+=i.length;return o}},i={arraySet:function(e,t,a,n,r){for(var i=0;i<n;i++)e[r+i]=t[a+i]},flattenChunks:function(e){return[].concat.apply([],e)}};a.setTyped=function(e){e?(a.Buf8=Uint8Array,a.Buf16=Uint16Array,a.Buf32=Int32Array,a.assign(a,r)):(a.Buf8=Array,a.Buf16=Array,a.Buf32=Array,a.assign(a,i))},a.setTyped(n)},{}],42:[function(e,t,a){"use strict";function n(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var a="",n=0;n<t;n++)a+=String.fromCharCode(e[n]);return a}var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new r.Buf8(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;s[254]=s[254]=1,a.string2buf=function(e){var t,a,n,i,o,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(a=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=e.charCodeAt(i+1)))&&(a=65536+(a-55296<<10)+(n-56320),i++),l+=a<128?1:a<2048?2:a<65536?3:4;for(t=new r.Buf8(l),i=o=0;o<l;i++)55296==(64512&(a=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=e.charCodeAt(i+1)))&&(a=65536+(a-55296<<10)+(n-56320),i++),a<128?t[o++]=a:(a<2048?t[o++]=192|a>>>6:(a<65536?t[o++]=224|a>>>12:(t[o++]=240|a>>>18,t[o++]=128|a>>>12&63),t[o++]=128|a>>>6&63),t[o++]=128|63&a);return t},a.buf2binstring=function(e){return n(e,e.length)},a.binstring2buf=function(e){for(var t=new r.Buf8(e.length),a=0,n=t.length;a<n;a++)t[a]=e.charCodeAt(a);return t},a.buf2string=function(e,t){var a,r,i,o,l=t||e.length,c=new Array(2*l);for(a=r=0;a<l;)if((i=e[a++])<128)c[r++]=i;else if(4<(o=s[i]))c[r++]=65533,a+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&a<l;)i=i<<6|63&e[a++],o--;1<o?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return n(c,r)},a.utf8border=function(e,t){var a;for((t=t||e.length)>e.length&&(t=e.length),a=t-1;0<=a&&128==(192&e[a]);)a--;return a<0?t:0===a?t:a+s[e[a]]>t?a:t}},{"./common":41}],43:[function(e,t,a){"use strict";t.exports=function(e,t,a,n){for(var r=65535&e|0,i=e>>>16&65535|0,o=0;0!==a;){for(a-=o=2e3<a?2e3:a;i=i+(r=r+t[n++]|0)|0,--o;);r%=65521,i%=65521}return r|i<<16|0}},{}],44:[function(e,t,a){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,a){"use strict";var n=function(){for(var e,t=[],a=0;a<256;a++){e=a;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[a]=e}return t}();t.exports=function(e,t,a,r){var i=n,o=r+a;e^=-1;for(var s=r;s<o;s++)e=e>>>8^i[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,a){"use strict";function n(e,t){return e.msg=k[t],t}function r(e){return(e<<1)-(4<e?9:0)}function i(e){for(var t=e.length;0<=--t;)e[t]=0}function o(e){var t=e.state,a=t.pending;a>e.avail_out&&(a=e.avail_out),0!==a&&(S.arraySet(e.output,t.pending_buf,t.pending_out,a,e.next_out),e.next_out+=a,t.pending_out+=a,e.total_out+=a,e.avail_out-=a,t.pending-=a,0===t.pending&&(t.pending_out=0))}function s(e,t){_._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,o(e.strm)}function l(e,t){e.pending_buf[e.pending++]=t}function c(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function u(e,t){var a,n,r=e.max_chain_length,i=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-G?e.strstart-(e.w_size-G):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+j,p=c[i+o-1],f=c[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(a=t)+o]===f&&c[a+o-1]===p&&c[a]===c[i]&&c[++a]===c[i+1]){i+=2,a++;do{}while(c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&i<h);if(n=j-(h-i),i=h-j,o<n){if(e.match_start=t,s<=(o=n))break;p=c[i+o-1],f=c[i+o]}}}while((t=d[t&u])>l&&0!=--r);return o<=e.lookahead?o:e.lookahead}function d(e){var t,a,n,r,i,o,s,l,c,u,d=e.w_size;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-G)){for(S.arraySet(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=a=e.hash_size;n=e.head[--t],e.head[t]=d<=n?n-d:0,--a;);for(t=a=d;n=e.prev[--t],e.prev[t]=d<=n?n-d:0,--a;);r+=d}if(0===e.strm.avail_in)break;if(o=e.strm,s=e.window,l=e.strstart+e.lookahead,c=r,u=void 0,u=o.avail_in,c<u&&(u=c),a=0===u?0:(o.avail_in-=u,S.arraySet(s,o.input,o.next_in,u,l),1===o.state.wrap?o.adler=w(o.adler,s,u,l):2===o.state.wrap&&(o.adler=C(o.adler,s,u,l)),o.next_in+=u,o.total_in+=u,u),e.lookahead+=a,e.lookahead+e.insert>=N)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+N-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<N)););}while(e.lookahead<G&&0!==e.strm.avail_in)}function h(e,t){for(var a,n;;){if(e.lookahead<G){if(d(e),e.lookahead<G&&t===x)return V;if(0===e.lookahead)break}if(a=0,e.lookahead>=N&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,a=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==a&&e.strstart-a<=e.w_size-G&&(e.match_length=u(e,a)),e.match_length>=N)if(n=_._tr_tally(e,e.strstart-e.match_start,e.match_length-N),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=N){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,a=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=_._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(s(e,!1),0===e.strm.avail_out))return V}return e.insert=e.strstart<N-1?e.strstart:N-1,t===P?(s(e,!0),0===e.strm.avail_out?K:W):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?V:Y}function p(e,t){for(var a,n,r;;){if(e.lookahead<G){if(d(e),e.lookahead<G&&t===x)return V;if(0===e.lookahead)break}if(a=0,e.lookahead>=N&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,a=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=N-1,0!==a&&e.prev_length<e.max_lazy_match&&e.strstart-a<=e.w_size-G&&(e.match_length=u(e,a),e.match_length<=5&&(1===e.strategy||e.match_length===N&&4096<e.strstart-e.match_start)&&(e.match_length=N-1)),e.prev_length>=N&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-N,n=_._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-N),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,a=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=N-1,e.strstart++,n&&(s(e,!1),0===e.strm.avail_out))return V}else if(e.match_available){if((n=_._tr_tally(e,0,e.window[e.strstart-1]))&&s(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return V}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=_._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<N-1?e.strstart:N-1,t===P?(s(e,!0),0===e.strm.avail_out?K:W):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?V:Y}function f(e,t,a,n,r){this.good_length=e,this.max_lazy=t,this.nice_length=a,this.max_chain=n,this.func=r}function m(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=B,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new S.Buf16(2*L),this.dyn_dtree=new S.Buf16(2*(2*F+1)),this.bl_tree=new S.Buf16(2*(2*z+1)),i(this.dyn_ltree),i(this.dyn_dtree),i(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new S.Buf16(O+1),this.heap=new S.Buf16(2*M+1),i(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new S.Buf16(2*M+1),i(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function g(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=R,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?U:H,e.adler=2===t.wrap?0:1,t.last_flush=x,_._tr_init(t),I):n(e,D)}function v(e){var t=g(e);return t===I&&function(e){e.window_size=2*e.w_size,i(e.head),e.max_lazy_match=b[e.level].max_lazy,e.good_match=b[e.level].good_length,e.nice_match=b[e.level].nice_length,e.max_chain_length=b[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=N-1,e.match_available=0,e.ins_h=0}(e.state),t}function y(e,t,a,r,i,o){if(!e)return D;var s=1;if(t===E&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),i<1||A<i||a!==B||r<8||15<r||t<0||9<t||o<0||T<o)return n(e,D);8===r&&(r=9);var l=new m;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+N-1)/N),l.window=new S.Buf8(2*l.w_size),l.head=new S.Buf16(l.hash_size),l.prev=new S.Buf16(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new S.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=a,v(e)}var b,S=e("../utils/common"),_=e("./trees"),w=e("./adler32"),C=e("./crc32"),k=e("./messages"),x=0,P=4,I=0,D=-2,E=-1,T=4,R=2,B=8,A=9,M=286,F=30,z=19,L=2*M+1,O=15,N=3,j=258,G=j+N+1,U=42,H=113,V=1,Y=2,K=3,W=4;b=[new f(0,0,0,0,function(e,t){var a=65535;for(a>e.pending_buf_size-5&&(a=e.pending_buf_size-5);;){if(e.lookahead<=1){if(d(e),0===e.lookahead&&t===x)return V;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+a;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,s(e,!1),0===e.strm.avail_out))return V;if(e.strstart-e.block_start>=e.w_size-G&&(s(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===P?(s(e,!0),0===e.strm.avail_out?K:W):(e.strstart>e.block_start&&(s(e,!1),e.strm.avail_out),V)}),new f(4,4,8,4,h),new f(4,5,16,8,h),new f(4,6,32,32,h),new f(4,4,16,16,p),new f(8,16,32,32,p),new f(8,16,128,128,p),new f(8,32,128,256,p),new f(32,128,258,1024,p),new f(32,258,258,4096,p)],a.deflateInit=function(e,t){return y(e,t,B,15,8,0)},a.deflateInit2=y,a.deflateReset=v,a.deflateResetKeep=g,a.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?D:(e.state.gzhead=t,I):D},a.deflate=function(e,t){var a,u,h,p;if(!e||!e.state||5<t||t<0)return e?n(e,D):D;if(u=e.state,!e.output||!e.input&&0!==e.avail_in||666===u.status&&t!==P)return n(e,0===e.avail_out?-5:D);if(u.strm=e,a=u.last_flush,u.last_flush=t,u.status===U)if(2===u.wrap)e.adler=0,l(u,31),l(u,139),l(u,8),u.gzhead?(l(u,(u.gzhead.text?1:0)+(u.gzhead.hcrc?2:0)+(u.gzhead.extra?4:0)+(u.gzhead.name?8:0)+(u.gzhead.comment?16:0)),l(u,255&u.gzhead.time),l(u,u.gzhead.time>>8&255),l(u,u.gzhead.time>>16&255),l(u,u.gzhead.time>>24&255),l(u,9===u.level?2:2<=u.strategy||u.level<2?4:0),l(u,255&u.gzhead.os),u.gzhead.extra&&u.gzhead.extra.length&&(l(u,255&u.gzhead.extra.length),l(u,u.gzhead.extra.length>>8&255)),u.gzhead.hcrc&&(e.adler=C(e.adler,u.pending_buf,u.pending,0)),u.gzindex=0,u.status=69):(l(u,0),l(u,0),l(u,0),l(u,0),l(u,0),l(u,9===u.level?2:2<=u.strategy||u.level<2?4:0),l(u,3),u.status=H);else{var f=B+(u.w_bits-8<<4)<<8;f|=(2<=u.strategy||u.level<2?0:u.level<6?1:6===u.level?2:3)<<6,0!==u.strstart&&(f|=32),f+=31-f%31,u.status=H,c(u,f),0!==u.strstart&&(c(u,e.adler>>>16),c(u,65535&e.adler)),e.adler=1}if(69===u.status)if(u.gzhead.extra){for(h=u.pending;u.gzindex<(65535&u.gzhead.extra.length)&&(u.pending!==u.pending_buf_size||(u.gzhead.hcrc&&u.pending>h&&(e.adler=C(e.adler,u.pending_buf,u.pending-h,h)),o(e),h=u.pending,u.pending!==u.pending_buf_size));)l(u,255&u.gzhead.extra[u.gzindex]),u.gzindex++;u.gzhead.hcrc&&u.pending>h&&(e.adler=C(e.adler,u.pending_buf,u.pending-h,h)),u.gzindex===u.gzhead.extra.length&&(u.gzindex=0,u.status=73)}else u.status=73;if(73===u.status)if(u.gzhead.name){h=u.pending;do{if(u.pending===u.pending_buf_size&&(u.gzhead.hcrc&&u.pending>h&&(e.adler=C(e.adler,u.pending_buf,u.pending-h,h)),o(e),h=u.pending,u.pending===u.pending_buf_size)){p=1;break}p=u.gzindex<u.gzhead.name.length?255&u.gzhead.name.charCodeAt(u.gzindex++):0,l(u,p)}while(0!==p);u.gzhead.hcrc&&u.pending>h&&(e.adler=C(e.adler,u.pending_buf,u.pending-h,h)),0===p&&(u.gzindex=0,u.status=91)}else u.status=91;if(91===u.status)if(u.gzhead.comment){h=u.pending;do{if(u.pending===u.pending_buf_size&&(u.gzhead.hcrc&&u.pending>h&&(e.adler=C(e.adler,u.pending_buf,u.pending-h,h)),o(e),h=u.pending,u.pending===u.pending_buf_size)){p=1;break}p=u.gzindex<u.gzhead.comment.length?255&u.gzhead.comment.charCodeAt(u.gzindex++):0,l(u,p)}while(0!==p);u.gzhead.hcrc&&u.pending>h&&(e.adler=C(e.adler,u.pending_buf,u.pending-h,h)),0===p&&(u.status=103)}else u.status=103;if(103===u.status&&(u.gzhead.hcrc?(u.pending+2>u.pending_buf_size&&o(e),u.pending+2<=u.pending_buf_size&&(l(u,255&e.adler),l(u,e.adler>>8&255),e.adler=0,u.status=H)):u.status=H),0!==u.pending){if(o(e),0===e.avail_out)return u.last_flush=-1,I}else if(0===e.avail_in&&r(t)<=r(a)&&t!==P)return n(e,-5);if(666===u.status&&0!==e.avail_in)return n(e,-5);if(0!==e.avail_in||0!==u.lookahead||t!==x&&666!==u.status){var m=2===u.strategy?function(e,t){for(var a;;){if(0===e.lookahead&&(d(e),0===e.lookahead)){if(t===x)return V;break}if(e.match_length=0,a=_._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,a&&(s(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===P?(s(e,!0),0===e.strm.avail_out?K:W):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?V:Y}(u,t):3===u.strategy?function(e,t){for(var a,n,r,i,o=e.window;;){if(e.lookahead<=j){if(d(e),e.lookahead<=j&&t===x)return V;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=N&&0<e.strstart&&(n=o[r=e.strstart-1])===o[++r]&&n===o[++r]&&n===o[++r]){i=e.strstart+j;do{}while(n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&r<i);e.match_length=j-(i-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=N?(a=_._tr_tally(e,1,e.match_length-N),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(a=_._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),a&&(s(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===P?(s(e,!0),0===e.strm.avail_out?K:W):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?V:Y}(u,t):b[u.level].func(u,t);if(m!==K&&m!==W||(u.status=666),m===V||m===K)return 0===e.avail_out&&(u.last_flush=-1),I;if(m===Y&&(1===t?_._tr_align(u):5!==t&&(_._tr_stored_block(u,0,0,!1),3===t&&(i(u.head),0===u.lookahead&&(u.strstart=0,u.block_start=0,u.insert=0))),o(e),0===e.avail_out))return u.last_flush=-1,I}return t!==P?I:u.wrap<=0?1:(2===u.wrap?(l(u,255&e.adler),l(u,e.adler>>8&255),l(u,e.adler>>16&255),l(u,e.adler>>24&255),l(u,255&e.total_in),l(u,e.total_in>>8&255),l(u,e.total_in>>16&255),l(u,e.total_in>>24&255)):(c(u,e.adler>>>16),c(u,65535&e.adler)),o(e),0<u.wrap&&(u.wrap=-u.wrap),0!==u.pending?I:1)},a.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==U&&69!==t&&73!==t&&91!==t&&103!==t&&t!==H&&666!==t?n(e,D):(e.state=null,t===H?n(e,-3):I):D},a.deflateSetDictionary=function(e,t){var a,n,r,o,s,l,c,u,h=t.length;if(!e||!e.state)return D;if(2===(o=(a=e.state).wrap)||1===o&&a.status!==U||a.lookahead)return D;for(1===o&&(e.adler=w(e.adler,t,h,0)),a.wrap=0,h>=a.w_size&&(0===o&&(i(a.head),a.strstart=0,a.block_start=0,a.insert=0),u=new S.Buf8(a.w_size),S.arraySet(u,t,h-a.w_size,a.w_size,0),t=u,h=a.w_size),s=e.avail_in,l=e.next_in,c=e.input,e.avail_in=h,e.next_in=0,e.input=t,d(a);a.lookahead>=N;){for(n=a.strstart,r=a.lookahead-(N-1);a.ins_h=(a.ins_h<<a.hash_shift^a.window[n+N-1])&a.hash_mask,a.prev[n&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=n,n++,--r;);a.strstart=n,a.lookahead=N-1,d(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=N-1,a.match_available=0,e.next_in=l,e.input=c,e.avail_in=s,a.wrap=o,I},a.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,a){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,a){"use strict";t.exports=function(e,t){var a,n,r,i,o,s,l,c,u,d,h,p,f,m,g,v,y,b,S,_,w,C,k,x,P;a=e.state,n=e.next_in,x=e.input,r=n+(e.avail_in-5),i=e.next_out,P=e.output,o=i-(t-e.avail_out),s=i+(e.avail_out-257),l=a.dmax,c=a.wsize,u=a.whave,d=a.wnext,h=a.window,p=a.hold,f=a.bits,m=a.lencode,g=a.distcode,v=(1<<a.lenbits)-1,y=(1<<a.distbits)-1;e:do{f<15&&(p+=x[n++]<<f,f+=8,p+=x[n++]<<f,f+=8),b=m[p&v];t:for(;;){if(p>>>=S=b>>>24,f-=S,0==(S=b>>>16&255))P[i++]=65535&b;else{if(!(16&S)){if(0==(64&S)){b=m[(65535&b)+(p&(1<<S)-1)];continue t}if(32&S){a.mode=12;break e}e.msg="invalid literal/length code",a.mode=30;break e}_=65535&b,(S&=15)&&(f<S&&(p+=x[n++]<<f,f+=8),_+=p&(1<<S)-1,p>>>=S,f-=S),f<15&&(p+=x[n++]<<f,f+=8,p+=x[n++]<<f,f+=8),b=g[p&y];a:for(;;){if(p>>>=S=b>>>24,f-=S,!(16&(S=b>>>16&255))){if(0==(64&S)){b=g[(65535&b)+(p&(1<<S)-1)];continue a}e.msg="invalid distance code",a.mode=30;break e}if(w=65535&b,f<(S&=15)&&(p+=x[n++]<<f,(f+=8)<S&&(p+=x[n++]<<f,f+=8)),l<(w+=p&(1<<S)-1)){e.msg="invalid distance too far back",a.mode=30;break e}if(p>>>=S,f-=S,(S=i-o)<w){if(u<(S=w-S)&&a.sane){e.msg="invalid distance too far back",a.mode=30;break e}if(k=h,(C=0)===d){if(C+=c-S,S<_){for(_-=S;P[i++]=h[C++],--S;);C=i-w,k=P}}else if(d<S){if(C+=c+d-S,(S-=d)<_){for(_-=S;P[i++]=h[C++],--S;);if(C=0,d<_){for(_-=S=d;P[i++]=h[C++],--S;);C=i-w,k=P}}}else if(C+=d-S,S<_){for(_-=S;P[i++]=h[C++],--S;);C=i-w,k=P}for(;2<_;)P[i++]=k[C++],P[i++]=k[C++],P[i++]=k[C++],_-=3;_&&(P[i++]=k[C++],1<_&&(P[i++]=k[C++]))}else{for(C=i-w;P[i++]=P[C++],P[i++]=P[C++],P[i++]=P[C++],2<(_-=3););_&&(P[i++]=P[C++],1<_&&(P[i++]=P[C++]))}break}}break}}while(n<r&&i<s);n-=_=f>>3,p&=(1<<(f-=_<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?r-n+5:5-(n-r),e.avail_out=i<s?s-i+257:257-(i-s),a.hold=p,a.bits=f}},{}],49:[function(e,t,a){"use strict";function n(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function r(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new p.Buf16(320),this.work=new p.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=w,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new p.Buf32(C),t.distcode=t.distdyn=new p.Buf32(k),t.sane=1,t.back=-1,S):_}function o(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,i(e)):_}function s(e,t){var a,n;return e&&e.state?(n=e.state,t<0?(a=0,t=-t):(a=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?_:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=a,n.wbits=t,o(e))):_}function l(e,t){var a,n;return e?(n=new r,(e.state=n).window=null,(a=s(e,t))!==S&&(e.state=null),a):_}function c(e){if(x){var t;for(d=new p.Buf32(512),h=new p.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(v(y,e.lens,0,288,d,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;v(b,e.lens,0,32,h,0,e.work,{bits:5}),x=!1}e.lencode=d,e.lenbits=9,e.distcode=h,e.distbits=5}function u(e,t,a,n){var r,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new p.Buf8(i.wsize)),n>=i.wsize?(p.arraySet(i.window,t,a-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(n<(r=i.wsize-i.wnext)&&(r=n),p.arraySet(i.window,t,a-n,r,i.wnext),(n-=r)?(p.arraySet(i.window,t,a-n,n,0),i.wnext=n,i.whave=i.wsize):(i.wnext+=r,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=r))),0}var d,h,p=e("../utils/common"),f=e("./adler32"),m=e("./crc32"),g=e("./inffast"),v=e("./inftrees"),y=1,b=2,S=0,_=-2,w=1,C=852,k=592,x=!0;a.inflateReset=o,a.inflateReset2=s,a.inflateResetKeep=i,a.inflateInit=function(e){return l(e,15)},a.inflateInit2=l,a.inflate=function(e,t){var a,r,i,o,s,l,d,h,C,k,x,P,I,D,E,T,R,B,A,M,F,z,L,O,N=0,j=new p.Buf8(4),G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return _;12===(a=e.state).mode&&(a.mode=13),s=e.next_out,i=e.output,d=e.avail_out,o=e.next_in,r=e.input,l=e.avail_in,h=a.hold,C=a.bits,k=l,x=d,z=S;e:for(;;)switch(a.mode){case w:if(0===a.wrap){a.mode=13;break}for(;C<16;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(2&a.wrap&&35615===h){j[a.check=0]=255&h,j[1]=h>>>8&255,a.check=m(a.check,j,2,0),C=h=0,a.mode=2;break}if(a.flags=0,a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){e.msg="incorrect header check",a.mode=30;break}if(8!=(15&h)){e.msg="unknown compression method",a.mode=30;break}if(C-=4,F=8+(15&(h>>>=4)),0===a.wbits)a.wbits=F;else if(F>a.wbits){e.msg="invalid window size",a.mode=30;break}a.dmax=1<<F,e.adler=a.check=1,a.mode=512&h?10:12,C=h=0;break;case 2:for(;C<16;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(a.flags=h,8!=(255&a.flags)){e.msg="unknown compression method",a.mode=30;break}if(57344&a.flags){e.msg="unknown header flags set",a.mode=30;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&(j[0]=255&h,j[1]=h>>>8&255,a.check=m(a.check,j,2,0)),C=h=0,a.mode=3;case 3:for(;C<32;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}a.head&&(a.head.time=h),512&a.flags&&(j[0]=255&h,j[1]=h>>>8&255,j[2]=h>>>16&255,j[3]=h>>>24&255,a.check=m(a.check,j,4,0)),C=h=0,a.mode=4;case 4:for(;C<16;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&(j[0]=255&h,j[1]=h>>>8&255,a.check=m(a.check,j,2,0)),C=h=0,a.mode=5;case 5:if(1024&a.flags){for(;C<16;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&(j[0]=255&h,j[1]=h>>>8&255,a.check=m(a.check,j,2,0)),C=h=0}else a.head&&(a.head.extra=null);a.mode=6;case 6:if(1024&a.flags&&(l<(P=a.length)&&(P=l),P&&(a.head&&(F=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Array(a.head.extra_len)),p.arraySet(a.head.extra,r,o,P,F)),512&a.flags&&(a.check=m(a.check,r,P,o)),l-=P,o+=P,a.length-=P),a.length))break e;a.length=0,a.mode=7;case 7:if(2048&a.flags){if(0===l)break e;for(P=0;F=r[o+P++],a.head&&F&&a.length<65536&&(a.head.name+=String.fromCharCode(F)),F&&P<l;);if(512&a.flags&&(a.check=m(a.check,r,P,o)),l-=P,o+=P,F)break e}else a.head&&(a.head.name=null);a.length=0,a.mode=8;case 8:if(4096&a.flags){if(0===l)break e;for(P=0;F=r[o+P++],a.head&&F&&a.length<65536&&(a.head.comment+=String.fromCharCode(F)),F&&P<l;);if(512&a.flags&&(a.check=m(a.check,r,P,o)),l-=P,o+=P,F)break e}else a.head&&(a.head.comment=null);a.mode=9;case 9:if(512&a.flags){for(;C<16;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(h!==(65535&a.check)){e.msg="header crc mismatch",a.mode=30;break}C=h=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),e.adler=a.check=0,a.mode=12;break;case 10:for(;C<32;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}e.adler=a.check=n(h),C=h=0,a.mode=11;case 11:if(0===a.havedict)return e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=l,a.hold=h,a.bits=C,2;e.adler=a.check=1,a.mode=12;case 12:if(5===t||6===t)break e;case 13:if(a.last){h>>>=7&C,C-=7&C,a.mode=27;break}for(;C<3;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}switch(a.last=1&h,C-=1,3&(h>>>=1)){case 0:a.mode=14;break;case 1:if(c(a),a.mode=20,6!==t)break;h>>>=2,C-=2;break e;case 2:a.mode=17;break;case 3:e.msg="invalid block type",a.mode=30}h>>>=2,C-=2;break;case 14:for(h>>>=7&C,C-=7&C;C<32;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if((65535&h)!=(h>>>16^65535)){e.msg="invalid stored block lengths",a.mode=30;break}if(a.length=65535&h,C=h=0,a.mode=15,6===t)break e;case 15:a.mode=16;case 16:if(P=a.length){if(l<P&&(P=l),d<P&&(P=d),0===P)break e;p.arraySet(i,r,o,P,s),l-=P,o+=P,d-=P,s+=P,a.length-=P;break}a.mode=12;break;case 17:for(;C<14;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(a.nlen=257+(31&h),h>>>=5,C-=5,a.ndist=1+(31&h),h>>>=5,C-=5,a.ncode=4+(15&h),h>>>=4,C-=4,286<a.nlen||30<a.ndist){e.msg="too many length or distance symbols",a.mode=30;break}a.have=0,a.mode=18;case 18:for(;a.have<a.ncode;){for(;C<3;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}a.lens[G[a.have++]]=7&h,h>>>=3,C-=3}for(;a.have<19;)a.lens[G[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,L={bits:a.lenbits},z=v(0,a.lens,0,19,a.lencode,0,a.work,L),a.lenbits=L.bits,z){e.msg="invalid code lengths set",a.mode=30;break}a.have=0,a.mode=19;case 19:for(;a.have<a.nlen+a.ndist;){for(;T=(N=a.lencode[h&(1<<a.lenbits)-1])>>>16&255,R=65535&N,!((E=N>>>24)<=C);){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(R<16)h>>>=E,C-=E,a.lens[a.have++]=R;else{if(16===R){for(O=E+2;C<O;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(h>>>=E,C-=E,0===a.have){e.msg="invalid bit length repeat",a.mode=30;break}F=a.lens[a.have-1],P=3+(3&h),h>>>=2,C-=2}else if(17===R){for(O=E+3;C<O;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}C-=E,F=0,P=3+(7&(h>>>=E)),h>>>=3,C-=3}else{for(O=E+7;C<O;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}C-=E,F=0,P=11+(127&(h>>>=E)),h>>>=7,C-=7}if(a.have+P>a.nlen+a.ndist){e.msg="invalid bit length repeat",a.mode=30;break}for(;P--;)a.lens[a.have++]=F}}if(30===a.mode)break;if(0===a.lens[256]){e.msg="invalid code -- missing end-of-block",a.mode=30;break}if(a.lenbits=9,L={bits:a.lenbits},z=v(y,a.lens,0,a.nlen,a.lencode,0,a.work,L),a.lenbits=L.bits,z){e.msg="invalid literal/lengths set",a.mode=30;break}if(a.distbits=6,a.distcode=a.distdyn,L={bits:a.distbits},z=v(b,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,L),a.distbits=L.bits,z){e.msg="invalid distances set",a.mode=30;break}if(a.mode=20,6===t)break e;case 20:a.mode=21;case 21:if(6<=l&&258<=d){e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=l,a.hold=h,a.bits=C,g(e,x),s=e.next_out,i=e.output,d=e.avail_out,o=e.next_in,r=e.input,l=e.avail_in,h=a.hold,C=a.bits,12===a.mode&&(a.back=-1);break}for(a.back=0;T=(N=a.lencode[h&(1<<a.lenbits)-1])>>>16&255,R=65535&N,!((E=N>>>24)<=C);){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(T&&0==(240&T)){for(B=E,A=T,M=R;T=(N=a.lencode[M+((h&(1<<B+A)-1)>>B)])>>>16&255,R=65535&N,!(B+(E=N>>>24)<=C);){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}h>>>=B,C-=B,a.back+=B}if(h>>>=E,C-=E,a.back+=E,a.length=R,0===T){a.mode=26;break}if(32&T){a.back=-1,a.mode=12;break}if(64&T){e.msg="invalid literal/length code",a.mode=30;break}a.extra=15&T,a.mode=22;case 22:if(a.extra){for(O=a.extra;C<O;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,C-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=23;case 23:for(;T=(N=a.distcode[h&(1<<a.distbits)-1])>>>16&255,R=65535&N,!((E=N>>>24)<=C);){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(0==(240&T)){for(B=E,A=T,M=R;T=(N=a.distcode[M+((h&(1<<B+A)-1)>>B)])>>>16&255,R=65535&N,!(B+(E=N>>>24)<=C);){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}h>>>=B,C-=B,a.back+=B}if(h>>>=E,C-=E,a.back+=E,64&T){e.msg="invalid distance code",a.mode=30;break}a.offset=R,a.extra=15&T,a.mode=24;case 24:if(a.extra){for(O=a.extra;C<O;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,C-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){e.msg="invalid distance too far back",a.mode=30;break}a.mode=25;case 25:if(0===d)break e;if(P=x-d,a.offset>P){if((P=a.offset-P)>a.whave&&a.sane){e.msg="invalid distance too far back",a.mode=30;break}I=P>a.wnext?(P-=a.wnext,a.wsize-P):a.wnext-P,P>a.length&&(P=a.length),D=a.window}else D=i,I=s-a.offset,P=a.length;for(d<P&&(P=d),d-=P,a.length-=P;i[s++]=D[I++],--P;);0===a.length&&(a.mode=21);break;case 26:if(0===d)break e;i[s++]=a.length,d--,a.mode=21;break;case 27:if(a.wrap){for(;C<32;){if(0===l)break e;l--,h|=r[o++]<<C,C+=8}if(x-=d,e.total_out+=x,a.total+=x,x&&(e.adler=a.check=a.flags?m(a.check,i,x,s-x):f(a.check,i,x,s-x)),x=d,(a.flags?h:n(h))!==a.check){e.msg="incorrect data check",a.mode=30;break}C=h=0}a.mode=28;case 28:if(a.wrap&&a.flags){for(;C<32;){if(0===l)break e;l--,h+=r[o++]<<C,C+=8}if(h!==(4294967295&a.total)){e.msg="incorrect length check",a.mode=30;break}C=h=0}a.mode=29;case 29:z=1;break e;case 30:z=-3;break e;case 31:return-4;case 32:default:return _}return e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=l,a.hold=h,a.bits=C,(a.wsize||x!==e.avail_out&&a.mode<30&&(a.mode<27||4!==t))&&u(e,e.output,e.next_out,x-e.avail_out)?(a.mode=31,-4):(k-=e.avail_in,x-=e.avail_out,e.total_in+=k,e.total_out+=x,a.total+=x,a.wrap&&x&&(e.adler=a.check=a.flags?m(a.check,i,x,e.next_out-x):f(a.check,i,x,e.next_out-x)),e.data_type=a.bits+(a.last?64:0)+(12===a.mode?128:0)+(20===a.mode||15===a.mode?256:0),(0==k&&0===x||4===t)&&z===S&&(z=-5),z)},a.inflateEnd=function(e){if(!e||!e.state)return _;var t=e.state;return t.window&&(t.window=null),e.state=null,S},a.inflateGetHeader=function(e,t){var a;return e&&e.state?0==(2&(a=e.state).wrap)?_:((a.head=t).done=!1,S):_},a.inflateSetDictionary=function(e,t){var a,n=t.length;return e&&e.state?0!==(a=e.state).wrap&&11!==a.mode?_:11===a.mode&&f(1,t,n,0)!==a.check?-3:u(e,t,n,n)?(a.mode=31,-4):(a.havedict=1,S):_},a.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,a){"use strict";var n=e("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,a,l,c,u,d,h){var p,f,m,g,v,y,b,S,_,w=h.bits,C=0,k=0,x=0,P=0,I=0,D=0,E=0,T=0,R=0,B=0,A=null,M=0,F=new n.Buf16(16),z=new n.Buf16(16),L=null,O=0;for(C=0;C<=15;C++)F[C]=0;for(k=0;k<l;k++)F[t[a+k]]++;for(I=w,P=15;1<=P&&0===F[P];P--);if(P<I&&(I=P),0===P)return c[u++]=20971520,c[u++]=20971520,h.bits=1,0;for(x=1;x<P&&0===F[x];x++);for(I<x&&(I=x),C=T=1;C<=15;C++)if(T<<=1,(T-=F[C])<0)return-1;if(0<T&&(0===e||1!==P))return-1;for(z[1]=0,C=1;C<15;C++)z[C+1]=z[C]+F[C];for(k=0;k<l;k++)0!==t[a+k]&&(d[z[t[a+k]]++]=k);if(y=0===e?(A=L=d,19):1===e?(A=r,M-=257,L=i,O-=257,256):(A=o,L=s,-1),C=x,v=u,E=k=B=0,m=-1,g=(R=1<<(D=I))-1,1===e&&852<R||2===e&&592<R)return 1;for(;;){for(b=C-E,_=d[k]<y?(S=0,d[k]):d[k]>y?(S=L[O+d[k]],A[M+d[k]]):(S=96,0),p=1<<C-E,x=f=1<<D;c[v+(B>>E)+(f-=p)]=b<<24|S<<16|_|0,0!==f;);for(p=1<<C-1;B&p;)p>>=1;if(0!==p?(B&=p-1,B+=p):B=0,k++,0==--F[C]){if(C===P)break;C=t[a+d[k]]}if(I<C&&(B&g)!==m){for(0===E&&(E=I),v+=x,T=1<<(D=C-E);D+E<P&&!((T-=F[D+E])<=0);)D++,T<<=1;if(R+=1<<D,1===e&&852<R||2===e&&592<R)return 1;c[m=B&g]=I<<24|D<<16|v-u|0}}return 0!==B&&(c[v+B]=C-E<<24|64<<16|0),h.bits=I,0}},{"../utils/common":41}],51:[function(e,t,a){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,a){"use strict";function n(e){for(var t=e.length;0<=--t;)e[t]=0}function r(e,t,a,n,r){this.static_tree=e,this.extra_bits=t,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=e&&e.length}function i(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function o(e){return e<256?j[e]:j[256+(e>>>7)]}function s(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function l(e,t,a){e.bi_valid>E-a?(e.bi_buf|=t<<e.bi_valid&65535,s(e,e.bi_buf),e.bi_buf=t>>E-e.bi_valid,e.bi_valid+=a-E):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=a)}function c(e,t,a){l(e,a[2*t],a[2*t+1])}function u(e,t){for(var a=0;a|=1&e,e>>>=1,a<<=1,0<--t;);return a>>>1}function d(e,t,a){var n,r,i=new Array(D+1),o=0;for(n=1;n<=D;n++)i[n]=o=o+a[n-1]<<1;for(r=0;r<=t;r++){var s=e[2*r+1];0!==s&&(e[2*r]=u(i[s]++,s))}}function h(e){var t;for(t=0;t<k;t++)e.dyn_ltree[2*t]=0;for(t=0;t<x;t++)e.dyn_dtree[2*t]=0;for(t=0;t<P;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*T]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function p(e){8<e.bi_valid?s(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function f(e,t,a,n){var r=2*t,i=2*a;return e[r]<e[i]||e[r]===e[i]&&n[t]<=n[a]}function m(e,t,a){for(var n=e.heap[a],r=a<<1;r<=e.heap_len&&(r<e.heap_len&&f(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!f(t,n,e.heap[r],e.depth));)e.heap[a]=e.heap[r],a=r,r<<=1;e.heap[a]=n}function g(e,t,a){var n,r,i,s,u=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*u]<<8|e.pending_buf[e.d_buf+2*u+1],r=e.pending_buf[e.l_buf+u],u++,0===n?c(e,r,t):(c(e,(i=G[r])+C+1,t),0!==(s=M[i])&&l(e,r-=U[i],s),c(e,i=o(--n),a),0!==(s=F[i])&&l(e,n-=K[i],s)),u<e.last_lit;);c(e,T,t)}function v(e,t){var a,n,r,i=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=I,a=0;a<l;a++)0!==i[2*a]?(e.heap[++e.heap_len]=c=a,e.depth[a]=0):i[2*a+1]=0;for(;e.heap_len<2;)i[2*(r=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[r]=0,e.opt_len--,s&&(e.static_len-=o[2*r+1]);for(t.max_code=c,a=e.heap_len>>1;1<=a;a--)m(e,i,a);for(r=l;a=e.heap[1],e.heap[1]=e.heap[e.heap_len--],m(e,i,1),n=e.heap[1],e.heap[--e.heap_max]=a,e.heap[--e.heap_max]=n,i[2*r]=i[2*a]+i[2*n],e.depth[r]=(e.depth[a]>=e.depth[n]?e.depth[a]:e.depth[n])+1,i[2*a+1]=i[2*n+1]=r,e.heap[1]=r++,m(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var a,n,r,i,o,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(i=0;i<=D;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,a=e.heap_max+1;a<I;a++)f<(i=l[2*l[2*(n=e.heap[a])+1]+1]+1)&&(i=f,m++),l[2*n+1]=i,c<n||(e.bl_count[i]++,o=0,p<=n&&(o=h[n-p]),s=l[2*n],e.opt_len+=s*(i+o),d&&(e.static_len+=s*(u[2*n+1]+o)));if(0!==m){do{for(i=f-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[f]--,m-=2}while(0<m);for(i=f;0!==i;i--)for(n=e.bl_count[i];0!==n;)c<(r=e.heap[--a])||(l[2*r+1]!==i&&(e.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(e,t),d(i,c,e.bl_count)}function y(e,t,a){var n,r,i=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),t[2*(a+1)+1]=65535,n=0;n<=a;n++)r=o,o=t[2*(n+1)+1],++s<l&&r===o||(s<c?e.bl_tree[2*r]+=s:0!==r?(r!==i&&e.bl_tree[2*r]++,e.bl_tree[2*R]++):s<=10?e.bl_tree[2*B]++:e.bl_tree[2*A]++,i=r,c=(s=0)===o?(l=138,3):r===o?(l=6,3):(l=7,4))}function b(e,t,a){var n,r,i=-1,o=t[1],s=0,u=7,d=4;for(0===o&&(u=138,d=3),n=0;n<=a;n++)if(r=o,o=t[2*(n+1)+1],!(++s<u&&r===o)){if(s<d)for(;c(e,r,e.bl_tree),0!=--s;);else 0!==r?(r!==i&&(c(e,r,e.bl_tree),s--),c(e,R,e.bl_tree),l(e,s-3,2)):s<=10?(c(e,B,e.bl_tree),l(e,s-3,3)):(c(e,A,e.bl_tree),l(e,s-11,7));i=r,d=(s=0)===o?(u=138,3):r===o?(u=6,3):(u=7,4)}}function S(e,t,a,n){l(e,(w<<1)+(n?1:0),3),function(e,t,a,n){p(e),s(e,a),s(e,~a),_.arraySet(e.pending_buf,e.window,t,a,e.pending),e.pending+=a}(e,t,a)}var _=e("../utils/common"),w=0,C=256,k=C+1+29,x=30,P=19,I=2*k+1,D=15,E=16,T=256,R=16,B=17,A=18,M=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],F=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],z=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],O=new Array(2*(k+2));n(O);var N=new Array(2*x);n(N);var j=new Array(512);n(j);var G=new Array(256);n(G);var U=new Array(29);n(U);var H,V,Y,K=new Array(x);n(K);var W=!1;a._tr_init=function(e){W||(function(){var e,t,a,n,i,o=new Array(D+1);for(n=a=0;n<28;n++)for(U[n]=a,e=0;e<1<<M[n];e++)G[a++]=n;for(G[a-1]=n,n=i=0;n<16;n++)for(K[n]=i,e=0;e<1<<F[n];e++)j[i++]=n;for(i>>=7;n<x;n++)for(K[n]=i<<7,e=0;e<1<<F[n]-7;e++)j[256+i++]=n;for(t=0;t<=D;t++)o[t]=0;for(e=0;e<=143;)O[2*e+1]=8,e++,o[8]++;for(;e<=255;)O[2*e+1]=9,e++,o[9]++;for(;e<=279;)O[2*e+1]=7,e++,o[7]++;for(;e<=287;)O[2*e+1]=8,e++,o[8]++;for(d(O,k+1,o),e=0;e<x;e++)N[2*e+1]=5,N[2*e]=u(e,5);H=new r(O,M,C+1,k,D),V=new r(N,F,0,x,D),Y=new r(new Array(0),z,0,P,7)}(),W=!0),e.l_desc=new i(e.dyn_ltree,H),e.d_desc=new i(e.dyn_dtree,V),e.bl_desc=new i(e.bl_tree,Y),e.bi_buf=0,e.bi_valid=0,h(e)},a._tr_stored_block=S,a._tr_flush_block=function(e,t,a,n){var r,i,o=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,a=4093624447;for(t=0;t<=31;t++,a>>>=1)if(1&a&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<C;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),v(e,e.l_desc),v(e,e.d_desc),o=function(e){var t;for(y(e,e.dyn_ltree,e.l_desc.max_code),y(e,e.dyn_dtree,e.d_desc.max_code),v(e,e.bl_desc),t=P-1;3<=t&&0===e.bl_tree[2*L[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),r=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=r&&(r=i)):r=i=a+5,a+4<=r&&-1!==t?S(e,t,a,n):4===e.strategy||i===r?(l(e,2+(n?1:0),3),g(e,O,N)):(l(e,4+(n?1:0),3),function(e,t,a,n){var r;for(l(e,t-257,5),l(e,a-1,5),l(e,n-4,4),r=0;r<n;r++)l(e,e.bl_tree[2*L[r]+1],3);b(e,e.dyn_ltree,t-1),b(e,e.dyn_dtree,a-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),g(e,e.dyn_ltree,e.dyn_dtree)),h(e),n&&p(e)},a._tr_tally=function(e,t,a){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&a,e.last_lit++,0===t?e.dyn_ltree[2*a]++:(e.matches++,t--,e.dyn_ltree[2*(G[a]+C+1)]++,e.dyn_dtree[2*o(t)]++),e.last_lit===e.lit_bufsize-1},a._tr_align=function(e){l(e,2,3),c(e,T,O),function(e){16===e.bi_valid?(s(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,a){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,a){"use strict";t.exports="function"==typeof n?n:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)})}).call(t,a(55).Buffer,a(11),a(59).setImmediate)},function(e,t,a){"use strict";(function(e){function n(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function r(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=i.prototype):(null===e&&(e=new i(t)),e.length=t),e}function i(e,t,a){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(e,t,a);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return o(this,e,t,a)}function o(e,t,a,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?h(e,t,a,n):"string"==typeof t?u(e,t,a):p(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e,t,a,n){return s(t),t<=0?r(e,t):void 0!==a?"string"==typeof n?r(e,t).fill(a,n):r(e,t).fill(a):r(e,t)}function c(e,t){if(s(t),e=r(e,t<0?0:0|f(t)),!i.TYPED_ARRAY_SUPPORT)for(var a=0;a<t;++a)e[a]=0;return e}function u(e,t,a){if("string"==typeof a&&""!==a||(a="utf8"),!i.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var n=0|g(t,a);e=r(e,n);var o=e.write(t,a);return o!==n&&(e=e.slice(0,o)),e}function d(e,t){var a=t.length<0?0:0|f(t.length);e=r(e,a);for(var n=0;n<a;n+=1)e[n]=255&t[n];return e}function h(e,t,a,n){if(t.byteLength,a<0||t.byteLength<a)throw new RangeError("'offset' is out of bounds");if(t.byteLength<a+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===a&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,a):new Uint8Array(t,a,n),i.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=i.prototype):e=d(e,t),e}function p(e,t){if(i.isBuffer(t)){var a=0|f(t.length);return e=r(e,a),0===e.length?e:(t.copy(e,0,0,a),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||Z(t.length)?r(e,0):d(e,t);if("Buffer"===t.type&&$(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function f(e){if(e>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),i.alloc(+e)}function g(e,t){if(i.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var a=e.length;if(0===a)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*a;case"hex":return a>>>1;case"base64":return W(e).length;default:if(n)return V(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,a){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===a||a>this.length)&&(a=this.length),a<=0)return"";if(a>>>=0,t>>>=0,a<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return B(this,t,a);case"utf8":case"utf-8":return D(this,t,a);case"ascii":return T(this,t,a);case"latin1":case"binary":return R(this,t,a);case"base64":return I(this,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,a);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,a){var n=e[t];e[t]=e[a],e[a]=n}function b(e,t,a,n,r){if(0===e.length)return-1;if("string"==typeof a?(n=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,isNaN(a)&&(a=r?0:e.length-1),a<0&&(a=e.length+a),a>=e.length){if(r)return-1;a=e.length-1}else if(a<0){if(!r)return-1;a=0}if("string"==typeof t&&(t=i.from(t,n)),i.isBuffer(t))return 0===t.length?-1:S(e,t,a,n,r);if("number"==typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,a):Uint8Array.prototype.lastIndexOf.call(e,t,a):S(e,[t],a,n,r);throw new TypeError("val must be string, number or Buffer")}function S(e,t,a,n,r){function i(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,a/=2}var c;if(r){var u=-1;for(c=a;c<s;c++)if(i(e,c)===i(t,-1===u?0:c-u)){if(-1===u&&(u=c),c-u+1===l)return u*o}else-1!==u&&(c-=c-u),u=-1}else for(a+l>s&&(a=s-l),c=a;c>=0;c--){for(var d=!0,h=0;h<l;h++)if(i(e,c+h)!==i(t,h)){d=!1;break}if(d)return c}return-1}function _(e,t,a,n){a=Number(a)||0;var r=e.length-a;n?(n=Number(n))>r&&(n=r):n=r;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[a+o]=s}return o}function w(e,t,a,n){return q(V(t,e.length-a),e,a,n)}function C(e,t,a,n){return q(Y(t),e,a,n)}function k(e,t,a,n){return C(e,t,a,n)}function x(e,t,a,n){return q(W(t),e,a,n)}function P(e,t,a,n){return q(K(t,e.length-a),e,a,n)}function I(e,t,a){return 0===t&&a===e.length?X.fromByteArray(e):X.fromByteArray(e.slice(t,a))}function D(e,t,a){a=Math.min(e.length,a);for(var n=[],r=t;r<a;){var i=e[r],o=null,s=i>239?4:i>223?3:i>191?2:1;if(r+s<=a){var l,c,u,d;switch(s){case 1:i<128&&(o=i);break;case 2:l=e[r+1],128==(192&l)&&(d=(31&i)<<6|63&l)>127&&(o=d);break;case 3:l=e[r+1],c=e[r+2],128==(192&l)&&128==(192&c)&&(d=(15&i)<<12|(63&l)<<6|63&c)>2047&&(d<55296||d>57343)&&(o=d);break;case 4:l=e[r+1],c=e[r+2],u=e[r+3],128==(192&l)&&128==(192&c)&&128==(192&u)&&(d=(15&i)<<18|(63&l)<<12|(63&c)<<6|63&u)>65535&&d<1114112&&(o=d)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),r+=s}return E(n)}function E(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var a="",n=0;n<t;)a+=String.fromCharCode.apply(String,e.slice(n,n+=Q));return a}function T(e,t,a){var n="";a=Math.min(e.length,a);for(var r=t;r<a;++r)n+=String.fromCharCode(127&e[r]);return n}function R(e,t,a){var n="";a=Math.min(e.length,a);for(var r=t;r<a;++r)n+=String.fromCharCode(e[r]);return n}function B(e,t,a){var n=e.length;(!t||t<0)&&(t=0),(!a||a<0||a>n)&&(a=n);for(var r="",i=t;i<a;++i)r+=H(e[i]);return r}function A(e,t,a){for(var n=e.slice(t,a),r="",i=0;i<n.length;i+=2)r+=String.fromCharCode(n[i]+256*n[i+1]);return r}function M(e,t,a){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>a)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,a,n,r,o){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<o)throw new RangeError('"value" argument is out of bounds');if(a+n>e.length)throw new RangeError("Index out of range")}function z(e,t,a,n){t<0&&(t=65535+t+1);for(var r=0,i=Math.min(e.length-a,2);r<i;++r)e[a+r]=(t&255<<8*(n?r:1-r))>>>8*(n?r:1-r)}function L(e,t,a,n){t<0&&(t=4294967295+t+1);for(var r=0,i=Math.min(e.length-a,4);r<i;++r)e[a+r]=t>>>8*(n?r:3-r)&255}function O(e,t,a,n,r,i){if(a+n>e.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function N(e,t,a,n,r){return r||O(e,t,a,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(e,t,a,n,23,4),a+4}function j(e,t,a,n,r){return r||O(e,t,a,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(e,t,a,n,52,8),a+8}function G(e){if(e=U(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function U(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function H(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){t=t||1/0;for(var a,n=e.length,r=null,i=[],o=0;o<n;++o){if((a=e.charCodeAt(o))>55295&&a<57344){if(!r){if(a>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&i.push(239,191,189);continue}r=a;continue}if(a<56320){(t-=3)>-1&&i.push(239,191,189),r=a;continue}a=65536+(r-55296<<10|a-56320)}else r&&(t-=3)>-1&&i.push(239,191,189);if(r=null,a<128){if((t-=1)<0)break;i.push(a)}else if(a<2048){if((t-=2)<0)break;i.push(a>>6|192,63&a|128)}else if(a<65536){if((t-=3)<0)break;i.push(a>>12|224,a>>6&63|128,63&a|128)}else{if(!(a<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(a>>18|240,a>>12&63|128,a>>6&63|128,63&a|128)}}return i}function Y(e){for(var t=[],a=0;a<e.length;++a)t.push(255&e.charCodeAt(a));return t}function K(e,t){for(var a,n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)a=e.charCodeAt(o),n=a>>8,r=a%256,i.push(r),i.push(n);return i}function W(e){return X.toByteArray(G(e))}function q(e,t,a,n){for(var r=0;r<n&&!(r+a>=t.length||r>=e.length);++r)t[r+a]=e[r];return r}function Z(e){return e!==e}/*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var X=a(56),J=a(57),$=a(58);t.Buffer=i,t.SlowBuffer=m,t.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=n(),i.poolSize=8192,i._augment=function(e){return e.__proto__=i.prototype,e},i.from=function(e,t,a){return o(null,e,t,a)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(e,t,a){return l(null,e,t,a)},i.allocUnsafe=function(e){return c(null,e)},i.allocUnsafeSlow=function(e){return c(null,e)},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var a=e.length,n=t.length,r=0,o=Math.min(a,n);r<o;++r)if(e[r]!==t[r]){a=e[r],n=t[r];break}return a<n?-1:n<a?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!$(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var a;if(void 0===t)for(t=0,a=0;a<e.length;++a)t+=e[a].length;var n=i.allocUnsafe(t),r=0;for(a=0;a<e.length;++a){var o=e[a];if(!i.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},i.byteLength=g,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},i.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?D(this,0,e):v.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",a=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,a).match(/.{2}/g).join(" "),this.length>a&&(e+=" ... ")),"<Buffer "+e+">"},i.prototype.compare=function(e,t,a,n,r){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===a&&(a=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||a>e.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&t>=a)return 0;if(n>=r)return-1;if(t>=a)return 1;if(t>>>=0,a>>>=0,n>>>=0,r>>>=0,this===e)return 0;for(var o=r-n,s=a-t,l=Math.min(o,s),c=this.slice(n,r),u=e.slice(t,a),d=0;d<l;++d)if(c[d]!==u[d]){o=c[d],s=u[d];break}return o<s?-1:s<o?1:0},i.prototype.includes=function(e,t,a){return-1!==this.indexOf(e,t,a)},i.prototype.indexOf=function(e,t,a){return b(this,e,t,a,!0)},i.prototype.lastIndexOf=function(e,t,a){return b(this,e,t,a,!1)},i.prototype.write=function(e,t,a,n){if(void 0===t)n="utf8",a=this.length,t=0;else if(void 0===a&&"string"==typeof t)n=t,a=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(a)?(a|=0,void 0===n&&(n="utf8")):(n=a,a=void 0)}var r=this.length-t;if((void 0===a||a>r)&&(a=r),e.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return _(this,e,t,a);case"utf8":case"utf-8":return w(this,e,t,a);case"ascii":return C(this,e,t,a);case"latin1":case"binary":return k(this,e,t,a);case"base64":return x(this,e,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,a);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;i.prototype.slice=function(e,t){var a=this.length;e=~~e,t=void 0===t?a:~~t,e<0?(e+=a)<0&&(e=0):e>a&&(e=a),t<0?(t+=a)<0&&(t=0):t>a&&(t=a),t<e&&(t=e);var n;if(i.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=i.prototype;else{var r=t-e;n=new i(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+e]}return n},i.prototype.readUIntLE=function(e,t,a){e|=0,t|=0,a||M(e,t,this.length);for(var n=this[e],r=1,i=0;++i<t&&(r*=256);)n+=this[e+i]*r;return n},i.prototype.readUIntBE=function(e,t,a){e|=0,t|=0,a||M(e,t,this.length);for(var n=this[e+--t],r=1;t>0&&(r*=256);)n+=this[e+--t]*r;return n},i.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,a){e|=0,t|=0,a||M(e,t,this.length);for(var n=this[e],r=1,i=0;++i<t&&(r*=256);)n+=this[e+i]*r;return r*=128,n>=r&&(n-=Math.pow(2,8*t)),n},i.prototype.readIntBE=function(e,t,a){e|=0,t|=0,a||M(e,t,this.length);for(var n=t,r=1,i=this[e+--n];n>0&&(r*=256);)i+=this[e+--n]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var a=this[e]|this[e+1]<<8;return 32768&a?4294901760|a:a},i.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var a=this[e+1]|this[e]<<8;return 32768&a?4294901760|a:a},i.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),J.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),J.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),J.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),J.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,a,n){if(e=+e,t|=0,a|=0,!n){F(this,e,t,a,Math.pow(2,8*a)-1,0)}var r=1,i=0;for(this[t]=255&e;++i<a&&(r*=256);)this[t+i]=e/r&255;return t+a},i.prototype.writeUIntBE=function(e,t,a,n){if(e=+e,t|=0,a|=0,!n){F(this,e,t,a,Math.pow(2,8*a)-1,0)}var r=a-1,i=1;for(this[t+r]=255&e;--r>=0&&(i*=256);)this[t+r]=e/i&255;return t+a},i.prototype.writeUInt8=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},i.prototype.writeUInt16BE=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},i.prototype.writeUInt32LE=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},i.prototype.writeUInt32BE=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},i.prototype.writeIntLE=function(e,t,a,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*a-1);F(this,e,t,a,r-1,-r)}var i=0,o=1,s=0;for(this[t]=255&e;++i<a&&(o*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+a},i.prototype.writeIntBE=function(e,t,a,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*a-1);F(this,e,t,a,r-1,-r)}var i=a-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+a},i.prototype.writeInt8=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},i.prototype.writeInt16BE=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},i.prototype.writeInt32LE=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},i.prototype.writeInt32BE=function(e,t,a){return e=+e,t|=0,a||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},i.prototype.writeFloatLE=function(e,t,a){return N(this,e,t,!0,a)},i.prototype.writeFloatBE=function(e,t,a){return N(this,e,t,!1,a)},i.prototype.writeDoubleLE=function(e,t,a){return j(this,e,t,!0,a)},i.prototype.writeDoubleBE=function(e,t,a){return j(this,e,t,!1,a)},i.prototype.copy=function(e,t,a,n){if(a||(a=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<a&&(n=a),n===a)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-a&&(n=e.length-t+a);var r,o=n-a;if(this===e&&a<t&&t<n)for(r=o-1;r>=0;--r)e[r+t]=this[r+a];else if(o<1e3||!i.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)e[r+t]=this[r+a];else Uint8Array.prototype.set.call(e,this.subarray(a,a+o),t);return o},i.prototype.fill=function(e,t,a,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,a=this.length):"string"==typeof a&&(n=a,a=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<a)throw new RangeError("Out of range index");if(a<=t)return this;t>>>=0,a=void 0===a?this.length:a>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o<a;++o)this[o]=e;else{var s=i.isBuffer(e)?e:V(new i(e,n).toString()),l=s.length;for(o=0;o<a-t;++o)this[o+t]=s[o%l]}return this};var ee=/[^+\/0-9A-Za-z-_]/g}).call(t,a(11))},function(e,t,a){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=e.indexOf("=");return-1===a&&(a=t),[a,a===t?0:4-a%4]}function r(e){var t=n(e),a=t[0],r=t[1];return 3*(a+r)/4-r}function i(e,t,a){return 3*(t+a)/4-a}function o(e){var t,a,r=n(e),o=r[0],s=r[1],l=new h(i(e,o,s)),c=0,u=s>0?o-4:o;for(a=0;a<u;a+=4)t=d[e.charCodeAt(a)]<<18|d[e.charCodeAt(a+1)]<<12|d[e.charCodeAt(a+2)]<<6|d[e.charCodeAt(a+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=d[e.charCodeAt(a)]<<2|d[e.charCodeAt(a+1)]>>4,l[c++]=255&t),1===s&&(t=d[e.charCodeAt(a)]<<10|d[e.charCodeAt(a+1)]<<4|d[e.charCodeAt(a+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function s(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function l(e,t,a){for(var n,r=[],i=t;i<a;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),r.push(s(n));return r.join("")}function c(e){for(var t,a=e.length,n=a%3,r=[],i=0,o=a-n;i<o;i+=16383)r.push(l(e,i,i+16383>o?o:i+16383));return 1===n?(t=e[a-1],r.push(u[t>>2]+u[t<<4&63]+"==")):2===n&&(t=(e[a-2]<<8)+e[a-1],r.push(u[t>>10]+u[t>>4&63]+u[t<<2&63]+"=")),r.join("")}t.byteLength=r,t.toByteArray=o,t.fromByteArray=c;for(var u=[],d=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,m=p.length;f<m;++f)u[f]=p[f],d[p.charCodeAt(f)]=f;d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,a,n,r){var i,o,s=8*r-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=a?r-1:0,h=a?-1:1,p=e[t+d];for(d+=h,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=h,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=n;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===i)i=1-c;else{if(i===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),i-=c}return(p?-1:1)*o*Math.pow(2,i-n)},t.write=function(e,t,a,n,r,i){var o,s,l,c=8*i-r-1,u=(1<<c)-1,d=u>>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),t+=o+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,r),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;e[a+p]=255&s,p+=f,s/=256,r-=8);for(o=o<<r|s,c+=r;c>0;e[a+p]=255&o,p+=f,o/=256,c-=8);e[a+p-f]|=128*m}},function(e,t){var a={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},function(e,t,a){(function(e){function n(e,t){this._id=e,this._clearFn=t}var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;t.setTimeout=function(){return new n(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new n(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},n.prototype.unref=n.prototype.ref=function(){},n.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},a(60),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,a(11))},function(e,t,a){(function(e,t){!function(e,a){"use strict";function n(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),a=0;a<t.length;a++)t[a]=arguments[a+1];var n={callback:e,args:t};return c[l]=n,s(l),l++}function r(e){delete c[e]}function i(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(a,n)}}function o(e){if(u)setTimeout(o,0,e);else{var t=c[e];if(t){u=!0;try{i(t)}finally{r(e),u=!1}}}}if(!e.setImmediate){var s,l=1,c={},u=!1,d=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){o(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,a=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=a,t}}()?function(){var t="setImmediate$"+Math.random()+"$",a=function(a){a.source===e&&"string"==typeof a.data&&0===a.data.indexOf(t)&&o(+a.data.slice(t.length))};e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),s=function(a){e.postMessage(t+a,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){o(e.data)},s=function(t){e.port2.postMessage(t)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var e=d.documentElement;s=function(t){var a=d.createElement("script");a.onreadystatechange=function(){o(t),a.onreadystatechange=null,e.removeChild(a),a=null},e.appendChild(a)}}():function(){s=function(e){setTimeout(o,0,e)}}(),h.setImmediate=n,h.clearImmediate=r}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,a(11),a(8))},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(2),u=n(c),d=a(1),h=n(d),p=a(3);a(4);var f=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n._replace=function(){n.props.okCallback(n.state.isApplyToAll)},n._cancel=function(){n.props.cancelCallback(n.state.isApplyToAll)},n.state={isApplyToAll:n.props.isApplyToAll},n}return o(t,e),t.prototype.render=function(){var e=this;return l.default.createElement(p.Dialog,{width:"500px",onClose:this._cancel,startingFocusIndex:0},l.default.createElement(p.Dialog.Header,null,h.default.get("schematicsReplaceDlgTitle")),l.default.createElement(p.Dialog.Body,null,h.default.get("schematicsReplaceDlgContent",{sourceName:this.props.sourceName})),l.default.createElement(p.Dialog.Footer,null,l.default.createElement(p.FlexItem,{grow:!0},l.default.createElement(p.FlexLayout,{direction:"column",width:"100%",height:"100%",alignItems:"flex-start",justifyContent:"center"},l.default.createElement(p.FlexItem,null,l.default.createElement(p.Checkbox,{label:h.default.get("schematicsReplaceDlgApplyToAllFiles"),checked:this.state.isApplyToAll,onChange:function(){return e.setState({isApplyToAll:!e.state.isApplyToAll})}})))),l.default.createElement(p.Dialog.Button,{id:"idOkBtn",label:h.default.get("okDialog"),onClick:this._replace,tabIndex:0,intent:"primary",variant:"solid"}),l.default.createElement(p.Dialog.Button,{id:"idCancelBtn",label:h.default.get("cancelDialog"),onClick:this._cancel,tabIndex:0,intent:"primary",variant:"frame"})))},t}(s.Component);f.propTypes={sourceName:u.default.string.isRequired,isApplyToAll:u.default.bool.isRequired,okCallback:u.default.func.isRequired,cancelCallback:u.default.func.isRequired},t.default=f},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(2),u=n(c),d=a(1),h=n(d),p=a(3);a(4);var f=function(e){function t(a){return r(this,t),i(this,e.call(this,a))}return o(t,e),t.prototype.renderCountSelection=function(){var e=this.props.selectionCount,t=0===e?h.default.get("schematicsNoSelection"):h.default.get("schematicsMultipleSelection",{count:e});return l.default.createElement(p.FlexLayout,{direction:"column",width:"100%",height:"100%",alignItems:"center",justifyContent:"center",className:"clsSVGDetailContainer"},l.default.createElement(p.FlexItem,null,l.default.createElement(p.Label,{type:"caption",label:t})))},t.prototype.renderSingleSelection=function(){var e=this,t=this.props,a=t.item,n=t.index,r=t.fileRef,i=h.default.get("nameLabelSchematic"),o=h.default.get("captionLabelSchematic"),s=h.default.get("keyLabelSchematic"),c=r,u=a.source,d=a.caption,f=a.key;return l.default.createElement(p.FlexLayout,{direction:"column",width:"100%",height:"100%",alignItems:"center",className:"clsSVGDetailContainer"},l.default.createElement(p.FlexItem,null,l.default.createElement(p.FlexLayout,{direction:"column",alignItems:"center",justifyContent:"center",className:"clsSVGDetailStyle"},l.default.createElement(p.FlexItem,{style:{width:"100%"}},l.default.createElement(p.FlexItem,null,a&&l.default.createElement("img",{style:{width:"100%",height:"auto",maxWidth:"237px",maxHeight:"216px"},src:c}))))),l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:2})),l.default.createElement(p.FlexItem,{style:{width:"100%",height:"24px"}},l.default.createElement(p.Label,{type:"caption",htmlFor:"nameEdit",label:i})),l.default.createElement(p.FlexItem,{className:"clsSVGDetailEdit"},l.default.createElement(p.TextInput,{id:"nameEdit",value:u,disabled:!0})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:3})),l.default.createElement(p.FlexItem,{style:{width:"100%",height:"24px"}},l.default.createElement(p.Label,{type:"caption",htmlFor:"captionEdit",label:o})),l.default.createElement(p.FlexItem,{className:"clsSVGDetailEdit"},l.default.createElement(p.TextInput,{id:"captionEdit",value:d,onValueChange:function(t){e.props.updateItemCallback("caption",t,n)}})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:3})),l.default.createElement(p.FlexItem,{style:{width:"100%",height:"24px"}},l.default.createElement(p.Label,{type:"caption",htmlFor:"keyEdit",label:s})),l.default.createElement(p.FlexItem,{className:"clsSVGDetailEdit"},l.default.createElement(p.TextInput,{id:"keyEdit",value:f,onValueChange:function(t){e.props.updateItemCallback("key",t,n)}})))},t.prototype.render=function(){return 1===this.props.selectionCount?this.renderSingleSelection():this.renderCountSelection()},t}(s.Component);f.propTypes={item:u.default.object.isRequired,fileRef:u.default.string.isRequired,updateItemCallback:u.default.func.isRequired,index:u.default.number.isRequired,selectionCount:u.default.number.isRequired},t.default=f},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l=a(0),c=n(l),u=a(2),d=n(u),h=a(1),p=n(h),f=a(64),m=n(f),g=a(3);a(4);var v=a(67),y=n(v),b=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n._renderEmptySearchResults=function(){var e=n.props.searchMatches;if(e&&0===e.length)return c.default.createElement(g.FlexLayout,{direction:"column",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"},c.default.createElement(g.FlexItem,null,c.default.createElement(g.FlexItem,null,c.default.createElement(g.SVGIcon,{width:150,height:150,focusable:!1,intent:"info",className:"svgIcon",verticalAlign:"middle",iconId:y.default.id})),c.default.createElement(g.FlexItem,null,c.default.createElement(g.VSpacer,{size:2})),c.default.createElement(g.FlexItem,null,c.default.createElement(g.Label,{label:p.default.get("schematicsEmptySearchResults")}))))},n}return o(t,e),t.prototype.renderVisualizationItem=function(e,t,a,n){return c.default.createElement(m.default,s({},this.props,{key:e.source,item:e,fileRef:t,selected:a,idx:n}))},t.prototype.render=function(){var e=this,t=this.props,a=t.items,n=t.files,r=t.selections,i=t.searchMatches,o=[];return a.forEach(function(t,a){var s=-1!==r.indexOf(a);(i&&-1!==i.indexOf(a)||!i)&&o.push(e.renderVisualizationItem(t,n[a],s,a))}),c.default.createElement(g.FlexLayout,{direction:"row",wrap:"wrap",alignItems:"flex-start",justifyContent:"flex-start",style:{alignContent:"flex-start"},className:"clsSVGTilesStyle",onClick:function(t){t.stopPropagation(),e.props.deSelectAllCallback()}},this._renderEmptySearchResults(),o)},t}(l.Component);b.propTypes={items:d.default.array.isRequired,files:d.default.array.isRequired,selections:d.default.array.isRequired,searchMatches:d.default.array,selectVisualItemCallback:d.default.func.isRequired,deSelectAllCallback:d.default.func.isRequired,handleVisualItemContextMenuCallback:d.default.func.isRequired},t.default=b},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(2),u=n(c),d=a(1),h=n(d),p=a(65),f=n(p),m=a(3);a(4);var g=a(66),v=n(g),y=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n._onClickHandler=function(e){e.stopPropagation(),n.props.selectVisualItemCallback(n.props.idx,e.ctrlKey||e.metaKey)},n._onKeyDownHandler=function(e){32!==e.keyCode&&13!==e.keyCode||n.props.selectVisualItemCallback(n.props.idx,e.ctrlKey||e.metaKey)},n._showVisualItemContextMenu=function(e){n.props.selectVisualItemCallback(e),n.props.handleVisualItemContextMenuCallback(),n.setState({isContextMenuOpen:!n.state.isContextMenuOpen})},n._closeVisualItemContextMenu=function(){n.setState({isContextMenuOpen:!1})},n._renderItem=function(e,t,a){var r="clsSVGTileStyle"+(t?"_selected":"");return l.default.createElement(m.FlexLayout,{direction:"column",className:r,role:"button",tabIndex:0,onClick:n._onClickHandler,onKeyDown:n._onKeyDownHandler},l.default.createElement(m.FlexItem,{style:{width:"100%",height:"16px"}},n._renderMenuOption(a)),l.default.createElement(m.FlexItem,{grow:!0,shrink:!1},n._renderContent(e)))},n._renderMenuOption=function(e){return l.default.createElement(m.FlexLayout,{direction:"row-reverse",className:"clsSVGTileStyleMenu"},l.default.createElement(m.FlexItem,{className:"clsSVGTileStyleMenuAnchor"},l.default.createElement(m.SVGIcon,{size:"small",className:"svgIcon",verticalAlign:"initial",tabIndex:0,iconId:v.default.id,onKeyDown:function(t){t.stopPropagation(),32!==t.keyCode&&13!==t.keyCode||n._showVisualItemContextMenu(e)},onClick:function(t){t.stopPropagation(),n._showVisualItemContextMenu(e)}}),n._renderContextMenu(e)))},n._renderContextMenu=function(e){if(n.state.isContextMenuOpen)return n._getContextMenuContent(e)},n._renderContent=function(e){return l.default.createElement(m.FlexLayout,{direction:"column",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"},l.default.createElement(m.FlexItem,{style:{width:"100%"}},l.default.createElement(m.FlexItem,null,l.default.createElement("img",{style:{width:"100%",height:"auto",maxWidth:"108px",maxHeight:"108px"},src:e}))))},n._renderItemLabel=function(e){return l.default.createElement(m.Label,{label:e.caption,ellipsis:!0})},n.state={isContextMenuOpen:!1},n}return o(t,e),t.prototype._getContextMenuContent=function(e){var t=this;return l.default.createElement(f.default,{theme:!0,placement:"bottomRight",align:"left",triggerNode:this.target,domNodeToAttachTo:document.body,onClose:this._closeVisualItemContextMenu,onChange:function(a,n){t._closeVisualItemContextMenu(),t.props.handleVisualItemContextMenuCallback(a,n,e)},contextMenuItems:this._getContextMenuItems()})},t.prototype._getContextMenuItems=function(){return[{items:[{id:"replace",value:"replace",label:h.default.get("schematicsContextMenuReplace")}]},{},{items:[{id:"delete",value:"delete",label:h.default.get("schematicsContextMenuDelete")}]}]},t.prototype.render=function(){return l.default.createElement(m.FlexItem,{style:{marginLeft:"16px",marginTop:"16px"}},l.default.createElement("div",{ref:this._rootRef,style:{width:"128px"}},l.default.createElement(m.FlexLayout,{fullHeight:!0,direction:"column",alignItems:"flex-start"},l.default.createElement(m.FlexItem,null,this._renderItem(this.props.fileRef,this.props.selected,this.props.idx)),l.default.createElement(m.FlexItem,null,l.default.createElement(m.VSpacer,{size:1})),l.default.createElement(m.FlexItem,{alignSelf:"center",onClick:this._onClickHandler,onKeyDown:this._onKeyDownHandler},this._renderItemLabel(this.props.item)),l.default.createElement(m.FlexItem,null,l.default.createElement(m.VSpacer,{size:1})))))},t}(s.Component);y.propTypes={item:u.default.object.isRequired,fileRef:u.default.string.isRequired,selected:u.default.bool.isRequired,idx:u.default.number.isRequired,items:u.default.array.isRequired,files:u.default.array.isRequired,selections:u.default.array.isRequired,selectVisualItemCallback:u.default.func.isRequired,handleVisualItemContextMenuCallback:u.default.func.isRequired},t.default=y},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(2),u=n(c),d=a(3);a(4);var h=function(e){function t(a){return r(this,t),i(this,e.call(this,a))}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.theme,a=e.placement,n=void 0===a?"bottomRight":a,r=e.align,i=void 0===r?"left":r,o=e.domNodeToAttachTo,s=void 0===o?document.body:o,c=e.triggerNode,u=e.contextMenuItems,h=e.onClose,p=e.onChange;if(u&&u.length)return l.default.createElement(d.ContextMenu,{theme:t,placement:n,align:i,triggerNode:c,domNodeToAttachTo:s,onClose:h,onChange:p,onClick:function(e){e.stopPropagation()},onKeyDown:function(e){e.stopPropagation()}},this._renderMenuItems(u))},t.prototype._renderMenuItems=function(e){var t=this;if(e)return e.map(function(e,a){return t._renderMenuSection(e,a)})},t.prototype._renderMenuSection=function(e,t){if(Array.isArray(e.items)){var a=e.name,n=void 0===a?"menu":a,r=e.label,i=e.items;return l.default.createElement(d.ContextMenu.List,{key:t,content:i,name:n,label:r,clickSelection:!0})}return l.default.createElement(d.ContextMenu.Separator,{key:t})},t}(s.Component);h.propTypes={contextMenuItems:u.default.array,placement:u.default.string,align:u.default.string,triggerNode:u.default.object,style:u.default.object,domNodeToAttachTo:u.default.object,theme:u.default.bool,onClose:u.default.func,onChange:u.default.func},t.default=h},function(e,t,a){!function(t,n){e.exports=n(a(7))}("undefined"!=typeof self&&self,function(e){return webpackJsonPBaGraphics([884],{"3865314c5959606874d4":function(t,a){t.exports=e},af83182bafd180c8d184:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3865314c5959606874d4"),r=(a.n(n),a("eb2240265499dbcd194b"));t.default=r.a},eb2240265499dbcd194b:function(e,t,a){"use strict";var n=a("9689a9c94ae38b47fa2c"),r=a.n(n),i=a("9ce58a7deea14f49ef01"),o=a.n(i),s=new r.a({id:"menu-overflow_24_v7",use:"menu-overflow_24_v7-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="menu-overflow_24_v7"><circle cx="4" cy="12" r="2" /><circle cx="12" cy="12" r="2" /><circle cx="20" cy="12" r="2" /></symbol>'});o.a.add(s),t.a=s}},["af83182bafd180c8d184"])})},function(e,t,a){!function(t,n){e.exports=n(a(7))}("undefined"!=typeof self&&self,function(e){return webpackJsonPBaGraphics([447],{"2faa256623dda8fa3df1":function(e,t,a){"use strict";var n=a("9689a9c94ae38b47fa2c"),r=a.n(n),i=a("9ce58a7deea14f49ef01"),o=a.n(i),s=new r.a({id:"search_16_v7",use:"search_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="search_16_v7"><path d="M15 14.3L10.7 10c1.9-2.3 1.6-5.8-.7-7.7S4.2.7 2.3 3 .7 8.8 3 10.7c2 1.7 5 1.7 7 0l4.3 4.3.7-.7zM2 6.5C2 4 4 2 6.5 2S11 4 11 6.5 9 11 6.5 11 2 9 2 6.5z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});o.a.add(s),t.a=s},"3865314c5959606874d4":function(t,a){t.exports=e},"7417e443bcec9c766abb":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3865314c5959606874d4"),r=(a.n(n),a("2faa256623dda8fa3df1"));t.default=r.a}},["7417e443bcec9c766abb"])})},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(0),l=n(s),c=a(2),u=n(c),d=a(1),h=n(d),p=a(3);a(4);var f=a(25),m=n(f),g=a(69),v=n(g),y=a(70),b=n(y),S="add",_=".svg .jpg .png",w=function(e){function t(a){r(this,t);var n=i(this,e.call(this,a));return n._showOverlay=function(){n.setState({isDragging:!0})},n._hideOverlay=function(){n.setState({isDragging:!1})},n._findSourceName=function(e){return e.split("/").pop()},n._getUrlCreator=function(){return window.URL||window.webkitURL},n._handlePackageNameChange=function(e){n.props.onChange({name:"name",value:e})},n._handlePackageDescriptionChange=function(e){n.props.onChange({name:"description",value:e})},n._handleDragEnter=function(){n._showOverlay()},n._handleDragOver=function(e){e.dataTransfer.dropEffect="copy",e.preventDefault(),e.stopPropagation()},n._handleDragEnd=function(){n._hideOverlay()},n._handleDragLeave=function(e){n._hideOverlay(),e.preventDefault()},n._handleDrop=function(e){n._hideOverlay();for(var t=!1,a=0;a<e.dataTransfer.files.length;a++){var r=e.dataTransfer.files[a];if(_.indexOf(r.name.toLowerCase().substr(-4))<0){n.props.onIconError(new Error(h.default.get("schematicsInvalidType",{type:r.name}))),t=!0;break}}t||n._handleIconChange(S,e.dataTransfer.files),e.preventDefault()},n._handleIconChange=function(e,t){var a=n.props,r=a.zipMaxSize,i=a.imgMaxSize,o=a.onIconError,s=a.onIconChanged;if("add"===e){var l=new m.default(null,r,i,_);l.load(t,function(e){if(e.length>0){var t=e[0],a=null,r=n._findSourceName(t);l.getFileAsBlob(t).then(function(e){a=n._getUrlCreator().createObjectURL(e),s(r,a)}).catch(o)}},o)}else"remove"===e&&s("","")},n.state={isDragging:!1},n.inputRef=null,n.dndOverlay=null,n}return o(t,e),t.prototype._renderTabContent=function(){return this.props.iconURL?this._renderIconRow():this._renderDropZone()},t.prototype._renderIconRow=function(){var e=this,t=this.props,a=t.iconURL,n=t.iconName;return a?l.default.createElement(p.FlexLayout,{className:"clsSVGIconRow",direction:"row",justifyContent:"flex-start",alignItems:"center"},l.default.createElement(p.FlexItem,null,l.default.createElement(p.FlexLayout,{direction:"column",alignItems:"center",justifyContent:"center",id:"svgIconFL"},l.default.createElement(p.FlexItem,{id:"svgIconFI"},l.default.createElement(p.FlexItem,null,l.default.createElement("img",{id:"svgIconIMG",src:a}))))),l.default.createElement(p.FlexItem,null,l.default.createElement(p.HSpacer,{size:2})),l.default.createElement(p.FlexItem,{grow:!0},l.default.createElement(p.FlexLayout,{direction:"row",justifyContent:"flex-start"},l.default.createElement(p.FlexItem,null,l.default.createElement(p.Label,{id:"idSchematicIconLabel",type:"caption",htmlFor:"idSchematicIcon",label:n,ellipsis:!0})))),l.default.createElement(p.FlexItem,null,l.default.createElement(p.Button,{id:"idRemoveIcon",intent:"primary",icon:b.default.id,iconSize:"small",variant:"icon",onClick:function(){return e._handleIconChange("remove",null)},title:h.default.get("schematicsDeleteIcon"),tabIndex:0}))):void 0},t.prototype._renderDropZone=function(){var e=this,t=this.props.imgMaxSize,a=h.default.get("schematicsIconDropFiles"),n=h.default.get("schematicsIconOr"),r=h.default.get("schematicsIconFileTypes"),i=h.default.get("schematicsIconFileSize",{size:t});return l.default.createElement(p.FlexLayout,{fullHeight:!0,alignItems:"center",direction:"column",justifyContent:"center"},l.default.createElement(p.FlexItem,null,l.default.createElement(p.SVGIcon,{width:32,height:32,focusable:!1,intent:"info",className:"svgIcon",verticalAlign:"middle",iconId:v.default.id})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:2})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.Label,{type:"caption",label:a})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.Label,{label:n})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:1})),l.default.createElement(p.FlexItem,null,l.default.createElement("input",{ref:function(t){e.inputRef=t},id:"idChooseFile_Input",accept:".svg, .jpg, .png",type:"file",onChange:function(){return e._handleIconChange(S,e.inputRef.files)},style:{display:"none"}}),l.default.createElement(p.Button,{id:"idChooseFile_Button",intent:"primary",onClick:function(){return e.inputRef.click()},label:h.default.get("schematicsChooseFile"),tabIndex:0})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:1})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.Label,{label:r})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.Label,{label:i})))},t.prototype.render=function(){var e=this,t=this.props,a=t.packageName,n=t.packageDescription,r=this.state.isDragging?"block":"none",i=h.default.get("nameLabelSchematic"),o=h.default.get("schematicsDescriptionLabel"),s=h.default.get("schematicsIconLabel");return l.default.createElement(p.FlexLayout,{className:"clsSVGTabsStyle",direction:"row",style:{width:"100%"}},l.default.createElement(p.FlexItem,null,l.default.createElement(p.FlexLayout,{className:"clsSVGDetailsPanel",direction:"column"},l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:2})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.Label,{type:"caption",htmlFor:"packageNameEdit",label:i})),l.default.createElement(p.FlexItem,{className:"clsSVGPackageEdit"},l.default.createElement(p.TextInput,{id:"packageNameEdit",value:a,onValueChange:this._handlePackageNameChange})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:3})),l.default.createElement(p.FlexItem,{height:24,overflow:"hidden"},l.default.createElement(p.Label,{type:"caption",htmlFor:"packageDescriptionEdit",label:o})),l.default.createElement(p.FlexItem,{className:"clsSVGPackageEdit"},l.default.createElement(p.TextArea,{id:"packageDescriptionEdit",value:n,onChange:this._handlePackageDescriptionChange})))),l.default.createElement(p.FlexItem,null,l.default.createElement(p.HSpacer,{size:4})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.FlexLayout,{direction:"column"},l.default.createElement(p.FlexItem,null,l.default.createElement(p.VSpacer,{size:2})),l.default.createElement(p.FlexItem,null,l.default.createElement(p.Label,{type:"caption",htmlFor:"iconDropZone",label:s})),l.default.createElement(p.FlexItem,{className:"clsSVGIconPanel"},l.default.createElement(p.Container,{onDragEnter:function(t){return e._handleDragEnter(t)},className:this.state.isDragging?"clsSVGDropZone dragging":"clsSVGDropZone",droppable:"true"},l.default.createElement(p.Container,{className:"clsSVGDndOverlay",onDragOver:function(t){return e._handleDragOver(t)},onDragEnd:function(t){return e._handleDragEnd(t)},onDragLeave:function(t){return e._handleDragLeave(t)},onDrop:function(t){return e._handleDrop(t)},style:{display:r},ref:function(t){e.dndOverlay=t}}),this._renderTabContent())))))},t}(s.Component);w.defaultProps={iconName:"",iconURL:"",packageDescription:""},w.propTypes={packageName:u.default.string.isRequired,packageDescription:u.default.string.isRequired,iconURL:u.default.string,iconName:u.default.string,zipMaxSize:u.default.number,imgMaxSize:u.default.number,onChange:u.default.func.isRequired,onIconChanged:u.default.func.isRequired,onIconError:u.default.func.isRequired},t.default=w},function(e,t,a){!function(t,n){e.exports=n(a(7))}("undefined"!=typeof self&&self,function(e){return webpackJsonPBaGraphics([112],{"0768325c7d55ee3d0425":function(e,t,a){"use strict";var n=a("9689a9c94ae38b47fa2c"),r=a.n(n),i=a("9ce58a7deea14f49ef01"),o=a.n(i),s=new r.a({id:"upload_16_v7",use:"upload_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="upload_16_v7"><path d="M3 9l.7.7 3.8-3.8V15h1V5.9l3.8 3.8.7-.7-5-5zm0-5V2h10v2h1V2c0-.6-.4-1-1-1H3c-.6 0-1 .4-1 1v2h1z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});o.a.add(s),t.a=s},"105375219d726d2ad9eb":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3865314c5959606874d4"),r=(a.n(n),a("0768325c7d55ee3d0425"));t.default=r.a},"3865314c5959606874d4":function(t,a){t.exports=e}},["105375219d726d2ad9eb"])})},function(e,t,a){!function(t,n){e.exports=n(a(7))}("undefined"!=typeof self&&self,function(e){return webpackJsonPBaGraphics([1319],{"3865314c5959606874d4":function(t,a){t.exports=e},"8d4ccaf2baec1d5ec793":function(e,t,a){"use strict";var n=a("9689a9c94ae38b47fa2c"),r=a.n(n),i=a("9ce58a7deea14f49ef01"),o=a.n(i),s=new r.a({id:"dismiss_16_v7",use:"dismiss_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="dismiss_16_v7"><path d="M14 3.5L12.5 2 8 6.5 3.5 2 2 3.5 6.5 8 2 12.5 3.5 14 8 9.5l4.5 4.5 1.5-1.5L9.5 8 14 3.5z" /></symbol>'});o.a.add(s),t.a=s},"97c51f33b6d3e5f2ee40":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3865314c5959606874d4"),r=(a.n(n),a("8d4ccaf2baec1d5ec793"));t.default=r.a}},["97c51f33b6d3e5f2ee40"])})},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=a(0),o=n(i),s=a(6),l=n(s),c={show:function(e,t){var a=document.querySelector(".dialogWrapper");a||(a=document.body.appendChild(document.createElement("DIV")),a.className="dialogWrapper");var n=t.onCloseDialog,i=r({},t,{ref:function(e){e&&e.openDialog()},onCloseDialog:function(){l.default.unmountComponentAtNode(a),n&&n()}});l.default.render(o.default.createElement(e,i),a)}};t.default=c}])});
- //# sourceMappingURL=authoring-common.min.js.map
|