platformicons
Advanced tools
Comparing version 5.10.5 to 5.10.6
@@ -1,2 +0,2 @@ | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var e={android:"android",anthropic:"anthropic",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-astro":"astro","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",openai:"openai",perl:"perl",php:"php",powershell:"powershell","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function n(a){return a.replace(".","-")}function o(a){var t=n(a);return e[t]||(t.includes("-")?r(t):"default")}function r(a){return o(n(a).split("-")[0])}var s=function(e){var n,s,i=e.platform,p=e.size,c=void 0===p?20:p,l=e.format,u=void 0===l?"sm":l,d=e.radius,h=void 0===d?3:d,y=e.withLanguageIcon,g=e.languageIconStyles,v=void 0===g?{}:g,f=e.style,b=void 0===f?{}:f,m=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=o(i),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+j+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=r(i),q=require("../svg/"+k+".svg"),O=null!=(s=null==q?void 0:q.default)?s:q;return y&&k!==j&&"default"!==k?a.createElement("div",Object.assign({},m,{style:t({position:"relative"},b)}),a.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),a.createElement("img",{src:O,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):a.createElement("img",Object.assign({src:x,width:c,height:c},m,{style:t({borderRadius:h+"px"},b)}))};function i(a){var t,n=(a?[a]:["lg","sm"]).map(function(a){return Object.values(e).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,n.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}var p=Object.keys(e);export{s as PlatformIcon,p as platforms,i as preloadIcons}; | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var e={android:"android",anthropic:"anthropic",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-astro":"astro","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",nintendo:"nintendo",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",openai:"openai",perl:"perl",php:"php",powershell:"powershell","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function n(a){return a.replace(".","-")}function o(a){var t=n(a);return e[t]||(t.includes("-")?r(t):"default")}function r(a){return o(n(a).split("-")[0])}var i=function(e){var n,i,s=e.platform,p=e.size,c=void 0===p?20:p,l=e.format,u=void 0===l?"sm":l,d=e.radius,h=void 0===d?3:d,y=e.withLanguageIcon,g=e.languageIconStyles,v=void 0===g?{}:g,f=e.style,b=void 0===f?{}:f,m=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=o(s),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+j+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=r(s),q=require("../svg/"+k+".svg"),O=null!=(i=null==q?void 0:q.default)?i:q;return y&&k!==j&&"default"!==k?a.createElement("div",Object.assign({},m,{style:t({position:"relative"},b)}),a.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),a.createElement("img",{src:O,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):a.createElement("img",Object.assign({src:x,width:c,height:c},m,{style:t({borderRadius:h+"px"},b)}))};function s(a){var t,n=(a?[a]:["lg","sm"]).map(function(a){return Object.values(e).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,n.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}var p=Object.keys(e);export{i as PlatformIcon,p as platforms,s as preloadIcons}; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -1,2 +0,2 @@ | ||
var a,t=(a=require("react"))&&"object"==typeof a&&"default"in a?a.default:a;function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var n={android:"android",anthropic:"anthropic",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-astro":"astro","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",openai:"openai",perl:"perl",php:"php",powershell:"powershell","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return n[t]||(t.includes("-")?s(t):"default")}function s(a){return r(o(a).split("-")[0])}var i=Object.keys(n);exports.PlatformIcon=function(a){var n,o,i=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,u=void 0===l?"sm":l,d=a.radius,h=void 0===d?3:d,y=a.withLanguageIcon,g=a.languageIconStyles,v=void 0===g?{}:g,f=a.style,b=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),m=r(i),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+m+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=s(i),q=require("../svg/"+k+".svg"),O=null!=(o=null==q?void 0:q.default)?o:q;return y&&k!==m&&"default"!==k?t.createElement("div",Object.assign({},j,{style:e({position:"relative"},b)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:O,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):t.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:e({borderRadius:h+"px"},b)}))},exports.platforms=i,exports.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}; | ||
var a,t=(a=require("react"))&&"object"==typeof a&&"default"in a?a.default:a;function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var n={android:"android",anthropic:"anthropic",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-astro":"astro","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",nintendo:"nintendo",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",openai:"openai",perl:"perl",php:"php",powershell:"powershell","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return n[t]||(t.includes("-")?s(t):"default")}function s(a){return r(o(a).split("-")[0])}var i=Object.keys(n);exports.PlatformIcon=function(a){var n,o,i=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,u=void 0===l?"sm":l,d=a.radius,h=void 0===d?3:d,y=a.withLanguageIcon,g=a.languageIconStyles,v=void 0===g?{}:g,f=a.style,b=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),m=r(i),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+m+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=s(i),q=require("../svg/"+k+".svg"),O=null!=(o=null==q?void 0:q.default)?o:q;return y&&k!==m&&"default"!==k?t.createElement("div",Object.assign({},j,{style:e({position:"relative"},b)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:O,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):t.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:e({borderRadius:h+"px"},b)}))},exports.platforms=i,exports.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}const e={android:"android",anthropic:"anthropic",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-astro":"astro","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",openai:"openai",perl:"perl",php:"php",powershell:"powershell","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function n(a){return a.replace(".","-")}function o(a){const t=n(a);return e[t]||(t.includes("-")?r(t):"default")}function r(a){const[t]=n(a).split("-");return o(t)}const s=e=>{var n,s;let{platform:i,size:p=20,format:c="sm",radius:l=3,withLanguageIcon:u,languageIconStyles:d={},style:h={}}=e,g=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const y=o(i),v=require(`../${"lg"===c?"svg_80x80":"svg"}/${y}.svg`),f=null!=(n=null==v?void 0:v.default)?n:v,b=r(i),m=require(`../svg/${b}.svg`),j=null!=(s=null==m?void 0:m.default)?s:m;return u&&b!==y&&"default"!==b?a.createElement("div",Object.assign({},g,{style:t({position:"relative"},h)}),a.createElement("img",{src:f,width:p,height:p,style:{borderRadius:l+"px"}}),a.createElement("img",{src:j,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},d)})):a.createElement("img",Object.assign({src:f,width:p,height:p},g,{style:t({borderRadius:l+"px"},h)}))};function i(a){var t;const n=(a?[a]:["lg","sm"]).map(a=>Object.values(e).map(t=>require(`../${"lg"===a?"svg_80x80":"svg"}/${t}.svg`))).flat();null==(t=document.querySelector("head"))||t.append(...n.map(a=>{const t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}const p=Object.keys(e);export{s as PlatformIcon,p as platforms,i as preloadIcons}; | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}const e={android:"android",anthropic:"anthropic",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-astro":"astro","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",nintendo:"nintendo",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",openai:"openai",perl:"perl",php:"php",powershell:"powershell","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function n(a){return a.replace(".","-")}function o(a){const t=n(a);return e[t]||(t.includes("-")?r(t):"default")}function r(a){const[t]=n(a).split("-");return o(t)}const s=e=>{var n,s;let{platform:i,size:p=20,format:c="sm",radius:l=3,withLanguageIcon:d,languageIconStyles:u={},style:h={}}=e,g=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const y=o(i),v=require(`../${"lg"===c?"svg_80x80":"svg"}/${y}.svg`),f=null!=(n=null==v?void 0:v.default)?n:v,b=r(i),m=require(`../svg/${b}.svg`),j=null!=(s=null==m?void 0:m.default)?s:m;return d&&b!==y&&"default"!==b?a.createElement("div",Object.assign({},g,{style:t({position:"relative"},h)}),a.createElement("img",{src:f,width:p,height:p,style:{borderRadius:l+"px"}}),a.createElement("img",{src:j,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},u)})):a.createElement("img",Object.assign({src:f,width:p,height:p},g,{style:t({borderRadius:l+"px"},h)}))};function i(a){var t;const n=(a?[a]:["lg","sm"]).map(a=>Object.values(e).map(t=>require(`../${"lg"===a?"svg_80x80":"svg"}/${t}.svg`))).flat();null==(t=document.querySelector("head"))||t.append(...n.map(a=>{const t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}const p=Object.keys(e);export{s as PlatformIcon,p as platforms,i as preloadIcons}; | ||
//# sourceMappingURL=index.modern.js.map |
@@ -1,2 +0,2 @@ | ||
!function(a,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((a=a||self).platformicons={},a.react)}(this,function(a,t){function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n={android:"android",anthropic:"anthropic",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-astro":"astro","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",openai:"openai",perl:"perl",php:"php",powershell:"powershell","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return n[t]||(t.includes("-")?s(t):"default")}function s(a){return r(o(a).split("-")[0])}var i=Object.keys(n);a.PlatformIcon=function(a){var n,o,i=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,u=void 0===l?"sm":l,d=a.radius,h=void 0===d?3:d,y=a.withLanguageIcon,g=a.languageIconStyles,v=void 0===g?{}:g,f=a.style,m=void 0===f?{}:f,b=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=r(i),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+j+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=s(i),q=require("../svg/"+k+".svg"),O=null!=(o=null==q?void 0:q.default)?o:q;return y&&k!==j&&"default"!==k?t.createElement("div",Object.assign({},b,{style:e({position:"relative"},m)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:O,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):t.createElement("img",Object.assign({src:x,width:c,height:c},b,{style:e({borderRadius:h+"px"},m)}))},a.platforms=i,a.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}}); | ||
!function(a,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((a=a||self).platformicons={},a.react)}(this,function(a,t){function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n={android:"android",anthropic:"anthropic",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-astro":"astro","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",nintendo:"nintendo",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",openai:"openai",perl:"perl",php:"php",powershell:"powershell","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return r(o(a).split("-")[0])}var s=Object.keys(n);a.PlatformIcon=function(a){var n,o,s=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,d=void 0===l?"sm":l,u=a.radius,h=void 0===u?3:u,y=a.withLanguageIcon,g=a.languageIconStyles,v=void 0===g?{}:g,f=a.style,m=void 0===f?{}:f,b=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=r(s),w=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+j+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=i(s),q=require("../svg/"+k+".svg"),O=null!=(o=null==q?void 0:q.default)?o:q;return y&&k!==j&&"default"!==k?t.createElement("div",Object.assign({},b,{style:e({position:"relative"},m)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:O,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):t.createElement("img",Object.assign({src:x,width:c,height:c},b,{style:e({borderRadius:h+"px"},m)}))},a.platforms=s,a.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}}); | ||
//# sourceMappingURL=index.umd.js.map |
@@ -83,2 +83,3 @@ import React from "react"; | ||
readonly "native-qt": "qt"; | ||
readonly nintendo: "nintendo"; | ||
readonly node: "nodejs"; | ||
@@ -85,0 +86,0 @@ readonly "node-awslambda": "awslambda"; |
{ | ||
"name": "platformicons", | ||
"version": "5.10.5", | ||
"version": "5.10.6", | ||
"description": "Web Platform and Framework Logo Set", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
528625
275
272