UNPKG

@extra-isin/logos.web

Version:

Graphical symbols for identification of specific securities labeled by the 12-digit code, ISIN.

1 lines 7.31 kB
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).logos=e()}}((function(){return function e(t,r,n){function i(l,u){if(!r[l]){if(!t[l]){var c="function"==typeof require&&require;if(!u&&c)return c(l,!0);if(o)return o(l,!0);var f=new Error("Cannot find module '"+l+"'");throw f.code="MODULE_NOT_FOUND",f}var a=r[l]={exports:{}};t[l][0].call(a.exports,(function(e){return i(t[l][1][e]||e)}),a,a.exports,e,t,r,n)}return r[l].exports}for(var o="function"==typeof require&&require,l=0;l<n.length;l++)i(n[l]);return i}({1:[function(e,t,r){(function(t){(function(){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(r,"__esModule",{value:!0});var i=n(e("path"));r.jsDelivrUrl=function(e){return`https://cdn.jsdelivr.net/npm/@extra-isin/logos/data/${e}.png`},r.path=function(e){return i.join(t,e+".png")},r.unpkgUrl=function(e){return`https://unpkg.com/@extra-isin/logos/data/${e}.png`}}).call(this)}).call(this,"/")},{path:2}],2:[function(e,t,r){(function(e){(function(){"use strict";function r(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var r,n="",i=0,o=-1,l=0,u=0;u<=e.length;++u){if(u<e.length)r=e.charCodeAt(u);else{if(47===r)break;r=47}if(47===r){if(o===u-1||1===l);else if(o!==u-1&&2===l){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",i=0):i=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),o=u,l=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=u,l=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,u):n=e.slice(o+1,u),i=u-o-1;o=u,l=0}else 46===r&&-1!==l?++l:l=-1}return n}var i={resolve:function(){for(var t,i="",o=!1,l=arguments.length-1;l>=-1&&!o;l--){var u;l>=0?u=arguments[l]:(void 0===t&&(t=e.cwd()),u=t),r(u),0!==u.length&&(i=u+"/"+i,o=47===u.charCodeAt(0))}return i=n(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(r(e),0===e.length)return".";var t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!t)).length||t||(e="."),e.length>0&&i&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return r(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];r(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(r(e),r(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var o=e.length,l=o-n,u=1;u<t.length&&47===t.charCodeAt(u);++u);for(var c=t.length-u,f=l<c?l:c,a=-1,s=0;s<=f;++s){if(s===f){if(c>f){if(47===t.charCodeAt(u+s))return t.slice(u+s+1);if(0===s)return t.slice(u+s)}else l>f&&(47===e.charCodeAt(n+s)?a=s:0===s&&(a=0));break}var h=e.charCodeAt(n+s);if(h!==t.charCodeAt(u+s))break;47===h&&(a=s)}var d="";for(s=n+a+1;s<=o;++s)s!==o&&47!==e.charCodeAt(s)||(0===d.length?d+="..":d+="/..");return d.length>0?d+t.slice(u+a):(u+=a,47===t.charCodeAt(u)&&++u,t.slice(u))},_makeLong:function(e){return e},dirname:function(e){if(r(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,i=-1,o=!0,l=e.length-1;l>=1;--l)if(47===(t=e.charCodeAt(l))){if(!o){i=l;break}}else o=!1;return-1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');r(e);var n,i=0,o=-1,l=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var u=t.length-1,c=-1;for(n=e.length-1;n>=0;--n){var f=e.charCodeAt(n);if(47===f){if(!l){i=n+1;break}}else-1===c&&(l=!1,c=n+1),u>=0&&(f===t.charCodeAt(u)?-1==--u&&(o=n):(u=-1,o=c))}return i===o?o=c:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!l){i=n+1;break}}else-1===o&&(l=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){r(e);for(var t=-1,n=0,i=-1,o=!0,l=0,u=e.length-1;u>=0;--u){var c=e.charCodeAt(u);if(47!==c)-1===i&&(o=!1,i=u+1),46===c?-1===t?t=u:1!==l&&(l=1):-1!==t&&(l=-1);else if(!o){n=u+1;break}}return-1===t||-1===i||0===l||1===l&&t===i-1&&t===n+1?"":e.slice(t,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){r(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,i=e.charCodeAt(0),o=47===i;o?(t.root="/",n=1):n=0;for(var l=-1,u=0,c=-1,f=!0,a=e.length-1,s=0;a>=n;--a)if(47!==(i=e.charCodeAt(a)))-1===c&&(f=!1,c=a+1),46===i?-1===l?l=a:1!==s&&(s=1):-1!==l&&(s=-1);else if(!f){u=a+1;break}return-1===l||-1===c||0===s||1===s&&l===c-1&&l===u+1?-1!==c&&(t.base=t.name=0===u&&o?e.slice(1,c):e.slice(u,c)):(0===u&&o?(t.name=e.slice(1,l),t.base=e.slice(1,c)):(t.name=e.slice(u,l),t.base=e.slice(u,c)),t.ext=e.slice(l,c)),u>0?t.dir=e.slice(0,u-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,t.exports=i}).call(this)}).call(this,e("_process"))},{_process:3}],3:[function(e,t,r){var n,i,o=t.exports={};function l(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===l||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:l}catch(e){n=l}try{i="function"==typeof clearTimeout?clearTimeout:u}catch(e){i=u}}();var f,a=[],s=!1,h=-1;function d(){s&&f&&(s=!1,f.length?a=f.concat(a):h=-1,a.length&&g())}function g(){if(!s){var e=c(d);s=!0;for(var t=a.length;t;){for(f=a,a=[];++h<t;)f&&f[h].run();h=-1,t=a.length}f=null,s=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===u||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];a.push(new p(e,t)),1!==a.length||s||c(g)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}]},{},[1])(1)}));