3 lines
22 KiB
JavaScript
Raw Normal View History

2023-11-26 14:15:08 +00:00
import{Component as c,createElement as t}from"../react.js";function e(c,t){var e={};for(var a in c)Object.prototype.hasOwnProperty.call(c,a)&&t.indexOf(a)<0&&(e[a]=c[a]);if(null!=c&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(c);s<a.length;s++)t.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(c,a[s])&&(e[a[s]]=c[a[s]])}return e}function a(c,t,e,a){return new(e||(e=Promise))((function(s,h){function n(c){try{f(a.next(c))}catch(c){h(c)}}function l(c){try{f(a.throw(c))}catch(c){h(c)}}function f(c){var t;c.done?s(c.value):(t=c.value,t instanceof e?t:new e((function(c){c(t)}))).then(n,l)}f((a=a.apply(c,t||[])).next())}))}function s(c,t){var e,a,s,h,n={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return h={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(h[Symbol.iterator]=function(){return this}),h;function l(h){return function(l){return function(h){if(e)throw new TypeError("Generator is already executing.");for(;n;)try{if(e=1,a&&(s=2&h[0]?a.return:h[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,h[1])).done)return s;switch(a=0,s&&(h=[2&h[0],s.value]),h[0]){case 0:case 1:s=h;break;case 4:return n.label++,{value:h[1],done:!1};case 5:n.label++,a=h[1],h=[0];continue;case 7:h=n.ops.pop(),n.trys.pop();continue;default:if(!(s=n.trys,(s=s.length>0&&s[s.length-1])||6!==h[0]&&2!==h[0])){n=0;continue}if(3===h[0]&&(!s||h[1]>s[0]&&h[1]<s[3])){n.label=h[1];break}if(6===h[0]&&n.label<s[1]){n.label=s[1],s=h;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(h);break}s[2]&&n.ops.pop(),n.trys.pop();continue}h=t.call(c,n)}catch(c){h=[6,c],a=0}finally{e=s=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}([h,l])}}}function h(c,t){var e="function"==typeof Symbol&&c[Symbol.iterator];if(!e)return c;var a,s,h=e.call(c),n=[];try{for(;(void 0===t||t-- >0)&&!(a=h.next()).done;)n.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(e=h.return)&&e.call(h)}finally{if(s)throw s.error}}return n}function n(){for(var c=[],t=0;t<arguments.length;t++)c=c.concat(h(arguments[t]));return c}var l;!function(c){c.sm="sm",c.md="md",c.lg="lg",c.xl="xl"}(l||(l={}));let f=0;function i({name:a,xOffset:s=0,yOffset:h=0,width:n,height:i,svgPath:r}){var o;return(o=class extends c{constructor(){super(...arguments),this.id="icon-title-"+f++}render(){const c=this.props,{size:a,color:f,title:o,noVerticalAlign:v}=c,C=e(c,["size","color","title","noVerticalAlign"]),g=Boolean(o),m=(c=>{switch(c){case l.sm:return"1em";case l.md:return"1.5em";case l.lg:return"2em";case l.xl:return"3em";default:return"1em"}})(a),O=-.125*Number.parseFloat(m),u=v?null:{verticalAlign:O+"em"},z=[s,h,n,i].join(" ");return t("svg",Object.assign({style:u,fill:f,height:m,width:m,viewBox:z,"aria-labelledby":g?this.id:null,"aria-hidden":!g||null,role:"img"},C),g&&t("title",{id:this.id},o),t("path",{d:r}))}}).displayName=a,o.defaultProps={color:"currentColor",size:l.sm,noVerticalAlign:!1},o}const r={name:"TimesIcon",height:512,width:352,svgPath:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z",yOffset:0,xOffset:0},o=i(r),v={name:"AngleRightIcon",height:512,width:256,svgPath:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z",yOffset:0,xOffset:0},C=i(v),g={name:"CheckCircleIcon",height:512,width:512,svgPath:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6
2023-11-30 18:00:34 +00:00
//# sourceMappingURL=plus-icon-a19d347a.js.map