This commit is contained in:
HarelM committed 2026-12-04 18:06:39 +00:00
1 parent 3376796dae
commit c022e8073c
5 files changed
+6 -6

No files matched your search

+1
View File
@@ -0,0 +1 @@
html{background-color:#1c1f24}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;vertical-align:baseline;border:0;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Regular-B-HLW1rL.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Medium-C0z2xw0d.ttf)format("truetype");font-weight:700;font-style:normal;font-display:swap}html{color:#f0f0f0;box-sizing:border-box;font-size:14px}body{overflow:hidden}*,:before,:after{box-sizing:inherit}p{color:#a4a4a4;margin-top:5px;margin-bottom:5px;font-size:12px;line-height:1.3}h1{margin-bottom:10px;font-size:20px;font-weight:700}h2{margin-bottom:10px;font-size:18px;font-weight:700}h3{margin-bottom:10px;font-size:16px;font-weight:700}h4{margin-bottom:10px;font-size:14px}input:focus,textarea:focus,[role=button]:focus,button:focus,.maputnik-toolbar-link:focus,select:focus{color:#f0f0f0;outline:1px auto #8e8e8e}label:hover{color:#f0f0f0}.clearfix:after{content:"";clear:both;display:table}a{color:#fff}.hide{display:none!important}.maputnik-map__container{background:#fff;width:100%;height:100%;display:flex}.maputnik-map__container--error{justify-content:center;align-items:center}.maputnik-map__container__error-message{text-align:center;margin:16px}.maputnik-map__map{width:100%;height:100%}.maputnik-input-block:hover .maputnik-doc-button,.maputnik-filter-editor-compound-select:hover .maputnik-doc-button{opacity:1;pointer-events:all;cursor:pointer}.maputnik-doc-wrapper{box-sizing:border-box;-webkit-user-select:none;user-select:none;vertical-align:top;font-size:12px;line-height:2;display:inline-block;position:relative}.maputnik-doc-popup{color:#a4a4a4;z-index:10;pointer-events:none;background-color:#222429;width:120px;padding:5px;font-size:10px;display:none;position:absolute;top:20px;left:0}.maputnik-doc-button{opacity:0;pointer-events:none;color:#fff;background:#191b20;border:none;padding:4px}.maputnik-doc-button svg{pointer-events:none}.maputnik-doc-button--open{opacity:1;pointer-events:all}.maputnik-doc-inline{color:#a4a4a4;background-color:#222429;flex:1 0;margin-top:10px;padding:5px;font-size:12px;line-height:1.5}.maputnik-doc-target:hover .maputnik-doc-popup{text-align:left;display:block}.maputnik-button{cursor:pointer;color:#a4a4a4;-webkit-user-select:none;user-select:none;box-sizing:border-box;background-color:#303237;border-width:0;border-radius:2px;padding:5px;font-size:12px;text-decoration:none;display:inline-block}.maputnik-button:hover{color:#f0f0f0;background-color:#4d5058}.maputnik-button:disabled{color:#303237;cursor:not-allowed;background-color:#242629}.maputnik-big-button{margin-top:10px;padding:10px;font-size:14px;display:inline-block}.maputnik-wide-button{padding:5px 10px}.maputnik-green-button{color:#191b20;background-color:#53b972}.maputnik-white-button{color:#191b20;background-color:#f0f0f0}.maputnik-icon-button,.maputnik-icon-button:hover:not(:disabled){background-color:#0000}.maputnik-icon-button:hover:not(:disabled) label,.maputnik-icon-button:hover:not(:disabled) svg{cursor:pointer}.maputnik-icon-button:hover:not(:disabled) svg{fill:#f0f0f0}.maputnik-input-block{flex-wrap:wrap;margin:10px;display:flex}.maputnik-input-block-label{color:#a4a4a4;-webkit-user-select:none;user-select:none;vertical-align:top;width:32%;font-size:12px}.maputnik-input-block-action{color:#a4a4a4;-webkit-user-select:none;user-select:none;vertical-align:top;text-align:right;width:18%;font-size:12px}.maputnik-input-block-content{width:50%}.maputnik-action-block .maputnik-input-block-label{width:32%;margin-bottom:10px;display:inline-block}.maputnik-action-block .maputnik-input-block-action{vertical-align:top;width:18%;display:inline-block}.maputnik-action-block .maputnik-input-block-action>div{text-align:right}.maputnik-data-spec-block .maputnik-inline-error,.maputnik-zoom-spec-property .maputnik-inline-error{margin-left:32%}.maputnik-space{flex-grow:1}.maputnik-message-panel{padding:5px}.maputnik-message-panel-error{color:#cf4a4a}.maputnik-message-panel__switch-button{all:unset;cursor:pointer;text-decoration:underline}.maputnik-dialog__buttons{text-align:right}.map-state-menu{display:inline-block}.map-state-menu__menu{z-index:999999;background:#191b20;flex-direction:column;align-content:stretch;display:flex;positLine truncated
-1
View File
@@ -1 +0,0 @@
html{background-color:#1c1f24}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;vertical-align:baseline;border:0;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Regular-B-HLW1rL.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Medium-C0z2xw0d.ttf)format("truetype");font-weight:700;font-style:normal;font-display:swap}html{color:#f0f0f0;box-sizing:border-box;font-size:14px}body{overflow:hidden}*,:before,:after{box-sizing:inherit}p{color:#a4a4a4;margin-top:5px;margin-bottom:5px;font-size:12px;line-height:1.3}h1{margin-bottom:10px;font-size:20px;font-weight:700}h2{margin-bottom:10px;font-size:18px;font-weight:700}h3{margin-bottom:10px;font-size:16px;font-weight:700}h4{margin-bottom:10px;font-size:14px}input:focus,textarea:focus,[role=button]:focus,button:focus,.maputnik-toolbar-link:focus,select:focus{color:#f0f0f0;outline:1px auto #8e8e8e}label:hover{color:#f0f0f0}.clearfix:after{content:"";clear:both;display:table}a{color:#fff}.hide{display:none!important}.maputnik-map__container{background:#fff;width:100%;height:100%;display:flex}.maputnik-map__container--error{justify-content:center;align-items:center}.maputnik-map__container__error-message{text-align:center;margin:16px}.maputnik-map__map{width:100%;height:100%}.maputnik-input-block:hover .maputnik-doc-button,.maputnik-filter-editor-compound-select:hover .maputnik-doc-button{opacity:1;pointer-events:all;cursor:pointer}.maputnik-doc-wrapper{box-sizing:border-box;-webkit-user-select:none;user-select:none;vertical-align:top;font-size:12px;line-height:2;display:inline-block;position:relative}.maputnik-doc-popup{color:#a4a4a4;z-index:10;pointer-events:none;background-color:#222429;width:120px;padding:5px;font-size:10px;display:none;position:absolute;top:20px;left:0}.maputnik-doc-button{opacity:0;pointer-events:none;color:#fff;background:#191b20;border:none;padding:4px}.maputnik-doc-button svg{pointer-events:none}.maputnik-doc-button--open{opacity:1;pointer-events:all}.maputnik-doc-inline{color:#a4a4a4;background-color:#222429;flex:1 0;margin-top:10px;padding:5px;font-size:12px;line-height:1.5}.maputnik-doc-target:hover .maputnik-doc-popup{text-align:left;display:block}.maputnik-button{cursor:pointer;color:#a4a4a4;-webkit-user-select:none;user-select:none;box-sizing:border-box;background-color:#303237;border-width:0;border-radius:2px;padding:5px;font-size:12px;text-decoration:none;display:inline-block}.maputnik-button:hover{color:#f0f0f0;background-color:#4d5058}.maputnik-button:disabled{color:#303237;cursor:not-allowed;background-color:#242629}.maputnik-big-button{margin-top:10px;padding:10px;font-size:14px;display:inline-block}.maputnik-wide-button{padding:5px 10px}.maputnik-green-button{color:#191b20;background-color:#53b972}.maputnik-white-button{color:#191b20;background-color:#f0f0f0}.maputnik-icon-button,.maputnik-icon-button:hover:not(:disabled){background-color:#0000}.maputnik-icon-button:hover:not(:disabled) label,.maputnik-icon-button:hover:not(:disabled) svg{cursor:pointer}.maputnik-icon-button:hover:not(:disabled) svg{fill:#f0f0f0}.maputnik-input-block{flex-wrap:wrap;margin:10px;display:flex}.maputnik-input-block-label{color:#a4a4a4;-webkit-user-select:none;user-select:none;vertical-align:top;width:32%;font-size:12px}.maputnik-input-block-action{color:#a4a4a4;-webkit-user-select:none;user-select:none;vertical-align:top;text-align:right;width:18%;font-size:12px}.maputnik-input-block-content{width:50%}.maputnik-action-block .maputnik-input-block-label{width:32%;margin-bottom:10px;display:inline-block}.maputnik-action-block .maputnik-input-block-action{vertical-align:top;width:18%;display:inline-block}.maputnik-action-block .maputnik-input-block-action>div{text-align:right}.maputnik-data-spec-block .maputnik-inline-error,.maputnik-zoom-spec-property .maputnik-inline-error{margin-left:32%}.maputnik-space{flex-grow:1}.maputnik-message-panel{padding:5px}.maputnik-message-panel-error{color:#cf4a4a}.maputnik-message-panel__switch-button{all:unset;cursor:pointer;text-decoration:underline}.maputnik-dialog__buttons{text-align:right}.map-state-menu{display:inline-block}.map-state-menu__menu{z-index:999999;background:#191b20;flex-direction:column;align-content:stretch;display:flex;positLine truncated
@@ -1097,7 +1097,7 @@ From the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion)
background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
background: linear-gradient(to top, #000, rgba(0,0,0,0));
}
`),m.createElement(`div`,{style:s.white,className:`saturation-white`},m.createElement(`div`,{style:s.black,className:`saturation-black`}),m.createElement(`div`,{style:s.pointer},this.props.pointer?m.createElement(this.props.pointer,this.props):m.createElement(`div`,{style:s.circle}))))}}]),t}(m.PureComponent||m.Component);function net(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ret=lQe(Object.keys,Object),iet=Object.prototype.hasOwnProperty;function aet(e){if(!FY(e))return ret(e);var t=[];for(var n in Object(e))iet.call(e,n)&&n!=`constructor`&&t.push(n);return t}function eX(e){return BY(e)?p$e(e):aet(e)}function oet(e,t){return e&&QZe(e,t,eX)}function set(e,t){return function(n,r){if(n==null)return n;if(!BY(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var cet=set(oet);function uet(e){return typeof e==`function`?e:JY}function det(e,t){return(RY(e)?net:cet)(e,uet(t))}function tX(e){"@babel/helpers - typeof";return tX=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},tX(e)}var fet=/^\s+/,pet=/\s+$/;function nX(e,t){if(e||=``,t||={},e instanceof nX)return e;if(!(this instanceof nX))return new nX(e,t);var n=met(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}nX.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255,i=t<=.03928?t/12.92:((t+.055)/1.055)**2.4,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4;return .2126*i+.7152*a+.0722*o},setAlpha:function(e){return this._a=Ret(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=vet(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=vet(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this._a==1?`hsv(`+t+`, `+n+`%, `+r+`%)`:`hsva(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHsl:function(){var e=get(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=get(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this._a==1?`hsl(`+t+`, `+n+`%, `+r+`%)`:`hsla(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHex:function(e){return bet(this._r,this._g,this._b,e)},toHexString:function(e){return`#`+this.toHex(e)},toHex8:function(e){return xet(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return`#`+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?`rgb(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`)`:`rgba(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`, `+this._roundA+`)`},toPercentageRgb:function(){return{r:Math.round(iX(this._r,255)*100)+`%`,g:Math.round(iX(this._g,255)*100)+`%`,b:Math.round(iX(this._b,255)*100)+`%`,a:this._a}},toPercentageRgbString:function(){return this._a==1?`rgb(`+Math.round(iX(this._r,255)*100)+`%, `+Math.round(iX(this._g,255)*100)+`%, `+Math.round(iX(this._b,255)*100)+`%)`:`rgba(`+Math.round(iX(this._r,255)*100)+`%, `+Math.round(iX(this._g,255)*100)+`%, `+Math.round(iX(this._b,255)*100)+`%, `+this._roundA+`)`},toName:function(){return this._a===0?`transparent`:this._a<1?!1:Iet[bet(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t=`#`+Cet(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?`GradientType = 1, `:``;if(e){var i=nX(e);n=`#`+Cet(i._r,i._g,i._b,i._a)}return`progid:DXImageTransform.Microsoft.gradient(`+r+`startColorstr=`+t+`,endColorstr=`+n+`)`},toString:function(e){var t=!!e;e||=this._format;var n=!1,r=this._a<1&&this._a>=0;return!t&&r&&(e===`hex`||e===`hex6`||e===`hex3`||e===`hex4`||e===`hex8`||e===`name`)?e===`name`&&this._a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return nX(this.t Line truncated
`),m.createElement(`div`,{style:s.white,className:`saturation-white`},m.createElement(`div`,{style:s.black,className:`saturation-black`}),m.createElement(`div`,{style:s.pointer},this.props.pointer?m.createElement(this.props.pointer,this.props):m.createElement(`div`,{style:s.circle}))))}}]),t}(m.PureComponent||m.Component);function net(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ret=lQe(Object.keys,Object),iet=Object.prototype.hasOwnProperty;function aet(e){if(!FY(e))return ret(e);var t=[];for(var n in Object(e))iet.call(e,n)&&n!=`constructor`&&t.push(n);return t}function eX(e){return BY(e)?p$e(e):aet(e)}function oet(e,t){return e&&QZe(e,t,eX)}function set(e,t){return function(n,r){if(n==null)return n;if(!BY(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var cet=set(oet);function uet(e){return typeof e==`function`?e:JY}function det(e,t){return(RY(e)?net:cet)(e,uet(t))}function tX(e){"@babel/helpers - typeof";return tX=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},tX(e)}var fet=/^\s+/,pet=/\s+$/;function nX(e,t){if(e||=``,t||={},e instanceof nX)return e;if(!(this instanceof nX))return new nX(e,t);var n=met(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}nX.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255,i=t<=.03928?t/12.92:((t+.055)/1.055)**2.4,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4;return .2126*i+.7152*a+.0722*o},setAlpha:function(e){return this._a=Ret(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=vet(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=vet(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this._a==1?`hsv(`+t+`, `+n+`%, `+r+`%)`:`hsva(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHsl:function(){var e=get(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=get(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this._a==1?`hsl(`+t+`, `+n+`%, `+r+`%)`:`hsla(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHex:function(e){return bet(this._r,this._g,this._b,e)},toHexString:function(e){return`#`+this.toHex(e)},toHex8:function(e){return xet(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return`#`+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?`rgb(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`)`:`rgba(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`, `+this._roundA+`)`},toPercentageRgb:function(){return{r:Math.round(iX(this._r,255)*100)+`%`,g:Math.round(iX(this._g,255)*100)+`%`,b:Math.round(iX(this._b,255)*100)+`%`,a:this._a}},toPercentageRgbString:function(){return this._a==1?`rgb(`+Math.round(iX(this._r,255)*100)+`%, `+Math.round(iX(this._g,255)*100)+`%, `+Math.round(iX(this._b,255)*100)+`%)`:`rgba(`+Math.round(iX(this._r,255)*100)+`%, `+Math.round(iX(this._g,255)*100)+`%, `+Math.round(iX(this._b,255)*100)+`%, `+this._roundA+`)`},toName:function(){return this._a===0?`transparent`:this._a<1?!1:Iet[bet(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t=`#`+Cet(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?`GradientType = 1, `:``;if(e){var i=nX(e);n=`#`+Cet(i._r,i._g,i._b,i._a)}return`progid:DXImageTransform.Microsoft.gradient(`+r+`startColorstr=`+t+`,endColorstr=`+n+`)`},toString:function(e){var t=!!e;e||=this._format;var n=!1,r=this._a<1&&this._a>=0;return!t&&r&&(e===`hex`||e===`hex6`||e===`hex3`||e===`hex4`||e===`hex8`||e===`name`)?e===`name`&&this._a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return nX(this.t Line truncated
<html>
<head>
<meta charset="utf-8" />
@@ -1122,4 +1122,4 @@ From the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion)
</body>
</html>
`),r=(A$().s[9]++,new Blob([n],{type:`text/html;charset=utf-8`})),i=(A$().s[10]++,this.exportName());A$().s[11]++,(0,Yst.saveAs)(r,i+`.html`)}async saveStyle(){A$().f[3]++;let e=(A$().s[12]++,this.tokenizedStyle());if(A$().s[13]++,Qst)A$().b[2][1]++;else{A$().b[2][0]++;let t=(A$().s[14]++,new Blob([e],{type:`application/json;charset=utf-8`})),n=(A$().s[15]++,this.exportName());A$().s[16]++,(0,Yst.saveAs)(t,n+`.json`),A$().s[17]++;return}let t=(A$().s[18]++,this.props.fileHandle);if(A$().s[19]++,t==null){if(A$().b[3][0]++,A$().s[20]++,t=await this.createFileHandle(),A$().s[21]++,this.props.onSetFileHandle(t),A$().s[22]++,t==null){A$().b[4][0]++,A$().s[23]++;return}A$().b[4][1]++}else A$().b[3][1]++;let n=(A$().s[24]++,await t.createWritable());A$().s[25]++,await n.write(e),A$().s[26]++,await n.close(),A$().s[27]++,this.props.onOpenToggle()}async saveStyleAs(){A$().f[4]++;let e=(A$().s[28]++,this.tokenizedStyle()),t=(A$().s[29]++,await this.createFileHandle());if(A$().s[30]++,this.props.onSetFileHandle(t),A$().s[31]++,t==null){A$().b[5][0]++,A$().s[32]++;return}A$().b[5][1]++;let n=(A$().s[33]++,await t.createWritable());A$().s[34]++,await n.write(e),A$().s[35]++,await n.close(),A$().s[36]++,this.props.onOpenToggle()}async createFileHandle(){A$().f[5]++;let e=(A$().s[37]++,{types:[{description:`json`,accept:{"application/json":[`.json`]}}],suggestedName:this.exportName()}),t=(A$().s[38]++,await window.showSaveFilePicker(e));return A$().s[39]++,this.props.onSetFileHandle(t),A$().s[40]++,t}changeMetadataProperty(e,t){A$().f[6]++;let n=(A$().s[41]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});A$().s[42]++,this.props.onStyleChanged(n)}render(){A$().f[7]++;let e=(A$().s[43]++,this.props.t),t=(A$().s[44]++,Ust(e));return A$().s[45]++,(0,R.jsx)(LW,{"data-wd-key":`modal:export`,isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e(`Save Style`),className:`maputnik-export-modal`,children:(0,R.jsxs)(`section`,{className:`maputnik-modal-section`,children:[(0,R.jsx)(`h1`,{children:e(`Save Style`)}),(0,R.jsx)(`p`,{children:e(`Save the JSON style to your computer.`)}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(x$,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(A$().b[6][0]++,this.props.mapStyle.metadata||(A$().b[6][1]++,{}))[`maputnik:openmaptiles_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:openmaptiles_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(A$().b[7][0]++,this.props.mapStyle.metadata||(A$().b[7][1]++,{}))[`maputnik:thunderforest_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:thunderforest_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(A$().b[8][0]++,this.props.mapStyle.metadata||(A$().b[8][1]++,{}))[`maputnik:stadia_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:stadia_access_token`)}),(0,R.jsx)(x$,{label:t.maputnik.locationiq_access_token.label,fieldSpec:t.maputnik.locationiq_access_token,value:(A$().b[9][0]++,this.props.mapStyle.metadata||(A$().b[9][1]++,{}))[`maputnik:locationiq_access_token`],onChange:this.changeMetadataProperty.bind(this,`maputnik:locationiq_access_token`)})]}),(0,R.jsxs)(`div`,{className:`maputnik-modal-export-buttons`,children:[(0,R.jsxs)(uW,{onClick:this.saveStyle.bind(this),children:[(0,R.jsx)(b7,{}),e(`Save`)]}),(A$().b[10][0]++,Qst&&(A$().b[10][1]++,(0,R.jsxs)(uW,{onClick:this.saveStyleAs.bind(this),children:[(0,R.jsx)(b7,{}),e(`Save as`)]}))),(0,R.jsxs)(uW,{onClick:this.createHtml.bind(this),children:[(0,R.jsx)(i4e,{}),e(`Create HTML`)]})]})]})})}},ect=(A$().s[46]++,er()($st));function j$(){var e=`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`,t=`615893f63b00bf2bdf08d7f34d665947b5e31694`,n=globalThis,r=`__coverage__`,i={path:`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`,statementMap:{0:{start:{line:4,column:33},end:{line:9,column:1}},1:{start:{line:5,column:1},end:{line:8,column:4}}},fnMap:{0:{name:`(anonymous_0)`,decl:{start:{line:4,column:33},end:{line:4,column:34}},loc:{start:{line:4,column:44},end:{line:9,column:1}},line:4}},branchMap:{},s:{0:0,1:0},f:{0:0},b:{},inputSourceMap:{version:3,names:[],sources:[`/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx`],mappings:`AAAA,SAAS,yBAAsD;AAC/D,SAAS,gBAAgB;;AASzB,OAAO,MAAM,qBAAuD,UAAU;CAC5E,OACE,qBAAC,UAAD;EAAU,OAAO,MAAM;YACrB,qBAAC,mBAAD,EAAmB,GAAI,MAAQ;CACvB;AAEd`},_coverageSchema:`1a1c01bbd47fc00a2c39e90264f33305004495a9`,hash:`615893f63b00bf2bdf08d7f34d665947b5e31694`},a=n[r]||(n[r]={});a[e]&&a[e].hash===t||(a[e]=i);var o=a[e];return j$=function(){return o},o}j$(),j$().s[0]++;var tct=e=>(j$().f[0]++,j$().s[1]++,(0,R.jsx)(BZ,{label:e.label,children:(0,R.jsx)(jZ,{...e})}));function M$(){var e=`/home/runner/work/maputnik/maputnik/sLine truncated
//# sourceMappingURL=index-DEubPYK-.js.map
//# sourceMappingURL=index-D3fSg0a7.js.map
@@ -1 +1 @@
{"version":3,"file":"index-DEubPYK-.js","names":["REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_CONSUMER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_ACTIVITY_TYPE","REACT_VIEW_TRANSITION_TYPE","MAYBE_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","ReactNoopUpdateQueue","assign","emptyObject","Component","props","context","updater","partialState","callback","ComponentDummy","PureComponent","pureComponentPrototype","isArrayImpl","noop","ReactSharedInternals","hasOwnProperty","ReactElement","type","key","refProp","cloneAndReplaceKey","oldElement","newKey","isValidElement","object","escape","escaperLookup","match","userProvidedKeyEscapeRegex","getElementKey","element","index","resolveThenable","thenable","fulfilledValue","error","mapIntoArray","children","array","escapedPrefix","nameSoFar","invokeCallback","c","nextNamePrefix","i","mapChildren","func","result","count","child","lazyInitializer","payload","moduleObject","reportGlobalError","event","startTransition","scope","prevTransition","currentTransition","returnValue","onStartTransitionFinish","addTransitionType","transition","transitionTypes","Children","forEachFunc","forEachContext","n","exports","size","fn","config","propName","childArray","defaultValue","childrenLength","render","ctor","compare","usable","action","initialState","permalink","deps","Context","value","initialValue","create","ref","passthrough","reducer","initialArg","init","subscribe","getSnapshot","getServerSnapshot","module","require_react_production","DefaultContext","IconContext","import_react","_excluded","_objectWithoutProperties","o","_objectWithoutPropertiesLoose","r","e","t","_extends","ownKeys","_objectSpread","_defineProperty","_toPropertyKey","_toPrimitive","Tree2Element","tree","node","GenIcon","data","IconBase","elem","conf","attr","title","svgProps","computedSize","className","push","heap","parentIndex","parent","peek","pop","first","last","length","halfLength","leftIndex","left","rightIndex","right","a","b","diff","localPerformance","localDate","initialTime","taskQueue","timerQueue","taskIdCounter","currentTask","currentPriorityLevel","isPerformingWork","isHostCallbackScheduled","isHostTimeoutScheduled","needsPaint","localSetTimeout","localClearTimeout","localSetImmediate","advanceTimers","currentTime","timer","handleTimeout","isMessageLoopRunning","schedulePerformWorkUntilDeadline","firstTimer","requestHostTimeout","taskTimeoutID","frameInterval","startTime","shouldYieldToHost","performWorkUntilDeadline","hasMoreWork","previousPriorityLevel","continuationCallback","channel","port","ms","task","fps","eventHandler","priorityLevel","options","timeout","parentPriorityLevel","require_scheduler_production","React","require_react","formatProdErrorMessage","code","url","Internals","REACT_RECOVERABLE_TYPE","REACT_OPTIMISTIC_KEY","createPortal$1","containerInfo","implementation","getCrossOriginStringAs","as","input","reason","container","previousTransition","previousUpdatePriority","href","crossOrigin","integrity","fetchPriority","form","checkDCE","err","require_react_dom_production","Scheduler","require_scheduler","ReactDOM","require_react_dom","isValidContainer","getNearestMountedFiber","fiber","nextNode","getSuspenseInstanceFromFiber","suspenseState","getActivityInstanceFromFiber","activityState","assertIsMounted","findCurrentFiberUsingSlowPath","alternate","parentA","parentB","didFindChild","child$0","findCurrentHostFiberImpl","tag","traverseVisibleInstancesAndTextInstances","searchWithinHosts","getFragmentParentInstanceOrContainerFiber","fiberIsPortaledIntoHost","foundPortalParent","getFragmentInstanceOrTextInstanceSiblings","parentHostFiber","findFragmentInstanceOrTextInstanceSiblings","self","state","getInstanceFromHostFiber","searchTarget","searchBoundary","isFiberPrecedingCheck","target","boundary","isFiberFollowingCheck","getParentForFragmentAncestors","inst","getLowestCommonAncestor","instA","instB","getParent","depthA","tempA","tempB","REACT_LEGACY_ELEMENT_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_LEGACY_HIDDEN_TYPE","REACT_MEMO_CACHE_SENTINEL","REACT_CLIENT_REFERENCE","getComponentNameFromType","innerType","ReactDOMSharedInternals","sharedNotPendingObject","valueStack","createCursor","cursor","contextStackCursor","contextFiberStackCursor","rootInstanceStackCursor","hostTransitionProviderCursor","pushHostContainer","nextRootInstance","getOwnHostContext","getChildHostContextProd","popHostContainer","pushHostContext","stateHook","HostTransitionContext","JSCompiler_inline_result","popHostContext","prefix","suffix","describeBuiltInComponentFrame","name","x","reentry","describeNativeComponentFrame","construct","previousPrepareStackTrace","RunInRootFrame","Fake","control","x$1","prevProps","x$2","sample","namePropDescriptor","_RunInRootFrame$Deter","sampleStack","controlStack","sampleLines","controlLines","frame","describeFiber","childFLine truncated
{"version":3,"file":"index-D3fSg0a7.js","names":["REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_CONSUMER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_ACTIVITY_TYPE","REACT_VIEW_TRANSITION_TYPE","MAYBE_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","ReactNoopUpdateQueue","assign","emptyObject","Component","props","context","updater","partialState","callback","ComponentDummy","PureComponent","pureComponentPrototype","isArrayImpl","noop","ReactSharedInternals","hasOwnProperty","ReactElement","type","key","refProp","cloneAndReplaceKey","oldElement","newKey","isValidElement","object","escape","escaperLookup","match","userProvidedKeyEscapeRegex","getElementKey","element","index","resolveThenable","thenable","fulfilledValue","error","mapIntoArray","children","array","escapedPrefix","nameSoFar","invokeCallback","c","nextNamePrefix","i","mapChildren","func","result","count","child","lazyInitializer","payload","moduleObject","reportGlobalError","event","startTransition","scope","prevTransition","currentTransition","returnValue","onStartTransitionFinish","addTransitionType","transition","transitionTypes","Children","forEachFunc","forEachContext","n","exports","size","fn","config","propName","childArray","defaultValue","childrenLength","render","ctor","compare","usable","action","initialState","permalink","deps","Context","value","initialValue","create","ref","passthrough","reducer","initialArg","init","subscribe","getSnapshot","getServerSnapshot","module","require_react_production","DefaultContext","IconContext","import_react","_excluded","_objectWithoutProperties","o","_objectWithoutPropertiesLoose","r","e","t","_extends","ownKeys","_objectSpread","_defineProperty","_toPropertyKey","_toPrimitive","Tree2Element","tree","node","GenIcon","data","IconBase","elem","conf","attr","title","svgProps","computedSize","className","push","heap","parentIndex","parent","peek","pop","first","last","length","halfLength","leftIndex","left","rightIndex","right","a","b","diff","localPerformance","localDate","initialTime","taskQueue","timerQueue","taskIdCounter","currentTask","currentPriorityLevel","isPerformingWork","isHostCallbackScheduled","isHostTimeoutScheduled","needsPaint","localSetTimeout","localClearTimeout","localSetImmediate","advanceTimers","currentTime","timer","handleTimeout","isMessageLoopRunning","schedulePerformWorkUntilDeadline","firstTimer","requestHostTimeout","taskTimeoutID","frameInterval","startTime","shouldYieldToHost","performWorkUntilDeadline","hasMoreWork","previousPriorityLevel","continuationCallback","channel","port","ms","task","fps","eventHandler","priorityLevel","options","timeout","parentPriorityLevel","require_scheduler_production","React","require_react","formatProdErrorMessage","code","url","Internals","REACT_RECOVERABLE_TYPE","REACT_OPTIMISTIC_KEY","createPortal$1","containerInfo","implementation","getCrossOriginStringAs","as","input","reason","container","previousTransition","previousUpdatePriority","href","crossOrigin","integrity","fetchPriority","form","checkDCE","err","require_react_dom_production","Scheduler","require_scheduler","ReactDOM","require_react_dom","isValidContainer","getNearestMountedFiber","fiber","nextNode","getSuspenseInstanceFromFiber","suspenseState","getActivityInstanceFromFiber","activityState","assertIsMounted","findCurrentFiberUsingSlowPath","alternate","parentA","parentB","didFindChild","child$0","findCurrentHostFiberImpl","tag","traverseVisibleInstancesAndTextInstances","searchWithinHosts","getFragmentParentInstanceOrContainerFiber","fiberIsPortaledIntoHost","foundPortalParent","getFragmentInstanceOrTextInstanceSiblings","parentHostFiber","findFragmentInstanceOrTextInstanceSiblings","self","state","getInstanceFromHostFiber","searchTarget","searchBoundary","isFiberPrecedingCheck","target","boundary","isFiberFollowingCheck","getParentForFragmentAncestors","inst","getLowestCommonAncestor","instA","instB","getParent","depthA","tempA","tempB","REACT_LEGACY_ELEMENT_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_LEGACY_HIDDEN_TYPE","REACT_MEMO_CACHE_SENTINEL","REACT_CLIENT_REFERENCE","getComponentNameFromType","innerType","ReactDOMSharedInternals","sharedNotPendingObject","valueStack","createCursor","cursor","contextStackCursor","contextFiberStackCursor","rootInstanceStackCursor","hostTransitionProviderCursor","pushHostContainer","nextRootInstance","getOwnHostContext","getChildHostContextProd","popHostContainer","pushHostContext","stateHook","HostTransitionContext","JSCompiler_inline_result","popHostContext","prefix","suffix","describeBuiltInComponentFrame","name","x","reentry","describeNativeComponentFrame","construct","previousPrepareStackTrace","RunInRootFrame","Fake","control","x$1","prevProps","x$2","sample","namePropDescriptor","_RunInRootFrame$Deter","sampleStack","controlStack","sampleLines","controlLines","frame","describeFiber","childFLine truncated
+2 -2
View File
@@ -7,8 +7,8 @@
<link rel="manifest" href="/maputnik/assets/manifest-BrZzkYP9.json">
<link rel="icon" href="/maputnik/assets/favicon-DBn6BKLx.ico" type="image/x-icon" />
<style>html{background-color:#1c1f24}.loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:absolute;top:0;left:0}.loading__logo img{width:200px;height:200px}.loading__text{color:#fff;padding-bottom:2em;font-family:sans-serif;font-size:1.2em}</style>
<script type="module" crossorigin src="/maputnik/assets/index-DEubPYK-.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-CLXnA9Qy.css">
<script type="module" crossorigin src="/maputnik/assets/index-D3fSg0a7.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-4jtuiKfR.css">
</head>
<body>
<!-- From <https://github.com/hail2u/color-blindness-emulation> -->